LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-31-2004, 01:11 PM   #46
simb
LQ Newbie
 
Registered: Oct 2004
Posts: 1

Rep: Reputation: 0
Cool Thanks jeffmock !!!


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?

Btw: I'm a complete Linux-

Again: thanks!
simb
 
Old 11-17-2004, 05:11 PM   #47
stealthboy
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Rep: Reputation: 0
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.
 
Old 11-18-2004, 01:06 PM   #48
denisq
LQ Newbie
 
Registered: Nov 2004
Posts: 17

Rep: Reputation: 0
Hello!

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!!

best regards,
-Quentin
 
Old 11-23-2004, 11:32 AM   #49
Courthold
Member
 
Registered: Nov 2003
Posts: 58

Rep: Reputation: Disabled
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

Last edited by Courthold; 11-23-2004 at 11:37 AM.
 
Old 12-05-2004, 03:25 AM   #50
olleolsson
LQ Newbie
 
Registered: Dec 2004
Posts: 1

Rep: Reputation: 0
Everything with Linux is new to me, but I'm running SuSE 9.2 and will soon use my iPod mini on Suse 9.2. I searched the net and found this

http://toadstool.se/journal/2004/12/...-suse-linux-92

Maybe it will help?
 
Old 12-07-2004, 12:53 PM   #51
Mechatrex
LQ Newbie
 
Registered: Nov 2004
Distribution: Slackware 11
Posts: 12

Rep: Reputation: 0
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.

Good Luck,

Mechatrex
 
Old 01-08-2005, 05:26 PM   #52
Miky
Member
 
Registered: Dec 2002
Location: London / Paris
Distribution: Debian / OpenBsd
Posts: 74

Rep: Reputation: 15
Hi,

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.

http://mjirari.free.fr/toshiba/linux_toshiba.html#ipod

I was able to read and list files and as far as I remember write on it.
I don't use Linux to update it because I find iTunes much better than gtkpod.

If you have any problem with the french translation, let me know using the email adress on my website.

Cheers
 
Old 01-11-2005, 10:06 PM   #53
blanks
Member
 
Registered: Jun 2004
Location: West Virginia
Distribution: Gentoo, Debian
Posts: 52

Rep: Reputation: 15
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
 
Old 01-17-2005, 03:39 AM   #54
fthomson
LQ Newbie
 
Registered: Jul 2004
Distribution: SuSE 9.1
Posts: 8

Rep: Reputation: 0
Easy iPod Mounting

*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

Last edited by fthomson; 01-17-2005 at 03:43 AM.
 
Old 01-17-2005, 11:06 AM   #55
crunchywelch
LQ Newbie
 
Registered: Aug 2003
Location: Washington
Distribution: RedHat
Posts: 8

Rep: Reputation: 0
should work with firewire

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.
 
Old 01-17-2005, 04:34 PM   #56
fred22
Member
 
Registered: Apr 2004
Posts: 42

Rep: Reputation: 15
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?

thanks heaps.
 
Old 01-17-2005, 08:36 PM   #57
Penguinshit
LQ Newbie
 
Registered: Jan 2005
Distribution: Debian (Sarge)
Posts: 1

Rep: Reputation: 0
Re: Easy iPod Mounting


[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.
 
Old 02-09-2005, 11:08 PM   #58
orvtech.com
LQ Newbie
 
Registered: Apr 2004
Location: Miami, US
Distribution: Gentoo
Posts: 23

Rep: Reputation: 15
OK, great. but will it actually work properly? i mean can you pass songs to it? is there any application for creating and editing play list ???
 
Old 02-10-2005, 11:41 PM   #59
dlr
LQ Newbie
 
Registered: Feb 2005
Posts: 1

Rep: Reputation: 0
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).
 
Old 03-14-2005, 03:23 PM   #60
x_theory
LQ Newbie
 
Registered: May 2004
Distribution: Suse 9.1
Posts: 9

Rep: Reputation: 0
mounted once - never again :(

(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: Logged into SBP-2 device
ieee1394: Node 0-00:1023: Max speed [S400] - Max payload [2048]
Vendor: Apple Model: iPod Rev: 1.33
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 9780750 512-byte hdwr sectors (5008 MB)
ieee1394: sbp2: aborting sbp2 command
Mode Sense 00 3f 00 04 00
ieee1394: sbp2: Bus reset in progress - rejecting command
ieee1394: sbp2: reset requested
ieee1394: sbp2: Generating sbp2 fetch agent reset
ieee1394: sbp2: hpsb_node_write failed.

ieee1394: sbp2: Bus reset in progress - rejecting command
ieee1394: sbp2: reset requested
ieee1394: sbp2: Generating sbp2 fetch agent reset
ieee1394: sbp2: hpsb_node_write failed.

ieee1394: sbp2: Bus reset in progress - rejecting command
ieee1394: sbp2: reset requested
ieee1394: sbp2: Generating sbp2 fetch agent reset
ieee1394: sbp2: hpsb_node_write failed.

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).

In /etc/fstab

/dev/cdrecorder /media/cdrecorder subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/dvd /media/dvd subfs fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/fd0 /media/floppy subfs fs=floppyfss,procuid,nodev,nosuid,sync 0 0
/dev/sda2 /media/ipod vfat rw,user,noauto,noatime,shortname=winnt 0 0

As the gtkpod README instructed, I also modified the following files:

In /etc/udev/udev.rules

BUS="scsi", SYSFS{model}="iPod ", KERNEL="sd?2", NAME="%k", SYMLINK="ipod"

In /etc/auto.master (I also created the autofs groups and added root and my username to it)

/var/autofs/removable /etc/auto.removable --timeout=2,sync,nodev,nosuid,gid=autofs,umask=007

In /etc/auto.removable

ipod -fstype=vfat :/dev/ipod

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.

Last edited by x_theory; 03-14-2005 at 06:14 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
suse mounts ipod mini, but gtkpod doesn't see it capitano SUSE / openSUSE 9 06-08-2007 07:40 AM
iPod mini and Suse 9.3 Blue1K SUSE / openSUSE 6 04-19-2005 09:01 PM
mini Ipod patch usb (the mini iPOD thread) Phyrexicaid Linux - Hardware 6 03-22-2005 01:07 AM
mini ipod (usb & windows) on mdk10 jaybee Linux - Hardware 0 08-17-2004 03:18 PM
Ipod Mini Mount Problem Suse eastsuse Linux - Hardware 0 07-02-2004 02:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration