Subject: crash when modunload pcienum
To: None <>
From: George Chen <>
List: tech-kern
Date: 03/10/2006 11:42:04
Hi guys,

I encountered crash when modunload 'pcienum', which is an example provided
with NetBSD 3.0.

I'm writing a PCI device driver as a LKM. Before writing my code, I'm
studying pcilkm and trying pcienum but got in trouble.

It succeeded loading the two LKMs. I loaded pcilkm with command
modload -s pcilkm.o
and loaded pcienum.o with command
modload pcienum.o

It seemed OK.

When executed the command
Modunload pcienum
It crashed with no message.

I use SSH client.

Your help is highly appreciated!

George Chen