Log in

No account? Create an account
Linux Community's Journal
[Most Recent Entries] [Calendar View] [Friends View]

Wednesday, December 29th, 2004

Time Event
Slackware/BSD vs System V init scripts
I'd like to set up my box to have init 4 be single local user X, and init 5 to be multi-local-user X. I'm running a Dual head so I figure I can just have X run with the normal layout in init 4 (as it does now) and have init 5 run two sessions of X (like in this tutorial).
The first distro I used was Redhat which is System V. I figured out how to modify run levels pretty easily. Now I'm running slackware which uses BSD style init scripts (correct me if I'm wrong). I know how to modify which programs run on startup with chmod, but I don't know how to set it up to run a specific set of programs at a specific run level (like init 5). I know rc.M controls 2,3 and 5, but I just want to change 5... help?
Compiling and Installing Drivers
Hi. This is the first time I install Debian (and ind it works, the other times... well, you know :P). Now I'm trying to install the modules to make all my devices work.

The first divice I tried to set up was the NIC (VIA Rhine III VT6105). The drivers come with the VIA Rhine card. (source code). When trying to compile:

Makefile:[don't remember the line]: *** Linux kernel source not found. Stop.

So, I checked out /usr/src/ and I found that the kernel source was not installed (The Kernel I'm using is: kernel-2.4.18-bf2.4) I tried to get the kernel source with "apt-get" (I do not have internet connection in the debian computer, so every thing I download have as source the 7 debian CD's) but I found that the kernel source I was searching for does not exist. There is just kernel-source-2.4.18 but not kernel-source-2.4.18-bf2.4 I downloaded, untared 'kernel-source-2.4.18.tar.bz2' and made a simbolic link to the source kernel directory with the name 'linux', "perhaps could work" I tought

When compiling:

Makefile:34: *** Linux kernel source not configured. - missing version.h. Stop.

After do a: "make /usr/src/linux/include/version.h" and compiling again I recive:

find: /lib/modules/2.4.18: No such file or directory
Makefile:105: ***
Makefile:107: *** Warnig: kernel source configuration (SMP)
Makefile:108: *** does not match running kernel (up)
Makefile:113: *** Continuing with build,
Makefile:114: *** resulting driver may not be what yoy want
Makefile:115: ***
gcc -Wall -DLINUX -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -D__NO_VERSION__ -02 -pipe -I/usr/src/linux/include/ -I. -Wstrict-prototypes -fomit-frame-pinter -DVMNS -D__SMP__ -c -o rhine_main.o rhine_main.c
In file included from rhine.h:42,
from rhine_main.c:37:
/usr/src/linux/include/linux/module.h:21: linux/modversions.h: No such file or directory.
In file included from /usr/src/linux/include/linux/mm.h:4,
from rhine.h:47
from rhine_main.c:37:
/usr/src/linux/include/linux/sched.h:799: conlicting types for 'kernel_thread'
/usr/include/asm/processor.h:432: previous declaration of 'kernel_thread'
make: *** [rhine_main.o] Error 1

At this point I don't know that to do, have somebody any clue of how could I install this device?
Beforehand, thank you and please forgive my bad english.

Current Mood: curious

<< Previous Day 2004/12/29
Next Day >>
About LiveJournal.com