Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
System Halt and udev Errors
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Tue Jun 13, 2006 3:29 pm    Post subject: Re: coldplug Reply with quote

mjwelsh wrote:
coldplug detects your hardware and loads modules for it if needed - udev does the detection itself so it doesn't need coldplug anymore


From what I can see in the handbook, coldplug is still required:

Quote:
Now, let's perform one more step to get our system to be more like the Installation CD -- let's emerge coldplug. While the initrd autodetects hardware that is needed to boot your system, coldplug autodetects everything else. To emerge and enable coldplug, type the following:

Code Listing 20: Emerging and enabling coldplug

# emerge coldplug
# rc-update add coldplug boot


EDIT: ok,it looks like this will change at some point in the future. I've unmasekd udev-90 and now have the following:

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

Calculating world dependencies... done!
[blocks B     ] sys-apps/coldplug (is blocking sys-fs/udev-090)
[blocks B     ] >=sys-fs/udev-089 (is blocking sys-apps/coldplug-20040920-r1)
[ebuild     U ] sys-fs/udev-090 [079-r1] 187 kB


So it does look like we can remove coldplug at some point 8O

EDIT: I don't know if this thread will help you: https://forums.gentoo.org/viewtopic-t-429096-highlight-udev+rmdir.html


UPDATE: removing coldplug and upgrading udev to udev-090 fixed my errors.....and my system still boots!!! :P

EDIT (After UPDATE): ok, I've just rebooted a 2nd time after the upgrade and I've got the errors back!! :?
Back to top
View user's profile Send private message
BlueFusion
Guru
Guru


Joined: 08 Mar 2006
Posts: 371

PostPosted: Tue Jun 13, 2006 10:12 pm    Post subject: Reply with quote

My errors are not acting up since I compiled base ACPI support in to the kernel. Still running the x86 stable udev version.
_________________
i7-940 2.93Ghz | ASUS P6T Deluxe (v.1) | 24GB Triple Channel RAM | nVidia GTX660
4x 4TB Seagate NAS HDD (Btrfs raid5) | 2x 120GB Samsung 850 EVO SSD (Btrfs raid1)
Back to top
View user's profile Send private message
Treborius
Guru
Guru


Joined: 18 Oct 2005
Posts: 585
Location: Berlin

PostPosted: Tue Jun 13, 2006 10:27 pm    Post subject: Reply with quote

udev-90, no coldplug installed, and same error here :(
_________________
Systems running gentoo :
Desktop, Laptop, ZOTAC AD-10 media-center, odroid-xu4 server / wLan-router
Back to top
View user's profile Send private message
linoleum
Tux's lil' helper
Tux's lil' helper


Joined: 15 Nov 2004
Posts: 129

PostPosted: Wed Jun 14, 2006 10:47 am    Post subject: Reply with quote

Damn!
I tried all your suggestions with no luck. I've just synced and updated my world but still the problem remains. Any other suggestions on how to look for thr origin of the problem?
Thanks again
Back to top
View user's profile Send private message
Malakin
Veteran
Veteran


Joined: 14 Apr 2002
Posts: 1692
Location: Victoria BC Canada

PostPosted: Fri Jun 23, 2006 5:07 am    Post subject: Reply with quote

No solution to this yet?

I'm having the exact same errors that WJB posted on May 4th. Nothing I've found has helped so far so I have to physically hit the reset button any time I reboot.
Back to top
View user's profile Send private message
BlueFusion
Guru
Guru


Joined: 08 Mar 2006
Posts: 371

PostPosted: Fri Jun 23, 2006 4:08 pm    Post subject: Reply with quote

I have fixed the halt issue with my desktop by enabling basic power management and ACPI support into the kernel. The errors don't show up and it powers down the system properly. But now my laptop has the errors, but still powers down a few seconds later. I just upgraded udev to the latest x86 version and it gave no changes.
_________________
i7-940 2.93Ghz | ASUS P6T Deluxe (v.1) | 24GB Triple Channel RAM | nVidia GTX660
4x 4TB Seagate NAS HDD (Btrfs raid5) | 2x 120GB Samsung 850 EVO SSD (Btrfs raid1)
Back to top
View user's profile Send private message
Malakin
Veteran
Veteran


Joined: 14 Apr 2002
Posts: 1692
Location: Victoria BC Canada

PostPosted: Fri Jun 23, 2006 7:29 pm    Post subject: Reply with quote

I've tried everything mentioned in this thread so far.
Back to top
View user's profile Send private message
blaster999
l33t
l33t


Joined: 09 May 2004
Posts: 902
Location: Between keyboard and chair

PostPosted: Sun Jun 25, 2006 1:13 pm    Post subject: Reply with quote

Hi! I got a similar problem. I solved it by downgrading baselayout. See my thread: https://forums.gentoo.org/viewtopic-t-474331.html
_________________
60s: sex, drugs, rock'n'roll
90s: sux, bugs, drag'n'drop
---
Some multimedia keys refuse to work? See my mini-howto:
https://forums.gentoo.org/viewtopic.php?p=1896734#1896734
Back to top
View user's profile Send private message
SiberianSniper
Guru
Guru


Joined: 06 Apr 2006
Posts: 381
Location: Dayton, OH, USA

PostPosted: Mon Jun 26, 2006 8:02 pm    Post subject: Reply with quote

blaster999 wrote:
Hi! I got a similar problem. I solved it by downgrading baselayout. See my thread: https://forums.gentoo.org/viewtopic-t-474331.html


I tried that but it didn't work for me... :?
Back to top
View user's profile Send private message
szpil
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2005
Posts: 81

PostPosted: Fri Jun 30, 2006 12:28 pm    Post subject: Reply with quote

Hey

The same errors with udev.

I fixed this problem :lol:

Remove dir
Code:
/lib/udev/devices


then

Code:
mkdir /lib/udev/devices

chmod 600 -R /lib/udev/devices


and PROBLEMS GONE :lol:
Back to top
View user's profile Send private message
tld
Veteran
Veteran


Joined: 09 Dec 2003
Posts: 1852

PostPosted: Mon Jul 03, 2006 8:56 pm    Post subject: Reply with quote

During shutdown I get errors much like wjb describes (as best as I can read them when they flash by), but they don't prevent my system from shutting down at all.

Tom
Back to top
View user's profile Send private message
HTS
Guru
Guru


Joined: 20 Feb 2006
Posts: 410
Location: Bristol, UK

PostPosted: Wed Jul 05, 2006 2:08 am    Post subject: Reply with quote

Same here, trying all your suggestions...
Don't do as szpil suggests, it broke my udev... 8O Nothing serious though, an emerge udev put things back to where they were. So nothing changed, still the error messages after file system has been remounted read only...
EDIT1: they don't prevent the system from shutting down either. But this makes the 'beautiful' halt/reboot screen ugly.
EDIT2: well, still no clue?? This shouldn't be so difficult... I hate those messages really. Do you know what version introduced them?
Back to top
View user's profile Send private message
HTS
Guru
Guru


Joined: 20 Feb 2006
Posts: 410
Location: Bristol, UK

PostPosted: Sat Jul 22, 2006 9:33 pm    Post subject: Reply with quote

*BUMP* *BUMP*
This is insane... still no clue?
What version introduced this bug?
PS: I am using baselayout-1.11.15-r3
Back to top
View user's profile Send private message
Cheopsje
n00b
n00b


Joined: 14 May 2006
Posts: 1

PostPosted: Mon Aug 07, 2006 11:10 am    Post subject: Reply with quote

I have recently done a fresh install with the 2006.0 release

I mean yesterday :D

I have this very same problem, I upgraded udev to latest masked version. And still this occurs.
By same error I mean when rebooting i get the errors.

Then I went experimenting...

I unplugged my USB devices, and no erros for me anymore.
If i plug them back in , errors reapear...

So my conclusion is USB has something to do with it...
Back to top
View user's profile Send private message
D2T
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2005
Posts: 96
Location: Behind You

PostPosted: Sat Aug 12, 2006 2:53 am    Post subject: Reply with quote

I'm having the same problem after my hard drive died and I started a fresh install on a new drive. Haven't been able to find a solution yet.

Right now I'm just stuck in an infinite loop when trying to shutdown or reboot. Gonna check my APM and ACPI settings in the kernel tomorrow though, to see if that'll actually let me shutdown/reboot although I thought I had configured both...
Back to top
View user's profile Send private message
HTS
Guru
Guru


Joined: 20 Feb 2006
Posts: 410
Location: Bristol, UK

PostPosted: Sat Aug 12, 2006 4:08 am    Post subject: Reply with quote

Yes, you're actually in the worst scenario,
These errors don't prevent my laptop from shutting down but many others are in your case.
There is a new baselayout out today with new shutdown scripts, duno if that solved the issue.
_________________
Plasma desktop on Core i7 8086K OC @ 5GHz, 64GB DDR4, 2 x M.2 Samsung 970 PRO 1TB SSDs
Back to top
View user's profile Send private message
D2T
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2005
Posts: 96
Location: Behind You

PostPosted: Sat Aug 12, 2006 4:18 am    Post subject: Reply with quote

HTS wrote:
Yes, you're actually in the worst scenario,
These errors don't prevent my laptop from shutting down but many others are in your case.
There is a new baselayout out today with new shutdown scripts, duno if that solved the issue.


Well, I'm up to date as of 2 minutes ago and it still doesn't work, and my kernel settings seem to be fine. Bah.

Since it's a new install and I haven't really set much up yet, I'll probably fool with some other distributions until I hear it's been resolved ;)
Back to top
View user's profile Send private message
HTS
Guru
Guru


Joined: 20 Feb 2006
Posts: 410
Location: Bristol, UK

PostPosted: Sat Aug 12, 2006 4:28 am    Post subject: Reply with quote

Noooh!
Please stay with us Gentoo-ers! :wink:

What version of udev do you have btw? Here:
sys-fs/udev-096-r1
sys-apps/baselayout-1.12.4-r2
_________________
Plasma desktop on Core i7 8086K OC @ 5GHz, 64GB DDR4, 2 x M.2 Samsung 970 PRO 1TB SSDs
Back to top
View user's profile Send private message
D2T
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2005
Posts: 96
Location: Behind You

PostPosted: Sat Aug 12, 2006 5:04 am    Post subject: Reply with quote

Well, I figured I'd try to learn more about the problem instead of playing musical distributions. :D

I went up to sys-fs/udev-096-r1 and it made no difference, so emerg'd back. Same thing with baselayout, up to whatever the newest ~x86 was.

I did notice that if I kill -9 udevd before shutdown/reboot the flood of errors stops. udevd seems to be trying to access /dev after all the mounts have been changed to read only in preparation for shutdown/reboot. I'm not sure if some script is supposed to be stopping udevd before this point or if it had just never been a necessary before. The /lib/rcscripts/addons/udev-stop.sh script does finish executing before the mounts are set read-only, but it only seems to handle /dev archiving and clearing and not killing the udev daemon.


The machine itself doesn't physically reboot itself or shut itself all though. Guess I'll look over my kernel config a third time..

edit: I added the following to /etc/init.d/halt.sh and it has gotten rid of the udevd read only errors. No other ill effects I can see. Use at your own risk ;)


**************Begin*******************

stop_addon devfs
stop_addon udev

ebegin "Stopping udev"
start-stop-daemon --stop --exec udevd
eend $?


****************End******************

May be a better idea to do it later in the script though, directly before it makes all the mounts read-only...so right above these lines is another alternative:

Code:

eebegin "Remounting remaining file systems read-only"
mount_worked=0


Last edited by D2T on Sat Aug 12, 2006 5:28 am; edited 1 time in total
Back to top
View user's profile Send private message
HTS
Guru
Guru


Joined: 20 Feb 2006
Posts: 410
Location: Bristol, UK

PostPosted: Sat Aug 12, 2006 5:27 am    Post subject: Reply with quote

I think your reboot problem is udev related:

See the bug

Since the bug appeared in 87, you can also try to
emerge -av =udev-0.86

EDIT: did your 'patch' solve your reboot issue?
_________________
Plasma desktop on Core i7 8086K OC @ 5GHz, 64GB DDR4, 2 x M.2 Samsung 970 PRO 1TB SSDs
Back to top
View user's profile Send private message
D2T
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2005
Posts: 96
Location: Behind You

PostPosted: Sat Aug 12, 2006 5:39 am    Post subject: Reply with quote

HTS wrote:
I think your reboot problem is udev related:

See the bug

Since the bug appeared in 87, you can also try to
emerge -av =udev-0.86


I've seen that bug and the one solution about re-creating directories didn't work for me.

HTS wrote:
EDIT: did your 'patch' solve your reboot issue?


No, but after my third kernel inspection I did find a rather obvious option I forgot to check (the 'button' sub-option under APM I think it was). So now I'm re-compiling to see if it'll actually reboot/power down.

edit: Still a no-go on the APM stuff. Not sure if it's cause of udev or just me forgetting how to configure the kernel since I haven't done it in awhile

edit2: just wiped out and did a new install to get the acpi working. not sure what I did wrong the first time. Masked udev, and it's back to working at 079-r1...going to try 079-r2 shortly.
Back to top
View user's profile Send private message
wjb
l33t
l33t


Joined: 10 Jul 2005
Posts: 644
Location: Fife, Scotland

PostPosted: Sat Aug 12, 2006 10:27 am    Post subject: Reply with quote

My problem has just 'gone away' with the recent update of baselayout to 1.11.15-r3, so the system shuts down without all the messages about being unable to remove paths.
Back to top
View user's profile Send private message
HTS
Guru
Guru


Joined: 20 Feb 2006
Posts: 410
Location: Bristol, UK

PostPosted: Sat Aug 12, 2006 11:20 pm    Post subject: Reply with quote

Yes, same here, baselayout solved it as expected (see my previous posts).
_________________
Plasma desktop on Core i7 8086K OC @ 5GHz, 64GB DDR4, 2 x M.2 Samsung 970 PRO 1TB SSDs
Back to top
View user's profile Send private message
phsdv
Guru
Guru


Joined: 13 Mar 2005
Posts: 372
Location: Europe

PostPosted: Sun Aug 13, 2006 11:22 am    Post subject: Reply with quote

No, that did not work for me, I have these problems with baselout 1.11.15-r3. However the folowing combination does (finaly) work for me (no errors):
Code:
sys-apps/sysvinit-2.86-r5  USE="-bootstrap -build -static"
sys-apps/baselayout-1.12.4-r2  USE="unicode -bootstrap -build -static"
sys-fs/udev-090
Back to top
View user's profile Send private message
lro402
n00b
n00b


Joined: 01 Jan 2004
Posts: 42

PostPosted: Thu Aug 17, 2006 11:25 am    Post subject: SystemHalt and udev Errors Reply with quote

I have been following this thread for a couple of weeks as I have the halt and udev problem described here. I have tried all the suggested possible fixes and nothing has worked for me. The machine is an Athlon XP CPU on an Epox motherboard with ACPI Power Management enabled and an IDE drive using the Reiser filesystem. The machine had been running without problems on kernel 2.6.16-r13 and closing down properly. I wanted to emerge AbiWord and brought my system "up to date" with emerge system. This updated a number of files including baselayout (yes I ran etc-update). From that time the machine began hanging on shutdown, usually, but not always, followed by the udev runaway problem. As I said I have tried all possible fixes suggested in this thread but that hasn't helped. I compiled kernel 2.6.17-r4 this morning (making sure ACPI and APM were enabled), emerged sysvinit-2.86-r5 and baselayout-1.12.4-r6 with the USE variables suggested by phsdv on Aug13, and emerged udev-090 (had to unmerge coldplug as it was blocking it). But the shutdown problems are still there.

Has anyone been able to shed more light on this topic - I note it has been around for quite a while (initial post April 26). Apart from the shutdown problem the machine is quite usable, but we shouldn't let this thread go cold before a solution is found to the problem.

Hoping someone has further ideas or experiences I can try.

Frank. :(
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
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
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