Subject: kern/5179: cd9660-LKM doesn't work with UVM kernel
To: None <>
From: Mario Kemper <>
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
>Originator:     Mario Kemper
Mario Kemper
>Release:        NetBSD-current
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

The cd9660 file system as a LKM doesn't work with an UVM kernel

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"

Append the following to /usr/src/sys/lkm/vfs/isofs/cd9660/Makefile:
.if defined(UVM)

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).