Subject: Re: NetBSD 4 won't boot on a xserve
To: John Klos <john@ziaspace.com>
From: DataZap <az@datazap.net>
List: port-macppc
Date: 06/19/2007 08:55:08
Hi,

Here is the dmesg from the xserve:

NetBSD 2.1_STABLE (FAITH) #0: Sun Jun 17 20:44:49 MST 2007
        admin@lisa.datazap.net:/usr/src/sys/arch/macppc/compile/FAITH
total memory = 1024 MB
avail memory = 984 MB
mainbus0 (root)
cpu0 at mainbus0: 7455 (Revision 3.3), ID 0 (primary)
cpu0: HID0 8450c0bc<EMCP,TBEN,NAP,DPM,ICE,DCE,SGE,BTIC,LRSTK,FOLD,BHT>
cpu0: 1333.34 MHz, 256KB L2 cache, 2MB no-parity L3 cache (DDR SRAM) at
6:1 ratio
uninorth0 at mainbus0
pci0 at uninorth0 bus 0
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 11 function 0
pchb0: Apple Computer UniNorth AGP Bridge (rev. 0x00)
bge0 at pci0 dev 16 function 0: Broadcom BCM5703X Gigabit Ethernet
bge0: interrupting at irq 48
bge0: ASIC BCM5703 A2 (0x1002), Ethernet address 00:03:93:f4:2d:8e
brgphy0 at bge0 phy 1: BCM5703 1000BASE-T media interface, rev. 2
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
uninorth1 at mainbus0
pci1 at uninorth1 bus 0
pci1: i/o space, memory space enabled
pchb1 at pci1 dev 11 function 0
pchb1: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
ppb0 at pci1 dev 13 function 0: Intel S21152BA,S21154AE/BE PCI to PCI
Bridge (rev. 0x00)
pci2 at ppb0 bus 1
pci2: i/o space, memory space enabled
obio0 at pci2 dev 7 function 0: addr 0x80000000
pwm at obio0 offset 0x30 not configured
zsc0 at obio0 offset 0x13000: irq 22,23
zstty0 at zsc0 channel 0
zstty1 at zsc0 channel 1
i2s at obio0 offset 0x10000 not configured
adb0 at obio0 offset 0x16000 irq 47: pm_adb_op: timeout. command = 0x0
0 targets
aed0 at adb0 addr 0: ADB Event device
apm0 at adb0: battery flags 0x9, 0% charged
wdc0 at obio0 offset 0x1f000 irq 19: DMA transfer
atabus0 at wdc0 channel 0
ohci0 at pci2 dev 8 function 0: Apple Computer KeyLargo USB Controller
(rev. 0x00)
ohci0: interrupting at irq 27
ohci0: OHCI version 1.0
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Apple Computer OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ohci1 at pci2 dev 9 function 0: Apple Computer KeyLargo USB Controller
(rev. 0x00)
ohci1: interrupting at irq 28
ohci1: OHCI version 1.0
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: Apple Computer OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ppb1 at pci1 dev 17 function 0: Intel S21152BA,S21154AE/BE PCI to PCI
Bridge (rev. 0x00)
pci3 at ppb1 bus 2
pci3: i/o space, memory space enabled
ofb0 at pci3 dev 2 function 0: ATI Technologies Radeon 7000/VE
ofb0: 800 x 600, 8bpp
wsdisplay0 at ofb0 kbdmux 1: console (std, vt100 emulation)
wsmux1: connecting to wsdisplay0
pdcide0 at pci1 dev 21 function 0
pdcide0: Promise Ultra133TX2v2/ATA Bus Master IDE Accelerator (rev. 0x03)
pdcide0: bus-master DMA support present
pdcide0: primary channel configured to native-PCI mode
pdcide0: using irq 58 for native-PCI interrupt
atabus1 at pdcide0 channel 0
pdcide0: secondary channel configured to native-PCI mode
atabus2 at pdcide0 channel 1
pdcide1 at pci1 dev 27 function 0
pdcide1: Promise Ultra133TX2v2/ATA Bus Master IDE Accelerator (rev. 0x03)
pdcide1: bus-master DMA support present
pdcide1: primary channel configured to native-PCI mode
pdcide1: using irq 63 for native-PCI interrupt
atabus3 at pdcide1 channel 0
pdcide1: secondary channel configured to native-PCI mode
atabus4 at pdcide1 channel 1
uninorth2 at mainbus0
pci4 at uninorth2 bus 0
pci4: i/o space, memory space enabled
pchb2 at pci4 dev 11 function 0
pchb2: Apple Computer UniNorth Host-PCI Bridge (rev. 0x00)
wdc1 at pci4 dev 13 function 0: cannot find gmac node
fwohci0 at pci4 dev 14 function 0: Apple Computer UniNorth Firewire (rev.
0x01)
fwohci0: interrupting at irq 40
fwohci0: OHCI 1.1, 00:0a:95:ff:fe:6d:c7:48, 800Mb/s, 4096 max_rec, 8
ir_ctx, 8 it_ctx
gem0 at pci4 dev 15 function 0: Apple Computer GMAC Ethernet (rev. 0x00)
gem0: interrupting at irq 41
gem0: Ethernet address 00:0a:95:6d:c7:48, 10KB RX fifo, 4KB TX fifo
brgphy1 at gem0 phy 0: BCM5421 1000BASE-T media interface, rev. 1
brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-FDX, auto
pdcide0:0: bogus intr
fw0 at fwohci0: 00:0a:95:ff:fe:6d:c7:48:0b:03:ff:ff:f0:01:00:00
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <QSI CD-ROM TCR-241, , WL09> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2
cd0(wdc0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
uhub2 at uhub0 port 1
uhub2: ALCOR macally Kbd Hub, class 9/0, rev 1.10/1.00, addr 2
uhub2: 3 ports with 2 removable, bus powered
uhidev0 at uhub2 port 1 configuration 1 interface 0
uhidev0: ALCOR macally Kbd Hub, rev 1.10/1.00, addr 3, iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
wd0 at atabus1 drive 0: <Maxtor 6L250R0>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 233 GB, 486344 cyl, 16 head, 63 sec, 512 bytes/sect x 490234752
sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(pdcide0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using
DMA data transfers)
wd1 at atabus2 drive 0: <Maxtor 7L250R0>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 233 GB, 486344 cyl, 16 head, 63 sec, 512 bytes/sect x 490234752
sectors
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd1(pdcide0:1:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using
DMA data transfers)
boot device: <unknown>
root on wd0a dumps on wd0b

But there is a problem, it doesn't write the dmesg from a 4 kernel boot.
In fact, everything from the dmesg is gone. It fails shortly after there
is alot of video info, when it starts to config PCI things I think.
getting an interrupt, that it says is wrong.  Unfortunately, it happens so
fast that I can't completely read it.

I think that the kernel that Andy has built for me was current. Could you
build a kernel on one of your servers that has an older NetBSD 4 source?
Maybe the problem is very recent. The kernel will need to have wd0a for
root and filesystem ffs. If this works, then I can get this server to the
colo hopefully before one of the drives in lisa fails completely.

Thanks,
Al


On Mon, 18 Jun 2007, John Klos wrote:

> Date: Mon, 18 Jun 2007 23:38:25 -0700 (PDT)
> From: John Klos <john@ziaspace.com>
> To: DataZap <az@datazap.net>
> Cc: port-macppc@NetBSD.org
> Subject: Re: NetBSD 4 won't boot on a xserve
>
> > I did an install of NetBSD 2.0.2, because that is the cd that I just
> > happen to have, but I could not boot the 2.0.2 kernel, because of the fact
> > that it couldn't find the root device. I compiled a 2.1 kernel on my G3
> > with root at wd0a (2.1 is what is running on that computer) and installed
> > it. It booted! I thought at this point I had all my problems solved. I
> > thought would copy a 4.0 kernel (with root at wd0a) to / and upgrade to
> > 4.0. But NetBSD 4.0 doesn't seem, to run on this machine.
>
> Post dmesg outputs of the working 2.1 kernel and as far as the 4.0 kernel
> gets.
>
> John
>