Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
With this help I got my iPod (40GB click) working on a SuSE 9.0 pro box with a 2.4.21-243 Kernel.
Thank you for this!
Just one problem left:
I use hotplug and after putting it into the dock, the "do not disconnect"-screen apears. I can't get it of. Doing rmmod sbp2 doesn't help as it isn't loaded in the moment.
Some more tricks from the pro's?
So I got a new 4G ipod, and even though I'm using an older kernel (2.4.22), it doens't work! The EFI option is OFF in the kernel source .config, but it still does not work.
Anyone have any ideas? I've tried both firewire and USB. I get "unable to read boot sector" messages according to dmesg.
My third-gen iPod works like a charm. It's something busted with the newer 4G.
Does the Superblock bug concern every iPod? I've a 40GB iPod and it doesn't work neither on my SuSE 9.2 but it was recognized on SuSE 9.1 and was mounted!!
Not sure how far along in the "getting the ipod mini to work" process I am. Currently when I plug it in udev and hotplug and whatever else sees it, it does this:
Code:
FAT: invalid media value (0x2f)
VFS: Can't find a valid FAT filesystem on dev sdb1.
usb 1-6: USB disconnect, address 2
usb 1-6: new high speed USB device using address 3
scsi4 : SCSI emulation for USB Mass Storage devices
Vendor: Apple Model: iPod Rev: 1.62
Type: Direct-Access ANSI SCSI revision: 02
sdb: Spinning up disk.....ready
SCSI device sdb: 7999488 512-byte hdwr sectors (4096 MB)
sdb: assuming Write Enabled
sdb: assuming drive cache: write through
sdb: sdb1 sdb2
Attached scsi removable disk sdb at scsi4, channel 0, id 0, lun 0
Attached scsi generic sg1 at scsi4, channel 0, id 0, lun 0, type 0
USB Mass Storage device found at 3
I can mount -t vfat /dev/sdb2 /mnt/ipod fine and see the calandar and such, I assume /dev/sdb1 is where the music is, but I cannot mount it. (It gives the "mount: wrong fs type, bad option, bad superblock on /dev/sdb1, or too many mounted file systems" error)
Who can help me?
Btw, simb, to correctly remove mine so the ipod says it's save to disconnect (well, it actually just goes back to the main menu) I did "eject /dev/sdb" and it worked.
Edit: Ok, too many late nights, once I'd actually browsed the folders a few levels down I realised it was in fact the correct partition
I may be completely off base here, but when I was trying to mount a logical partition from my Windoze HD I kept getting that same superblock error. Since you mentioned that the Ipod has 2 partitions try mounting sda5 as vfat. It took me many long hours googling to find out that a logical partion will be shown as hdX5 (X denoting the linux drive letter).
Keep in mind I've never even touched an iPod, let alone tried to mount one in Linux.
I've landed on this post through a website about the ipod mini saying it shouldn't work with Linux.
Actually my ipod mini works fine with Linux.
This section (in french) shows what I did to make it work.
Hi
Those of you who got the ipod to work:
What file system did you end up using? I've been trying to use hfs+ on a Debian system with a 2.4 kernel, but with no luck.
Thanks
My wife (bless her!) bought me an iPod 20gb (4thG) for xmas. I have a dual boot (Suse9.2-XP) so I installed everything on the windows side. I then looked at trying to get it mounted in linux but didn't have much success and I was too lazy to re-compile the kernal as was suggested.
Playing around, I decided from the windows side, to upgrade the firmware on the iPod and did so. Then I rebooted into linux and lo and behold, there was my iPod. Mounted and available under MY COMPUTER. I fired up gtkPod and I had access to my music.
So it would seem that with the firmware update comes linux support with USB.
There is some issue with the usb driver and the new ipod partitions, i have my ipod mounted on firewire and it works fine. There is a patch for usb available, but I think you would have to recompile your kernel to apply it.
I wonder if the new firmware will work with fedora core and the 2.6.6 kernel which I run. Is the stock SUSE kernel setup different to the stock fedora kernel? I also go a new 4G ipod(under warranty bless you mark) So I compiled a new kernel just like before but have heaps of trouble with getting the NVIDIA and ipw2100 drivers to work. The other day I tried plugging in my ipod with the standard kernel running and It was mounted......Yet gtkpod would not detect the ipod and or load the iTunes.db. So I checked the /mnt/ipod and there it was the DB and everything on the ipod.....I don't get it but didn't spend much time investigating.
I probably need to reset gtkpod.....I don't know. Any ideas?
Another question...? Does anybody know of a distribution that will allow config of the kernel during installation. So compiling the kernel before installation, then installing that custom kernel?
[BOLD] I have since resolved this issue. It turns out that when I had connected the iPod to a Win32 machine at work, the installation updated the iPod filesystem from HFS++ to FAT32. Switching my mountpoint in /etc/fstab from HFS++ to VFAT did the trick. I am now a happy member of the iPod/Linux club...! [/bold]
Quote:
Originally posted by fthomson *Reposted from another thread:
My wife (bless her!) bought me an iPod 20gb (4thG) for xmas. I have a dual boot (Suse9.2-XP) so I installed everything on the windows side. I then looked at trying to get it mounted in linux but didn't have much success and I was too lazy to re-compile the kernal as was suggested.
Playing around, I decided from the windows side, to upgrade the firmware on the iPod and did so. Then I rebooted into linux and lo and behold, there was my iPod. Mounted and available under MY COMPUTER. I fired up gtkPod and I had access to my music.
So it would seem that with the firmware update comes linux support with USB.
-Fred
Interesting. My experience is that the firmware upgrade scotched my ability to use the iPod (with USB, haven't tried Firewire yet).
I enabled HFSPLUS and Mac Partition in my kernel (as well as firewire, to be installed shortly), recompiled, and then left for work. While there I loaded iTunes on the Win32 system I have there and attached my new iPod 4gb. The installation put a firmware upgrade onto the iPod which I didn't think could hurt anything. Now when I get back to my Linux workstation, suddenly I only have two partitions instead of the original three. Parted is now also no longer able to read the partition label.
Jan 17 10:33:36 kernel: usb 1-1: new full speed USB device using address 6
Jan 17 10:33:37 kernel: scsi5 : SCSI emulation for USB Mass Storage devices
Jan 17 10:33:37 kernel: Vendor: Apple Model: iPod Rev: 1.62
Jan 17 10:33:37 kernel: Type: Direct-Access ANSI SCSI revision: 02
Jan 17 10:33:38 kernel: sdf: Spinning up disk....ready
Jan 17 10:33:38 kernel: SCSI device sdf: 7999488 512-byte hdwr sectors (4096 MB)
Jan 17 10:33:38 kernel: sdf: assuming Write Enabled
Jan 17 10:33:38 kernel: sdf: assuming drive cache: write through
Jan 17 10:33:38 kernel: sdf: sdf1 sdf2
Jan 17 10:33:38 kernel: Attached scsi removable disk sdf at scsi5, channel 0, id 0, lun 0
Jan 17 10:33:38 kernel: Attached scsi generic sg4 at scsi5, channel 0, id 0, lun 0, type 0
Jan 17 10:33:38 kernel: USB Mass Storage device found at 6
Jan 17 10:33:58 kernel: cdrom: open failed.
Jan 17 10:34:01 kernel: cdrom: open failed.
Jan 17 10:34:26 kernel: end_request: I/O error, dev sdf, sector 7999480
Jan 17 10:34:30 kernel: Buffer I/O error on device sdf, logical block 1
Jan 17 10:34:30 kernel: end_request: I/O error, dev sdf, sector 0
# parted /dev/sdf
GNU Parted 1.6.11 with HFS shrink patch 12.5
Copyright (C) 1998 - 2004 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
License for more details.
Using /dev/sdf
Error: Unable to open /dev/sdf - unrecognised disk label.
Information: The operating system thinks the geometry on /dev/sdf is 3906/64/32. Therefore, cylinder 1024
ends at 1023.999M.
(parted)
I'm using Debian (Sarge) with a 2.6.8 kernel.
Any comments/suggestions/assistance is appreciated.[ I have since resolved this issue. It turns out that when I connected the iPod to a Win32 PC, the updated iPod software switched the filesystem on the iPod from HFS++ to FAT32. Switching my mountpoint in /etc/fstab to vfat did the trick and I'm now a happy member of the iPod/Linux club...!] I have since resolved this issue. It turns out that when I had connected the iPod to a Win32 machine at work, the installation updated the iPod filesystem from HFS++ to FAT32. Switching my mountpoint in /etc/fstab from HFS++ to VFAT did the trick. I am now a happy member of the iPod/Linux club...!
Last edited by Penguinshit; 04-01-2005 at 10:17 AM.
My 20 GB December 2004 iPod is plug-and-play on my Thinkpad laptop, but exhibits this same error on my desktop, both of which are running Fedora Core 3 (2.6 series kernel).
(EDIT - I have resolved this problem. It was that my iPod hated my Belkin F5U503 Firewire card. If your using this card, and having problems, ditch it and get a Belkin F5U501-APL one. It should have a power plug on it, too. This card is known to work, even though the F5U503 model states on the packaging "Perfect for you iPod". Pfft. My arse it is!)
I followed the instructions above to a "T" (disableing EFI Partition Support) and the ipod seemed to mount once. The issue was that in Suse 9.1, it wants to mount all of your devices to /media/ and not /mnt/ like every other Linux user. I had changed my fstab to adhere to that. I am using a 1st Gen Firewire iPod (scroll wheel) and a Belkin firewire card. Here is the errors that occur when I connect my ipod from dmesg:
ieee1394: sbp2: Bus reset in progress - rejecting command
scsi: Device offlined - not ready after error recovery: host 0 channel 0 id 0 lun 0
sda: Write Protect is off
sda: Mode Sense: 00 00 00 00
---------------------------------------------------------
I have adhered very closely to the instructions from the gtkpod README, and the files it instructed to modify have been included below (trimmed of course to show the relevent stuff).
And of course created a sym link: ln -s /var/autofs/removable/ipod /media/ipod
My kernel configuration meets these requirements:
* Code maturity level options - y
* SCSI support - y
* SCSI disk support - y
* IEEE1394 (FireWire)/IEEE 1394 (FireWire) support (Experimental) - y
* OHCI-1394 support - y
* SBP-2 support - m
When I plug in the iPod now, the iPod just keeps restarting itself, showing the "Ok To Disconnect" sign, and then restarts again. It'll continue this loop until the end of time, I'm sure. Anybody have an idea on what might be wrong? I'm *this close* to giving up altogether on it. I tried the iPod on a Windows machine (god forbid) and it did work, so I know it's not the iPod.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.