auto-mounting HFS+ volume fails and kernel panics

Bug #857509 reported by dumi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
util-linux (Ubuntu)
Invalid
Medium
Seth Forshee

Bug Description

Using Oneiric with kernel version 3.1.0-0301rc4-generic, my iPod doesn't mount when the system attempts an auto-mount. The system reports "wrong fs type, bad option, bad superblock" when attempting auto-mount.

In addition, the kernel panics immediately or a some seconds afterwards. This is a stock kernel, not customised in any way, and is installed by synaptic during the upgrade from Natty Narwahal (Ubuntu 2.6.38-11.50-generic)

Here is output from /var/log/kern.log:

Sep 23 10:38:57 indlu kernel: [ 4568.320272] usb 1-5: new high speed USB device number 2 using ehci_hcd
Sep 23 10:38:58 indlu kernel: [ 4568.821311] usbcore: registered new interface driver uas
Sep 23 10:38:58 indlu kernel: [ 4568.838649] Initializing USB Mass Storage driver...
Sep 23 10:38:58 indlu kernel: [ 4568.838887] scsi2 : usb-storage 1-5:1.0
Sep 23 10:38:58 indlu kernel: [ 4568.839727] usbcore: registered new interface driver usb-storage
Sep 23 10:38:58 indlu kernel: [ 4568.839735] USB Mass Storage support registered.
Sep 23 10:38:59 indlu kernel: [ 4569.847007] scsi 2:0:0:0: Direct-Access Apple iPod 1.70 PQ: 0 ANSI: 0
Sep 23 10:38:59 indlu kernel: [ 4569.855134] sd 2:0:0:0: Attached scsi generic sg2 type 0
Sep 23 10:39:01 indlu kernel: [ 4569.857822] sd 2:0:0:0: [sdb] Spinning up disk....ready
Sep 23 10:39:01 indlu kernel: [ 4571.612917] sd 2:0:0:0: [sdb] 1926080 4096-byte logical blocks: (7.88 GB/7.34 GiB)
Sep 23 10:39:01 indlu kernel: [ 4571.613530] sd 2:0:0:0: [sdb] Write Protect is off
Sep 23 10:39:01 indlu kernel: [ 4571.613540] sd 2:0:0:0: [sdb] Mode Sense: 68 00 00 08
Sep 23 10:39:01 indlu kernel: [ 4571.614282] sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Sep 23 10:39:01 indlu kernel: [ 4571.617918] sd 2:0:0:0: [sdb] 1926080 4096-byte logical blocks: (7.88 GB/7.34 GiB)
Sep 23 10:39:01 indlu kernel: [ 4571.644672] sdb: [mac] sdb1 sdb2
Sep 23 10:39:01 indlu kernel: [ 4571.649049] sd 2:0:0:0: [sdb] 1926080 4096-byte logical blocks: (7.88 GB/7.34 GiB)
Sep 23 10:39:01 indlu kernel: [ 4571.650282] sd 2:0:0:0: [sdb] Attached SCSI removable disk
Sep 23 10:39:01 indlu kernel: [ 4572.503705] hfs: filesystem size too large.
Sep 23 10:39:02 indlu kernel: [ 4572.596461] hfs: filesystem size too large.
Sep 23 10:39:02 indlu kernel: [ 4572.596500] ------------[ cut here ]------------
Sep 23 10:39:02 indlu kernel: [ 4572.596648] kernel BUG at /home/kernel-ppa/COD/linux/mm/slub.c:3297!
Sep 23 10:39:02 indlu kernel: [ 4572.596832] invalid opcode: 0000 [#1] SMP
Sep 23 10:39:02 indlu kernel: [ 4572.596961] Modules linked in: nls_utf8 hfsplus usb_storage uas bnep bluetooth michael_mic arc4 lib80211_crypt_tkip lib80211_crypt_ccmp snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq i915 snd_timer snd_seq_device drm_kms_helper drm pcmcia tifm_7xx1 irda snd ipw2200 soundcore tifm_core i2c_algo_bit psmouse snd_page_alloc ppdev yenta_socket libipw crc_ccitt pcmcia_rsrc pcmcia_core cfg80211 serio_raw lib80211 parport_pc video lp parport firewire_ohci firewire_core sdhci_pci sdhci crc_itu_t sky2
Sep 23 10:39:02 indlu kernel: [ 4572.600418]
Sep 23 10:39:02 indlu kernel: [ 4572.600418] Pid: 2088, comm: mount Not tainted 3.1.0-0301rc4-generic #201108290905 TOSHIBA TECRA A3/EAT10/EAT20
Sep 23 10:39:02 indlu kernel: [ 4572.600418] EIP: 0060:[<c111cfa5>] EFLAGS: 00010246 CPU: 0
Sep 23 10:39:02 indlu kernel: [ 4572.600418] EIP is at kfree+0x125/0x130
Sep 23 10:39:02 indlu kernel: [ 4572.600418] EAX: 4000086c EBX: f86d4c1d ECX: 000c509e EDX: 000c509d
Sep 23 10:39:02 indlu kernel: [ 4572.600418] ESI: f63fcc00 EDI: d4f11480 EBP: f3f4bbf4 ESP: f3f4bbc4
Sep 23 10:39:02 indlu kernel: [ 4572.600418] Sep 23 10:39:58 indlu kernel: imklog 5.8.1, log source = /proc/kmsg started.

Extra info:
Description: Ubuntu oneiric (development branch)
Release: 11.10

Revision history for this message
Seth Forshee (sforshee) wrote :

A fix for the panic has already been applied (bug 854987), it just hasn't been released yet.

There are some patches upstream related to mounting large HFS+ volumes, which will probably fix your "filesystem size too large" errors. I'll build a kernel with all of these fixes applied for you to test.

Changed in util-linux (Ubuntu):
assignee: nobody → Seth Forshee (sforshee)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
dumi (dumisizwe) wrote :

sforshee: Thanks Seth. I'll test as soon as you have the kernel build ready.

Revision history for this message
Seth Forshee (sforshee) wrote :

dumi: The build is available at:

http://people.canonical.com/~sforshee/lp857509/linux-3.0.0-11.18~lp857509v201109231635/

Let me know if it works. Thanks!

Changed in util-linux (Ubuntu):
status: In Progress → Incomplete
Revision history for this message
dumi (dumisizwe) wrote :

Seth: That build worked Seth. iPod mounts and is accessible now. If you need any extra info (outputs) let me know. Thanks a lot.

Revision history for this message
Seth Forshee (sforshee) wrote :

dumi: I just noticed that the problem you're encountering was actually introduced after the kernel version being used for oneiric. Then I saw that you're reporting this with the with a 3.1.0-rc mainline build.

The mainline builds are for testing purposes only and are not supported, so I'm marking this bug invalid. You should not be seeing the mount failure in oneiric, but if you are please reopen the bug.

Changed in util-linux (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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