The following error or errors occurred while posting this message:
The message exceeds the maximum allowed length (20000 characters).
rpm file install
http://wklej.to/m4ONgHow easy way to test each line bash script?
Edit:
Build modules:
# ./make.sh
ATI module generator V 2.0
==========================
initializing...
cat: /lib/modules/3.2.18-pclos2.bfs/build/include/linux/version-*.h: Nie ma takiego pliku ani katalogu
Error:
kernel includes at /lib/modules/3.2.18-pclos2.bfs/build/include do not match current kernel.
they are versioned as ""
instead of "3.2.18-pclos2.bfs".
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux
In kernel 3.2.18-pclos2.bfs I have /lib/modules/3.2.18-pclos2.bfs/build/include/linux/version.h , I'm not sure , maybe this is this same what
version-*.h
Remove new fglrx in dkms installed from synaptic.
# dkms remove -m fglrx -v 8.28.8 --all
------------------------------
Deleting module version: 8.28.8
completely from the DKMS tree.
------------------------------
Done.
cd /lib/modules/2.6.38.8-pclos1.bfs/build/include/linux
ln -s version.h version-2.6.38.8.h
rpm -ivh fglrx_6_8_0-8.28.8-1.i386.rpm
Preparing... ########################################### [100%]
1:fglrx_6_8_0 ########################################### [100%]
Error! Build of fglrx.ko failed for: 2.6.38.8-pclos1.bfs (i586)
Consult the make.log in the build directory
/var/lib/dkms/fglrx/8.28.8/build/ for more information.
Error! Invalid number of parameters passed.
Usage: remove -m <module> -v <module-version> --all
or: remove -m <module> -v <module-version> -k <kernel-version>
DKMS part of installation failed. Please refer to /usr/share/fglrx/fglrx-install.log for details
ln: failed to create a symbolic link `/usr/lib/fglrx/libGL.so': No such file or directory
ln: failed to create a symbolic link `/usr/lib/fglrx/libGL.so.1': No such file or directory
/usr/share/fglrx/fglrx-install.log
Creating symlink /var/lib/dkms/fglrx/8.28.8/source ->
/usr/src/fglrx-8.28.8
DKMS: add Completed.
Preparing kernel 2.6.38.8-pclos1.bfs for module build:
(This is not compiling a kernel, just preparing kernel symbols)
Storing current .config to be restored when complete
Running Generic preparation routine
make clean.....
using /proc/config.gz
make oldconfig.......
make prepare....
Building module:
cleaning build area....
pushd /var/lib/dkms/fglrx/8.28.8/build; sh make.sh --nohints; popd....
[Error] Kernel Module : Failed to build fglrx-8.28.8 with DKMS
[Error] Kernel Module : Removing fglrx-8.28.8 from DKMS
[Message] Driver : End of installation
make.log
nie, 3 mar 2013, 15:22:24 CET
/var/lib/dkms/fglrx/8.28.8/build
# cd /lib/modules/2.6.38.8-pclos1.bfs/build/include
# grep -r '2.6.38' .
./generated/utsrelease.h:#define UTS_RELEASE "2.6.38.8-pclos1.bfs"
./generated/autoconf.h: * Linux/i386 2.6.38.8-pclos1.bfs Kernel Configuration
./config/auto.conf:# Linux/i386 2.6.38.8-pclos1.bfs Kernel Configuration
./config/kernel.release:2.6.38.8-pclos1.bfs
# cd /usr/src/
# ls -l linux
lrwxrwxrwx 1 root root 41 mar 3 13:23 linux -> /usr/src/kernel-devel-2.6.38.8-pclos1.bfs/
# rm linux
rm: remove the symbolic link `linux'? y
# ln -s linux-2.6.38.8-pclos1 linux
# cd /usr/src/linux/include/linux
# make include/linux/version.h
CHK include/linux/version.h
UPD include/linux/version.h
# cd /var/lib/dkms/fglrx/8.28.8/build
# ./make.sh
ATI module generator V 2.0
==========================
initializing...
Error:
kernel includes at /lib/modules/2.6.38.8-pclos1.bfs/build/include do not match current kernel.
they are versioned as ""
instead of "2.6.38.8-pclos1.bfs".
you might need to adjust your symlinks:
- /usr/include
- /usr/src/linux
-----------
Ok, I give up,
I believe we can add drivers to the kernel, but do not know how
First step we need to create a module with the driver,
the kernel module has the extension ". ko" , but I can' t compile.
It would be best strip rpm source code.
This data is not enough,
errors by me they do not speak much.
Maybe will useful some simple tools
like ollygdb, ida, ida pro for windows
valgrind or gdb ( (gdb) layout asm ) with ltrace can be helpful for Linux.
I would look yet but I have more important things to take care of I neglected.