Date: Mon, 29 Aug 2005 20:33:02 +0200 From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= <sos@DeepCore.dk> To: Stefan Bethke <stb@lassitu.de> Cc: freebsd-current@freebsd.org Subject: Re: Boot off CF card hangs at "Trying to mount root" Message-ID: <DF6401A2-4BBA-4B7E-92A9-D18DFD705E39@DeepCore.dk> In-Reply-To: <0046E5C3-22EE-4F5D-B2B0-DFF4F0157F6B@lassitu.de> References: <7A0B19EC-2F90-495F-B242-7FB701C32908@lassitu.de> <20050828124321.43365136@Magellan.Leidinger.net> <F386A392-B3E9-43E1-BEEF-7B8467AB2E3F@lassitu.de> <3923443F-6926-4BB7-8681-40FC68A41B79@lassitu.de> <0046E5C3-22EE-4F5D-B2B0-DFF4F0157F6B@lassitu.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 29/08/2005, at 19:28, Stefan Bethke wrote: > Am 28.08.2005 um 18:46 schrieb Stefan Bethke: > > >> Compiling boot, loader, and kernel without a CPUTYPE setting fixed =20= >> the boot and loader issues; however, the kernel doesn't seem to be =20= >> happy with the CF card: >> >> ad3: 489MB <LEXAR ATA FLASH 1.01> at ata1-slave PIO4 >> Trying to mount root from ufs:/dev/ad3s1a >> >> Again, I can break into the debugger, but I'm not certain what I =20 >> should be looking at. >> > > OK brought home a couple of useful things; I can now run both the =20 > HD and the CF card at the same time, and I have a serial console. > > Booting into 5-stable from the HD let's me access the CF card just =20 > fine. I've attached a verbose boot from both 5-stable and 6-beta3. > > The most striking difference (to me) is that 5-stable thinks DMA66 =20 > is fine (and my tests show that at least reading is not a problem =20 > at all), while 6-beta wants to do PIO4, but seemingly gets stuck. Uhm, both use PIO4 as far as I can tell.. > Time to add debugging to ata? Enable debugging in ata-all.h and set ATA_R_DEBUG in request->flags =20 early in ata_queue_request() and see how far it gets. I'd suspect subtle timing in the lowest levels though.... - S=F8ren
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DF6401A2-4BBA-4B7E-92A9-D18DFD705E39>