Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
waiting for uevents to be processed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Deepblackss
n00b
n00b


Joined: 25 Apr 2010
Posts: 9

PostPosted: Fri Jul 30, 2010 7:50 pm    Post subject: waiting for uevents to be processed Reply with quote

Just did a fresh install of Gentoo on my laptop and on boot it is hanging on "waiting for uevents to be processed ..."

Searched and found some posts but none that seemed to apply. Any help is appreciated, I'm not sure what info you guys need so just let me know.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Sat Jul 31, 2010 1:12 am    Post subject: Reply with quote

boot the cd, mount the gentoo partitions, enter the chroot, nominally:
Code:
mount /dev/sda3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot
mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
export PS1="(chroot) $PS1"

then
Code:
emerge hal dbus udev pciutils gentoolkit wgetpaste
wgetpaste -s ca /usr/src/linux/.config
lspci -k | wgetpaste
emerge --info | wgetpaste
rc-update add dbus default
rc-update add hald default
rc-update add udev-postmount default
rc-update add udev sysinit  # works if using baselayout2
# else "runlevel 'sysinit' not found; skipping" no problem
exit
reboot

try a reboot, if still unlucky post the url's returned


Last edited by DONAHUE on Sat Jul 31, 2010 7:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
Deepblackss
n00b
n00b


Joined: 25 Apr 2010
Posts: 9

PostPosted: Sat Jul 31, 2010 2:51 am    Post subject: Reply with quote

No luck, here are the urls. It is using genkernel if that makes any difference to you at all.
http://paste.pocoo.org/show/243685/
http://paste.pocoo.org/show/243686/
http://paste.pocoo.org/show/243687/
Back to top
View user's profile Send private message
celidomissael
n00b
n00b


Joined: 31 Jul 2010
Posts: 3
Location: Mérida - Venezuela

PostPosted: Sat Jul 31, 2010 4:17 am    Post subject: Advice Reply with quote

Deepblackss wrote:
No luck, here are the urls. It is using genkernel if that makes any difference to you at all.
http://paste.pocoo.org/show/243685/
http://paste.pocoo.org/show/243686/
http://paste.pocoo.org/show/243687/


I think your problem could be with the kernel configuration, if i were you, i would delete the .config and create it again without genkernel, select just what you need.
Compile (make), install the modules, copy your new kernel to the /boot, configure your grub.conf. And try again. :D
_________________
Missael
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Sat Jul 31, 2010 5:17 am    Post subject: Reply with quote

emerge --info says
Quote:
System uname: Linux-2.6.31-gentoo-r10-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_720_@_1.60GHz-with-gentoo-1.12.13


The config file says
Quote:
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.34-gentoo-r1
# Fri Jul 30 08:11:29 2010
#


Code:
eselect kernel list

Shoul give something like:
Quote:
Available kernel symlink targets:
[1] linux-2.6.31-gentoo-r10
[2] linux-2.6.32-gentoo-r7
[3] linux-2.6.33-gentoo-r1
[4] linux-2.6.33-gentoo-r2
[5] linux-2.6.34-gentoo-r1 *

If not, and if 2.6.34-gentoo-r1 is desired
Code:
eselect kernel set 1

then ensure /boot partition is mounted (if used) and run
Code:
genkernel --oldconfig --menuconfig all
#plus any other arguments you normally use
in menuconfig edit:
Quote:
General setup --->
[ ] enable deprecated sysfs features to support old userspace tools
disabling
Quote:
CONFIG_SYSFS_DEPRECATED=y
CONFIG_SYSFS_DEPRECATED_V2=y
which have an advertised ability to prevent udev operating normally. You have tons of modules so uevents may take awhile (2 minutes?).
Back to top
View user's profile Send private message
Deepblackss
n00b
n00b


Joined: 25 Apr 2010
Posts: 9

PostPosted: Sat Jul 31, 2010 6:55 pm    Post subject: Reply with quote

2.6.34-r1 was the only option and was already selected.

recompiled the kernel with that option disabled and still no luck.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Sat Jul 31, 2010 7:18 pm    Post subject: Reply with quote

boot the cd, mount the gentoo partitions, enter the chroot, nominally:
Code:
mount /dev/sda3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot
mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
export PS1="(chroot) $PS1"

ensure /boot partition is mounted, then
Code:
genkernel --oldconfig --menuconfig all

edit menuconfig to match:
Quote:
evice Drivers --->
< > ATA/ATAPI/MFM/RLL support --->
SCSI device support --->
*** SCSI support type (disk, tape, CD-ROM) ***
<*> SCSI disk support
< > SCSI tape support
< > SCSI OnStream SC-x0 tape support
<*> SCSI CDROM support
<*> Serial ATA (prod) and Parallel ATA (experimental) drivers --->
--- Serial ATA (prod) and Parallel ATA (experimental) drivers
[*] ATA ACPI Support
[ ] SATA Port Multiplier support
<*> AHCI SATA support
< > Silicon Image 3124/3132 SATA support
[*] ATA SFF support
< > ServerWorks Frodo / Apple K2 SATA support
<*> Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
< > Marvell SATA support (HIGHLY EXPERIMENTAL)
< > NVIDIA SATA support
< > Pacific Digital ADMA support
< > Pacific Digital SATA QStor support
< > Promise SATA TX2/TX4 support
< > Promise SATA SX4 support
< > Silicon Image SATA support
< > SiS 964/965/966/180 SATA support
< > ULi Electronics SATA support
< > VIA SATA support
< > VITESSE VSC-7174 / INTEL 31244 SATA support
< > Initio 162x SATA support
< > ACPI firmware driver for PATA
< > ALi PATA support (Experimental)
< > AMD/NVidia PATA support
< > ARTOP 6210/6260 PATA support
< > ATI PATA support
< > CMD640 PCI PATA support (Very Experimental)
< > CMD64x PATA support
< > CS5510/5520 PATA support
< > CS5530 PATA support (Experimental)
< > Cypress CY82C693 PATA support (Very Experimental)
< > EFAR SLC90E66 support
< > Generic ATA support
< > HPT 366/368 PATA support
< > HPT 370/370A/371/372/374/302 PATA support (Experimental)
< > HPT 372N/302N PATA support (Very Experimental)
< > HPT 343/363 PATA support
< > IT8211/2 PATA support
< > IT8213 PATA support (Experimental)
<*> JMicron PATA support
< > Compaq Triflex PATA support
< > Marvell PATA support via legacy mode
< > Intel PATA MPIIX support
< > Intel PATA old PIIX support
< > NETCELL Revolution RAID support
< > Ninja32/Delkin Cardbus ATA support (Experimental)
< > Nat Semi NS87415 PATA support (Experimental)
< > OPTI621/6215 PATA support (Very Experimental)
< > OPTI FireStar PATA support (Very Experimental)
< > Older Promise PATA controller support (Experimental)
< > RADISYS 82600 PATA support (Very Experimental)
< > PC Tech RZ1000 PATA support
< > SC1200 PATA support (Very Experimental)
< > SERVERWORKS OSB4/CSB5/CSB6/HT1000 PATA support
< > Promise PATA 2027x support
< > CMD / Silicon Image 680 PATA support
< > SiS PATA support (Experimental)
< > VIA PATA support
< > Winbond SL82C105 PATA support
< > Intel SCH PATA support

you may be in the situation where udev is no longer making legacy hard drive adapter device nodes
With this kernel configuration both /boot/grub/grub.conf and /etc/fstab should be edited to call partition names /dev/sd?? vice /dev/hd??
Back to top
View user's profile Send private message
Deepblackss
n00b
n00b


Joined: 25 Apr 2010
Posts: 9

PostPosted: Sat Jul 31, 2010 7:58 pm    Post subject: Reply with quote

That did it sir, thank you very much. Strange as fdisk and all my config files already listed sdx numbers. Must have been the kernel config.

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


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

PostPosted: Sat Jul 31, 2010 8:08 pm    Post subject: Reply with quote

your hard drives are sata (hence sd names) but were using the legacy drivers, genkernel needs an update, and your kernel and udev are recent and no longer make nodes for the legacy drivers.
Back to top
View user's profile Send private message
spindle
Apprentice
Apprentice


Joined: 01 Dec 2003
Posts: 245

PostPosted: Sun Sep 26, 2010 1:07 am    Post subject: Re: waiting for uevents to be processed Reply with quote

Deepblackss wrote:
Just did a fresh install of Gentoo on my laptop and on boot it is hanging on "waiting for uevents to be processed ..."

Searched and found some posts but none that seemed to apply. Any help is appreciated, I'm not sure what info you guys need so just let me know.

I had this problem although if I pressed Ctrl on the keyboard it would sometimes help get past this. Doing a,
Code:
rc-update add dbus default
fixed this, like suggested above by DONAHUE, (I already had the others setup).

Thanks!
Back to top
View user's profile Send private message
orange_juice
Guru
Guru


Joined: 16 Feb 2006
Posts: 588
Location: Athens - Greece

PostPosted: Thu Nov 25, 2010 12:33 am    Post subject: Reply with quote

Hallo,

It was a few years ago when I was experimenting building a server with gentoo.

I have never used it, but I kept updating it.

Now that I need it ... I faced this very problem.

I followed the posts above but with no luck.

Actually, the fourth time I hit the reset button, the server boots. Until then it freezes after the "waiting for uevents to be processed OK" message.

http://paste.pocoo.org/show/295728/
http://paste.pocoo.org/show/295729/
http://pastebin.ca/2001525

I would appreciate your help very much!

Kind regards,
orange_juice
Back to top
View user's profile Send private message
idella4
Retired Dev
Retired Dev


Joined: 09 Jun 2006
Posts: 1600
Location: Australia, Perth

PostPosted: Fri Nov 26, 2010 5:16 am    Post subject: Reply with quote

orange_juice

your system is about a year old. Before starting any negotiations, consider updating the whole thing. I have kernels but I lost my kernel 2.6.32 in a btrfs mishap, and it was a xen kernel, not a hardened. hardened I have 2.6.34 * 36. My first approach is to incorporate your config into my system and run & test it. I baulk at putting a 2.6.32 into a 2.6.34. If I decide I'm kean, portage does offer a 2.6.32-23.

An upgrade will take a while and emerge -u will pull in 2.6.35-hardened on your stable system.

Deepblackss

you claim a fresh install with a kernel 3 months old. 2.6.34 is no longer update in the portage tree, same for you.
_________________
idella4@aus
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Fri Nov 26, 2010 6:29 am    Post subject: Reply with quote

Quote:
Quote:
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set

Might need to be
CONFIG_HUGETLBFS=y
CONFIG_HUGETLB_PAGE=y

Under File Systems->Psuedo File Systems in menu config, in fact recommend all under Psuedo File Systems be yes.

If using openrc/baselayout2; is udev in the sysinit run level? udev-postmount in the default runlevel? dbus and hald in the default run level?
You don't have dbus, hal, udev USE flags. This may be a problem.

Disclaimer: I run gentoo-sources not hardened-sources.
Back to top
View user's profile Send private message
orange_juice
Guru
Guru


Joined: 16 Feb 2006
Posts: 588
Location: Athens - Greece

PostPosted: Fri Nov 26, 2010 11:30 am    Post subject: Reply with quote

Hallo, thank you for your prompt answering!

DONAHUE wrote:
Disclaimer: I run gentoo-sources not hardened-sources.

You are very right, this is a sensitive issue because there are huge differences. For example:

Code:
# emerge -pv hardened-sources

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-kernel/hardened-sources-2.6.32-r22  USE="-build -deblob -symlink" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB


Code:
# emerge --deep --newuse --update --with-bdeps y world -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] sys-devel/autoconf-wrapper-10-r1 [8] 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB


I am still on baselayout-1.12.11.1 since 2 is masked and I have to say that kernel 2.6.28-hardened-r9 works like a charm.
However this is an old kernel and the differences with the current 2.6.32-r22 are many and I cannot understand them!


I marked all pseudofilesystems as adviced but still no luck. The only thing is that during shutdown my system froze at the point of "Shutting down the logical volume manager".
During startup froze,as expected, after completing the waiting for uevents to be processed OK" just before "mounting /dev/pts" (it does not appear but the uevents are marked OK)


Would it be better to start a new thread for hardened systems?
Thank you again for your helping.

Kind regards,
orange_juice
Back to top
View user's profile Send private message
idella4
Retired Dev
Retired Dev


Joined: 09 Jun 2006
Posts: 1600
Location: Australia, Perth

PostPosted: Fri Nov 26, 2010 1:08 pm    Post subject: Reply with quote

orange_juice

one in the spot test coming up. This should be ok, but us room for a mishap. Putting your 2.6.32-hardened config into my 2.6.34-hardened.
It wouldn't necessarily work the other way. See if I can replicate this hang. I have only made 1 change to the disk driver and at a pinch I can undo that and still have it boot.

It is kind of showing results being it won't complete a compile. Just had to uncheck a couple of harmless points, still stalling.
This is proving quite awkward.
_________________
idella4@aus


Last edited by idella4 on Fri Nov 26, 2010 3:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Fri Nov 26, 2010 3:35 pm    Post subject: Reply with quote

Your kernel config shows both legacy hard drive adapter drivers and libata hard drive adapter drivers are builtin. If the kernel has opted to use a legacy driver for any component, recent udev's will fail to make device nodes for that component/driver and you will get the error you are getting.
lspci -k shows: "Kernel driver in use: VIA_IDE" which is a legacy driver.
Regressing udev seems to be "too hard" so recommend:
Quote:
Device Drivers --->
< > ATA/ATAPI/MFM/RLL support --->
SCSI device support --->
*** SCSI support type (disk, tape, CD-ROM) ***
<*> SCSI disk support
< > SCSI tape support
< > SCSI OnStream SC-x0 tape support
<*> SCSI CDROM support
<*> Serial ATA (prod) and Parallel ATA (experimental) drivers --->
--- Serial ATA (prod) and Parallel ATA (experimental) drivers
[*] ATA ACPI Support
[ ] SATA Port Multiplier support #use only if you have a port multiplier
<*> AHCI SATA support
< > Silicon Image 3124/3132 SATA support
[*] ATA SFF support
< > ServerWorks Frodo / Apple K2 SATA support
< > Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
< > Marvell SATA support (HIGHLY EXPERIMENTAL)
<*> NVIDIA SATA support
< > Pacific Digital ADMA support
< > Pacific Digital SATA QStor support
< > Promise SATA TX2/TX4 support
< > Promise SATA SX4 support
< > Silicon Image SATA support
< > SiS 964/965/966/180 SATA support
< > ULi Electronics SATA support
< > VIA SATA support
< > VITESSE VSC-7174 / INTEL 31244 SATA support
< > Initio 162x SATA support
< > ACPI firmware driver for PATA
< > ALi PATA support (Experimental)
<*> AMD/NVidia PATA support
< > ARTOP 6210/6260 PATA support
< > ATI PATA support
< > CMD640 PCI PATA support (Very Experimental)
< > CMD64x PATA support
< > CS5510/5520 PATA support
< > CS5530 PATA support (Experimental)
< > Cypress CY82C693 PATA support (Very Experimental)
< > EFAR SLC90E66 support
< > Generic ATA support
< > HPT 366/368 PATA support
< > HPT 370/370A/371/372/374/302 PATA support (Experimental)
< > HPT 372N/302N PATA support (Very Experimental)
< > HPT 343/363 PATA support
< > IT8211/2 PATA support
< > IT8213 PATA support (Experimental)
< > JMicron PATA support
< > Compaq Triflex PATA support
< > Marvell PATA support via legacy mode
< > Intel PATA MPIIX support
< > Intel PATA old PIIX support
< > NETCELL Revolution RAID support
< > Ninja32/Delkin Cardbus ATA support (Experimental)
< > Nat Semi NS87415 PATA support (Experimental)
< > OPTI621/6215 PATA support (Very Experimental)
< > OPTI FireStar PATA support (Very Experimental)
< > Older Promise PATA controller support (Experimental)
< > RADISYS 82600 PATA support (Very Experimental)
< > PC Tech RZ1000 PATA support
< > SC1200 PATA support (Very Experimental)
< > SERVERWORKS OSB4/CSB5/CSB6/HT1000 PATA support
< > Promise PATA 2027x support
< > CMD / Silicon Image 680 PATA support
< > SiS PATA support (Experimental)
< > VIA PATA support
< > Winbond SL82C105 PATA support
< > Intel SCH PATA support


Recompile and recopy kernel.

With this kernel configuration both /boot/grub/grub.conf and /etc/fstab should be edited to call partition names /dev/sd?? vice /dev/hd?? cd/dvd will use /dev/sr? like /dev/sr0
Back to top
View user's profile Send private message
idella4
Retired Dev
Retired Dev


Joined: 09 Jun 2006
Posts: 1600
Location: Australia, Perth

PostPosted: Fri Nov 26, 2010 3:38 pm    Post subject: Reply with quote

tell me about it!

Code:

genny linux-2.6.34-hardened-r6 # make CC="ccache gcc" -j4
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
# @-chmod -f 500 /boot
# @-chmod -f 500 /lib/modules
# @-chmod -f 700 .
# @echo '  grsec: protected kernel image paths'
  LD      fs/proc/proc.o
ld:fs/proc/generic.o: file format not recognized; treating as linker script
ld:fs/proc/generic.o:2: syntax error
make[2]: *** [fs/proc/proc.o] Error 1
make[1]: *** [fs/proc] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [fs] Error 2
make: *** Waiting for unfinished jobs....
  CC      drivers/cpuidle/cpuidle.o
  CC      drivers/crypto/padlock-aes.o
  CC      drivers/cpuidle/driver.o
  LD      drivers/crypto/built-in.o
drivers/crypto/padlock-aes.o: file not recognized: File format not recognized
make[2]: *** [drivers/crypto/built-in.o] Error 1
make[1]: *** [drivers/crypto] Error 2
make[1]: *** Waiting for unfinished jobs....
  CC      drivers/cpuidle/governor.o
  LD      drivers/char/hw_random/rng-core.o
drivers/char/hw_random/core.o: file not recognized: File format not recognized
make[3]: *** [drivers/char/hw_random/rng-core.o] Error 1
make[2]: *** [drivers/char/hw_random] Error 2
make[1]: *** [drivers/char] Error 2
  CC      drivers/cpuidle/sysfs.o
  CC      drivers/cpuidle/governors/ladder.o
  LD      drivers/cpuidle/governors/built-in.o
drivers/cpuidle/governors/ladder.o: file not recognized: File format not recognized
make[3]: *** [drivers/cpuidle/governors/built-in.o] Error 1
make[2]: *** [drivers/cpuidle/governors] Error 2
make[1]: *** [drivers/cpuidle] Error 2
  LD      drivers/acpi/acpica/acpi.o
drivers/acpi/acpica/utmisc.o: file not recognized: File format not recognized
make[3]: *** [drivers/acpi/acpica/acpi.o] Error 1
make[2]: *** [drivers/acpi/acpica] Error 2
make[1]: *** [drivers/acpi] Error 2
make: *** [drivers] Error 2


orange_juice

You say it compiled on yours, I've had enough. It keeps on throwing up errors that I don't need to debug. It should at least compile on my system with just changing the processor choice and drive controllers, so this suggests your config is quite out in subtle areas.
You have many selections vacant that I would check, but filling in such gaps distances the config further from your suspect config, it's for you to do.
The outline by DONAHUE is correct.

I suggest throw away this config, take note of the above, start again with defconfig or the other yesconfig ot whatever it's called or make menuconfig from scratch using the above as a starter. I've tested other configs with minimal changes & one single compile, but this..
_________________
idella4@aus
Back to top
View user's profile Send private message
orange_juice
Guru
Guru


Joined: 16 Feb 2006
Posts: 588
Location: Athens - Greece

PostPosted: Sat Nov 27, 2010 1:39 am    Post subject: Reply with quote

DONAHUE wrote:
Your kernel config shows both legacy hard drive adapter drivers and libata hard drive adapter drivers are builtin. If the kernel has opted to use a legacy driver for any component, recent udev's will fail to make device nodes for that component/driver and you will get the error you are getting.


I had to do this a few years ago because after an upgrade ... I lost my hard drives! Now again it caused inconvenience ... :roll: It is diffucult to cope with kernel issues alone!

DONAHUE wrote:
Recompile and recopy kernel.


:D

Your help is greatly appreciated. This very setup, worked like a charm, thank you very much.

:D



idella4 wrote:
so this suggests your config is quite out in subtle areas


Indeed, it was a basic "100 world packages" server configuration I had done several years ago and kept on updating with make oldconfig -most of the times- default settings.

Code:
WARNING: modpost: Found 4625 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'


I suspect that the above output of my kernel compilation verifies the fact that my setup is kind of ... neglected.
When I am not so stressed I will give a try to http://www.kernel-seeds.org/ and try to put some things together in order to bring the number closer to 0!

Pappy wrote:
I read somewhere that the Linux kernel is a lonely place to be without a map.


Thank you again for your help.

Kind regards,
orange_juice
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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