Subject: kern/9058: Easy to panic kernel with cd9660
To: None <>
From: Lennart Augustsson <>
List: netbsd-bugs
Date: 12/26/1999 09:15:50
>Number:         9058
>Category:       kern
>Synopsis:       Easy to panic kernel with cd9660
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 26 09:15:00 1999
>Originator:     Lennart Augustsson
Department of Computing Science, Chalmers University
>Release:        NetBSD-current 1999-12-25
System: NetBSD opus 1.4P NetBSD 1.4P (OPUS) #149: Wed Dec 22 23:02:25 CET 1999 augustss@opus:/extra/NetBSD/src/sys/arch/i386/compile/OPUS i386

	I was being naive and thought I could copy a CD by using dd
	to copy the image off the old CD, savinging it on a file
	and then using cdrecord to write a new CD.  The new CD made
	the kernel panic.
	My guess is that any invalid file system will make it panic,
	but I've not tested.
	Take a CD, copy it to a file or a CD.  Mount the file or CD.
	Observe this:
		panic: locking against myself
		genfs_lock()  (at offset 0x1f)
	I have no clue.