From owner-freebsd-questions@FreeBSD.ORG Fri Jun 5 05:41:03 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9AAA11065673 for ; Fri, 5 Jun 2009 05:41:03 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.174]) by mx1.freebsd.org (Postfix) with ESMTP id 46FE68FC08 for ; Fri, 5 Jun 2009 05:41:03 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so529669wfg.7 for ; Thu, 04 Jun 2009 22:41:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received :x-spam-checker-version:x-spam-level:x-spam-status:received:from:to :subject:organization:x-face:x-uptime:x-url:x-openpgp-id :x-openpgp-fingerprint:x-os:x-mailer:x-mail-morse:x-attribution:date :message-id:user-agent:face:mime-version:content-type; bh=Vb2rmhsL/9FJyb7Gwyy3S61cu2LP77nBUCLDKyD7YVc=; b=qbTSEtQI5UNOsXWcrLBZJ14qAOXB8sK+AXstP5uO1cQ/4Kkdipd5A1+piei4dUvLWw l+vOl33VtDjV7/vVeznroNrsW7eM4CwMQM5T8YUU66quNLnJqnsWG+AKmTaCckx0N+RL nbI0QHg+jpzpA0PfZuBnoKXSOP05FJUwqYMSY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:x-spam-checker-version:x-spam-level:x-spam-status:from:to :subject:organization:x-face:x-uptime:x-url:x-openpgp-id :x-openpgp-fingerprint:x-os:x-mailer:x-mail-morse:x-attribution:date :message-id:user-agent:face:mime-version:content-type; b=D+yx/MxKWIp9iX6yo8a10hZk0UnAiXSZnBC1fNsTnw3adf2xMp4dFxNu0NJvHreJaN TIdqsdFo+qwz4PhooTsGyel0ZqpkurBEuVJrpOyfztuKxX/skw7bb9sT7kZ8jrSbgEKX Dm2P98n0ps4QtPVaKrd8iyEvXwh5dW0muuDs4= Received: by 10.142.218.4 with SMTP id q4mr1054290wfg.76.1244178902974; Thu, 04 Jun 2009 22:15:02 -0700 (PDT) Received: from chateau.d.lf ([122.163.170.3]) by mx.google.com with ESMTPS id 20sm3718037wfi.0.2009.06.04.22.15.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 04 Jun 2009 22:15:02 -0700 (PDT) Sender: Ashish SHUKLA Received: by chateau.d.lf (Postfix, from userid 65534) id 2053810B2; Fri, 5 Jun 2009 10:44:28 +0530 (IST) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on chateau.d.lf X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=NO_RELAYS autolearn=ham version=3.2.5 Received: from chateau.d.lf (chateau.d.lf [IPv6:::1]) by chateau.d.lf (Postfix) with ESMTP id C5A5310B0 for ; Fri, 5 Jun 2009 10:44:19 +0530 (IST) From: wahjava.ml@gmail.com (Ashish SHUKLA) To: freebsd-questions@freebsd.org Organization: alt.religion.emacs X-Face: )vGQ9yK7Y$Flebu1C>(B\gYBm)[$zfKM+p&TT[[JWl6:]S>cc$%-z7-`46Zf0B*syL.C]oCq[upTG~zuS0.$"_%)|Q@$hA=9{3l{%u^h3jJ^Zl; t7 X-Uptime: 10:32AM up 4:06, 4 users, load averages: 0.75, 1.91, 2.25 X-URL: http://wahjava.wordpress.com/ X-OpenPGP-ID: 762E5E74 X-OpenPGP-Fingerprint: 1E00 4679 77E4 F8EE 2E4B 56F2 1F2F 8410 762E 5E74 X-OS: FreeBSD on FreeBSD 7.2-RELEASE kernel on amd64 architecture X-Mailer: Gnus v5.13 X-Mail-Morse: .-- .- .... .--- .- ...- .- .--.-. --. -- .- .. .-.. .-.-.- -.-. --- -- X-Attribution: =?utf-8?B?4KSG4KS24KWA4KS3?= Date: Fri, 05 Jun 2009 10:44:14 +0530 Message-ID: <86skifqn2x.fsf@chateau.d.lf> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (x86_64-pc-freebsd) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJ1BMVEWpqal/f39tbW1jY2Md HR2goKCenp6UlJROTk7////9/f35+fnT09ORJdieAAACVklEQVQ4jXXUP2vbQBQA8AvUTkgz5OzY Z0iGWhpS6BSrkECn0mvx0MEJ6AjtYrfoBCVDlD8naJYmNlRfwZq8+mkKlIZaGpJSYmP7Q/XkJDrJ Td8i/H68u3vHPaPufwLdf32AMA4A6GcAgvAamY1pOJiDIFqicTwLswDhfr3uxfFtkAY/GFHPMwzD 8zpnACmIOnE6js7rQb+v4NJrG9od0C+QgpHMy5jBewV+UDSMWiw1Y4fWfyV7+NGFzDsYa3pth9LJ Q4XvXxFHcJRvHOmygn5NAEabnDcQQguarnfoiwSCJ99jmKKcphsZONmWsDK9Ro7cvZOCtQdg8nje egLhc2LNlkLmsezzTFUUy5w18ocox/f0LaLgJy0zO75zk+9pp85GAj36xjqhdI0y3tq2m4dqqcWX zQWBTz8L1irvolXV4J+3q7eCDgVnttjNq6X8H+9KOZsuNk1uCzx8pSp+E9HImfJOTLdcGqo+YKnG EIovizkEn48V7BO+ch2DXcD4ENSpWiU+q8hjjbgTBZCXnZtyj0Ws4Q1Q0B2WXFtYZo65Bbyeeldw RS6qFueM80LlLA29YlVwGRYvFD+kwI/0O+A2PlpOP9GwslUVciHuYGechuBTp922YiDZCrghTknm XSyOM+D3aoRZlo0Jb42zY7DN4p2x4AeZ+QAYutx1sHwTHzMT5cMNduQ9yW3GczN4KZ86kb0c9O8T yXDeFqpl2fryPEAYGXIlezAPXYh2NgVr/gvdoHIuDwuPwOhcWE8f8mmICq41eATkn8x0kuRTIKcB wE9+/QUtiiAnYcaN7wAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Subject: 7.2-RELEASE panics with snd_ds1 loaded. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2009 05:41:03 -0000 --=-=-= 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
) 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
) 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----- --=-=-=--