On Tue, 6 Jan 2009 10:01:49 -0500
Adam K Kirchhoff <ad...@voicenet.com> wrote:

> On Saturday 03 January 2009 09:38:56 Adam K Kirchhoff wrote:
> > On Sat, 03 Jan 2009 07:36:11 +0200
> >
> > Hannu Savolainen <ha...@opensound.com> wrote:
> > > Adam K Kirchhoff wrote:
> > > > Two crashes this morning while playing videos with mplayer:
> > >
> > > Might it be possible that these crashes occur when you hit stop/pause or
> > > when the chapter/whatever changes in the video? I think an interrupt
> > > occurs after the device has been closed and the DMA buffer removed.
> > > However I don't know why this situation happens only in your system. The
> > > related code has been unchanged for years so somebody else must have
> > > experienced this crash too. Maybe doing fresh recompile of OSS helps.
> >
> > Yes, now that I think about it, I think I had just paused the video
> > both times.  In fact, I just remotely logged into the machine, killed
> > artsd (so I could run 'soundoff' and then update/recompile the driver),
> > and the machine panicked again.
> >
> > It is an odd crash.  I have a machine at home with an SB Live running
> > FreeBSD (both amd64 and i386 on separate drives) and haven't had this
> > problem.  When this is done booting back up, I'll recompile OSS and see
> > if I can run a few tests to reproduce this problem.
> 
> Since recompiling, I haven't had a crash yet.  I'll let everyone know if it 
> starts happening again.

It happened again this morning.  I was playing a video with mplayer,
hit pause, and the entire machine crashed:

[ r...@memory - /var/crash ]: kgdb /boot/kernel/kernel vmcore.3 
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd"...

Unread portion of the kernel message buffer:
kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
cpuid = 2; apic id = 06
fault virtual address   = 0xe6eea000
fault code              = supervisor write, page not present
instruction pointer     = 0x20:0xc4a20774
stack pointer           = 0x28:0xe681fbac
frame pointer           = 0x28:0xe681fbb0
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = resume, IOPL = 0
current process         = 1104 (irq20: oss_sblive+)
trap number             = 12
panic: page fault
cpuid = 2
Uptime: 1h9m20s
Physical memory: 1010 MB
Dumping 197 MB: (CTRL-C to abort)  182 166 150 134 118 102 86 70 54 38 22 6

Reading symbols from /boot/kernel/linux.ko...Reading symbols from 
/boot/kernel/linux.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/linux.ko
Reading symbols from /boot/kernel/aio.ko...Reading symbols from 
/boot/kernel/aio.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/aio.ko
Reading symbols from /boot/modules/kqemu.ko...done.
Loaded symbols for /boot/modules/kqemu.ko
Reading symbols from /boot/kernel/acpi.ko...Reading symbols from 
/boot/kernel/acpi.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/acpi.ko
Reading symbols from /boot/kernel/linprocfs.ko...Reading symbols from 
/boot/kernel/linprocfs.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/linprocfs.ko
Reading symbols from /boot/kernel/smbfs.ko...Reading symbols from 
/boot/kernel/smbfs.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/smbfs.ko
Reading symbols from /boot/kernel/libiconv.ko...Reading symbols from 
/boot/kernel/libiconv.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/libiconv.ko
Reading symbols from /boot/kernel/libmchain.ko...Reading symbols from 
/boot/kernel/libmchain.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/libmchain.ko
Reading symbols from /usr/local/modules/fuse.ko...done.
Loaded symbols for /usr/local/modules/fuse.ko
Reading symbols from /usr/lib/oss/modules/osscore.ko...done.
Loaded symbols for /usr/lib/oss/modules/osscore.ko
Reading symbols from /usr/lib/oss/modules/oss_sblive.ko...done.
Loaded symbols for /usr/lib/oss/modules/oss_sblive.ko
Reading symbols from /usr/lib/oss/modules/oss_ich.ko...done.
Loaded symbols for /usr/lib/oss/modules/oss_ich.ko
Reading symbols from /boot/kernel/radeon.ko...done.
Loaded symbols for /boot/kernel/radeon.ko
Reading symbols from /boot/kernel/drm.ko...done.
Loaded symbols for /boot/kernel/drm.ko
Reading symbols from /boot/kernel/if_bridge.ko...Reading symbols from 
/boot/kernel/if_bridge.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/if_bridge.ko
Reading symbols from /boot/kernel/bridgestp.ko...Reading symbols from 
/boot/kernel/bridgestp.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/bridgestp.ko
Reading symbols from /boot/kernel/if_tap.ko...Reading symbols from 
/boot/kernel/if_tap.ko.symbols...done.
done.
Loaded symbols for /boot/kernel/if_tap.ko
#0  doadump () at pcpu.h:196
196     pcpu.h: No such file or directory.
        in pcpu.h
(kgdb) bt
#0  doadump () at pcpu.h:196
#1  0xc078fbb7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418
#2  0xc078fe89 in panic (fmt=Variable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:574
#3  0xc0aa1b6c in trap_fatal (frame=0xe681fb6c, eva=3874398208) at 
/usr/src/sys/i386/i386/trap.c:939
#4  0xc0aa24ff in trap (frame=0xe681fb6c) at /usr/src/sys/i386/i386/trap.c:320
#5  0xc0a8862b in calltrap () at /usr/src/sys/i386/i386/exception.s:159
#6  0xc4a20774 in oss_memset () from /usr/lib/oss/modules/osscore.ko
#7  0xc49fc4e0 in do_outputintr () from /usr/lib/oss/modules/osscore.ko
#8  0xc49fc789 in audio_outputintr () from /usr/lib/oss/modules/osscore.ko
#9  0xc4a766d8 in sbliveintr () from /usr/lib/oss/modules/oss_sblive.ko
#10 0xc4a20b00 in ossintr () from /usr/lib/oss/modules/osscore.ko
#11 0xc076f88b in ithread_loop (arg=0xc4392710) at 
/usr/src/sys/kern/kern_intr.c:1088
#12 0xc076c3f9 in fork_exit (callout=0xc076f6d0 <ithread_loop>, arg=0xc4392710, 
frame=0xe681fd38)
    at /usr/src/sys/kern/kern_fork.c:804
#13 0xc0a886a0 in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:264

I'm willing to do any testing necessary to fix this bug.

Adam

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
oss-devel mailing list
oss-devel@mailman.opensound.com
http://mailman.opensound.com/mailman/listinfo/oss-devel

Reply via email to