2nd Generation ipod shuffle? - Hardware

This is a discussion on 2nd Generation ipod shuffle? - Hardware ; Has anyone got a 2nd generation ipod to work under Linux? fdisk -l looks very strange and Banshee does not recognise the device. ================================ fdisk -l /dev/sda Note: sector size is 2048 (not 512) Disk /dev/sda: 1015 MB, 1015021568 bytes ...

+ Reply to Thread
Results 1 to 7 of 7

Thread: 2nd Generation ipod shuffle?

  1. 2nd Generation ipod shuffle?

    Has anyone got a 2nd generation ipod to work under Linux?

    fdisk -l looks very strange and Banshee does not recognise the device.
    ================================
    fdisk -l /dev/sda
    Note: sector size is 2048 (not 512)

    Disk /dev/sda: 1015 MB, 1015021568 bytes
    32 heads, 61 sectors/track, 253 cylinders
    Units = cylinders of 1952 * 2048 = 3997696 bytes

    This doesn't look like a partition table
    Probably you selected the wrong device.

    Device Boot Start End Blocks Id System
    /dev/sda1 ? 398636 983425 2283019262 72 Unknown
    Partition 1 has different physical/logical beginnings (non-Linux?):
    phys=(357, 116, 40) logical=(398635, 6, 23)
    Partition 1 has different physical/logical endings:
    phys=(357, 32, 45) logical=(983424, 30, 61)
    Partition 1 does not end on cylinder boundary.
    /dev/sda2 ? 86419 1078237 3872056480 65 Novell Netware 386
    Partition 2 has different physical/logical beginnings (non-Linux?):
    phys=(288, 115, 43) logical=(86418, 26, 1)
    Partition 2 has different physical/logical endings:
    phys=(367, 114, 50) logical=(1078236, 17, 53)
    Partition 2 does not end on cylinder boundary.
    /dev/sda3 ? 957932 1949749 3872056384 79 Unknown
    Partition 3 has different physical/logical beginnings (non-Linux?):
    phys=(366, 32, 33) logical=(957931, 2, 32)
    Partition 3 has different physical/logical endings:
    phys=(357, 32, 43) logical=(1949748, 25, 36)
    Partition 3 does not end on cylinder boundary.
    /dev/sda4 ? 1478321 1478349 110998 d Unknown
    Partition 4 has different physical/logical beginnings (non-Linux?):
    phys=(372, 97, 50) logical=(1478320, 8, 25)
    Partition 4 has different physical/logical endings:
    phys=(0, 10, 0) logical=(1478348, 22, 13)
    Partition 4 does not end on cylinder boundary.

    Partition table entries are not in disk order

    ==============================
    Running banshee, I see the following in the terminal:

    banshee
    Warning: [12/29/2006 20:46:01] (Cannot connect to NetworkManager) - An
    available, working network connection will be assumed
    Debug: [12/29/2006 20:46:03] (Loading audio profiles) -
    /usr/share/banshee/audio-profiles
    Performing compatibility update on playlist 'New Playlist 1'
    Debug: [12/29/2006 20:46:03] (Default player engine) - GStreamer 0.10
    Debug: [12/29/2006 20:46:03] (Audio CD Core Initialized) -
    Debug: [12/29/2006 20:46:03] (Testing device for DAP support) -
    /org/freedesktop/Hal/devices/volume_uuid_785C_353F
    Debug: [12/29/2006 20:46:03] (Waiting for possible DAP to mount) -
    /org/freedesktop/Hal/devices/volume_uuid_785C_353F
    Debug: [12/29/2006 20:46:03] (DAP has not been added) -
    /org/freedesktop/Hal/devices/volume_uuid_785C_353F
    Debug: [12/29/2006 20:46:03] (Testing device for DAP support) -
    /org/freedesktop/Hal/devices/volume_uuid_78xxxxxxxxxxxxxx_0
    Debug: [12/29/2006 20:46:03] (DAP has not been added) -
    /org/freedesktop/Hal/devices/volume_uuid_78xxxxxxxxxxxxxx_0
    Debug: [12/29/2006 20:46:03] (Testing device for DAP support) -
    /org/freedesktop/Hal/devices/storage_serial_Apple_iPod_xxxxxxxxxxxxxxxx
    Debug: [12/29/2006 20:46:03] (DAP has not been added) -
    /org/freedesktop/Hal/devices/storage_serial_Apple_iPod_xxxxxxxxxxxxxxxxx

    [unique identifiers replaced by "xxxxx..."]

    ==============================================
    Attempts to mount /dev/sda1 (or other partitions) fail.




  2. Re: 2nd Generation ipod shuffle?

    On Fri, 29 Dec 2006 20:51:06 -0800, Whoever staggered into the Black Sun
    and said:
    > Has anyone got a 2nd generation ipod to work under Linux? fdisk -l
    > looks very strange and Banshee does not recognise the device.
    > ================================
    > fdisk -l /dev/sda
    > Note: sector size is 2048 (not 512)
    >
    > This doesn't look like a partition table Probably you selected the
    > wrong device.


    It could be that the Shuffle isn't partitioned. The disk-based iPods
    have their firmware in /dev/nnn1 and the data in /dev/nnn2. The Shuffle
    may just have data without a partition table. See what you get when you
    try to mount /dev/sda /mnt/somewhere.

    If that doesn't work, was this iPod initialized under OS X? If so, it
    might have a MacOS partition table. That partition table layout is
    fundamentally different from the x86 partition table, and it might
    confuse fdisk. If this is the case, you need to set File
    Systems->Partition Types->Macintosh partition map support to Y, and then
    build the kernel and use that kernel. You'll probably have to have
    HFS+ support available as well.

    > Running banshee, I see the following in the terminal:


    Is that like gtkpod? The userspace app you're using is irrelevant until
    you've got the table+filesystem stuff figured out. HTH,

    --
    "Bother," said Pooh. "Eeyore, ready two photon torpedoes and lock
    phasers on the Heffalump; Piglet, meet me in transporter room three."
    --Robert Billing
    Matt G|There is no Darkness in Eternity/But only Light too dim for us to see

  3. Re: 2nd Generation ipod shuffle?



    On Sat, 30 Dec 2006, Dances With Crows wrote:

    > On Fri, 29 Dec 2006 20:51:06 -0800, Whoever staggered into the Black Sun
    > and said:
    >> Has anyone got a 2nd generation ipod to work under Linux? fdisk -l
    >> looks very strange and Banshee does not recognise the device.
    >> ================================
    >> fdisk -l /dev/sda
    >> Note: sector size is 2048 (not 512)
    >>
    >> This doesn't look like a partition table Probably you selected the
    >> wrong device.

    >
    > It could be that the Shuffle isn't partitioned. The disk-based iPods
    > have their firmware in /dev/nnn1 and the data in /dev/nnn2. The Shuffle
    > may just have data without a partition table. See what you get when you
    > try to mount /dev/sda /mnt/somewhere.


    This worked -- or at least, it allowed GTKpod to work. banshee seems to
    have its own built-in capability to mount the ipod automatically.


  4. Re: 2nd Generation ipod shuffle?

    Whoever wrote:

    > Has anyone got a 2nd generation ipod to work under Linux?
    >
    > fdisk -l looks very strange and Banshee does not recognise the device.
    > ================================
    > fdisk -l /dev/sda
    > Note: sector size is 2048 (not 512)
    >
    > Disk /dev/sda: 1015 MB, 1015021568 bytes
    > 32 heads, 61 sectors/track, 253 cylinders
    > Units = cylinders of 1952 * 2048 = 3997696 bytes
    >
    > This doesn't look like a partition table
    > Probably you selected the wrong device.
    >
    > Device Boot Start End Blocks Id System
    > /dev/sda1 ? 398636 983425 2283019262 72 Unknown
    > Partition 1 has different physical/logical beginnings (non-Linux?):
    > phys=(357, 116, 40) logical=(398635, 6, 23)
    > Partition 1 has different physical/logical endings:
    > phys=(357, 32, 45) logical=(983424, 30, 61)
    > Partition 1 does not end on cylinder boundary.
    > /dev/sda2 ? 86419 1078237 3872056480 65 Novell Netware 386
    > Partition 2 has different physical/logical beginnings (non-Linux?):
    > phys=(288, 115, 43) logical=(86418, 26, 1)
    > Partition 2 has different physical/logical endings:
    > phys=(367, 114, 50) logical=(1078236, 17, 53)
    > Partition 2 does not end on cylinder boundary.
    > /dev/sda3 ? 957932 1949749 3872056384 79 Unknown
    > Partition 3 has different physical/logical beginnings (non-Linux?):
    > phys=(366, 32, 33) logical=(957931, 2, 32)
    > Partition 3 has different physical/logical endings:
    > phys=(357, 32, 43) logical=(1949748, 25, 36)
    > Partition 3 does not end on cylinder boundary.
    > /dev/sda4 ? 1478321 1478349 110998 d Unknown
    > Partition 4 has different physical/logical beginnings (non-Linux?):
    > phys=(372, 97, 50) logical=(1478320, 8, 25)
    > Partition 4 has different physical/logical endings:
    > phys=(0, 10, 0) logical=(1478348, 22, 13)
    > Partition 4 does not end on cylinder boundary.
    >
    > Partition table entries are not in disk order
    >
    > ==============================
    > Running banshee, I see the following in the terminal:
    >
    > banshee
    > Warning: [12/29/2006 20:46:01] (Cannot connect to NetworkManager) - An
    > available, working network connection will be assumed
    > Debug: [12/29/2006 20:46:03] (Loading audio profiles) -
    > /usr/share/banshee/audio-profiles
    > Performing compatibility update on playlist 'New Playlist 1'
    > Debug: [12/29/2006 20:46:03] (Default player engine) - GStreamer 0.10
    > Debug: [12/29/2006 20:46:03] (Audio CD Core Initialized) -
    > Debug: [12/29/2006 20:46:03] (Testing device for DAP support) -
    > /org/freedesktop/Hal/devices/volume_uuid_785C_353F
    > Debug: [12/29/2006 20:46:03] (Waiting for possible DAP to mount) -
    > /org/freedesktop/Hal/devices/volume_uuid_785C_353F
    > Debug: [12/29/2006 20:46:03] (DAP has not been added) -
    > /org/freedesktop/Hal/devices/volume_uuid_785C_353F
    > Debug: [12/29/2006 20:46:03] (Testing device for DAP support) -
    > /org/freedesktop/Hal/devices/volume_uuid_78xxxxxxxxxxxxxx_0
    > Debug: [12/29/2006 20:46:03] (DAP has not been added) -
    > /org/freedesktop/Hal/devices/volume_uuid_78xxxxxxxxxxxxxx_0
    > Debug: [12/29/2006 20:46:03] (Testing device for DAP support) -
    > /org/freedesktop/Hal/devices/storage_serial_Apple_iPod_xxxxxxxxxxxxxxxx
    > Debug: [12/29/2006 20:46:03] (DAP has not been added) -
    > /org/freedesktop/Hal/devices/storage_serial_Apple_iPod_xxxxxxxxxxxxxxxxx
    >
    > [unique identifiers replaced by "xxxxx..."]
    >
    > ==============================================
    > Attempts to mount /dev/sda1 (or other partitions) fail.


    The volume / disk may well be organized as HFS+, which will not have a
    (normally understandable) partition table. (Has anyone ever seen a
    "native" partition table on a Mac?)

    You might try again with HFS+ support module added to the kernel.

    --
    JosephKK
    Gegen dummheit kampfen die Gotter Selbst, vergebens.**
    --Schiller

  5. Re: 2nd Generation ipod shuffle?

    On Wed, 10 Jan 2007 13:12:10 GMT, joseph2k staggered into the Black Sun
    and said:
    > Whoever wrote:
    >> Has anyone got a 2nd generation ipod to work under Linux?
    >> fdisk -l /dev/sda
    >> This doesn't look like a partition table
    >> Probably you selected the wrong device.

    [snip]
    >> Attempts to mount /dev/sda1 (or other partitions) fail.

    > The volume / disk may well be organized as HFS+, which will not have a
    > (normally understandable) partition table. (Has anyone ever seen a
    > "native" partition table on a Mac?)


    Yeah. It's in MacOS partition format, which is different from the x86
    partition format, but still understandable. MacOS partition format is
    almost never set to Y on x86 distros; you have to manually compile a
    kernel and boot from that kernel if you need to read MacOS-partitioned
    hard disks on the x86.

    > You might try again with HFS+ support module added to the kernel.


    IIRC, the device was a Shuffle. Shuffles aren't partitioned, which
    would lead to the problems the OP reported.

    --
    "sometimes I am called upon to program stuff." -- Dag
    "I suppose that program stuffing is to programs as gerbil stuffing is
    to gerbils." -- AJ Rosenthal (on ASR 04/14/2002)
    Matt G|There is no Darkness in Eternity/But only Light too dim for us to see

  6. Re: 2nd Generation ipod shuffle?

    joseph2k writes:
    >(Has anyone ever seen a
    >"native" partition table on a Mac?)


    Sure:

    [b6:~:1403]# mac-fdisk -l /dev/hda
    /dev/hda
    # type name length base ( size ) system
    /dev/hda1 Apple_partition_map Apple 63 @ 1 ( 31.5k) Partition map
    /dev/hda2 Apple_UNIX_SVR2 root 19531251 @ 64 ( 9.3G) Linux native
    /dev/hda3 Apple_UNIX_SVR2 home 39062501 @ 19531315 ( 18.6G) Linux native
    /dev/hda4 Apple_UNIX_SVR2 swap 3906251 @ 58593816 ( 1.9G) Linux swap
    /dev/hda5 Apple_Bootstrap Newworld boot 9766 @ 62500067 ( 4.8M) NewWorld bootblock
    /dev/hda6 Apple_UNIX_SVR2 scratch 93791655 @ 62509833 ( 44.7G) Linux native

    Block size=512, Number of Blocks=156301488
    DeviceType=0x0, DeviceId=0x0

    - anton
    --
    M. Anton Ertl Some things have to be seen to be believed
    anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen
    http://www.complang.tuwien.ac.at/anton/home.html

  7. Re: 2nd Generation ipod shuffle?



    On Wed, 10 Jan 2007, Dances With Crows wrote:

    > On Wed, 10 Jan 2007 13:12:10 GMT, joseph2k staggered into the Black Sun
    > and said:
    >> Whoever wrote:
    >>> Has anyone got a 2nd generation ipod to work under Linux?
    >>> fdisk -l /dev/sda
    >>> This doesn't look like a partition table
    >>> Probably you selected the wrong device.

    > [snip]
    >>> Attempts to mount /dev/sda1 (or other partitions) fail.

    >> The volume / disk may well be organized as HFS+, which will not have a
    >> (normally understandable) partition table. (Has anyone ever seen a
    >> "native" partition table on a Mac?)

    >
    > Yeah. It's in MacOS partition format, which is different from the x86
    > partition format, but still understandable.


    No. It's not partitioned at all. Just mount /dev/sda






+ Reply to Thread