Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
System frozen -- can't boot [UDEV] -- urgent
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
666threesixes666
Apprentice
Apprentice


Joined: 31 May 2011
Posts: 270

PostPosted: Tue Jan 22, 2013 12:57 am    Post subject: Reply with quote

id suggest going to kernel.org and getting 3.7.4 and running uname -a to verify your running the kernel your installing....
Back to top
View user's profile Send private message
ssuominen
Developer
Developer


Joined: 30 Sep 2005
Posts: 1821
Location: Finland

PostPosted: Tue Jan 22, 2013 1:06 am    Post subject: Reply with quote

666threesixes666 wrote:
id suggest going to kernel.org and getting 3.7.4 and running uname -a to verify your running the kernel your installing....


Kernel's menuconfig:

General setup ---> <*> Kernel .config support

Then you have /proc/config.gz available in the running kernel and you can:

Code:

# zgrep DEVTMPFS /proc/config.gz
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y


It's much more reliable than reading /usr/src/linux/.config. I don't understand why people don't use it more.

Also:

Code:

# grep devtmpfs /proc/filesystems
nodev   devtmpfs
Back to top
View user's profile Send private message
666threesixes666
Apprentice
Apprentice


Joined: 31 May 2011
Posts: 270

PostPosted: Tue Jan 22, 2013 1:46 am    Post subject: Reply with quote

its .config built into your kernel.... i dont use it as i keep hard records of it in /boot i have used it and did advocate it in the past, just ive found other methods to the same ends, easier to cat than zcat... copy once and be done with it.... i actually have 2 records of it /boot/config.kernel-3.6.7 for kernel-3.6.7 and /usr/src/linux-3.6.7/.config 1s generally unmounted and 1s hidden, 3rd copy is a bit excessive, but i do agree, its the .config that the kernel is running, and known working.... i do keep a stale 3.5.4 and 3.6.2 kernel & config set around too incase 3.7.4 makes my old dv9000 hardware flip out and unbootable..... lol after re reading your post i realized your directing that to the other posters on the thread.....
Back to top
View user's profile Send private message
Duncan Mac Leod
Apprentice
Apprentice


Joined: 02 May 2004
Posts: 160
Location: Coburg, Bavaria, Germany

PostPosted: Tue Jan 22, 2013 2:48 am    Post subject: Reply with quote

udev-197 is up and running! sorry, for bothering you with my problems.

It was my fault!!!

Building Gentoo kernels since 2004 with genkernel, but it seems that something has changed in the past.

I always used "genkernel --menuconfig all", made my config and saved the config file to my home-directory using the save-option in the kernel menu (for later use, if I have to rebuild the kernel). This has worked in the past. But if I load the config file via the kernel menu and start compiling, my loaded config file is not used. Instead it uses the .config in /usr/src/linux !

Now, kernel is compiled properly and everything works 8) !

Sorry, again!
Back to top
View user's profile Send private message
666threesixes666
Apprentice
Apprentice


Joined: 31 May 2011
Posts: 270

PostPosted: Tue Jan 22, 2013 3:15 am    Post subject: Reply with quote

so gedit $HOME/.config

ctrl + f (or alt+ f) to find "DEVTMPFS" set =y....

then

sudo cp $HOME/.config /usr/src/linux

or if your system is totally voodoo and doesnt have sudo

su -c 'cp $HOME/.config /usr/src/linux'

for future references :twisted:
Back to top
View user's profile Send private message
aCOSwt
Advocate
Advocate


Joined: 19 Oct 2007
Posts: 2038
Location: Between the keyboard and the chair

PostPosted: Tue Jan 22, 2013 7:28 am    Post subject: Reply with quote

666threesixes666 wrote:
so gedit $HOME/.config

Warning 666threesixes666, editing the kernel config file is not a good practice at all!
Quote:
acoswt@PrimaPratica /usr/src/linux $ more .config
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86_64 3.6.11-ck Kernel Configuration
#
...

You are... not under FreeBSD ! :wink:
_________________
In theory there are no differences between theory and practice. In practice, there are.
Don't try to understand my posts. Immanuel Kant never did, he thinks that only music and laughter do not have to mean anything.
Back to top
View user's profile Send private message
iandoug
Apprentice
Apprentice


Joined: 11 Feb 2005
Posts: 272
Location: Cape Town, South Africa

PostPosted: Wed Jan 23, 2013 9:16 pm    Post subject: my solution Reply with quote

hi

I was able to fix this problem without going the rescue-disk way ... during boot I switched to Interactive boot, did not let udev load, and let the rest proceed normally. Then I used make menuconfig to fix the option and proceeded as per normal after such editing.

cheers, Ian
_________________
Asus M3A78 64, X2 6000+, PX9800 GT, 4GB Ram | Asus M4A77TD PRO, X2 245, HD4350, 4GB RAM
Back to top
View user's profile Send private message
modnaruved
n00b
n00b


Joined: 21 Mar 2011
Posts: 32

PostPosted: Thu Jan 24, 2013 6:06 am    Post subject: Re: my solution Reply with quote

iandoug wrote:
hi

I was able to fix this problem without going the rescue-disk way ... during boot I switched to Interactive boot, did not let udev load, and let the rest proceed normally. Then I used make menuconfig to fix the option and proceeded as per normal after such editing.

cheers, Ian


In my case I tried npress "I" before start init but this not help. But will be good If you post some steps how you resolve this.
Back to top
View user's profile Send private message
iandoug
Apprentice
Apprentice


Joined: 11 Feb 2005
Posts: 272
Location: Cape Town, South Africa

PostPosted: Fri Feb 01, 2013 2:59 pm    Post subject: Re: my solution Reply with quote

devurandom wrote:
iandoug wrote:
hi

I was able to fix this problem without going the rescue-disk way ... during boot I switched to Interactive boot, did not let udev load, and let the rest proceed normally. Then I used make menuconfig to fix the option and proceeded as per normal after such editing.

cheers, Ian


In my case I tried npress "I" before start init but this not help. But will be good If you post some steps how you resolve this.


I found out the hard way (when my OTHER box would not boot) that there is a setting in /etc/conf.d/rc which enables this ... if it is set to no then you can't ....

Still trying to fix broken box ... the Live DVD fails to complete booting ( total waste of a 4GB download ... we need a small rescue disk please...) so trying with a minimal install CD which did complete booting ...

Think the live DVD fails because it doesn't like my LG blu-ray writer drive.

Cheers, Ian
_________________
Asus M3A78 64, X2 6000+, PX9800 GT, 4GB Ram | Asus M4A77TD PRO, X2 245, HD4350, 4GB RAM
Back to top
View user's profile Send private message
666threesixes666
Apprentice
Apprentice


Joined: 31 May 2011
Posts: 270

PostPosted: Fri Feb 01, 2013 7:21 pm    Post subject: Reply with quote

the huge post i was using a usb flash rescue disk, my usb flash rescue disk was generated using these isos (only if your 64 will they work for you)

http://distfiles.gentoo.org/releases/amd64/autobuilds/current-iso/

i generated documentation by hand in a note book so i could do gentoo installs with no net to see documentation (ie terminal only) and just a flash thumb drive. i still have links in terminal but its a pain to try to read the handbook as it has too many explanations and is far too verbose to do that. well i had net but was only using it to pull sources for emerge --sync and emerging goodies.

fair warning, these iso images are TERMINAL ONLY... so generate a notebook of documentation if you intend to use them. i use unetbootin if you go through the thread again you can find links to this to generate flash thumb drive rescue boot disks.
Back to top
View user's profile Send private message
Chiitoo
l33t
l33t


Joined: 28 Feb 2010
Posts: 616
Location: Finland

PostPosted: Wed Feb 06, 2013 2:14 pm    Post subject: Re: my solution Reply with quote

iandoug wrote:
Still trying to fix broken box ... the Live DVD fails to complete booting ( total waste of a 4GB download ... we need a small rescue disk please...) so trying with a minimal install CD which did complete booting ...

I do believe that neither the LiveDVDs nor the Minimal Installation CDs are intended to be used as a 'rescue disk'.
Correct me if I'm wrong. ^^;

If you have not before, you might like to take a peek at the SystemRescueCd. That's what I always recommend at least, sometimes even for doing the initial installation of Gentoo. I used the Minimal Installation CD myself (which, I think, gives the realer experience, and that is an important part to include in the recommendation). Not that I even knew about the sysresccd existing back when I was taking my first steps...

It's very easy to put into a USB-stick, too!
_________________
Kind Regards,
The Noob Unlimited

~sore wa sore kore wa kore~
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
Page 2 of 2

 
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