Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
recent update disappeared all my devices?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ExecutorElassus
l33t
l33t


Joined: 11 Mar 2004
Posts: 733
Location: Stuttgart, Germany

PostPosted: Mon Dec 17, 2012 1:00 pm    Post subject: recent update disappeared all my devices? Reply with quote

This is due to updating some package in the last nine days (when I last rebooted without issue). Since then, I've updated to the 3.7 kernel, and rebooted. Now, neither my mouse, keyboard, or soundcard are found. Dmesg shows the usb devices (the mouse and keyboard) being disconnected and reattached, but the console registers no input.

This still occurrs if I boot a previous kernel, so it's lilely not the kernel itself.

How do I diagnose the problem? I can log in over ssh with my smartphone, so the system itself seems to work okay. But my options for debugging are somewhat limited.

Any help is much appreciated.

Cheers,

EE
Back to top
View user's profile Send private message
XavierMiller
Moderator
Moderator


Joined: 23 Jul 2004
Posts: 5285
Location: ~Brussels - Belgique

PostPosted: Mon Dec 17, 2012 1:02 pm    Post subject: Reply with quote

Hello,

did you made "make modules_install" after installing the kernel ?
Are there modules in /lib/modules/*3.7*/ ?
_________________
Xavier Miller
(FR) Merci de respecter les règles du forum.
http://www.xaviermiller.be
Back to top
View user's profile Send private message
ExecutorElassus
l33t
l33t


Joined: 11 Mar 2004
Posts: 733
Location: Stuttgart, Germany

PostPosted: Mon Dec 17, 2012 1:06 pm    Post subject: Reply with quote

I did run make modules_install, and that wouldn't affect booting a previous kernel in any case. What else might be going wrong?

Cheers,

EE
Back to top
View user's profile Send private message
XavierMiller
Moderator
Moderator


Joined: 23 Jul 2004
Posts: 5285
Location: ~Brussels - Belgique

PostPosted: Mon Dec 17, 2012 2:06 pm    Post subject: Reply with quote

Hello,

Can you boot an older kernel ?
_________________
Xavier Miller
(FR) Merci de respecter les règles du forum.
http://www.xaviermiller.be
Back to top
View user's profile Send private message
ExecutorElassus
l33t
l33t


Joined: 11 Mar 2004
Posts: 733
Location: Stuttgart, Germany

PostPosted: Mon Dec 17, 2012 3:58 pm    Post subject: Reply with quote

Hi there,

Well, I can boot an older kernel. But none of the aforementioned devices are recognized on that kernel, either. Not with the two kernels I have in my grub menu, nor any other older ones I have stored on /boot (thus, this problem occurs also on the kernel I booted nine days ago with no issue).

Thus I suspect this isn't actually the kernel itself, but some other low-level interface (like udev, except that I've booted since the last udev update).

Anyway, what else might cause this?

Cheers,

EE
Back to top
View user's profile Send private message
ExecutorElassus
l33t
l33t


Joined: 11 Mar 2004
Posts: 733
Location: Stuttgart, Germany

PostPosted: Tue Dec 18, 2012 10:52 am    Post subject: Reply with quote

SOLVED.

So, protip: udev builds against the kernel directory. When you change a major kernel version (say, from the 3.6* series to the 3.7* series) it's important to re-emerge udev, or it … doesn't create device names or something, and none of your stuff works. Why that also affected older kernels, I don't know.

Good thing my smartphone can ssh into my box to issue commands.

Anyway, it's back to working now.

Thanks for all the help,

EE
Back to top
View user's profile Send private message
_______0
Guru
Guru


Joined: 15 Oct 2012
Posts: 521

PostPosted: Tue Dec 18, 2012 6:33 pm    Post subject: Reply with quote

ExecutorElassus wrote:
... udev builds against the kernel directory...


Nonsense and inaccurate. Care to explain what that means?
Back to top
View user's profile Send private message
ExecutorElassus
l33t
l33t


Joined: 11 Mar 2004
Posts: 733
Location: Stuttgart, Germany

PostPosted: Tue Dec 18, 2012 6:57 pm    Post subject: Reply with quote

I'm not sure. Hrm. Maybe I'm wrong about this. Sorry.

The point is, though, I had to re-emerge udev before any of the above-mentioned peripherals were recognized.

OT: Is eudev ready for use? Is there a guide anywhere for switching over?

EDIT: PS, why then does the udev ebuild look up the kernel directory?
Back to top
View user's profile Send private message
nordpolcamper
n00b
n00b


Joined: 15 Jun 2003
Posts: 31

PostPosted: Tue Dec 18, 2012 10:18 pm    Post subject: Reply with quote

udev-196 has a use flag called "kmod". Enabling it should resolve your issues.
Back to top
View user's profile Send private message
ExecutorElassus
l33t
l33t


Joined: 11 Mar 2004
Posts: 733
Location: Stuttgart, Germany

PostPosted: Tue Dec 18, 2012 10:21 pm    Post subject: Reply with quote

"kmod" was enabled by default. Perhaps it wasn't on a on the non 196-r1 version (that is, vanilla 196)?
Back to top
View user's profile Send private message
nordpolcamper
n00b
n00b


Joined: 15 Jun 2003
Posts: 31

PostPosted: Tue Dec 18, 2012 10:28 pm    Post subject: Reply with quote

What do you mean by "kmod was enabled by default"?

I emerged udev-196-r1 this morning and I had to set the kmod use flag explicitely. Otherwise udev does not load any kernel modules at startup.
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 4564
Location: Saint Amant, Acadiana

PostPosted: Tue Dec 18, 2012 10:39 pm    Post subject: Reply with quote

Looking at udev-196-r1.ebuild kmod is turned on by default.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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