Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Nov 1997 12:30:28 -0800
From:      "David E. Tweten" <tweten@ns.frihet.com>
To:        Guido van Rooij <guido@gvr.org>
Cc:        freebsd-mobile@FreeBSD.ORG, FreeBSD-hackers@FreeBSD.ORG (FreeBSD-hackers)
Subject:   Re: multi sector io on IBM-DMCA-21440 
Message-ID:  <199711112030.MAA07279@ns.frihet.com>

next in thread | raw e-mail | index | archive | help
guido@gvr.org said:
>IS anyone using multi-sector IO successfully on his laptop? 

I am, on an NEC 6030X (at home), and on an NEC 6050MX (at work).

>When I would enable multi-sector io, the filesystem is severely
>corrupted (without the driver giving any errors at all.) I configured
>it with flas 0x80ff80ff. 

I've had no such problem.  My equivalent boot messages are:

wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <IBM-DMCA-21440>, 32-bit, multi-block-16
wd0: 1378MB (2822400 sectors), 2800 cyls, 16 heads, 63 S/T, 512 B/S

And my appropriate kernel config lines are:

controller      wdc0    at isa0 port "IO_WD1" bio irq 14 vector wdintr
disk            wd0     at wdc0 drive 0 flags 0x80ff
disk            wd1     at wdc0 drive 1 flags 0x80ff
device          wcd0

It seems the only difference in our setups is that I put the flags on the 
device declaration while you put them on the controller declaration (and, of 
course, our laptops are made by different manufacturors).  I have no idea why 
mine works and yours doesn't, but at least this is more data for you.
-- 
David E. Tweten           |  2047-bit PGP fingerprint:  |  tweten@frihet.com
12141 Atrium Drive        |   E9 59 E7 5C 6B 88 B8 90   |     tweten@and.com
Saratoga, CA  95070-3162  |   65 30 2A A4 A0 BC 49 AE   |     (408) 446-4131
Those who make good products sell products; those who don't, sell solutions.





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