[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-sparc
Subject:    4.2 01/25/2008 snap segfaults on zeroing partition info
From:       Roger Hammerstein <cheeky.m () live ! com>
Date:       2008-01-29 19:03:26
Message-ID: BLU125-W73169B5ED52EA90560C48F9350 () phx ! gbl
[Download RAW message or body]

downloaded the
ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/sparc64/cd42.iso

for a Sun Ultra 60.

The 9 Gig disk has a previous OpenBSD 3.7 sparc64 install on it
that I am installing over.

I boot off the cdrom via serial port and choose install, and 'z' to zero the
partition, then
'p' to print.  I expect to see the 'c' line with no other lines.  Instead I
get a segfault.

Same thing if I delete the a & b slices and then 'p' to print.




{0} ok boot cdrom
Boot device: /pci@1f,4000/scsi@3/disk@6,0:f  File and args:
OpenBSD IEEE 1275 Bootblock 1.1
..>> OpenBSD BOOT 1.2
Trying bsd...
Booting /pci@1f,4000/scsi@3/disk@6,0:f/bsd
2587832@0x1000000+3236448@0x1800000+957856@0x1b16260
symbols @ 0xfff441c0 36 start=0x1000000
console is /pci@1f,4000/ebus@1/se@14,400000:a
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2008 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 4.2-current (RAMDISK) #223: Thu Jan 24 19:17:32 MST 2008
    pvalchev@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/RAMDISK
real mem = 2147483648 (2048MB)
avail mem = 2070495232 (1974MB)
mainbus0 at root: Sun Ultra 60 UPA/PCI (2 X UltraSPARC-II 296MHz)
cpu0 at mainbus0: SUNW,UltraSPARC-II (rev 2.0) @ 295.994 MHz
cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 2048K external (64
b/l)
"SUNW,UltraSPARC-II" at mainbus0 not configured
psycho0 at mainbus0 addr 0xfffb4000: SUNW,psycho, impl 0, version 4, ign 7c0
psycho0: bus range 0-0, PCI bus 0
psycho0: dvma map fe000000-ffffffff, iotdb 2492000-249a000, STC0 enabled
pci0 at psycho0
ebus0 at pci0 dev 1 function 0 "Sun PCIO EBus2" rev 0x01
auxio0 at ebus0 addr 726000-726003, 728000-728003, 72a000-72a003,
72c000-72c003, 72f000-72f003
"power" at ebus0 addr 724000-724003 not configured
"SUNW,pll" at ebus0 addr 504000-504002 not configured
"sc" at ebus0 addr 500000-500007 not configured
sab0 at ebus0 addr 400000-40007f ipl 43: rev 3.2
sabtty0 at sab0 port 0: console
sabtty1 at sab0 port 1
comkbd0 at ebus0 addr 3083f8-3083ff ipl 41: no keyboard
com0 at ebus0 addr 3062f8-3062ff ipl 42: mouse: ns16550a, 16 byte fifo
"ecpp" at ebus0 addr 3043bc-3043cb, 300398-300399, 700000-70000f ipl 34 not
configured
"fdthree" at ebus0 addr 3023f0-3023f7, 706000-70600f, 720000-720003 ipl 39 not
configured
clock1 at ebus0 addr 0-1fff: mk48t59
"flashprom" at ebus0 addr 0-fffff not configured
"SUNW,CS4231" at ebus0 addr 200000-2000ff, 702000-70200f, 704000-70400f,
722000-722003 ipl 35 ipl 36 not configured
hme0 at pci0 dev 1 function 1 "Sun HME" rev 0x01: ivec 0x7e1, address
AB:CD:DE:FG
qsphy0 at hme0 phy 1: QS6612 10/100 PHY, rev. 1
siop0 at pci0 dev 3 function 0 "Symbios Logic 53c875" rev 0x14: ivec 0x7e0,
using 4K of on-board RAM
scsibus0 at siop0: 16 targets
sd0 at scsibus0 targ 0 lun 0: <FUJITSU, MAB3091S SUN9.0G, 2107> SCSI2 0/direct
fixed
sd0: 8637MB, 4926 cyl, 27 head, 133 sec, 512 bytes/sec, 17689267 sec total
cd0 at scsibus0 targ 6 lun 0: <TOSHIBA, XM5701TASUN12XCD, 2395> SCSI2 5/cdrom
removable
siop1 at pci0 dev 3 function 1 "Symbios Logic 53c875" rev 0x14: ivec 0x7e6,
using 4K of on-board RAM
scsibus1 at siop1: 16 targets
psycho1 at mainbus0 addr 0xfffc6000: SUNW,psycho, impl 0, version 4, ign 7c0
psycho1: bus range 128-128, PCI bus 128
psycho1: dvma map fe000000-ffffffff, iotdb 2492000-249a000, STC0 enabled, STC1
enabled
pci1 at psycho1
timer0 at mainbus0 addr 0xfff9fc00 ivec 0x7ec, 0x7ed
creator0 at mainbus0: Creator3D, model SUNW,501-4788, dac 10
wsdisplay0 at creator0
wsdisplay0: screen 0 added (std, sun emulation)
"pcons" at mainbus0 not configured
rd0: fixed, 6144 blocks
bootpath: /pci@1f,4000/scsi@3,0/disk@6,0:f
root on rd0a swap on rd0b dump on rd0b
erase ^?, werase ^W, kill ^U, intr ^C, status ^T
(I)nstall, (U)pgrade or (S)hell? I

Welcome to the OpenBSD/sparc64 4.2 install program.

This program will help you install OpenBSD. At any prompt except password
prompts you can escape to a shell by typing '!'. Default answers are shown
in []'s and are selected by pressing RETURN.  At any time you can exit this
program by pressing Control-C, but exiting during an install can leave your
system in an inconsistent state.

Terminal type? [sun]

IS YOUR DATA BACKED UP? As with anything that modifies disk contents, this
program can cause SIGNIFICANT data loss.

It is often helpful to have the installation notes handy. For complex disk
configurations, relevant disk hardware manuals and a calculator are useful.

Proceed with install? [no] yes
Cool! Let's get to it.

You will now initialize the disk(s) that OpenBSD will use. To enable all
available security features you should configure the disk(s) to allow the
creation of separate filesystems for /, /tmp, /var, /usr, and /home.

Available disks are: sd0.
Which one is the root disk? (or 'done') [sd0]
siop0: target 0 now using tagged 16 bit 20.0 MHz 16 REQ/ACK offset xfers
This platform requires that partition offsets/sizes be on cylinder
boundaries.
Partition offsets/sizes will be rounded to the nearest cylinder
automatically.
Initial label editor (enter '?' for help at any prompt)
> p
device: /dev/rsd0c
type: SCSI
disk: SCSI disk
label: MAB3091S SUN9.0G
bytes/sector: 512
sectors/track: 133
tracks/cylinder: 27
sectors/cylinder: 3591
cylinders: 4926
total sectors: 17689267
free sectors: 1
rpm: 7200

16 partitions:
#                size           offset  fstype [fsize bsize  cpg]
  a:         14999607                0  4.2BSD   2048 16384    1
  b:          2689659         14999607    swap
  c:         17689267                0  unused      0     0
> z
> p
Segmentation fault (core dumped)
No more disks to initialize.

OpenBSD filesystems:
sd0a /

The next step *DESTROYS* all existing data on these partitions!
Are you really sure that you're ready to proceed? [no]

==========================================




And then I try deleting the a & b via 'd' instead of 'z'.



IS YOUR DATA BACKED UP? As with anything that modifies disk contents, this
program can cause SIGNIFICANT data loss.

It is often helpful to have the installation notes handy. For complex disk
configurations, relevant disk hardware manuals and a calculator are useful.

Proceed with install? [no] yes
Cool! Let's get to it.

You will now initialize the disk(s) that OpenBSD will use. To enable all
available security features you should configure the disk(s) to allow the
creation of separate filesystems for /, /tmp, /var, /usr, and /home.

Available disks are: sd0.
Which one is the root disk? (or 'done') [sd0]
siop0: target 0 now using tagged 16 bit 20.0 MHz 16 REQ/ACK offset xfers
This platform requires that partition offsets/sizes be on cylinder
boundaries.
Partition offsets/sizes will be rounded to the nearest cylinder
automatically.
Initial label editor (enter '?' for help at any prompt)
> p
device: /dev/rsd0c
type: SCSI
disk: SCSI disk
label: MAB3091S SUN9.0G
bytes/sector: 512
sectors/track: 133
tracks/cylinder: 27
sectors/cylinder: 3591
cylinders: 4926
total sectors: 17689267
free sectors: 1
rpm: 7200

16 partitions:
#                size           offset  fstype [fsize bsize  cpg]
  a:         14999607                0  4.2BSD   2048 16384    1
  b:          2689659         14999607    swap
  c:         17689267                0  unused      0     0
> d
partition to delete: [] a
> p
device: /dev/rsd0c
type: SCSI
disk: SCSI disk
label: MAB3091S SUN9.0G
bytes/sector: 512
sectors/track: 133
tracks/cylinder: 27
sectors/cylinder: 3591
cylinders: 4926
total sectors: 17689267
free sectors: 14999608
rpm: 7200

16 partitions:
#                size           offset  fstype [fsize bsize  cpg]
  b:          2689659         14999607    swap
  c:         17689267                0  unused      0     0
> d
partition to delete: [] b
> p
Segmentation fault (core dumped)
No more disks to initialize.

OpenBSD filesystems:
sd0a /

The next step *DESTROYS* all existing data on these partitions!
Are you really sure that you're ready to proceed? [no]

=======================================================




_________________________________________________________________
Shed those extra pounds with MSN and The Biggest Loser!
http://biggestloser.msn.com/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic