Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

udev dont start at boot(solved)

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
25 posts • Page 1 of 1
Author
Message
hedmo
Veteran
Veteran
User avatar
Posts: 1338
Joined: Sat Aug 29, 2009 1:15 pm
Location: sweden

udev dont start at boot(solved)

  • Quote

Post by hedmo » Sat Mar 31, 2012 6:44 pm

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 :evil: .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 :evil:)

regards hedmo
Last edited by hedmo on Fri Apr 13, 2012 6:19 pm, edited 2 times in total.
Top
zoidie
n00b
n00b
User avatar
Posts: 47
Joined: Tue Apr 13, 2010 9:56 am

  • Quote

Post by zoidie » Sat Mar 31, 2012 8:21 pm

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!
Top
hedmo
Veteran
Veteran
User avatar
Posts: 1338
Joined: Sat Aug 29, 2009 1:15 pm
Location: sweden

  • Quote

Post by hedmo » Sat Mar 31, 2012 10:29 pm

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
Top
megabaks
Apprentice
Apprentice
User avatar
Posts: 253
Joined: Sun Jan 22, 2012 9:41 pm
Location: Russia && Saint-Petersburg
Contact:
Contact megabaks
Website

  • Quote

Post by megabaks » Sun Apr 01, 2012 12:54 am

did not find tmpdevfs in the kernel
o_O?
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
Top
zoidie
n00b
n00b
User avatar
Posts: 47
Joined: Tue Apr 13, 2010 9:56 am

  • Quote

Post by zoidie » Sun Apr 01, 2012 9:06 am

megabaks wrote:
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: Select all

emerge -av $(qlist -IC x11-drivers/)
but that didn't fix it
Top
hedmo
Veteran
Veteran
User avatar
Posts: 1338
Joined: Sat Aug 29, 2009 1:15 pm
Location: sweden

  • Quote

Post by hedmo » Sun Apr 01, 2012 9:38 am

megabaks and zoidie

thanks for guide me to it but did not help me with the problem (had to downgrade again) :evil:
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
Top
megabaks
Apprentice
Apprentice
User avatar
Posts: 253
Joined: Sun Jan 22, 2012 9:41 pm
Location: Russia && Saint-Petersburg
Contact:
Contact megabaks
Website

  • Quote

Post by megabaks » Sun Apr 01, 2012 10:09 am

hm...
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
Top
hedmo
Veteran
Veteran
User avatar
Posts: 1338
Joined: Sat Aug 29, 2009 1:15 pm
Location: sweden

  • Quote

Post by hedmo » Sun Apr 01, 2012 12:07 pm

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
Top
megabaks
Apprentice
Apprentice
User avatar
Posts: 253
Joined: Sun Jan 22, 2012 9:41 pm
Location: Russia && Saint-Petersburg
Contact:
Contact megabaks
Website

  • Quote

Post by megabaks » Sun Apr 01, 2012 12:25 pm

again
emerge kmod!!!
module-init-tools deprecated
1. fix your kernel (devtmpfs*)
2. emerge kmod
3. upgrade udev

Code: Select all

sys-apps/kmod-7
sys-auth/consolekit-0.4.5-r3
sys-fs/udev-182-r2
sys-fs/udev-init-scripts-10
works fine
Top
hedmo
Veteran
Veteran
User avatar
Posts: 1338
Joined: Sat Aug 29, 2009 1:15 pm
Location: sweden

  • Quote

Post by hedmo » Sun Apr 01, 2012 1:03 pm

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.
Top
megabaks
Apprentice
Apprentice
User avatar
Posts: 253
Joined: Sun Jan 22, 2012 9:41 pm
Location: Russia && Saint-Petersburg
Contact:
Contact megabaks
Website

  • Quote

Post by megabaks » Sun Apr 01, 2012 1:05 pm

1. 2. 3. together?
Top
hedmo
Veteran
Veteran
User avatar
Posts: 1338
Joined: Sat Aug 29, 2009 1:15 pm
Location: sweden

  • Quote

Post by hedmo » Sun Apr 01, 2012 1:11 pm

megabaks wrote:1. 2. 3. together?
=can not reboot = udev fails :evil:
Top
MorningWood
n00b
n00b
User avatar
Posts: 22
Joined: Sat Oct 01, 2011 6:39 pm
Location: /NA/USA/Ohio/Athens

  • Quote

Post by MorningWood » Mon Apr 02, 2012 1:17 am

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.
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Mon Apr 02, 2012 8:14 pm

@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].
Top
hedmo
Veteran
Veteran
User avatar
Posts: 1338
Joined: Sat Aug 29, 2009 1:15 pm
Location: sweden

  • Quote

Post by hedmo » Tue Apr 03, 2012 7:43 pm

[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"
Top
hedmo
Veteran
Veteran
User avatar
Posts: 1338
Joined: Sat Aug 29, 2009 1:15 pm
Location: sweden

  • Quote

Post by hedmo » Thu Apr 05, 2012 7:40 pm

can not manage to handle this sort off stuff . :cry:

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
Top
gorkypl
Guru
Guru
Posts: 444
Joined: Mon Oct 04, 2010 11:52 am
Location: Kraków, PL

  • Quote

Post by gorkypl » Thu Apr 05, 2012 11:22 pm

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!
Top
hedmo
Veteran
Veteran
User avatar
Posts: 1338
Joined: Sat Aug 29, 2009 1:15 pm
Location: sweden

  • Quote

Post by hedmo » Fri Apr 06, 2012 7:16 am

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
Top
gorkypl
Guru
Guru
Posts: 444
Joined: Mon Oct 04, 2010 11:52 am
Location: Kraków, PL

  • Quote

Post by gorkypl » Fri Apr 06, 2012 10:34 am

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!
Top
hedmo
Veteran
Veteran
User avatar
Posts: 1338
Joined: Sat Aug 29, 2009 1:15 pm
Location: sweden

  • Quote

Post by hedmo » Fri Apr 06, 2012 11:44 am

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
Top
gorkypl
Guru
Guru
Posts: 444
Joined: Mon Oct 04, 2010 11:52 am
Location: Kraków, PL

  • Quote

Post by gorkypl » Fri Apr 06, 2012 12:21 pm

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!
Top
hedmo
Veteran
Veteran
User avatar
Posts: 1338
Joined: Sat Aug 29, 2009 1:15 pm
Location: sweden

  • Quote

Post by hedmo » Fri Apr 06, 2012 1:53 pm

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 :oops: .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 :!: :!: :!:
Top
gorkypl
Guru
Guru
Posts: 444
Joined: Mon Oct 04, 2010 11:52 am
Location: Kraków, PL

  • Quote

Post by gorkypl » Fri Apr 06, 2012 5:04 pm

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/m ... ummary.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!
Top
hedmo
Veteran
Veteran
User avatar
Posts: 1338
Joined: Sat Aug 29, 2009 1:15 pm
Location: sweden

  • Quote

Post by hedmo » Mon Apr 09, 2012 5:24 pm

gorkypl

thanks for the info you have give but i am not giving up that easy with the initramfs stuff :lol:
Top
gorkypl
Guru
Guru
Posts: 444
Joined: Mon Oct 04, 2010 11:52 am
Location: Kraków, PL

  • Quote

Post by gorkypl » Tue Apr 10, 2012 12:55 pm

Good luck then :) And please mark the thread as SOLVED because the basic problem is no longer valid :)
BTW, TWM FTW!
Top
Post Reply

25 posts • Page 1 of 1

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Authors
Gentoo is a trademark of the Gentoo Foundation, Inc. and of Förderverein Gentoo e.V.
The contents of this document, unless otherwise expressly stated, are licensed under the CC-BY-SA-4.0 license.
The Gentoo Name and Logo Usage Guidelines apply.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy