my problem using iBook G4

Weongyo Jeong weongyo.jeong at gmail.com
Tue Feb 10 04:48:18 PST 2009


On Thu, Nov 20, 2008 at 08:48:34AM -0600, Nathan Whitehorn wrote:
> Marcel Moolenaar wrote:
> >
> >On Nov 15, 2008, at 12:09 AM, Weongyo Jeong wrote:
> >
> >>On Fri, Nov 14, 2008 at 09:25:34AM -0600, Nathan Whitehorn wrote:
> >>>Nathan Whitehorn wrote:
> >>>>Weongyo Jeong wrote:
> >>>>>Hello,
> >>>>>
> >>>>>I have a iBook G4 laptop but it has a problem when booting like as
> >>>>>follows:
> >>>>>
> >>>>>  http://weongyo.org/project/freebsd/images/20081114.jpg
> >>>>>
> >>>>>My booting steps are:
> >>>>>
> >>>>>  1. press <option>+<apple>+O+F
> >>>>>  2. 0 > boot cd:,\boot\loader hd:7
> >>>>>  3. then a panic during booting progress
> >>>>>
> >>>>>There's no problem to boot if I set `OK set hw.ata.atapi_dma=0'. Is 
> >>>>>it a
> >>>>>known issue?
> >>>>
> >>>>Well, Marcel has seen something similar with his CD drive, but I was
> >>>>hoping it was limited to his machine. If you are in a situation where
> >>>>you can easily apply patches, could you try the attached one and report
> >>>>what it prints for the firmware timing register? Marcel, could you try
> >>>>this too?
> >>>
> >>>Naturally, I forgot the patch. It lives at
> >>>http://people.freebsd.org/~nwhitehorn/ata.debug.diff, and should be
> >>>applied to ata_kauai.c. Thanks!
> >>
> >>The below is the result written by my hand but expect the value is
> >>correct.
> >>
> >>ata1: <Intrepid Kauai ATA Controller> mem ~~~~~~~ irq 39 at device 13.0
> >>on pci2
> >>ata1: Firmware configured PIO register: 0x6149246
> >>ata1: Firmware configured UDMA register: 0x2921
> >
> >Same here:
> >
> >ata1: <Intrepid Kauai ATA Controller> mem 0xf5004000-0xf5007fff \
> >    irq 39 at device 13.0 on pci2
> >ata1: Firmware configured PIO register: 0x6149246
> >ata1: Firmware configured UDMA register: 0x2921
> >
> 
> Interesting - that isn't what I expected at all. According to the tables 
> in the Apple and NetBSD drivers 0x6149246 isn't even a valid mode. I 
> will try to rewrite the mode setting and initialization logic to 
> slavishly follow Apple's driver in the next few days, and see if that 
> improves anything. Apple switches the bus to PIO0/WDMA2/UDMA5 at boot, 
> which is odd, but maybe is important.

Is there any progress to fix this problem at CURRENT?

regards,
Weongyo Jeong



More information about the freebsd-ppc mailing list