* RE: [PATCH] Re: ALSA problems: sound lockup, modules, 2.5.70
@ 2003-05-28 12:55 Downing, Thomas
2003-05-28 13:23 ` Stian Jordet
0 siblings, 1 reply; 7+ messages in thread
From: Downing, Thomas @ 2003-05-28 12:55 UTC (permalink / raw)
To: Stian Jordet, viro; +Cc: linux-kernel
-----Original Message-----
From: Stian Jordet [mailto:liste@jordet.nu]
>
> tir, 27.05.2003 kl. 20.51 skrev viro@parcelfarce.linux.theplanet.co.uk:
>> Argh. Missing initialization in char_dev.c - it's definitely
>> responsible for crap on unload. Load side appears to be something >else,
>> though...
>
> This did not fix my problem. When I unload one ALSA-modules after the
> other, the system hangs when I come to the "snd" module. No oops or
> panic, it just freezes. Other than that, ALSA works fine for me, just
> frustrating when I reboot.
>
> Best regards,
> Stian
For what it's worth, maybe as a point to start to look for differences...
I am running 2.5.70-mm1, with snd-intel8x0 module. Also SMP on Xeon P4
(2up), Intel chipset. I am not having any problems with unloading snd.
So maybe the difference is between -mm1 and (IIRC) -bk1.
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: [PATCH] Re: ALSA problems: sound lockup, modules, 2.5.70
2003-05-28 12:55 [PATCH] Re: ALSA problems: sound lockup, modules, 2.5.70 Downing, Thomas
@ 2003-05-28 13:23 ` Stian Jordet
2003-05-28 13:39 ` Florin Iucha
0 siblings, 1 reply; 7+ messages in thread
From: Stian Jordet @ 2003-05-28 13:23 UTC (permalink / raw)
To: Downing, Thomas; +Cc: viro, linux-kernel
ons, 28.05.2003 kl. 14.55 skrev Downing, Thomas:
> -----Original Message-----
> From: Stian Jordet [mailto:liste@jordet.nu]
> >
> > tir, 27.05.2003 kl. 20.51 skrev viro@parcelfarce.linux.theplanet.co.uk:
> >> Argh. Missing initialization in char_dev.c - it's definitely
> >> responsible for crap on unload. Load side appears to be something >else,
> >> though...
> >
> > This did not fix my problem. When I unload one ALSA-modules after the
> > other, the system hangs when I come to the "snd" module. No oops or
> > panic, it just freezes. Other than that, ALSA works fine for me, just
> > frustrating when I reboot.
> >
> > Best regards,
> > Stian
>
> For what it's worth, maybe as a point to start to look for differences...
>
> I am running 2.5.70-mm1, with snd-intel8x0 module. Also SMP on Xeon P4
> (2up), Intel chipset. I am not having any problems with unloading snd.
>
> So maybe the difference is between -mm1 and (IIRC) -bk1.
Hmm. I will try -mm1 later today, but my problems started with
2.5.68-bk18 (IIRC). This is also a SMP-system, Dual P3 (But VIA
chipset): But it's a pity you don't see the problem. I was hoping
everyone had it :) Well, I'll try to insert some printk's and stuff, and
see what happens. And try -mm1
Best regards,
Stian
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Re: ALSA problems: sound lockup, modules, 2.5.70
2003-05-28 13:23 ` Stian Jordet
@ 2003-05-28 13:39 ` Florin Iucha
2003-05-28 14:37 ` Stian Jordet
0 siblings, 1 reply; 7+ messages in thread
From: Florin Iucha @ 2003-05-28 13:39 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1125 bytes --]
On Wed, May 28, 2003 at 03:23:32PM +0200, Stian Jordet wrote:
> > > This did not fix my problem. When I unload one ALSA-modules after the
> > > other, the system hangs when I come to the "snd" module. No oops or
> > > panic, it just freezes. Other than that, ALSA works fine for me, just
> > > frustrating when I reboot.
> > >
> > > Best regards,
> > > Stian
> >
> > For what it's worth, maybe as a point to start to look for differences...
> >
> > I am running 2.5.70-mm1, with snd-intel8x0 module. Also SMP on Xeon P4
> > (2up), Intel chipset. I am not having any problems with unloading snd.
> >
> > So maybe the difference is between -mm1 and (IIRC) -bk1.
>
> Hmm. I will try -mm1 later today, but my problems started with
> 2.5.68-bk18 (IIRC). This is also a SMP-system, Dual P3 (But VIA
> chipset): But it's a pity you don't see the problem. I was hoping
> everyone had it :) Well, I'll try to insert some printk's and stuff, and
> see what happens. And try -mm1
Try -bk2: it contains Al Viro's second fix.
florin
--
"NT is to UNIX what a doughnut is to a particle accelerator."
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Re: ALSA problems: sound lockup, modules, 2.5.70
2003-05-28 13:39 ` Florin Iucha
@ 2003-05-28 14:37 ` Stian Jordet
0 siblings, 0 replies; 7+ messages in thread
From: Stian Jordet @ 2003-05-28 14:37 UTC (permalink / raw)
To: Florin Iucha; +Cc: linux-kernel
ons, 28.05.2003 kl. 15.39 skrev Florin Iucha:
> On Wed, May 28, 2003 at 03:23:32PM +0200, Stian Jordet wrote:
> > > > This did not fix my problem. When I unload one ALSA-modules after the
> > > > other, the system hangs when I come to the "snd" module. No oops or
> > > > panic, it just freezes. Other than that, ALSA works fine for me, just
> > > > frustrating when I reboot.
> > > >
> > > > Best regards,
> > > > Stian
> > >
> > > For what it's worth, maybe as a point to start to look for differences...
> > >
> > > I am running 2.5.70-mm1, with snd-intel8x0 module. Also SMP on Xeon P4
> > > (2up), Intel chipset. I am not having any problems with unloading snd.
> > >
> > > So maybe the difference is between -mm1 and (IIRC) -bk1.
> >
> > Hmm. I will try -mm1 later today, but my problems started with
> > 2.5.68-bk18 (IIRC). This is also a SMP-system, Dual P3 (But VIA
> > chipset): But it's a pity you don't see the problem. I was hoping
> > everyone had it :) Well, I'll try to insert some printk's and stuff, and
> > see what happens. And try -mm1
>
> Try -bk2: it contains Al Viro's second fix.
Thank you, this did indeed fix it. I'm usually good at catching changes
that is relevant for me, but this one slipped through. Thanks again :)
Best regards,
Stian
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Re: ALSA problems: sound lockup, modules, 2.5.70
@ 2003-05-27 21:22 Ivan Gyurdiev
0 siblings, 0 replies; 7+ messages in thread
From: Ivan Gyurdiev @ 2003-05-27 21:22 UTC (permalink / raw)
To: viro, florin, liste, olivn; +Cc: LKML
Sorry for thread - not subscribed.
I solved all of my modules problems and every single one of them was my fault,
combined with a minimalistic modprobe.conf syntax (no aliases to aliases? )
and devfs.
Lockups, however, are still there, and the patch did not help.
Here's some straces:
XMMS freezes on the following system call (attempt to stop a playing mp3):
gettimeofday({1054069621, 452855}, NULL) = 0
ioctl(3, FIONREAD, [0]) = 0
poll([{fd=3, events=POLLIN, revents=POLLIN}, {fd=5, events=POLLIN}], 2, 9) = 1
gettimeofday({1054069621, 456248}, NULL) = 0
ioctl(3, FIONREAD, [32]) = 0
read(3, "\5\1\352\20\312V-\0\256\0\0\0\32\0\340\0\0\0\0\0n\0\226"..., 32) = 32
write(3, "\33\0\2\0\0\0\0\0+ \1\0", 12) = 12
read(3, "\1\2\354\20\0\0\0\0\32\0\340\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
write(3, ">\0\7\0\207\0\340\0\30\0\340\0005\0\340\0\0\0\0\0\0\0\0"..., 992) =
992
read(3, "\1\2\23\21\0\0\0\0\32\0\340\0\0\0\0\0\0\0\0\0\0\0\0\0p"..., 32) = 32
uname({sys="Linux", node="cobra", ...}) = 0
futex(0x42cb2e18, FUTEX_WAIT, 3882, NULL
\
XINE freezes on startup, and here's the beginning of a repeating sequence
that says Timeout.
ioctl(3, FIONREAD, [0]) = 0
select(4, [3], NULL, NULL, {0, 33000}) = 1 (in [3], left {0, 28000})
ioctl(3, FIONREAD, [32]) = 0
read(3, "\10\3\252\v\333\2100\0\256\0\0\0\16\0\340\0\0\0\0\0\21"..., 32) = 32
ioctl(3, FIONREAD, [0]) = 0
select(4, [3], NULL, NULL, {0, 33000}) = 1 (in [3], left {0, 3000})
futex(0x811a9d8, FUTEX_WAIT, 2, NULL) = 0
futex(0x811a9d8, FUTEX_WAKE, 1, NULL) = 0
futex(0x811a9b0, FUTEX_WAIT, 2, NULL) = 0
futex(0x811a9d8, FUTEX_WAIT, 2, NULL) = 0
futex(0x811a9d8, FUTEX_WAKE, 1, {144394552, 135234584}) = 0
ioctl(3, FIONREAD, [0]) = 0
select(4, [3], NULL, NULL, {0, 33000}) = 0 (Timeout)
ioctl(3, FIONREAD, [0]) = 0
select(4, [3], NULL, NULL, {0, 33000}) = 1 (in [3], left {0, 16000})
futex(0x811a9d8, FUTEX_WAIT, 2, NULL) = 0
futex(0x811a9d8, FUTEX_WAKE, 1, NULL) = 0
futex(0x811a9b0, FUTEX_WAIT, 3, NULL) = 0
futex(0x811a9d8, FUTEX_WAIT, 2, NULL) = 0
futex(0x811a9d8, FUTEX_WAKE, 1, {144394552, 135234584}) = 0
ioctl(3, FIONREAD, [0]) = 0
select(4, [3], NULL, NULL, {0, 33000}) = 0 (Timeout)
ioctl(3, FIONREAD, [0]) = 0
select(4, [3], NULL, NULL, {0, 33000}) = 1 (in [3], left {0, 16000})
futex(0x811a9d8, FUTEX_WAIT, 2, NULL) = 0
futex(0x811a9d8, FUTEX_WAKE, 1, NULL) = 0
futex(0x811a9b0, FUTEX_WAIT, 4, NULL) = 0
futex(0x811a9d8, FUTEX_WAIT, 2, NULL) = 0
futex(0x811a9d8, FUTEX_WAKE, 1, {144394552, 135234584}) = 0
is this info useful at all?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] Re: ALSA problems: sound lockup, modules, 2.5.70
2003-05-27 18:51 ` [PATCH] " viro
@ 2003-05-27 20:07 ` Stian Jordet
0 siblings, 0 replies; 7+ messages in thread
From: Stian Jordet @ 2003-05-27 20:07 UTC (permalink / raw)
To: viro; +Cc: linux-kernel
tir, 27.05.2003 kl. 20.51 skrev viro@parcelfarce.linux.theplanet.co.uk:
> Argh. Missing initialization in char_dev.c - it's definitely
> responsible for crap on unload. Load side appears to be something else,
> though...
This did not fix my problem. When I unload one ALSA-modules after the
other, the system hangs when I come to the "snd" module. No oops or
panic, it just freezes. Other than that, ALSA works fine for me, just
frustrating when I reboot.
Best regards,
Stian
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH] Re: ALSA problems: sound lockup, modules, 2.5.70
2003-05-27 18:19 Olivier NICOLAS
@ 2003-05-27 18:51 ` viro
2003-05-27 20:07 ` Stian Jordet
0 siblings, 1 reply; 7+ messages in thread
From: viro @ 2003-05-27 18:51 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel
Argh. Missing initialization in char_dev.c - it's definitely
responsible for crap on unload. Load side appears to be something else,
though...
--- C70/fs/char_dev.c Mon May 26 22:21:39 2003
+++ linux/fs/char_dev.c Tue May 27 14:48:53 2003
@@ -89,6 +89,8 @@
if (cd == NULL)
return ERR_PTR(-ENOMEM);
+ memset(cd, 0, sizeof(struct char_device_struct));
+
write_lock_irq(&chrdevs_lock);
/* temporary */
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-05-28 14:23 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-28 12:55 [PATCH] Re: ALSA problems: sound lockup, modules, 2.5.70 Downing, Thomas
2003-05-28 13:23 ` Stian Jordet
2003-05-28 13:39 ` Florin Iucha
2003-05-28 14:37 ` Stian Jordet
-- strict thread matches above, loose matches on Subject: below --
2003-05-27 21:22 Ivan Gyurdiev
2003-05-27 18:19 Olivier NICOLAS
2003-05-27 18:51 ` [PATCH] " viro
2003-05-27 20:07 ` Stian Jordet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®