LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 08-03-2012, 06:09 AM   #1
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
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.

Last edited by Keith Hedger; 08-03-2012 at 06:12 AM.
 
Old 08-03-2012, 10:08 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
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.
 
Old 08-03-2012, 11:07 AM   #3
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Original Poster
Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Quote:
Originally Posted by druuna View Post
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.
 
Old 08-05-2012, 04:26 AM   #4
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Original Poster
Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
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.
 
  


Reply

Tags
error, hfsplus, ipod, mount



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to mount hfsplus USB drive rw in Ubuntu? johnsfine Linux - General 1 01-20-2012 03:22 PM
[SOLVED] ipod mount error Defiant1 Linux - Newbie 3 05-17-2011 01:16 AM
iPod under Intrepid can't mount NeXuS_2006 Linux - Hardware 2 03-11-2009 10:13 PM
cant mount ipod thebiggiantmouse Slackware 2 07-23-2007 01:42 PM
Another Ipod mount thred allforcarrie Fedora 2 01-31-2005 08:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 05:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration