Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 387343 - Gentoo 2.6.38-r6 missing /dev/ enviromnet after new update of working system
Summary: Gentoo 2.6.38-r6 missing /dev/ enviromnet after new update of working system
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: Normal critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-16 22:36 UTC by Gert Andersen
Modified: 2011-10-17 16:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gert Andersen 2011-10-16 22:36:09 UTC
After that my Gentoo expert and the person there do som gentoo cleanup and updates on my Gentoo router, has done some update on my router there has to be working and not can go internet if not there is a router there is beensetup on a spcial way, has the source and kernel been update from 2.6.38-r3 to 2.6.38-r6 and after a reboot and the pc comes to shall load /dev environment to gentoo shall startup, say gentoo that it can't find /dev and specific /dev/console and /dev/null, and stops with 'kernel panic' and 'can't start and use initramfs, then comes with 4 lines with other thing it try to load and start but with out luck and then makes my keyboard to hang and be blinking in the lamps. Nothing wil work after this.

The problem was first on 64-bit gentoo and is now on my 32-bit system.
We have talks about it on 64-bit but it was long ago.
Now is it on a system there have not at all must do it and make me not to getting on internet. 
It there a way where it can be manage to work ??


Reproducible: Always

Steps to Reproduce:
1. just reboot and system trying to load /dev cant find file or directory /console /null
2.cant find file or directory /console /null

3.cant find file or directory /console /null

Actual Results:  
Just emerge gentoo sources 32-bit and kernel sources make a kernel 2.6.38-r6 and that /dev  tools is missing.
Kernel panic and can't load initramfs, and /dev inv. is not found

Expected Results:  
THe pc and Gentoo should have found /dev as there not is found, and then started find up, as it is a main syste of a router there have to be working.

This can I not do as I nt have the gentoo pc on network and it hae to be running.
Comment 1 Gert Andersen 2011-10-17 15:56:36 UTC
I adding this that it is very high needed a respons and help on it, as I have no good normal Internet connection, then that when this gentoo not is running is all other networking gone and the gentoo pc do all the internet connection out to the world and to my others computers, it need the 2 files in /dev to work and I can not get on to make any emerge fetch by internet and the pc will not compile any thing if this pc not have gentoo running.
The missinhg things have to be there as /dev/console and /dev/null and only null is been found.
The livecd is a minimal livecd 32-bit x86 cd and do not have all the portage and sources on it.
Comment 2 Ian Stakenvicius (RETIRED) gentoo-dev 2011-10-17 16:14:04 UTC
OK, this is a configuration issue and not an actual kernel bug.  Marking RESO/INVALID.

That said, what you need to do to fix it is create the missing devnodes on your system's /dev.  You can do this by:

1- Booting the livecd
2- Mounting your root partition to /mnt/gentoo
3- cd /mnt/gentoo/dev
4- run 'ls' to see what's there; you need 'console', 'zero', and 'null'.  For whichever ones are missing, run the appropriate line below:

mknod console c 5 1
mknod zero c 1 5
mknod null c 1 3 

5- cd /; umount /mnt/gentoo; reboot


This should get you past the issue you are having.  Now, your message seems a little confusing in relation to how you built your kernel and/or if you are using (or no longer using) an initramfs file?  If the above does not work for you then please join us on IRC in "#gentoo" on irc.freenode.org and we can help you more.