public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "O.Sezer" <sezeroz@ttnet.net.tr>
To: Pete Zaitcev <zaitcev@redhat.com>
Cc: linux-kernel@vger.kernel.org, marcelo.tosatti@cyclades.com
Subject: Re: [PATCH 2.4] blacklist a device in usb-storage
Date: Tue, 17 Aug 2004 14:12:41 +0300	[thread overview]
Message-ID: <4121E829.4090801@ttnet.net.tr> (raw)
In-Reply-To: <20040816153243.7e050372@lembas.zaitcev.lan>

[-- Attachment #1: Type: text/plain, Size: 1637 bytes --]

Pete Zaitcev wrote:
[...]
>> >>EIP; e0d24da0 <[sr_mod]sr_registered+22deec/22e1ac>   <=====
> 
> 
>>Trace; e0a3b9cf <[usb-uhci]process_interrupt+21f/260>
>>Trace; e0a3bde4 <[usb-uhci]process_urb+254/260>
>>Trace; e0207ee9 <_end+1fe721a5/2064e31c>
>>Trace; e0a3be87 <[usb-uhci]uhci_interrupt+97/170>
>>Trace; c010a848 <handle_IRQ_event+48/80>
>>Trace; c010aa33 <do_IRQ+83/f0>
>>Trace; c0107150 <default_idle+0/40>
>>Trace; c01071f4 <cpu_idle+34/40>
> 
> 
> Hmm. This looks fishy, because sr_registered is not a function.

Yeah it's not reliable :/  How about [snd-seq-midi].data.end
(the finding if don't I don't unload any modules. After every
module unload the finding changes.)

> Does the same happen after "echo /bin/true > /proc/sys/kernel/hotplug"?

Doesn't change anything:
Do the "echo /bin/true > /proc/sys/kernel/hotplug", plug the
disk, manually do "/sbin/modprobe usb-storage", watch the same
scene about interrupts etc, unplug the disk (this time no
hotplug magic is in effect), "/sbin/modprobe -r usb-storage"
and panic. I guess the device is never released from the scsi
layer??? The attached file has the panic info (unreliable as
before; and yes it's nvidia-tainted, but nvidia is irrelevant
it happens reliably all the time).

 > Maybe your hotplug setup yanks a module. I heard some crazy distro
 > did that on unplug.

This is Redhat-9, using hotplug-2004_04_01-4 from rawhide.
I remember the very same failures when I was using Mandrake9.0,
so the distro change doesn't seem to make a difference (yet).

I still strongly beleive that we need a blacklisting mechanism
for crazy cases like this.

Regards,
Ozkan Sezer

[-- Attachment #2: panic-2.log --]
[-- Type: text/plain, Size: 1761 bytes --]

ksymoops 2.4.5 on i686 2.4.27-acx2.  Options used
     -V (default)
     -k /proc/ksyms (default)
     -l /proc/modules (default)
     -o /lib/modules/2.4.27-acx2 (specified)
     -m /boot/System.map-2.4.27-acx2 (default)

Warning (compare_maps): mismatch on symbol _nv000173rm  , nvidia says e0f24100, /lib/modules/2.4.27-acx2/nvidia/nvidia.o says e0f23ee0.  Ignoring /lib/modules/2.4.27-acx2/nvidia/nvidia.o entry
CPU: 0
EIP: 0010: [<e0f4ada0>]  Tainted: P
Using defaults from ksymoops -t elf32-i386 -a i386
EFLAGS: 00010286
eax: db949164   ebx: ffffffac   ecx: 00000003   edx: ffffffac
esi: 00000000   edi: de6a9c74   ebp: db6fbf18   esp: db6fbef4
ds: 0018   es: 0018   ss: 0018
Process swapper: (pid: 9027, stackpage= db6f6000)
Stack:  e0a3b9cf  de6a9c74  de6a9c74  db949164
        c17593c0  db949164  c1617ef0  c1617ed4
        de6a9c74  db6fbf48  e0a3bde4  c1617ed4
        de6a9c74  0000b708  c12551a0  00000286
        00000000  00000000  c1617ef0  00000001
        c1617ed4  db6fbf78  e0a3be87  c1617ed4
Call Trace: [<e0a3b9cf>]  [<e0a3bde4>]  [<e0a3be87>]
        [<c010a848>]   [<c010aa33>]
Code: Bad EIP value


>>EIP; e0f4ada0 <[nvidia].data.end+3e69/1016129>   <=====

>>eax; db949164 <_end+1b5b3420/2064e31c>
>>ebx; ffffffac <END_OF_CODE+1e0436ac/????>
>>edx; ffffffac <END_OF_CODE+1e0436ac/????>
>>edi; de6a9c74 <_end+1e313f30/2064e31c>
>>ebp; db6fbf18 <_end+1b3661d4/2064e31c>
>>esp; db6fbef4 <_end+1b3661b0/2064e31c>

Trace; e0a3b9cf <[usb-uhci]process_interrupt+21f/260>
Trace; e0a3bde4 <[usb-uhci]process_urb+254/260>
Trace; e0a3be87 <[usb-uhci]uhci_interrupt+97/170>
Trace; c010a848 <handle_IRQ_event+48/80>
Trace; c010aa33 <do_IRQ+83/f0>

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

1 warning issued.  Results may not be reliable.

  reply	other threads:[~2004-08-17 11:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1092508141.32379.linux-kernel2news@redhat.com>
2004-08-16  6:52 ` [PATCH 2.4] blacklist a device in usb-storage Pete Zaitcev
2004-08-16  7:48   ` O.Sezer
2004-08-16 15:07     ` Pete Zaitcev
2004-08-16 15:54       ` O.Sezer
2004-08-16 22:32         ` Pete Zaitcev
2004-08-17 11:12           ` O.Sezer [this message]
2004-08-16 16:12       ` O.Sezer
2004-08-14 18:22 O.Sezer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4121E829.4090801@ttnet.net.tr \
    --to=sezeroz@ttnet.net.tr \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo.tosatti@cyclades.com \
    --cc=zaitcev@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox