[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: firewire, iPod and Linux



Emma Jane Hogbin wrote:
On Sun, Jun 20, 2004 at 04:44:58PM -0500, James Abella wrote:

When sbp2 can log in, use fdisk to get basic partition info of
/dev/sda.  If there are only
sda1 and sda2, it's Win mode.  If not, the easiest way to convert it
to Win mode is to install iTune on one Windows box.


Ok, I'm back to the laptop seeing the iPod. I upgraded udev and re-wrote
the rules. Then I made a new symbolic link. I also have leftover in
/etc/fstab the following (I'm not sure if it makes a difference or not):
	/dev/sda2       /mnt/ipod2       auto ro,user 0 0

dmesg says:
ieee1394: Node added: ID:BUS[0-00:1023]  GUID[000a27000266158c]
ieee1394: Node changed: 0-00:1023 -> 0-01:1023
scsi0 : SCSI emulation for IEEE-1394 SBP-2 Devices
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: Node 0-00:1023: Max speed [S400] - Max payload [2048]
  Vendor: Apple     Model: iPod              Rev: 1.50
    Type:   Direct-Access                      ANSI SCSI revision: 02
	 sda: Spinning up disk....ready
	 SCSI device sda: 39063024 512-byte hdwr sectors (20000 MB)
	 sda: test WP failed, assume Write Enabled
	 sda: asking for cache data failed
	 sda: assuming drive cache: write through
	  sda: unknown partition table
	  Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0


And finally fdisk....
smeagol:~ 19:22:11 $ sudo fdisk /dev/sda
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.


The number of cylinders for this disk is set to 19073.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Disk /dev/sda: 20.0 GB, 20000268288 bytes
64 heads, 32 sectors/track, 19073 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

   Device Boot    Start       End    Blocks   Id  System

(and then nothing)
My laptop appears to think it's an empty iPod. I guess that means it's
HFS? Unfortunately I do not have a Windows machine with firewire that I
can try it with (and I am not willing to install Windows on my laptop). I
do have HFS support enabled in the kernel, I guess I'll try updating the
automount scripts to try reading the device as HFS?

note that you need both HFS+ filesytem AND mac style partitions kernel support to be able to work with the iPod.

	erik



Reply to: