Messages in this thread | | | Date | Thu, 14 Jul 2011 21:26:11 -0400 (EDT) | From | Daniel Barkalow <> | Subject | Re: Problems with hfsplus on ipods in 2.6.38+ |
| |
On Thu, 14 Jul 2011, Daniel Barkalow wrote:
> On Thu, 14 Jul 2011, Seth Forshee wrote: > > > On Wed, Jul 13, 2011 at 10:10:13PM -0400, Daniel Barkalow wrote: > > > I've got an ipod which doesn't work with 2.6.38 or later, unless I revert: > > > > > > 358f26d52680cb150907302d4334359de7dd2d59 > > > 52399b171dfaea02b6944cd6feba49b624147126 > > > > > > In the failing case, I get: > > > > > > sd 2:0:0:0: [sdb] Bad block number requested > > > hfs: unable to find HFS+ superblock > > > > > > in dmesg when I try to mount it. > > > > > > Before 2.6.38, or with those commits reverted, it mounts fine and works so > > > far as I can tell. (There's an Ubuntu bug report: > > > https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/734883, which > > > reports other people having similar results). I can test patches and > > > collect information that might be helpful, if you have any ideas. > > > > This has had some discussion on lkml previously [1]. I've been trying to > > work on a fix, but the current iteration has problems, and I haven't > > been able to get testers to provide the logs I've requested to help me > > see what's going wrong. If you'd like to help by providing logs from the > > most recent test build on the bug you linked to (or using the patches > > from that build) that would be great. I unfortunately don't have any > > large-sector devices to test with and cannot reproduce the problems on > > 512-byte sector devices. > > Sure, I'll try the comment #36 patch set this evening and see what it says.
Okay, I've applied that patch set, and it worked for me without any issues thus far. If you're interested in the debugging output from a device that doesn't work with vanilla but doesn't oops or panic with that patch set, it's attached. I'm using 32-bit x86, if that helps for tracking down differences.
-Daniel *This .sig left intentionally blank*usb 1-3: new high speed USB device using ehci_hcd and address 3 scsi2 : usb-storage 1-3:1.0 scsi 2:0:0:0: Direct-Access Apple iPod 1.62 PQ: 0 ANSI: 0 sd 2:0:0:0: Attached scsi generic sg2 type 0 sd 2:0:0:0: [sdb] 3964928 2048-byte logical blocks: (8.12 GB/7.56 GiB) sd 2:0:0:0: [sdb] Write Protect is off sd 2:0:0:0: [sdb] Mode Sense: 68 00 00 08 sd 2:0:0:0: [sdb] Assuming drive cache: write through sd 2:0:0:0: [sdb] 3964928 2048-byte logical blocks: (8.12 GB/7.56 GiB) sd 2:0:0:0: [sdb] Assuming drive cache: write through sdb: [mac] sdb1 sdb2 sdb3 sd 2:0:0:0: [sdb] 3964928 2048-byte logical blocks: (8.12 GB/7.56 GiB) sd 2:0:0:0: [sdb] Assuming drive cache: write through sd 2:0:0:0: [sdb] Attached SCSI removable disk SAF: hfsplus_submit_bio: sector 2 buf (null) rw -183074816 SAF: hfsplus_submit_bio: io_size 2048 start 1024 offset 1024 sector 0 SAF: hfsplus_submit_bio: data f506d544 SAF: hfsplus_submit_bio: io_size 2048 page_offset 0 len 2048 buf f5168000 SAF: hfsplus_submit_bio: sector 15615178 buf (null) rw -180664320 SAF: hfsplus_submit_bio: io_size 2048 start 7994971136 offset 1024 sector 15615176 SAF: hfsplus_submit_bio: data f506d54c SAF: hfsplus_submit_bio: io_size 2048 page_offset 2048 len 2048 buf f53b4800 hfs: write access to a journaled filesystem is not supported, use the force option at your own risk, mounting read-only. SAF: hfsplus_submit_bio: sector 2 buf (null) rw -196237312 SAF: hfsplus_submit_bio: io_size 2048 start 1024 offset 1024 sector 0 SAF: hfsplus_submit_bio: data f506d544 SAF: hfsplus_submit_bio: io_size 2048 page_offset 2048 len 2048 buf f44da800 SAF: hfsplus_submit_bio: sector 15615178 buf (null) rw -173721600 SAF: hfsplus_submit_bio: io_size 2048 start 7994971136 offset 1024 sector 15615176 SAF: hfsplus_submit_bio: data f506d54c SAF: hfsplus_submit_bio: io_size 2048 page_offset 2048 len 2048 buf f5a53800 SAF: hfsplus_submit_bio: sector 2 buf (null) rw -196237312 SAF: hfsplus_submit_bio: io_size 2048 start 1024 offset 1024 sector 0 SAF: hfsplus_submit_bio: io_size 2048 page_offset 2048 len 2048 buf f44da800 SAF: hfsplus_submit_bio: sector 2 buf (null) rw -196237312 SAF: hfsplus_submit_bio: io_size 2048 start 1024 offset 1024 sector 0 SAF: hfsplus_submit_bio: io_size 2048 page_offset 2048 len 2048 buf f44da800 SAF: hfsplus_submit_bio: sector 2 buf (null) rw -196237312 SAF: hfsplus_submit_bio: io_size 2048 start 1024 offset 1024 sector 0 SAF: hfsplus_submit_bio: io_size 2048 page_offset 2048 len 2048 buf f44da800 SAF: hfsplus_submit_bio: sector 2 buf (null) rw -196237312 SAF: hfsplus_submit_bio: io_size 2048 start 1024 offset 1024 sector 0 SAF: hfsplus_submit_bio: io_size 2048 page_offset 2048 len 2048 buf f44da800 SAF: hfsplus_submit_bio: sector 2 buf (null) rw -196237312 SAF: hfsplus_submit_bio: io_size 2048 start 1024 offset 1024 sector 0 SAF: hfsplus_submit_bio: io_size 2048 page_offset 2048 len 2048 buf f44da800
| |