View previous topic :: View next topic |
Author |
Message |
UncleVan n00b
Joined: 08 Feb 2011 Posts: 72
|
Posted: Fri Feb 17, 2012 11:24 pm Post subject: [urgent] sys-fs/udev-171-r5 breaks my systems - no keyboard! |
|
|
In the course of world update sys-fs/udev-164-r2 was replaced with sys-fs/udev-171-r5; afterwards my system got - all of a sudden - unusable in a very troublesome way: The keyboard simply stopped working - no login possible !
Downgrading to sys-fs/udev-164-r2 (via live CD + chroot) solves the problem; revdep-rebuild didnt report anything wrong.
I get this on two laptops with reproducable behavior: Thinkpad Edge 11 and Thinkpad T61; each with 2 different kernels: sys-kernel/gentoo-sources-3.1.10-r1 and sys-kernel/gentoo-sources-3.2.1-r2
Does no one else get this ?
What is going wrong here and what am I supposed to do - mask it ? Post a bug ?
Any hints/tips/links are appreciate !
Your UncleVan.
======================
Details: (dont include this in each reply) (ask for more)
- 1.) Im booting with initramfs (by genkernel):
Code: |
[IP-] [ ] sys-kernel/genkernel-3.4.20:0
[IP-] [ ] sys-apps/sysvinit-2.88-r2:0
[IP-] [ ] virtual/init-0:0
|
2.) During boot /etc/init.d/udev spits out some error messages about missing rules in "/run/udev/riles.d/..."; those are lines 119-121
Code: |
118 local f="$(get_rundir)/rules.d/90-network.rules"
119 echo "# This file disables network hotplug events calling" >> "${f}"
120 echo "# old-style openrc net scripts" >> "${f}"
121 echo "# as we use /etc/init.d/network to set up our network" >> "${f}"
|
where get_rundir() uses a new option of udevadmin info:
Code: |
72 get_rundir()
73 {
74 echo $(udevadm info --run)
75 }
|
which obviously evaluates to "/run/udev/" , which is more than strange... On my running system it says "/dev/.udev" , which is correct.
man /var/tmp/portage/sys-fs/udev-171-r5/image/usr/share/man/man8/udevadm.8.bz2 says:
Quote: |
--run
The udev runtime directory: /run/udev.
|
I've never heard of a /run directory - ???
--
3.) As I tried to press keys after boot, most of the gibberisch landed directly into the
/var/log/messages;but also some random text from source code (the alsa driver source, to be exactly ???).
4.) Besides this I find only one interesting message there:
Code: |
75112 Feb 17 21:19:22 superkiste /usr/sbin/gpm[6707]: *** info [daemon/startup.c(136)]:
75113 Feb 17 21:19:22 superkiste /usr/sbin/gpm[6707]: Started gpm successfully. Entered daemon mode.
75114 Feb 17 21:19:22 superkiste /usr/sbin/gpm[6707]: O0o.oops(): [daemon/old_main.c(58)]:
75115 Feb 17 21:19:22 superkiste /usr/sbin/gpm[6707]: Could not open /dev/input/mice.
|
which is reproducable on each laptop every time.
In the recovered systems it says:
Code: |
76217 Feb 17 21:35:05 superkiste /usr/sbin/gpm[6930]: *** info [daemon/startup.c(136)]:
76218 Feb 17 21:35:05 superkiste /usr/sbin/gpm[6930]: Started gpm successfully. Entered daemon mode.
76219 Feb 17 21:35:05 superkiste dbus[6825]: [system] Activating service name='org.freedesktop.PolicyKit1' (using servicehelper)
... etc
|
5.) In the case someone wants it:
Code: |
$ emerge --info
Portage 2.1.10.44 (default/linux/x86/10.0, gcc-4.5.3, glibc-2.13-r4, 3.1.10-gentoo-r1.bla i686)
=================================================================
System uname: Linux-3.1.10-gentoo-r1.bla-i686-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-2.0.3
Timestamp of tree: Tue, 14 Feb 2012 19:45:01 +0000
ccache version 3.1.6 [enabled]
app-shells/bash: 4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.7.2-r3, 3.1.4-r3
dev-util/ccache: 3.1.6
dev-util/cmake: 2.8.6-r4
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.0.3
sys-apps/openrc: 0.9.8.4
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.9.6-r3, 1.11.1
sys-devel/binutils: 2.21.1-r1
sys-devel/gcc: 4.5.3-r1
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc: 2.13-r4
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles news parallel-fetch sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ rsync://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ rsync://mirror.opteamax.de/gentoo/ rsync://gentoo.mirror.dkm.cz/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X aalib acl acpi alsa bash-completion berkdb branding bzip2 cairo cddb cli consolekit cracklib crypt cups cxx dbus dri fontconfig fortran gcj gdbm gif gpm gstreamer gtk iconv ipv6 jpeg libnotify lock mmx modules mudflap mysql ncurses nls nptl nptlonly opengl openmp pam pcre png policykit polkit pppd python readline sdl session sqlite sse ssl startup-notification svg symlink sysfs tcl tcpd threads thunar tiff tk truetype udev unicode usb use:unicode v4l vaapi vim-syntax win32codecs wmf x86 xinerama xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
|
|
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Sat Feb 18, 2012 12:11 am Post subject: |
|
|
Well, there are a few false assumptions in your post.
Pointing out all of them would take too long, but:
- a writable /run directory is required
- if your / and /usr are separate partitions, your initramfs needs to mount it (note: initramfs by genkernel tends to be bad)
- CONFIG_DEVTMPFS is required in udev 181 (so better to set it now)
Did the keyboard stopped working only in X or in console too ?
Anyway, it sounds as if udev did not start. |
|
Back to top |
|
|
UncleVan n00b
Joined: 08 Feb 2011 Posts: 72
|
Posted: Sat Feb 18, 2012 1:18 pm Post subject: Thanks for the proper response ! |
|
|
Here some further info:
1. Right after boot there is no responce from the keybouard/mouse/trackpoint - no login possible; ergo - no X
2.
Code: |
$ zcat /proc/config.gz | grep DEVTMP
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
|
3. I dont understand your point about the "writable /run" directory. Pls note: /run under / (root).
There is no such one listed in the File System Hierarchy Standard (FHS) - http://www.pathname.com/fhs/pub/fhs-2.3.html. Who/what is in charge to create "/run" then ?
As far as I know there is only the "/var/run" needed. Is there a new bayse layout ? Im using "sys-apps/baselayout-2.0.3".
In the "old" udev (sys-fs/udev-164-r2:0) the rules in question exists in the "/dev/.udev" where "/dev" is a standard directory.
4. Using separate partition only for /boot
5. Im using genkernel for initramfs because this was configured by some initial live system and I can hardly redo the whole init script manually. I would prefer to boot entirely without it, but didnt find info & time to experiment...
6. I simply cant imagine why a system running well for the last 2 years gets broken in such a rude way. There must be something inportant Ive missed - but what ? Some obscure kernel setting ?
7. Apparently udev fails ; digging for a while in the code one should admit that v171 is a major upgrade though...
Again : Anyone else experiencing this ?
Any links/docs/info in this regard are highly appreciated .
Thanks in advance: UncleVan.
PS: I was pretty upset because this happens middle of negotiations - silly me - dont mind... |
|
Back to top |
|
|
Dr.Willy Guru
Joined: 15 Jul 2007 Posts: 547 Location: NRW, Germany
|
Posted: Mon Feb 27, 2012 12:09 pm Post subject: |
|
|
I think I have the same problem. No fix yet.
The /run directory is just a directory used by udev instead of /dev/.udev if it exists. Google if you want more info. |
|
Back to top |
|
|
Dr.Willy Guru
Joined: 15 Jul 2007 Posts: 547 Location: NRW, Germany
|
Posted: Mon Feb 27, 2012 3:54 pm Post subject: |
|
|
I just compared the two /run/udev directories before and after restarting udev:
before Code: | /run/udev
|-- data
| |-- c7:10
| |-- c7:11
| |-- c7:12
| |-- c7:130
| |-- c7:131
| |-- c7:132
| |-- c7:133
| |-- c7:134
| |-- c7:135
| |-- c7:136
| |-- c7:137
| |-- c7:138
| |-- c7:139
| |-- c7:140
| |-- c7:2
| |-- c7:3
| |-- c7:4
| |-- c7:5
| |-- c7:6
| |-- c7:7
| |-- c7:8
| `-- c7:9
|-- firmware-missing
| `-- iwlwifi-6000g2b-6.ucode -> /devices/pci0000:00/0000:00:1c.1/0000:03:00.0/firmware/0000:03:00.0
|-- links
| |-- cdrom
| |-- cdrw
| |-- disk\x2fby-id\x2fata-HL-DT-ST_DVDRAM_GT60N_KXKBB925545
| |-- disk\x2fby-id\x2fata-ST9500420AS_5VJFAAC3
| |-- disk\x2fby-id\x2fata-ST9500420AS_5VJFAAC3-part1
| |-- disk\x2fby-id\x2fata-ST9500420AS_5VJFAAC3-part2
| |-- disk\x2fby-id\x2fata-ST9500420AS_5VJFAAC3-part3
| |-- disk\x2fby-id\x2fata-ST9500420AS_5VJFAAC3-part4
| |-- disk\x2fby-id\x2fata-ST9500420AS_5VJFAAC3-part5
| |-- disk\x2fby-id\x2fscsi-SATA_ST9500420AS_5VJFAAC3
| |-- disk\x2fby-id\x2fscsi-SATA_ST9500420AS_5VJFAAC3-part1
| |-- disk\x2fby-id\x2fscsi-SATA_ST9500420AS_5VJFAAC3-part2
| |-- disk\x2fby-id\x2fscsi-SATA_ST9500420AS_5VJFAAC3-part3
| |-- disk\x2fby-id\x2fscsi-SATA_ST9500420AS_5VJFAAC3-part4
| |-- disk\x2fby-id\x2fscsi-SATA_ST9500420AS_5VJFAAC3-part5
| |-- disk\x2fby-id\x2fwwn-0x5000c50044f0dd84
| |-- disk\x2fby-id\x2fwwn-0x5000c50044f0dd84-part1
| |-- disk\x2fby-id\x2fwwn-0x5000c50044f0dd84-part2
| |-- disk\x2fby-id\x2fwwn-0x5000c50044f0dd84-part3
| |-- disk\x2fby-id\x2fwwn-0x5000c50044f0dd84-part4
| |-- disk\x2fby-id\x2fwwn-0x5000c50044f0dd84-part5
| |-- disk\x2fby-id\x2fwwn-0x5001480000000000
| |-- disk\x2fby-path\x2fpci-0000:00:1f.2-scsi-0:0:0:0
| |-- disk\x2fby-path\x2fpci-0000:00:1f.2-scsi-0:0:0:0-part1
| |-- disk\x2fby-path\x2fpci-0000:00:1f.2-scsi-0:0:0:0-part2
| |-- disk\x2fby-path\x2fpci-0000:00:1f.2-scsi-0:0:0:0-part3
| |-- disk\x2fby-path\x2fpci-0000:00:1f.2-scsi-0:0:0:0-part4
| |-- disk\x2fby-path\x2fpci-0000:00:1f.2-scsi-0:0:0:0-part5
| |-- disk\x2fby-path\x2fpci-0000:00:1f.2-scsi-2:0:0:0
| |-- disk\x2fby-uuid\x2f3c53f38f-7459-40aa-94c7-1ad1a2aa3b85
| |-- disk\x2fby-uuid\x2f3dc496eb-9211-43c6-b976-e00f1c2485a3
| |-- disk\x2fby-uuid\x2f6e7f3bc7-c106-49dd-87fb-22c249cdd658
| |-- disk\x2fby-uuid\x2fbac032fe-d0df-4c3f-832d-6dcf88235d18
| |-- dvd
| |-- dvdrw
| |-- input\x2fby-id\x2fusb-Logitech_USB_Optical_Mouse-event-mouse
| |-- input\x2fby-id\x2fusb-Logitech_USB_Optical_Mouse-mouse
| |-- input\x2fby-path\x2fpci-0000:00:1d.0-usb-0:1.2:1.0-event-mouse
| |-- input\x2fby-path\x2fpci-0000:00:1d.0-usb-0:1.2:1.0-mouse
| |-- input\x2fby-path\x2fplatform-i8042-serio-0-event-kbd
| |-- input\x2fby-path\x2fplatform-i8042-serio-2-event-mouse
| |-- input\x2fby-path\x2fplatform-i8042-serio-2-mouse
| |-- root
| |-- rtc
| |-- scd0
| `-- snd\x2fby-path\x2fpci-0000:00:1b.0
|-- rules.d
|-- tags
| `-- udev-acl
|-- watch
| |-- 10 -> b7:0
| |-- 11 -> b7:3
| |-- 12 -> b8:0
| |-- 13 -> b8:4
| |-- 15 -> b8:2
| |-- 19 -> b8:5
| |-- 20 -> b8:1
| |-- 22 -> b8:3
| |-- 4 -> b7:7
| |-- 5 -> b7:2
| |-- 6 -> b7:6
| |-- 7 -> b7:1
| |-- 8 -> b7:4
| `-- 9 -> b7:5
`-- queue.bin |
after Code: | /run/udev
|-- data
| |-- b11:0
| |-- b7:0
| |-- b7:1
| |-- b7:2
| |-- b7:3
| |-- b7:4
| |-- b7:5
| |-- b7:6
| |-- b7:7
| |-- b8:0
| |-- b8:1
| |-- b8:2
| |-- b8:3
| |-- b8:4
| |-- b8:5
| |-- c10:1
| |-- c10:175
| |-- c10:227
| |-- c10:228
| |-- c10:231
| |-- c10:235
| |-- c10:236
| |-- c10:237
| |-- c10:59
| |-- c10:60
| |-- c10:61
| |-- c10:62
| |-- c10:63
| |-- c1:1
| |-- c1:11
| |-- c116:2
| |-- c116:3
| |-- c116:33
| |-- c116:4
| |-- c116:5
| |-- c116:6
| |-- c1:3
| |-- c13:32
| |-- c13:33
| |-- c13:63
| |-- c13:64
| |-- c13:65
| |-- c13:66
| |-- c13:67
| |-- c13:68
| |-- c13:69
| |-- c13:70
| |-- c13:71
| |-- c1:4
| |-- c1:5
| |-- c1:7
| |-- c1:8
| |-- c189:0
| |-- c189:1
| |-- c189:128
| |-- c189:129
| |-- c189:130
| |-- c189:2
| |-- c189:3
| |-- c1:9
| |-- c2:0
| |-- c202:0
| |-- c202:1
| |-- c202:2
| |-- c202:3
| |-- c203:0
| |-- c203:1
| |-- c203:2
| |-- c203:3
| |-- c2:1
| |-- c2:10
| |-- c21:0
| |-- c2:11
| |-- c21:1
| |-- c2:12
| |-- c2:13
| |-- c2:14
| |-- c2:15
| |-- c2:16
| |-- c2:17
| |-- c2:18
| |-- c2:19
| |-- c2:2
| |-- c2:20
| |-- c2:21
| |-- c2:22
| |-- c2:23
| |-- c2:24
| |-- c2:25
| |-- c2:26
| |-- c226:0
| |-- c226:64
| |-- c2:27
| |-- c2:28
| |-- c2:29
| |-- c2:3
| |-- c2:30
| |-- c2:31
| |-- c2:32
| |-- c2:33
| |-- c2:34
| |-- c2:35
| |-- c2:36
| |-- c2:37
| |-- c2:38
| |-- c2:39
| |-- c2:4
| |-- c2:40
| |-- c2:41
| |-- c2:42
| |-- c2:43
| |-- c2:44
| |-- c2:45
| |-- c2:46
| |-- c2:47
| |-- c2:48
| |-- c2:49
| |-- c2:5
| |-- c2:50
| |-- c2:51
| |-- c251:0
| |-- c2:52
| |-- c2:53
| |-- c253:0
| |-- c253:1
| |-- c2:54
| |-- c254:0
| |-- c2:55
| |-- c2:56
| |-- c2:57
| |-- c2:58
| |-- c2:59
| |-- c2:6
| |-- c2:60
| |-- c2:61
| |-- c2:62
| |-- c2:63
| |-- c2:7
| |-- c2:8
| |-- c2:9
| |-- c29:0
| |-- c3:0
| |-- c3:1
| |-- c3:10
| |-- c3:11
| |-- c3:12
| |-- c3:13
| |-- c3:14
| |-- c3:15
| |-- c3:16
| |-- c3:17
| |-- c3:18
| |-- c3:19
| |-- c3:2
| |-- c3:20
| |-- c3:21
| |-- c3:22
| |-- c3:23
| |-- c3:24
| |-- c3:25
| |-- c3:26
| |-- c3:27
| |-- c3:28
| |-- c3:29
| |-- c3:3
| |-- c3:30
| |-- c3:31
| |-- c3:32
| |-- c3:33
| |-- c3:34
| |-- c3:35
| |-- c3:36
| |-- c3:37
| |-- c3:38
| |-- c3:39
| |-- c3:4
| |-- c3:40
| |-- c3:41
| |-- c3:42
| |-- c3:43
| |-- c3:44
| |-- c3:45
| |-- c3:46
| |-- c3:47
| |-- c3:48
| |-- c3:49
| |-- c3:5
| |-- c3:50
| |-- c3:51
| |-- c3:52
| |-- c3:53
| |-- c3:54
| |-- c3:55
| |-- c3:56
| |-- c3:57
| |-- c3:58
| |-- c3:59
| |-- c3:6
| |-- c3:60
| |-- c3:61
| |-- c3:62
| |-- c3:63
| |-- c3:7
| |-- c3:8
| |-- c3:9
| |-- c4:0
| |-- c4:1
| |-- c4:10
| |-- c4:11
| |-- c4:12
| |-- c4:13
| |-- c4:14
| |-- c4:15
| |-- c4:16
| |-- c4:17
| |-- c4:18
| |-- c4:19
| |-- c4:2
| |-- c4:20
| |-- c4:21
| |-- c4:22
| |-- c4:23
| |-- c4:24
| |-- c4:25
| |-- c4:26
| |-- c4:27
| |-- c4:28
| |-- c4:29
| |-- c4:3
| |-- c4:30
| |-- c4:31
| |-- c4:32
| |-- c4:33
| |-- c4:34
| |-- c4:35
| |-- c4:36
| |-- c4:37
| |-- c4:38
| |-- c4:39
| |-- c4:4
| |-- c4:40
| |-- c4:41
| |-- c4:42
| |-- c4:43
| |-- c4:44
| |-- c4:45
| |-- c4:46
| |-- c4:47
| |-- c4:48
| |-- c4:49
| |-- c4:5
| |-- c4:50
| |-- c4:51
| |-- c4:52
| |-- c4:53
| |-- c4:54
| |-- c4:55
| |-- c4:56
| |-- c4:57
| |-- c4:58
| |-- c4:59
| |-- c4:6
| |-- c4:60
| |-- c4:61
| |-- c4:62
| |-- c4:63
| |-- c4:7
| |-- c4:8
| |-- c4:9
| |-- c5:0
| |-- c5:1
| |-- c5:2
| |-- c7:0
| |-- c7:1
| |-- c7:10
| |-- c7:11
| |-- c7:12
| |-- c7:128
| |-- c7:129
| |-- c7:130
| |-- c7:131
| |-- c7:132
| |-- c7:133
| |-- c7:134
| |-- c7:135
| |-- c7:136
| |-- c7:137
| |-- c7:138
| |-- c7:139
| |-- c7:140
| |-- c7:2
| |-- c7:3
| |-- c7:4
| |-- c7:5
| |-- c7:6
| |-- c7:7
| |-- c7:8
| |-- c7:9
| |-- c89:0
| |-- c89:1
| |-- c89:10
| |-- c89:11
| |-- c89:12
| |-- c89:13
| |-- c89:14
| |-- c89:15
| |-- c89:2
| |-- c89:3
| |-- c89:4
| |-- c89:5
| |-- c89:6
| |-- c89:7
| |-- c89:8
| |-- c89:9
| |-- n1
| |-- n2
| |-- n3
| |-- n4
| |-- +pci:0000:00:1f.2
| |-- +serio:serio0
| `-- +sound:card0
|-- firmware-missing
| `-- iwlwifi-6000g2b-6.ucode -> /devices/pci0000:00/0000:00:1c.1/0000:03:00.0/firmware/0000:03:00.0
|-- links
| |-- cdrom
| | `-- b11:0
| |-- cdrw
| | `-- b11:0
| |-- disk\x2fby-id\x2fata-HL-DT-ST_DVDRAM_GT60N_KXKBB925545
| | `-- b11:0
| |-- disk\x2fby-id\x2fata-ST9500420AS_5VJFAAC3
| | `-- b8:0
| |-- disk\x2fby-id\x2fata-ST9500420AS_5VJFAAC3-part1
| | `-- b8:1
| |-- disk\x2fby-id\x2fata-ST9500420AS_5VJFAAC3-part2
| | `-- b8:2
| |-- disk\x2fby-id\x2fata-ST9500420AS_5VJFAAC3-part3
| | `-- b8:3
| |-- disk\x2fby-id\x2fata-ST9500420AS_5VJFAAC3-part4
| | `-- b8:4
| |-- disk\x2fby-id\x2fata-ST9500420AS_5VJFAAC3-part5
| | `-- b8:5
| |-- disk\x2fby-id\x2fscsi-SATA_ST9500420AS_5VJFAAC3
| | `-- b8:0
| |-- disk\x2fby-id\x2fscsi-SATA_ST9500420AS_5VJFAAC3-part1
| | `-- b8:1
| |-- disk\x2fby-id\x2fscsi-SATA_ST9500420AS_5VJFAAC3-part2
| | `-- b8:2
| |-- disk\x2fby-id\x2fscsi-SATA_ST9500420AS_5VJFAAC3-part3
| | `-- b8:3
| |-- disk\x2fby-id\x2fscsi-SATA_ST9500420AS_5VJFAAC3-part4
| | `-- b8:4
| |-- disk\x2fby-id\x2fscsi-SATA_ST9500420AS_5VJFAAC3-part5
| | `-- b8:5
| |-- disk\x2fby-id\x2fwwn-0x5000c50044f0dd84
| | `-- b8:0
| |-- disk\x2fby-id\x2fwwn-0x5000c50044f0dd84-part1
| | `-- b8:1
| |-- disk\x2fby-id\x2fwwn-0x5000c50044f0dd84-part2
| | `-- b8:2
| |-- disk\x2fby-id\x2fwwn-0x5000c50044f0dd84-part3
| | `-- b8:3
| |-- disk\x2fby-id\x2fwwn-0x5000c50044f0dd84-part4
| | `-- b8:4
| |-- disk\x2fby-id\x2fwwn-0x5000c50044f0dd84-part5
| | `-- b8:5
| |-- disk\x2fby-id\x2fwwn-0x5001480000000000
| | `-- b11:0
| |-- disk\x2fby-path\x2fpci-0000:00:1f.2-scsi-0:0:0:0
| | `-- b8:0
| |-- disk\x2fby-path\x2fpci-0000:00:1f.2-scsi-0:0:0:0-part1
| | `-- b8:1
| |-- disk\x2fby-path\x2fpci-0000:00:1f.2-scsi-0:0:0:0-part2
| | `-- b8:2
| |-- disk\x2fby-path\x2fpci-0000:00:1f.2-scsi-0:0:0:0-part3
| | `-- b8:3
| |-- disk\x2fby-path\x2fpci-0000:00:1f.2-scsi-0:0:0:0-part4
| | `-- b8:4
| |-- disk\x2fby-path\x2fpci-0000:00:1f.2-scsi-0:0:0:0-part5
| | `-- b8:5
| |-- disk\x2fby-path\x2fpci-0000:00:1f.2-scsi-2:0:0:0
| | `-- b11:0
| |-- disk\x2fby-uuid\x2f3c53f38f-7459-40aa-94c7-1ad1a2aa3b85
| | `-- b8:2
| |-- disk\x2fby-uuid\x2f3dc496eb-9211-43c6-b976-e00f1c2485a3
| | `-- b8:1
| |-- disk\x2fby-uuid\x2f6e7f3bc7-c106-49dd-87fb-22c249cdd658
| | `-- b8:5
| |-- disk\x2fby-uuid\x2fbac032fe-d0df-4c3f-832d-6dcf88235d18
| | `-- b8:3
| |-- dvd
| | `-- b11:0
| |-- dvdrw
| | `-- b11:0
| |-- input\x2fby-id\x2fusb-Logitech_USB_Optical_Mouse-event-mouse
| | `-- c13:71
| |-- input\x2fby-id\x2fusb-Logitech_USB_Optical_Mouse-mouse
| | `-- c13:33
| |-- input\x2fby-path\x2fpci-0000:00:1d.0-usb-0:1.2:1.0-event-mouse
| | `-- c13:71
| |-- input\x2fby-path\x2fpci-0000:00:1d.0-usb-0:1.2:1.0-mouse
| | `-- c13:33
| |-- input\x2fby-path\x2fplatform-i8042-serio-0-event-kbd
| | `-- c13:69
| |-- input\x2fby-path\x2fplatform-i8042-serio-2-event-mouse
| | `-- c13:70
| |-- input\x2fby-path\x2fplatform-i8042-serio-2-mouse
| | `-- c13:32
| |-- root
| | `-- b8:5
| |-- rtc
| | `-- c254:0
| |-- scd0
| | `-- b11:0
| `-- snd\x2fby-path\x2fpci-0000:00:1b.0
| `-- c116:6
|-- rules.d
| `-- 10-root-link.rules
|-- tags
| `-- udev-acl
| |-- b11:0
| |-- c116:2
| |-- c116:3
| |-- c116:33
| |-- c116:4
| |-- c116:5
| |-- c116:6
| |-- c21:1
| `-- c226:0
|-- watch
| |-- 10 -> b7:3
| |-- 11 -> b7:0
| |-- 12 -> b7:5
| |-- 13 -> b7:4
| |-- 14 -> b7:1
| |-- 15 -> b7:7
| |-- 16 -> b7:6
| |-- 17 -> b7:2
| |-- 4 -> b8:3
| |-- 5 -> b8:1
| |-- 6 -> b8:5
| |-- 7 -> b8:2
| |-- 8 -> b8:4
| `-- 9 -> b8:0
`-- queue.bin |
I guess the difference is fairly obvious.
Especially the /run/udev/links/input* part is suspicious imo. |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Mon Feb 27, 2012 4:21 pm Post subject: |
|
|
Let me repeat myself: Did the keyboard stopped working only in X or in console too ?
Also, anything interesting on "udevadm info" side for input nodes ? |
|
Back to top |
|
|
Dr.Willy Guru
Joined: 15 Jul 2007 Posts: 547 Location: NRW, Germany
|
Posted: Mon Feb 27, 2012 4:39 pm Post subject: |
|
|
VoidMage wrote: |
Let me repeat myself: Did the keyboard stopped working only in X or in console too ? |
The keyboard on the console works. Only X is affected.
VoidMage wrote: | Also, anything interesting on "udevadm info" side for input nodes ? |
Not sure what to look out for, but at first glance it looks ok.
Code: | # udevadm info -a -p $(udevadm info -q path -n /dev/input/by-path/pci-0000:00:1d.0-usb-0:1.2:1.0-event-mouse)
Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.
looking at device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/input/input7/event7':
KERNEL=="event7"
SUBSYSTEM=="input"
DRIVER==""
looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/input/input7':
KERNELS=="input7"
SUBSYSTEMS=="input"
DRIVERS==""
ATTRS{name}=="Logitech USB Optical Mouse"
ATTRS{phys}=="usb-0000:00:1d.0-1.2/input0"
ATTRS{uniq}==""
ATTRS{properties}=="0"
looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0':
KERNELS=="2-1.2:1.0"
SUBSYSTEMS=="usb"
DRIVERS=="usbhid"
ATTRS{bInterfaceNumber}=="00"
ATTRS{bAlternateSetting}==" 0"
ATTRS{bNumEndpoints}=="01"
ATTRS{bInterfaceClass}=="03"
ATTRS{bInterfaceSubClass}=="01"
ATTRS{bInterfaceProtocol}=="02"
ATTRS{supports_autosuspend}=="1"
looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2':
KERNELS=="2-1.2"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{configuration}==""
ATTRS{bNumInterfaces}==" 1"
ATTRS{bConfigurationValue}=="1"
ATTRS{bmAttributes}=="a0"
ATTRS{bMaxPower}=="100mA"
ATTRS{urbnum}=="12"
ATTRS{idVendor}=="046d"
ATTRS{idProduct}=="c018"
ATTRS{bcdDevice}=="4301"
ATTRS{bDeviceClass}=="00"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bDeviceProtocol}=="00"
ATTRS{bNumConfigurations}=="1"
ATTRS{bMaxPacketSize0}=="8"
ATTRS{speed}=="1.5"
ATTRS{busnum}=="2"
ATTRS{devnum}=="3"
ATTRS{devpath}=="1.2"
ATTRS{version}==" 2.00"
ATTRS{maxchild}=="0"
ATTRS{quirks}=="0x0"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{authorized}=="1"
ATTRS{manufacturer}=="Logitech"
ATTRS{product}=="USB Optical Mouse"
looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2/2-1':
KERNELS=="2-1"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{configuration}==""
ATTRS{bNumInterfaces}==" 1"
ATTRS{bConfigurationValue}=="1"
ATTRS{bmAttributes}=="e0"
ATTRS{bMaxPower}==" 0mA"
ATTRS{urbnum}=="32"
ATTRS{idVendor}=="8087"
ATTRS{idProduct}=="0024"
ATTRS{bcdDevice}=="0000"
ATTRS{bDeviceClass}=="09"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bDeviceProtocol}=="01"
ATTRS{bNumConfigurations}=="1"
ATTRS{bMaxPacketSize0}=="64"
ATTRS{speed}=="480"
ATTRS{busnum}=="2"
ATTRS{devnum}=="2"
ATTRS{devpath}=="1"
ATTRS{version}==" 2.00"
ATTRS{maxchild}=="6"
ATTRS{quirks}=="0x0"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{authorized}=="1"
looking at parent device '/devices/pci0000:00/0000:00:1d.0/usb2':
KERNELS=="usb2"
SUBSYSTEMS=="usb"
DRIVERS=="usb"
ATTRS{configuration}==""
ATTRS{bNumInterfaces}==" 1"
ATTRS{bConfigurationValue}=="1"
ATTRS{bmAttributes}=="e0"
ATTRS{bMaxPower}==" 0mA"
ATTRS{urbnum}=="24"
ATTRS{idVendor}=="1d6b"
ATTRS{idProduct}=="0002"
ATTRS{bcdDevice}=="0302"
ATTRS{bDeviceClass}=="09"
ATTRS{bDeviceSubClass}=="00"
ATTRS{bDeviceProtocol}=="00"
ATTRS{bNumConfigurations}=="1"
ATTRS{bMaxPacketSize0}=="64"
ATTRS{speed}=="480"
ATTRS{busnum}=="2"
ATTRS{devnum}=="1"
ATTRS{devpath}=="0"
ATTRS{version}==" 2.00"
ATTRS{maxchild}=="2"
ATTRS{quirks}=="0x0"
ATTRS{avoid_reset_quirk}=="0"
ATTRS{authorized}=="1"
ATTRS{manufacturer}=="Linux 3.2.1-gentoo-r2 ehci_hcd"
ATTRS{product}=="EHCI Host Controller"
ATTRS{serial}=="0000:00:1d.0"
ATTRS{authorized_default}=="1"
looking at parent device '/devices/pci0000:00/0000:00:1d.0':
KERNELS=="0000:00:1d.0"
SUBSYSTEMS=="pci"
DRIVERS=="ehci_hcd"
ATTRS{vendor}=="0x8086"
ATTRS{device}=="0x1c26"
ATTRS{subsystem_vendor}=="0x1b0a"
ATTRS{subsystem_device}=="0x2094"
ATTRS{class}=="0x0c0320"
ATTRS{irq}=="23"
ATTRS{local_cpus}=="f"
ATTRS{local_cpulist}=="0-3"
ATTRS{dma_mask_bits}=="32"
ATTRS{consistent_dma_mask_bits}=="32"
ATTRS{enable}=="1"
ATTRS{broken_parity_status}=="0"
ATTRS{msi_bus}==""
ATTRS{companion}==""
ATTRS{uframe_periodic_max}=="100"
looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS=="" |
|
|
Back to top |
|
|
Dr.Willy Guru
Joined: 15 Jul 2007 Posts: 547 Location: NRW, Germany
|
Posted: Mon Feb 27, 2012 4:47 pm Post subject: |
|
|
UncleVan, could you please post your /etc/fstab |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Mon Feb 27, 2012 8:18 pm Post subject: |
|
|
@Dr.Willy: try again, without '-a'...and I thought we were talking about keyboard, or is the mouse affected too ? |
|
Back to top |
|
|
Aquous l33t
Joined: 08 Jan 2011 Posts: 700
|
Posted: Mon Feb 27, 2012 8:26 pm Post subject: |
|
|
Remove the /run directory.
(Yes, really.) |
|
Back to top |
|
|
Dr.Willy Guru
Joined: 15 Jul 2007 Posts: 547 Location: NRW, Germany
|
Posted: Mon Feb 27, 2012 8:40 pm Post subject: |
|
|
VoidMage wrote: | @Dr.Willy: try again, without '-a'...and I thought we were talking about keyboard, or is the mouse affected too ? |
Without -a returns 'missing option'.
And it affects every input device (i.e. keyboard, mouse, touchpad). The acpi events for the power buttons work though. |
|
Back to top |
|
|
UncleVan n00b
Joined: 08 Feb 2011 Posts: 72
|
Posted: Mon Feb 27, 2012 9:02 pm Post subject: |
|
|
I managed to find out the error source for non-working keyboard (though I cant find the reason) + some bugs in the /etc/init.d/udev
1. the driver i8042 (keyboard controller) does not autoload (there was a reason for not compile it into the kernel) and so serio atkbd etc. doesnt too. Here some log with the udev 164 version:
Code: |
Feb 27 00:58:33 superkiste kernel: [ 9.180425] udev[5263]: starting version 164
Feb 27 00:58:33 superkiste kernel: [ 9.763791] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
Feb 27 00:58:33 superkiste kernel: [ 9.773630] serio: i8042 KBD port at 0x60,0x64 irq 1
Feb 27 00:58:33 superkiste kernel: [ 9.773725] serio: i8042 AUX port at 0x60,0x64 irq 12
Feb 27 00:58:33 superkiste kernel: [ 10.644784] input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio1/input/input5
Feb 27 00:58:33 superkiste kernel: [ 10.653501] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input6
Feb 27 00:58:33 superkiste kernel: [ 16.257427] input: TPPS/2 IBM TrackPoint as /devices/platform/i8042/serio1/serio2/input/input7
|
These are completely missing in version 171. Some missing rule ? I didnt succeed to atoload it from /etc/conf.d/modules.
On a running system the events seem to get triggered:
Code: |
$ /var/tmp/portage/sys-fs/udev-171-r5/image/sbin/udevadm trigger --dry-run -v | grep 8042
/sys/devices/platform/i8042
/sys/devices/platform/i8042/serio0
/sys/devices/platform/i8042/serio0/input/input6
/sys/devices/platform/i8042/serio0/input/input6/event6
/sys/devices/platform/i8042/serio1
/sys/devices/platform/i8042/serio1/input/input5
/sys/devices/platform/i8042/serio1/input/input5/event5
/sys/devices/platform/i8042/serio1/input/input5/mouse0
/sys/devices/platform/i8042/serio1/serio2
/sys/devices/platform/i8042/serio1/serio2/input/input7
/sys/devices/platform/i8042/serio1/serio2/input/input7/event7
/sys/devices/platform/i8042/serio1/serio2/input/input7/mouse1
|
1.) There is an obvios bug in /etc/init.d/udev (v171); function start_pre() which - possibly - makes the migration from /dev/.udev to /run/udev a trouble:
Code: |
110 start_pre()
111 {
112 if [ -d /run ]; then
113 checkpath -d -m 0755 -o root:root -q /run/udev
114 fi
115
116 if is_service_enabled network; then
117 # disable network hotplugging
118 local f="$(get_rundir)/rules.d/90-network.rules"
119 echo "# This file disables network hotplug events calling" >> "${f}"
120 echo "# old-style openrc net scripts" >> "${f}"
121 echo "# as we use /etc/init.d/network to set up our network" >> "${f}"
122 fi
123
124 if [ ! -e /etc/runlevels/${RC_DEFAULTLEVEL:-default}/udev-postmount ]; then
125 ewarn "You should add udev-postmount service to your default runlevel."
126 fi
127
128 /lib/udev/write_root_link_rule
129
...
|
The problem is, that calling get_rundir() -(118)- before /lib/udev/write_root_link_rule (128) doesnt work; or to be precisely - works wrongly: At this point (before write_root_link) there is initially neither /dev/.udev/ nor /run/udev and
( == get_rundir() ) tends to return /run/udev in such a situation. Which is still not there because it gets created by the /lib/udev/write_root_link_rule !
Code: | 22 [ -e /run ] && DIR=/run/udev/rules.d || DIR=/dev/.udev/rules.d
23 [ -d "$DIR" ] || mkdir -p "$DIR"
24 RULES=$DIR/10-root-link.rules
...
|
Hence the errors about missing /run/udev/90-network.rules. And I couldnt retrace whether it really got created - imo not ! (Or is it possible that udev gets started from the initramfs yet before mounting real_root ? )
Version 164 creates /dev/.udev earlier during /etc/init.d/udev-mount :
101 # make sure it exists
102 mkdir -p /dev/.udev /dev/.udev/rules.d
Now I cant experiment much because I ruined one laptop - didnt like Metaxa 7* - and have to get it repaired...
So long !
And here my /etc/fstab : (what for ?)
Code: |
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda1 none swap sw 0 0
/dev/sda2 /boot ext2 noauto,noatime 1 2
/dev/sda3 / ext3 noatime 0 1
/dev/sda5 /mnt/SHARED ext3 noatime 0 0
/dev/sda4 /home ext3 noatime 0 0
/dev/cdrom /mnt/cdrom auto noauto,ro,user 0 0
proc /proc proc noatime 0 0
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
|
|
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Tue Feb 28, 2012 3:57 am Post subject: |
|
|
@Aquous: read the NEWS file in one of the more recent udev tarballs.
@Dr.Willy: 'udevadm info --help'.
I was asking for '-q all'. |
|
Back to top |
|
|
Dr.Willy Guru
Joined: 15 Jul 2007 Posts: 547 Location: NRW, Germany
|
Posted: Tue Feb 28, 2012 5:26 pm Post subject: |
|
|
@VoidMage: Not sure if you're aware of this, but I find your use of extremely irritating.
So thank you, I'd rather go back to solving the problem myself. |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
Posted: Wed Feb 29, 2012 4:18 am Post subject: |
|
|
Dr.Willy wrote: | @VoidMage: Not sure if you're aware of this, but I find your use of extremely irritating.
So thank you, I'd rather go back to solving the problem myself. |
Perhaps, but if a question requires a RTFM type of answer... |
|
Back to top |
|
|
asotirov n00b
Joined: 06 Mar 2007 Posts: 16
|
Posted: Wed Mar 21, 2012 4:34 pm Post subject: |
|
|
Have you solved it? i updated to udev 181 and all mouses are gone in X? |
|
Back to top |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Wed Mar 21, 2012 9:04 pm Post subject: |
|
|
I wonder if it's really a udev matter.
If the update also had xorg-server in it then you should re-emerge all x11-drivers that are installed!
Gerard. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
|
asotirov n00b
Joined: 06 Mar 2007 Posts: 16
|
Posted: Wed Mar 21, 2012 10:20 pm Post subject: |
|
|
gerard82 wrote: | I wonder if it's really a udev matter.
If the update also had xorg-server in it then you should re-emerge all x11-drivers that are installed!
Gerard. |
It should be a udev i don't have the event nodes in /dev/input i do have ones only for kbd and usb video cam. X log says EE that cannot find event interface. BTW have re-emerged all X11-driver couple of time version up version down same thing pointer devices just don't work, keyboard does though. Mouse and touchpad work with gpm.
Any other ideas ? |
|
Back to top |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Wed Mar 21, 2012 10:39 pm Post subject: |
|
|
Do you have the event interface (CONFIG_INPUT_EVDEV) in your kernel? It seems like you don't.
About /run, it's a relatively new thingy. If you create it, and turn /var/run into a symlink that points to it, the latest openrc will mount tmpfs there at boot. It'll then be used for various stuff, among other things by udev - it'll use /run/udev instead of /dev/.udev. Pretty much all other distros use /run nowadays, even Gentoo (openrc) is prepared to handle it. |
|
Back to top |
|
|
asotirov n00b
Joined: 06 Mar 2007 Posts: 16
|
Posted: Thu Mar 22, 2012 3:20 pm Post subject: |
|
|
Gusar wrote: | Do you have the event interface (CONFIG_INPUT_EVDEV) in your kernel? It seems like you don't. |
yes it is in. :
Code: |
# zcat /proc/config.gz | grep EVDEV
CONFIG_INPUT_EVDEV=y
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
|
here are the device nodes with udev182
Code: |
# ls /dev/input/ -la
total 48
drwxr-xr-x 4 root root 4096 Mar 20 22:46 .
drwxr-xr-x 19 root root 36864 Mar 21 18:01 ..
drwxr-xr-x 2 root root 4096 Mar 22 09:22 by-id
drwxr-xr-x 2 root root 4096 Mar 22 09:22 by-path
crw-r----- 1 root root 13, 64 Mar 21 18:22 event0
crw-r----- 1 root root 13, 65 Mar 21 18:22 event1
crw-r----- 1 root root 13, 66 Mar 21 18:22 event2
crw-r----- 1 root root 13, 67 Mar 21 18:22 event3
crw-rw---- 1 root root 13, 0 Jun 17 2010 js0
crw-rw---- 1 root root 13, 1 Jun 17 2010 js1
crw-rw---- 1 root root 13, 2 Jun 17 2010 js2
crw-rw---- 1 root root 13, 3 Jun 17 2010 js3
crw-r----- 1 root root 13, 63 Mar 21 18:22 mice
crw-r----- 1 root root 13, 32 Mar 21 18:22 mouse0
crw-r----- 1 root root 13, 33 Mar 21 18:22 mouse1
crw-r----- 1 root root 13, 34 Mar 21 18:22 mouse2
crw-r----- 1 root root 13, 35 Mar 21 18:22 mouse3
|
and the relevant dmesg:
Code: |
# dmesg | grep input
[ 1.200233] input: Lid Switch as /devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input0
[ 1.349888] input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input1
[ 1.349970] input: Sleep Button as /devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input2
[ 1.411791] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input3
[ 2.236224] input: PS/2 Mouse as /devices/platform/i8042/serio1/input/input4
[ 2.261644] input: AlpsPS/2 ALPS GlidePoint as /devices/platform/i8042/serio1/input/input5
[ 5.313818] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A03:00/device:2e/LNXVIDEO:00/input/input6
[ 5.873299] input: Dell WMI hotkeys as /devices/virtual/input/input7
[ 6.382866] input: Laptop Integrated Webcam as /devices/pci0000:00/0000:00:1a.7/usb6/6-1/6-1:1.0/input/input8
[ 6.822106] input: Logitech USB Laser Mouse as /devices/pci0000:00/0000:00:1d.1/usb4/4-1/4-1:1.0/input/input9
[ 6.822168] generic-usb 0003:046D:C069.0001: input: USB HID v1.10 Mouse [Logitech USB Laser Mouse] on usb-0000:00:1d.1-1/input0
[ 7.788340] input: Broadcom Corp as /devices/pci0000:00/0000:00:1d.2/usb5/5-2/5-2.2/5-2.2:1.0/input/input10
[ 7.788413] generic-usb 0003:0A5C:4502.0002: input: USB HID v1.11 Keyboard [Broadcom Corp] on usb-0000:00:1d.2-2.2/input0
[ 7.982412] input: Broadcom Corp as /devices/pci0000:00/0000:00:1d.2/usb5/5-2/5-2.3/5-2.3:1.0/input/input11
[ 7.982471] generic-usb 0003:0A5C:4503.0003: input: USB HID v1.11 Mouse [Broadcom Corp] on usb-0000:00:1d.2-2.3/input0
[ 1645.159493] input: Logitech USB Laser Mouse as /devices/pci0000:00/0000:00:1d.1/usb4/4-1/4-1:1.0/input/input12
[ 1645.159565] generic-usb 0003:046D:C069.0004: input: USB HID v1.10 Mouse [Logitech USB Laser Mouse] on usb-0000:00:1d.1-1/input0
|
Xorg.0.log
[ 24589.497] (EE) evdev: NotebookKB: Unable to open evdev device "/dev/input/input3".
[ 24589.497] (EE) PreInit returned 2 for "NotebookKB"
[ 24589.503] (EE) evdev: Video Bus: Unable to open evdev device "/dev/input/event6".
[ 24589.503] (EE) PreInit returned 2 for "Video Bus"
[ 24589.526] (EE) evdev: Laptop Integrated Webcam: Unable to open evdev device "/dev/input/event8".
[ 24589.526] (EE) PreInit returned 2 for "Laptop Integrated Webcam"
[ 24589.527] (EE) evdev: Logitech USB Laser Mouse: Unable to open evdev device "/dev/input/event9".
[ 24589.527] (EE) PreInit returned 2 for "Logitech USB Laser Mouse"
[ 24589.527] (EE) evdev: Broadcom Corp: Unable to open evdev device "/dev/input/event10".
[ 24589.527] (EE) PreInit returned 2 for "Broadcom Corp"
[ 24589.528] (EE) evdev: Broadcom Corp: Unable to open evdev device "/dev/input/event11".
[ 24589.528] (EE) PreInit returned 2 for "Broadcom Corp"
[ 24589.529] (EE) evdev: PS/2 Mouse: Unable to open evdev device "/dev/input/event4".
[ 24589.529] (EE) PreInit returned 2 for "PS/2 Mouse"
[ 24589.529] (EE) module ABI major version (13) doesn't match the server's version (16)
[ 24589.529] (EE) Failed to load module "synaptics" (module requirement mismatch, 0)
[ 24589.529] (EE) No input driver matching `synaptics'
[ 24589.530] (EE) evdev: Dell WMI hotkeys: Unable to open evdev device "/dev/input/event7".
[ 24589.530] (EE) PreInit returned 2 for "Dell WMI hotkeys"
I just can't figure out what happaned and why are those nodes not created. Will write some rules over the weekend to manually force them create.
about the /run will try that too although i doesn't seem relevant. It feels like a missing rule or a failing one. there is a segmentation fault at boot with MPT rules something libmpt related too if relevant.
[/code][/quote] |
|
Back to top |
|
|
BillWho Veteran
Joined: 03 Mar 2012 Posts: 1600 Location: US
|
Posted: Thu Mar 22, 2012 6:51 pm Post subject: |
|
|
UncleVan,
I didn't see this in this list of stuff to try Code: | emerge -av $(qlist -IC x11-drivers) |
I always run that when my kb and mouse stops responding
Good luck |
|
Back to top |
|
|
BlackLodge Tux's lil' helper
Joined: 16 May 2004 Posts: 149 Location: TLS
|
Posted: Sat Mar 24, 2012 1:16 pm Post subject: |
|
|
BillWho wrote: | UncleVan,
I didn't see this in this list of stuff to try Code: | emerge -av $(qlist -IC x11-drivers) |
I always run that when my kb and mouse stops responding
Good luck |
Whoa thanks BillWho, that worked for me.
For the record, this was the problem that I had:
Code: | log # grep evdev Xorg.0.log
[ 4152.907] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 4152.908] (II) LoadModule: "evdev"
[ 4152.908] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[ 4152.908] (II) Module evdev: vendor="X.Org Foundation"
[ 4152.908] (II) UnloadModule: "evdev"
[ 4152.908] (II) Unloading evdev
[ 4152.908] (EE) Failed to load module "evdev" (module requirement mismatch, 0)
[ 4152.908] (EE) No input driver matching `evdev'
[ 4152.909] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[ 4152.909] (II) LoadModule: "evdev"
[ 4152.909] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[ 4152.909] (II) Module evdev: vendor="X.Org Foundation"
[ 4152.909] (II) UnloadModule: "evdev"
[ 4152.909] (II) Unloading evdev
[ 4152.909] (EE) Failed to load module "evdev" (module requirement mismatch, 0)
[ 4152.909] (EE) No input driver matching `evdev'
[ 4152.911] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[ 4152.911] (II) LoadModule: "evdev"
[ 4152.911] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[ 4152.911] (II) Module evdev: vendor="X.Org Foundation"
[ 4152.911] (II) UnloadModule: "evdev"
[ 4152.911] (II) Unloading evdev
[ 4152.911] (EE) Failed to load module "evdev" (module requirement mismatch, 0)
[ 4152.911] (EE) No input driver matching `evdev'
|
I know it was not the same issue.
Cheers! _________________ Installing gentoo in a Vortex86DX
Kernel: https://forums.gentoo.org/viewtopic-t-1133787.html
CFLAGS, CHOST: https://forums.gentoo.org/viewtopic-t-1130400.html |
|
Back to top |
|
|
UncleVan n00b
Joined: 08 Feb 2011 Posts: 72
|
Posted: Sat Mar 24, 2012 2:54 pm Post subject: Didnt have much time lately - sorry |
|
|
Just to explain it: ist not a portage/compile issue - I got my keyboard controller AND keyboard drivers both compiled as modules : i8042 and atkbd resp.
With the "old" sys-fs/udev-164-r2 they are loaded smoothly; while the "new" sys-fs/udev-171-r5 (and probably later ones ?) doesnt get them.
So it has nothing to do with X evdev etc. , because the keyboard fails right after boot and it is obviously impossible to do anything more. I used for analysis a live system and chroot.
Im guessing for a missing/changed rule but since my small laptop got ruined (due to a glass of Metaxa poored in) I didnt want to experiment with the other one.
Now Ive repaired it and will investigate further soon.
For now Ive masked >sys-fs/udev-164-r2
Strangely, lot of people just dont have the issue and no responce from developers too...
So long !
For the curious ones:
==============
# modinfo i8042
filename: /lib/modules/3.2.1-gentoo-r2.2nd/kernel/drivers/input/serio/i8042.ko
license: GPL
description: i8042 keyboard and mouse controller driver
filename: /lib/modules/3.2.1-gentoo-r2.2nd/kernel/drivers/input/keyboard/atkbd.ko
license: GPL
description: AT and PS/2 keyboard driver |
|
Back to top |
|
|
ultraslinky Tux's lil' helper
Joined: 09 Jun 2011 Posts: 80 Location: Milan, Italy
|
Posted: Sat Mar 24, 2012 3:38 pm Post subject: |
|
|
Well well well... I had no idea i had to set CONFIG_DEVTMPFS for udev-182. Since portage checks the kernel config for many ebuilds, i was sure the ebuild would have checked it if it needed to do so. Would udev-182 have bricked my system, if i hadn't now recompiled the kernel with that option? Now i read the readme from the udev tarball and i ticked off all the requirements (DEVTMPFS was the only one i was missing).
Surely everybody thinks that the ebuild should check the user's kernel config before upgrading such a crucial tool as udev? If not it's a bit like saying that portage shouldn't handle dependencies because the user can do it by hand. And this is a kernel option dependency.
Anyhow, compiling now, let's see if i have to pull out my recovery disk |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 21712
|
Posted: Sat Mar 24, 2012 4:37 pm Post subject: |
|
|
ultraslinky wrote: | Surely everybody thinks that the ebuild should check the user's kernel config before upgrading such a crucial tool as udev? If not it's a bit like saying that portage shouldn't handle dependencies because the user can do it by hand. And this is a kernel option dependency. | I can think of two good reasons not to require DEVTMPFS=y in the kernel configuration. First, you may be building sys-fs/udev with intent not to install it on the current kernel, but rather to emerge --usepkgonly on another machine or to perform a kernel upgrade before merging the newly built udev to the live filesystem. Second, the user may have a properly configured kernel, but not have the files for Portage to satisfy itself that the kernel is properly configured. Requiring DEVTMPFS=y before building would prevent such users from upgrading. |
|
Back to top |
|
|
|