Re: Neomagic audio driver

2000-05-20 Thread John Polstra

In article [EMAIL PROTECTED],
Donn Miller  [EMAIL PROTECTED] wrote:
 On Fri, 19 May 2000, Christopher Shumway wrote:
 
  Fatal trap 12: page fault while in kernel mode
  fault virtual address   = 0xfe271c00
  fault code  = supervisor write, page not present
  instruction pointer = 0x8:0xc0145873
  stack pointer   = 0x10:0xc93c3d08
  frame pointer   = 0x10:0xc93c3d10
  code segment= base 0x0, limit 0xf, type 0x1b
  = DPL 0, pres 1, def32 1, gran 1
  processor eflags= interrupt enabled, resume, IOPL = 0
  current process = 238 (tcsh)
  interrupt mask  = none
  trap number = 12
  panic: page fault
 
 How do you capture a dump of this sort of thing (e.g. page fault) to a
 file?

The easiest way is to use a serial console.

John
-- 
  John Polstra   [EMAIL PROTECTED]
  John D. Polstra  Co., Inc.Seattle, Washington USA
  "Disappointment is a good sign of basic intelligence."  -- Chögyam Trungpa



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Neomagic audio driver

2000-05-20 Thread Takahashi Yoshihiro

In article [EMAIL PROTECTED]
Christopher Shumway [EMAIL PROTECTED] writes:

 I'm having an interesting problem with the neomagic audio driver ever since
 building world and kernel from current sources checked out late this
 morning PDT.  Sending any data to the audio device (e.g. cat /kernel 
 /dev/audio) results in the following pannic:

The following change probably fixes this problem.
I'm sorry.


 nyan2000/05/20 09:15:50 PDT
 
   Modified files:
 sys/dev/sound/pcineomagic.c 
   Log:
   Oops, rman_get_bushandle() should be converted to rman_get_virtual()
   if resources are mapped to memory.
   
   Revision  ChangesPath
   1.11  +2 -2  src/sys/dev/sound/pci/neomagic.c

---
Takahashi Yoshihiro
The Center for Information Science, Kogakuin Univ.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Neomagic audio driver

2000-05-20 Thread Christopher Shumway

On Sat, 20 May 2000, Donn Miller wrote:

 On Fri, 19 May 2000, Christopher Shumway wrote:
 
  Fatal trap 12: page fault while in kernel mode

[Crash snipped]
 
 How do you capture a dump of this sort of thing (e.g. page fault) to a
 file?

It appears in the dmesg buffer as long as you warm-boot the machine after
the crash.  It appears that it stays in memory and FreeBSD picks it up
again on the next reboot, because the BIOS doesn't flush the contents of
memory on a warm boot.



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Neomagic audio driver

2000-05-20 Thread Christopher Shumway

On Sun, 21 May 2000, Takahashi Yoshihiro wrote:

  I'm having an interesting problem with the neomagic audio driver ever since
  building world and kernel from current sources checked out late this
  morning PDT.  Sending any data to the audio device (e.g. cat /kernel 
  /dev/audio) results in the following pannic:
 
 The following change probably fixes this problem.

Well, that did fix the crash, but now absolutly no sound comes out of the
device.  It appears to attach ok (/dev/sndstat reports the driver), but
with the mixer volume set at 100:100 no sound is produced.  Anything
writing to the audio device is in a state of [pcmwr], so it appears to be
getting data.




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Neomagic audio driver

2000-05-19 Thread Christopher Shumway

I'm having an interesting problem with the neomagic audio driver ever since
building world and kernel from current sources checked out late this
morning PDT.  Sending any data to the audio device (e.g. cat /kernel 
/dev/audio) results in the following pannic:

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0xfe271c00
fault code  = supervisor write, page not present
instruction pointer = 0x8:0xc0145873
stack pointer   = 0x10:0xc93c3d08
frame pointer   = 0x10:0xc93c3d10
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 238 (tcsh)
interrupt mask  = none
trap number = 12
panic: page fault

The audio device is a Neomagic built onto a Sony VIAO laptop as such:

pcm0: NeoMagic 256AV mem 0xfea0-0xfeaf,0xfe00-0xfe3f irq
9 at device 8.1 on pci0

Anyone have any idea what could have gone afoul?




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Neomagic audio driver

2000-05-19 Thread Donn Miller

On Fri, 19 May 2000, Christopher Shumway wrote:

 Fatal trap 12: page fault while in kernel mode
 fault virtual address   = 0xfe271c00
 fault code  = supervisor write, page not present
 instruction pointer = 0x8:0xc0145873
 stack pointer   = 0x10:0xc93c3d08
 frame pointer   = 0x10:0xc93c3d10
 code segment= base 0x0, limit 0xf, type 0x1b
 = DPL 0, pres 1, def32 1, gran 1
 processor eflags= interrupt enabled, resume, IOPL = 0
 current process = 238 (tcsh)
 interrupt mask  = none
 trap number = 12
 panic: page fault

How do you capture a dump of this sort of thing (e.g. page fault) to a
file?

- Donn



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message