Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Strange UDEV problem - device in dmesg but nothing in /dev
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
cpu
Tux's lil' helper
Tux's lil' helper


Joined: 09 Nov 2003
Posts: 122
Location: POLAND/ZG

PostPosted: Tue Dec 06, 2005 9:17 am    Post subject: Strange UDEV problem - device in dmesg but nothing in /dev Reply with quote

Hi
I have some problems with UDEV and my iRiver H320:
When I start my system and plug device to USB port I get in dmesg:
Code:
[  383.709888] usb 1-5: new high speed USB device using ehci_hcd and address 6
[  383.877633] scsi5 : SCSI emulation for USB Mass Storage devices
[  383.879093] usb-storage: device found at 6
[  383.879207] usb-storage: waiting for device to settle before scanning
[  384.037813] usbcore: registered new driver ub
[  388.870454]   Vendor: TOSHIBA   Model: MK2004GAL         Rev: JC10
[  388.870465]   Type:   Direct-Access                      ANSI SCSI revision: 00
[  388.872186] SCSI device sdb: 39063024 512-byte hdwr sectors (20000 MB)
[  388.872190] sdb: assuming drive cache: write through
[  388.873685] SCSI device sdb: 39063024 512-byte hdwr sectors (20000 MB)
[  388.873689] sdb: assuming drive cache: write through
[  388.873692]  sdb: sdb1
[  388.945925] Attached scsi disk sdb at scsi5, channel 0, id 0, lun 0
[  388.946888] usb-storage: device scan complete

But there is no new device in /dev such as sdb or sdb1!

I found strange think - when I do emerge --oneshot udev and plug device after that emerge i get the same info i dmesg but also new device in /dev !

I'm looking for help to resolve this strange UDEV bhavior!

Thanks in advance lukas

PS. Some uselufl info:

Code:
kappa cpu # emerge info
Portage 2.0.53 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14-gentoo-r3 i686)
=================================================================
System uname: 2.6.14-gentoo-r3 i686 AMD Athlon(tm)
Gentoo Base System version 1.12.0_pre11
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.16
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-r1
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="-march=athlon-xp -O3 -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/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="-march=athlon-xp -O3 -fomit-frame-pointer -ftracer -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LC_ALL="pl_PL.UTF-8"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext 7zip X acpi alsa apache2 apm arts audiofile avi bash-completion bdf berkdb bitmap-fonts browserplugin bzip2 cairo crypt cups curl dbus dvd effects emboss encode esd exif expat fam firefox flac foomaticdb fortran gdbm gecko-sdk gif gimpprint glitz glut gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml idn imagemagick imlib java javascript jce jpeg kde lcms libg++ libwww mad mikmod mmx mmxext mng motif mozsvg mp3 mpeg musicbrainz mysql nautilus ncurses nls nptl nsplugin ogg oggvorbis opengl oss pam pcre pdflib perl php png ppds python qt quicktime readline real sdl spell sqlite sse ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb utf8 vim-with-x vorbis win32codecs xine xml2 xv xvid zlib linguas_pl userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS


Code:
[ebuild   R   ] sys-fs/udev-072  (-selinux) -static 0 kB

[ebuild   R   ] sys-apps/dbus-0.60  +X -debug -doc +gtk -mono +python +qt +xml2 0 kB

[ebuild   R   ] sys-apps/coldplug-20040920  0 kB

[ebuild   R   ] sys-apps/hotplug-20040923-r1  0 kB

_________________
[img]http://imagegen.last.fm/top5-green/artists/cpu.gif[/img]
Back to top
View user's profile Send private message
fangorn
Veteran
Veteran


Joined: 31 Jul 2004
Posts: 1886

PostPosted: Tue Dec 06, 2005 9:47 am    Post subject: Reply with quote

Try setting RC_DEVICE_TARBALL="no" in /etc/conf.d/rc

Else UDEV is using the devices of the last running system. Which can be confusing.
Back to top
View user's profile Send private message
cpu
Tux's lil' helper
Tux's lil' helper


Joined: 09 Nov 2003
Posts: 122
Location: POLAND/ZG

PostPosted: Tue Dec 06, 2005 10:12 am    Post subject: Reply with quote

fangorn wrote:
Try setting RC_DEVICE_TARBALL="no" in /etc/conf.d/rc

Else UDEV is using the devices of the last running system. Which can be confusing.


I have RC_DEVICE_TARBALL="no" already in my /etc/conf.d/rc

But what about UDEV is using the devices of last running system ?
Back to top
View user's profile Send private message
cpu
Tux's lil' helper
Tux's lil' helper


Joined: 09 Nov 2003
Posts: 122
Location: POLAND/ZG

PostPosted: Tue Dec 06, 2005 11:56 am    Post subject: Reply with quote

I've found exactly the same problem:
https://forums.gentoo.org/viewtopic-p-2933970.html#2933970
Back to top
View user's profile Send private message
fangorn
Veteran
Veteran


Joined: 31 Jul 2004
Posts: 1886

PostPosted: Tue Dec 06, 2005 1:28 pm    Post subject: Reply with quote

I posted a possible reason there.

What I meant was that at shutdown makes a snapshot of everything in /dev so you can keep your hand generated devices if this option is "yes". If udev works properly for you, you will have less problems when deactivating this option, as the /dev tree will be built with only the currently active hardware.
Back to top
View user's profile Send private message
ianwilder
Tux's lil' helper
Tux's lil' helper


Joined: 30 Apr 2004
Posts: 121
Location: georgia.usa.earth

PostPosted: Tue Dec 06, 2005 3:04 pm    Post subject: Reply with quote

same problem here. :(
Back to top
View user's profile Send private message
cpu
Tux's lil' helper
Tux's lil' helper


Joined: 09 Nov 2003
Posts: 122
Location: POLAND/ZG

PostPosted: Tue Dec 06, 2005 3:33 pm    Post subject: Reply with quote

it doesn't metter when RC_DEVICE_TARBALL is set to "yes" or "no" cause UDEV simply don't work in this two cases I have to run manually udevstart while something is plugged to USB to have a proper device created in /dev
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum