Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 122582

Summary: no longer able to mount some usb media
Product: Gentoo Linux Reporter: far jump <far.jmp>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: 2005.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description far jump 2006-02-12 10:40:11 UTC
After moving to 2.6.14 SCM Microsystems, Inc. USBAT-2 CompactFlash Card Reader no longer mounts.  SanDisk cruzer 256 continues to mount at /media/256MG

I have 4 computers 2) Pentium III & 2) Pentium 4 all experienced the same problem.  The usb media mounted w/o problems.  after going to 2.6.14 w/ USBAT-02 compiled in the kernel - the system sees the hardware but fails to assign it a psudeo scsi mount point and then mount it.  They all continue to see the Sandisk cruzer.  (HOWEVER, only root can access the scandisk cruzer 256k)

>lsusb
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 004: ID 04e6:1010 SCM Microsystems, Inc. USBAT-2 CompactFlash Card Reader
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 007: ID 0781:5150 SanDisk Corp.
Bus 001 Device 001: ID 0000:0000

>gmesg (just tail)
usb 1-6: new high speed USB device using ehci_hcd and address 7
scsi6 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 7
usb-storage: waiting for device to settle before scanning
usb 3-2: new full speed USB device using uhci_hcd and address 4
scsi7 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
  Vendor: SanDisk   Model: Cruzer Mini       Rev: 0.1
  Type:   Direct-Access                      ANSI SCSI revision: 02
SCSI device sdb: 501759 512-byte hdwr sectors (257 MB)
sdb: Write Protect is off
sdb: Mode Sense: 03 00 00 00
sdb: assuming drive cache: write through
SCSI device sdb: 501759 512-byte hdwr sectors (257 MB)
sdb: Write Protect is off
sdb: Mode Sense: 03 00 00 00
sdb: assuming drive cache: write through
 sdb: sdb1
Attached scsi removable disk sdb at scsi6, channel 0, id 0, lun 0
Attached scsi generic sg1 at scsi6, channel 0, id 0, lun 0,  type 0
usb-storage: device scan complete
usb 3-2: reset full speed USB device using uhci_hcd and address 4
usb 3-2: reset full speed USB device using uhci_hcd and address 4
usb 3-2: reset full speed USB device using uhci_hcd and address 4

> tail /var/log/messages (edited)
Feb 12 13:37:58 sphere usb 1-6: new high speed USB device using ehci_hcd and address 9
Feb 12 13:37:58 sphere scsi8 : SCSI emulation for USB Mass Storage devices
Feb 12 13:37:58 sphere usb-storage: device found at 9
Feb 12 13:37:58 sphere usb-storage: waiting for device to settle before scanning
Feb 12 13:37:58 sphere ivman: New Device: /org/freedesktop/Hal/devices/usb_device_781_5150_SNDK4CC844079A500702
Feb 12 13:37:58 sphere ivman: /org/freedesktop/Hal/devices/usb_device_781_5150_SNDK4CC844079A500702 wasn't mounted, by us or by others...
Feb 12 13:37:58 sphere ivman: New Device: /org/freedesktop/Hal/devices/usb_device_781_5150_SNDK4CC844079A500702_if0
Feb 12 13:37:58 sphere ivman: /org/freedesktop/Hal/devices/usb_device_781_5150_SNDK4CC844079A500702_if0 wasn't mounted, by us or by others...

Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
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.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -mcpu=i686 -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/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://barad-dur/gentoo-portage"
USE="x86 X a52 alsa apm audiofile avi berkdb bitmap-fonts bzip2 cdr cdrw crypt cups curl divx4linux dts dv dvd dvdread dvdrw eds emboss encode exif expat fam fame ffmpeg flac foomaticdb fortran gd gdbm gif glut gmp gpm gstreamer gtk2 hal hpijs idn imlib ipv6 java jpeg kde lcms libg++ libwww mad matroska mikmod mng motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl png postgres ppds python qt quicktime readline ruby samba sdl slang spell ssl subtitles svga tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis xine xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-12 10:48:22 UTC
Reopen if you can reproduce the problem with latest gentoo-sources/vanilla sources  (2.6.15-r5/2.6.16_rc2) and attach (don't paste) your kernel .config
Comment 2 far jump 2006-02-12 11:23:55 UTC
(In reply to comment #1)
> Reopen if you can reproduce the problem with latest gentoo-sources/vanilla
> sources  (2.6.15-r5/2.6.16_rc2) and attach (don't paste) your kernel .config
> 

emerge only reports 2.6.15.r1  Will this do?

>emerge -s gentoo-sources
Searching...
[ Results for search key : gentoo-sources ]
[ Applications found : 1 ]

*  sys-kernel/gentoo-sources
      Latest version available: 2.6.15-r1
      Latest version installed: 2.6.15-r1
      Size of downloaded files: 39,086 kB
      Homepage:    http://dev.gentoo.org/~dsd/genpatches
      Description: Full sources including the gentoo patchset for the 2.6 kernel tree
      License:     GPL-2


Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-02-12 11:26:03 UTC
echo "sys-kernel/gentoo-sources" >> /etc/portage/package.keywords
Comment 4 far jump 2006-02-12 11:53:36 UTC
(In reply to comment #3)
> echo "sys-kernel/gentoo-sources" >> /etc/portage/package.keywords
> 

almost there: that will get me to r4

>echo "sys-kernel/gentoo-sources" >> /etc/portage/package.keywords
barad-dur->Curr Dir: /root
>emerge -s gentoo-sources
Searching...
[ Results for search key : gentoo-sources ]
[ Applications found : 1 ]

*  sys-kernel/gentoo-sources
      Latest version available: 2.6.15-r4
      Latest version installed: 2.6.15-r1
      Size of downloaded files: 117,302 kB
      Homepage:    http://dev.gentoo.org/~dsd/genpatches
      Description: Full sources including the gentoo patchset for the 2.6 kernel tree
      License:     GPL-2


barad-dur->Curr Dir: /etc/portage
>cat package.*
>=net-misc/openswan-2.3.1 ~x86
>=sys-apps/iproute2-2.6.11.20050330 ~x86
sys-kernel/gentoo-sources
<=net-misc/openswan-2.2.0
<sys-apps/iproute2-2.6.11.20050330
sys-libs/glibc userlocales
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-02-12 12:02:11 UTC
sigh... Please, reopen when you have the requested information available, not every time you cannot emerge kernel.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-02-12 12:03:25 UTC
And if you are missing versions mentioned in comment #1, you need to emerge sync
Comment 7 far jump 2006-02-12 15:53:18 UTC
(In reply to comment #6)
> And if you are missing versions mentioned in comment #1, you need to emerge
> sync
> 
successfully emerge desired version of gentoo.  This has solved the problem. However, It will only allow root to access the mount point.  I assume that this has nothing to do with this problem.  And will attempt to resolve before I post a new bug ... unless of course you have any suggestions :0)
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-02-12 15:58:43 UTC
(In reply to comment #7)
> successfully emerge desired version of gentoo.  This has solved the problem.

Sounds good, thanks for testing.

> However, It will only allow root to access the mount point.  I assume that this
> has nothing to do with this problem.  And will attempt to resolve before I post
> a new bug ... unless of course you have any suggestions :0)
> 

Yeah, file a new bug , since it's a different issue. Closing this one.