Subject: netbsd-2-0/200403310000/sparc GENERIC.MP
To: None <tech-smp@netbsd.org>
From: Simon J. Gerraty <sjg@crufty.net>
List: tech-smp
Date: 04/10/2004 18:02:56
This was the latest snapshot available, but this may already be
resolved in -current.

Both the GENERIC.MP (shown below) and GENERIC kernels, think sd0a is
bad, but booting 1.6.2 says its fine.

<#0> ok boot net
Resetting ...

SPARCstation 20 MP (2 X RT625), No Keyboard
ROM Rev. 2.25R hyperSPARC, 160 MB memory installed, Serial #7493664.
Ethernet address 8:0:20:72:58:20, Host ID: 72725820.



Rebooting with command: net
Boot device: /iommu/sbus/ledma@f,400010/le@f,c00000  File and args:
13800
>> NetBSD/sparc Secondary Boot, Revision 1.14
>> (autobuild@tgm.netbsd.org, Thu Sep 25 18:13:07 UTC 2003)
Booting netbsd
Trying BOOTP protocol... net_open: client addr: 203.12.250.2
net_open: subnet mask: 255.255.255.192
net_open: net gateway: 203.12.250.3
net_open: server addr: 203.12.250.10
net_open: server path: /export/diskless/too/root
net_open: file name: /tftpboot/sparc/boot.net
ip address: 203.12.250.2, netmask: 255.255.255.192, gateway: 203.12.250.3
root addr=203.12.250.10 path=/export/diskless/too/root
3123492+97224+331752 [188944+162982]=0x3c95f4
OBP version 3, revision 2.25 (plugin rev 2)
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 2.0_BETA (GENERIC.MP) #0: Sat Apr  3 08:56:08 UTC 2004
        autobuild@tgm.netbsd.org:/autobuild/netbsd-2-0/sparc/OBJ/autobuild/netbsd-2-0/src/sys/arch/sparc/compile/GENERIC.MP
total memory = 159 MB
avail memory = 151 MB
bootpath: /iommu@f,e0000000/sbus@f,e0001000/ledma@f,400010/le@f,c00000
mainbus0 (root): SUNW,SPARCstation-20: hostid 72725820
cpu0 at mainbus0: mid 8: RT620/625 @ 100 MHz, on-chip FPU
cpu0: 256K byte write-back, 64 bytes/line, sw flush: cache enabled
cpu1 at mainbus0: mid 9: RT620/625 @ 100 MHz, on-chip FPU
cpu1: 256K byte write-back, 64 bytes/line, sw flush: cache enabled
obio0 at mainbus0
clock0 at obio0 slot 0 offset 0x200000: mk48t08
timer0 at obio0 slot 0 offset 0x300000: delay constant 48
zs0 at obio0 slot 0 offset 0x100000 level 12 softpri 6
zstty0 at zs0 channel 0 (console i/o)
zstty1 at zs0 channel 1
zs1 at obio0 slot 0 offset 0x0 level 12 softpri 6
kbd0 at zs1 channel 0: baud rate 1200
ms0 at zs1 channel 1: baud rate 1200
fdc0 at obio0 slot 0 offset 0x700000 level 11: no drives attached
auxreg0 at obio0 slot 0 offset 0x800000
power0 at obio0 slot 0 offset 0xa01000 level 2
iommu0 at mainbus0 ioaddr 0xe0000000: version 0x3/0x1, page-size 4096, range 64MB
sbus0 at iommu0: clock = 25 MHz
dma0 at sbus0 slot 15 offset 0x400000: DMA rev 2
esp0 at dma0 slot 15 offset 0x800000 level 4: ESP200, 40MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
ledma0 at sbus0 slot 15 offset 0x400010: DMA rev 2
le0 at ledma0 slot 15 offset 0xc00000 level 6: address 08:00:20:72:58:20
le0: 8 receive buffers, 2 transmit buffers
bpp0 at sbus0 slot 15 offset 0x4800000 level 2 (ipl 3): DMA rev 2
SUNW,DBRIe at sbus0 slot 14 offset 0x10000 level 9 not configured
qec0 at sbus0 slot 2 offset 0x20000 level 4 (ipl 7): 128K memory
qe0 at qec0 slot 0 offset 0x0 rev 1 address 08:00:20:72:58:20
qe1 at qec0 slot 1 offset 0x0 rev 1 address 08:00:20:72:58:20
qe2 at qec0 slot 2 offset 0x0 rev 1 address 08:00:20:72:58:20
qe3 at qec0 slot 3 offset 0x0 rev 1 address 08:00:20:72:58:20
cgsix0 at sbus0 slot 3 offset 0x0 level 9: SUNW,501-2325, 1152 x 900, rev 11
cgsix0: attached to /dev/fb
eccmemctl0 at mainbus0 ioaddr 0x0: version 0x0/0x2
Kernelized RAIDframe activated
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 3 lun 0: <SEAGATE, ST34371W SUN4.2G, 7462> disk fixed
sd0: 4094 MB, 3882 cyl, 16 head, 135 sec, 512 bytes/sect x 8385121 sectors
sd0: sync (100.00ns offset 15), 8-bit (10.000MB/s) transfers, tagged queueing
cd0 at scsibus0 target 5 lun 0: <YAMAHA, CRW8424S, 1.0g> cdrom removable
cd0: sync (100.00ns offset 15), 8-bit (10.000MB/s) transfers
cd1 at scsibus0 target 6 lun 0: <TOSHIBA, XM-4101TASUNSLCD, 1084> cdrom removable
cd1: async, 8-bit transfers
root on le0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 203.12.250.10
nfs_boot: my_domain=crufty.net
nfs_boot: my_addr=203.12.250.2
nfs_boot: my_mask=255.255.255.192
nfs_boot: gateway=203.12.250.3
root on 203.12.250.10:/export/diskless/too/root
root file system type: nfs
cpu0: booting secondary processors: cpu1
Sun Apr 11 00:44:48 UTC 2004
swapctl: adding /dev/sd0b as swap device at priority 0
Starting file system checks:
/dev/rsd0f: BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE

/dev/rsd0f: UNEXPECTED INCONSISTENCY; RUN fsck_ffs MANUALLY.
ffs: /dev/rsd0a (/altroot): EXITED WITH SIGNAL 11
/dev/rsd0g: BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE

/dev/rsd0g: UNEXPECTED INCONSISTENCY; RUN fsck_ffs MANUALLY.
THE FOLLOWING FILE SYSTEMS HAD AN UNEXPECTED INCONSISTENCY:
        ffs: /dev/rsd0f (/var), ffs: /dev/rsd0a (/altroot), ffs: /dev/rsd0g (/l0)
Automatic file system check failed; help!
Apr 11 00:44:51 init: /bin/sh on /etc/rc terminated abnormally, going to single user mode
Enter pathname of shell or RETURN for /bin/sh: 

If I reboot off sd0 (1.6.2), it says the filesystems are fine.
--sjg