Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
waiting for udev events to be processed
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
toothpick
n00b
n00b


Joined: 31 May 2012
Posts: 53

PostPosted: Sat Nov 01, 2014 12:30 am    Post subject: waiting for udev events to be processed Reply with quote

Hi,

I am having a problem starting my Gentoo system.
When the kernel tries to boot up it is stuck saying "waiting for udev events to be processed"
The problem I am facing is depicted in the following picture.
https://www.dropbox.com/s/skvd2xpai9gh3g7/20141101_020903.jpg?dl=0

Prior to that I had my system up and running, And I chose to restart.
When I restarted everything went fine except the X server refused to start, so I compiled a new kernel with updating the Nvidia driver.

I would really appreciate it if someone could point me to how to solve this.
Thanks! :)
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6108
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Sat Nov 01, 2014 1:44 am    Post subject: Reply with quote

there's more problems than that :wink:


do you by chance have a btrfs partition and appended ro to the kernel ?


related to the delay: https://forums.gentoo.org/viewtopic-t-1003240-highlight-.html

afaik there are several threads on the forum
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7553
Location: Goose Creek SC

PostPosted: Sat Nov 01, 2014 2:18 am    Post subject: Reply with quote

the image suggests a kernel configuration problem, there are repeated references to readonly filesystems. boot a livecd/usb, mount the gentoo partition(s), run wgetpaste /mnt/gentoo/usr/src/linux/.config and post the url returned.
Some items that have caused the read only root problem, running the code should return the quote:
Code:
grep -i "CONFIG_DEVTMPFS" /mnt/gentoo/usr/src/linux/.config
Quote:
CONFIG_DEVTMPFS=y
Code:
grep -i "CONFIG_DEVTMPFS_MOUNT" /mnt/gentoo/usr/src/linux/.config
Quote:
CONFIG_DEVTMPFS_MOUNT=y
Code:
grep -i "CONFIG_FSNOTIFY" /mnt/gentoo/usr/src/linux/.config
Quote:
CONFIG_FSNOTIFY=y

Code:
grep -i "CONFIG_DNOTIFY" /mnt/gentoo/usr/src/linux/.config
Quote:
CONFIG_DNOTIFY=y
Code:
grep -i "CONFIG_INOTIFY_USER" /mnt/gentoo/usr/src/linux/.config
Quote:
CONFIG_INOTIFY_USER=y
Code:
grep -i "CONFIG_NET" /mnt/gentoo/usr/src/linux/.config
Quote:
CONFIG_NET=y
Code:
grep -i "CONFIG_PROC_FS" /mnt/gentoo/usr/src/linux/.config
Quote:
CONFIG_PROC_FS=y
Code:
grep -i "CONFIG_SIGNALFD" /mnt/gentoo/usr/src/linux/.config
Quote:
CONFIG_SIGNALFD=y
Code:
grep -i "CONFIG_SYSFS" /mnt/gentoo/usr/src/linux/.config
Quote:
CONFIG_SYSFS=y
Code:
grep -i "CONFIG_SYSFS_DEPRECATED" /mnt/gentoo/usr/src/linux/.config
Quote:
# CONFIG_SYSFS_DEPRECATED is not set
Code:
grep -i 'CONFIG_UEVENT_HELPER_PATH" /mnt/gentoo/usr/src/linux/.config
Quote:
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
Code:
grep -i "CONFIG_BLK_DEV_BSG" /mnt/gentoo/usr/src/linux/.config
Quote:
CONFIG_BLK_DEV_BSG=y
Code:
grep -i "CONFIG_TMPFS" /mnt/gentoo/usr/src/linux/.config
Quote:
CONFIG_TMPFS=y
Code:
grep -i "CONFIG_TMPFS_POSIX_ACL" /mnt/gentoo/usr/src/linux/.config
Quote:
CONFIG_TMPFS_POSIX_ACL=y
Code:
grep -i "CONFIG_TMPFS_XATTR" /mnt/gentoo/usr/src/linux/.config
Quote:
CONFIG_TMPFS_XATTR=y

Code:
ls -l /mnt/gentoo/var/run
should yield "lrwxrwxrwx 1 root root {some date} /mnt/gentoo/var/run ->/mnt/gentoo/run" if not make the symlink
Code:
ls -l /mnt/gentoo/etc/mtab
should yield "lrwxrwxrwx 1 root root <some date> /mnt/gentoo/etc/mtab -> /mnt/gentoo/proc/self/mounts" if not make the symlink
Code:
rc-update show
should show udev and udev-mount in sysinit run level
_________________
Defund the FCC.
Back to top
View user's profile Send private message
toothpick
n00b
n00b


Joined: 31 May 2012
Posts: 53

PostPosted: Sat Nov 01, 2014 9:49 am    Post subject: Reply with quote

Hi DONAHUE thanks very much for your help.
I followed every step but it seems like I encounter the same problem.
Here is my configuration file: http://paste.kde.org/p76hho1ne

Thank you !
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7553
Location: Goose Creek SC

PostPosted: Sat Nov 01, 2014 5:38 pm    Post subject: Reply with quote

My menuconfig has
Quote:
General setup --->
-*- Control Group support --->
--- Control Group support
[ ] Example debug cgroup subsystem
[ ] Freezer cgroup subsystem
[ ] Device controller for cgroups
[ ] Cpuset support
[ ] Simple CPU accounting cgroup subsystem
[ ] Resource counters
[ ] Enable perf_event per-cpu per-container group (cgroup) monitoring
-*- Group CPU scheduler --->
[ ] Block IO controller
I do not see the many read-only lines; suggest you change to match and recompile the kernel..
Now suspect that the readonly hits do not matter.
Recommend
Code:
emerge linux-firmware
if you have not done so. There have been recent cases of missing firmware causing uevents hanging.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
toothpick
n00b
n00b


Joined: 31 May 2012
Posts: 53

PostPosted: Sat Nov 01, 2014 6:33 pm    Post subject: Reply with quote

Hi DONAHUE and thanks for your reply.
I recompiled the kernel according to your configuration and re-emeged linux-firmware but the problem still persists.
What I did notice that you were right about was that it is not related to the read-only lines.
On my second (old) kernel that boots just well I see the same read only lines. Nothing halts, which could mean it is a kernel configuration problem.

Thanks again :)
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7553
Location: Goose Creek SC

PostPosted: Sat Nov 01, 2014 7:38 pm    Post subject: Reply with quote

Quote:
On my second (old) kernel that boots just well
you might run meld (emerge meld first) or diff to compare old and new kernels and see if any difference rings a bell.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
toothpick
n00b
n00b


Joined: 31 May 2012
Posts: 53

PostPosted: Sun Nov 02, 2014 7:29 am    Post subject: Reply with quote

Ok I got it solved.
Unexpectedly, it was the video card driver.
The long explanaltion is that I have downloaded old (but newer than my old kernel) kernel sources.
I compiled that kernel, restarted and it all worked except the video driver, when I installed nvidia driver and recompiled and restarted I encountered the same problem again.
So I masked the latest version.
After that the whole system fully worked again!

Thanks to everyone who helped :)
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7553
Location: Goose Creek SC

PostPosted: Sun Nov 02, 2014 7:39 am    Post subject: Reply with quote

as in nvidia-drivers or nouveau?
_________________
Defund the FCC.
Back to top
View user's profile Send private message
toothpick
n00b
n00b


Joined: 31 May 2012
Posts: 53

PostPosted: Sun Nov 02, 2014 7:41 am    Post subject: Reply with quote

Nvidia-drivers
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7553
Location: Goose Creek SC

PostPosted: Sun Nov 02, 2014 7:49 am    Post subject: Reply with quote

Thanks. nvidia is becoming a recurring theme but seemingly different each time. Good work sussing it out.
_________________
Defund the FCC.
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