Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
udev error - /etc/issue text [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
dermartn
n00b
n00b


Joined: 06 Dec 2004
Posts: 63

PostPosted: Fri Oct 26, 2007 7:44 am    Post subject: udev error - /etc/issue text [solved] Reply with quote

hello *,

i have a new installed system. everything works fine so far, but i get an error text of udev after booting. it is placed in the /etc/issue. even if i change the issue file to my issue file, it is getting changed to the error text from udev, after reboot.

i can´t find an error or missing file in /dev like the "udev error text" says...

anybody got an idea?

thanks

dermartn


Last edited by dermartn on Wed Oct 31, 2007 9:02 am; edited 1 time in total
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Fri Oct 26, 2007 1:39 pm    Post subject: Reply with quote

I remember seeing this before, but I don't remember the solution.

It would really help if you actually posted the error text in question.
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
nordic bro
Guru
Guru


Joined: 25 Oct 2003
Posts: 585

PostPosted: Sat Oct 27, 2007 2:54 am    Post subject: Reply with quote

Sounds like you didn't correct the original problem because once you overwrite /etc/issue you should ostensibly see that msg no more. In my case I had to copy /dev to some tmp area and IIRC just delete the tmp area afterward. I don't remember the exact steps but they didn't make any sense, however once I followed the instructions and put the old issue file back I didn't get any more complaints from udev.
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sat Oct 27, 2007 1:10 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Other Things Gentoo.
not about getting gentoo installed, so moved here.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
dermartn
n00b
n00b


Joined: 06 Dec 2004
Posts: 63

PostPosted: Mon Oct 29, 2007 8:35 pm    Post subject: Reply with quote

thats the text i get from udev:
Code:

-----------------------------------------------------
Your system seems to be missing critical device files
in /dev !  Although you may be running udev or devfs,
the root partition is missing these required files !

To rectify this situation, please do the following:
mkdir /mnt/fixit
mount --bind / /mnt/fixit
cp -a /dev/* /mnt/fixit/dev/
umount /mnt/fixit
rmdir /mnt/fixit

You may refer to these instructions at /etc/issue.
If you previously had an issue file, it has been
backed up at /etc/issue.devfix.  Once you've fixed
your system, you will have to restore your old issue
file in order to get rid of this warning.

Thanks for using Gentoo ! :)
http://bugs.gentoo.org/show_bug.cgi?id=40987
-----------------------------------------------------

i did follow the instructions given in the text, but it didn´t seem to work. after changing the text, i get back the udev text after rebooting.
Back to top
View user's profile Send private message
embobo
Guru
Guru


Joined: 19 May 2003
Posts: 311

PostPosted: Mon Oct 29, 2007 9:56 pm    Post subject: Reply with quote

I had the same problem. Try this:

Code:

mkdir /mnt/fixit
mount --bind / /mnt/fixit
find /mnt/fixit/dev -type f


That should give no results. In my case it gave /mnt/fixit/dev/null because on a previous boot the character device file did not exist and something redirected to /dev/null, thereby creating a file. When I subsequently did the "cp -a /dev/* /mnt/fixit/dev/" it wasn;t fixed because that file was there already.

IMHO the instructions should be

Code:

mkdir /mnt/fixit
mount --bind / /mnt/fixit
rm -rf /mnt/fixit/dev/*
cp -a /dev/* /mnt/fixit/dev/
umount /mnt/fixit
rmdir /mnt/fixit


but there is no way I'm going to actually lobby for it. I'm sure the Gentoo Wizards have a better way.

Edit: Actually the comment in the bug https://bugs.gentoo.org/show_bug.cgi?id=40987#c55 talks about the exact problem I had and the one you may be having. The bug is resolved so it must be user error.
Back to top
View user's profile Send private message
dermartn
n00b
n00b


Joined: 06 Dec 2004
Posts: 63

PostPosted: Wed Oct 31, 2007 9:04 am    Post subject: Reply with quote

thanks embobo,

after using your instructions everything is alright now in the /dev section :P

thanks a lot.

dermartn
Back to top
View user's profile Send private message
jmarcus
Apprentice
Apprentice


Joined: 12 Jun 2004
Posts: 197

PostPosted: Wed Feb 27, 2008 2:44 pm    Post subject: Fixing /dev with information in bug 40987 Reply with quote

Will the solution for fixing /dev work in a chroot enviroment?


https://bugs.gentoo.org/show_bug.cgi?id=40987

are there other ways to solve this issue?

thanks,
James
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed Feb 27, 2008 3:17 pm    Post subject: Reply with quote

What are you trying to fix?
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
jmarcus
Apprentice
Apprentice


Joined: 12 Jun 2004
Posts: 197

PostPosted: Wed Feb 27, 2008 3:27 pm    Post subject: Reply with quote

I'm getting this message from /etc/issue:

Quote:
-----------------------------------------------------
Your system seems to be missing critical device files
in /dev ! Although you may be running udev or devfs,
the root partition is missing these required files !

To rectify this situation, please do the following:
mkdir /mnt/fixit
mount --bind / /mnt/fixit
cp -a /dev/* /mnt/fixit/dev/
umount /mnt/fixit
rmdir /mnt/fixit

You may refer to these instructions at /etc/issue.
If you previously had an issue file, it has been
backed up at /etc/issue.devfix. Once you've fixed
your system, you will have to restore your old issue
file in order to get rid of this warning.

Thanks for using Gentoo ! :)
https://bugs.gentoo.org/show_bug.cgi?id=40987
-----------------------------------------------------


This complains that the files exist .
I can't login to the console.

thanks,
James
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed Feb 27, 2008 3:42 pm    Post subject: Reply with quote

Ok, and following the advise in that message doesn't work? How did you setup your chroot? Normally simply unpacking a recent stage file will populate /dev afaik. Though I usually simply mount -o bind /dev /mnt/chroot/dev
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand


Last edited by nixnut on Wed Feb 27, 2008 3:45 pm; edited 1 time in total
Back to top
View user's profile Send private message
jmarcus
Apprentice
Apprentice


Joined: 12 Jun 2004
Posts: 197

PostPosted: Wed Feb 27, 2008 3:45 pm    Post subject: Reply with quote

I boot the machine. I can't login through the console. I login via ssh. Copy paste those commands, reboot and still can't login through the console and still get the error from the console /etc/issue.

Let me know if I'm not providing you enough information, I haven't been here in a while.
James
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed Feb 27, 2008 3:46 pm    Post subject: Reply with quote

Uhm, wait... you login to another machine with ssh? Where does the chroot come in?
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
jmarcus
Apprentice
Apprentice


Joined: 12 Jun 2004
Posts: 197

PostPosted: Wed Feb 27, 2008 3:49 pm    Post subject: Reply with quote

Sorry.

I have done it in a chroot environment as well as booting the machine and ssh'ing to it.

James
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed Feb 27, 2008 3:58 pm    Post subject: Reply with quote

Give the modified instructions above a try.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
jmarcus
Apprentice
Apprentice


Joined: 12 Jun 2004
Posts: 197

PostPosted: Wed Feb 27, 2008 4:11 pm    Post subject: Reply with quote

I tried as requested, (with the system booted not in livecd) I still can't use the console.

Any other thoughts?

James
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed Feb 27, 2008 4:18 pm    Post subject: Reply with quote

Perhaps boot the offending machine with a livecd, extract a stage file into a temporary location and copy the dev nodes from there to the /dev on of the root partition of that machine. Otherwise, I'm out of ideas too. You could try to search the forums with 'critical rectify situation'
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
jmarcus
Apprentice
Apprentice


Joined: 12 Jun 2004
Posts: 197

PostPosted: Wed Feb 27, 2008 4:21 pm    Post subject: Reply with quote

I tried that and used cp -a /mnt/gentoo/root/tmp/dev* /mnt/gentoo/dev/

I was kind of surprised that didn't work. Its pretty much the same right?

James
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Wed Feb 27, 2008 4:44 pm    Post subject: Reply with quote

Yeah, should be just the same. No ideas anymore. sorry :(
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
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