Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Oct 2006 06:51:21 +0800
From:      Ariff Abdullah <ariff@FreeBSD.org>
To:        "Alexandre Vieira" <nullpt@gmail.com>, imb@protected-networks.net
Cc:        freebsd-multimedia@FreeBSD.org, freebsd-current@FreeBSD.org
Subject:   Re: pcm0 + rl0 in the same irq causes panic
Message-ID:  <20061002065121.14d058c3.ariff@FreeBSD.org>
In-Reply-To: <755cb9fc0610011506u60015119tbdd5aa1845fd2fc0@mail.gmail.com>
References:  <755cb9fc0610011210x6dd419c8g86ecab73bc7faa44@mail.gmail.com> <20061002033153.12e66f84.ariff@FreeBSD.org> <755cb9fc0610011242q1edec469yf465ae7246dbf471@mail.gmail.com> <20061002041118.1d4b3908.ariff@FreeBSD.org> <755cb9fc0610011326u6f478e44o6ff9f2693ebc0623@mail.gmail.com> <20061002044607.4698cdcc.ariff@FreeBSD.org> <45202D2F.2070203@protected-networks.net> <20061002051609.301477d4.ariff@FreeBSD.org> <755cb9fc0610011449w5f80cdb9o988a0dd87a102872@mail.gmail.com> <755cb9fc0610011506u60015119tbdd5aa1845fd2fc0@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Mon__2_Oct_2006_06_51_21_+0800_bXAEm7lKe_/h8jm/
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, 1 Oct 2006 23:06:47 +0100
"Alexandre Vieira" <nullpt@gmail.com> wrote:
> Hello,
>=20
> Here is a backtrace of the panic:
>=20
> blackpearl# kgdb kernel.debug /var/crash/vmcore.0
> kgdb: kvm_nlist(_stopped_cpus):
> kgdb: kvm_nlist(_stoppcbs):
> [GDB will not be able to debug user-mode threads:
> /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
> 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".
>=20
> Unread portion of the kernel message buffer:
> pcm0: PCMDIR_PLAY: Stream setup nid=3D2 fmt=3D0x00000011
> <2>NMI ISA b0, EISA ff
> <2>RAM parity error, likely hardware failure.
>=20
> Fatal trap 19: non-maskable interrupt trap while in kernel mode
> instruction pointer     =3D 0x20:0xc5798eaa
> stack pointer           =3D 0x28:0xe50e6b70
> frame pointer           =3D 0x28:0xe50e6bc4
> code segment            =3D base 0x0, limit 0xfffff, type 0x1b
>                         =3D DPL 0, pres 1, def32 1, gran 1
> processor eflags        =3D interrupt enabled, IOPL =3D 0
> current process         =3D 1211 (artsd)
> trap number             =3D 19
> panic: non-maskable interrupt trap
> Uptime: 1h31m2s
> Dumping 1014 MB (2 chunks)
>   chunk 0: 1MB (159 pages) ... ok
>   chunk 1: 1014MB (259456 pages) 998 982 966 950 934 918 902 886 870
> 854 838 822 806 790 774 758 742 726 710 694 678 662 646 630 614 598
> 582 566 550 534 518 502 486 470 454 438 422 406 390 374 358 342 326
> 310 294 278 262 246 230 214 198 182 166 150 134 118 102 86 70 54 38
> 22 6
>=20
> #0  doadump () at pcpu.h:165
> 165             __asm __volatile("movl %%fs:0,%0" : "=3Dr" (td));
> (kgdb) where
> #0  doadump () at pcpu.h:165
> #1  0xc05f34cc in boot (howto=3D260) at
> #/usr/src/sys/kern/kern_shutdown.c:409 2  0xc05f3819 in panic
> #(fmt=3D0xc0816cc2 "%s") at
> /usr/src/sys/kern/kern_shutdown.c:565
> #3  0xc07d78cc in trap_fatal (frame=3D0xe50e6b30, eva=3D0) at
> /usr/src/sys/i386/i386/trap.c:837
> #4  0xc07d72d2 in trap (frame=3D
>       {tf_fs =3D -452067320, tf_es =3D 40, tf_ds =3D -993853400, tf_edi =
=3D
>       0,
> tf_esi =3D 0, tf_ebp =3D -452039740, tf_isp =3D -452039844, tf_ebx =3D
> 1039527936, tf_edx =3D -994638720, tf_ecx =3D -988999680, tf_eax =3D 2,
> tf_trapno =3D 19, tf_err =3D 0, tf_eip =3D -981889366, tf_cs =3D 32,
> tf_eflags =3D 2097811, tf_esp =3D -982862592, tf_ss =3D 0}) at
> /usr/src/sys/i386/i386/trap.c:632
> #5  0xc07c26ca in calltrap () at
> #/usr/src/sys/i386/i386/exception.s:139 6  0xc5798eaa in ?? ()
> Previous frame inner to this frame (corrupt stack?)
> (kgdb)
>=20
>=20

Both of you, replace sys/dev/sound/pci/hda/hdac.c with this:

http://people.freebsd.org/~ariff/test/hdac_artsdwreck.c


--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
    and confusing for us idiot ***** users :P ........

--Signature=_Mon__2_Oct_2006_06_51_21_+0800_bXAEm7lKe_/h8jm/
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFIEZrlr+deMUwTNoRAqbhAJsEVaCulMQukFEhI2hnwSZkeq5WAgCgkK49
XsS+tqNhcilrqnvBSZusXjY=
=gKw/
-----END PGP SIGNATURE-----

--Signature=_Mon__2_Oct_2006_06_51_21_+0800_bXAEm7lKe_/h8jm/--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061002065121.14d058c3.ariff>