DragonFly users List (threaded) for 2007-09
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: Error message: md: si_iosize_max not set
: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@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);
}
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]