Subject: kern/5179: cd9660-LKM doesn't work with UVM kernel
To: None <gnats-bugs@gnats.netbsd.org>
From: Mario Kemper <magick@bundy.lip.owl.de>
List: netbsd-bugs
Date: 03/19/1998 21:13:57
>Number: 5179
>Category: kern
>Synopsis: cd9660-LKM doesn't work with UVM kernel
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: kern-bug-people (Kernel Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 19 13:50:00 1998
>Last-Modified:
>Originator: Mario Kemper
>Organization:
Mario Kemper
magick@bundy.lip.owl.de
>Release: NetBSD-current
>Environment:
System: NetBSD bundy 1.3E NetBSD 1.3E (BUNDY) #11: Mon Mar 16 20:57:27 CET 1998 magick@bundy:/usr/src/sys/arch/i386/compile/BUNDY i386
>Description:
The cd9660 file system as a LKM doesn't work with an UVM kernel
>How-To-Repeat:
Try to mount a cdrom when the cd9660 fs is a LKM an UVM is enabled. You'll
get an error message "need a block device"
>Fix:
Append the following to /usr/src/sys/lkm/vfs/isofs/cd9660/Makefile:
---cut---
.if defined(UVM)
CPPFLAGS+= -DUVM
.endif
---cut---
I propose to do this with all LKM-Makefiles where it hasn't been made yet,
just to be on the safe side as almost all LKMs i use had to be fixed that way
and i don't use all (and eventualy didn't access my cdrom for quite a while).
>Audit-Trail:
>Unformatted: