OOPS in 2.4.21-pre5, ide-scsi

OOPS in 2.4.21-pre5, ide-scsi

Post by Stephan von Krawczynsk » Fri, 28 Feb 2003 23:20:10



Hello all,

I just installed pre5 and did my current favourite test: mounting a cdrom with ide-scsi. Maybe you remember my problem: I enter the mount, cdrom spins up, around 20-30 seconds, then freeze.

But this time it oops'ed, and here it is:
(I had to write it down by hand, and "filled" it in another oops "form", so just forget the date/time. All the values should be correct, I checked twice.)

# ksymoops < oops
ksymoops 2.4.5 on i686 2.4.21-pre5.  Options used
     -V (default)
     -k /proc/ksyms (default)
     -l /proc/modules (default)
     -o /lib/modules/2.4.21-pre5/ (default)
     -m /boot/System.map-2.4.21-pre5 (default)

Warning: You did not tell me where to find symbol information.  I will
assume that the log matches the kernel and modules that are running
right now and I'll use the default options above for symbol resolution.
If the current kernel and/or modules do not match the log, you can get
more accurate output by telling me the kernel version and where to find
map, modules, ksyms etc.  ksymoops -h explains the options.

Nov  5 19:48:49 linux kernel: Oops: 0002
Nov  5 19:48:49 linux kernel: CPU:    0
Nov  5 19:48:49 linux kernel: EIP:    0010:[<c0213ab3>]    Not tainted
Using defaults from ksymoops -t elf32-i386 -a i386
Nov  5 19:48:49 linux kernel: EFLAGS: 00010202
Nov  5 19:48:49 linux kernel: eax: 00000000   ebx: 00000001   ecx: c1613d84   edx: 3e076fe3
Nov  5 19:48:49 linux kernel: esi: d93ca000   edi: c0363d80   ebp: c165cd80   esp: d98d3f2c
Nov  5 19:48:49 linux kernel: ds: 0018   es: 0018   ss: 0018
Nov  5 19:48:49 linux kernel: Process setiathome (pid: 1371, stackpage=d98d3000)
Nov  5 19:48:49 linux kernel: Stack: 00000177 51eb851f d98d2000 00100000 c01299e5 bffffa60 d98d3f50 3e076fe3
Nov  5 19:48:49 linux kernel:        c1613d60 c0363d80 00000286 c0363cd0 c01dcbd6 c0363d80 00000000 c0213a50
Nov  5 19:48:49 linux kernel:        c1634c80 04000001 00000000 d98d3fc4 c0109129 0000000f c1613d60 d98d3fc4
Nov  5 19:48:49 linux kernel: Call Trace:    [<c01299e5>] [<c01dcbd6>] [<c0213a50>] [<c0109129>] [<c0109348>] [<c010bec8>]
Nov  5 19:48:49 linux kernel: Code: ff 42 18 89 3c 24 c7 44 24 04 01 00 00 00 e8 ae fc ff ff 31

Quote:>>EIP; c0213ab3 <idescsi_pc_intr+63/360>   <=====
>>ecx; c1613d84 <_end+12a072c/20557a08>
>>edx; 3e076fe3 Before first symbol
>>esi; d93ca000 <_end+190569a8/20557a08>
>>edi; c0363d80 <ide_hwifs+520/2c60>
>>ebp; c165cd80 <_end+12e9728/20557a08>
>>esp; d98d3f2c <_end+195608d4/20557a08>

Trace; c01299e5 <getrusage+d5/230>
Trace; c01dcbd6 <ide_intr+e6/180>
Trace; c0213a50 <idescsi_pc_intr+0/360>
Trace; c0109129 <handle_IRQ_event+69/a0>
Trace; c0109348 <do_IRQ+98/f0>
Trace; c010bec8 <call_do_IRQ+5/d>

Code;  c0213ab3 <idescsi_pc_intr+63/360>
00000000 <_EIP>:
Code;  c0213ab3 <idescsi_pc_intr+63/360>   <=====
   0:   ff 42 18                  incl   0x18(%edx)   <=====
Code;  c0213ab6 <idescsi_pc_intr+66/360>
   3:   89 3c 24                  mov    %edi,(%esp,1)
Code;  c0213ab9 <idescsi_pc_intr+69/360>
   6:   c7 44 24 04 01 00 00      movl   $0x1,0x4(%esp,1)
Code;  c0213ac0 <idescsi_pc_intr+70/360>
   d:   00
Code;  c0213ac1 <idescsi_pc_intr+71/360>
   e:   e8 ae fc ff ff            call   fffffcc1 <_EIP+0xfffffcc1> c0213774 <idescsi_do_end_request+a4/e0>
Code;  c0213ac6 <idescsi_pc_intr+76/360>
  13:   31 00                     xor    %eax,(%eax)

Nov  5 19:48:49 linux kernel:  <0>Kernel panic: Aiee, killing interrupt handler!

1 warning issued.  Results may not be reliable.

Hope this helps

Regards,
Stephan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

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.21-pre5, ide-scsi

Post by Stephan von Krawczynsk » Sat, 01 Mar 2003 17:40:07


On Thu, 27 Feb 2003 22:10:17 +0100

Quote:> >>EIP; c0213ab3 <idescsi_pc_intr+63/360>   <=====

Additional comment:

This oops is reproducable at my system. I tried today again, and again it
happened on the same EIP. If I got that right it is this code:

                if (status.b.check)
                        rq->errors++;
                idescsi_end_request(drive, 1);
                return ide_stopped;
        }

Obviously rq is somehow damaged. I tried to retrieve further info by adding:

/* $$$ */
                local_irq_enable();
                printk("scsi: %08lx, pc: %08lx, rq: %08lx\n",scsi,pc,rq);
                if (status.b.check)
                        rq->errors++;
                idescsi_end_request(drive, 1);
                return ide_stopped;
        }

Interestingly there are about 10 lines in syslog with this output, then it
stops for around 10-20 seconds, and _then_ it oops'es. I got the feeling that
this "late" rq is indeed long gone, when the code is entered.
I tried to patch a bit around this problem, but no success at this time...

--
Regards,
Stephan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. OOPS in 2.4.21-pre5, ide-scsi

Hello all,

again, news on this topic. Today I plugged in an additional:

01:03.0 Unknown mass storage controller: Promise Technology, Inc. 20268 (rev
01)

and connected my ATAPI cdwriter to it. And _now_ everything works! ide-scsi is
just fine, I can mount CDs again. So I state that the ide-driver for

00:0f.1 IDE interface: ServerWorks CSB5 IDE Controller (rev 93)

is in fact broken, at least regarding use of ide-scsi. If anyone has patches or
the like, please submit, I can test.
I tested all available -ac and they all do not work. 2.4.20 does not work
either.

--
Regards,
Stephan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. compiling akcl for linux

3. Oops in firewire (2.4.21-pre5 with 2.4.21-pre4 firewire driver)

4. ftp on solaris 2.3

5. 2.4.21-pre7 & 2.4.21-pre5-ac3 IDE resets

6. Problem with partition table

7. time loss using ide-scsi under 2.4.21-pre5-ac2

8. Local newsgroups with Tin or ?

9. 2.4.21-pre4 - oops in ide-scsi.c:512

10. Oops 2.4.20-ac1 & 2.4.21-pre1 ide-scsi

11. 2.4.21-pre5-ac2: kernel oops with "swapoff -a"

12. 2.4.21-pre5 oops in mod_timer

13. 2.4.21-pre5 kernel Oops, USB related (and some other problems)