Date: Fri, 05 Jun 2009 10:44:14 +0530 From: wahjava.ml@gmail.com (Ashish SHUKLA) To: freebsd-questions@freebsd.org Subject: 7.2-RELEASE panics with snd_ds1 loaded. Message-ID: <86skifqn2x.fsf@chateau.d.lf>
next in thread | raw e-mail | index | archive | help
--=-=-= Content-Transfer-Encoding: quoted-printable Hi all, I've recently installed 7.2-RELEASE few weeks ago and noticed that it panics after few minutes of loading snd_ds1 (driver for Yamaha PCI sound card), and playing music on it. I've not added snd_ds1 to my loader.conf so as soon as I explicitly kldload it and start playing music (or try to access sound card like using gnome-sound-recorder) it panics after few minutes. Following are the backtraces of the panics. ,---- | (kgdb) core-file /var/crash/vmcore.0 |=20 | Unread portion of the kernel message buffer: |=20 |=20 | Fatal trap 9: general protection fault while in kernel mode | cpuid =3D 0; apic id =3D 00 | instruction pointer =3D 0x8:0xffffffff807c5f22 | stack pointer =3D 0x10:0xfffffffebf031a00 | frame pointer =3D 0x10:0xffff804000020048 | code segment =3D base 0x0, limit 0xfffff, type 0x1b | =3D DPL 0, pres 1, long 1, def32 0, gran 1 | processor eflags =3D interrupt enabled, resume, IOPL =3D 0 | current process =3D 72310 (sshd) | trap number =3D 9 | panic: general protection fault | cpuid =3D 0 | Uptime: 6h25m1s | Physical memory: 2025 MB | Dumping 386 MB: 371 355 339 323 307 291 275 259 243 227 211 195 179 163 1= 47 131 115 99 83 67 51 35 19 3 |=20 | Reading symbols from /boot/kernel/geom_journal.ko...Reading symbols from = /boot/GENERIC/geom_journal.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/geom_journal.ko | Reading symbols from /boot/kernel/linprocfs.ko...Reading symbols from /bo= ot/GENERIC/linprocfs.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/linprocfs.ko | Reading symbols from /boot/kernel/linux.ko...Reading symbols from /boot/G= ENERIC/linux.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/linux.ko | Reading symbols from /boot/kernel/pf.ko...Reading symbols from /boot/GENE= RIC/pf.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/pf.ko | Reading symbols from /boot/kernel/blank_saver.ko...Reading symbols from /= boot/GENERIC/blank_saver.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/blank_saver.ko | Reading symbols from /boot/kernel/ng_socket.ko...Reading symbols from /bo= ot/GENERIC/ng_socket.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/ng_socket.ko | Reading symbols from /boot/kernel/netgraph.ko...Reading symbols from /boo= t/GENERIC/netgraph.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/netgraph.ko | Reading symbols from /boot/kernel/ng_mppc.ko...Reading symbols from /boot= /GENERIC/ng_mppc.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/ng_mppc.ko | Reading symbols from /boot/kernel/rc4.ko...Reading symbols from /boot/GEN= ERIC/rc4.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/rc4.ko | Reading symbols from /boot/kernel/ng_iface.ko...Reading symbols from /boo= t/GENERIC/ng_iface.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/ng_iface.ko | Reading symbols from /boot/kernel/ng_ppp.ko...Reading symbols from /boot/= GENERIC/ng_ppp.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/ng_ppp.ko | Reading symbols from /boot/kernel/ng_tee.ko...Reading symbols from /boot/= GENERIC/ng_tee.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/ng_tee.ko | Reading symbols from /boot/kernel/ng_ether.ko...Reading symbols from /boo= t/GENERIC/ng_ether.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/ng_ether.ko | Reading symbols from /boot/kernel/ng_pppoe.ko...Reading symbols from /boo= t/GENERIC/ng_pppoe.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/ng_pppoe.ko | Reading symbols from /boot/kernel/i915.ko...Reading symbols from /boot/GE= NERIC/i915.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/i915.ko | Reading symbols from /boot/kernel/drm.ko...Reading symbols from /boot/GEN= ERIC/drm.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/drm.ko | Reading symbols from /boot/kernel/snd_ds1.ko...Reading symbols from /boot= /GENERIC/snd_ds1.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/snd_ds1.ko | Reading symbols from /boot/kernel/sound.ko...Reading symbols from /boot/G= ENERIC/sound.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/sound.ko | #0 doadump () at pcpu.h:195 | 195 pcpu.h: No such file or directory. | in pcpu.h | (kgdb) bt | #0 doadump () at pcpu.h:195 | #1 0x0000000000000004 in ?? () | #2 0xffffffff8050df19 in boot (howto=3D260) at /usr/src/sys/kern/kern_sh= utdown.c:418 | #3 0xffffffff8050e322 in panic (fmt=3D0x104 <Address 0x104 out of bounds= >) at /usr/src/sys/kern/kern_shutdown.c:574 | #4 0xffffffff807d2193 in trap_fatal (frame=3D0xffffff00038bb370, eva=3DV= ariable "eva" is not available. | ) at /usr/src/sys/amd64/amd64/trap.c:757 | #5 0xffffffff807d2ce5 in trap (frame=3D0xfffffffebf031950) at /usr/src/s= ys/amd64/amd64/trap.c:558 | #6 0xffffffff807b700e in calltrap () at /usr/src/sys/amd64/amd64/excepti= on.S:209 | #7 0xffffffff807c5f22 in pmap_remove_pages (pmap=3D0xffffff00696730f8) a= t /usr/src/sys/amd64/amd64/pmap.c:3812 | #8 0xffffffff8073e708 in vmspace_exit (td=3D0xffffff00038bb370) at /usr/= src/sys/vm/vm_map.c:404 | #9 0xffffffff804e92b0 in exit1 (td=3D0xffffff00038bb370, rv=3D65280) at = /usr/src/sys/kern/kern_exit.c:306 | #10 0xffffffff804ea68e in sys_exit (td=3DVariable "td" is not available. | ) at /usr/src/sys/kern/kern_exit.c:110 | #11 0xffffffff807d27e7 in syscall (frame=3D0xfffffffebf031c80) at /usr/sr= c/sys/amd64/amd64/trap.c:900 | #12 0xffffffff807b721b in Xfast_syscall () at /usr/src/sys/amd64/amd64/ex= ception.S:330 | #13 0x000000080132850c in ?? () | Previous frame inner to this frame (corrupt stack?) `---- ,---- | (kgdb) core-file /var/crash/vmcore.1 |=20 | Unread portion of the kernel message buffer: |=20 |=20 | Fatal trap 12: page fault while in kernel mode | cpuid =3D 1; apic id =3D 01 | fault virtual address =3D 0x258 | fault code =3D supervisor read data, page not present | instruction pointer =3D 0x8:0xffffffff8050119d | stack pointer =3D 0x10:0xfffffffebf1c2950 | frame pointer =3D 0x10:0xffffff00341f6a50 | code segment =3D base 0x0, limit 0xfffff, type 0x1b | =3D DPL 0, pres 1, long 1, def32 0, gran 1 | processor eflags =3D interrupt enabled, resume, IOPL =3D 0 | current process =3D 34352 (ruby18) | trap number =3D 12 | panic: page fault | cpuid =3D 1 | Uptime: 2h59m0s | Physical memory: 2025 MB | Dumping 336 MB: 321 305 289 273 257 241 225 209 193 177 161 145 129 113 9= 7 81 65 49 33 17 1 |=20 | Reading symbols from /boot/kernel/geom_journal.ko...Reading symbols from = /boot/GENERIC/geom_journal.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/geom_journal.ko | Reading symbols from /boot/kernel/linprocfs.ko...Reading symbols from /bo= ot/GENERIC/linprocfs.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/linprocfs.ko | Reading symbols from /boot/kernel/linux.ko...Reading symbols from /boot/G= ENERIC/linux.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/linux.ko | Reading symbols from /boot/kernel/pf.ko...Reading symbols from /boot/GENE= RIC/pf.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/pf.ko | Reading symbols from /boot/kernel/blank_saver.ko...Reading symbols from /= boot/GENERIC/blank_saver.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/blank_saver.ko | Reading symbols from /boot/kernel/i915.ko...Reading symbols from /boot/GE= NERIC/i915.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/i915.ko | Reading symbols from /boot/kernel/drm.ko...Reading symbols from /boot/GEN= ERIC/drm.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/drm.ko | Reading symbols from /boot/kernel/ng_socket.ko...Reading symbols from /bo= ot/GENERIC/ng_socket.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/ng_socket.ko | Reading symbols from /boot/kernel/netgraph.ko...Reading symbols from /boo= t/GENERIC/netgraph.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/netgraph.ko | Reading symbols from /boot/kernel/ng_mppc.ko...Reading symbols from /boot= /GENERIC/ng_mppc.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/ng_mppc.ko | Reading symbols from /boot/kernel/rc4.ko...Reading symbols from /boot/GEN= ERIC/rc4.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/rc4.ko | Reading symbols from /boot/kernel/ng_iface.ko...Reading symbols from /boo= t/GENERIC/ng_iface.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/ng_iface.ko | Reading symbols from /boot/kernel/ng_ppp.ko...Reading symbols from /boot/= GENERIC/ng_ppp.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/ng_ppp.ko | Reading symbols from /boot/kernel/ng_tee.ko...Reading symbols from /boot/= GENERIC/ng_tee.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/ng_tee.ko | Reading symbols from /boot/kernel/ng_ether.ko...Reading symbols from /boo= t/GENERIC/ng_ether.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/ng_ether.ko | Reading symbols from /boot/kernel/ng_pppoe.ko...Reading symbols from /boo= t/GENERIC/ng_pppoe.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/ng_pppoe.ko | Reading symbols from /boot/kernel/snd_ds1.ko...Reading symbols from /boot= /GENERIC/snd_ds1.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/snd_ds1.ko | Reading symbols from /boot/kernel/sound.ko...Reading symbols from /boot/G= ENERIC/sound.ko.symbols...done. | done. | Loaded symbols for /boot/kernel/sound.ko | #0 doadump () at pcpu.h:195 | 195 in pcpu.h | (kgdb) bt | #0 doadump () at pcpu.h:195 | #1 0x0000000000000004 in ?? () | #2 0xffffffff8050df19 in boot (howto=3D260) at /usr/src/sys/kern/kern_sh= utdown.c:418 | #3 0xffffffff8050e322 in panic (fmt=3D0x104 <Address 0x104 out of bounds= >) at /usr/src/sys/kern/kern_shutdown.c:574 | #4 0xffffffff807d2193 in trap_fatal (frame=3D0xffffff00341f6a50, eva=3DV= ariable "eva" is not available. | ) at /usr/src/sys/amd64/amd64/trap.c:757 | #5 0xffffffff807d2565 in trap_pfault (frame=3D0xfffffffebf1c28a0, usermo= de=3D0) at /usr/src/sys/amd64/amd64/trap.c:673 | #6 0xffffffff807d2ea4 in trap (frame=3D0xfffffffebf1c28a0) at /usr/src/s= ys/amd64/amd64/trap.c:444 | #7 0xffffffff807b700e in calltrap () at /usr/src/sys/amd64/amd64/excepti= on.S:209 | #8 0xffffffff8050119d in _mtx_lock_sleep (m=3D0xffffff003439aca8, tid=3D= 18446742975072397904, opts=3DVariable "opts" is not available. | ) at /usr/src/sys/kern/kern_mutex.c:339 | #9 0xffffffff8054465a in sleepq_catch_signals (wchan=3D0xffffff00341a100= 0) at /usr/src/sys/kern/subr_sleepqueue.c:392 | #10 0xffffffff80544f9b in sleepq_wait_sig (wchan=3DVariable "wchan" is no= t available. | ) at /usr/src/sys/kern/subr_sleepqueue.c:594 | #11 0xffffffff8051624e in _sleep (ident=3D0xffffff00341a1000, lock=3D0xff= ffff00341a12b0, priority=3D180, wmesg=3D0xffffffff808b162e "piperd",=20 | timo=3D0) at /usr/src/sys/kern/kern_synch.c:228 | #12 0xffffffff8054cd60 in pipe_read (fp=3D0xffffff00341c9300, uio=3D0xfff= ffffebf1c2b10, active_cred=3DVariable "active_cred" is not available. | ) at /usr/src/sys/kern/sys_pipe.c:689 | #13 0xffffffff8054a32d in dofileread (td=3D0xffffff00341f6a50, fd=3D4, fp= =3D0xffffff00341c9300, auio=3D0xfffffffebf1c2b10, offset=3DVariable "offset= " is not available. | ) at file.h:245 | #14 0xffffffff8054a69e in kern_readv (td=3D0xffffff00341f6a50, fd=3D4, au= io=3D0xfffffffebf1c2b10) at /usr/src/sys/kern/sys_generic.c:193 | #15 0xffffffff8054a78c in read (td=3D0xffffff003439aca8, uap=3D0xffffff00= 341f6a50) at /usr/src/sys/kern/sys_generic.c:109 | #16 0xffffffff807d27e7 in syscall (frame=3D0xfffffffebf1c2c80) at /usr/sr= c/sys/amd64/amd64/trap.c:900 | #17 0xffffffff807b721b in Xfast_syscall () at /usr/src/sys/amd64/amd64/ex= ception.S:330 | #18 0x0000000800d860dc in ?? () | Previous frame inner to this frame (corrupt stack?) `---- Any ideas how to resolve this ? TiA =2D-=20 Ashish SHUKLA --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkooqaoACgkQHy+EEHYuXnR0/QCfc4ygxsU4MNZrHbl8YdtMCEDF RDQAn1EKldc6R4axt9MZCz0XEjIVHrPm =tmbD -----END PGP SIGNATURE----- --=-=-=--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86skifqn2x.fsf>