oops mounting ext3 fs with errors

Bug #766970 reported by Adam Porter
44
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I plugged in an external USB drive and tried to mount an ext3 fs as ext4. It mounted as read-only, and the kernel oopsed when I tried to mount it again. Now the mount command is frozen and can't be killed, and I'll have to reboot so I can access the disk and run fsck.

[ 1888.901096] usb 2-2: new high speed USB device using ehci_hcd and address 6
[ 1889.184527] Initializing USB Mass Storage driver...
[ 1889.184775] scsi5 : usb-storage 2-2:1.0
[ 1889.185028] usbcore: registered new interface driver usb-storage
[ 1889.185030] USB Mass Storage support registered.
[ 1890.189454] scsi 5:0:0:0: Direct-Access ST316002 3A 8.01 PQ: 0 ANSI: 0 CCS
[ 1890.192109] sd 5:0:0:0: Attached scsi generic sg2 type 0
[ 1890.193672] sd 5:0:0:0: [sdb] 312581808 512-byte logical blocks: (160 GB/149 GiB)
[ 1890.194479] sd 5:0:0:0: [sdb] Write Protect is off
[ 1890.194489] sd 5:0:0:0: [sdb] Mode Sense: 00 14 00 00
[ 1890.194498] sd 5:0:0:0: [sdb] Assuming drive cache: write through
[ 1890.196833] sd 5:0:0:0: [sdb] Assuming drive cache: write through
[ 1890.196847] sdb: sdb1
[ 1890.218858] sd 5:0:0:0: [sdb] Assuming drive cache: write through
[ 1890.218862] sd 5:0:0:0: [sdb] Attached SCSI disk
[ 1995.306116] EXT4-fs (dm-3): warning: checktime reached, running e2fsck is recommended
[ 1995.307000] EXT4-fs (dm-3): mounted filesystem with ordered data mode. Opts: errors=remount-ro
[ 2011.340909] EXT4-fs error (device dm-3): ext4_mb_generate_buddy: EXT4-fs: group 64: 3 blocks in bitmap, 0 in gd
[ 2011.340925] Aborting journal on device dm-3-8.
[ 2011.341640] EXT4-fs (dm-3): Remounting filesystem read-only
[ 2011.431783] EXT4-fs (dm-3): delayed block allocation failed for inode 3523316 at logical offset 0 with max blocks 13 with error -30
[ 2011.431794] This should not happen!! Data will be lost
[ 2011.431824] EXT4-fs (dm-3): ext4_da_writepages: jbd2_start: 2147483647 pages, ino 3523316; err -30
[ 2013.478078] EXT4-fs error (device dm-3): ext4_put_super: Couldn't clean up the journal
[ 2062.066805] EXT4-fs warning (device dm-3): ext4_clear_journal_err: Filesystem error recorded from previous mount: IO failure
[ 2062.066814] EXT4-fs warning (device dm-3): ext4_clear_journal_err: Marking fs in need of filesystem check.
[ 2062.066840] BUG: unable to handle kernel paging request at 02b42000
[ 2062.066847] IP: [<c0362e7a>] __percpu_counter_sum+0x2a/0x70
[ 2062.066860] *pde = 00000000
[ 2062.066865] Oops: 0000 [#1] SMP
[ 2062.066871] last sysfs file: /sys/devices/virtual/block/dm-3/queue/rotational
[ 2062.066876] Modules linked in: usb_storage aes_i586 aes_generic binfmt_misc rfcomm sco bnep l2cap vboxnetadp vboxnetflt vboxdrv kvm_intel kvm parport_pc ppdev dm_crypt nvidia(P) snd_hda_codec_idt snd_hda_intel snd_hda_codec arc4 snd_hwdep snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq iwlagn joydev snd_timer snd_seq_device iwlcore coretemp mac80211 snd cfg80211 r852 sm_common nand nand_ids nand_ecc psmouse sbp2 soundcore snd_page_alloc serio_raw pcspkr dell_laptop dell_wmi mtd btusb ieee1394 lp dcdbas parport bluetooth usbhid hid firewire_ohci ahci firewire_core tg3 libahci sdhci_pci crc_itu_t video output sdhci led_class intel_agp agpgart
[ 2062.066975]
[ 2062.066979] Pid: 6066, comm: mount Tainted: P 2.6.35-28-generic #50-Ubuntu 0PU073/XPS M1330
[ 2062.066982] EIP: 0060:[<c0362e7a>] EFLAGS: 00010293 CPU: 1
[ 2062.066986] EIP is at __percpu_counter_sum+0x2a/0x70
[ 2062.066988] EAX: 00000000 EBX: 00000000 ECX: 02b42000 EDX: 00000000
[ 2062.066990] ESI: 00000000 EDI: e85de494 EBP: f2b51d6c ESP: f2b51d60
[ 2062.066993] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[ 2062.066996] Process mount (pid: 6066, ti=f2b50000 task=dc9c8000 task.ti=f2b50000)
[ 2062.066997] Stack:
[ 2062.066999] dca49e00 00008e74 00000000 f2b51da0 c02ae436 d1c48400 f2b51d88 c05c8283
[ 2062.067006] <0> 00000001 d1c48400 00008778 00000000 d8efb3f0 dca49e00 e85dcc00 d1c48400
[ 2062.067013] <0> f2b51dd8 c02ae603 dca49e00 c05eb1b5 c0732e40 c073ff2a e85dcc00 f2b51dd8
[ 2062.067020] Call Trace:
[ 2062.067026] [<c02ae436>] ? ext4_commit_super+0xd6/0x1d0
[ 2062.067031] [<c05c8283>] ? printk+0x2d/0x32
[ 2062.067035] [<c02ae603>] ? ext4_clear_journal_err+0xa3/0xd0
[ 2062.067039] [<c02d8b7c>] ? jbd2_journal_load+0x6c/0xd0
[ 2062.067043] [<c02b187f>] ? ext4_load_journal+0x14f/0x2e0
[ 2062.067047] [<c02b2d1d>] ? ext4_fill_super+0x11fd/0x1a40
[ 2062.067057] [<c03592d5>] ? vsnprintf+0x1e5/0x430
[ 2062.067061] [<c021bed2>] ? get_sb_bdev+0x162/0x1a0
[ 2062.067064] [<c02b1b20>] ? ext4_fill_super+0x0/0x1a40
[ 2062.067068] [<c02acd56>] ? ext4_get_sb+0x26/0x30
[ 2062.067071] [<c02b1b20>] ? ext4_fill_super+0x0/0x1a40
[ 2062.067074] [<c021b864>] ? vfs_kern_mount+0x74/0x1c0
[ 2062.067078] [<c022ffc3>] ? get_fs_type+0x33/0xb0
[ 2062.067081] [<c021ba0e>] ? do_kern_mount+0x3e/0xe0
[ 2062.067084] [<c023313c>] ? do_mount+0x1dc/0x220
[ 2062.067086] [<c02331eb>] ? sys_mount+0x6b/0xa0
[ 2062.067090] [<c05caeb4>] ? syscall_call+0x7/0xb
[ 2062.067092] Code: 00 55 89 e5 57 89 c7 56 53 e8 13 7b 26 00 8b 5f 04 b8 ff ff ff ff 8b 77 08 eb 1c 8d b6 00 00 00 00 8b 0c 85 c0 77 81 c0 8b 57 14 <8b> 14 0a 89 d1 c1 f9 1f 01 d3 11 ce 8d 48 01 a1 6c b3 5d c0 ba
[ 2062.067128] EIP: [<c0362e7a>] __percpu_counter_sum+0x2a/0x70 SS:ESP 0068:f2b51d60
[ 2062.067133] CR2: 0000000002b42000
[ 2062.067136] ---[ end trace 2d8f9a4706a72cc0 ]---

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: linux-image-2.6.35-28-generic 2.6.35-28.50
Regression: No
Reproducible: No
ProcVersionSignature: Ubuntu 2.6.35-28.50-generic 2.6.35.11
Uname: Linux 2.6.35-28-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Wed Apr 20 04:19:03 2011
Frequency: Once every few days.
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: linux

Revision history for this message
Adam Porter (alphapapa) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 766970

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Matthew Dutton (matthewrdutton) wrote :

I marked this confirmed because I found a few other bugs with similar callstacks and full apport info (e.g. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/910041)

Changed in linux (Ubuntu):
status: Expired → Confirmed
Revision history for this message
Matthew Dutton (matthewrdutton) wrote :

Looks like this bug and the duplicates were fixed in Ubuntu-2.6.36-2.8 with http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-natty.git;a=commit;h=7f93cff90fa9be6ed45f6189e136153d1d8631b0

Changed in linux (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.