Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S271997AbTGYJqn (ORCPT ); Fri, 25 Jul 2003 05:46:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S271998AbTGYJqn (ORCPT ); Fri, 25 Jul 2003 05:46:43 -0400 Received: from dsl-200-55-80-165.prima.net.ar ([200.55.80.165]:3200 "EHLO runner.matiu.com.ar") by vger.kernel.org with ESMTP id S271997AbTGYJqh (ORCPT ); Fri, 25 Jul 2003 05:46:37 -0400 Subject: Crash when inserting a PCMCIA CF card From: Matias Alejo Garcia To: Kernel Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Message-Id: <1059130704.1379.7.camel@runner> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 25 Jul 2003 06:58:25 -0400 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 9654 Lines: 196 Hi, When I insert a SanDisk o Ridata CompactFlash card to the PCMCIA adapter (this used to work OK in 2.4.20), the load of the module ide-cs dumps a Call Trace, then, if I eject the CF card, the system crash. (see below) Is there a patch for this? I am sure the problem is in ide-cs, others pcmcia cards are working OK. Thanks. Matias Logs:(starting when I load cardctl and ds/yenta_socket/pcmcia_core, the problem is at 6:33:13, when I insert the CF card) Jul 25 06:32:57 runner kernel: Linux Kernel Card Services 3.1.22 Jul 25 06:32:57 runner kernel: options: [pci] [cardbus] [pm] Jul 25 06:32:57 runner kernel: PCI: Found IRQ 11 for device 0000:02:01.0 Jul 25 06:32:57 runner kernel: PCI: Sharing IRQ 11 with 0000:02:01.1 Jul 25 06:32:57 runner kernel: PCI: Sharing IRQ 11 with 0000:02:01.2 Jul 25 06:32:57 runner kernel: Yenta IRQ list 06f8, PCI irq11 Jul 25 06:32:57 runner kernel: Socket status: 30000006 Jul 25 06:32:57 runner kernel: PCI: Found IRQ 11 for device 0000:02:01.1 Jul 25 06:32:57 runner kernel: PCI: Sharing IRQ 11 with 0000:02:01.0 Jul 25 06:32:57 runner kernel: PCI: Sharing IRQ 11 with 0000:02:01.2 Jul 25 06:32:57 runner /sbin/hotplug: no runnable /etc/hotplug/pcmcia_socket.agent is installed Jul 25 06:32:57 runner kernel: Yenta IRQ list 06f8, PCI irq11 Jul 25 06:32:57 runner kernel: Socket status: 30000006 Jul 25 06:32:57 runner /sbin/hotplug: no runnable /etc/hotplug/pcmcia_socket.agent is installed Jul 25 06:32:58 runner cardmgr[679]: starting, version is 3.1.31 Jul 25 06:32:58 runner cardmgr[679]: watching 2 sockets Jul 25 06:32:58 runner cardmgr[679]: Card Services release does not match Jul 25 06:32:58 runner kernel: cs: IO port probe 0x0c00-0x0cff: clean. Jul 25 06:32:58 runner kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x280-0x287 0x2f8-0x2ff 0x378-0x37f 0x3c0-0x3df 0x3f8-0x3ff 0x4d0-0x4d7 Jul 25 06:32:58 runner kernel: cs: IO port probe 0x0a00-0x0aff: clean. Jul 25 06:33:13 runner cardmgr[679]: socket 1: ATA/IDE Fixed Disk Jul 25 06:33:13 runner kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean. Jul 25 06:33:14 runner cardmgr[679]: executing: 'modprobe ide-cs' Jul 25 06:33:16 runner /sbin/hotplug: no runnable /etc/hotplug/ide.agent is installed Jul 25 06:33:16 runner kernel: hdc: SanDisk SDCFB-32, CFA DISK drive Jul 25 06:33:16 runner kernel: ide1 at 0x100-0x107,0x10e on irq 3 Jul 25 06:33:16 runner kernel: hdc: max request size: 128KiB Jul 25 06:33:16 runner kernel: hdc: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error } Jul 25 06:33:16 runner kernel: hdc: task_no_data_intr: error=0x04 { DriveStatusError } Jul 25 06:33:16 runner /sbin/hotplug: no runnable /etc/hotplug/block.agent is installed Jul 25 06:33:16 runner kernel: hdc: 62720 sectors (32 MB) w/1KiB Cache, CHS=490/4/32 Jul 25 06:33:16 runner kernel: hdc: hdc1 Jul 25 06:33:17 runner kernel: hdc: hdc1 Jul 25 06:33:17 runner kernel: kobject_register failed for hdc1 (-17) Jul 25 06:33:17 runner kernel: Call Trace: Jul 25 06:33:17 runner kernel: [] kobject_register+0x50/0x5a Jul 25 06:33:17 runner kernel: [] register_disk+0x136/0x13e Jul 25 06:33:17 runner kernel: [] add_disk+0x4e/0x5e Jul 25 06:33:17 runner cardmgr[679]: executing: './ide start hdc' Jul 25 06:33:17 runner /sbin/hotplug: no runnable /etc/hotplug/block.agent is installed Jul 25 06:33:17 runner kernel: [] exact_match+0x0/0x8 Jul 25 06:33:17 runner kernel: [] exact_lock+0x0/0x1e Jul 25 06:33:17 runner kernel: [] idedisk_attach+0x12c/0x1ac Jul 25 06:33:17 runner kernel: [] ata_attach+0x96/0x1b2 Jul 25 06:33:17 runner kernel: [] ideprobe_init+0xdf/0xfb Jul 25 06:33:17 runner kernel: [] ide_probe_module+0xd/0x10 Jul 25 06:33:17 runner kernel: [] ide_register_hw+0x154/0x186 Jul 25 06:33:17 runner kernel: [] idecs_register+0x5e/0x70 [ide_cs] Jul 25 06:33:17 runner kernel: [] CardServices+0x208/0x351 [pcmcia_core] Jul 25 06:33:17 runner kernel: [] set_cis_map+0x40/0x10c [pcmcia_core] Jul 25 06:33:17 runner kernel: [] ide_config+0x50c/0x854 [ide_cs] Jul 25 06:33:17 runner kernel: [] read_cis_mem+0x121/0x18c [pcmcia_core] Jul 25 06:33:17 runner kernel: [] set_cis_map+0x40/0x10c [pcmcia_core] Jul 25 06:33:17 runner kernel: [] read_cis_mem+0x121/0x18c [pcmcia_core] Jul 25 06:33:17 runner kernel: [] read_cis_cache+0xdf/0x16a [pcmcia_core] Jul 25 06:33:17 runner kernel: [] pcmcia_get_tuple_data+0x91/0x96 [pcmcia_core] Jul 25 06:33:17 runner kernel: [] pcmcia_parse_tuple+0x109/0x16e [pcmcia_core] Jul 25 06:33:17 runner kernel: [] read_tuple+0xa2/0xa4 [pcmcia_core] Jul 25 06:33:17 runner kernel: [] yenta_set_mem_map+0x1e0/0x232 [yenta_socket] Jul 25 06:33:17 runner kernel: [] yenta_set_mem_map+0x1e0/0x232 [yenta_socket] Jul 25 06:33:17 runner kernel: [] pcmcia_get_next_tuple+0x231/0x282 [pcmcia_core] Jul 25 06:33:17 runner kernel: [] pcmcia_get_first_tuple+0xa0/0x138 [pcmcia_core] Jul 25 06:33:17 runner kernel: [] scrup+0x12f/0x13a Jul 25 06:33:17 runner kernel: [] yenta_set_mem_map+0x1e0/0x232 [yenta_socket] Jul 25 06:33:17 runner kernel: [] poke_blanked_console+0x5c/0x76 Jul 25 06:33:17 runner kernel: [] vt_console_print+0x213/0x302 Jul 25 06:33:17 runner kernel: [] yenta_set_mem_map+0x1e0/0x232 [yenta_socket] Jul 25 06:33:17 runner kernel: [] set_cis_map+0x40/0x10c [pcmcia_core] Jul 25 06:33:17 runner kernel: [] read_cis_mem+0x121/0x18c [pcmcia_core] Jul 25 06:33:17 runner kernel: [] read_cis_mem+0x121/0x18c [pcmcia_core] Jul 25 06:33:17 runner kernel: [] read_cis_cache+0xdf/0x16a [pcmcia_core] Jul 25 06:33:17 runner kernel: [] pcmcia_get_tuple_data+0x91/0x96 [pcmcia_core] Jul 25 06:33:17 runner kernel: [] pcmcia_parse_tuple+0x109/0x16e [pcmcia_core] Jul 25 06:33:17 runner kernel: [] read_tuple+0xa2/0xa4 [pcmcia_core] Jul 25 06:33:17 runner kernel: [] yenta_set_mem_map+0x1e0/0x232 [yenta_socket] Jul 25 06:33:17 runner kernel: [] yenta_set_mem_map+0x1e0/0x232 [yenta_socket] Jul 25 06:33:17 runner kernel: [] pcmcia_get_next_tuple+0x231/0x282 [pcmcia_core] Jul 25 06:33:17 runner kernel: [] pcmcia_get_first_tuple+0xa0/0x138 [pcmcia_core] Jul 25 06:33:17 runner kernel: [] read_cis_cache+0xdf/0x16a [pcmcia_core] Jul 25 06:33:17 runner kernel: [] pcmcia_get_next_tuple+0x231/0x282 [pcmcia_core] Jul 25 06:33:17 runner kernel: [] pcmcia_validate_cis+0x11e/0x1ea [pcmcia_core] Jul 25 06:33:17 runner kernel: [] wake_up_buffer+0xf/0x26 Jul 25 06:33:17 runner kernel: [] do_get_write_access+0x2cb/0x5e8 Jul 25 06:33:17 runner kernel: [] ide_event+0x67/0xea [ide_cs] Jul 25 06:33:17 runner kernel: [] pcmcia_register_client+0x1c8/0x1fe [pcmcia_core] Jul 25 06:33:17 runner kernel: [] ext3_mark_iloc_dirty+0x28/0x36 Jul 25 06:33:17 runner kernel: [] yenta_set_mem_map+0x1e0/0x232 [yenta_socket] Jul 25 06:33:17 runner kernel: [] ext3_splice_branch+0x123/0x1da Jul 25 06:33:17 runner kernel: [] CardServices+0x1a1/0x351 [pcmcia_core] Jul 25 06:33:17 runner kernel: [] ide_attach+0x110/0x150 [ide_cs] Jul 25 06:33:17 runner kernel: [] ide_event+0x0/0xea [ide_cs] Jul 25 06:33:17 runner kernel: [] get_pcmcia_driver+0x3f/0x5a [ds] Jul 25 06:33:17 runner kernel: [] bind_request+0x180/0x214 [ds] Jul 25 06:33:17 runner kernel: [] ds_ioctl+0x5eb/0x6ec [ds] Jul 25 06:33:17 runner kernel: [] sock_def_readable+0x82/0x84 Jul 25 06:33:17 runner kernel: [] unix_dgram_sendmsg+0x36b/0x56c Jul 25 06:33:17 runner kernel: [] sock_sendmsg+0x9e/0xca Jul 25 06:33:17 runner kernel: [] alloc_inode+0x1c/0x148 Jul 25 06:33:17 runner kernel: [] iget_locked+0x96/0xc0 Jul 25 06:33:17 runner kernel: [] proc_read_inode+0x17/0x3c Jul 25 06:33:17 runner kernel: [] find_get_page+0x29/0x64 Jul 25 06:33:17 runner kernel: [] filemap_nopage+0x26c/0x384 Jul 25 06:33:17 runner kernel: [] __rmqueue+0xcb/0x11c Jul 25 06:33:17 runner kernel: [] buffered_rmqueue+0xd1/0x192 Jul 25 06:33:17 runner kernel: [] buffered_rmqueue+0xd1/0x192 Jul 25 06:33:17 runner kernel: [] zap_pmd_range+0x48/0x64 Jul 25 06:33:17 runner kernel: [] unmap_page_range+0x49/0x88 Jul 25 06:33:17 runner kernel: [] unmap_vmas+0xc2/0x22e Jul 25 06:33:17 runner kernel: [] unmap_region+0x9b/0xde Jul 25 06:33:17 runner kernel: [] unmap_vma+0x40/0x7e Jul 25 06:33:17 runner kernel: [] unmap_vma_list+0x1c/0x28 Jul 25 06:33:17 runner kernel: [] do_munmap+0x166/0x1ce Jul 25 06:33:17 runner kernel: [] sys_ioctl+0xf3/0x27a Jul 25 06:33:17 runner kernel: [] syscall_call+0x7/0xb Jul 25 06:33:17 runner kernel: Jul 25 06:33:17 runner kernel: Module ide_cs cannot be unloaded due to unsafe usage in include/linux/module.h:482 Jul 25 06:33:17 runner kernel: ide-cs: hdc: Vcc = 3.3, Vpp = 0.0 Jul 25 06:33:17 runner kernel: updfstab: numerical sysctl 1 23 is obsolete. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/