realtime - Had it again, Lost it again
I have recompiled my 2.6.8 kernel numerous times in the last three days
seeking a configuration allowing use of a USB dvdrw device. In the
process I lost realtime.
I believe there are at least three ways to install the realtime module:
unpack realtime-lsm.tar.bz2 and follow the instructions in INSTALL,
use module-assistant, or
use make-kpkg --added_modules realtime kernel_image
I have tried all of these and combinations of them, twice with success
but most often not. I always get realtime.ko in
/lib/modules/2.6.8/extra but then /etc/init.d/realtime start responds
"Loading Realtime Linux Security Module: not found" and modprobe
realtime exits with the message "FATAL: Error inserting realtime
(/lib/modules/2.6.8/extra/realtime.ko): Invalid arguement."
Unfortunately, I can't pin down exactly which sequence of instructions
worked as I was trying at the same time to get the USB dvdrw drive set
up. On several tries I purged all the realtime entries in dpkg -l and
deleted the realtime files and the module directory in /usr/src and
started fresh. I noticed that module-assistant creates backups of
/usr/src/linux. I have unpacked the kernel source in
/usr/src/kernel-source-2.6.8 and never touch /usr/src/linux.
Logically, I believe that unpacking realtime-lsm.tar.bz2 and following
the INSTALL directions including setting KERNEL_DIR := /
usr/src/kernel-source-2.6.8 in Makefile should be a straightforward
method of installing the realtime module but this results in the
modprobe invalid arguement response.
I'll keep trying until I reproduce the sequence that works. I am
posting this message in case someone knows the correct method and has
time to post it.
As to the USB problem Z. A. Kaleta responded that CONFIG_BKL_DEV_UB
must be set to "n". This may be so but I can find no such option in
make menuconfig. I know the device is working - lsusb finds it and
less /proc/bus/usb/devices lists it as a 400 speed device. Hotplug
allows it to be disconnected and reconnected with no problems but if I
try to use it I get a message that special device /dev/sr1 does not
exist. If I boot to my backup 2.4.26 kernel /dev/sr1 does exist. I
have tried cd /dev; ./MAKEDEV -n sr which seems to work but then ls
/dev shows no such devices. Cyprien suggested looking in
/var/log/syslog which I have done. It shows the dvdrw device being
installed but gives no indication of a mount point. I googled the
recent archives and read the messages regarding mounting a usb harddisk
without finding any solution. Clearly something elementary is missing
from my setup - if I hotplug usb devices while running the 2.4.26 kernel
the response includes the mount point but this is not the case when
using the 2.6.8 kernel. Again, I'll persevere until I solve this riddle.
Tom George
Reply to: