In message <[EMAIL PROTECTED]>, Christopher Masto writes:
>On Thu, Aug 26, 1999 at 10:35:27PM +0200, Poul-Henning Kamp wrote:
>> In message <[EMAIL PROTECTED]>, Matthew Dillon writes:
>> > That fixes a problem with ccd, but not the one causing John's failures.
>> >
>> > You will note that with John's failure's the I/O is properly page-aligned.
>> > The fix to ccd deals with a misalignment problem.
>>
>> No it doesn't. johns failure is clearly the si_bsize* problem, the
>> tell-tale sign is all the zeros in there. What John didn't tell
>> us is if he uses vn, ccd or vinum (or something else!)
>
>Well, I just had much the same blowup with source from last night
>and I'm using vinum, (and not vn or ccd).
>
>Recompiling now to see if it's still there.
Ok, I havn't touched vinum (grog generally want to do this himself),
the fix is probably something like this:
Index: vinum.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/vinum/vinum.c,v
retrieving revision 1.29
diff -u -r1.29 vinum.c
--- vinum.c 1999/08/24 02:18:55 1.29
+++ vinum.c 1999/08/26 21:04:03
@@ -271,6 +271,9 @@
int devminor; /* minor number */
devminor = minor(dev);
+ dev->si_bsize_phys = DEV_BSIZE;
+ dev->si_bsize_best = BLKDEV_IOSIZE;
+ dev->si_bsize_max = MAXBSIZE;
error = 0;
/* First, decide what we're looking at */
switch (DEVTYPE(dev)) {
--
Poul-Henning Kamp FreeBSD coreteam member
[EMAIL PROTECTED] "Real hackers run -current on their laptop."
FreeBSD -- It will take a long time before progress goes too far!
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message