Subject: Using Loadable Kernel Modules (LKM) & -current.
To: None <current-users@NetBSD.ORG>
From: Darren Reed <darrenr@vitruvius.arbld.unimelb.edu.au>
List: current-users
Date: 02/14/1995 22:33:51
Does anyone have a working LKM device driver ?

I'm using NetBSD-sparc-current and I've just had it panic twice, at two
different `stages' of loading the module, but both terminated in LMLOADBUF:

Feb 14 22:05:55 candella /netbsd: LKM: LMRESERV (actual   = 0xf8658000)
Feb 14 22:05:56 candella /netbsd: LKM: LMRESERV (adjusted = 0xf8658000)
Feb 14 22:05:57 candella /netbsd: LKM: LMLOADBUF (loading @ 0 of 24808, i = 512)
...
Feb 14 22:06:15 candella /netbsd: LKM: LMLOADBUF (loading @ 12288 of 24808, i =
512)
(crash)

Feb 14 22:19:15 candella /netbsd: LKM: LMRESERV (actual   = 0xf8665000) 
Feb 14 22:19:16 candella /netbsd: LKM: LMRESERV (adjusted = 0xf8665000)
Feb 14 22:19:18 candella /netbsd: LKM: LMLOADBUF (loading @ 0 of 24808, i = 512)
Feb 14 22:19:20 candella /netbsd: LKM: LMLOADBUF (loading @ 512 of 24808, i = 51
...
Feb 14 22:22:21 candella /netbsd: LKM: LMLOADBUF (loading @ 7680 of 24808, i = 5
12)
(crash)

and sddump() don't work :/

Does anyone have any clues about why this is happening and how I should
avoid it ?

Thanks,
Darren