DragonFly BSD
DragonFly bugs List (threaded) for 2004-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: kernel trap 12


From: Jeroen Ruigrok/asmodai <asmodai@xxxxxx>
Date: Tue, 20 Jul 2004 21:10:44 +0200

-On [20040720 09:22], Matthew Dillon (dillon@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...



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]