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
        dnel...@emsphone.com



To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to