linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hin-Tak Leung <hintak_leung@yahoo.co.uk>
To: linux-hotplug@vger.kernel.org
Subject: 2.4.18 kernel oops when eject and hot-plug cardbus card again.
Date: Fri, 15 Nov 2002 04:53:43 +0000	[thread overview]
Message-ID: <marc-linux-hotplug-103733608411211@msgid-missing> (raw)

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

Hi. I have recently upgraded to 2.4.18+pci hotplug (the rest of the 
system is mostly Slackware 8.1).
I can do multiple eject and insert with 2.2.17+pcmcia on the same 
laptop+cards before the upgrade
so I think it is a problem with the pci hotplug sub-system.

The curious thing is, when the kernel oops, most of the system still 
seems functional, it still write to
syslog, etc and switching virtual desktop in the window manager (fvwm2) 
still works, I can still
launch mozilla web-surf for hours and everything that only requires the 
mouse; i.e. the keyboard just
seems to go dead. I can do 'exec xterm -e top' (one of the fvwm menu 
items), and the only indication
(other than the fact that I can't do a thing with the keyboard) that 
there is a problem is a
"keventd <defunc>"  entry in top. So one of the approach for debugging 
this might be to
add an "xterm -e script" entry to my fvwm menu if I know what to put 
inside 'script'.

The 2.4.18 kernel was compiled with gcc 2.95.3. I have two cardbus cards 
(SlimSCSI 1480A
and a 3com 575 - it uses the 3x59x module anyway). I normally leave the 
ethernet card in
and plug and unplug the scsi card which connects to an external CD 
writer, so I only
ever notice when I try to use the scsi card a 2nd time; but I tried 
having the scsi in at boot time,
took it out (cardctl eject 0, then modprobe -r aic7xxx), and insert the 
3com in, and it oops'ed.



[-- Attachment #2: oops-messages --]
[-- Type: text/plain, Size: 7797 bytes --]

Nov 11 00:47:08 pc7221 kernel:  <6>cs: cb_alloc(bus 1): vendor 0x9004, device 0x6075
Nov 11 00:47:08 pc7221 kernel: PCI: Enabling device 01:00.0 (0000 -> 0003)
Nov 11 00:47:08 pc7221 kernel: Unable to handle kernel paging request at virtual address ccb2c894
Nov 11 00:47:08 pc7221 kernel:  printing eip:
Nov 11 00:47:08 pc7221 kernel: c0222dc0
Nov 11 00:47:08 pc7221 kernel: *pde = 01337067
Nov 11 00:47:08 pc7221 kernel: *pte = 00000000
Nov 11 00:47:08 pc7221 kernel: Oops: 0000
Nov 11 00:47:08 pc7221 kernel: CPU:    0
Nov 11 00:47:08 pc7221 kernel: EIP:    0010:[pci_announce_device_to_drivers+24/60]    Not tainted
Nov 11 00:47:08 pc7221 kernel: EFLAGS: 00010206
Nov 11 00:47:08 pc7221 kernel: eax: 00000000   ebx: ccb2c880   ecx: ccac03c8   edx: 000010c8
Nov 11 00:47:08 pc7221 kernel: esi: c83ac800   edi: c3ef19e3   ebp: c131ad20   esp: c3ef1998
Nov 11 00:47:08 pc7221 kernel: ds: 0018   es: 0018   ss: 0018
Nov 11 00:47:08 pc7221 kernel: Process cardctl (pid: 26027, stackpage=c3ef1000)
Nov 11 00:47:08 pc7221 kernel: Stack: c83ac800 c83ac92c c0222e23 c83ac800 c83ac800 c83ac800 c022cf66 c83ac800 
Nov 11 00:47:08 pc7221 kernel:        c131ad20 c83ac800 0000001e c1326800 c3ef1c8c 00000000 01206362 c3ef19e3 
Nov 11 00:47:08 pc7221 kernel:        00000009 c83ac800 01000130 00333063 90046075 00000000 00000000 00000000 
Nov 11 00:47:08 pc7221 kernel: Call Trace: [pci_insert_device+63/68] [cb_alloc+486/544] [unreset_socket+145/256] [reset_socket+68/76] [setup_socket+168/212] 
Nov 11 00:47:08 pc7221 kernel:    [pcmcia_insert_card+98/132] [ds_ioctl+1003/1472] [load_elf_binary+0/2640] [__alloc_pages+51/356] [_alloc_pages+22/24] [do_anonymous_page+132/164] 
Nov 11 00:47:08 pc7221 kernel:    [do_no_page+51/284] [handle_mm_fault+82/180] [do_page_fault+352/1164] [filemap_nopage+188/504] [filemap_nopage+233/504] [do_no_page+77/284] 
Nov 11 00:47:08 pc7221 kernel:    [generic_commit_write+52/96] [ext2_commit_chunk+57/112] [ext2_delete_entry+206/220] [ext2_unlink+81/92] [sys_unlink+222/284] [sys_ioctl+363/388] 
Nov 11 00:47:08 pc7221 kernel:    [system_call+51/56] 
Nov 11 00:47:08 pc7221 kernel: 
Nov 11 00:47:08 pc7221 kernel: Code: 83 7b 14 00 74 f0 56 53 e8 bb fd ff ff 83 c4 08 85 c0 74 e2 
Nov 11 00:48:27 pc7221 kernel:  <6>cs: cb_alloc(bus 1): vendor 0x9004, device 0x6075
Nov 11 00:48:27 pc7221 kernel: PCI: Enabling device 01:00.0 (0000 -> 0003)
Nov 11 00:48:27 pc7221 kernel: Unable to handle kernel paging request at virtual address ccb2c894
Nov 11 00:48:27 pc7221 kernel:  printing eip:
Nov 11 00:48:27 pc7221 kernel: c0222dc0
Nov 11 00:48:27 pc7221 kernel: *pde = 01337067
Nov 11 00:48:27 pc7221 kernel: *pte = 00000000
Nov 11 00:48:27 pc7221 kernel: Oops: 0000
Nov 11 00:48:27 pc7221 kernel: CPU:    0
Nov 11 00:48:27 pc7221 kernel: EIP:    0010:[pci_announce_device_to_drivers+24/60]    Not tainted
Nov 11 00:48:27 pc7221 kernel: EFLAGS: 00010206
Nov 11 00:48:27 pc7221 kernel: eax: 00000000   ebx: ccb2c880   ecx: ccac03c8   edx: 000010c8
Nov 11 00:48:27 pc7221 kernel: esi: c3960c00   edi: c1315c87   ebp: c131ad20   esp: c1315c3c
Nov 11 00:48:27 pc7221 kernel: ds: 0018   es: 0018   ss: 0018
Nov 11 00:48:27 pc7221 kernel: Process keventd (pid: 2, stackpage=c1315000)
Nov 11 00:48:27 pc7221 kernel: Stack: c3960c00 c3960d2c c0222e23 c3960c00 c3960c00 c3960c00 c022cf66 c3960c00 
Nov 11 00:48:27 pc7221 kernel:        c131ad20 c3960c00 0000001e c1326800 c1315f30 c1314000 01000400 c1315c87 
Nov 11 00:48:27 pc7221 kernel:        00000009 c3960c00 01000101 0033d5c0 90046075 00000000 00000000 00000000 
Nov 11 00:48:27 pc7221 kernel: Call Trace: [pci_insert_device+63/68] [cb_alloc+486/544] [unreset_socket+145/256] [reset_socket+68/76] [setup_socket+168/212] 
Nov 11 00:48:27 pc7221 kernel:    [parse_events+124/216] [yenta_bh+30/36] [__run_task_queue+80/92] [context_thread+283/416] [kernel_thread+40/56] 
Nov 11 00:48:27 pc7221 kernel: 
Nov 11 00:48:27 pc7221 kernel: Code: 83 7b 14 00 74 f0 56 53 e8 bb fd ff ff 83 c4 08 85 c0 74 e2 
Nov 11 03:17:33 pc7221 kernel: Linux version 2.4.18 (root@pc7221) (gcc version 2.95.3 20010315 (release)) #2 Wed Nov 6 04:58:17 GMT 2002
--
Nov 11 08:14:55 pc7221 kernel: PCI: Enabling device 01:00.0 (0000 -> 0003)
Nov 11 08:14:55 pc7221 kernel: Unable to handle kernel paging request at virtual address ccb14894
Nov 11 08:14:55 pc7221 kernel:  printing eip:
Nov 11 08:14:55 pc7221 kernel: c0222dc0
Nov 11 08:14:55 pc7221 kernel: *pde = 01337067
Nov 11 08:14:55 pc7221 kernel: *pte = 00000000
Nov 11 08:14:55 pc7221 kernel: Oops: 0000
Nov 11 08:14:55 pc7221 kernel: CPU:    0
Nov 11 08:14:56 pc7221 kernel: EIP:    0010:[pci_announce_device_to_drivers+24/60]    Not tainted
Nov 11 08:14:56 pc7221 kernel: EFLAGS: 00010206
Nov 11 08:14:56 pc7221 kernel: eax: 00000000   ebx: ccb14880   ecx: ccac03c8   edx: 000010c8
Nov 11 08:14:56 pc7221 kernel: esi: cbe99400   edi: c1315c87   ebp: c131ad20   esp: c1315c3c
Nov 11 08:14:56 pc7221 kernel: ds: 0018   es: 0018   ss: 0018
Nov 11 08:14:56 pc7221 kernel: Process keventd (pid: 2, stackpage=c1315000)
Nov 11 08:14:56 pc7221 kernel: Stack: cbe99400 cbe9952c c0222e23 cbe99400 cbe99400 cbe99400 c022cf66 cbe99400 
Nov 11 08:14:56 pc7221 kernel:        c131ad20 cbe99400 0000001e c1326800 c1315f30 c1314000 01d64080 c1315c87 
Nov 11 08:14:56 pc7221 kernel:        00000009 cbe99400 01000197 000ff800 90046075 00000000 00000000 00000000 
Nov 11 08:14:56 pc7221 kernel: Call Trace: [pci_insert_device+63/68] [cb_alloc+486/544] [unreset_socket+145/256] [reset_socket+68/76] [setup_socket+168/212] 
Nov 11 08:14:56 pc7221 kernel:    [parse_events+124/216] [yenta_bh+30/36] [__run_task_queue+80/92] [context_thread+283/416] [kernel_thread+40/56] 
Nov 11 08:14:56 pc7221 kernel: 
Nov 11 08:14:56 pc7221 kernel: Code: 83 7b 14 00 74 f0 56 53 e8 bb fd ff ff 83 c4 08 85 c0 74 e2 
Nov 11 08:20:55 pc7221 kernel: Linux version 2.4.18 (root@pc7221) (gcc version 2.95.3 20010315 (release)) #2 Wed Nov 6 04:58:17 GMT 2002
--
Nov 15 01:52:43 localhost kernel: PCI: Enabling device 05:00.0 (0000 -> 0003)
Nov 15 01:52:43 localhost kernel: Unable to handle kernel paging request at virtual address ccb14894
Nov 15 01:52:43 localhost kernel:  printing eip:
Nov 15 01:52:43 localhost kernel: c0222dc0
Nov 15 01:52:43 localhost kernel: *pde = 01337067
Nov 15 01:52:43 localhost kernel: *pte = 00000000
Nov 15 01:52:43 localhost kernel: Oops: 0000
Nov 15 01:52:43 localhost kernel: CPU:    0
Nov 15 01:52:43 localhost kernel: EIP:    0010:[pci_announce_device_to_drivers+24/60]    Not tainted
Nov 15 01:52:43 localhost kernel: EFLAGS: 00010206
Nov 15 01:52:43 localhost kernel: eax: 00000000   ebx: ccb14880   ecx: ccac03c8   edx: 000010c8
Nov 15 01:52:43 localhost kernel: esi: c8a7a800   edi: c1315c87   ebp: c131ada0   esp: c1315c3c
Nov 15 01:52:44 localhost kernel: ds: 0018   es: 0018   ss: 0018
Nov 15 01:52:44 localhost kernel: Process keventd (pid: 2, stackpage=c1315000)
Nov 15 01:52:44 localhost kernel: Stack: c8a7a800 c8a7a92c c0222e23 c8a7a800 c8a7a800 c8a7a800 c022cf66 c8a7a800 
Nov 15 01:52:44 localhost kernel:        c131ada0 c8a7a800 0000001e cbf5b000 c1315f30 c1314000 01000000 c1315c87 
Nov 15 01:52:44 localhost kernel:        00000009 c8a7a800 01000100 00000000 10b75157 00000000 00000000 00000000 
Nov 15 01:52:44 localhost kernel: Call Trace: [pci_insert_device+63/68] [cb_alloc+486/544] [unreset_socket+145/256] [reset_socket+68/76] [setup_socket+168/212] 
Nov 15 01:52:44 localhost kernel:    [parse_events+124/216] [yenta_bh+30/36] [__run_task_queue+80/92] [context_thread+283/416] [kernel_thread+40/56] 
Nov 15 01:52:44 localhost kernel: 
Nov 15 01:52:44 localhost kernel: Code: 83 7b 14 00 74 f0 56 53 e8 bb fd ff ff 83 c4 08 85 c0 74 e2 
Nov 15 02:02:15 localhost kernel: Linux version 2.4.18 (root@pc7221) (gcc version 2.95.3 20010315 (release)) #2 Wed Nov 6 04:58:17 GMT 2002

             reply	other threads:[~2002-11-15  4:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-15  4:53 Hin-Tak Leung [this message]
2002-11-15  6:12 ` 2.4.18 kernel oops when eject and hot-plug cardbus card again Greg KH
2002-11-16  2:44 ` Hin-Tak Leung
2002-11-17 13:02 ` Hin-Tak Leung

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=marc-linux-hotplug-103733608411211@msgid-missing \
    --to=hintak_leung@yahoo.co.uk \
    --cc=linux-hotplug@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).