LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Modem On Kernel2.4.21 (https://www.linuxquestions.org/questions/linux-software-2/modem-on-kernel2-4-21-a-73151/)

praveen_2003 07-16-2003 01:54 AM

Modem On Kernel2.4.21
 
i have installed kernel2.4.21 recently on RH9.i preffered to this latest kernel because i get segmentation fault on RH9's default kernel(2.4.20-8) with my motorola sm56 modem.but when i install sm56-gcc3 on kernel2.4.21 and when i do wvdial........after sending atz it says modem not responding.however i tried kppp also.it says 'modem ready' but there is only empty text boxes on modem query dialog box.all the box from ATI 1 to ATI 7 are empty.on the other hand when i dial using kppp it says initializing modem.....and continues to do the same.what should i do to make my modem work with this kernel.i have tried compiling the kernel with gcc-2.96 too.
when i do 'insmod sm56' it says some tainted modules however i know that it is not a problem.then later when i do 'depmod -a' it doesnt show any error message.then 'modprobe sm56' also doesnt show any error message.when i installed my modem driver on kernel2.4.18-14 with gcc3 it did not work giving segmentation fault error.but when i do the same with gcc 2.96 it worked perfectly.what is happening?i have even loaded PPP as modules.

captainstorm 07-16-2003 02:28 AM

I am not sure but I think it is the problem of the driver, or you did not install it properly. Have you checked whether this driver is capable to be used on kernel2.4.21?, have you followed the "readme" or "FAQ" coming along with the driver?

praveen_2003 07-17-2003 05:23 AM

i donno whether i can use motorola sm56 driver with this kernel2.4.21.but when i made a post discussing about my modem i was told to check out this kernel to make my modem work.i have downloaded modem driver from www.sm56.tk.
comming to the commands point,i did 'make mrproper' first then 'make menuconfig',then i removed unwanted drivers which i thought it was unnecessary.then 'make dep',then 'make bzImage',then 'make modules'then 'make modules_install',then finally 'make install'.that's it!is there anything i have to do more?

praveen_2003 07-17-2003 11:27 PM

iam sure that i installed those drivers correctly.but any other solution????

praveen_2003 07-18-2003 03:54 AM

well,i think its not worth discussing about this modem.so,ive already informed that motorola sm56

data/fax modem works fine with kernel2.4.18-14 compiled with gcc-2.96.so if i want to make this

modem work on kernel2.4.21,i think its enough to replace some modules of kernel2.4.21 with

kernel2.4.18-14.so can anyone assist me what r the modules that has to be replaced or what are

the modules associated with connecting to internet using kppp and some others or else is that

enough if i replace only the modules?can anyone help me?

ppuru 07-18-2003 04:21 AM

As per the website www.sm56.tk, they recommend making a new kernel from the sources and make the ppp related modules as loadable modules, then install sm56-gcc3.

Hope this helps.

praveen_2003 07-18-2003 11:30 PM

i have already tried doing those but nothing up.

juby 07-19-2003 02:22 AM

this patch is crap..
i installed the 2.4.2 kernel on redhat 8 to get sm 56 run

praveen_2003 07-19-2003 04:19 AM

mr juby
i want to know what version of gcc u used to compile ur kernel.and wont that work in RH9???

juby 07-19-2003 04:46 AM

I dint recomplie the kernel i just installed the kernel-2.4.2 rpm
with
'rpm -ivh <filename> --force '

command.
i then edited grub to boot from the 2.4.2 kernel & then installed the rpm version fo the modem driver
everything worked fine..

the patch from sm56.tk dint work out for me.

the basic prob is that kernel compiled with gcc 3x dont allow properitory modules to be loaded.. in my opininon the guys who did that may have to think abt it seriously .. kernel versions higher than 2.4.5 are compiled with the 3x version of gcc that y u get the problems

btw try to

insmod -sfq <module_name>

and see if it works..

if u r using ext 3 filesystem then bad luck ..coz 2.4.2 doesnt support journalizing.. u will have to break ur head again for getting 2.4.2 support ext3.

Good luck !

praveen_2003 07-20-2003 12:35 AM

but my modem worked perfectly with RH8's default kernel when i compiled with gcc2.96.but my question is-----is there any way to make my modem work with kernel2.4.20 or 21.

slapNUT 07-21-2003 09:26 PM

OK going by your first post I think you did everything correctly the first time

e.g. when i do 'insmod sm56' it says some tainted modules however i know that it is not a problem.then later when i do 'depmod -a' it doesnt show any error message.then 'modprobe sm56' also doesnt show any error message.

The above tells me you compiled a module and it is compatible withe your kernel. So the problem is most likely in the /dev directory. Most Winmodem drivers create special devices in the /dev directory that you need to point the symlink /dev/modem to. So you should read the driver README file and find out what the /dev/<special> device you need to point /dev/modem to.

praveen_2003 07-21-2003 11:16 PM

the rpm version of my modem driver released by motorola pointed /dev/modem to /dev/sm56.but the driver from sm56.tk(which iam suppose to use) doesnt point modem from /dev/modem to /dev/sm56.it uses /dev/modem only.


All times are GMT -5. The time now is 01:38 PM.