Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264958AbTFLTs6 (ORCPT ); Thu, 12 Jun 2003 15:48:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264971AbTFLTs6 (ORCPT ); Thu, 12 Jun 2003 15:48:58 -0400 Received: from devil.servak.biz ([209.124.81.2]:62656 "EHLO devil.servak.biz") by vger.kernel.org with ESMTP id S264958AbTFLTs4 (ORCPT ); Thu, 12 Jun 2003 15:48:56 -0400 Subject: [OOPS] 2.5.70-bk15: sbp2: oops on unplug, replug From: Torrey Hoffman To: Ben Collins Cc: Linux Kernel , linux firewire devel Content-Type: text/plain Organization: Message-Id: <1055448156.1789.7.camel@torrey.et.myrio.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 12 Jun 2003 13:02:36 -0700 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - devil.servak.biz X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [0 0] X-AntiAbuse: Sender Address Domain - arnor.net Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4880 Lines: 112 After (re)booting 2.5.70-bk15 I plugged in a 250 GB drive, mounted the single reiserfs partition on it, copied some data to it, and ran "sync". Without unmounting the partition, I then unplugged the firewire cable, and a few seconds later plugged it in again. This produced an OOPS. The dmesg log of the whole thing is as follows: - - - - SCSI device sda: 490234752 512-byte hdwr sectors (251000 MB) sda: asking for cache data failed sda: assuming drive cache: write through sda: sda1 Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 found reiserfs format "3.6" with standard journal Reiserfs journal params: device sda1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30 reiserfs: checking transaction log (sda1) for (sda1) Using r5 hash to sort names ieee1394: Node 01:1023 changed to 00:1023 ieee1394: Device removed: ID:BUS[00:1023] GUID[0004830000002cb3] ieee1394: sbp2: Logged out of SBP-2 device ieee1394: sbp2: Logged into SBP-2 device ieee1394: sbp2: Node[00:1023]: Max speed [S400] - Max payload [2048] Vendor: Maxtor 4 Model: A250J8 Rev: Type: Direct-Access ANSI SCSI revision: 06 SCSI device sda: 490234752 512-byte hdwr sectors (251000 MB) sda: asking for cache data failed sda: assuming drive cache: write through Unable to handle kernel NULL pointer dereference at virtual address 0000004c printing eip: e88caaae *pde = 00000000 Oops: 0000 [#1] CPU: 0 EIP: 0060:[] Not tainted EFLAGS: 00010286 EIP is at scsi_device_get+0xe/0x40 [scsi_mod] eax: 00000000 ebx: c1740900 ecx: 00000001 edx: e68f2b60 esi: e68f2b60 edi: e6dd54e0 ebp: e68a5a20 esp: e68a5a20 ds: 007b es: 007b ss: 0068 Process knodemgrd_0 (pid: 350, threadinfo=e68a4000 task=e75f00c0) Stack: e68a5a3c e88b3319 e68f2b60 c02117a2 c1740900 e88b32f0 e88b5c60 e68a5a7c c0151fba e51f9ba0 e68a5b30 e66cdf18 c0118bcc e68a5a7c 00000046 e7fedc30 00000001 c1740918 c0118d9a 00000000 c1740900 00000001 e68a5b30 e68a5bb8 Call Trace: [] sd_open+0x29/0xf0 [sd_mod] [] get_gendisk+0x22/0x40 [] sd_open+0x0/0xf0 [sd_mod] [] +0x0/0x100 [sd_mod] [] do_open+0x2ea/0x320 [] schedule+0x19c/0x340 [] default_wake_function+0x2a/0x30 [] blkdev_get+0x65/0x70 [] register_disk+0xb4/0x150 [] add_disk+0x51/0x60 [] exact_match+0x0/0x10 [] exact_lock+0x0/0x20 [] sd_probe+0x1a3/0x260 [sd_mod] [] +0x4/0x70 [sd_mod] [] bus_match+0x43/0x80 [] +0x4/0x70 [sd_mod] [] +0x34/0x70 [sd_mod] [] scsi_bus_type+0x5c/0xe8 [scsi_mod] [] device_attach+0x4f/0x90 [] +0x4/0x70 [sd_mod] [] scsi_bus_type+0x0/0xe8 [scsi_mod] [] bus_add_device+0x63/0xb0 [] device_add+0xcf/0x100 [] scsi_device_release+0x0/0x20 [scsi_mod] [] scsi_bus_type+0x0/0xe8 [scsi_mod] [] scsi_device_register+0xe4/0x180 [scsi_mod] [] +0x4b8/0xc00 [scsi_mod] [] scsi_add_lun+0x1be/0x3a0 [scsi_mod] [] scsi_probe_and_add_lun+0xa6/0x120 [scsi_mod] [] scsi_add_device+0x35/0x50 [scsi_mod] [] sbp2_start_device+0x219/0x3d0 [sbp2] [] sbp2_start_ud+0xa3/0xe0 [sbp2] [] sbp2_probe+0x32/0x40 [sbp2] [] sbp2_driver+0xc/0x70 [sbp2] [] bus_match+0x43/0x80 [] sbp2_driver+0xc/0x70 [sbp2] [] sbp2_driver+0x3c/0x70 [sbp2] [] ieee1394_bus_type+0x5c/0x100 [ieee1394] [] device_attach+0x4f/0x90 [] sbp2_driver+0xc/0x70 [sbp2] [] ieee1394_bus_type+0x0/0x100 [ieee1394] [] bus_add_device+0x63/0xb0 [] device_add+0xcf/0x100 [] nodemgr_dev_template_ud+0xbc/0xc0 [ieee1394] [] nodemgr_process_unit_directory+0x188/0x490 [ieee1394] [] +0x289/0x330 [ieee1394] [] nodemgr_process_root_directory+0x1e2/0x1f0 [ieee1394] [] nodemgr_process_config_rom+0x8e/0xc0 [ieee1394] [] nodemgr_dev_template_ne+0xbc/0xc0 [ieee1394] [] nodemgr_create_node+0x153/0x1e0 [ieee1394] [] nodemgr_node_probe_one+0xe6/0xf0 [ieee1394] [] nodemgr_node_probe+0x104/0x110 [ieee1394] [] nodemgr_host_thread+0x118/0x180 [ieee1394] [] nodemgr_host_thread+0x0/0x180 [ieee1394] [] kernel_thread_helper+0x5/0x18 Code: 8b 40 4c 8b 00 85 c0 74 0b 83 38 02 74 19 ff 80 a0 00 00 00 -- Torrey Hoffman - 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/