7.2-RELEASE panics with snd_ds1 loaded.

2009-06-04 Thread Ashish SHUKLA
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
| 
| Unread portion of the kernel message buffer:
| 
| 
| Fatal trap 9: general protection fault while in kernel mode
| cpuid = 0; apic id = 00
| instruction pointer = 0x8:0x807c5f22
| stack pointer   = 0x10:0xfffebf031a00
| frame pointer   = 0x10:0x80420048
| code segment= base 0x0, limit 0xf, type 0x1b
| = DPL 0, pres 1, long 1, def32 0, gran 1
| processor eflags= interrupt enabled, resume, IOPL = 0
| current process = 72310 (sshd)
| trap number = 9
| panic: general protection fault
| cpuid = 0
| Uptime: 6h25m1s
| Physical memory: 2025 MB
| Dumping 386 MB: 371 355 339 323 307 291 275 259 243 227 211 195 179 163 147 
131 115 99 83 67 51 35 19 3
| 
| 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 
/boot/GENERIC/linprocfs.ko.symbols...done.
| done.
| Loaded symbols for /boot/kernel/linprocfs.ko
| Reading symbols from /boot/kernel/linux.ko...Reading symbols from 
/boot/GENERIC/linux.ko.symbols...done.
| done.
| Loaded symbols for /boot/kernel/linux.ko
| Reading symbols from /boot/kernel/pf.ko...Reading symbols from 
/boot/GENERIC/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 
/boot/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 
/boot/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/GENERIC/rc4.ko.symbols...done.
| done.
| Loaded symbols for /boot/kernel/rc4.ko
| Reading symbols from /boot/kernel/ng_iface.ko...Reading symbols from 
/boot/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 
/boot/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 
/boot/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/GENERIC/i915.ko.symbols...done.
| done.
| Loaded symbols for /boot/kernel/i915.ko
| Reading symbols from /boot/kernel/drm.ko...Reading symbols from 
/boot/GENERIC/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/GENERIC/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  0x0004 in ?? ()
| #2  0x8050df19 in boot (howto=260) at 
/usr/src/sys/kern/kern_shutdown.c:418
| #3  0x8050e322 in panic (fmt=0x104 ) at 
/usr/src/sys/kern/kern_shutdown.c:574
| #4  0x807d2193 in trap_fatal (frame=0xff00038bb370, eva=Variable 
"eva" is not available.
| ) at /usr/src/sys/amd64/amd64/trap.c:757
| #5  0x807d2ce5 in trap (frame=0xfffebf031950) at 
/usr/src/sys/amd64/amd64/trap.c:558
| #6  0x807b700e in calltrap () at 
/usr/src/sys/amd64/amd64/exception.S:209
| #7  0x807c5f22 in pmap_remove_pages (pmap=0xff00696730f8) at 
/usr/src/sys/amd64/amd64/pmap.c:3812
| #8  0x

Re: 7.2-RELEASE panics with snd_ds1 loaded.

2009-06-09 Thread Ashish SHUKLA

Hi Mel,

Thanks for responding.

In <200906081647.15069.mel.flynn+fbsd.questi...@mailing.thruhere.net>, Mel 
Flynn wrote:

[...]

Nothing points to the sound module specifically. The first trace is unusable 
(frames missing) and the second trace panics in sleep, which maybe points to 
the sound module and interrupts. Are you not able to panic the system without 
that sound module loaded? It looks too random to blame one module, more 
hardware, but it's possible the module exposes a bug elsewhere. From this 
though, it is hard to tell.


Yes, I noticed myself, that there is no reason why to blame 'sound' module for 
it. But I noticed my box only panics when there is some activity going on with 
sound device, like at one time, it paniced when I was trying to record audio 
using gnome-sound-recorder, and another it paniced when I was playing audio 
using ogg123. And that it too, it didn't panic immediately after start of 
operation (playing/recording), but only after some time has elapsed. And the 
system doesn't panic without snd_ds1 loaded even after building ports (like 
openjdk6 and libxul) and using GNOME for 4 hours. BtW, I forgot to mention in 
last post, but I'm running the GENERIC kernel bundled with 7.2-RELEASE DVD.


I don't know how to resolve and whether this is some kind of memory issue or 
something else. I also experienced something similar panic situation[1] with 
8.0-CURRENT which no one else is able to reproduce except me, after which I 
installed 7.2-RELEASE. Any ideas how to trace this problem, it is discouraging 
me to continue using FreeBSD for my regular desktop use ?


References:
[1] - http://lists.freebsd.org/pipermail/freebsd-gnome/2009-April/022048.html

Thanks in advance
--
Ashish SHUKLA


pgp1r3EFVytXe.pgp
Description: PGP signature


Re: 7.2-RELEASE panics with snd_ds1 loaded.

2009-06-09 Thread Paul B. Mahol
On 6/9/09, Ashish SHUKLA  wrote:
> Hi Mel,
>
> Thanks for responding.
>
> In <200906081647.15069.mel.flynn+fbsd.questi...@mailing.thruhere.net>, Mel
> Flynn wrote:
>
> [...]
>
>>Nothing points to the sound module specifically. The first trace is
>> unusable
>>(frames missing) and the second trace panics in sleep, which maybe points
>> to
>>the sound module and interrupts. Are you not able to panic the system
>> without
>>that sound module loaded? It looks too random to blame one module, more
>>hardware, but it's possible the module exposes a bug elsewhere. From this
>>though, it is hard to tell.
>
> Yes, I noticed myself, that there is no reason why to blame 'sound' module
> for
> it. But I noticed my box only panics when there is some activity going on
> with
> sound device, like at one time, it paniced when I was trying to record audio
> using gnome-sound-recorder, and another it paniced when I was playing audio
> using ogg123. And that it too, it didn't panic immediately after start of
> operation (playing/recording), but only after some time has elapsed. And the
> system doesn't panic without snd_ds1 loaded even after building ports (like
> openjdk6 and libxul) and using GNOME for 4 hours. BtW, I forgot to mention
> in
> last post, but I'm running the GENERIC kernel bundled with 7.2-RELEASE DVD.
>
> I don't know how to resolve and whether this is some kind of memory issue or
> something else. I also experienced something similar panic situation[1] with
> 8.0-CURRENT which no one else is able to reproduce except me, after which I
> installed 7.2-RELEASE. Any ideas how to trace this problem, it is
> discouraging
> me to continue using FreeBSD for my regular desktop use ?
>
> References:
> [1] -
> http://lists.freebsd.org/pipermail/freebsd-gnome/2009-April/022048.html

Does same problem happens on i386?

-- 
Paul
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: 7.2-RELEASE panics with snd_ds1 loaded.

2009-06-09 Thread Ashish SHUKLA
Paul B Mahol writes:
> On 6/9/09, Ashish SHUKLA  wrote:
>> Hi Mel,
>> 
>> Thanks for responding.
>> 
>> In <200906081647.15069.mel.flynn+fbsd.questi...@mailing.thruhere.net>, Mel
>> Flynn wrote:
>> 
>> [...]
>> 
>>> Nothing points to the sound module specifically. The first trace is
>>> unusable
>>> (frames missing) and the second trace panics in sleep, which maybe points
>>> to
>>> the sound module and interrupts. Are you not able to panic the system
>>> without
>>> that sound module loaded? It looks too random to blame one module, more
>>> hardware, but it's possible the module exposes a bug elsewhere. From this
>>> though, it is hard to tell.
>> 
>> Yes, I noticed myself, that there is no reason why to blame 'sound' module
>> for
>> it. But I noticed my box only panics when there is some activity going on
>> with
>> sound device, like at one time, it paniced when I was trying to record audio
>> using gnome-sound-recorder, and another it paniced when I was playing audio
>> using ogg123. And that it too, it didn't panic immediately after start of
>> operation (playing/recording), but only after some time has elapsed. And the
>> system doesn't panic without snd_ds1 loaded even after building ports (like
>> openjdk6 and libxul) and using GNOME for 4 hours. BtW, I forgot to mention
>> in
>> last post, but I'm running the GENERIC kernel bundled with 7.2-RELEASE DVD.
>> 
>> I don't know how to resolve and whether this is some kind of memory issue or
>> something else. I also experienced something similar panic situation[1] with
>> 8.0-CURRENT which no one else is able to reproduce except me, after which I
>> installed 7.2-RELEASE. Any ideas how to trace this problem, it is
>> discouraging
>> me to continue using FreeBSD for my regular desktop use ?
>> 
>> References:
>> [1] -
>> http://lists.freebsd.org/pipermail/freebsd-gnome/2009-April/022048.html

> Does same problem happens on i386?

I've not installed i386 versions of any versions of FreeBSD, as I don't
have any spare box. So I can't say if those problems are reproducible on
i386 also.

> -- 
> Paul

Thanks
-- 
Ashish SHUKLA


pgp0RJGn6zM9j.pgp
Description: PGP signature


Re: 7.2-RELEASE panics with snd_ds1 loaded.

2009-06-08 Thread Mel Flynn
On Thursday 04 June 2009 21:14:14 Ashish SHUKLA wrote:
> 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
> |
> | Unread portion of the kernel message buffer:
> |
> |
> | Fatal trap 9: general protection fault while in kernel mode
> | cpuid = 0; apic id = 00
> | instruction pointer = 0x8:0x807c5f22
> | stack pointer   = 0x10:0xfffebf031a00
> | frame pointer   = 0x10:0x80420048
> | code segment= base 0x0, limit 0xf, type 0x1b
> | = DPL 0, pres 1, long 1, def32 0, gran 1
> | processor eflags= interrupt enabled, resume, IOPL = 0
> | current process = 72310 (sshd)
> | trap number = 9
> | panic: general protection fault
> | cpuid = 0
> | Uptime: 6h25m1s
> | Physical memory: 2025 MB
> | Dumping 386 MB: 371 355 339 323 307 291 275 259 243 227 211 195 179 163
> | 147 131 115 99 83 67 51 35 19 3
> |
> | 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
> | /boot/GENERIC/linprocfs.ko.symbols...done. done.
> | Loaded symbols for /boot/kernel/linprocfs.ko
> | Reading symbols from /boot/kernel/linux.ko...Reading symbols from
> | /boot/GENERIC/linux.ko.symbols...done. done.
> | Loaded symbols for /boot/kernel/linux.ko
> | Reading symbols from /boot/kernel/pf.ko...Reading symbols from
> | /boot/GENERIC/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
> | /boot/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
> | /boot/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/GENERIC/rc4.ko.symbols...done. done.
> | Loaded symbols for /boot/kernel/rc4.ko
> | Reading symbols from /boot/kernel/ng_iface.ko...Reading symbols from
> | /boot/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
> | /boot/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
> | /boot/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/GENERIC/i915.ko.symbols...done. done.
> | Loaded symbols for /boot/kernel/i915.ko
> | Reading symbols from /boot/kernel/drm.ko...Reading symbols from
> | /boot/GENERIC/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/GENERIC/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  0x0004 in ?? ()
> | #2  0x8050df19 in boot (howto=260) at
> | /usr/src/sys/kern/kern_shutdown.c:418 #3  0x8050e322 in panic
> | (fmt=0x104 ) at
> | /usr/src/sys/kern/kern_shutdown.c:574 #4  0x807d2193 in
> | trap_fatal (frame=0xff00038bb370, eva=Variable "eva" is not
> | available. ) at /usr/src/sys/amd64/amd64/trap.c:757
> | #5  0x807d2ce5 in trap (frame=0xfffebf031950) at
> | /usr/src/sy