LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Can't mount ipod ( hfsplus ) (http://www.linuxquestions.org/questions/linux-from-scratch-13/cant-mount-ipod-hfsplus-4175420157/)

Keith Hedger 08-03-2012 07:09 AM

Can't mount ipod ( hfsplus )
 
Built cfls on amd duo 64bit mostly everything is fine but I can't mount my ipod from command line I get this:
Code:

mount: wrong fs type, bad option, bad superblock on /dev/sdh2,
      missing codepage or helper program, or other error
      In some cases useful info is found in syslog - try
      dmesg | tail or so

and the results from dmesg | tail:
Code:

[ 1021.717257] sd 8:0:0:0: [sdh] Assuming drive cache: write through
[ 1021.717262] sdh: detected capacity change from 0 to 159840301056
[ 1021.762510]  sdh: [mac] sdh1 sdh2
[ 1021.765392] sd 8:0:0:0: [sdh] 39023511 4096-byte logical blocks: (159 GB/148 GiB)
[ 1021.766270] sd 8:0:0:0: [sdh] Assuming drive cache: write through
[ 1021.766280] sd 8:0:0:0: [sdh] Attached SCSI removable disk
[ 1022.155556] sd 8:0:0:0: [sdh] Bad block number requested
[ 1022.155584] hfs: unable to find HFS+ superblock
[ 1022.214556] sd 8:0:0:0: [sdh] Bad block number requested
[ 1022.214581] hfs: unable to find HFS+ superblock

Or this after trying to manually mount:
Code:

[ 1140.949583] sd 8:0:0:0: [sdh] Bad block number requested
[ 1140.949615] hfs: unable to find HFS+ superblock

I have hfs+ enabled in the kernel and also support for apple partitions like so
CONFIG_HFS_FS=y
CONFIG_HFSPLUS_FS=y
...
CONFIG_MAC_PARTITION=y

HELP!

P.S.
The ipod mounts fine on slackware,parted magic and has been disk checked on my imac.

druuna 08-03-2012 11:08 AM

I was curious and did a little search and came up with this: http://en.gentoo-wiki.com/wiki/Hfsplus

The kernel options and disabling journalling parts might be of interest to you. I'm guessing you don't have all the relevant kernel options enabled.

Keith Hedger 08-03-2012 12:07 PM

Quote:

Originally Posted by druuna (Post 4745084)
I was curious and did a little search and came up with this: http://en.gentoo-wiki.com/wiki/Hfsplus

The kernel options and disabling journalling parts might be of interest to you. I'm guessing you don't have all the relevant kernel options enabled.

already seen this as far as I can tell the kernel parts are ok ( journalling only screws up the r/w mounting )

Code:

grep hfs /proc/filesystems
        hfsplus
        hfs

cat /proc/partitions
major minor  #blocks  name

  8        0  488386584 sda
  8        1    1020096 sda1
  8        2    2048000 sda2
  8        3  344011776 sda3
  8        4          1 sda4
  8        5  116673536 sda5
  8        6  24630272 sda6
  8      16  976762584 sdb
  8      17  512000000 sdb1
  8      18  358400000 sdb2
  8      19  51200000 sdb3
  8      20  55160832 sdb4
  8      32  976759808 sdc
  8      33  976758784 sdc1
  8      112  156094044 sdh
  8      113        248 sdh1
  8      114  156093728 sdh2 --< this is the ipod

I have tried different stuff and can't get it to mount.

Keith Hedger 08-05-2012 05:26 AM

Well found the problem it is a kernel problem but NOT a config problem see this:https://bugs.launchpad.net/ubuntu/+s...ux/+bug/734883

So I upgraded the kernel to 3.4.7 and it now load O.K.
Personally I think this sort of bug is pretty naff for linux, still at least its working now.


All times are GMT -5. The time now is 05:00 AM.