So my 2.6.32.43 self compiled kernel can mount the ipod. In KDE I choose the option to open it in a File Manager (Thunar) and it opens. dmesg then shows:
Code: Select all
debian ~ # dmesg
Linux version 2.6.32.43 (root@debian) (gcc version 4.6.1 (Debian 4.6.1-3) ) #1 SMP PREEMPT Sat Jul 16 12:18:06 SAST 2011
.
.
<snip>
.
.
usb 1-5.4: new high speed USB device using ehci_hcd and address 7
usb 1-5.4: New USB device found, idVendor=05ac, idProduct=1265
usb 1-5.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-5.4: Product: iPod
usb 1-5.4: Manufacturer: Apple Inc.
usb 1-5.4: SerialNumber: 000A2700208409CD
usb 1-5.4: configuration #1 chosen from 2 choices
scsi6 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 7
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
scsi 6:0:0:0: Direct-Access Apple iPod 1.70 PQ: 0 ANSI: 0
sd 6:0:0:0: Attached scsi generic sg5 type 0
sd 6:0:0:0: [sde] 3924928 4096-byte logical blocks: (16.0 GB/14.9 GiB)
sd 6:0:0:0: [sde] Write Protect is off
sd 6:0:0:0: [sde] Mode Sense: 68 00 00 08
sd 6:0:0:0: [sde] Assuming drive cache: write through
sd 6:0:0:0: [sde] 3924928 4096-byte logical blocks: (16.0 GB/14.9 GiB)
sd 6:0:0:0: [sde] Assuming drive cache: write through
sde: detected capacity change from 0 to 16076505088
sde: [mac] sde1 sde2
sd 6:0:0:0: [sde] 3924928 4096-byte logical blocks: (16.0 GB/14.9 GiB)
sd 6:0:0:0: [sde] Assuming drive cache: write through
sd 6:0:0:0: [sde] Attached SCSI removable disk
hfs: write access to a journaled filesystem is not supported, use the force option at your own risk, mounting read-only.
hfs: write access to a journaled filesystem is not supported, use the force option at your own risk, mounting read-only.
mount shows
Code: Select all
/dev/sde2 on /media/iPod type hfsplus (ro,nosuid,nodev,uhelper=udisks)
I then compiled a 3.0-rc5 kernel. When I plug the device
Code: Select all
debian ~ # dmesg
Linux version 3.0.0-rc5 (root@debian) (gcc version 4.6.1 (Debian 4.6.1-3) ) #1 SMP PREEMPT Sat Jul 16 13:06:46 SAST 2011
.
.
<snip>
.
.
usb 1-5.4: new high speed USB device number 7 using ehci_hcd
usb 1-5.4: New USB device found, idVendor=05ac, idProduct=1265
usb 1-5.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-5.4: Product: iPod
usb 1-5.4: Manufacturer: Apple Inc.
usb 1-5.4: SerialNumber: 000A2700208409CD
scsi6 : usb-storage 1-5.4:1.0
scsi 6:0:0:0: Direct-Access Apple iPod 1.70 PQ: 0 ANSI: 0
sd 6:0:0:0: Attached scsi generic sg5 type 0
sd 6:0:0:0: [sde] Spinning up disk....ready
sd 6:0:0:0: [sde] 3924928 4096-byte logical blocks: (16.0 GB/14.9 GiB)
sd 6:0:0:0: [sde] Write Protect is off
sd 6:0:0:0: [sde] Mode Sense: 68 00 00 08
sd 6:0:0:0: [sde] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sd 6:0:0:0: [sde] 3924928 4096-byte logical blocks: (16.0 GB/14.9 GiB)
sde: [mac] sde1 sde2
sd 6:0:0:0: [sde] 3924928 4096-byte logical blocks: (16.0 GB/14.9 GiB)
sd 6:0:0:0: [sde] Attached SCSI removable disk
I then try to mount it
Code: Select all
debian ~ # mount -t hfsplus /dev/sde2 /mnt/disk
mount: wrong fs type, bad option, bad superblock on /dev/sde,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Code: Select all
debian ~ # dmesg
Linux version 3.0.0-rc5 (root@debian) (gcc version 4.6.1 (Debian 4.6.1-3) ) #1 SMP PREEMPT Sat Jul 16 13:06:46 SAST 2011
.
.
<snip>
.
.
sd 6:0:0:0: [sde] Bad block number requested
hfs: unable to find HFS+ superblock
So it really does seem as though the HFS code in the kernels after 2.6.32 has changed to cause the problem. Or at least to my untrained eye that's what I would guess.
I'm going to see what happens when I copy hfs and hfsplus directories from the 2.6.32 source to newer kernel sources and then compiling.
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid