Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 1997 12:09:42 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Gabor Kincses <gabor@acm.org>
Cc:        FreeBSD Questions <questions@freebsd.org>
Subject:   Re: Panic in probe, but no dump
Message-ID:  <Pine.BSI.3.94.970206120838.1598C-100000@localhost>
In-Reply-To: <32FA29A1.41C67EA6@acm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
please, please, please, don't crosspost so much!  -questions would have
gotten you far enough to route you to -multimedia.

I'm posting this on -multimedia since more of our sound driver minds
are there.

On Thu, 6 Feb 1997, Gabor Kincses wrote:

> I have been trying to get the Voxware 2.90b drivers on 2.1.5 to
> recognize my Logitech Soundman Wave card correctly.  I managed to get
> the card recognized as Soundblaster Pro 3.1, but unfortunately only one
> speaker is working.
> 
> So after much searching of FreeBSD and Linux resources on the Net, I
> have concluded that this card is in fact a MediaVision Jazz16.  I have
> looked at sound.doc and sound_config.h in i386/isa/sound and saw a few
> useful-looking options that I added to my kernel config.  One problem I
> was faced with is that /usr/sbin/config didn't like option JAZZ16, but
> understood option "JAZZ16".  Similarly JAZZ16 was not an acceptable
> name, but JAZZ was.  I'm not sure if this is documented anywhere. 
> Certain defines are missing for the JAZZ16 and the SM_WAVE options.  It
> seems to me that Linux has much newer drivers than FreeBSD, although
> this is still to be proven.
> 
> The problem I have is to get a dump out of the sound driver probe.  I
> pretty much followed the handbook on this.  I have set config root on
> wd2 dumps on wd2 in my config file, but no dump occurred (I checked .  I
> did savecore -f in single user mode to try to get anything out of the
> swap device to no avail.  I managed to locate where the page fault
> occurred based on an earlier post by roberto@eurocontrol.fr:
>     nm /kernel | sort |grep 0xf01948
> The panic was reported at EIP=0xf01948a4 which is _initialize_smw in my
> kernel.  I would like to see the actual offending line of code.
> 
> So my questions are:
> 1. Is there a way to load the kernel.debug in gdb and correlate
> addresses with lines of code?  (Like on HP-UX w/ xdb: one can use 'td')
> 2. Why am I not getting a core dump?  Would the disk "rattle" a bit to
> save the kernel core, or is it already on the swap device?  Ie. what
> macroscopic events would tell me that I got a dump?  (Possibly: "core
> dumped" msg on the console :-)
> 3. I have turned on savecore in /etc/sysconfig, but I have noticed that
> the swapon gets executed first in /etc/rc before the savecore.  Wouldn't
> this wipe out a core in the swap device?
> 4. How can one get any description of the I/O registers of a device?
> 5. Is my only option left is ddb?
> 6. Is a page fault essentially like a segmentation violation in user
> mode?  AFAIK on i386 you have to install a page fault handler, which is
> probably what the VM is all about.  Is this true?
> 7. Why is the "dumps on" feature being deprecated?  How else can we get
> a dump if the system crashes before dumpon can be executed?  BTW, My
> swapkernel.c looks like this:
> #include <sys/param.h>
> #include <sys/conf.h>
> 
> dev_t   rootdev = makedev(0, 0x00000010);               /* wd2a */
> dev_t   dumpdev = makedev(0, 0x00000011);               /* wd2b */
> 
> void
> setconf()
> {
> }
> 
> Thanks,
> 
> -- 
> Gabor Kincses
> (gabor@acm.org)
> 

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.970206120838.1598C-100000>