Debugging device drivers

Danial Thom danial_thom at yahoo.com
Wed Jan 11 13:12:55 PST 2006



--- Francis Gudin <fgudin at 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 





More information about the Users mailing list