Re: oops in 2.4.2-ac20

2001-03-17 Thread Andrew Morton

John R Lenton wrote:
> 
> What the subject says.
> 
> I copied the oops by hand, but the output of ksymoops doesn't
> seem too totally wrong, so I guess I didn't botch it :)
> 

The trace dosn't look right, but you've probably hit
the con_flush_chars-called-from-interrupt problem.

Please add these two lines, let me know if it recurs.

--- linux-2.4.2-ac20/drivers/char/console.c Tue Mar 13 20:29:21 2001
+++ ac/drivers/char/console.c   Sat Mar 17 22:16:14 2001
@@ -2304,6 +2335,9 @@
 static void con_flush_chars(struct tty_struct *tty)
 {
struct vt_struct *vt = (struct vt_struct *)tty->driver_data;
+
+   if (in_interrupt()) /* from flush_to_ldisc */
+   return;
 
pm_access(pm_con);
acquire_console_sem();
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



oops in 2.4.2-ac20

2001-03-16 Thread John R Lenton

What the subject says.

I copied the oops by hand, but the output of ksymoops doesn't
seem too totally wrong, so I guess I didn't botch it :)

I can't blame the box; I was about to Aiee myself, radeonfb is so
slow.


ksymoops output:
---8<
ksymoops 2.3.7 on i686 2.4.2-ac20.  Options used
 -V (default)
 -k /var/log/ksymoops/20010317003908.ksyms (specified)
 -l /var/log/ksymoops/20010317003908.modules (specified)
 -O (specified)
 -M (specified)

Kernel BUG at printk.c:458!
invalid operand: 
CPU:0
EIP:0010:[]
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010286
eax: 001c   ebx: ce27090c   ecx: c02a97c0   edx: 4dee
esi: cda3b000   edi: cda3b16f   ebp:    esp: c0dc7e34
ds: 0018   es: 0018   ss: 0018
Process swapper (pid: 0, stackpage=c02c7000)
Stack: c0255934 01ca c01a0a10 cda3b000 c0194caf cda3b000 0003 cda3b000
   0001 cda3b56c c02ae800 42000246 c01adacf  a000 cda3b56f
   cda3b16f c0344260 c01b2e55 c03442a0 c01b2770 03e8 c01b2cb8 0002
Call Trace: [] [] [] [] [] 
[] []
   [] [] [] [] [] [] 
[] []
   [] [] [] [] [] [] 
[] []
   [] []
Code: 0f 0b 83 c4 08 b9 c0 97 2a c0 f0 ff 0d c0 97 2a c0 0f 88 a1

>>EIP; c011839c<=
Trace; c01a0a10 
Trace; c0194caf 
Trace; c01adacf 
Trace; c01b4e55 
Trace; c01b2770 
Trace; c01b2cb8 
Trace; c0113c0b 
Trace; c01a64e2 
Trace; c01924a7 
Trace; c011d299 <__run_task_queue+cd/278>
Trace; c011ff5e 
Trace; c011d0a5 
Trace; c011cf85 
Trace; c011cdac 
Trace; c010affa 
Trace; c01071e0 
Trace; c01071e0 
Trace; c010962c <__read_lock_failed+1440/2804>
Trace; c01071e0 
Trace; c01071e0 
Trace; c0100018 Before first symbol
Trace; c010720d 
Trace; c0107272 
Trace; c0105000 
Trace; c01001cf Before first symbol
Code;  c011839c 
 <_EIP>:
Code;  c011839c<=
   0:   0f 0b ud2a  <=
Code;  c011839e 
   2:   83 c4 08  add$0x8,%esp
Code;  c01183a1 
   5:   b9 c0 97 2a c0mov$0xc02a97c0,%ecx
Code;  c01183a6 
   a:   f0 ff 0d c0 97 2a c0  lock decl 0xc02a97c0
Code;  c01183ad 
  11:   0f 88 a1 00 00 00 js b8 <_EIP+0xb8> c0118454 


 <0>Kernel panic: Aiee, killing interrupt handler!
>8---

output of ver_linux:
---8<
util-linux
util-linux Note: /usr/bin/fdformat is obsolete and is no longer available.
util-linux Please use /usr/bin/superformat instead (make sure you have the
util-linux fdutils package installed first).  Also, there had been some
util-linux major changes from version 4.x.  Please refer to the 
documentation.
util-linux
modutils   2.4.2
e2fsprogs  1.19
reiserfsprogs  3.x.0b
PPP2.4.0
Linux C Library2.2.2
Dynamic linker (ldd)   2.2.2
Procps 2.0.7
Net-tools  1.58
Kbd1.04
Sh-utils   2.0.11
Modules Loaded ppp_deflate bsd_comp ppp_async ppp_generic slhc
>8---
(I guess ver_linux needs updating)

/proc/cpuinfo:
---8<
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 8
model name  : Pentium III (Coppermine)
stepping: 3
cpu MHz : 701.611
cache size  : 256 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 2
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat 
pse36 mmx fxsr sse
bogomips: 1399.19

processor   : 1
vendor_id   : GenuineIntel
cpu family  : 6
model   : 8
model name  : Pentium III (Coppermine)
stepping: 3
cpu MHz : 701.611
cache size  : 256 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 3
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat 
pse36 mmx fxsr sse
bogomips: 1402.47


>8---

/var/log/ksymoops/20010317003908.modules
---8<
agpgart14912   0 (unused)
>8---


Anything else?

-- 
John Lenton ([EMAIL PROTECTED]) -- Random fortune:
 need help: my first packet to my provider gets lost :-(  sel: dont send 
the first one, start with #2 1 1.bak 24.m3u 2cooltek_order.html 
3Daccelx_V2-2.0ALPHA-30.i386.rpm 9skin.zip AYB AYB.tar.gz AYB.tar.gz~ Hobby Mail Media 
MyPilot Nautilus News PC_Product_Compare.pdf Sent Untitled1.bak XF86Config-4 
bday_2001.abw bin chesterfield-lemonology-cdart.zip component.reg conni.zip 
conni_elektra.zip d3_ref.pdf dmusic-158.rmp drag_and_drop2.jpg easymouse+.exe 
evolution fba06a.pdf fba09a.pdf fba12g.pdf gears.strace index.html 
kernelnewbies-fortunes.tar.gz linuxq3a-1.27g-beta1.tar.gz lotr_640_internet.mpg 
lpg-0.4_IPC.ps lpg-0.4_IPC_even.ps mandy.zip mslugx.zip mudsh nezmouse+.exe 
openlogo-nd.xcf openlogo.xcf