Re: [oops] test9pre2 / sb

2000-09-19 Thread Peter Steiner

Marko Kreen <[EMAIL PROTECTED]> wrote:

>Reproducible oops: 'gmix -i --sm-disable' on test9-pre2.

The fix exists but it seems it isn't merged yet.

>--
--- soundcard.c.origTue Sep 19 12:37:52 2000
+++ soundcard.c Tue Sep 19 12:38:45 2000
@@ -267,6 +267,7 @@
DEB(printk("sound_release(dev=%d)\n", dev));
switch (dev & 0x0f) {
case SND_DEV_CTL:
+   dev >>= 4;
if (mixer_devs[dev]->owner)
__MOD_DEC_USE_COUNT (mixer_devs[dev]->owner);
break;
>--


-- 
  _   x    ___   [EMAIL PROTECTED] (Peter Steiner)
 / \_/_\_ /,--' Linux User #55148 (http://counter.li.org/)
 \/>'//
   \_/ perl -e'while(<>){s/=\n//g;s/=([\dA-F]{2})/chr(hex($1))/eg;print;}'
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: [oops] test9pre2 / sb

2000-09-19 Thread Peter Steiner

Marko Kreen [EMAIL PROTECTED] wrote:

Reproducible oops: 'gmix -i --sm-disable' on test9-pre2.

The fix exists but it seems it isn't merged yet.

--
--- soundcard.c.origTue Sep 19 12:37:52 2000
+++ soundcard.c Tue Sep 19 12:38:45 2000
@@ -267,6 +267,7 @@
DEB(printk("sound_release(dev=%d)\n", dev));
switch (dev  0x0f) {
case SND_DEV_CTL:
+   dev = 4;
if (mixer_devs[dev]-owner)
__MOD_DEC_USE_COUNT (mixer_devs[dev]-owner);
break;
--


-- 
  _   x___   [EMAIL PROTECTED] (Peter Steiner)
 / \_/_\_ /,--' Linux User #55148 (http://counter.li.org/)
 \/'//
   \_/ perl -e'while(){s/=\n//g;s/=([\dA-F]{2})/chr(hex($1))/eg;print;}'
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: 2.4.0-test8: Ooops in soundcore

2000-09-09 Thread Peter Steiner

Harald Dunkel <[EMAIL PROTECTED]> wrote:

>>>EIP; c885844d <[soundcore]soundcore_open+49/184>   <=
>Trace; c0128394 
>Trace; c01276a9 
>Trace; c01275e3 
>Trace; c01278d9 
>Trace; c0108d23 

drivers/sound/sound_core.c:soundcore_open:

spin_lock(_loader_lock);
if (s)
0x51d :  testl  %ebx,%ebx
0x51f :  je 0x554 

new_fops = fops_get(s->unit_fops);   
0x521 :  movl   0x4(%ebx),%eax

#define fops_get(fops) \
(((fops) && (fops)->owner)  \
? ( try_inc_mod_count((fops)->owner) ? (fops) : NULL ) \
: (fops))
    Bang!
0x524 :  testl  %eax,%eax
0x526 :  je 0x550 
0x528 :  movl   (%eax),%edx  <=
0x52a :  testl  %edx,%edx
0x52c :  je 0x550 

Peter
-- 
  _   x___   [EMAIL PROTECTED] (Peter Steiner)
 / \_/_\_ /,--' Linux User #55148 (http://counter.li.org/)
 \/>'//
   \_/ perl -e'while(<>){s/=\n//g;s/=([\dA-F]{2})/chr(hex($1))/eg;print;}'
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: 2.4.0-test8: Ooops in soundcore

2000-09-09 Thread Peter Steiner

Harald Dunkel [EMAIL PROTECTED] wrote:

EIP; c885844d [soundcore]soundcore_open+49/184   =
Trace; c0128394 chrdev_open+40/54
Trace; c01276a9 dentry_open+bd/150
Trace; c01275e3 filp_open+43/4c
Trace; c01278d9 sys_open+35/b4
Trace; c0108d23 system_call+33/40

drivers/sound/sound_core.c:soundcore_open:

spin_lock(sound_loader_lock);
if (s)
0x51d soundcore_open+77:  testl  %ebx,%ebx
0x51f soundcore_open+79:  je 0x554 soundcore_open+132

new_fops = fops_get(s-unit_fops);   
0x521 soundcore_open+81:  movl   0x4(%ebx),%eax

#define fops_get(fops) \
(((fops)  (fops)-owner)  \
? ( try_inc_mod_count((fops)-owner) ? (fops) : NULL ) \
: (fops))
    Bang!
0x524 soundcore_open+84:  testl  %eax,%eax
0x526 soundcore_open+86:  je 0x550 soundcore_open+128
0x528 soundcore_open+88:  movl   (%eax),%edx  =
0x52a soundcore_open+90:  testl  %edx,%edx
0x52c soundcore_open+92:  je 0x550 soundcore_open+128

Peter
-- 
  _   x___   [EMAIL PROTECTED] (Peter Steiner)
 / \_/_\_ /,--' Linux User #55148 (http://counter.li.org/)
 \/'//
   \_/ perl -e'while(){s/=\n//g;s/=([\dA-F]{2})/chr(hex($1))/eg;print;}'
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Availability of kdb

2000-09-07 Thread Peter Steiner

Gregory Maxwell <[EMAIL PROTECTED]> wrote:

>If this is your primary argument for a kernel debugger, a 'crash dump tool
>with extra controls', then why not just cleanly implement a 'crash dump
>tool with extra controls'.

What about an enhanced printk tool that virtually inserts conditional
printk's into the kernel without the need to recompile the kernel?
Logpoints, conditions and what to print could be set with a usermode
tool. And there should be an emergency stop keycombination that clears
all logpoints. That's all.

Activating logging should be as easy as feeding an email into the
usermode tool. And a second tool could automatically prepare an email
with the results.

Peter
-- 
  _   x___   [EMAIL PROTECTED] (Peter Steiner)
 / \_/_\_ /,--' Linux User #55148 (http://counter.li.org/)
 \/>'//
   \_/ perl -e'while(<>){s/=\n//g;s/=([\dA-F]{2})/chr(hex($1))/eg;print;}'
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/