Bug 28032 - [2.6.38-0.rc2.git7.1.fc15.x86_64] oops mounting possible HFS disk image
Summary: [2.6.38-0.rc2.git7.1.fc15.x86_64] oops mounting possible HFS disk image
Status: RESOLVED DUPLICATE of bug 27782
Alias: None
Product: File System
Classification: Unclassified
Component: HFS/HFSPLUS (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: fs_hfs@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-01 18:34 UTC by Dan Williams
Modified: 2011-02-01 18:38 UTC (History)
0 users

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments
oops as an attachment (6.17 KB, text/plain)
2011-02-01 18:34 UTC, Dan Williams
Details

Description Dan Williams 2011-02-01 18:34:36 UTC
Created attachment 45862 [details]
oops as an attachment

Attempting to mount:

http://pcdn2-download.vzw.com/mac/7.2/VZAM_7.2.4_2534b_UML290.dmg

with the following command:

mount -t hfsplus -o loop VZAM_7.2.4_2534b_UML290.dmg /tmp/mac290

yields the following oops.  The dmg in question can be extracted with "macutils" dmg2img tool correctly (and then mounted like above) so it's clearly some form of Mac disk image.  However, I'd assume the kernel shouldn't oops when attempting to mount this image.

Jan 31 17:25:37 dcbw kernel: [  655.840909] hfs: unable to find HFS+ superblock
Jan 31 17:25:37 dcbw kernel: [  655.840919] BUG: unable to handle kernel NULL pointer dereference at 0000000000000008
Jan 31 17:25:37 dcbw kernel: [  655.840988] IP: [<ffffffffa047723d>] hfsplus_sync_fs+0x3a/0x174 [hfsplus]
Jan 31 17:25:37 dcbw kernel: [  655.841046] PGD 0 
Jan 31 17:25:37 dcbw kernel: [  655.841065] Oops: 0000 [#1] SMP 
Jan 31 17:25:37 dcbw kernel: [  655.841096] last sysfs file: /sys/devices/virtual/block/loop0/queue/rotational
Jan 31 17:25:37 dcbw kernel: [  655.841150] CPU 0 
Jan 31 17:25:37 dcbw kernel: [  655.841167] Modules linked in: nls_utf8 hfsplus tcp_lp hfs fuse ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat xt_CHECKSUM iptable_mangle bridge stp llc sco bnep l2cap bluetooth cpufreq_ondemand acpi_cpufreq freq_table mperf ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 xt_physdev ip6table_filter ip6_tables i2400m_usb i2400m snd_hda_codec_analog wimax snd_hda_intel snd_hda_codec snd_hwdep snd_seq arc4 snd_seq_device iwlagn iwlcore zaurus cdc_ether snd_pcm uvcvideo usbnet videodev mac80211 snd_timer cdc_wdm cdc_acm tpm_infineon hp_accel lis3lv02d e1000e snd hp_wmi v4l2_compat_ioctl32 mii cfg80211 sparse_keymap rfkill iTCO_wdt soundcore snd_page_alloc iTCO_vendor_support microcode joydev wmi input_polldev serio_raw kvm_intel kvm uinput ipv6 sdhci_pci sdhci firewire_ohci mmc_core firewire_core crc_itu_t pata_acpi ata_generic i915 drm_kms_helper drm i2c_algo_bit i2c_core video [last unloaded: scsi_wait_scan]
Jan 31 17:25:37 dcbw kernel: [  655.841507] 
Jan 31 17:25:37 dcbw kernel: [  655.841507] Pid: 2478, comm: mount Not tainted 2.6.38-0.rc2.git7.1.fc15.x86_64 #1 30E1/HP EliteBook 2530p
Jan 31 17:25:37 dcbw kernel: [  655.841507] RIP: 0010:[<ffffffffa047723d>]  [<ffffffffa047723d>] hfsplus_sync_fs+0x3a/0x174 [hfsplus]
Jan 31 17:25:37 dcbw kernel: [  655.841507] RSP: 0018:ffff880108c15a48  EFLAGS: 00010202
Jan 31 17:25:37 dcbw kernel: [  655.841507] RAX: 0000000000000000 RBX: ffff880131bb6400 RCX: 000000000000200b
Jan 31 17:25:37 dcbw kernel: [  655.841507] RDX: 00000000ffffffea RSI: 0000000000000001 RDI: ffff880114989c00
Jan 31 17:25:37 dcbw kernel: [  655.841507] RBP: ffff880108c15a88 R08: 0000000000000002 R09: 0000000000000005
Jan 31 17:25:37 dcbw kernel: [  655.841507] R10: 0000000000000005 R11: 0000000000000000 R12: 0000000000000000
Jan 31 17:25:37 dcbw kernel: [  655.841507] R13: ffff880114989c00 R14: ffff880119854800 R15: ffff880131bb6478
Jan 31 17:25:37 dcbw kernel: [  655.841507] FS:  00007fe1c2055820(0000) GS:ffff8800b4c00000(0000) knlGS:0000000000000000
Jan 31 17:25:37 dcbw kernel: [  655.841507] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Jan 31 17:25:37 dcbw kernel: [  655.841507] CR2: 0000000000000008 CR3: 0000000108d80000 CR4: 00000000000406f0
Jan 31 17:25:37 dcbw kernel: [  655.841507] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Jan 31 17:25:37 dcbw kernel: [  655.841507] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Jan 31 17:25:37 dcbw kernel: [  655.841507] Process mount (pid: 2478, threadinfo ffff880108c14000, task ffff880133788000)
Jan 31 17:25:37 dcbw kernel: [  655.841507] Stack:
Jan 31 17:25:37 dcbw kernel: [  655.841507]  ffffffffa042f0d0 ffff880131bb64a8 ffff880108c15ab8 ffff880131bb6400
Jan 31 17:25:37 dcbw kernel: [  655.841507]  ffff880114989c00 ffff880119854800 ffffffffa042f0d0 ffff880131bb64a8
Jan 31 17:25:37 dcbw kernel: [  655.841507]  ffff880108c15ab8 ffffffffa04773d7 0000000000000005 ffff880131bb6400
Jan 31 17:25:37 dcbw kernel: [  655.841507] Call Trace:
Jan 31 17:25:37 dcbw kernel: [  655.841507]  [<ffffffffa04773d7>] hfsplus_put_super+0x60/0xc0 [hfsplus]
Jan 31 17:25:37 dcbw kernel: [  655.841507]  [<ffffffffa0477b6f>] hfsplus_fill_super+0x475/0x4ae [hfsplus]
Jan 31 17:25:37 dcbw kernel: [  655.841507]  [<ffffffff8112ac0e>] ? do_lookup+0x11a/0x1f1
Jan 31 17:25:37 dcbw kernel: [  655.841507]  [<ffffffff81229fda>] ? kobject_get+0x17/0x1e
Jan 31 17:25:37 dcbw kernel: [  655.841507]  [<ffffffff8121b910>] ? get_disk+0x75/0x95
Jan 31 17:25:37 dcbw kernel: [  655.841507]  [<ffffffff8146eed4>] ? _cond_resched+0xe/0x22
Jan 31 17:25:37 dcbw kernel: [  655.841507]  [<ffffffff812e4ab4>] ? kobj_lookup+0x141/0x179
Jan 31 17:25:37 dcbw kernel: [  655.841507]  [<ffffffff810ef4fb>] ? pcpu_chunk_relocate+0x17/0x71
Jan 31 17:25:37 dcbw kernel: [  655.841507]  [<ffffffff810ef9a7>] ? pcpu_alloc_area+0x207/0x24a
Jan 31 17:25:37 dcbw kernel: [  655.841507]  [<ffffffff8122fa3a>] ? string.isra.6+0x3d/0xa2
Jan 31 17:25:37 dcbw kernel: [  655.841507]  [<ffffffff81230771>] ? vsnprintf+0x1d1/0x42c
Jan 31 17:25:37 dcbw kernel: [  655.841507]  [<ffffffff81230a58>] ? snprintf+0x34/0x36
Jan 31 17:25:37 dcbw kernel: [  655.841507]  [<ffffffff811227b5>] ? set_bdev_super+0x0/0x34
Jan 31 17:25:37 dcbw kernel: [  655.841507]  [<ffffffff8114a041>] ? set_blocksize+0x3a/0xb2
Jan 31 17:25:37 dcbw kernel: [  655.841507]  [<ffffffff81123769>] mount_bdev+0x14c/0x1ae
Jan 31 17:25:37 dcbw kernel: [  655.841507]  [<ffffffffa04776fa>] ? hfsplus_fill_super+0x0/0x4ae [hfsplus]
Jan 31 17:25:37 dcbw kernel: [  655.841507]  [<ffffffffa04770a0>] hfsplus_mount+0x15/0x17 [hfsplus]
Jan 31 17:25:37 dcbw kernel: [  655.841507]  [<ffffffff81122fdb>] vfs_kern_mount+0xaa/0x1d4
Jan 31 17:25:37 dcbw kernel: [  655.841507]  [<ffffffff8112316d>] do_kern_mount+0x4d/0xdf
Jan 31 17:25:37 dcbw kernel: [  655.841507]  [<ffffffff81139766>] do_mount+0x6c6/0x71a
Jan 31 17:25:37 dcbw kernel: [  655.841507]  [<ffffffff810ec220>] ? strndup_user+0x3b/0x51
Jan 31 17:25:37 dcbw kernel: [  655.841507]  [<ffffffff81139a4a>] sys_mount+0x88/0xc2
Jan 31 17:25:37 dcbw kernel: [  655.841507]  [<ffffffff81009bc2>] system_call_fastpath+0x16/0x1b
Jan 31 17:25:37 dcbw kernel: [  655.841507] Code: ec 18 0f 1f 44 00 00 48 8b 9f 78 02 00 00 45 31 e4 85 f6 49 89 fd 4c 8b 33 0f 84 34 01 00 00 c6 47 14 00 48 8b 43 18 4c 8d 7b 78 <48> 8b 40 08 48 8b b8 40 01 00 00 e8 ef 25 c6 e0 41 89 c4 48 8b 
Jan 31 17:25:37 dcbw kernel: [  655.841507] RIP  [<ffffffffa047723d>] hfsplus_sync_fs+0x3a/0x174 [hfsplus]
Jan 31 17:25:37 dcbw kernel: [  655.841507]  RSP <ffff880108c15a48>
Jan 31 17:25:37 dcbw kernel: [  655.841507] CR2: 0000000000000008
Jan 31 17:25:37 dcbw kernel: [  655.880364] ---[ end trace b7f9f6ae912bbe10 ]---
Comment 1 Dan Williams 2011-02-01 18:38:51 UTC

*** This bug has been marked as a duplicate of bug 27782 ***

Note You need to log in before you can comment on or make changes to this bug.