LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-16-2003, 02:54 AM   #1
praveen_2003
Member
 
Registered: Apr 2003
Location: india
Posts: 144

Rep: Reputation: 15
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.
 
Old 07-16-2003, 03:28 AM   #2
captainstorm
Member
 
Registered: Jun 2003
Location: Oricola, Italy
Distribution: RH 9, so far
Posts: 261

Rep: Reputation: 31
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?
 
Old 07-17-2003, 06:23 AM   #3
praveen_2003
Member
 
Registered: Apr 2003
Location: india
Posts: 144

Original Poster
Rep: Reputation: 15
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?
 
Old 07-18-2003, 12:27 AM   #4
praveen_2003
Member
 
Registered: Apr 2003
Location: india
Posts: 144

Original Poster
Rep: Reputation: 15
iam sure that i installed those drivers correctly.but any other solution????
 
Old 07-18-2003, 04:54 AM   #5
praveen_2003
Member
 
Registered: Apr 2003
Location: india
Posts: 144

Original Poster
Rep: Reputation: 15
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?
 
Old 07-18-2003, 05:21 AM   #6
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
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.
 
Old 07-19-2003, 12:30 AM   #7
praveen_2003
Member
 
Registered: Apr 2003
Location: india
Posts: 144

Original Poster
Rep: Reputation: 15
i have already tried doing those but nothing up.
 
Old 07-19-2003, 03:22 AM   #8
juby
Member
 
Registered: Dec 2002
Location: Bangalore, India
Distribution: Ubuntu 5.*
Posts: 241

Rep: Reputation: 30
this patch is crap..
i installed the 2.4.2 kernel on redhat 8 to get sm 56 run
 
Old 07-19-2003, 05:19 AM   #9
praveen_2003
Member
 
Registered: Apr 2003
Location: india
Posts: 144

Original Poster
Rep: Reputation: 15
mr juby
i want to know what version of gcc u used to compile ur kernel.and wont that work in RH9???
 
Old 07-19-2003, 05:46 AM   #10
juby
Member
 
Registered: Dec 2002
Location: Bangalore, India
Distribution: Ubuntu 5.*
Posts: 241

Rep: Reputation: 30
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 !

Last edited by juby; 07-19-2003 at 05:52 AM.
 
Old 07-20-2003, 01:35 AM   #11
praveen_2003
Member
 
Registered: Apr 2003
Location: india
Posts: 144

Original Poster
Rep: Reputation: 15
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.
 
Old 07-21-2003, 10:26 PM   #12
slapNUT
Member
 
Registered: Jun 2001
Location: Recycle Bin
Distribution: Linux & Everything else on VirtualBox
Posts: 144

Rep: Reputation: 15
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.
 
Old 07-22-2003, 12:16 AM   #13
praveen_2003
Member
 
Registered: Apr 2003
Location: india
Posts: 144

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel2.6 network dummoi Linux - General 1 07-12-2004 01:32 PM
Kernel2.6 with Nvidia for 2.4 Lobais Linux - General 6 05-19-2004 05:42 AM
problems with kernel2.6.4 kefen Slackware 3 03-23-2004 11:04 AM
LILO + Kernel2.6 kemplej Slackware 2 12-30-2003 05:40 PM
kernel2.4.21 praveen_2003 Linux - Software 5 07-18-2003 09:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration