View previous topic :: View next topic |
Author |
Message |
richard.scott Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 19 May 2003 Posts: 1497 Location: Oxfordshire, UK
|
Posted: Tue Jun 13, 2006 3:29 pm Post subject: Re: coldplug |
|
|
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
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!!!
EDIT (After UPDATE): ok, I've just rebooted a 2nd time after the upgrade and I've got the errors back!! ![Confused :?](images/smiles/icon_confused.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
BlueFusion Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 08 Mar 2006 Posts: 371
|
Posted: Tue Jun 13, 2006 10:12 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Treborius Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Simpsons/Simpsons_-_Maggie.jpg)
Joined: 18 Oct 2005 Posts: 585 Location: Berlin
|
Posted: Tue Jun 13, 2006 10:27 pm Post subject: |
|
|
udev-90, no coldplug installed, and same error here ![Sad :(](images/smiles/icon_sad.gif) _________________ Systems running gentoo :
Desktop, Laptop, ZOTAC AD-10 media-center, odroid-xu4 server / wLan-router |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
linoleum Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/31724078841a8c5ec63b2d.gif)
Joined: 15 Nov 2004 Posts: 129
|
Posted: Wed Jun 14, 2006 10:47 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Malakin Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/111120749840365beed6b10.png)
Joined: 14 Apr 2002 Posts: 1692 Location: Victoria BC Canada
|
Posted: Fri Jun 23, 2006 5:07 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
BlueFusion Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 08 Mar 2006 Posts: 371
|
Posted: Fri Jun 23, 2006 4:08 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Malakin Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/111120749840365beed6b10.png)
Joined: 14 Apr 2002 Posts: 1692 Location: Victoria BC Canada
|
Posted: Fri Jun 23, 2006 7:29 pm Post subject: |
|
|
I've tried everything mentioned in this thread so far. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
blaster999 l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/193094518740bf62014c24b.jpg)
Joined: 09 May 2004 Posts: 902 Location: Between keyboard and chair
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
SiberianSniper Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/148147634159a73af20e1b6.jpg)
Joined: 06 Apr 2006 Posts: 381 Location: Dayton, OH, USA
|
Posted: Mon Jun 26, 2006 8:02 pm Post subject: |
|
|
I tried that but it didn't work for me... ![Confused :?](images/smiles/icon_confused.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
szpil Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 09 Oct 2005 Posts: 81
|
Posted: Fri Jun 30, 2006 12:28 pm Post subject: |
|
|
Hey
The same errors with udev.
I fixed this problem
Remove dir
then
Code: | mkdir /lib/udev/devices
chmod 600 -R /lib/udev/devices |
and PROBLEMS GONE ![Laughing :lol:](images/smiles/icon_lol.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tld Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 09 Dec 2003 Posts: 1852
|
Posted: Mon Jul 03, 2006 8:56 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
HTS Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1385942598450d73fc64a63.jpg)
Joined: 20 Feb 2006 Posts: 410 Location: Bristol, UK
|
Posted: Wed Jul 05, 2006 2:08 am Post subject: |
|
|
Same here, trying all your suggestions...
Don't do as szpil suggests, it broke my udev... 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 |
|
![](templates/gentoo/images/spacer.gif) |
HTS Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1385942598450d73fc64a63.jpg)
Joined: 20 Feb 2006 Posts: 410 Location: Bristol, UK
|
Posted: Sat Jul 22, 2006 9:33 pm Post subject: |
|
|
*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 |
|
![](templates/gentoo/images/spacer.gif) |
Cheopsje n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Zelda/Zelda_-_Link2.jpg)
Joined: 14 May 2006 Posts: 1
|
Posted: Mon Aug 07, 2006 11:10 am Post subject: |
|
|
I have recently done a fresh install with the 2006.0 release
I mean yesterday
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 |
|
![](templates/gentoo/images/spacer.gif) |
D2T Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_bender.gif)
Joined: 07 Mar 2005 Posts: 96 Location: Behind You
|
Posted: Sat Aug 12, 2006 2:53 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
HTS Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1385942598450d73fc64a63.jpg)
Joined: 20 Feb 2006 Posts: 410 Location: Bristol, UK
|
Posted: Sat Aug 12, 2006 4:08 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
D2T Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_bender.gif)
Joined: 07 Mar 2005 Posts: 96 Location: Behind You
|
Posted: Sat Aug 12, 2006 4:18 am Post subject: |
|
|
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 ![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
HTS Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1385942598450d73fc64a63.jpg)
Joined: 20 Feb 2006 Posts: 410 Location: Bristol, UK
|
Posted: Sat Aug 12, 2006 4:28 am Post subject: |
|
|
Noooh!
Please stay with us Gentoo-ers!
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 |
|
![](templates/gentoo/images/spacer.gif) |
D2T Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_bender.gif)
Joined: 07 Mar 2005 Posts: 96 Location: Behind You
|
Posted: Sat Aug 12, 2006 5:04 am Post subject: |
|
|
Well, I figured I'd try to learn more about the problem instead of playing musical distributions.
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 |
|
![](templates/gentoo/images/spacer.gif) |
HTS Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1385942598450d73fc64a63.jpg)
Joined: 20 Feb 2006 Posts: 410 Location: Bristol, UK
|
Posted: Sat Aug 12, 2006 5:27 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
D2T Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_bender.gif)
Joined: 07 Mar 2005 Posts: 96 Location: Behind You
|
Posted: Sat Aug 12, 2006 5:39 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
wjb l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/175948696043ebbca04cf98.png)
Joined: 10 Jul 2005 Posts: 644 Location: Fife, Scotland
|
Posted: Sat Aug 12, 2006 10:27 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
HTS Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1385942598450d73fc64a63.jpg)
Joined: 20 Feb 2006 Posts: 410 Location: Bristol, UK
|
Posted: Sat Aug 12, 2006 11:20 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
phsdv Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/71570457042500fa867f57.gif)
Joined: 13 Mar 2005 Posts: 372 Location: Europe
|
Posted: Sun Aug 13, 2006 11:22 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
lro402 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 01 Jan 2004 Posts: 42
|
Posted: Thu Aug 17, 2006 11:25 am Post subject: SystemHalt and udev Errors |
|
|
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. ![Sad :(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|