Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Nov 2008 17:09:15 +0900
From:      Weongyo Jeong <weongyo.jeong@gmail.com>
To:        Nathan Whitehorn <nwhitehorn@freebsd.org>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: my problem using iBook G4
Message-ID:  <20081115080915.GA61939@freebsd.weongyo.org>
In-Reply-To: <491D986E.5020701@freebsd.org>
References:  <20081114121224.GG36226@freebsd.weongyo.org> <491D964E.1080401@freebsd.org> <491D986E.5020701@freebsd.org>

index | next in thread | previous in thread | raw e-mail

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



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081115080915.GA61939>