devfs
[Top] [All Lists]

Re: /dev/.devfsd ?

To: rgooch@xxxxxxxxxxxxxxx
Subject: Re: /dev/.devfsd ?
From: Pascal Bourguignon <pjb@xxxxxxxxxxxxxxxxx>
Date: Sat, 4 Aug 2001 20:25:39 +0200 (CEST)
Cc: devfs@xxxxxxxxxxx
In-reply-to: <200108041534.f74FY1u05349@xxxxxxxxxxxxxxxxxxxxxxxx> (message from Richard Gooch on Sat, 4 Aug 2001 09:34:01 -0600)
Organization: InformatiMago.
References: <20010804112825.9B7F858041@xxxxxxxxxxxxxxxxxxxxxxxxxx> <200108041437.f74Ebh204802@xxxxxxxxxxxxxxxxxxxxxxxx> <20010804150859.E72705D622@xxxxxxxxxxxxxxxxxxxxxxxxxx> <200108041534.f74FY1u05349@xxxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: <pjb@xxxxxxxxxxxxxxxxx>
Sender: owner-devfs@xxxxxxxxxxx

> There is a CONFIG option to make devfs mounted at boot time, or you
> can do "devfs=mount" at the boot prompt, or you can do:
> # mount -t devfs none /dev
> 
> Of course, it requires devfs to be compiled into your kernel.
> [...] [with] CONFIG_DEVFS_FS=y.


Well, this  is the problem and  the solution. What happened  is that I
browsed  the  kernel  configuration,  and  when  one  does  that  with
user-mode-linux  patched kernel,  the  devfs is  not  proposed in  the
configuration options.  (It seems like many other  options are missing
too).

Removing my  .config, and  recompiling with the  default configuration
for   this   architecture   (which  includes   CONFIG_DEVFS_FS=y   and
CONFIG_DEVFS_MOUNT=y), produces a kernel including devfs.


Thank  you very  much for  the help.  My problem  is solved,  and I'll
signal  the   problem  with  the  configuration  of   ARCH=um  to  the
user-mode-linux team.


> > I've   got   the   problem   with   the   root_fs   distributed   with
> > user-mode-linux. For example with the root_fs_redhat_6.2_big, I got:
> 
> Which kernel version is this?

Kernel  2.4.7 with user-mode-linux  2.4.7.3, running  on a  RedHat 6.2
installation (with  the modules of  2.4.7-3um added). I have  the same
problem    with   the    other   root_fs    images    configured   for
user-mode-linux...

 
> > Perhaps it's the problem, but how to solve it?
> 
> For some reason, one part of your kernel thinks it has devfs, the
> other part doesn't. Either you've got a strange patch applied, or

Indeed, the user-mode-linux patch.

> perhaps you didn't do a "make dep;make clean" after reconfiguring your
> kernel.
>                                       Richard....

Well,  I definitely  did not  make dep  clean after  make  xconfig. It
seemed  to do  automatically  the dependencies.   My  problem was  not
directly related to that, but I should not have overlooked it. I added
it to my Makefile.



Thanks again.


-- 
__Pascal_Bourguignon__              (o_ Software patents are endangering
()  ASCII ribbon against html email //\ the computer industry all around
/\  and Microsoft attachments.      V_/ the world http://lpf.ai.mit.edu/
1962:DO20I=1.100  2001:my($f)=`fortune`;  http://petition.eurolinux.org/

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT d? s++:++(+++)>++ a C+++  UB+++L++++$S+X++++>$ P- L+++ E++ W++
N++ o-- K- w------ O- M++$ V PS+E++ Y++ PGP++ t+ 5? X+ R !tv b++(+)
DI+++ D++ G++ e+++ h+(++) r? y---? UF++++
------END GEEK CODE BLOCK------

<Prev in Thread] Current Thread [Next in Thread>