oss_sblive system crash FreeBSD 9.0-CURRENT/amd64

OSS specific BSD discussion (FreeBSD/NetBSD/OpenBSD)

Moderators: kodachi, hannu, dev, cesium

oss_sblive system crash FreeBSD 9.0-CURRENT/amd64

Postby adamk » Sat Dec 05, 2009 9:11 pm

Code: Select all
login: oss_sblive0: [ITHREAD]
oss_sblive0: <SB Live> port 0xbce0-0xbcff irq 18 at device 2.0 on pci12
osscore: mmap() not possible with currently selected sample format.
osscore: Couldn't retrieve private data from file handle!

Fatal trap 12: page fault while in kernel mode
cpuid = 3; apic id = 03
fault virtual address   = 0x770078604fd0
fault code      = supervisor read data, page not present
instruction pointer   = 0x20:0xffffffff80887087
stack pointer           = 0x28:0xffffff803e7ef830
frame pointer           = 0x28:0xffffff803e7ef860
code segment      = base 0x0, limit 0xfffff, type 0x1b
         = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags   = interrupt enabled, resume, IOPL = 0
current process      = 1609 (initial thread)
[thread pid 1609 tid 100072 ]
Stopped at      pmap_pvh_free+0x7:      movq    (%rcx),%rsi
db> bt
Tracing pid 1609 tid 100072 td 0xffffff0001a69a80
pmap_pvh_free() at pmap_pvh_free+0x7
pmap_enter() at pmap_enter+0x5d7
vm_fault() at vm_fault+0x1612
trap_pfault() at trap_pfault+0x132
trap() at trap+0x4bc
calltrap() at calltrap+0x8
--- trap 0xc, rip = 0x802da9fd4, rsp = 0x7fffffffdcc8, rbp = 0x803095000 ---
db> reboot
cpu_reset: Restarting BSP
cpu_reset_proxy: Stopped CPU 3

mplayer works just fine, but when I started pulseaudio, I get this output on the terminal I started it from:

Code: Select all
[ adamk@sorrow - ~ ]: pulseaudio &
W: module.c: module-detect is deprecated: Please use module-udev-detect instead of module-detect!
W: module-oss.c: mmap(PROT_READ) failed, reverting to non-mmap mode: Invalid argument
W: oss-util.c: '/dev/dsp1' doesn't support full duplex

And then the above kernel panic. Interestingly, there is no such panic on 9.0-CURRENT/i386 with oss_sblive.

Posts: 78
Joined: Fri Jun 11, 2004 1:50 pm

Re: oss_sblive system crash FreeBSD 9.0-CURRENT/amd64

Postby adamk » Mon May 31, 2010 9:35 pm

FYI, I got a new kernel panic today with OSS:

Code: Select all
db> bt
Tracing pid 34193 tid 100344 td 0xca33b9c0
kdb_enter(c0cd96c6,c0cd96c6,c0cdcde4,e826e6a8,1,...) at kdb_enter+0x3a
panic(c0cdcde4,ffffffff,97ea,cb,ca33b9c0,...) at panic+0x136
propagate_priority(ca33b9c0,cc48d580,c0cdcd85,2d7,c82c8750,...) at propagate_priority+0x10c
turnstile_wait(cc48d580,c82c8750,0,e826e734,c2a748e0,...) at turnstile_wait+0x2d2
_mtx_lock_sleep(c0e4a980,ca33b9c0,0,0,0,...) at _mtx_lock_sleep+0x10c
vm_pageout_page_lock(c2a748e0,e826e7cc,0,0,0,...) at vm_pageout_page_lock+0x12e
vm_contig_launder(c0e4bbf4,c0e4baec,210,b,e826e828,...) at vm_contig_launder+0x2f
vm_contig_grow_cache(10,0,ffffffff,1000,0,...) at vm_contig_grow_cache+0x8f
kmem_alloc_contig(c15b6000,10000,2,0,ffffffff,...) at kmem_alloc_contig+0x78
contigmalloc(10000,c0dbe4b0,2,0,ffffffff,...) at contigmalloc+0x47
oss_contig_malloc(10000,ffffffff,e826e8d4,50,33,...) at oss_contig_malloc+0x4b
__oss_alloc_dmabuf(1,c9bf5008,0,ffffffff,0,...) at __oss_alloc_dmabuf+0x6d
oss_alloc_dmabuf(1,c9bf5008,2,0,0,...) at oss_alloc_dmabuf+0x45
vmix_alloc_buffer(1,c9bf5008,2,ccc43e5b,ccc847d3,...) at vmix_alloc_buffer+0x79
init_dmap(c5809e54,ca03e4ac,10,ccc2a9ca,4,...) at init_dmap+0x12d
oss_audio_open_engine(1,c,e826ea00,0,0,...) at oss_audio_open_engine+0x39c
oss_audio_open_devfile(0,c,e826ea00,0,0,...) at oss_audio_open_devfile+0x192
oss_open(ce2d9e00,2,2000,ca33b9c0,e826ea68,...) at oss_open+0xdf
devfs_open(e826eb18,e826eb40,c0953901,c0db4400,e826eb18,...) at devfs_open+0xe8
VOP_OPEN_APV(c0db4400,e826eb18,80,0,0,...) at VOP_OPEN_APV+0x42                                                                                           
vn_open_cred(e826eb88,e826ec3c,0,0,ca2f7280,...) at vn_open_cred+0x541                                                                                   
vn_open(e826eb88,e826ec3c,0,cc1820e0,0,...) at vn_open+0x3b                                                                                               
kern_openat(ca33b9c0,ffffff9c,2d3cbeb0,0,2,...) at kern_openat+0x125                                                                                     
kern_open(ca33b9c0,2d3cbeb0,0,1,0,...) at kern_open+0x35                                                                                                 
open(ca33b9c0,e826ecfc,e826ec90,2ce2ae67,ca03e2a8,...) at open+0x30                                                                                       
syscallenter(ca33b9c0,e826ecf4,c0c06839,ca33b9c0,e826ed38,...) at syscallenter+0x329                                                                     
syscall(e826ed38) at syscall+0x34                                                                                                                         
Xint0x80_syscall() at Xint0x80_syscall+0x20                                                                                                               
--- syscall (5, FreeBSD ELF32, open), eip = 0x28ef65e3, esp = 0xbfbfdc1c, ebp = 0xbfbfdc48 ---

Posts: 78
Joined: Fri Jun 11, 2004 1:50 pm

Re: oss_sblive system crash FreeBSD 9.0-CURRENT/amd64

Postby exxo » Thu Sep 22, 2011 1:51 pm

I got a kernel panic too on FreeBSD 9.0-BETA2 amd64 :(
osscore results in a system freeze by dynamically loading it or a kernel panic in case it is done at boot time.

I got the same output as described here : http://forum.lissyara.su/viewtopic.php?f=53&t=34123
New Member
Posts: 1
Joined: Tue Sep 20, 2011 9:41 pm

Return to BSD

Who is online

Users browsing this forum: No registered users and 1 guest