From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Vladimir V. Saveliev" Subject: Re: BUG in reiserfs4 using SuSE-kernel Date: Fri, 02 Sep 2005 13:41:03 +0400 Message-ID: <43181E2F.5030105@namesys.com> References: <200509021115.20718.sebastian.held@gmx.de> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com In-Reply-To: <200509021115.20718.sebastian.held@gmx.de> List-Id: Content-Type: text/plain; charset="us-ascii" To: Sebastian Held Cc: reiserfs-list@namesys.com Hello Sebastian Held wrote: > Hi, > > The following message appeared in the kernel ring buffer after turning off my > external hard disk connected by usb2 (note: I forget to umount it, but should > reiserfs abort this way?) > well, it should not. Can you try to mount with the following option: -o onerror=remount-ro and check whether it helps to avoid crash? > SuSE kernel version: (uname -a) Linux laptop 2.6.11.4-21.9-default #1 Fri Aug > 19 11:58:59 UTC 2005 i686 i686 i386 GNU/Linux > dmesg output: > > usb 4-3: USB disconnect, address 4 > scsi2 (0:0): rejecting I/O to device being removed > scsi2 (0:0): rejecting I/O to device being removed > scsi2 (0:0): rejecting I/O to device being removed > scsi2 (0:0): rejecting I/O to device being removed > scsi2 (0:0): rejecting I/O to device being removed > reiser4[khubd(2626)]: reiser4_handle_error (fs/reiser4/vfs_ops.c:1432) > [foobar-42]: > reiser4 panicked cowardly: Filesystem error occured > > ------------[ cut here ]------------ > kernel BUG at fs/reiser4/debug.c:131! > invalid operand: 0000 [#1] > Modules linked in: reiser4 nls_iso8859_1 nls_cp437 vfat fat appletalk ax25 ipx > subfs usbserial nvram ipv6 snd_pcm_oss ppp_generic snd_mixer_oss slhc > michael_mic ieee80211_crypt_tkip af_packet arc4 pcmcia edd joydev sg st > sr_mod usb_storage evdev battery ac ieee80211_crypt_wep nls_utf8 ntfs ipw2100 > firmware_class ieee80211 sd_mod scsi_mod ieee80211_crypt ohci1394 ieee1394 > yenta_socket rsrc_nonstatic pcmcia_core snd_intel8x0 8139too snd_ac97_codec > ehci_hcd mii snd_pcm snd_timer snd uhci_hcd soundcore usbcore snd_page_alloc > intel_agp hw_random agpgart dm_mod parport_pc lp parport reiserfs ide_cd > cdrom ide_disk piix ide_core > CPU: 0 > EIP: 0060:[] Tainted: G U VLI > EFLAGS: 00010246 (2.6.11.4-21.9-default) > EIP is at reiser4_do_panic+0xd/0xb0 [reiser4] > eax: 00000000 ebx: d38c5000 ecx: 00000000 edx: 00000000 > esi: 00000005 edi: 00000000 ebp: d38c5000 esp: deb0fc60 > ds: 007b es: 007b ss: 0068 > Process khubd (pid: 2626, threadinfo=deb0e000 task=dee39aa0) > Stack: e148c2d3 e14b5344 ca4e4480 e1487c75 cc0595c0 00000000 00000000 e1487c9e > 00000005 ca4e4480 e148438c cc0595c0 deb0fd14 cc059638 00000003 c2937db0 > c5a75cb0 00000002 042291ea 00000000 00063012 00000000 00073012 00000000 > Call Trace: > [] reiser4_handle_error+0x93/0xa0 [reiser4] > [] finish_all_fq+0x75/0x80 [reiser4] > [] current_atom_finish_all_fq+0x1e/0x50 [reiser4] > [] reiser4_write_logs+0x16c/0x240 [reiser4] > [] commit_current_atom+0xe6/0x180 [reiser4] > [] try_commit_txnh+0x104/0x180 [reiser4] > [] commit_txnh+0x2f/0xa0 [reiser4] > [] txn_end+0x2e/0x40 [reiser4] > [] txn_restart+0x8/0x20 [reiser4] > [] force_commit_atom_nolock+0x18/0x20 [reiser4] > [] txnmgr_force_commit_all+0x9e/0xb0 [reiser4] > [] writeout+0x1f/0xb0 [reiser4] > [] reiser4_sync_inodes+0x2c/0x50 [reiser4] > [] pagevec_lookup+0x17/0x20 > [] reiser4_sync_inodes+0x0/0x50 [reiser4] > [] sync_sb_inodes+0x19/0x20 > [] sync_inodes_sb+0x63/0x70 > [] iget5_locked+0x76/0xd0 > [] fsync_super+0xa/0xc0 > [] fsync_bdev+0x14/0x30 > [] __invalidate_device+0x45/0x50 > [] invalidate_partition+0x26/0x34 > [] del_gendisk+0x19/0xc0 > [] sd_remove+0xf/0x40 [sd_mod] > [] device_release_driver+0x57/0x60 > [] bus_remove_device+0x54/0x90 > [] device_del+0x52/0xa0 > [] scsi_remove_device+0x38/0x80 [scsi_mod] > [] scsi_forget_host+0x1f/0x40 [scsi_mod] > [] scsi_remove_host+0x9/0x50 [scsi_mod] > [] storage_disconnect+0x70/0x87 [usb_storage] > [] usb_unbind_interface+0x64/0x70 [usbcore] > [] device_release_driver+0x57/0x60 > [] bus_remove_device+0x54/0x90 > [] device_del+0x52/0xa0 > [] usb_disable_device+0xe9/0x100 [usbcore] > [] usb_disconnect+0x8d/0x110 [usbcore] > [] hub_port_connect_change+0x210/0x330 [usbcore] > [] hub_events+0x165/0x310 [usbcore] > [] hub_thread+0x35/0x110 [usbcore] > [] autoremove_wake_function+0x0/0x30 > [] ret_from_fork+0x6/0x20 > [] autoremove_wake_function+0x0/0x30 > [] hub_thread+0x0/0x110 [usbcore] > [] kernel_thread_helper+0x5/0x18 > Code: Bad EIP value. > > > Maybe someone can do something with this report!? > > Bye, > Sebastian Held