my problem using iBook G4

Weongyo Jeong weongyo.jeong at gmail.com
Sat Nov 15 00:09:00 PST 2008


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

However I've encountered a another issue, kernel hang that my ad0's
transfer mode is UDMA100 according to the result of atacontrol(8)

	$ atacontrol mode ad0
	current mode = UDMA100

During compiling the kernel there was a kernel hang, no any panic
messages available.  It was just hang.  After setting hw.ata.ata_dma=0
I could compile the kernel.

regards,
Weongyo Jeong



More information about the freebsd-ppc mailing list