Subject: Re: obio attachment and Macs w/ two or more I/O controllers
To: NetBSD macppc <port-macppc@netbsd.org>
From: Chris Tribo <ctribo@dtcc.edu>
List: port-macppc
Date: 11/17/2004 10:20:27
I'm forwarding this to the list because my mail system is having=20
trouble sending email to Tim. Shortly after booting I had another=20
kernel DSI trap panic while reading the dmesg through an ssh=20
connection.

Begin forwarded message:

> OK, I think I patched everything up correctly. =46rom a serial console =
I=20
> don't get very far. According to OFW, serial channel a is=20
> printer/serial at IRQ 0xF 0x4 0x5, and channel b is the infrared port=20=

> at irq 0x10 0x6 0x7
>
> total memory =3D 256 MB
> avail memory =3D 241 MB
> no active package
> autoconf.c bootpath: ide0/@0/netbsd.patched
> autoconf.c OF_canon result: =
/pci@80000000/mac-io@10/ata0@20000/disk@0,0
> autoconf.c cbootpath: /pci@80000000/mac-io@10/ata0@20000/disk@0
> mainbus0 (root)
> cpu0 at mainbus0: 750 (Revision 3.2), ID 0 (primary)
> cpu0: HID0 8290c0a4<EMCP,ECLK,DOZE,DPM,ICE,DCE,SGE,BTIC,BHT>
> cpu0: 500.00 MHz, no-parity 1MB WB L2 cache (PB SRAM) at 2:1 ratio
> grackle0 at mainbus0 (bootpath member)
> pci0 at grackle0 bus 0
> pci0: i/o space, memory space enabled
> pchb0 at pci0 dev 0 function 0
> pchb0: Motorola MPC106 "Grackle" Host Bridge (rev. 0x40)
> obio0 at pci0 dev 13 function 0: addr 0xf4000000
> zsc0 at obio0 offset 0x13000: cannot find interrupt property
> mediabay0 at obio0 offset 0x34 irq 27 level-triggered
> obio1 at pci0 dev 16 function 0 (bootpath member) : addr 0xf3000000
> mesh0 at obio1 offset 0x10000 irq 12: 50MHz, SCSI ID 7
> scsibus0 at mesh0: 8 targets, 8 luns per target
> zsc1 at obio1 offset 0x13000: irq 15,16
> zstty0 at zsc1 channel 0=FE
> (freeze of output)
>
> WHOA, if I'm not on a serial console it goes all the way to multi =
user!
>
> NetBSD 2.99.10 (GENERIC) #2: Tue Nov 16 21:42:22 EST 2004
>         =
root@columbia.dtcc.edu:/usr/obj/sys/arch/macppc/compile/GENERIC
> total memory =3D 256 MB
> avail memory =3D 241 MB
>
> autoconf.c bootpath: ide0/@0/netbsd.patched
> autoconf.c OF_canon result: =
/pci@80000000/mac-io@10/ata0@20000/disk@0,0
> autoconf.c cbootpath: /pci@80000000/mac-io@10/ata0@20000/disk@0
> mainbus0 (root)
> cpu0 at mainbus0: 750 (Revision 3.2), ID 0 (primary)
> cpu0: HID0 8290c0a4<EMCP,ECLK,DOZE,DPM,ICE,DCE,SGE,BTIC,BHT>
> cpu0: 500.00 MHz, no-parity 1MB WB L2 cache (PB SRAM) at 2:1 ratio
> grackle0 at mainbus0 (bootpath member)
> pci0 at grackle0 bus 0
> pci0: i/o space, memory space enabled
> pchb0 at pci0 dev 0 function 0
> pchb0: Motorola MPC106 "Grackle" Host Bridge (rev. 0x40)
> obio0 at pci0 dev 13 function 0: addr 0xf4000000
> zsc0 at obio0 offset 0x13000: cannot find interrupt property
> mediabay0 at obio0 offset 0x34 irq 27 level-triggered
> obio1 at pci0 dev 16 function 0 (bootpath member) : addr 0xf3000000
> mesh0 at obio1 offset 0x10000 irq 12: 50MHz, SCSI ID 7
> scsibus0 at mesh0: 8 targets, 8 luns per target
> zsc1 at obio1 offset 0x13000: irq 15,16
> zstty0 at zsc1 channel 0
> zstty1 at zsc1 channel 1
> bm0 at obio1 offset 0x11000 irq 42,33: address 00:05:02:f3:79:d2
> davbus at obio1 offset 0x14000 not configured
> mediabay1 at obio1 offset 0x34 irq 29 level-triggered
> wdc0 at mediabay1 offset 0x21000 irq 14
> atabus0 at wdc0 channel 0
> wdc1 at obio1 offset 0x20000 (bootpath member)  irq 13: DMA transfer
> atabus1 at wdc1 channel 0
> adb0 at obio1 offset 0x16000 irq 18: 3 targets
> aed0 at adb0 addr 0: ADB Event device
> akbd0 at adb0 addr 2: PowerBook G3 keyboard
> wskbd0 at akbd0: console keyboard
> ams0 at adb0 addr 3: Logitech MouseMan (non-EMP) mouse
> wsmouse0 at ams0 mux 0
> abtn0 at adb0 addr 7: buttons
> wsmouse0 at ams0 mux 0
> abtn0 at adb0 addr 7: buttons
> apm0 at adb0: battery flags 0x7, 70% charged
> ofb0 at pci0 dev 17 function 0: ATI 3D Rage LT Pro
> ofb0: 1024 x 768, 8bpp
> wsdisplay0 at ofb0 kbdmux 1: console (std, vt100 emulation), using=20
> wskbd0
> wsmux1: connecting to wsdisplay0
> cbb0 at pci0 dev 19 function 0: Texas Instruments PCI1131 PCI-CardBus=20=

> Bridge (rev. 0x01)
> cbb1 at pci0 dev 19 function 1: Texas Instruments PCI1131 PCI-CardBus=20=

> Bridge (rev. 0x01)
> cbb0: interrupting at irq 22
> cbb0: secondary bus number uninitialized; try PCIBIOS_BUS_FIXUP
> cardslot0 at cbb0 slot 0 flags 0
> pcmcia0 at cardslot0
> cbb1: interrupting at irq 23
> cbb1: secondary bus number uninitialized; try PCIBIOS_BUS_FIXUP
> cardslot1 at cbb1 slot 1 flags 0
> pcmcia1 at cardslot1
> scsibus0: waiting 2 seconds for devices to settle...
> atapibus0 at atabus0: 2 targets
> cd0 at atapibus0 drive 0: <MATSHITA CR-174, , A011> cdrom removable
> com0 at pcmcia0 function 0: <33.6K Fax/Modem                 , PCMCIA =20=

>  , F3SK>
> com0: ns16550a, working fifo
> cd0: drive supports PIO mode 4, DMA mode 2
> cd0(wdc0:0:0): using PIO mode 4
> wd0 at atabus1 drive 0 (bootpath member) : <IBM-DARA-206000>
> wd0: drive supports 16-sector PIO transfers, LBA addressing
> wd0: 5729 MB, 12416 cyl, 15 head, 63 sec, 512 bytes/sect x 11733120=20
> sectors
> wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 =
(Ultra/66)
> wd0(wdc1:0:0): using PIO mode 4, DMA mode 2 (using DMA)
> boot device: wd0
> root on wd0a dumps on wd0b
> root file system type: ffs
>
>
> Fricken awesome!