LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-18-2015, 01:43 PM   #1
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,213

Rep: Reputation: 297Reputation: 297Reputation: 297
udevd warning during boot on -current


Hi I just noticed few days ago that I get this kind of strange warning during boot time:

Code:
udevd[397]: Failed to execute '/usr/bin/xcmddc' '/usr/bin/xcmddc --i2c /dev/i2c-1 --identify': No such file or directory

udevd[398]: Failed to execute '/usr/bin/xcmddc' '/usr/bin/xcmddc --i2c /dev/i2c-1 --identify': No such file or directory

udevd[399]: Failed to execute '/usr/bin/xcmddc' '/usr/bin/xcmddc --i2c /dev/i2c-1 --identify': No such file or directory
Any ideas on why of this ?

Rgds
Saxa

Last edited by saxa; 10-19-2015 at 09:40 PM.
 
Old 10-18-2015, 02:08 PM   #2
genss
Member
 
Registered: Nov 2013
Posts: 741

Rep: Reputation: Disabled
it is trying to execute some binary that does something (identifies?) on a device node that represents an i2c interface
google does not mention that binary

to find out what udev rule tells it to do such a thing do a `grep -r xcmddmc /lib/udev/`
if it is a rule, that is

to find out what device that is one would
ls -l /dev/i2c-1
then look at /sys/dev/*/ for that node

for example on my computer
Code:
bash-4.3# ls -l /dev/i2c-1 
crw------- 1 root root 89, 1 Lis 18 17:43 /dev/i2c-1
# the "c" says it is a character device, so /sys/dev/char/
# node is 89 1
bash-4.3# cd /sys/dev/char/
bash-4.3# ls
bunch of nodes
bash-4.3# cd 89\:1/
bash-4.3# ls
dev  device  name  power  subsystem  uevent
bash-4.3# cat name 
NVIDIA i2c adapter 2 at 1:00.0
maybe someone else knows what xcmddmc is
 
Old 10-18-2015, 02:21 PM   #3
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,213

Original Poster
Rep: Reputation: 297Reputation: 297Reputation: 297
Thats what I get:

Code:
root@rocker:~# ls -l /dev/i2c-1 
crw------- 1 root root 89, 1 Oct 18 15:23 /dev/i2c-1

root@rocker:/sys/dev/char/89:1# cat name 
nvkm-0000:02:00.0-0
 
Old 10-18-2015, 02:34 PM   #4
ljb643
Member
 
Registered: Nov 2003
Posts: 526

Rep: Reputation: Disabled
xcmddc is included in Slackware 14.1 (I know, you are running -current) in xcm-0.5.2. The description of xcm is "X color management tools", but xcmddc is a program to get EDID information (which describes the capabilities of a video display) over the I2C bus. The udev rule file 90-xcm-i2c.rules file references this program, but that file is also in the xcm package. So you shouldn't have that udev rule unless you also have the program it runs.
 
Old 10-18-2015, 06:28 PM   #5
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
So, the $64,000 question is:

Did you perform a complete, full installation of Slackware?
 
Old 10-18-2015, 06:32 PM   #6
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,213

Original Poster
Rep: Reputation: 297Reputation: 297Reputation: 297
ok, need to check that more in detail. Yes, the install is fresh and complete, I did that because my old install on a hdd suffered a failure of the hdd so I inserted a spare SSD I had and made a clean fresh install.

Last edited by saxa; 10-18-2015 at 06:33 PM.
 
Old 10-18-2015, 06:39 PM   #7
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
It shouldn't complain then, especially with Slackware's udev-classic package, but there is always the chance something either didn't install right, or there might be a rule issue. Track down the package that binary came in using the Slackware website package tracker, and then try re-downloading and re-installing the package see if that clears it up first, if not, let us know and we can think of something else. There is always the chance it's one of the udev rules having a case of the hiccups.

Just use "upgradepkg --reinstall *.t?z" on the package in a directory you download it to.
 
Old 10-18-2015, 06:51 PM   #8
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,213

Original Poster
Rep: Reputation: 297Reputation: 297Reputation: 297
Ok, will try to look into it, if I find it out i will report here. Thing is that I noticed that only few days ago, so I'm not sure if this was happening from the beginning or after I did some updates with slackpkg to the latest -current state. I nearly sure it appeared after the latest updates. But nearly means nearly, so I wont affirm that.
What I'm sure is that except alienbobs libreoffice, and Virtualbox I have nothing else installed what would be out of the slackware current tree. This is 64bit install.
 
Old 10-19-2015, 07:34 PM   #9
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 915

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Quote:
Originally Posted by saxa View Post
Hi I just noticed few days ago that I get this kind of strange warning during boot time:

Code:
udevd[397]: Failed to execute '/usr/bin/xcmddmc' '/usr/bin/xcmddc --i2c /dev/i2c-1 --identify': No such file or directory

udevd[398]: Failed to execute '/usr/bin/xcmddmc' '/usr/bin/xcmddc --i2c /dev/i2c-1 --identify': No such file or directory

udevd[399]: Failed to execute '/usr/bin/xcmddmc' '/usr/bin/xcmddc --i2c /dev/i2c-1 --identify': No such file or directory
Presumably you cut and pasted that output? Notice that there are two similar looking but different binaries referenced here - xcmddmc and xcmddc. As already mentioned, the xcmddc comes from the xcm package in both 14.1 and -current (which also includes the 90-xcm-i2c.rules file installed in /lib/udev/rules.d). However the xcmddmc binary isn't part of 14.1 or -current that I can see. Maybe it's being called via some script which has a typo ...

chris
 
Old 10-19-2015, 09:39 PM   #10
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,213

Original Poster
Rep: Reputation: 297Reputation: 297Reputation: 297
No I have not pasted it out, I could not do that as this error does not appear in the /var/log/messages or dmesg files. But I noticed there is an "m" more in the first binary. And this is my typo.
 
Old 10-19-2015, 09:40 PM   #11
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,213

Original Poster
Rep: Reputation: 297Reputation: 297Reputation: 297
So to avoid confusion I will edit the initial post and correct it.

---------- Post added 10-20-15 at 02:41 AM ----------

Done.
 
Old 11-19-2015, 02:42 PM   #12
Philip Lacroix
Member
 
Registered: Jun 2012
Distribution: Slackware
Posts: 441

Rep: Reputation: 574Reputation: 574Reputation: 574Reputation: 574Reputation: 574Reputation: 574
Quote:
Originally Posted by saxa
Code:
udevd[397]: Failed to execute '/usr/bin/xcmddc' '/usr/bin/xcmddc --i2c /dev/i2c-1 --identify': No such file or directory
(...)
Any ideas on why of this ?
Do you have /usr and /var on separate partitions? I see exactly the same messages on a machine with 32bit -current (full fresh reinstall, nothing missing) with a split filesystem setup: /, /usr, /var, /tmp and /home. When the messages are shown, the /usr filesystem is not yet mounted, neither is /var, which apparently should explain the error messages themselves and why they are not being logged. IIRC this is a known issue with udev on similar setups.

I commented out the related line in udev rule "/lib/udev/rules.d/90-xcm-i2c.rules" and as expected the errors disappeared. Everything seem to be fine so far.

Code:
# load the device node kernel module
SUBSYSTEM=="i2c-adapter", ACTION=="add", RUN+="/sbin/modprobe i2c-dev"

# openSUSE_11.3 preferes:
SUBSYSTEM=="i2c", RUN+="/sbin/modprobe -bv i2c-dev"

# match only DDC devices
#KERNEL=="i2c-[0-9]*", ACTION=="add", PROGRAM=="/usr/bin/xcmddc --i2c /dev/%k --identify", RESULT=="0", GROUP="video", MODE="0660"
Philip

Last edited by Philip Lacroix; 11-19-2015 at 03:06 PM. Reason: no need to comment out the i2c module probe line
 
1 members found this post helpful.
Old 11-19-2015, 05:40 PM   #13
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,213

Original Poster
Rep: Reputation: 297Reputation: 297Reputation: 297
Hi Philip, yes I have it on separate partitions.
Code:
bash-4.3$ cat /etc/fstab
/dev/sda2        /                btrfs       defaults,noatime,discard         1   1
/dev/sda1        /boot            btrfs       defaults,noatime,discard         1   2
/dev/sda3        /usr             btrfs       defaults,noatime,discard         1   2
/dev/sda4        /home            btrfs       defaults,noatime,discard         1   2
#/dev/cdrom      /mnt/cdrom       auto        noauto,owner,ro,comment=x-gvfs-show 0   0
/dev/fd0         /mnt/floppy      auto        noauto,owner     0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
tmpfs            /dev/shm         tmpfs       defaults         0   0
bash-4.3$
as you see /usr is on a separate partition from /var which is on the same partition as / , but will try to use your solution of commenting it out.

Rgds
Saxa
 
Old 11-20-2015, 06:23 PM   #14
Philip Lacroix
Member
 
Registered: Jun 2012
Distribution: Slackware
Posts: 441

Rep: Reputation: 574Reputation: 574Reputation: 574Reputation: 574Reputation: 574Reputation: 574
Hi Saxa. The switch from udev to eudev on -current fixed the mentioned issue. I'm not sure to what extent this is related to eudev's "--enable-split-usr" build option.

eudev.SlackBuild

Best
Philip

Last edited by Philip Lacroix; 11-20-2015 at 06:29 PM. Reason: typo
 
Old 11-20-2015, 07:20 PM   #15
saxa
Senior Member
 
Registered: Aug 2004
Location: Nova Gorica, Salvador
Distribution: Slackware
Posts: 1,213

Original Poster
Rep: Reputation: 297Reputation: 297Reputation: 297
Ok, thanks for the info. I will probably stay with the default install.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Udevd error on boot saying it has already started BigVig Debian 1 08-18-2010 11:20 PM
boot fails (udevd [340]: ) poppy61 Debian 1 05-11-2009 07:21 AM
Failed boot with udevd-event jumico Linux - Hardware 0 02-11-2007 01:53 PM
FC6 crashes at udevd during boot ronald.watson Linux - Newbie 2 11-29-2006 12:20 PM
Strange udevd-events during boot up of Suse 10.1 smannell Linux - Kernel 0 06-12-2006 09:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration