Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111890 - udev-0.73 breaks USB removable mount under Gnome
Summary: udev-0.73 breaks USB removable mount under Gnome
Status: RESOLVED DUPLICATE of bug 107784
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on: 113825
Blocks:
  Show dependency tree
 
Reported: 2005-11-08 09:14 UTC by Marc Geerlings
Modified: 2005-11-28 12:06 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Logs of udevmonitor for udev-072 vs udev-073 (udevmonitor.log,2.88 KB, text/plain)
2005-11-10 17:00 UTC, Pierre Poissinger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Geerlings 2005-11-08 09:14:05 UTC
After the install of udev-0.73 Gnome won't mount my USB-Stick, both auto
mounting and manual mounting doesn't work. Manual gives a error message window
with the error (Unable to mount, unknown filesystem: jfs). Going back to
udev-072 fixes hte problem

Reproducible: Always
Steps to Reproduce:
1. Put a USB Stick in
2. mount the Stick by clicking the device icon under My Computer or the Disk applet
3. 

Actual Results:  
Doesn't recognize the USB-Stick filesystem (Stick itself is recognized)

Expected Results:  
Mount the USB stick


Portage 2.0.53_rc7 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-gentoo x86_64)
=================================================================
System uname: 2.6.14-gentoo x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-mtune=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac accesibility accessibility acpi alsa audiofile avi berkdb
bitmap-fonts bzip2 cairo cdparanoia cdr crypt cups curl daap dbus dpms dv dvd
dvdr dvdread eds emboss emul-linux-x86 encode esd evo exif expat fam ffmpeg
foomaticdb fortran gb gcj gif glitz glut gnome gnutls gphoto2 gpm gstreamer gtk
gtk2 gtkhtml guile hal howl idn ieee1394 imagemagick imap imlib ipv6 java
javascript joystick jpeg lcms ldap lua lzw lzw-tiff mad mime mng mozilla mp3
mpeg ncurses nls nptl nsplugin ogg openal opengl pam pcmcia pcre pdflib perl png
python quicktime readline recode samba scanner sdl sndfile sockets sox speex
spell ssl svg tcpd theora threads tiff truetype truetype-fonts type1-fonts udev
unicode usb userlocales v4l vcd vorbis wifi wmf wxwindows xinerama xml xml2 xosd
xpm xrandr xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-11-08 12:13:01 UTC
It did the same for me.
Comment 2 Pierre Poissinger 2005-11-10 16:01:43 UTC
Got the same problem, it seems that my system create the good node (aka
/dev/sda1) but for a unknow reason try to mount /dev/sda (instead of /dev/sda1)

This problems seems to appears with 2.6.14 

Dmesg:

usb 1-3: new high speed USB device using ehci_hcd and address 3
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver ub
  Vendor: PLEXTOR   Model: PlexFlash-2       Rev: 5.02
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sda: 499199 512-byte hdwr sectors (256 MB)
sda: Write Protect is off
sda: Mode Sense: 45 00 00 08
sda: assuming drive cache: write through
SCSI device sda: 499199 512-byte hdwr sectors (256 MB)
sda: Write Protect is off
sda: Mode Sense: 45 00 00 08
sda: assuming drive cache: write through
 sda: sda1
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0
usb-storage: device scan complete
UDF-fs: No VRS found
UDF-fs: No VRS found
Unable to identify CD-ROM format.
Unable to identify CD-ROM format.
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will
be case sensitive!
FAT: invalid media value (0xb9)
VFS: Can't find a valid FAT filesystem on dev sda.
FAT: invalid media value (0xb9)
VFS: Can't find a valid FAT filesystem on dev sda.
NTFS-fs warning (device sda): parse_options(): Option iocharset is deprecated.
Please use option nls=<charsetname> in the future.
NTFS-fs warning (device sda): is_boot_sector_ntfs(): Invalid boot sector checksum.
NTFS-fs error (device sda): read_ntfs_boot_sector(): Primary boot sector is invalid.
NTFS-fs error (device sda): read_ntfs_boot_sector(): Mount option errors=recover
not used. Aborting without trying to recover.
NTFS-fs error (device sda): ntfs_fill_super(): Not an NTFS volume.
NTFS-fs warning (device sda): is_boot_sector_ntfs(): Invalid boot sector checksum.
NTFS-fs error (device sda): read_ntfs_boot_sector(): Primary boot sector is invalid.
NTFS-fs error (device sda): read_ntfs_boot_sector(): Mount option errors=recover
not used. Aborting without trying to recover.
NTFS-fs error (device sda): ntfs_fill_super(): Not an NTFS volume.
VFS: Can't find ext3 filesystem on dev sda.
VFS: Can't find ext3 filesystem on dev sda.
VFS: Can't find an ext2 filesystem on dev sda.
VFS: Can't find an ext2 filesystem on dev sda.
ReiserFS: sda: warning: sh-2021: reiserfs_fill_super: can not find reiserfs on sda
ReiserFS: sda: warning: sh-2021: reiserfs_fill_super: can not find reiserfs on sda
SGI XFS with large block numbers, no debug enabled
XFS: bad magic number
XFS: SB validate failed
XFS: bad magic number
XFS: SB validate failed
JFS: nTxBlock = 4015, nTxLock = 32121
usb 1-3: USB disconnect, address 3
scsi0 (0:0): rejecting I/O to dead device
scsi0 (0:0): rejecting I/O to dead device
scsi0 (0:0): rejecting I/O to dead device
scsi0 (0:0): rejecting I/O to dead device
sda : READ CAPACITY failed.
sda : status=0, message=00, host=1, driver=00
sda : sense not available.
scsi0 (0:0): rejecting I/O to dead device
sda: Write Protect is off
sda: Mode Sense: 00 00 00 00
sda: assuming drive cache: write through
scsi0 (0:0): rejecting I/O to dead device
Comment 3 Pierre Poissinger 2005-11-10 16:20:10 UTC
My fault, this is not linked to 2.6.14 since I got same problem with 2.6.13 :)

Downgrade to udev-072 "fixes" the issue...
Comment 4 Pierre Poissinger 2005-11-10 17:00:03 UTC
Created attachment 72613 [details]
Logs of udevmonitor for udev-072 vs udev-073

In case it can have some use for anyone, the udevmonitor result of udev-072 /
udev-073 when stick is plugged.

The main diff is actually the order of the last add@/block/sda[/sda1]
Comment 5 John N. Laliberte (RETIRED) gentoo-dev 2005-11-12 15:58:14 UTC

*** This bug has been marked as a duplicate of 107784 ***
Comment 6 taskin 2005-11-21 12:11:17 UTC
can confirm that I had also problems with udev073 - looks buggy for me - after I
also downgraded to udev072 everything was fine - my USB2.0 external HDD works
perfekt then.

With udev073 the kernel recognized that I've plugged in a new USB2.0 device and
also noticed that it is /dev/sdc1 or sg0 or whatever but the /dev nodes were NOT
created!!!

Anyway - I'm sure the developers will fix this soon;-)

cheers,
Taskin

PS: Here is my portage info:

Portage 2.0.53_rc7 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14-
gentoo-r2n i686)
=================================================================
System uname: 2.6.14-gentoo-r2n i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.0_pre10
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share
/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kd
e/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/default
s/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://l
inux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/
gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mes
h-solutions.com/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ htt
p://gentoo.kems.net http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bonobo bzip2 
cdparanoia cdr cpudetection crypt cups curl directfb divx4linux dts dv dvb dvd d
vdr dvdread eds emboss encode esd evo exif expat fam ffmpeg flac foomaticdb fort
ran gd gdbm gif gimpprint glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml 
guile hal i8x0 idn imagemagick imlib ipv6 java jpeg junit kdepim lcms ldap libg+
+ libwww lirc mad mikmod mmx mng motif mozcalendar mozilla mp3 mpeg mysql mythtv
 ncurses nls ogg oggvorbis opengl oss pam pcre pda pdflib perl png ppds python q
uicktime readline real recode samba scanner sdl spell sse sse2 ssl svga tcltk tc
pd tiff truetype truetype-fonts type1-fonts udev usb v4l v4l2 vorbis win32codecs
 xine xml xml2 xmms xv xvid zlib video_cards_radeon userland_GNU kernel_linux el
ibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 7 John N. Laliberte (RETIRED) gentoo-dev 2005-11-27 12:24:16 UTC
*** Bug 113724 has been marked as a duplicate of this bug. ***
Comment 8 Mike Auty (RETIRED) gentoo-dev 2005-11-27 12:40:11 UTC
This looks as though it is because the internal event reordering that udev used
to do was taken out in version 073 (see the snippet of ChangeLog) below.  I'm
not certain however that this is in anyway related to the various and sundry
problems people have been having under bug #107784, which involved versions
below 073, and kernel pre-emption neither of which seem to be the issue here.

Summary of changes from v72 to v073
============================================

Kay Sievers:
      udevd: depend on netlink and remove all sequence reorder logic
      print useconds in udevmonitor
      add RELEASE-NOTES, update TODO

Unfortunately none of the further udev versions up to 076 (none of which are in
portage yet) seem to have any mention of putting this ordering back into udev.

Is this something that gnome-volume-manager must fix, or is it udev's fault? 
It's hard to tell exactly where the problem lies, does anyone else have any ideas?