DragonFly BSD
DragonFly users List (threaded) for 2006-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Debugging device drivers


From: Danial Thom <danial_thom@xxxxxxxxx>
Date: Wed, 11 Jan 2006 13:10:42 -0800 (PST)


--- Francis Gudin <fgudin@xxxxxxxxx> wrote:

> Hi all,
> 
> i'm trying to understand why my SB16 soundcard
> isn't recognized by
> DragonFly, though working alright under FBSD
> 5.4: i already had a
> long-standing problem with ips(4) and as i've
> got no other controller to
> boot from, i had to go through a painful cycle
> (put printf everywhere,
> rebuild on another host, scp & install the new
> kernel, reboot, try
> to understand anything at all...).
> 
> As a sound card isn't that critical to the boot
> process, i'd like to
> know if an easier way of debugging exists:
> would it be possible to
> build a kernel without any sound support,
> instrument and somewhat
> hack bits of snd_sbc and friends and then use
> kldload/kldunload to
> investigate ? I mean: will the probe routines
> get called as they would
> during normal kernel initialization ?
> 
> Thanks for any tips,
> Francis.

Trace code is your friend. Compiling a kernel is
so fast these days, just compile and reboot. 

DT

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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