LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-12-2004, 01:35 PM   #1
small
LQ Newbie
 
Registered: Dec 2004
Distribution: fedora core 3
Posts: 1

Rep: Reputation: 0
Unable to mount my iPod (Fedora Core 3)


There's a lot of information on the net about how to use the iPod with linux, but all the descriptions come to this point:
"when you see the message, that the ieee1394 node is correctly added (dmesg output), just mount the ipod and everything is fine. Just have a look at /proc/bus/ieee1394 to see the device and mount it."

My Problem: even though my ieee1394/sbp2/ohci1394 modules seem to work and I can see (dmesg) that the node is added, my /proc/bus directory doesn't contain the ieee1394 directory (only input/pci/usb). I therefore can't find out the name of the device (in order to mount it)

the most commonly used /dev/sda2 doesn't exist in my case, so this is not working.

how can i find out the device of my plugged-in iPod?

some information:
Dist.: Fedora Core 3
Kernel: 2.6.9-1.681_FC3
iPod: 20GB, windows version (fat)

some of the running modules: (loaded in this order)

ieee1394
scsi_mod
sbp2
ohci1394
fat
vfat

dmesg output during boot:
[...]
SCSI subsystem initialized
sbp2: $Rev: 1219 $ Ben Collins <bcollins@debian.org>
[...]
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[10] MMIO=[dffff000-dffff7ff] Max Packet=[2048]
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
ieee1394: Host added: ID:BUS[0-00:1023] GUID[0090e62500000a0c]
[...]

dmesg during plugg-in of my iPod:

ieee1394: Node added: ID:BUS[0-01:1023] GUID[000a270002688293]
ieee1394: The root node is not cycle master capable; selecting a new root node and resetting...
ieee1394: Node changed: 0-01:1023 -> 0-00:1023
ieee1394: Node changed: 0-00:1023 -> 0-01:1023



Thanks for your help!!!
 
Old 01-07-2005, 09:53 PM   #2
ajharvey
LQ Newbie
 
Registered: Jan 2005
Distribution: Fedora Core 3
Posts: 4

Rep: Reputation: 0
I'm having pretty much the same problem as you, but I just thought I should add that under the 2.6 kernel most device info is moving towards sysfs, so the bus/device information for firewire devices is in /sys/bus/ieee1394/

However, nothing changes in that directory when I add or remove my iPod, so that gets us no further. I have updated my kernel to the testing one - 2.6.10-1.727, and that hasn't improved matters.
 
Old 01-07-2005, 11:37 PM   #3
Lakota
Member
 
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Rep: Reputation: 30
First to check where your iPod is, with it plugged in:
Code:
[don@x1-6-00-0a-e6-91-be-32 don]$ su -c "/sbin/fdisk -l"
Password:

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        1275    10241406    7  HPFS/NTFS
/dev/hda2            1276        4865    28836675    5  Extended
/dev/hda5            1276        2044     6176961   83  Linux
/dev/hda6            2045        2145      811251   82  Linux swap
/dev/hda7            2146        3419    10233373+  83  Linux
/dev/hda8            3420        4865    11614963+  83  Linux

Disk /dev/hdb: 61.4 GB, 61492838400 bytes
16 heads, 63 sectors/track, 119150 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1   *           1      119150    60051568+   b  W95 FAT32

Disk /dev/sdb: 20.0 GB, 20000010240 bytes
255 heads, 63 sectors/track, 2431 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1           5       40131    0  Empty
/dev/sdb2   *           6        2431    19486845    b  W95 FAT32
[don@x1-6-00-0a-e6-91-be-32 don]$
be patient, I'll be editing this to finish instructions, just figuring out how to use some of the forum post formatting stuff....................Cool, so that is how they do the code boxes,.........by the way, this is with a first generation 20gig iPod with firewire.

Create a mount point
Code:
[don@x1-6-00-0a-e6-91-be-32 don]$ su -c "mkdir -p /mnt/ipod"
Mount it- note:your device may be sda,sdb(whatever), but make sure you use the number 2, not 1
Code:
[don@x1-6-00-0a-e6-91-be-32 don]$ su -c "mount -t vfat /dev/sdb2 /mnt/ipod"
Password:
[don@x1-6-00-0a-e6-91-be-32 don]$
You should now be able to see the files
Code:
[don@x1-6-00-0a-e6-91-be-32 don]$ ls /mnt/ipod
autorun.inf  Calendars  Contacts  iPod_Control
[don@x1-6-00-0a-e6-91-be-32 don]$
unmount it
Code:
[don@x1-6-00-0a-e6-91-be-32 don]$ su -c "umount /mnt/ipod"
Password:
[don@x1-6-00-0a-e6-91-be-32 don]$
Then modify /etc/fstab, and add the following to allow non-root write permission
Code:
/dev/sdb2       /mnt/ipod        vfat    user,noauto,umask=0 0 0
mount it again- at this point you will be able to access it as mass storage device or my preference is using GTKPod
Code:
[don@x1-6-00-0a-e6-91-be-32 don]$ mount /mnt/ipod
[don@x1-6-00-0a-e6-91-be-32 don]$ ls -l /mnt/ipod
total 20
-rwxrwxrwx  1 don don 1632 Feb 21  2004 bootex.log*
drwxrwxrwx  2 don don 4096 Jan  1  1980 Calendars/
drwxrwxrwx  2 don don 4096 Jan  1  1980 Contacts/
drwxrwxrwx  2 don don 4096 Feb 21  2004 found.000/
drwxrwxrwx  5 don don 4096 Apr 22  2009 iPod_Control/
[don@x1-6-00-0a-e6-91-be-32 don]$
to get ok to disconnect message
Code:
[don@x1-6-00-0a-e6-91-be-32 don]$ su -c "/sbin/rmmod sbp2"
Password:
[don@x1-6-00-0a-e6-91-be-32 don]$
Thereafter just remember these three commands:
mount /mnt/ipod
su -c "/sbin/modprobe sbp2"
su -c "/sbin/rmmod sbp2"

Last edited by Lakota; 01-08-2005 at 12:22 AM.
 
Old 01-07-2005, 11:57 PM   #4
adriaanbw
Member
 
Registered: May 2003
Location: Brisbane, Australia
Distribution: Fedora Core 4 with XFCE
Posts: 128

Rep: Reputation: 16
Ok just while Lakota finishes their post:

It seems you are trying to use the firewire connection, have you tried using the USB? I am not familiar with older version iPods but the 4th Gen iPods have both 1394 and USB connectivity.
 
Old 01-08-2005, 11:56 PM   #5
ajharvey
LQ Newbie
 
Registered: Jan 2005
Distribution: Fedora Core 3
Posts: 4

Rep: Reputation: 0
Ok... got a little further, if I put the iPod into force-disk mode (hold down Menu+Play to force reboot, then hold down FF and REW whilst it reboots) and boot up PC whilst in that mode, *then* kudzu finds it, and mounts it correctly as a disk. So it seems that detection/probing is not being done correctly, as the iPod is not going into disk mode by itself. (not a iPod fault as it performs fine connected to a Windows laptop)

Thanks for your detailed instructions Lakota, but we're failing before step one, fdisk -l shows nothing but the main hard disk :-(

This is a 3G ipod. It can use USB, but can't draw power from it.... (they don't ship with the USB cable either, it's an extra)
 
Old 01-09-2005, 01:45 AM   #6
Lakota
Member
 
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Rep: Reputation: 30
Try this, while your system is up and running, plug your iPod into firewire and do the following in terminal window:
Code:
[don@x1-6-00-0a-e6-91-be-32 don]$ su
Password:
[root@x1-6-00-0a-e6-91-be-32 don]# lsmod | grep sbp2
sbp2                   20296  0
ieee1394              292056  3 sbp2,eth1394,ohci1394
scsi_mod              104044  3 sbp2,sd_mod,usb-storage
[root@x1-6-00-0a-e6-91-be-32 don]# exit
exit
[don@x1-6-00-0a-e6-91-be-32 don]$
If you don't see the sbp2 module loaded, that is what you need to do rather than rebooting with iPod attached and stuff.
To load sbp2 module:
Code:
[don@x1-6-00-0a-e6-91-be-32 don]$ su -c "/sbin/modprobe sbp2"
Password:
[don@x1-6-00-0a-e6-91-be-32 don]$
Try that and see if your iPod does not become available.
 
Old 01-09-2005, 03:23 AM   #7
ajharvey
LQ Newbie
 
Registered: Jan 2005
Distribution: Fedora Core 3
Posts: 4

Rep: Reputation: 0
Sadly, sbp2 is already loaded... I get

Code:
[adrian@orac ~]$ su -
Password:
[root@orac ~]# lsmod | grep sbp2
sbp2                   27721  0
scsi_mod              150937  1 sbp2
ieee1394              380889  2 ohci1394,sbp2
I hope I got the monospace thing right...
 
Old 01-09-2005, 04:56 AM   #8
Lakota
Member
 
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Rep: Reputation: 30
I am out of ideas. For me, with iPod off, I plug firewire into iPod and it turns on, then goes to "do not disconnect" screen. I unload sbp2 and get the "OK to disconnect" screen, and can reload sbp2 and it is connected again. Sorry I can't help more..........Have you thought about dual boot with Fedora & Mandrake 10.1 Official? Just kidding, I found set up was easy on my sys, don't know if it is due to my distro or the generation of iPod or what. I have read, the guys with the new iPod mini's must recompile kernel to get them working. Who knows, I wish you luck.
 
Old 01-15-2005, 07:15 PM   #9
ajharvey
LQ Newbie
 
Registered: Jan 2005
Distribution: Fedora Core 3
Posts: 4

Rep: Reputation: 0
Well, I've upgraded to kernel version 2.6.10-1.741_FC3, and this has improved matters greatly. Inserting the iPod now puts it to "Do not disconnect" disk mode, and the /dev/sda nodes get created. If inserted before boot it gets mounted too. Not 100% perfect yet, but at least useable. I might consider going back to Mandrake at some point - I've used it before, but was wanting to try out Gnome 2.8 to see the new features..

Thanks again for all your help.
 
Old 01-15-2005, 09:50 PM   #10
Lakota
Member
 
Registered: Oct 2003
Location: London, ON, Canada
Distribution: Mandriva 2007 Free
Posts: 507

Rep: Reputation: 30
I am using kernel 2.6.8.1-12mdk in Mandrake 10.1. I am suprised kernel upgrade fixed things, as I believe Fedora Core 3 uses a 2.6.9 version, which is higher than mine.
I suppose there can be a great many differences between distros though. {I was just reading "Media is now mounted in /media, rather than /mnt as previously done. So, a typical CDROM drive gets mounted into /media/cdrom, and a typical CD-RW drive is mounted as /media/cdrw." under Common Gotchas in Fedora Core 3}.
Always a good feeling when things start to work.

Cheers
 
Old 01-16-2005, 03:14 AM   #11
unkle77
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Rep: Reputation: 0
hey everyone,
i am having the same problems as the original post. ive searched everywhere i could find (google`ing) and cant find any way to get ipod to work with fedora 3. hopefully someone here can help.

anyway, this is the stuff i get:
when i plug it in (firewire) dmesg gives me:
Code:
ieee1394: Node changed: 0-00:1023 -> 0-01:1023
ieee1394: Node resumed: ID:BUS[0-01:1023]  GUID[000a2700025fba34]
ieee1394: The root node is not cycle master capable; selecting a new root node and resetting...
ieee1394: Node changed: 0-01:1023 -> 0-00:1023
ieee1394: Node changed: 0-00:1023 -> 0-01:1023
ISO 9660 Extensions: Microsoft Joliet Level 3
ISOFS: changing to secondary root
SELinux: initialized (dev hdc, type iso9660), uses genfs_contexts
ieee1394: Node changed: 0-01:1023 -> 0-00:1023
ieee1394: Node suspended: ID:BUS[0-00:1023]  GUID[000a2700025fba34]
ieee1394: Node changed: 0-00:1023 -> 0-01:1023
ieee1394: Node changed: 0-01:1023 -> 0-00:1023
ieee1394: Node resumed: ID:BUS[0-00:1023]  GUID[000a2700025fba34]
ieee1394: Node changed: 0-00:1023 -> 0-01:1023
ok, now once i fdisk i get:
Code:
Disk /dev/hda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1          13      104391   83  Linux
/dev/hda2              14       14593   117113850   8e  Linux LVM
which isnt showing the ipod anywhere. =\
im at a loss. any help would be most appreciated... if i cant get this to work before tuesday, im gona go back to XP;__; so someone pls make this work for me. lol

-unkle77
 
Old 01-16-2005, 04:11 AM   #12
unkle77
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Rep: Reputation: 0
something further, onc ei load the sdp2 module and i dmesg i get:
Code:
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A
SELinux: initialized (dev hdc, type iso9660), uses genfs_contexts
ohci1394: fw-host0: SelfID received, but NodeID invalid (probably new bus reset occurred): 0800FFC0
ieee1394: Node resumed: ID:BUS[0-00:1023]  GUID[000a2700025fba34]
ieee1394: Node changed: 0-00:1023 -> 0-01:1023
and still nothing showing up in fdisk.

-unkle77
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Fedora Core 2 and Ipod (firewire) DrD Fedora 0 01-24-2005 03:37 PM
the iPod and Fedora Core 2 The1PatO Linux - Hardware 23 09-06-2004 10:53 AM
Problem mounting Ipod mini in Fedora Core 2 pufhans Linux - General 17 08-24-2004 05:12 AM
Cannot install fedora core 1 or core 2: Initial setup crashes: "Unable to mount root" ovelasco Linux - Newbie 10 07-15-2004 07:19 PM
unable to mount USB camera: "No medium found" in Fedora Core 2 meonkeys Fedora 0 05-20-2004 02:35 PM

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

All times are GMT -5. The time now is 12:21 PM.

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