Hello,
That my second :-) post in this mailing list. Please note I am not subscribed and I would like to get your replies sent back to me, thanks.
I just bought a iPod photo 30GB (what a nice gadget!). I have a mac at home but at work we are still using, don't laugh, Windows NT which does not support USB. Luckily, I was able to setup Debian of few intel-based boxes and I hoped to be able to connect my iPod to one of these boxes using USB. It did not seems to be difficult using linux 2.6.8, hotplug, udev, usbmount, hfsplus...
This setup works fine for a flash card reader an VFAT formated cards. When using a hfs (extended, journaled or not) formated volume is does not work (a formated the volumes - a memory stick, a floppy and an iPod! - using Mac OS 10.3.9 up-to-date except today security-update).
It stops working at the point the system has to recognize the filesystem type. The partitions are correctly listed in /proc/partitions and parted reports the following:
- memory stick:
parted /dev/sdb print
Disk geometry for /dev/sdb: 0.000-7.734 megabytes
Disk label type: mac
Minor Start End Filesystem Name Flags
1 0.000 0.031 Apple
2 0.031 7.726 Apple_HFS_Untitled_2
Information: Don't forget to update /etc/fstab, if necessary.
- floppy:
- iPod:
parted /dev/sde print
Error: Unable to open /dev/sde - unrecognised disk label.
Information: Don't forget to update /etc/fstab, if necessary.
In the first to cases, mount reports wrong fs type, bad option, bad superblock and in the case of the iPod I found in dmesg:
usb 1-1: new full speed USB device using address 6
scsi4 : SCSI emulation for USB Mass Storage devices
Vendor: Apple Model: iPod Rev: 1.62
Type: Direct-Access ANSI SCSI revision: 02
sde: Spinning up disk....ready
SCSI device sde: 58605120 512-byte hdwr sectors (30006 MB)
sde: assuming Write Enabled
sde: assuming drive cache: write through
/dev/scsi/host4/bus0/target0/lun0: [mac] p1 p2 p3
Attached scsi removable disk sde at scsi4, channel 0, id 0, lun 0
USB Mass Storage device found at 6
end_request: I/O error, dev sde, sector 58605112
Buffer I/O error on device sde, logical block 7325639
end_request: I/O error, dev sde, sector 58605112
Buffer I/O error on device sde, logical block 7325639
...
I found at several places on the Internet (google:"CONFIG_EFI_PARTITION hfs" and in particular <http://www.devurandom.org/linux/ipod_tips.html> that it could be related to support for EFI in the kernel (kernel config including CONFIG_EFI_PARTITION=y).
I am running Debian unstable with kernel-image-2.6.8-2-686 (I read somewhere that a recent patch on this package now sets the CONFIG_EFI_PARTITION to yes - for support of amd64, itanium? - which was not the case previously). Mount is version 2.12p, usbmount 0.0.10_all, udev 0.056-2, hotplug 0.0.20040329-22.
Does someone in already aware of such a side effect?
Who should I contact to try to build a solution?
Thanks to all
Richard
-----Disclaimer-----
This message may contain confidential information intended solely for the use of the named addressee. If you are not the intended recipient, you should not read, use, disclose or reproduce the content of this message. If you have received this message by mistake, please notify the sender immediately. Any views or opinions presented in this message are solely those of the author and do not necessarily represent those of AXA Belgium, AXA Bank Belgium, AXA Tech Belgium GIE - ESV or any other entity of the AXA Group, unless otherwise stated by the sender and duly authorized by the said companies.
---------------------