Error message: md: si_iosize_max not set
Matthew Dillon
dillon at apollo.backplane.com
Mon Sep 3 19:23:49 PDT 2007
:Hi.
:
:We are getting an error printed may times with each ramdisk access on
:a custom ramdisk rootfs we are creating on Dragonfly 1.10.1.
:The error is
:
: md: si_iosize_max not set!
:...
:
:Is this a bug, or is there something we are supposed to be doing
:different starting with 1.10?
:
:Regards.
:Vincent
It's a bug. Try this patch.
-Matt
Matthew Dillon
<dillon at backplane.com>
Index: md.c
===================================================================
RCS file: /cvs/src/sys/dev/disk/md/md.c,v
retrieving revision 1.17
diff -u -p -r1.17 md.c
--- md.c 31 Jul 2007 20:04:48 -0000 1.17
+++ md.c 4 Sep 2007 02:18:45 -0000
@@ -373,6 +373,8 @@ DEVSTAT_TYPE_DIRECT | DEVSTAT_TYPE_IF_
DEVSTAT_PRIORITY_OTHER);
sc->dev = disk_create(sc->unit, &sc->disk, &md_ops);
sc->dev->si_drv1 = sc;
+ sc->dev->si_iosize_max = DFLTPHYS;
+
return (sc);
}
More information about the Users
mailing list