kernel trap 12

Jeroen Ruigrok/asmodai asmodai at wxs.nl
Tue Jul 20 12:12:17 PDT 2004


-On [20040720 09:22], Matthew Dillon (dillon at xxxxxxxxxxxxxxxxxxxx) wrote:
>    This is worth a shot.  Try adding a KKASSERT() after that
>    PDEBUG line (line 404 in kern/subr_bus.c) so we can hopefully get
>    a backtrace of who called devclass_add_device() with a dev that
>    has a NULL name.  If the dev has a NJULL name then it might have a
>    NULL devclass too.

KASSERT(DEVICENAME(dev) != null, "text")
works to panic it.

Damn, been ages since I messed with DDB.  Need some future handholding here.

-- 
Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / kita no mono
Free Tibet! http://www.savetibet.org/ | http://www.tibet.nu/
http://www.tendra.org/   | http://diary.in-nomine.org/
Als men blijft geloven kan de zwaarste steen niet zinken...





More information about the Bugs mailing list