iPod cannot be used in banshee/songbird/gtkpod

Bug #456996 reported by johnny b
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gvfs (Ubuntu)
Fix Released
Low
Martin Pitt

Bug Description

Binary package hint: gvfs

Description: Ubuntu 9.10
Release: 9.10
Linux shine-karmic 2.6.31-14-generic-pae #48-Ubuntu SMP Fri Oct 16 15:22:42 UTC 2009 i686 GNU/Linux
gvfs:
  Installed: 1.4.1-0ubuntu1
  Candidate: 1.4.1-0ubuntu1
  Version table:
 *** 1.4.1-0ubuntu1 0
        500 http://uk.archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

Plug in iPod (nano and 120Gig classic) get these errors in dmesg:
[ 6005.480448] VFS: Can't find a valid FAT filesystem on dev sdb1.
[ 6259.618242] FAT: invalid media value (0x2f)

Ipod mounts on desktop ok, but can't be used in songbird, banshee, exhaile, any iPod manager except for rhythmbox. Nautilus browses ipod directory fine.

fdisl -l /dev/sdb shows:
Disk /dev/sdb: 2047 MB, 2047868416 bytes
248 heads, 62 sectors/track, 260 cylinders
Units = cylinders of 15376 * 512 = 7872512 bytes
Disk identifier: 0x20202020

   Device Boot Start End Blocks Id System
/dev/sdb1 1 11 80293+ 0 Empty
Partition 1 has different physical/logical beginnings (non-Linux?):
     phys=(0, 1, 1) logical=(0, 1, 2)
Partition 1 has different physical/logical endings:
     phys=(9, 254, 63) logical=(10, 111, 8)
Partition 1 does not end on cylinder boundary.
/dev/sdb2 11 261 1919543+ b W95 FAT32
Partition 2 has different physical/logical beginnings (non-Linux?):
     phys=(10, 0, 7) logical=(10, 111, 15)
Partition 2 has different physical/logical endings:
     phys=(248, 247, 62) logical=(260, 31, 61)

sdb1 is the iPod's Operating System and GVFS is attempting to mount it, i believe. sdb2 is the vfat partition where the music lives.

mount shows:
/dev/sdb2 on /media/JBB-POD type vfat (rw,nosuid,nodev,uhelper=devkit,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush)

If I unmount the ipod (/media/JBB-POD) and then mount it manually:
sudo mount -t vfat -o rw,user,nosuid,nodev,uid=1000,gid=1000,shortname=mixed,dmask=0077,utf8=1,flush /dev/sdb2 /media/ipod/

Everything is fine. It can then be used by all iPod managers (songbird, banshee, etc).

I dualboot with Janunty (9.04) and everything is fine when iPod is mounted automatically.

ProblemType: Bug
Architecture: i386
Date: Wed Oct 21 03:07:29 2009
DistroRelease: Ubuntu 9.10
Package: gvfs 1.4.1-0ubuntu1
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic-pae
SourcePackage: gvfs
Uname: Linux 2.6.31-14-generic-pae i686

Tags: error gvfs ipod
Revision history for this message
johnny b (stepore) wrote :
affects: gvfs (Ubuntu) → devicekit-disks (Ubuntu)
Revision history for this message
johnny b (stepore) wrote :

anyone? anything?

I've installed a fresh Karmic (released today) on a new HP laptop. Same errors.

uhelper=devkit Is definitely the culprit. Mounting manually without it works. How can I fix this so the automount doesn't use it?

cheers.

Revision history for this message
Sebastian Martinez (tychocity) wrote :

same problem here. Ipod Nano white. I can mount manually the sdb2 partition

[187049.730671] usb 1-3: new high speed USB device using ehci_hcd and address 9
[187049.882605] usb 1-3: configuration #1 chosen from 2 choices
[187049.882976] scsi13 : SCSI emulation for USB Mass Storage devices
[187049.883079] usb-storage: device found at 9
[187049.883081] usb-storage: waiting for device to settle before scanning
[187054.880411] usb-storage: device scan complete
[187054.881269] scsi 13:0:0:0: Direct-Access Apple iPod 1.62 PQ: 0 ANSI: 0
[187054.881795] sd 13:0:0:0: Attached scsi generic sg2 type 0
[187054.885164] sd 13:0:0:0: [sdb] Adjusting the sector count from its reported value: 3999744
[187054.885170] sd 13:0:0:0: [sdb] 3999743 512-byte logical blocks: (2.04 GB/1.90 GiB)
[187054.886540] sd 13:0:0:0: [sdb] Write Protect is off
[187054.886543] sd 13:0:0:0: [sdb] Mode Sense: 68 00 00 08
[187054.886545] sd 13:0:0:0: [sdb] Assuming drive cache: write through
[187054.888252] sd 13:0:0:0: [sdb] Adjusting the sector count from its reported value: 3999744
[187054.889503] sd 13:0:0:0: [sdb] Assuming drive cache: write through
[187054.889507] sdb: sdb1 sdb2
[187054.894507] sd 13:0:0:0: [sdb] Adjusting the sector count from its reported value: 3999744
[187054.895753] sd 13:0:0:0: [sdb] Assuming drive cache: write through
[187054.895756] sd 13:0:0:0: [sdb] Attached SCSI removable disk
[187057.353112] FAT: invalid media value (0x2f)
[187057.353117] VFS: Can't find a valid FAT filesystem on dev sdb1.

Revision history for this message
Martin Pitt (pitti) wrote :

automount works, sot it's not a dk-disks bug. Tentatively assigning to gvfs.

Can you please copy&paste the output of "gvfs-mount -li" after an automount and after manually mounting?

affects: devicekit-disks (Ubuntu) → gvfs (Ubuntu)
Changed in gvfs (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
status: New → Incomplete
summary: - gvfs iPod error -- VFS: Can't find a valid FAT
+ iPod cannot be used in banshee/songbird
Revision history for this message
Sebastian Martinez (tychocity) wrote : Re: iPod cannot be used in banshee/songbird

today is working okay

sebas@wsftysing019:~$ gvfs-mount -li
Drive(0): Disquete
  Type: GProxyDrive (GProxyVolumeMonitorGdu)
  ids:
   unix-device: '/dev/fd0'
  themed icons: [drive-removable-media-floppy] [drive-removable-media] [drive-removable] [drive]
  is_media_removable=1
  has_media=0
  is_media_check_automatic=0
  can_poll_for_media=1
  can_eject=0
  can_start=0
  can_stop=0
  start_stop_type=unknown
Drive(1): Apple iPod
  Type: GProxyDrive (GProxyVolumeMonitorGdu)
  ids:
   unix-device: '/dev/sdb'
  themed icons: [multimedia-player] [multimedia]
  is_media_removable=1
  has_media=1
  is_media_check_automatic=1
  can_poll_for_media=1
  can_eject=1
  can_start=0
  can_stop=1
  start_stop_type=shutdown
  Volume(0): SEBAS
    Type: GProxyVolume (GProxyVolumeMonitorGdu)
    ids:
     uuid: '2140-BEA4'
     unix-device: '/dev/sdb2'
     label: 'SEBAS'
    themed icons: [multimedia-player] [multimedia]
    can_mount=1
    can_eject=1
    should_automount=1
    Mount(0): SEBAS -> file:///media/SEBAS
      Type: GProxyMount (GProxyVolumeMonitorGdu)
      themed icons: [multimedia-player] [multimedia]
      x_content_types: x-content/audio-player
      can_unmount=1
      can_eject=1
      is_shadowed=0
Drive(2): Unidad de CD/DVD
  Type: GProxyDrive (GProxyVolumeMonitorGdu)
  ids:
   unix-device: '/dev/sr0'
  themed icons: [drive-optical] [drive]
  is_media_removable=1
  has_media=0
  is_media_check_automatic=1
  can_poll_for_media=1
  can_eject=0
  can_start=0
  can_stop=0
  start_stop_type=unknown
Mount(0): incautado en wsftysing026 -> smb://wsftysing026/incautado/
  Type: GDaemonMount
  themed icons: [folder-remote] [folder]
  can_unmount=1
  can_eject=0
  is_shadowed=0
Mount(1): fuentes en nbsf000fss01 -> smb://nbsf000fss01/fuentes/
  Type: GDaemonMount
  themed icons: [folder-remote] [folder]
  can_unmount=1
  can_eject=0
  is_shadowed=0

Revision history for this message
Martin Pitt (pitti) wrote :

Thanks for confirming! I assume that one of the countless fixes right before the Karmic release did the trick then. :-)

Changed in gvfs (Ubuntu):
status: Incomplete → Fix Released
Changed in gvfs (Ubuntu):
importance: Undecided → Low
Revision history for this message
johnny b (stepore) wrote :

Thanks for joining the discussion, Martin and Sebastien.

Sadly, it's still not working automatically for me. I still get the exact same errors. The only work arounds that I have are either manually mounting it, or following these steps:
1. pkill nautilus
2. plug in iPod
3. open nautilus from terminal

Then, iPod shows on desktop and is useable by gtkpod, songbird, banshee, rhythmbox et al.

gvfs-mount -li gives me the exact same output after automounting and manually mounting:
Drive(0): Apple iPod
  Type: GProxyDrive (GProxyVolumeMonitorGdu)
  ids:
   unix-device: '/dev/sdb'
  themed icons: [multimedia-player] [multimedia]
  is_media_removable=1
  has_media=1
  is_media_check_automatic=1
  can_poll_for_media=1
  can_eject=1
  can_start=0
  can_stop=1
  start_stop_type=shutdown
  Volume(0): JBB-POD
    Type: GProxyVolume (GProxyVolumeMonitorGdu)
    ids:
     uuid: 'E3DA-3DE1'
     unix-device: '/dev/sdb2'
     label: 'JBB-POD'
    themed icons: [multimedia-player] [multimedia]
    can_mount=1
    can_eject=1
    should_automount=1
    Mount(0): JBB-POD -> file:///media/JBB-POD
      Type: GProxyMount (GProxyVolumeMonitorGdu)
      themed icons: [multimedia-player] [multimedia]
      x_content_types: x-content/audio-player
      can_unmount=1
      can_eject=1
      is_shadowed=0
Drive(1): 320 GB Hard Disk
  Type: GProxyDrive (GProxyVolumeMonitorGdu)
  ids:
   unix-device: '/dev/sda'
  themed icons: [drive-harddisk-ata] [drive-harddisk] [drive]
  is_media_removable=0
  has_media=1
  is_media_check_automatic=0
  can_poll_for_media=0
  can_eject=0
  can_start=0
  can_stop=0
  start_stop_type=unknown
  Volume(0): win7
    Type: GProxyVolume (GProxyVolumeMonitorGdu)
    ids:
     uuid: '8EF46872F4685F09'
     unix-device: '/dev/sda2'
     label: 'win7'
    themed icons: [drive-harddisk-ata] [drive-harddisk] [drive]
    can_mount=1
    can_eject=0
    should_automount=0
  Volume(1): 10 GB Filesystem
    Type: GProxyVolume (GProxyVolumeMonitorGdu)
    ids:
     uuid: '4a984494-f2b0-4121-ae8d-055150f1b25d'
     unix-device: '/dev/sda6'
    themed icons: [drive-harddisk-ata] [drive-harddisk] [drive]
    can_mount=1
    can_eject=0
    should_automount=0
  Volume(2): 10 GB Filesystem
    Type: GProxyVolume (GProxyVolumeMonitorGdu)
    ids:
     uuid: '33118c72-0be9-446f-92de-22d2822a1021'
     unix-device: '/dev/sda7'
    themed icons: [drive-harddisk-ata] [drive-harddisk] [drive]
    can_mount=1
    can_eject=0
    should_automount=0
Drive(2): CD/DVD Drive
  Type: GProxyDrive (GProxyVolumeMonitorGdu)
  ids:
   unix-device: '/dev/sr0'
  themed icons: [drive-optical] [drive]
  is_media_removable=1
  has_media=0
  is_media_check_automatic=1
  can_poll_for_media=1
  can_eject=0
  can_start=0
  can_stop=0
  start_stop_type=unknown

summary: - iPod cannot be used in banshee/songbird
+ iPod cannot be used in banshee/songbird/gtkpod
Revision history for this message
chris (kriz3) wrote :

for me, i solved the problem by letting hal ignore the first partition of the ipod.
first, you need the label of the partition (replace '/dev/sdb1' by the device your ipod uses):
# lshal -u `hal-find-by-property --key block.device --string /dev/sdd1` | grep volume.label
   volume.label = 'iPod' (string)

create a fdi file in /etc/hal/fdi/policy/, e.g. ipod-ignore-firmware.fdi:
<?xml version="1.0" encoding="UTF-8" ?>
<deviceinfo version="0.2">
  <device>
    <match key="volume.label" string="iPod">
      <merge key="volume.ignore" type="bool">true</merge>
    </match>
  </device>
</deviceinfo>
replace "iPod" by the label you got with lshal.

at last, restart the hal daemon:
service hal restart

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.