Port-macppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

original iMac IDE/ATA problems (was: Re: machfb still broken for first gen iMacs)



Setting the machfb stuff aside for now, since other people have the
same problem, I'm looking into the wdc/atabus problem I'm having.

I've finally gotten around to sprinkling printf()s around in
macppc/wdc_obio.c.  Nothing obvious there.  I put in lines like:

  printf("in %s before xxx\n", __func__);

Transcribed from the last screenfull after genfb takes over:

[...]
atabus0 at wdc0 channel 0
in wdc_obio_attach at exit
in wdc_obio_match at entry
wdc1 at obio offset 0x21000in wdc_obio_attach at entry
in wdc_obio_attach before ca_nintr
 irq 14, edge triggeredin wdc_obio_attach before use_dma
: DMA transfer
in wdc_obio_attach before bus_space_map
in wdc_obio_attach before bus_space_subregion
in wdc_obio_attach before intr_establish
in wdc_obio_attach before wdcattach
atabus1 at wdc1 channel 0
in wdc_obio_attach at exit
in wdc_obio_match at entry
in wdc_obio_match before of_compatible
in wdc_obio_match before return(0)
bm0 at obio0 offset 0x11000 irq 42,33: address xx:xx:xx:xx:xx:xx
lxtphy0 at bm0 phy 0: LXT970 10/100 media interface, rev. 1
lxtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100bseTX-FDX, auto
in wdc_obio_match at entry
in wdc_obio_match before of_compatible
in wdc_obio_match before return(0)
nvram0 at obio0 offset 0x60000
genfb0 at pci0 dev 18 function 0: ATI Technoolgies 3D Rage Pro
genfb0: framebuffer at 0x81000000, size 1024x768, depth 8 stride 1024
wsdisplay0 at genfb0 kbdmux 1: console (default, vt100 emulation)
drm at genfb0 not configured
ohci0 at pci0 dev 20 function 0: Opti 82C861 (rev. 0x10)
ohci0: interrupting at irq 28
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
biomask 80003fe netmask 80003fe ttymask 80003fe
scsibus0: waiting 2 seconds for device to settle...
[hung]

I guess the next thing is to sprinkle stuff in atabus* files?
Suggestions?

Also, I'm building a GENERIC kernel with ofb, but not machfb or genfb
so I can get more context.

--
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index