Help - Search - Members - Calendar
Full Version: I-pod Error While Mountingin Debian
Linuxhelp > Support > Hardware Support
ncsuapex
I have a 20gb Ipod that I was able to mount and use on my old RH9 system. I recently went to Debian Sarge and now can not mount my Ipod. Below are some commands and results I've tried, so if anyone has any ideas I would appreciate it.


sudo mount -t vfat /dev/sda2 /mnt/ipod
mount: /dev/sda2 is not a valid block device

ls -al /mnt
drwxr-xr-x 2 root root 4096 2005-02-12 14:01 ipod

jawalton@70chip:/mnt$ cat /proc/mounts
rootfs / rootfs rw 0 0
/dev2/root2 / ext3 rw 0 0
proc /proc proc rw 0 0
devpts /dev/pts devpts rw 0 0
tmpfs /dev/shm tmpfs rw 0 0
usbfs /proc/bus/usb usbfs rw 0 0

cat /proc/bus/ieee1394/devices
Node[0-01:1023] GUID[0000d10080008a5c]:
Vendor ID: `Linux OHCI-1394' [0x000000]
Capabilities: 0x0083c0
Bus Options:
IRMC(1) CMC(1) ISC(1) BMC(0) PMC(0) GEN(0)
LSPD(2) MAX_REC(2048) CYC_CLK_ACC(0)
Host Node Status:
Host Driver : ohci1394
Nodes connected : 2
Nodes active : 2
SelfIDs received: 2
Irm ID : [0-01:1023]
BusMgr ID : [0-63:1023]
In Bus Reset : no
Root : yes
Cycle Master : yes
IRM : yes
Bus Manager : no
Node[0-00:1023] GUID[000a270002046dad]:
Vendor ID: `Apple Computer, Inc.' [0x000a27]
Capabilities: 0x0083c0
Bus Options:
IRMC(0) CMC(0) ISC(0) BMC(0) PMC(0) GEN(0)
LSPD(2) MAX_REC(2048) CYC_CLK_ACC(255)
Unit Directory 0:
Vendor/Model ID: Apple Computer, Inc. [000a27] / iPod [000000]
Software Specifier ID: 00609e
Software Version: 010483
Driver: SBP2 Driver
Length (in quads): 8


Anything else I can post that could help?
DS2K3
tail -f /var/log/messages (as root) - then plug in the iPod and see what it says. Hopefully it will say what's going wrong...

D
ncsuapex
results

Feb 12 16:07:49 myhostname kernel: ieee1394: sbp2: Logged out of SBP-2 device
Feb 12 16:07:58 myhostname kernel: ieee1394: sbp2: Logged into SBP-2 device
Feb 12 16:07:58 myhostname ieee1394.agent[22285]: sbp2: already loaded

I changed the hostname to "myhostname" in the above lines.
DS2K3
Is it possible for you to plug it into USB? If not dont worry, but it might be interesting to see what it says

D
ncsuapex
only firewire.. sorry
DS2K3
Well, it doesnt look like there is anything going wrong with the actual detection of the device, just the mounting. "Not a vlaid block device" could mean that the iPod's drive is corrupted (Although I have got thaty error a lot using Linux when Windows copes fine) or that the system is trying to use the wrong driver to communicate with the iPod and is getting confused.

I dont ahve an iPod though, so hopefully someone who knows more about it will be able to help.

Good Luck

D
ncsuapex
Ok,

I found out on another board that my old kernel would not support firewire so I upgraded to kernel 2.6.8. It seemed to connect for a brief minute. I was able to do a ls-al on /mnt/ipod and it listed my mp3s. But i was unable to cd to /mnt/ipod, even with sudo. I even changed the permissions of the DIR to 755 and it still would not let me CD to /mnt/ipod. So I unplugged it. plugged it back in and reset it and now its not mounting the mount point. I get:

sudo mount -t vfat /dev/sda2 /mnt/ipod
mount: special device /dev/sda2 does not exist

That was the same mount command I used to mount it a few minutes ago when I was able to ls -al on /mnt/ipod.

here is my tail command

sudo tail -f /var/log/messages


Feb 13 22:12:48 70chip kernel: SMB connection re-established (-5)
Feb 13 22:12:48 70chip last message repeated 2 times
Feb 13 22:14:15 70chip kernel: scsi1 : SCSI emulation for IEEE-1394 SBP-2 Devices
Feb 13 22:14:16 70chip kernel: ieee1394: sbp2: Logged into SBP-2 device
Feb 13 22:14:16 70chip kernel: Vendor: Apple Model: iPod Rev: 1.31
Feb 13 22:14:16 70chip kernel: Type: Direct-Access ANSI SCSI revision: 02
Feb 13 22:14:16 70chip kernel: SCSI device sdb: 39062520 512-byte hdwr sectors (20000 MB)
Feb 13 22:14:16 70chip kernel: sdb: test WP failed, assume Write Enabled
Feb 13 22:14:17 70chip kernel: /dev/scsi/host1/bus0/target0/lun0: p1 p2 p3
Feb 13 22:14:17 70chip kernel: Attached scsi removable disk sdb at scsi1, channel 0, id 0, lun 0
Feb 13 22:14:18 70chip scsi.agent[3866]: disk at /devices/pci0000:00/0000:00:0a.0/fw-host0/000a270002046dad/000a270002046dad-0/host1/1:0:0:0
Feb 13 22:14:40 70chip kernel: scsi2 : SCSI emulation for IEEE-1394 SBP-2 Devices
Feb 13 22:14:41 70chip kernel: ieee1394: sbp2: Logged into SBP-2 device
Feb 13 22:14:41 70chip kernel: Vendor: Apple Model: iPod Rev: 1.31
Feb 13 22:14:41 70chip kernel: Type: Direct-Access ANSI SCSI revision: 02
Feb 13 22:14:41 70chip kernel: SCSI device sdb: 39062520 512-byte hdwr sectors (20000 MB)
Feb 13 22:14:41 70chip kernel: sdb: test WP failed, assume Write Enabled
Feb 13 22:14:41 70chip kernel: /dev/scsi/host2/bus0/target0/lun0: p1 p2 p3
Feb 13 22:14:42 70chip kernel: Attached scsi removable disk sdb at scsi2, channel 0, id 0, lun 0
Feb 13 22:14:42 70chip scsi.agent[4110]: disk at /devices/pci0000:00/0000:00:0a.0/fw-host0/000a270002046dad/000a270002046dad-0/host2/2:0:0:0
Feb 13 22:15:52 70chip kernel: scsi3 : SCSI emulation for IEEE-1394 SBP-2 Devices
Feb 13 22:15:53 70chip kernel: ieee1394: sbp2: Logged into SBP-2 device
Feb 13 22:15:53 70chip kernel: Vendor: Apple Model: iPod Rev: 1.31
Feb 13 22:15:53 70chip kernel: Type: Direct-Access ANSI SCSI revision: 02
Feb 13 22:15:53 70chip kernel: SCSI device sdc: 39062520 512-byte hdwr sectors (20000 MB)
Feb 13 22:15:53 70chip kernel: sdc: test WP failed, assume Write Enabled
Feb 13 22:15:54 70chip kernel: /dev/scsi/host3/bus0/target0/lun0: p1 p2 p3
Feb 13 22:15:54 70chip kernel: Attached scsi removable disk sdc at scsi3, channel 0, id 0, lun 0
Feb 13 22:17:43 70chip kernel: scsi4 : SCSI emulation for IEEE-1394 SBP-2 Devices
Feb 13 22:17:44 70chip kernel: ieee1394: sbp2: Logged into SBP-2 device
Feb 13 22:17:44 70chip kernel: Vendor: Apple Model: iPod Rev: 1.31
Feb 13 22:17:44 70chip kernel: Type: Direct-Access ANSI SCSI revision: 02
Feb 13 22:17:44 70chip kernel: SCSI device sdc: 39062520 512-byte hdwr sectors (20000 MB)
Feb 13 22:17:44 70chip kernel: sdc: test WP failed, assume Write Enabled
Feb 13 22:17:45 70chip kernel: /dev/scsi/host4/bus0/target0/lun0: p1 p2 p3
Feb 13 22:17:45 70chip kernel: Attached scsi removable disk sdc at scsi4, channel 0, id 0, lun 0
Corey
I had that same error before, it was caused by not having the storage module loaded. What modules do you have loaded for it?
ncsuapex
Actually something weird has happened. /dev somehow got mounted on /.dev.


As a temp fix I just mv /.dev to /dev and was then able to mount the Ipod.
ncsuapex
I just had to post this error.

I got it to mount again but this is what df -k shows

/dev/sda2 19448804 -73786976294838142680 19512588 101% /media/ipod

tail on the error log shows below when I try to sync through gtkpod

smb_proc_readX_data: offset is larger than SMB_READX_MAX_PAD or negative!
smb_proc_readX_data: -59 > 64 || -59 < 0
smb_add_request: request [d21d4ec0, mid=29545] timed out!
smb_proc_readX_data: offset is larger than SMB_READX_MAX_PAD or negative!
smb_proc_readX_data: -59 > 64 || -59 < 0
smb_add_request: request [d21d4ec0, mid=29551] timed out!

i mounted by
mount /media/ipod

fstab

/dev/sda2 /media/ipod vfat rw,user,noauto 0 0
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2017 Invision Power Services, Inc.