* change from devfs to udev
@ 2004-10-29 17:36 Rui Carvalho
2004-10-29 20:11 ` Greg KH
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Rui Carvalho @ 2004-10-29 17:36 UTC (permalink / raw)
To: linux-hotplug
Hi!
I have a small distribution based on vanilla kernel, which is using
devfs (checking the option on kernel config) and I want to change to udev.
But I'm having some problems to make it successful.
When I disable the devfs support in the kernel, the startup hangs in the
following line, after mounting the root (ext3 filesystem):
"Warning: unable to open an initial console"
What could it be?
What can I do to make udev work in my distro?
Thanks.
Rui Carvalho
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id\x12065&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: change from devfs to udev
2004-10-29 17:36 change from devfs to udev Rui Carvalho
@ 2004-10-29 20:11 ` Greg KH
2004-10-29 22:55 ` Mike Frysinger
2004-10-30 7:48 ` Remco
2 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2004-10-29 20:11 UTC (permalink / raw)
To: linux-hotplug
On Fri, Oct 29, 2004 at 06:36:37PM +0100, Rui Carvalho wrote:
> Hi!
>
> I have a small distribution based on vanilla kernel, which is using
> devfs (checking the option on kernel config) and I want to change to udev.
> But I'm having some problems to make it successful.
> When I disable the devfs support in the kernel, the startup hangs in the
> following line, after mounting the root (ext3 filesystem):
>
> "Warning: unable to open an initial console"
>
> What could it be?
> What can I do to make udev work in my distro?
Did you read the HOWTO-udev_for_dev file that's in the udev tarball? It
contains a lot of hints about how to accomplish this.
Good luck,
greg k-h
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id\x12065&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: change from devfs to udev
2004-10-29 17:36 change from devfs to udev Rui Carvalho
2004-10-29 20:11 ` Greg KH
@ 2004-10-29 22:55 ` Mike Frysinger
2004-10-30 7:48 ` Remco
2 siblings, 0 replies; 4+ messages in thread
From: Mike Frysinger @ 2004-10-29 22:55 UTC (permalink / raw)
To: linux-hotplug
On Friday 29 October 2004 01:36 pm, Rui Carvalho wrote:
> "Warning: unable to open an initial console"
>
> What could it be?
> What can I do to make udev work in my distro?
[taken from Gentoo boot help]
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
-mike
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id\x12065&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: change from devfs to udev
2004-10-29 17:36 change from devfs to udev Rui Carvalho
2004-10-29 20:11 ` Greg KH
2004-10-29 22:55 ` Mike Frysinger
@ 2004-10-30 7:48 ` Remco
2 siblings, 0 replies; 4+ messages in thread
From: Remco @ 2004-10-30 7:48 UTC (permalink / raw)
To: linux-hotplug
Greg KH wrote:
>> When I disable the devfs support in the kernel, the startup hangs in the
>> following line, after mounting the root (ext3 filesystem):
>>
>> "Warning: unable to open an initial console"
>>
The medium you boot from probably has an empty /dev directory. You should at
least have a /dev/console node. A /dev/null node usually comes in handy
too. If you're interrested in building a system from scratch you may want
to look at LFS (Linux From Scratch: http://www.linuxfromscratch.org/).
Their testing branch uses udev for device creation. You may find valuable
information over there. Keep in mind that it might contain LFS specific
information.
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id\x12065&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-10-30 7:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-29 17:36 change from devfs to udev Rui Carvalho
2004-10-29 20:11 ` Greg KH
2004-10-29 22:55 ` Mike Frysinger
2004-10-30 7:48 ` Remco
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).