ipod not automounted on breezy

Bug #19103 reported by Ernst Persson
8
Affects Status Importance Assigned to Milestone
gnome-volume-manager (Ubuntu)
Invalid
Medium
Martin Pitt

Bug Description

manually running pmount /dev/sdb2 works (except that it won't give it a name
like iPod or Ernst's iPod), but gnome-volume-manager doesn't work.

pmount gives:
/dev/sdb2 on /media/sdb2 type vfat
(rw,noexec,nosuid,nodev,quiet,shortname=winnt,uid=1000,gid=1000,umask=077,iocharset=utf8)

gnome-volume-manager:

manager.c/1423: New Device:
/org/freedesktop/Hal/devices/usb_device_5ac_1205_000A270014093580
manager.c/1423: New Device:
/org/freedesktop/Hal/devices/usb_device_5ac_1205_000A270014093580_if0
manager.c/1423: New Device:
/org/freedesktop/Hal/devices/usb_device_5ac_1205_000A270014093580_if0_scsi_host
manager.c/1423: New Device:
/org/freedesktop/Hal/devices/usb_device_5ac_1205_000A270014093580_if0_scsi_host_scsi_device_lun0
manager.c/1423: New Device: /org/freedesktop/Hal/devices/storage_model_iPod
manager.c/1429: not a mountable volume:
/org/freedesktop/Hal/devices/storage_model_iPod
manager.c/1473: Changed: /dev/sdb
manager.c/1371: Auto-mounting: /dev/sdb
mount: wrong fs type, bad option, bad superblock on /dev/sdb,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail or so

mount: wrong fs type, bad option, bad superblock on /dev/sdb,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail or so

dmesg:

[4296371.581000] usb 5-7: new high speed USB device using ehci_hcd and address 4
[4296371.914000] Initializing USB Mass Storage driver...
[4296371.921000] scsi6 : SCSI emulation for USB Mass Storage devices
[4296371.923000] usb-storage: device found at 4
[4296371.923000] usb-storage: waiting for device to settle before scanning
[4296371.923000] usbcore: registered new driver usb-storage
[4296371.923000] USB Mass Storage support registered.
[4296376.923000] Vendor: Apple Model: iPod Rev: 1.62
[4296376.923000] Type: Direct-Access ANSI SCSI revision
: 00
[4296376.928000] SCSI device sdb: 7999487 512-byte hdwr sectors (4096 MB)
[4296376.928000] sdb: Write Protect is off
[4296376.928000] sdb: Mode Sense: 64 00 00 08
[4296376.928000] sdb: assuming drive cache: write through
[4296376.936000] SCSI device sdb: 7999487 512-byte hdwr sectors (4096 MB)
[4296376.937000] sdb: Write Protect is off
[4296376.937000] sdb: Mode Sense: 64 00 00 08
[4296376.937000] sdb: assuming drive cache: write through
[4296376.937000] /dev/scsi/host6/bus0/target0/lun0: p1 p2
[4296377.391000] Attached scsi removable disk sdb at scsi6, channel 0, id 0, lun 0
[4296377.393000] usb-storage: device scan complete
[4296377.956000] UDF-fs: No partition found (1)
[4296378.355000] UDF-fs: No partition found (1)
[4296378.548000] Unable to identify CD-ROM format.
[4296378.685000] Unable to identify CD-ROM format.
[4296378.698000] FAT: utf8 is not a recommended IO charset for FAT filesystems,
filesystem will be case sensitive!
[4296378.716000] FAT: bogus logical sector size 2
[4296378.717000] VFS: Can't find a valid FAT filesystem on dev sdb.
[4296378.730000] FAT: bogus logical sector size 2
[4296378.731000] VFS: Can't find a valid FAT filesystem on dev sdb.
[4296378.768000] NTFS driver 2.1.22 [Flags: R/O MODULE].
[4296378.773000] NTFS-fs warning (device sdb): parse_options(): Option iocharset
 is deprecated. Please use option nls=<charsetname> in the future.
[4296378.774000] NTFS-fs error (device sdb): read_ntfs_boot_sector(): Primary bo
ot sector is invalid.
[4296378.775000] NTFS-fs error (device sdb): read_ntfs_boot_sector(): Mount opti
on errors=recover not used. Aborting without trying to recover.
[4296378.776000] NTFS-fs error (device sdb): ntfs_fill_super(): Not an NTFS volu me.
[4296378.790000] NTFS-fs error (device sdb): read_ntfs_boot_sector(): Primary bo
ot sector is invalid.
[4296378.790000] NTFS-fs error (device sdb): read_ntfs_boot_sector(): Mount opti
on errors=recover not used. Aborting without trying to recover.
[4296378.791000] NTFS-fs error (device sdb): ntfs_fill_super(): Not an NTFS volu me.
[4296378.828000] HFS+-fs: unable to find HFS+ superblock
[4296378.843000] HFS+-fs: unable to find HFS+ superblock
[4296378.870000] VFS: Can't find a HFS filesystem on dev sdb.
[4296378.885000] VFS: Can't find a HFS filesystem on dev sdb.
[4296378.898000] VFS: Can't find ext3 filesystem on dev sdb.
[4296378.918000] VFS: Can't find ext3 filesystem on dev sdb.
[4296378.953000] VFS: Can't find an ext2 filesystem on dev sdb.
[4296378.966000] VFS: Can't find an ext2 filesystem on dev sdb.
[4296379.024000] ReiserFS: sdb: warning: sh-2021: reiserfs_fill_super: can not f
ind reiserfs on sdb
[4296379.038000] ReiserFS: sdb: warning: sh-2021: reiserfs_fill_super: can not f
ind reiserfs on sdb
[4296379.084000] SGI XFS with ACLs, security attributes, realtime, large block n
umbers, no debug enabled
[4296379.084000] SGI XFS Quota Management subsystem
[4296379.094000] XFS: bad magic number
[4296379.095000] XFS: SB validate failed
[4296379.109000] XFS: bad magic number
[4296379.109000] XFS: SB validate failed
[4296379.133000] JFS: nTxBlock = 8096, nTxLock = 64773

Revision history for this message
Ernst Persson (ernstp) wrote :

Lots of udev, hal and g-v-m updates lately. Still not working.
Neither is my camera automounted. It's data is on sdb1.

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

Can you please do

  lshal > lshal.txt

while the iPod is attached and attach lshal.txt here to this bug?

Revision history for this message
Ernst Persson (ernstp) wrote :

Created an attachment (id=3227)
Output of lshal

As a bonus, you get lshal with both my camera (usb-filesystem) and iPod mini
attached.

Revision history for this message
Ernst Persson (ernstp) wrote :

lshal says
  block.device = '/dev/sdb' (string)
about my iPod, and that's exactly what gnome-volume-manager is trying to mount.

manager.c/1492: New Device: /org/freedesktop/Hal/devices/storage_model_iPod
manager.c/1515: not a mountable volume:
/org/freedesktop/Hal/devices/storage_model_iPod
manager.c/1559: Changed: /dev/sdb
manager.c/1378: Auto-mounting: /dev/sdb

But nothing called /dev/sdb will ever be mounted, partitions are on /dev/sdbX,
/dev/sdb2 in the case of my iPod, and 1 in the case of my camera.

f-disk output from my iPod, in swedish. :-)

Disk /dev/sdb: 4095 MB, 4095737344 byte
255 huvuden, 63 sektorer/spår, 497 cylindrar
Enheter = cylindrar av 16065 × 512 = 8225280 byte

    Enhet Start Början Slut Block Id System
/dev/sdb1 * 1 5 40131 0 Tom
/dev/sdb2 * 6 497 3951990 b W95 FAT32

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

Please check the following: if the iPod is plugged in, do

  ls -l /dev/sda*

also check if you have

  /etc/udev/scripts/removable.sh

I strongly assume that the devices are not in group "plugdev" and removable.sh
is missing. This looks like a dup of #13520, but please confirm this first.

Revision history for this message
Patrice Vetsel (vetsel-patrice) wrote :

please upgrade to udev (0.060-1ubuntu6) breezy; urgency=low
and test is the bug is resolved

Revision history for this message
Ernst Persson (ernstp) wrote :

sda is my serial ata disk, sdb would be my iPod.
I am in the plugdev group, has allways been, and
as I said "pmount /dev/sdb2" works.

ls /dev/sdb* -l
brw-rw---- 1 root floppy 8, 16 2005-08-17 09:47 /dev/sdb
brw-rw---- 1 root disk 8, 17 2005-08-17 09:47 /dev/sdb1
brw-rw---- 1 root disk 8, 18 2005-08-17 09:47 /dev/sdb2

I don't have the script /etc/udev/scripts/removable.sh

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

OK, thanks for checking again. Please upgrade udev to the latest version to fix
this.

This bug has been marked as a duplicate of bug 19762.

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.