All of lore.kernel.org
 help / color / mirror / Atom feed
* fatal oops in current CVS confirmed
@ 2003-03-07 13:53 Paul Davis
  2003-03-10  0:06 ` Jaroslav Kysela
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Davis @ 2003-03-07 13:53 UTC (permalink / raw)
  To: alsa-devel

yesterday, i backed up to gcc 2.95.3, rebuilt kernel 2.4.20 and
current ALSA CVS. i continued to get the same oops/lockups i have seen when:

	* using the trident module with arecord
	* loading the wavefront module and/or

i infrequently get an oops, and when i do, it points at either:

   in the trident case
	* smp-related code 
   in the wavefront case
	* code within the module

i can't identify code within the module because its not possible to
finish loading the module and thus get the symbol addresses. i believe
it to be in the module because when i prevent the wavefront module
from loading (normally the first module to load), the addresses
correspond to things in the trident module (which becomes my first
loaded module instead).
	
so, i reverted to my "old" ALSA CVS tree, which is quite old at this
point. i recompiled it all (gcc 2.95.3), and of course, it works
fine. for me, this conclusively points to a problem in ALSA CVS that
is not related to kernel version or compiler version, but is just a
plain and simple bug. the problem is, what is it? the diffs between my
old tree and the current CVS tree are vast, and the few oops traces i
have are unrevealing in that they do not have any ALSA related calls
in them. the only way i can see for us to track this down (unless
jaroslav or takashi have a sudden inspiration) is for me to do a
binary search on CVS using a date specification until i find the first
date that causes the oops.

any other ideas?

i would strongly advise against releasing 0.9.0 final when its so
trivial to crash a system with it. and incidentally, its precisely
this kind of waste of 3 days that explains why i haven't updated from
ALSA CVS in a long time :)

--p



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: fatal oops in current CVS confirmed
  2003-03-07 13:53 fatal oops in current CVS confirmed Paul Davis
@ 2003-03-10  0:06 ` Jaroslav Kysela
  2003-03-10 13:56   ` Takashi Iwai
  0 siblings, 1 reply; 5+ messages in thread
From: Jaroslav Kysela @ 2003-03-10  0:06 UTC (permalink / raw)
  To: Paul Davis; +Cc: alsa-devel@lists.sourceforge.net

On Fri, 7 Mar 2003, Paul Davis wrote:

>    in the trident case
> 	* smp-related code 

Fixed. The problem was in Takashi's Scatter-Gather DMA update. The 
driver package 0.9.0rc8d should fix this problem.

>    in the wavefront case
> 	* code within the module

I cannot fix above problem, until I know the place of this bug. The best 
way is to determine this problem is commenting/uncommenting of the 
initialization code.

> i would strongly advise against releasing 0.9.0 final when its so
> trivial to crash a system with it. and incidentally, its precisely
> this kind of waste of 3 days that explains why i haven't updated from
> ALSA CVS in a long time :)

Because it appears that all your reported problems are "local" (driver 
specific), I don't think that it's a showstoper for the final release.

						Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs



-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger 
for complex code. Debugging C/C++ programs can leave you feeling lost and 
disoriented. TotalView can help you find your way. Available on major UNIX 
and Linux platforms. Try it free. www.etnus.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: fatal oops in current CVS confirmed
  2003-03-10  0:06 ` Jaroslav Kysela
@ 2003-03-10 13:56   ` Takashi Iwai
  2003-03-10 14:17     ` Paul Davis
  0 siblings, 1 reply; 5+ messages in thread
From: Takashi Iwai @ 2003-03-10 13:56 UTC (permalink / raw)
  To: Jaroslav Kysela; +Cc: Paul Davis, alsa-devel@lists.sourceforge.net

At Mon, 10 Mar 2003 01:06:59 +0100 (CET),
Jaroslav wrote:
> 
> On Fri, 7 Mar 2003, Paul Davis wrote:
> 
> >    in the trident case
> > 	* smp-related code 
> 
> Fixed. The problem was in Takashi's Scatter-Gather DMA update. The 
> driver package 0.9.0rc8d should fix this problem.
 
oops, sorry.  the bug had lived more than two months, so i wonder why 
this wasn't reported at all... 

> >    in the wavefront case
> > 	* code within the module
> 
> I cannot fix above problem, until I know the place of this bug. The best 
> way is to determine this problem is commenting/uncommenting of the 
> initialization code.
 
... or a traditional way; put many printk()'s in the init path and
check at which point stalls.

> > i would strongly advise against releasing 0.9.0 final when its so
> > trivial to crash a system with it. and incidentally, its precisely
> > this kind of waste of 3 days that explains why i haven't updated from
> > ALSA CVS in a long time :)
> 
> Because it appears that all your reported problems are "local" (driver 
> specific), I don't think that it's a showstoper for the final release.

yes, and please remember that 0.9.0-final is not the final for ALSA.
we'll be able to release the fixed version ASAP.

i guess you won't expect that, for example, the 2.6.0 kernel is
so perfect that all components work without any bugs :)


ciao,

Takashi


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: fatal oops in current CVS confirmed
  2003-03-10 13:56   ` Takashi Iwai
@ 2003-03-10 14:17     ` Paul Davis
  2003-03-11 10:12       ` Takashi Iwai
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Davis @ 2003-03-10 14:17 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Jaroslav Kysela, alsa-devel@lists.sourceforge.net

>oops, sorry.  the bug had lived more than two months, so i wonder why 
>this wasn't reported at all... 

  [ ... ]

>yes, and please remember that 0.9.0-final is not the final for ALSA.
>we'll be able to release the fixed version ASAP.
>
>i guess you won't expect that, for example, the 2.6.0 kernel is
>so perfect that all components work without any bugs :)

oh sure. i mean, i've known for more than 1 year that the PCM output
on the cs4231 driver doesn't work anymore (at least not for the
tropez+), but that's not going to get fixed any time soon, i
suspect. someone has to get 0.5 installed, add some code to print all
the registers, and then figure out why 0.9 doesn't do the right thing.

i wonder who that will be :)


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: fatal oops in current CVS confirmed
  2003-03-10 14:17     ` Paul Davis
@ 2003-03-11 10:12       ` Takashi Iwai
  0 siblings, 0 replies; 5+ messages in thread
From: Takashi Iwai @ 2003-03-11 10:12 UTC (permalink / raw)
  To: Paul Davis; +Cc: Jaroslav Kysela, alsa-devel@lists.sourceforge.net

At Mon, 10 Mar 2003 09:17:08 -0500,
Paul Davis wrote:
> 
> >oops, sorry.  the bug had lived more than two months, so i wonder why 
> >this wasn't reported at all... 
> 
>   [ ... ]
> 
> >yes, and please remember that 0.9.0-final is not the final for ALSA.
> >we'll be able to release the fixed version ASAP.
> >
> >i guess you won't expect that, for example, the 2.6.0 kernel is
> >so perfect that all components work without any bugs :)
> 
> oh sure. i mean, i've known for more than 1 year that the PCM output
> on the cs4231 driver doesn't work anymore (at least not for the
> tropez+), but that's not going to get fixed any time soon, i
> suspect. someone has to get 0.5 installed, add some code to print all
> the registers, and then figure out why 0.9 doesn't do the right thing.
> 
> i wonder who that will be :)

i wonder, too :)

but this can't be the reason to postpone the 0.9.0-final tarball.
not all people don't like cvs or rc/beta versions to try, and such a
situation is surely one of the reason to have made such a bug hidden
for long time more than one year.


Takashi


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-03-11 10:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-07 13:53 fatal oops in current CVS confirmed Paul Davis
2003-03-10  0:06 ` Jaroslav Kysela
2003-03-10 13:56   ` Takashi Iwai
2003-03-10 14:17     ` Paul Davis
2003-03-11 10:12       ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.