Return to the archive index

Re: longrun utility error

From: Doug <>
Date: Mon, 13 Jan 2003 15:16:29 +0100

Are they static or modules? If a module is not loaded
then you can get similar device errors. For example
if ALSA modules are not loaded the associated device
files aren't accessible. The /dev/cpu is kind of like
/proc in that its not a real device or filesystem.
Its a kernel thing. If you build those features
(CPUID and MSR) as statically included in the kernel
then I have no idea what is wrong. If you built them
as modules <M> instead of <*> then they need to be
loaded. Are they loaded? Do a lsmod. If not try
modprobing them, and add that to your init scripts.
The only other thing I can think of is if you are
using the /dev filesystem. That uses a daemon to
manages the /dev directory and sometimes you need
to configure that. Beyond that I have no idea, it
appears to look like an invalid parameter because
it says "invalid argument" but those kinds of
message are often misleading. Can you see the
device /dev/cpu and is stuff in there? If you
can't see it then its not a problem with the
longrun program, its still a problem with the
kernel devices (CPUID and MSR) or perhaps the
/dev filesystem (are you using devfs?).

   -- Doug

At 03:40 PM 1/13/2003 -0500, you wrote:
>I just rebuilt msr and cpuid in the kernel.  I had
>previously run the MAKEDEV script.  Do I need to do
>some clean up on the dev directories?
>
>I'm using a Crusoe 5400  - I don't know if that
>effects the major number (in the script) for the
>CPUID..
>
>Rick
>
>
>  --- Doug <> wrote: > Sounds
>like the device files are not created. I
> > believe
> > there is Makedev script that you need to run to
> > create
> > those. It should be in the longrun distribution.
> > What I
> > do is compile CPUID and MSR support statically into
> > the
> > kernels. It seems that when I do that I don't have
> > to
> > make those devices. Also, if you included support
> > for
> > CPUID and MSR as loadable modules, you may need to
> > load those (ie modprobe) before running longrun
> > util.
> >
> >   -- Doug
> >
> >
> > At 10:59 AM 1/13/2003 -0500, you wrote:
> > >I finally got my kernel configured with msr and
> > cpuid.
> > >  I ran the MAKEFILE-MSR-CPUID.  When I type
> > ./longrun
> > >-l - I get the error "longrun:error reading
> > >/dev/cpu/0/cpuid: Invalid argument".
> > >
> > >Does anyone know what I need to do to solve this
> > >problem?
> >
> >
> > --
> > Subscription/unsubscription/info requests: send
> > e-mail with subject of
> > "subscribe", "unsubscribe", or "info" to
> > 
> > Wear-Hard Mailing List Archive (searchable):
> > http://wearables.blu.org
> > Please, *PLEASE* don't subscribe through a
> > forward/expander/false domain
> >
>
>______________________________________________________________________
>Post your free ad now! http://personals.yahoo.ca
>
>--
>Subscription/unsubscription/info requests: send e-mail with subject of
>"subscribe", "unsubscribe", or "info" to 
>Wear-Hard Mailing List Archive (searchable): http://wearables.blu.org
>Please, *PLEASE* don't subscribe through a forward/expander/false domain

--
Subscription/unsubscription/info requests: send e-mail with subject of
"subscribe", "unsubscribe", or "info" to 
Wear-Hard Mailing List Archive (searchable): http://wearables.blu.org
Please, *PLEASE* don't subscribe through a forward/expander/false domain

+Previous Message in Thread | Next Message in Thread

From Wear-Hard Mailing list Archive (WH)
Maintained by R. Paul McCarty

Archive created with babymail