the uname -r is just a way to print the kernel version. the script inserts the kernel version into the cp and mkdir commands. just go in your kernel modules directory, and make a directory other, then put the modules there, then depmod -a. that way you won't have to be as perfect in your typing and quotes and stuff.
|
Thanks again, Whansard.
This is another try to install the modem, which is the same I did two or three days ago: [root@localhost ltmodem-2.6-alk-2]# make make -C /usr/src/linux/ SUBDIRS=/home/marco/drivers/ltmodem-2.6-alk-2 modules make[1]: Entering directory `/usr/src/linux-2.6.3-7mdk' *** Warning: Overriding SUBDIRS on the command line can cause *** inconsistencies make[2]: `arch/i386/kernel/asm-offsets.s' is up to date. CHK include/asm-i386/asm_offsets.h Building modules, stage 2. MODPOST make[1]: Leaving directory `/usr/src/linux-2.6.3-7mdk' [root@localhost ltmodem-2.6-alk-2]# mkdir /lib/modules/`uname -r`/other [root@localhost ltmodem-2.6-alk-2]# cp -v *.ko /lib/modules/`uname -r`/other `ltmodem.ko' -> `/lib/modules/2.6.3-7mdk/other/ltmodem.ko' `ltserial.ko' -> `/lib/modules/2.6.3-7mdk/other/ltserial.ko' [root@localhost ltmodem-2.6-alk-2]# mknod --mode=0640 /dev/ttyLT0 b 62 64 [root@localhost ltmodem-2.6-alk-2]# depmod -a [root@localhost ltmodem-2.6-alk-2]# modprobe ltserial FATAL: Error inserting ltserial (/lib/modules/2.6.3-7mdk/other/ltserial.ko): Kernel does not have module support [root@localhost ltmodem-2.6-alk-2]# Just done, in /var/log/messages: Jun 25 20:28:13 localhost kernel: ltmodem: no version for "struct_module" found: kernel tainted. Jun 25 20:28:13 localhost kernel: ltmodem: module license 'Proprietary' taints kernel. Jun 25 20:28:13 localhost kernel: Loading Lucent Modem Controller driver version 8.26 Jun 25 20:28:13 localhost kernel: Detected Parameters Irq=17 BaseAddress=0xc400 ComAddress=0xc000 Jun 25 20:28:13 localhost kernel: ttyLT0 at I/O 0xc400 (irq = 17) is a Lucent Modem Have you any idea? |
it sort of looks like it loaded anyway.
lsmod lists the loaded kernel modules. or it's supposed to anyway. i've seen the 2.6.x kernel series do weirdo stuff. see if ltserial and ltmodem are loaded. |
Is it possible?
In my system there isn't lsmod! [marco@localhost modules]$ lsmod bash: lsmod: command not found But if I type "man lsmod", the manual page appears... Is lsmod command in any RPM package? Which one? Thank you |
modutils.
run it as root. not as a regular user. i'm sure it's on your system. |
Yes! You're right! I haven't thought it... The fact is it shows me "Command not found", not "Permission denied" or similar.... so I though that the command wasn't in my system... not that I had to become root...
Well, the result of lsmod is that ltserial and ltmodem aren't loaded; they aren't in the list. I haven't reported it because it is so long, but if it is necessary, I'll post it. Thanks |
marstell: there's nothing wrong with what you typed in by the looks, and as long you're doing it as root like what whansard said. The bit with uname -r -- its the reverse quote key that youre meant to type in (the key with the tilde ~ sign)... i.e. `uname -r` actually says to linux to replace that bit with the output of the command uname, so it prints out the kernel version into the string... try it on the command line and see for yourself.
If that module still fails to load, you might want to downgrade your kernel version to 2.6.3-4mdk -- it might be included in the Official version distro, I'm not sure. The drivers were meant for that version so don't stress too much if it doesn't work perfectly. |
Wrong! in lsmod list, there is ltmodem!!! In the previous post I said it wasn't!
Ltmodem is loaded Ltserial isn't loaded. to Invader: Thanks. Can you tell me how I can insert in a console or in a text document any ASCII symbols? Like tilde, quote, reverse quote etc. In Windows I can do it by pressing ALT + the key number of the symbol, for example { is ALT +123. But in Linux? I will control but I think 2.6.3-4mdk kernel is in 4th cd and I've only the first three. But can I download the 2.6.3-7 patch and come back to 2.6.3-4mdk kernel with the command 'patch -R' ??? Thanks |
try modprobe ltserial
modprobe ltmodem then try to dial hopefully your /dev/modem is symlinked to the right place. |
Hi Whansard!
Well, ltmodem is loaded after typing modprobe lterial. Before typing it, neither ltmodem nor ltserial are loaded. Afterwards, only ltmodem is loaded. If then I write modprobe ltmodem it doesn't happen anything newer (the module is already loaded). I tried go on and, at the end, the system of course doesn't recognize the modem. Anyway I have one question about Tormented's instructions: ln -vs /dev/ttySLT0 /dev/modem Why is /dev/ttySLT0 and not /dev/ttyLT0 ? I thought it was a mistake, but I saw in Invader's instructions the same expression. Why we create a symlink to a nonexisting file? I tried in the two ways and if I write /dev/ttyLT0, kppp tell me "Modem not found" or something similar, while if I write /dev/ttySLT0 it opens an error dialog box "Impossible to access the modem" or similar (translated by Italian) Another question. Why ltserial give problems while ltmodem is loaded without matter? And why neither Tormented nor others have had any problems like mine? I've the same kernel version, the same driver files... why? Thank you again |
i don't know. but ltserial is the serial interface to ltmodem, so ltmodem can't work without it.
you can make the device file whatever name you wish, as long as it has the correct properties. you can make a device /dev/butterhead with the correct settings, and it's all the same. just stay with the same name for allthe commands. |
Yes, but the binary file created by mknod has name ttyLT0. Then, we create a symlink to ttySLT0, which doesn't exist.
mknod --mode=0640 /dev/ttyLT0 b 62 64 ln -vs /dev/ttySLT0 /dev/modem I know that we can assign whatever name, but what I don't understand is why we have to create a symlink to a file which there isn't... Anyway.. the bigger matter is: how to install the modem?? I could also change kernel version (i have never done it) and downgrade to 2.6.3-4mdk, which has its own drivers, but seen that furfurdemon666, Tormented and who other have configured their modems without matters on 2.6.3-7mdk kernel, I could have to can install my modem, too... Or wrong? What does "kernel does not have module support" mean ? .. There are many modules currently loaded in the system! Why haven't it module support? What's module support? Have you any idea? Greetings |
i haven't seen any of those instructions, but that node should be character, i'm sure.
mknod --mode=0640 /dev/ttyLT0 c 62 64 instead of b. and the symlink should be to /dev/ttyLT0 |
Thanks, Whansard.
However, the instructions I refer to, are in the first page of this thread. There are two posts which teach how to install the modem. Tormented and Invader have written them But what can I do with 'modprobe ltserial'? |
a modem is a character device. a block device is like a hard drive or cdrom.
/dev# ls -l ttyLT0 0 crw-rw---- 1 root uucp 62, 64 Jun 27 11:29 ttyLT0 mine works, and is a character device. and i have no /dev/ttySLT0. if /dev/modem is linked to a device that doesn't exist, it cannot work. |
All times are GMT -5. The time now is 08:30 AM. |