Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
manulOffline
15 Post subject: [Solved] udev init script error (sysv systems kernels 3.16)  PostPosted: 10.08.2014, 06:29



Joined: 2010-09-13
Posts: 96

Status: Offline
udev init script unconditionally writes to /sys/kernel/uevent_helper (raises error with kernels 3.16 with CONFIG_UEVENT_HELPER unset)

So nether usb keyboard, nor usb mouse may be working with latest kernels (in some configurations, I guess).

It affects only systems still keeping with sysvinit-core; systemd systems seem not to be affected.

Manual temporary fix is described below in the thread.

For more info, see the folllowing debian bugs on udev

https://bugs.debian.org/cgi-bin/bugrepo ... bug=756312
https://bugs.debian.org/cgi-bin/bugrepo ... ug=+752742

as well the last messages of these threads:

http://aptosid.com/index.php?name=PNphp ... amp;t=2819
http://aptosid.com/index.php?name=PNphp ... amp;t=2813

cheers

manul


Last edited by manul on 21.08.2014, 11:44; edited 3 times in total
 
 View user's profile Send private message  
Reply with quote Back to top
manulOffline
Post subject: RE: usb problem with 3.16 kernels after d-u  PostPosted: 12.08.2014, 01:09



Joined: 2010-09-13
Posts: 96

Status: Offline
Update:

With 3.16-0.slh.2 kernel - now I can boot into init 3 with operational keyboard and mouse.

But I still get the same freeze immediately after starting DE (kdm/KDE) - so the kernel problem seems not to be USB; but maybe a video/xorg compatibility issue (or, maybe related to the above udev error, not sure how to find out).
 
 View user's profile Send private message  
Reply with quote Back to top
florentOffline
Post subject:   PostPosted: 15.08.2014, 09:38



Joined: 2011-05-08
Posts: 1

Status: Offline
Same problem here. I managed to block the upgrade of udev because of a bug reported by apt-listbugs, nonetheless I add the same issue.

      Code:
florent@sidux-florent ~/mdp 
 % LANG=EN apt-cache policy udev
udev:
  Installed: 208-6
  Candidate: 208-6
  Package pin: 208-6
  Version table:
     208-7 1000
        500 http://cdn.debian.net/debian/ sid/main amd64 Packages
        500 http://ftp.fr.debian.org/debian/ sid/main amd64 Packages
 *** 208-6 1000
        100 /var/lib/dpkg/status


As manul mentioned above, it looks like the upgrade of the kernel caused the issue (or maybe some incompatibility of packages with it). Using a previous kernel solved the problem (updating /etc/default/grub.ucf-dist).

Florent
 
 View user's profile Send private message  
Reply with quote Back to top
manulOffline
Post subject:   PostPosted: 16.08.2014, 22:28



Joined: 2010-09-13
Posts: 96

Status: Offline
A manual (temporary) fix of the issue which worked for me:

Modify /etc/init.d/udev around line 176 as follows (comment line 176, and add conditional check to do the echo only if the file is writeable):

      Code:
    # echo > /sys/kernel/uevent_helper
    if [ -w /sys/kernel/uevent_helper ]; then
      echo > /sys/kernel/uevent_helper
    fi


Then reboot - and everything works back again (with kernel 3.16.0-slh.2).

------------------------------

I found the fix from this debian bugreport about the issue:

https://bugs.debian.org/cgi-bin/bugrepo ... ug=+752742

Strangely, it reports the udev sysvinit script as fixed by systemd/udev version 204-13 so the bug is closed... Maybe it is a new regression of the same issue for some reason.
However I am not sure how to reopen the bug.

cheers
manul
 
 View user's profile Send private message  
Reply with quote Back to top
LadyCuddlesOffline
Post subject:   PostPosted: 17.08.2014, 07:07



Joined: 2010-09-11
Posts: 5
Location: Salt Lake City, Utah
Status: Offline
I just d-u'ed, and instantly hit up against this issue...

Not with a usb keyboard, or a usb mouse, but rather, I have three external usb hard drives, as soon as one of those drives is accessed, the system locks down and freezes.

I did get a chance to try you fix, but it didnt help...

I also got a chance, to get a quick dmesg output, just before it locked up, and the log had a ton of messages reporting unable to kill or abort a command, tied to the device it was trying to access.

my guess is, this issue will be the same for anyone who has external usb anything... like hard drives, cdrom drives, dvd drives, and burners.

Anyone have any resolves ???

Much appreciation ahead of time.
 
 View user's profile Send private message  
Reply with quote Back to top
manulOffline
Post subject:   PostPosted: 17.08.2014, 16:30



Joined: 2010-09-13
Posts: 96

Status: Offline
      LadyCuddles wrote:
Anyone have any resolves ???


LadyCuddles your problem does not seem to be related to the one in the thread.
I updated the starting post+topic subject to make it less ambigous.

You need to provide more information....for example do you still experience the issue if you boot an earlier kernel?
Also try to post here the output of the dmesg errors etc.
 
 View user's profile Send private message  
Reply with quote Back to top
LadyCuddlesOffline
Post subject:   PostPosted: 17.08.2014, 16:56



Joined: 2010-09-11
Posts: 5
Location: Salt Lake City, Utah
Status: Offline
I am unable to get the system log of the messages, once the issue freezes the system, upon reboot, fsck clears the entries (I can't confirm this)

I havent d-u'ed in some time, last time I did, d-u installed kernel 3.13-1.slh.1-aptosid-amd64 - so it has been some time. This kernel, if I boot back to it, works fine, and no issues with my esb external hard drives.

Once my system, and my work, settle down, now that I can check if other things may not be working since the d-u, I may try and reboot back into the 3.16.0-2 kernel, and see if I can "quickly" grab the dmesg output.

until then, I'll just live with my old kernel Sad
 
 View user's profile Send private message  
Reply with quote Back to top
manulOffline
Post subject:   PostPosted: 17.08.2014, 17:45



Joined: 2010-09-13
Posts: 96

Status: Offline
      LadyCuddles wrote:
until then, I'll just live with my old kernel Sad

At some point as I remember, 'apt-get purge hal' had to be done - to get rid of certain usb-related issues... You may be able to find more info in the forum...
 
 View user's profile Send private message  
Reply with quote Back to top
manulOffline
Post subject:   PostPosted: 21.08.2014, 11:43



Joined: 2010-09-13
Posts: 96

Status: Offline
The problem is now fixed, new udev script delivered by last d-u - and now all is good.
 
 View user's profile Send private message  
Reply with quote Back to top
LadyCuddlesOffline
Post subject:   PostPosted: 29.08.2014, 22:14



Joined: 2010-09-11
Posts: 5
Location: Salt Lake City, Utah
Status: Offline
I haven't done a new d-u yet, but, I was doing some research on the udev / hal issue that was referred to here.

The common thought is; sys something -shim & hal. Not to mention, having an updated policy.

I don't have this sys -shim installed, and when I tried to run the suggested "apt-get -purge" on hal - it reports that the package has been depreciated, and cant be done. I did a "locate hal" and I still have stuff existing in the install folder for hal, but no way to use apt-get to remove it.

Does this resolve you mentioned on this new d-u, resolve this issue? As my last d-u didnt resolve a previous issue and kept me from moving up into the 3.16 kernel.

Appreciate any, and all, thoughts,
LC
 
 View user's profile Send private message  
Reply with quote Back to top
LadyCuddlesOffline
Post subject:   PostPosted: 30.08.2014, 22:54



Joined: 2010-09-11
Posts: 5
Location: Salt Lake City, Utah
Status: Offline
Disregard - I just did a d-u, and it seems that everything is working perfectly, AND, I am running on the new 13.6.1.2 kernel Smile

Thanks for all your assistance manul - much appreciated Very Happy
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio