Date: Tue, 10 Feb 2009 21:20:35 +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: <20090210122035.GA71258@weongyo.cdnetworks.kr> In-Reply-To: <492578C2.30200@freebsd.org> References: <20081114121224.GG36226@freebsd.weongyo.org> <491D964E.1080401@freebsd.org> <491D986E.5020701@freebsd.org> <20081115080915.GA61939@freebsd.weongyo.org> <DFECE878-F9DF-4556-9839-2D528EC88C3B@mac.com> <492578C2.30200@freebsd.org>
index | next in thread | previous in thread | raw e-mail
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 Jeonghome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090210122035.GA71258>
