| View previous topic :: View next topic |
| Author |
Message |
hedmo l33t


Joined: 29 Aug 2009 Posts: 829 Location: halmstad
|
Posted: Sat Mar 31, 2012 6:44 pm Post subject: udev dont start at boot(solved) |
|
|
hi all
today i updated udev and after that my mouse and keyboard did not work so i had to
reset my box.when i started my box again udev wont start and all my other stuff at boot wont start ether .i have all my hdd on raid0 but boot (raid1) and
/usr
/usr/portage
/usr/portage
/home
/opt
/var
/var/tmp
/tmp
on lvm.lvm wont start because it can not find udev.....so.is there a way to save my box with out a gentoo cd (my lovely girls have scratched it )
regards hedmo
Last edited by hedmo on Fri Apr 13, 2012 6:19 pm; edited 2 times in total |
|
| Back to top |
|
 |
zoidie n00b


Joined: 13 Apr 2010 Posts: 39
|
Posted: Sat Mar 31, 2012 8:21 pm Post subject: |
|
|
Probably not...
I've just recovered from the same problem. I needed to compile tmpdevfs support into the kernel.
In my case, I managed to use connectbot on my phone to login to the computer. Not the ideal way to compile a kernel but easier than finding my CD! |
|
| Back to top |
|
 |
hedmo l33t


Joined: 29 Aug 2009 Posts: 829 Location: halmstad
|
Posted: Sat Mar 31, 2012 10:29 pm Post subject: |
|
|
zoidie
thanks for the advice but did not help (did not find tmpdevfs in the kernel) so i remove sys-auth/consolekit, sys-fs/udev-init-scripts-10 and downgraded udev to sys-fs/udev-171-r5
via a minimal cd to be able to reboot my box again.
zoidie are you shore that was the only problem .if that so please help me find and fix it . i need to make this change to fix:
The following USE changes are necessary to proceed:
#required by media-sound/pulseaudio-1.99.2[udev], required by kde-base/kmix-9999[pulseaudio], required by @selected, required by @world (argument)
=sys-fs/udev-182-r2 hwdb
regards
hedmo |
|
| Back to top |
|
 |
megabaks Tux's lil' helper


Joined: 22 Jan 2012 Posts: 105
|
Posted: Sun Apr 01, 2012 12:54 am Post subject: |
|
|
| Quote: | | did not find tmpdevfs in the kernel | o_O?
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y |
|
| Back to top |
|
 |
zoidie n00b


Joined: 13 Apr 2010 Posts: 39
|
Posted: Sun Apr 01, 2012 9:06 am Post subject: |
|
|
| megabaks wrote: | | Quote: | | did not find tmpdevfs in the kernel | o_O?
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y |
Its under device drivers > generic driver options.
The only other command I'd tried was:
| Code: | | emerge -av $(qlist -IC x11-drivers/) | but that didn't fix it |
|
| Back to top |
|
 |
hedmo l33t


Joined: 29 Aug 2009 Posts: 829 Location: halmstad
|
Posted: Sun Apr 01, 2012 9:38 am Post subject: |
|
|
megabaks and zoidie
thanks for guide me to it but did not help me with the problem (had to downgrade again)
after recompiling my kernel i got a message:
you may need to install module-init-tools
so first :
mybox linux # emerge -av module-init-tools
* IMPORTANT: 6 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] sys-apps/module-init-tools-3.16-r1 USE="-static" 0 kB
[uninstall ] sys-apps/kmod-7 USE="tools zlib -debug -doc -lzma -static-libs"
[blocks b ] sys-apps/kmod ("sys-apps/kmod" is blocking sys-apps/module-init-tools-3.16-r1)
[blocks b ] sys-apps/module-init-tools ("sys-apps/module-init-tools" is blocking sys-apps/kmod-7)
Total: 1 package (1 new, 1 uninstall), Size of downloads: 0 kB
Conflict: 2 blocks
Would you like to merge these packages? [Yes/No] y
but after that:
mybox linux # emerge -av udev
* IMPORTANT: 6 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] sys-apps/kmod-7 USE="tools zlib -debug -doc -lzma -static-libs" 0 kB
[ebuild N ] sys-fs/udev-init-scripts-10 0 kB
[ebuild U ] sys-fs/udev-182-r2 [171-r5] USE="gudev hwdb introspection openrc%* rule_generator -build -debug -doc% -floppy -keymap (-selinux) -static-libs% (-acl%*) (-action_modeswitch%) (-edd%) (-extras%*) (-test%)" 0 kB
[blocks b ] <sys-fs/udev-182 ("<sys-fs/udev-182" is blocking sys-fs/udev-init-scripts-10)
[blocks B ] sys-apps/kmod ("sys-apps/kmod" is blocking sys-apps/module-init-tools-3.16-r1)
[blocks B ] sys-apps/module-init-tools ("sys-apps/module-init-tools" is blocking sys-apps/kmod-7)
Total: 3 packages (1 upgrade, 2 new), Size of downloads: 0 kB
Conflict: 3 blocks (2 unsatisfied)
regards hedmo |
|
| Back to top |
|
 |
megabaks Tux's lil' helper


Joined: 22 Jan 2012 Posts: 105
|
Posted: Sun Apr 01, 2012 10:09 am Post subject: |
|
|
hm...
| Quote: | after recompiling my kernel i got a message:
you may need to install module-init-tools | ignore it
kmod must replace module-init-tools
//sorry my bad english |
|
| Back to top |
|
 |
hedmo l33t


Joined: 29 Aug 2009 Posts: 829 Location: halmstad
|
Posted: Sun Apr 01, 2012 12:07 pm Post subject: |
|
|
in order to make mybox workable again i had mask :
>=sys-apps/kmod-7
>=media-sound/pulseaudio-1.99.2
>=sys-auth/consolekit-0.4.5-r3
>=sys-fs/udev-182-r2
and use
sys-apps/module-init-tools-3.16-r1
sys-fs/udev-171-r5
sys-auth/consolekit-0.4.5-r2
media-sound/pulseaudio-1.1-r1
after the downgrades i have some errors at boot and like to view them after boot. is there a way to do so
or getting help with my updates.i think this topic fits more at Portage & Programming now when i have a this big problem
with emerge --newuse --update --deep --ask --verbose world
megabaks and zoidie
thanks for trying to help me with my problem
regards hedmo |
|
| Back to top |
|
 |
megabaks Tux's lil' helper


Joined: 22 Jan 2012 Posts: 105
|
Posted: Sun Apr 01, 2012 12:25 pm Post subject: |
|
|
again
emerge kmod!!!
module-init-tools deprecated
1. fix your kernel (devtmpfs*)
2. emerge kmod
3. upgrade udev
| Code: | sys-apps/kmod-7
sys-auth/consolekit-0.4.5-r3
sys-fs/udev-182-r2
sys-fs/udev-init-scripts-10 | works fine |
|
| Back to top |
|
 |
hedmo l33t


Joined: 29 Aug 2009 Posts: 829 Location: halmstad
|
Posted: Sun Apr 01, 2012 1:03 pm Post subject: |
|
|
megabaks
1. my kernel is already fixed!(devtmpfs*)
Device Drivers --->
..... Generic Driver Options --->
..........[*] Maintain a devtmpfs filesystem to mount at /dev
......... [*] Automount devtmpfs at /dev, after the kernel mounted the rootfs
2.i have updated to kmod-7 but i lost my soundcards so i --unmerge kmod-7 and emerge module-init-tools and the soundcards are back again.
3.if i upgrade to sys-fs/udev-182-r2.udev still wont start and all my other stuff to. |
|
| Back to top |
|
 |
megabaks Tux's lil' helper


Joined: 22 Jan 2012 Posts: 105
|
Posted: Sun Apr 01, 2012 1:05 pm Post subject: |
|
|
| 1. 2. 3. together? |
|
| Back to top |
|
 |
hedmo l33t


Joined: 29 Aug 2009 Posts: 829 Location: halmstad
|
Posted: Sun Apr 01, 2012 1:11 pm Post subject: |
|
|
| megabaks wrote: | | 1. 2. 3. together? |
=can not reboot = udev fails  |
|
| Back to top |
|
 |
MorningWood n00b


Joined: 01 Oct 2011 Posts: 22 Location: /NA/USA/Ohio/Athens
|
Posted: Mon Apr 02, 2012 1:17 am Post subject: |
|
|
I'm actually having the same problem
No sound with kmod and even with kmod emerged, when I do a world update it brings up the blocks.
Any help would be great. |
|
| Back to top |
|
 |
VoidMage Advocate


Joined: 14 Oct 2006 Posts: 4812
|
Posted: Mon Apr 02, 2012 8:14 pm Post subject: |
|
|
@hedmo: as 'eselect news' clearly says on this topic, you need an initramfs, tailored to fit your raid setup.
@MorningWood: most likely it only seems to be the same problem, but look into consolekit[acl]. |
|
| Back to top |
|
 |
hedmo l33t


Joined: 29 Aug 2009 Posts: 829 Location: halmstad
|
Posted: Tue Apr 03, 2012 7:43 pm Post subject: |
|
|
[quote="VoidMage"]@hedmo: as 'eselect news' clearly says on this topic, you need an initramfs, tailored to fit your raid setup.
VoidMage
yes and no
This news item is to inform you that once you upgrade to a version of
udev >=181, if you have /usr on a separate partition, you must boot your
system with an initramfs which pre-mounts /usr.
so you have right with initramfs and thank you for informing me
"will mark this topic as soon as i have made the initramfs" |
|
| Back to top |
|
 |
hedmo l33t


Joined: 29 Aug 2009 Posts: 829 Location: halmstad
|
Posted: Thu Apr 05, 2012 7:40 pm Post subject: |
|
|
can not manage to handle this sort off stuff .
masking:
>=sys-apps/kmod-7
>=media-sound/pulseaudio-1.99.2
>=sys-auth/consolekit-0.4.5-r3
>=sys-fs/udev-182-r2
in hope that some day i will |
|
| Back to top |
|
 |
gorkypl Guru

Joined: 04 Oct 2010 Posts: 440 Location: Kraków, PL
|
Posted: Thu Apr 05, 2012 11:22 pm Post subject: |
|
|
| hedmo wrote: |
* IMPORTANT: 6 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
|
I think this was the primary source of your problems  _________________ BTW, TWM FTW! |
|
| Back to top |
|
 |
hedmo l33t


Joined: 29 Aug 2009 Posts: 829 Location: halmstad
|
Posted: Fri Apr 06, 2012 7:16 am Post subject: |
|
|
| gorkypl wrote: |
I think this was the primary source of your problems  |
gorkypl my primary problem is that i can not update to >=sys-fs/udev-182-r2 because of i am using raid1 and raid0.
one of my raid partition has also local volumes (lvm) with /usr on it.so the real problem i that i can not make my self
a (initramfs) init file.i only get a kerel panic
regards hedmo |
|
| Back to top |
|
 |
gorkypl Guru

Joined: 04 Oct 2010 Posts: 440 Location: Kraków, PL
|
Posted: Fri Apr 06, 2012 10:34 am Post subject: |
|
|
| hedmo wrote: |
gorkypl my primary problem is that i can not update to >=sys-fs/udev-182-r2 because of i am using raid1 and raid0.
one of my raid partition has also local volumes (lvm) with /usr on it.so the real problem i that i can not make my self
a (initramfs) init file.i only get a kerel panic
|
And it was all mentioned in the news that you had not read If you read it you would not need to post
Anyway, the masking you have done is a good solution. _________________ BTW, TWM FTW! |
|
| Back to top |
|
 |
hedmo l33t


Joined: 29 Aug 2009 Posts: 829 Location: halmstad
|
Posted: Fri Apr 06, 2012 11:44 am Post subject: |
|
|
| gorkypl wrote: |
If you read it you would not need to post
|
gorkypl
if you read my first post on this topic you will find why i could not read the news :
"today i updated udev and after that my mouse and keyboard did not work so i had to
reset my box."
so i had to use a livecd to fix the problem. i dont thing the first thing you would do is to read the news in a chrooted enviroment
if you can not boot your box
| gorkypl wrote: | | Anyway, the masking you have done is a good solution. |
i dont think this is a good solution.in time i have to buy my self a raid pcicard,stop updating or buy my self a new hdd and reinstall gentoo with a backup or some thing like that if i can not manage to make the initramfs.
regards hedmo |
|
| Back to top |
|
 |
gorkypl Guru

Joined: 04 Oct 2010 Posts: 440 Location: Kraków, PL
|
Posted: Fri Apr 06, 2012 12:21 pm Post subject: |
|
|
| hedmo wrote: |
if you read my first post on this topic you will find why i could not read the news :
"today i updated udev and after that my mouse and keyboard did not work so i had to
reset my box."
so i had to use a livecd to fix the problem. i dont thing the first thing you would do is to read the news in a chrooted enviroment
if you can not boot your box
|
The news about new version of udev being non-compatible with separate /usr was announced a week or two before udev-181 hit the tree. Also the information about new messages is always shown before emerging packages.
Don't get me wrong, but it can also be clearly seen that you had not read any of the news, even those from 2009, and this is why I have said that it is the source of your problems.
News are meant to be read because they ARE important, that is all.
| hedmo wrote: |
| gorkypl wrote: | | Anyway, the masking you have done is a good solution. |
i dont think this is a good solution.in time i have to buy my self a raid pcicard,stop updating or buy my self a new hdd and reinstall gentoo with a backup or some thing like that if i can not manage to make the initramfs.
|
Is there any particular reason why you would need the newest udev?
Masking is perfectly fine, I think you have about year or two to create initramfs or wait for an udev fork that would work with separate /usr. PA and console kit need not to be masked BTW. _________________ BTW, TWM FTW! |
|
| Back to top |
|
 |
hedmo l33t


Joined: 29 Aug 2009 Posts: 829 Location: halmstad
|
Posted: Fri Apr 06, 2012 1:53 pm Post subject: |
|
|
| gorkypl wrote: |
and this is why I have said that it is the source of your problems.
News are meant to be read because they ARE important, that is all.
|
gorkypl
okej.you got me there.well this is quite embarrassing but i have not manage to view them .i am not good at eselect nor
etc-update .i have quite hard time understanding stuff (overall) but i am trying and if nobody force/learn me to do it.it just float away in to the space so gorkypl thanks for lecturing me.
| gorkypl wrote: |
Is there any particular reason why you would need the newest udev? |
well... no and yes.i think it is time for me to force my self to do that initramfs that i have been told from a time back
by some on this forum.
gorkypl
do you have any knowledge about it
regards hedmo
ps:i have to say you have a very nice way to lecturing me/people.thumbs up for that  |
|
| Back to top |
|
 |
gorkypl Guru

Joined: 04 Oct 2010 Posts: 440 Location: Kraków, PL
|
Posted: Fri Apr 06, 2012 5:04 pm Post subject: |
|
|
Nice to hear all that
As to initramfs - my personal, limited opinion is that there is no reason to hurry. Separate /usr is kinda broken, that is a fact, but using initramfs with more complicated setups requires not-so-small amount of work. I also have masked newest versions of udev (and pciutils + usbutils which depend on them).
Additionally, Chainsaw, the member of Gentoo Council, has stated a few days ago that he will take all necessary steps to support separate /usr :
http://www.gentoo.org/proj/en/council/meeting-logs/20120403-summary.txt
Given all this, I think there is no need to migrate to initramfs just now. You can sit and wait looking how the situation is changing and where is it all going. If you get bored, you can try using it - there are many success stories around - just the documentation is a bit behind. _________________ BTW, TWM FTW! |
|
| Back to top |
|
 |
hedmo l33t


Joined: 29 Aug 2009 Posts: 829 Location: halmstad
|
Posted: Mon Apr 09, 2012 5:24 pm Post subject: |
|
|
gorkypl
thanks for the info you have give but i am not giving up that easy with the initramfs stuff  |
|
| Back to top |
|
 |
gorkypl Guru

Joined: 04 Oct 2010 Posts: 440 Location: Kraków, PL
|
Posted: Tue Apr 10, 2012 12:55 pm Post subject: |
|
|
Good luck then And please mark the thread as SOLVED because the basic problem is no longer valid  _________________ BTW, TWM FTW! |
|
| Back to top |
|
 |
|