Date: Thu, 4 Mar 1999 00:44:51 -0600 From: Dan Nelson <dnelson@emsphone.com> To: =?unknown-8bit?Q?S=F8ren_Schmidt?= <sos@freebsd.dk> Cc: Tugrul <tugrul@ianai.BlackSun.org>, current@FreeBSD.ORG Subject: Re: New ata driver failure on a ISA machine. Message-ID: <19990304004451.A82372@dan.emsphone.com> In-Reply-To: =?unknown-8bit?Q?=3C199903032055=2EVAA87674=40freebsd=2Edk=3E=3B_from_?= =?unknown-8bit?Q?=22S=F8ren_Schmidt=22_on_Wed_Mar__3_21:55:21_GMT_1999?= References: <Pine.BSF.3.96.990303153138.2096A-100000@ianai.BlackSun.org> <199903032055.VAA87674@freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Mar 03), Søren Schmidt said: > It seems Tugrul wrote: > > Second, at boot: > > > > [...] > > ata0 at 0x1f0-0x1f7 irq 14 on isa > > [...] > > ad0: <QUANTUM LP240A GM240A01X/4.0> ATA-? disk at ata0 as master > > ad0: 0MB (0 sectors), 723 cyls, 13 heads, 51 S/T, 512 B/S > > ad0: 16 secs/int, 0 depth queue > > changing root device to ad0a > > error 22: panic cannot mount root (2) > > That is allready fixed also. > > Wait until I commit the first update in an hour or so, then it > should work... Ok; now I have a similar failure case for you (using your updated code): Compaq LTE Elite laptop. Working wd0 probe strings: wdc0: unit 0 (wd0): <IBM-H2344-A4>, multi-block-4, sleep-hack wd0: 328MB (672525 sectors), 915 cyls, 15 heads, 49 S/T, 512 B/S ad0 probe output: ad0: <IBM-H2344-A4/G4I_A8C0> ATA-? disk at ata0 as master ad0: 549280MB (1124925450 sectors), 915 cyls, 15 heads, 49 S/T, 512 B/S ad0: 16 secs/int, 0 depth queue ... Considering FFS root fs. changing root device to ad0s1a ad0: invalid primary partition table: no magic changing root device to ad0a ad0: invalid primary partition table: no magic error 22: panic: cannot mount root (2) What I find fascinating is the LBAsize for the total # of sectors reported by the new driver code. 1124925450 is 0x430D000A. The correct amount, 672525, is 0x000A430D. Sounds like a word-swapping problem somewhere. Maybe LBAsize should only be used if necessary? -Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990304004451.A82372>