Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
A "minor" problem with udev
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
MasterX
Veteran
Veteran


Joined: 26 Jun 2003
Posts: 1165

PostPosted: Sun Mar 06, 2005 6:22 pm    Post subject: A "minor" problem with udev Reply with quote

I decided to use udev on my notebook. I think I have followed all the steps that I found on this forum. I modified the /conf.d/rc file, I emerge udev, hotplug, I build in the kernel support for hotplug. But, something is not right.

When I boot I get the following message:
Mounting proc at /proc
Mounting sysfs at /sys
can't create lock file /etc/mtab~1164: Read only file system (use -n flag to override)
Mounting ramfs at /dev
Configuring system to use udev
Mounting devpts at /dev/pts
Activating swap
Remounting root filesystem read-only
Checking root filesystem
Failed to open the device '/dev/hda5': No such file or directory

/sbin/rc: line 250: rc_splash:command not found
Filesystem couldn't be fixed :(
/dev/console: No such file or directory

And then it asks me to give the root password for maintenance

/dev/hda5 is the / partition
I have baselayout 1.9.4
What I am missing? Is something with the kernel, baselayout, or something else?

Thank you
Back to top
View user's profile Send private message
MasterX
Veteran
Veteran


Joined: 26 Jun 2003
Posts: 1165

PostPosted: Sun Mar 06, 2005 6:39 pm    Post subject: Reply with quote

The solution was to change
Code:

RC_NET_STRICT_CHECKING="no"
RC_DEVICES="udev"
RC_DEVICE_TARBALL="no"


to
Code:

RC_NET_STRICT_CHECKING="yes"
# RC_DEVICES="udev"
RC_DEVICE_TARBALL="yes"


Is it OK if I use the second? Does anybody know why I can not use the first?
Back to top
View user's profile Send private message
genstef
Retired Dev
Retired Dev


Joined: 13 Jun 2004
Posts: 668
Location: M/Bay/Germany

PostPosted: Sun Mar 06, 2005 9:48 pm    Post subject: Reply with quote

I think you did not create the /dev/console node which is needed for pure udev bootup

See more information at:
http://www.gentoo.org/doc/en/udev-guide.xml#doc_chap3
Back to top
View user's profile Send private message
MasterX
Veteran
Veteran


Joined: 26 Jun 2003
Posts: 1165

PostPosted: Sun Mar 06, 2005 10:36 pm    Post subject: Reply with quote

genstef wrote:
I think you did not create the /dev/console node which is needed for pure udev bootup

See more information at:
http://www.gentoo.org/doc/en/udev-guide.xml#doc_chap3


I read this but I did not understand where I am suppose to execute these commands. Should I execute them when I am using the LiveCD or when I am in Gentoo?
Back to top
View user's profile Send private message
genstef
Retired Dev
Retired Dev


Joined: 13 Jun 2004
Posts: 668
Location: M/Bay/Germany

PostPosted: Mon Mar 07, 2005 5:54 am    Post subject: Reply with quote

MasterX wrote:
Should I execute them when I am using the LiveCD or when I am in Gentoo?

you can execute them wereever you want .. just make sure that your system will be changed ..
Back to top
View user's profile Send private message
jpnag
Tux's lil' helper
Tux's lil' helper


Joined: 04 Apr 2005
Posts: 113
Location: Portugal/Oporto

PostPosted: Tue Jun 28, 2005 11:57 pm    Post subject: Reply with quote

Even if u only have read only aceess? :(
_________________
Never argue with an idiot, we will drag you down to his level and beat you up with experience!
Back to top
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Wed Jun 29, 2005 11:01 am    Post subject: Reply with quote

no, make it read/write

mount -o remount,rw /
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
urcindalo
l33t
l33t


Joined: 08 Feb 2005
Posts: 623
Location: Almeria, Spain

PostPosted: Wed Nov 16, 2005 1:22 pm    Post subject: Reply with quote

I don't get the "mounting ramfs at /dev" thing at boot, but I have also followed all the necessry steps (or so I think after having read a lot of guides) to get a working udev system. What can I do/try/check to solve it? I use the very lastest stable 2005.1 AMD64 Gentoo.

On the other hand, where is the boot log? I'd like to take a closer look at it and show it here to help people help me.

Thanks in advance.
Back to top
View user's profile Send private message
ebichu
Apprentice
Apprentice


Joined: 03 Jul 2002
Posts: 231
Location: Manchester, England

PostPosted: Wed Nov 16, 2005 6:34 pm    Post subject: Reply with quote

urcindalo wrote:
On the other hand, where is the boot log? I'd like to take a closer look at it and show it here to help people help me.

You can install the app-admin/showconsole package to log console output during boot to /var/log/boot.msg.
_________________
Ebichu wa chiizu ga daisuki dechu!
Back to top
View user's profile Send private message
urcindalo
l33t
l33t


Joined: 08 Feb 2005
Posts: 623
Location: Almeria, Spain

PostPosted: Wed Nov 16, 2005 9:40 pm    Post subject: Reply with quote

ebichu wrote:
urcindalo wrote:
On the other hand, where is the boot log? I'd like to take a closer look at it and show it here to help people help me.

You can install the app-admin/showconsole package to log console output during boot to /var/log/boot.msg.


Thanks for the info. I just emerged app-admin/showconsole.
Does it need any kind of configuration, or does it work "out of the emerging" :wink: ?
Back to top
View user's profile Send private message
ebichu
Apprentice
Apprentice


Joined: 03 Jul 2002
Posts: 231
Location: Manchester, England

PostPosted: Fri Nov 18, 2005 12:26 pm    Post subject: Reply with quote

urcindalo wrote:
Thanks for the info. I just emerged app-admin/showconsole.
Does it need any kind of configuration, or does it work "out of the emerging" :wink: ?

You also need to enable it in /etc/conf.d/rc: RC_BOOTLOG="yes"
_________________
Ebichu wa chiizu ga daisuki dechu!
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
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