Subject: Re: kern/25462
To: Rafal Boni <rafal@pobox.com>
From: Erik E. Fair <fair@netbsd.org>
List: port-sparc64
Date: 11/27/2007 20:06:14
It was so many months ago that I installed on the Netra T1 AC200
and the Sun Fire V120, that I'm don't recall if I booted from the
NetBSD 3.1 CD-ROM, or if that didn't work and I set up an install
by netbooting from my house NFS server (gotta love the Suns for
supporting easy netboot from firmware since ... ever). The nice
thing about netbooting is that if the INSTALL kernel doesn't work,
you can always try GENERIC, and once you have one going, it's easy
to use hot swap SCA SCSI disks for cloning more.
The kernel I now use began with GENERIC, and then I stripped that
config down to essentials for the "FlapJack_2" motherboard (that's
the codename silkscreened on the PCB) and thus named FLAPJACK2.
The only extras I have in it are bge(4) and wm(4) so that I can
put those gigE interfaces into the one 32-bit PCI slot, though I
did nail down the SCSI IDs of the disks that go into the SCA hot
swap bays of these systems (that, of course, entails nailing down
the built-in busses). Oh, and tlp(4), and hme(4) since I have those
PCI NICs lying around.
It is worth noting that I also tried this kernel on the Sun Blade
150 workstation (which is also apparently another variant of this
same motherboard, with some additional devices (e.g. IEEE1394
FireWire) configured in), and that failed to boot with the same
sort of IDE missing interrupt notices and ultimately a freeze. I
haven't tried booting that system since; busy with other things,
and hoping someone else would fix the lossage.
We still have other work to do for complete support of these systems,
in particular:
flashprom at ebus0 addr 0-fffff not configured
SUNW,lomh at ebus0 addr 200000-200003 ipl 42 not configured
Acer Labs M7101 Power Management Controller (miscellaneous prehistoric) at pci1 dev 3 function 0 not configured
power at ebus1 addr 2000-2007 ipl 37 not configured
I append both my FLAPJACK2 config, and the resulting dmesg.boot
from a Netra T1 AC200 for reference.
Erik <fair@netbsd.org>
include "arch/sparc64/conf/std.sparc64"
options INCLUDE_CONFIG_FILE
ident "FLAPJACK2"
maxusers 128
options SUN4U
config netbsd root on ? type ?
options KTRACE
options SYSTRACE
options SYSVMSG
options SYSVSEM
options SYSVSHM
options P1003_1B_SEMAPHORE
options USERCONF
options SYSCTL_INCLUDE_DESCR
options NFS_BOOT_BOOTPARAM
options NFS_BOOT_DHCP
options DDB
options DDB_HISTORY_SIZE=100
options DIAGNOSTIC
options SCSIVERBOSE
options PCIVERBOSE
options MIIVERBOSE
options COMPAT_43
options COMPAT_09
options COMPAT_10
options COMPAT_11
options COMPAT_12
options COMPAT_13
options COMPAT_14
options COMPAT_15
options COMPAT_16
options COMPAT_20
options COMPAT_SUNOS
options COMPAT_SVR4
options COMPAT_SVR4_32
options COMPAT_NETBSD32
options EXEC_AOUT
options EXEC_ELF32
options COMPAT_BSDPTY
file-system FFS
file-system NFS
file-system KERNFS
file-system NULLFS
file-system MFS
file-system FDESC
file-system PROCFS
file-system CD9660
file-system UNION
file-system MSDOSFS
options NFSSERVER
options SOFTDEP
options INET
options IPSEC
options IPSEC_ESP
options MROUTING
options PIM
options NETATALK
options NTP
options PFIL_HOOKS
options IPFILTER_LOG
options PPP_BSDCOMP
options PPP_DEFLATE
options PPP_FILTER
mainbus0 at root
cpu0 at mainbus0
psycho0 at mainbus0
pci0 at psycho0
ppb0 at pci0 dev 1 function 1
ppb1 at pci0 dev 1 function 0
pci1 at ppb0
pci2 at ppb1
ppb* at pci?
pci* at ppb?
ebus* at pci?
pcons0 at mainbus0
auxio* at ebus?
clock* at ebus?
com* at ebus?
isp* at pci? dev ? function ?
esiop0 at pci2 dev 8 function 0
esiop1 at pci2 dev 8 function 1
scsibus0 at esiop0
scsibus1 at esiop1
esiop* at pci?
scsibus* at scsi?
sd0 at scsibus0 target 0 lun ?
sd1 at scsibus0 target 1 lun ?
sd* at scsibus? target ? lun ?
cd* at scsibus? target ? lun ?
ses* at scsibus? target ? lun ?
uk* at scsibus? target ? lun ?
pciide* at pci? dev ? function ? flags 0x0000
aceride* at pci? dev ? function ?
atabus* at ata?
atapibus* at atapi?
wd* at atabus? drive ? flags 0x0000
cd* at atapibus? drive ? flags 0x0000
sd* at atapibus? drive ? flags 0x0000
uk* at atapibus? drive ? flags 0x0000
pseudo-device vnd 4
pseudo-device ccd 4
options RAID_AUTOCONFIG
hme* at pci? dev ? function ?
gem* at pci? dev ? function ?
tlp* at pci? dev ? function ?
wm* at pci? dev ? function ?
bge* at pci? dev ? function ?
dmphy* at mii? phy ?
exphy* at mii? phy ?
icsphy* at mii? phy ?
inphy* at mii? phy ?
iophy* at mii? phy ?
igphy* at mii? phy ?
lxtphy* at mii? phy ?
makphy* at mii? phy ?
nsphy* at mii? phy ?
nsphyter* at mii? phy ?
qsphy* at mii? phy ?
sqphy* at mii? phy ?
tlphy* at mii? phy ?
tqphy* at mii? phy ?
ukphy* at mii? phy ?
ohci* at pci? dev ? function ?
usb* at ohci?
uhub* at usb?
uhub* at uhub? port ? configuration ? interface ?
uhidev* at uhub? port ? configuration ? interface ?
uhid* at uhidev? reportid ?
ulpt* at uhub? port ? configuration ? interface ?
umodem* at uhub? port ? configuration ?
ucom* at umodem?
umass* at uhub? port ? configuration ? interface ?
scsibus* at umass?
wd* at umass?
uaudio* at uhub? port ? configuration ?
umidi* at uhub? port ? configuration ?
upl* at uhub? port ?
ubsa* at uhub? port ?
ucom* at ubsa? portno ?
uftdi* at uhub? port ?
ucom* at uftdi? portno ?
umct* at uhub? port ?
ucom* at umct? portno ?
uplcom* at uhub? port ?
ucom* at uplcom? portno ?
uvscom* at uhub? port ?
ucom* at uvscom? portno ?
udsbr* at uhub? port ?
radio* at udsbr?
ugen* at uhub? port ?
pseudo-device loop
pseudo-device ppp 2
pseudo-device tun 4
pseudo-device tap
pseudo-device bpfilter 8
pseudo-device ipfilter
pseudo-device gif 4
audio* at audiobus?
pseudo-device pty
pseudo-device rnd
pseudo-device clockctl
pseudo-device ksyms
pseudo-device fss 4
include "arch/sparc64/conf/std.sparc64-64"
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
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 3.1_STABLE (FLAPJACK2) #1: Sun Nov 25 16:35:33 PST 2007
root@fast.clock.org:/usr/obj/sys/arch/sparc64/compile/FLAPJACK2
total memory = 2048 MB
avail memory = 1994 MB
bootpath: /pci@1f,0/pci@1,0/scsi@8,0/disk@0,0
mainbus0 (root): SUNW,UltraAX-i2: hostid 830bfbad
cpu0 at mainbus0: SUNW,UltraSPARC-IIe @ 500 MHz, version 0 FPU
cpu0: 32K instruction (32 b/l), 16K data (32 b/l), 1024K external (64 b/l)
psycho0 at mainbus0
SUNW,sabre: impl 0, version 0: ign 7c0 bus range 0 to 2; PCI bus 0
psycho_alloc_extent: prom_getprop failed
psycho_alloc_extent: prom_getprop failed
DVMA map: c0000000 to e0000000
IOTSB: 21a0000 to 2220000
pci0 at psycho0
pci0: i/o space, memory space enabled
ppb0 at pci0 dev 1 function 1: Sun Microsystems Simba PCI bridge (rev. 0x13)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
ebus0 at pci1 dev 12 function 0
ebus0: Sun Microsystems PCIO Ebus2 (US III), revision 0x01
flashprom at ebus0 addr 0-fffff not configured
clock0 at ebus0 addr 0-1fff: mk48t59
ebus_attach: idprom: incomplete
SUNW,lomh at ebus0 addr 200000-200003 ipl 42 not configured
Acer Labs M7101 Power Management Controller (miscellaneous prehistoric) at pci1 dev 3 function 0 not configured
ebus1 at pci1 dev 7 function 0
ebus1: Acer Labs M1543 PCI-ISA Bridge, revision 0x00
power at ebus1 addr 2000-2007 ipl 37 not configured
com0 at ebus1 addr 3f8-3ff ipl 43: ns16550a, working fifo
com0: console
com1 at ebus1 addr 2e8-2ef ipl 43: ns16550a, working fifo
gem0 at pci1 dev 12 function 1: Sun Microsystems ERI Ethernet (rev. 0x01)
gem0: interrupting at ivec 3006
gem0: Ethernet address 00:03:ba:0b:fb:ad, 2KB RX fifo, 2KB TX fifo
ukphy0 at gem0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x0008bb, model 0x0002, rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ohci0 at pci1 dev 12 function 3: Sun Microsystems USB controller (rev. 0x01)
ohci0: interrupting at ivec 24
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Sun Microsystem OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
aceride0 at pci1 dev 13 function 0
aceride0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc3)
aceride0: bus-master DMA support present
aceride0: primary channel configured to native-PCI mode
aceride0: using ivec 180c for native-PCI interrupt
atabus0 at aceride0 channel 0
aceride0: secondary channel configured to native-PCI mode
atabus1 at aceride0 channel 1
gem1 at pci1 dev 5 function 1: Sun Microsystems ERI Ethernet (rev. 0x01)
gem1: interrupting at ivec 301c
gem1: Ethernet address 00:03:ba:0b:fb:ae, 2KB RX fifo, 2KB TX fifo
ukphy1 at gem1 phy 1: Generic IEEE 802.3u media interface
ukphy1: OUI 0x0008bb, model 0x0002, rev. 1
ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ohci1 at pci1 dev 5 function 3: Sun Microsystems USB controller (rev. 0x01)
ohci1: interrupting at ivec 26
ohci1: OHCI version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: Sun Microsystem OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 4 ports with 4 removable, self powered
ppb1 at pci0 dev 1 function 0: Sun Microsystems Simba PCI bridge (rev. 0x13)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
esiop0 at pci2 dev 8 function 0: Symbios Logic 53c896 (ultra2-wide scsi)
esiop0: using on-board RAM
esiop0: interrupting at ivec 20
scsibus0 at esiop0: 16 targets, 8 luns per target
esiop1 at pci2 dev 8 function 1: Symbios Logic 53c896 (ultra2-wide scsi)
esiop1: using on-board RAM
esiop1: interrupting at ivec 20
scsibus1 at esiop1: 16 targets, 8 luns per target
bge0 at pci2 dev 5 function 0: Broadcom BCM5705 Gigabit Ethernet
bge0: interrupting at ivec 15
bge0: ASIC BCM5705 A1 (0x3001), Ethernet address 00:10:18:0d:43:8f
bge0: setting short Tx thresholds
ukphy2 at bge0 phy 1: Generic IEEE 802.3u media interface
ukphy2: BCM5705 1000BASE-T media interface (OUI 0x001018, model 0x001a), rev. 1
ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
pcons at mainbus0 not configured
No counter-timer -- using %tick at 500MHz as system clock.
IPsec: Initialized Security Association Processing.
scsibus0: waiting 2 seconds for devices to settle...
scsibus1: waiting 2 seconds for devices to settle...
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <CD-224E, , 1.7A> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(aceride0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
sd0 at scsibus0 target 0 lun 0: <SEAGATE, ST318305LSUN18G, 0340> disk fixed
sd0: 17274 MB, 7508 cyl, 19 head, 248 sec, 512 bytes/sect x 35378533 sectors
sd0: sync (25.00ns offset 31), 16-bit (80.000MB/s) transfers, tagged queueing
root on sd0a dumps on sd0b
root file system type: ffs