El sÃb, 08-10-2005 a las 07:04 -0700, Mike Phillips escribiÃ:
> M Daniel or whoever else might be able to help me.
>
> First of all, thanks for setting up the wiki page for
> PWC. I'm having a bit of trouble installing the PWC
> module on fedora 4 as described in your "Installation
> of PWC as Stand Alone Module Fedora Core 4"
>
>
> http://www.lavrsen.dk/twiki/bin/view/PWC/InstallationStandAloneModuleFedoraCore4
>
>
Hi man,
I've just seen this invocation to me for helping you here by chance,
since I'm nothing to do with the pwc module, believe me... Anyway, sorry
for the delay.
Actually the above was not originally written by me, that's a wiki
system and I simply ran into it some time ago, helped me to install the
new pwc module, despite it was originally rather confusing in my
opinion, so I decided to log in, to improve some things, to clarify
others..., all this in the first title, while the second one and
subsequents were not touched by me, excepting some html code that
originally didn't match when viewing in the normal mode as expected.
Anyway, some of the starting lines for the first part were continued
untouched by me, because of I didn't get to catch their sense, fussy in
my opinion, when it talks about "the sources", apart from it was not my
intention to modify all the content either, I suspect it wouldn't be
very pretty...
> I was wondering if you could help me troubleshoot the
> problem I'm having.
>
> I have Fedora Core 4 installed with the source
> headers. I added the headers after not being able to
> run the make file, but it didn't help.
I already had the sources (named as kernel-headers) installed previously
due to other reasons, so when I came here for the first time I didn't
pay attention to the starting lines of the mini-howto. Maybe it was some
selfish from my own not to care that issue when later I did some changes
in the wiki..
>
> I'm trying to install pwc-10.0.7a
>
> The error I get is here:
>
> Desktop]# cd pwc-10.0.7a
> pwc-10.0.7a]# make && make install
> make -C /lib/modules/2.6.11-1.1369_FC4/build
> SUBDIRS=/home/flip/Desktop/pwc-10.0.7a modules
> make: *** /lib/modules/2.6.11-1.1369_FC4/build: No
> such file or directory. Stop.
> make: *** [default] Error 2
> pwc-10.0.7a]#
>
> I think maybe my sources aren't linked right, when I
> do a ls -l on /lib/modules/2.6.11-1.1369_FC4/ the
> build directory shows up in hi-lighted red text.
>
>
>
> kernels]# ls -l on
> /lib/modules/2.6.11-1.1369_FC4/
> ls: on: No such file or directory
> /lib/modules/2.6.11-1.1369_FC4/:
> total 1044
> lrwxrwxrwx 1 root root 47 Sep 28 00:34 build ->
> ../../../usr/src/kernels/2.6.11-1.1369_FC4-i686
> drwxr-xr-x 9 root root 4096 Sep 28 00:34 kernel
> -rw-r--r-- 1 root root 194071 Sep 28 00:34
> modules.alias
> -rw-r--r-- 1 root root 69 Sep 28 00:34
> modules.ccwmap
> -rw-r--r-- 1 root root 233753 Sep 28 00:34
> modules.dep
> -rw-r--r-- 1 root root 813 Sep 28 00:34
> modules.ieee1394map
> -rw-r--r-- 1 root root 357 Sep 28 00:34
> modules.inputmap
> -rw-r--r-- 1 root root 16284 Sep 28 00:34
> modules.isapnpmap
> -rw-r--r-- 1 root root 168631 Sep 28 00:34
> modules.pcimap
> -rw-r--r-- 1 root root 89252 Sep 28 00:34
> modules.symbols
> -rw-r--r-- 1 root root 267888 Sep 28 00:34
> modules.usbmap
> lrwxrwxrwx 1 root root 5 Sep 28 00:34 source ->
> build
>
> when I do an ls -l on the kernels dir I get:
>
>
> kernels]# ls -l /usr/src/kernels/
> total 8
> drwxr-xr-x 17 root root 4096 Oct 8 03:33
> 2.6.13-1.1526_FC4-i686
>
> Should I change the symlink? Should I change the
> target? Should I rename the dir in the kernel? Do i
> have the right kernel version?
>
> kernels]# uname -r
> 2.6.11-1.1369_FC4
>
>
In the above, you're answering your self... "build" (a symbolic link) is
pointing to a path in /usr/src/kernels/<version> that doesn't exist,
since it seems you have the latest kernel sources version installed
here /usr/src/kernels/, but you're running a kernel belonging to some
stages earlier..
Why? Don't you update your system for any particular reason? Ummmmm
Can't you be root?
Ugly :-(
Don't mess up anything, you won't have any need of it at all...
You should...
Run "yum update" as root immediately! (my honest advice)
Confirm (y) all
Wait (I suppose you will a lot...:-)
Now, don't log out yet, do this instead: "yum install
kernel-devel glibc-kernheaders" (without quotes)
Probably not needed yet, but confirm if it asks you.
When finished, log out with "exit"
Reboot your system, choose the kernel version that grub will show you by
default (the newer) when its menu appears.
When you're in front of your desktop, come true yourself by doing "uname
-r" again...; you should be now "in a new galaxy"...
Check things before continuing:
*ls -l /lib/modules/<your.current.kernel.version> Here you know you
should have the named "build" symb link pointing to the exactly same
kernel version in /usr/src/kernels/<that.kernel.version>; If not, create
it by hand: ln
-s /usr/src/kernels/<that.kernel.v.> /lib/modules/<that.kernel.v>/build
(similarly to create the named "source" sym link -if needed-
into /lib/modules/<that.kernel.v.>/ : ln -s build source
*Do this, please: "rpm -qa | grep glibc-kernheaders" The output's all
right, isn't it?
Now, let's go back to the pwc wiki linked above and feel free to try it
again.
You shouldn't have any problem. I've followed those "wikied" steps _as
many times as kernel updates I've done_ in my FC4 system, always were
OK. Yes, a bit annoying to have to repeat all that each time a newer
kernel version is installed, but it does not either last so much time...
One prior advice: get comfortable with yum as soon as possible. It's
powerful and let you save a lot of time yourself. Man yum.
One more advice: personally I like to preserve 2-3 kernel versions
installed (at least two is highly recommended!), just for obvious
reasons. Then, as newer kernel versions comes installed, you could
"rotate" by removing the older ones, with "yum remove
kernel-*<version>", that's the cleaner way to do it. You can always make
sure before that about which kernel versions are installed by running
something like this: "rpm -qa | grep kernel
>
>
> I'm kinda of linux newby so if you can be of any
> help, I'd certainly appreciate it.
>
Me too!
> Thanks in advance.
>
>
> Mike
>
Regards,
Daniel
_______________________________________________
pwc mailing list
http://lists.saillard.org/mailman/listinfo/pwc
|