There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Linux and Unix
Tag Cloud
access acer asus bios bsod computer crash drive driver drivers error ethernet excel freeze games gaming hard drive hardware hdmi internet java laptop malware memory monitor motherboard music network obp printer problem ram random registry router slow software sound trojan usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Kernel Module problem

Reply  
Thread Tools
dalani's Avatar
Member with 73 posts.
 
Join Date: Jan 2005
Experience: Beginner
15-Apr-2005, 07:56 PM #1
Kernel Module problem
I recently had to re-install my MDK10 (after doing a hard disk swap to a new computer). Now my ppp0 and modem related modules don't load at start-up.
when I list the lib/kernel/modules dir containing all the kernel modules, the ppp0 are not present (all them other modules are there in xxx.ko.gz format but the missing modules are shown unhighlighted as xxx.ko)

at console if I #modprobe the missing modules, I get a missing module error..

Is there a way to unpack the modules from my install disk?
AND configure my computer to load these at startup?

Remind me again what Linux does that any OS can't do with a good firewall?


If I can get two of these three questions answered, that would be very helpful.
Headrush's Avatar
Senior Member with 1,332 posts.
 
Join Date: Feb 2005
Experience: Advanced
16-Apr-2005, 10:15 PM #2
Did you reinstall using the Mandrake Cds or did you copy the files from your old HD to the new one?
dalani's Avatar
Member with 73 posts.
 
Join Date: Jan 2005
Experience: Beginner
17-Apr-2005, 08:15 PM #3
I reinstalled with the MDK CD on the HD which was physically transfered to the a new computer. The only problem there was the lilo multiboot setup. Win98 boots fine and MDK also except for the missing ppp. Somewhat ironical since I use Linux mostly for web access...
Headrush's Avatar
Senior Member with 1,332 posts.
 
Join Date: Feb 2005
Experience: Advanced
18-Apr-2005, 12:56 PM #4
Quote:
Originally Posted by dalani
I reinstalled with the MDK CD on the HD which was physically transfered to the a new computer. The only problem there was the lilo multiboot setup. Win98 boots fine and MDK also except for the missing ppp. Somewhat ironical since I use Linux mostly for web access...
Just to be clear: you transfered your old HD into the new machine and installed a clean Mandrake from CDs onto this HD?

Can you post the output from these three commands
Code:
lsmod
modprobe -l
lspci
all run as root in console.

This will help tell me your modem type and the module that needs to be loaded and if it is included with your kernel.
dalani's Avatar
Member with 73 posts.
 
Join Date: Jan 2005
Experience: Beginner
18-Apr-2005, 02:51 PM #5
Yes I listed the modules with #lsmod but no ppp0 modules are shown
ditto with modprobe -l (and I did try to load the modules manually using
#modprobe bla)

To clarify: I transferred the HD intact to the new computer and installed MDK10.0 on existing partitions (no format). Configuring lilo bootloader at the end allowed to set the proper boot sequence. In otherwords, I did not restart from scratch but simply let linux detect the new hardware and BIOS.
Headrush's Avatar
Senior Member with 1,332 posts.
 
Join Date: Feb 2005
Experience: Advanced
19-Apr-2005, 02:38 AM #6
I needed output from modprobe -l and lspci.

I wasn't looking for ppp0, but support for your modem. If the kernel never detects it, ppp0 will not be created.
dalani's Avatar
Member with 73 posts.
 
Join Date: Jan 2005
Experience: Beginner
19-Apr-2005, 09:39 PM #7
oh the modem is detected because I can dial with wvdial on ttys2 (and annoyingly hear the damn thing dialing and connecting). When it finally connects to the ISP and starts the transaction process and username/password check, it disconnects with some message about no ppp.

But if it helps, the lspci command lists all the motherboard hardware config (pci bridge, isa bridge etc..) No modem is shown in that list (it's a ISA hardware analog modem). I used #dmesg which shows that start up detects and lists the modem U.S.Robotics 56k and shows it connected at serial port ttys2. Funny thing is, the modules I need in etc/libs/blabla are not shown as module.xxxx.ko.gz but as module.xxxx.ko

so I'm baffled. Could I manually extract these 'missing' *.gz fromm the CD install disks or is there a more elegant way?
Headrush's Avatar
Senior Member with 1,332 posts.
 
Join Date: Feb 2005
Experience: Advanced
21-Apr-2005, 03:45 PM #8
Quote:
Originally Posted by dalani
oh the modem is detected because I can dial with wvdial on ttys2 (and annoyingly hear the damn thing dialing and connecting). When it finally connects to the ISP and starts the transaction process and username/password check, it disconnects with some message about no ppp.

But if it helps, the lspci command lists all the motherboard hardware config (pci bridge, isa bridge etc..) No modem is shown in that list (it's a ISA hardware analog modem). I used #dmesg which shows that start up detects and lists the modem U.S.Robotics 56k and shows it connected at serial port ttys2. Funny thing is, the modules I need in etc/libs/blabla are not shown as module.xxxx.ko.gz but as module.xxxx.ko

so I'm baffled. Could I manually extract these 'missing' *.gz fromm the CD install disks or is there a more elegant way?
Don't do that, you're are asking for problems.

I don't which exact version of Mandrake 10 you are using, but I just checked the rpm file from Mandrake 10.1 and both the ppp_generic and ppp_async kernel modules are there. Those are the two modules you need.

I would erase the old /lib/modules/kernel...version/ directory and rpm -Uvh kernel.....rpm from the Mandrake CD. (I can't give exact name because I don't know which version of Mandrake 10 you have 10.0 10.1 10.2)

Dalani, when possible please give full names rather than module.xxxx.ko.gz, or /etc/lib/blabla, makes it really harder to follow. (Don't worry about the .ko and .ko.gz ending files, kernel takes care of it by itself)

What modules are you specifically talking about in /etc/lib/blabla?
I pretty sure those aren't the kernel modules you need.

Edit: Just saw version 10.0 :-) But still need more info, what version and kernel.
Code:
uname -a
will provide what I need.
dalani's Avatar
Member with 73 posts.
 
Join Date: Jan 2005
Experience: Beginner
22-Apr-2005, 08:48 AM #9
Sorry I was posting from memory on my other computer. Here goes the details

Code:
#uname -a
Linux steve 2.6.3-7mdk #1 Wed Mar 17 15:56:42 CET 2004 i686 unknown unknown GNU/Linux

#cd /lib/modules/2.6.3-7mdk/kernel/drivers/net
# ls
3c501.ko.gz     de600.ko.gz      hamachi.ko.gz   plip.ko.gz         smc-ultra.ko.gz
3c503.ko.gz     de620.ko.gz      hamradio/       ppp_async.ko       starfire.ko.gz
3c505.ko.gz     defxx.ko.gz      hp100.ko.gz     ppp_deflate.ko     sundance.ko.gz
3c507.ko.gz     depca.ko.gz      hp.ko.gz        ppp_generic.ko     sungem.ko.gz
3c509.ko.gz     dgrs.ko.gz       hp-plus.ko.gz   ppp_mppe.ko        sungem_phy.ko.gz
3c515.ko.gz     dl2k.ko.gz       irda/           pppoe.ko           sunhme.ko.gz
3c59x.ko.gz     dummy.ko.gz      ixgb/           pppox.ko           tg3.ko.gz
8139cp.ko.gz    e100/            lance.ko.gz     ppp_synctty.ko     tlan.ko.gz
8139too.ko.gz   e1000/           lne390.ko.gz    r8169.ko.gz        tokenring/
82596.ko.gz     e2100.ko.gz      lp486e.ko.gz    rcpci.ko.gz        tulip/
8390.ko.gz      eepro100.ko.gz   mii.ko.gz       sb1000.ko.gz       tun.ko.gz
ac3200.ko.gz    eepro.ko.gz      natsemi.ko.gz   seeq8005.ko.gz     typhoon.ko.gz
acenic.ko.gz    eexpress.ko.gz   ne2k-pci.ko.gz  shaper.ko.gz       via-rhine.ko.gz
appletalk/      epic100.ko.gz    ne3210.ko.gz    sis190.ko.gz       wan/
arcnet/         eql.ko.gz        ne.ko.gz        sis900.ko.gz       wd.ko.gz
at1700.ko.gz    es3210.ko.gz     ni5010.ko.gz    sk98lin/           wireless/
atp.ko.gz       eth16i.ko.gz     ni52.ko.gz      skfp/              yellowfin.ko.gz
b44.ko.gz       ethertap.ko.gz   ni65.ko.gz      slhc.ko            znet.ko.gz
bonding/        ewrk3.ko.gz      ns83820.ko.gz   slip.ko.gz
bsd_comp.ko.gz  fealnx.ko.gz     pcmcia/         smc9194.ko.gz
cs89x0.ko.gz    forcedeth.ko.gz  pcnet32.ko.gz   smc-ultra32.ko.gz

#ls ppp*
ppp_async.ko  ppp_deflate.ko  ppp_generic.ko  ppp_mppe.ko  pppoe.ko  pppox.ko  ppp_synctty.ko
#ls slhc.ko
slhc.ko
The other modules in that directory are all highlitghed red with the *.ko.gz file extension. The missing ppp* modules and the slhc.ko are shown unhighlited and in the form *.ko with no *.gz extension. I don't know if that is significant or why.
Headrush's Avatar
Senior Member with 1,332 posts.
 
Join Date: Feb 2005
Experience: Advanced
23-Apr-2005, 04:30 AM #10
By any chance did you try compiling your own kernel, or is this directly installed from the rpm?

I tried grabbing the rpm myself to look, but can't find mirror with 10.0 still.
dalani's Avatar
Member with 73 posts.
 
Join Date: Jan 2005
Experience: Beginner
23-Apr-2005, 12:14 PM #11
Like I said, I had did a re-install on the old MDK10 partitions and let linux re-detect the new hardware. I did not reformat or erase previous root contents. These modules were present and I had a working internet connection previously before installing my HD in a new computer. Somewhere in the install, I configured the new video card and remember the install asking if I wanted to set-up the modem to dialup at boot -i said no (it might be the reason the ppp* modules are not active.)

Recompiling the kernel? I don't know how to do that -that's like having to know metallurgy to drive a car. but metallurgy is interesting anyways...

Last edited by dalani; 23-Apr-2005 at 12:19 PM..
Headrush's Avatar
Senior Member with 1,332 posts.
 
Join Date: Feb 2005
Experience: Advanced
23-Apr-2005, 03:44 PM #12
I think the best approach would be to go to software management section of the Mandrake Control Panel and remove the kernel. Then from a console make sure the modules are gone by using:
Code:
rm -rf /lib/modules/*
Then reinstall the kernel package again and all the modules you need should be ok.
(DO NOT restart before reinstalling the kernel)

You may have to use the Mandrake Control panel to setup the modem up now.

P.S. Re-installing over an existing OS is never the best method even when it is the same OS. (Windows, MacOS, or Linux)
dalani's Avatar
Member with 73 posts.
 
Join Date: Jan 2005
Experience: Beginner
24-Apr-2005, 10:36 AM #13
Uninstalling the kernel then re-installing it is no problem for me. But concerning the modules, I have just one question: the modules are numerous-is there a single rpm to install these? Otherwise I might not be able to find them and re-install the correct ones.
Headrush's Avatar
Senior Member with 1,332 posts.
 
Join Date: Feb 2005
Experience: Advanced
24-Apr-2005, 11:03 AM #14
Quote:
Originally Posted by dalani
Uninstalling the kernel then re-installing it is no problem for me. But concerning the modules, I have just one question: the modules are numerous-is there a single rpm to install these? Otherwise I might not be able to find them and re-install the correct ones.
Unless you installed some third party kernel modules, (which I doubt), the rpm contains all the modules.

You can list the contents of the rpm before installing to verify it's all there.
(I don't know exact location in Mandrake Software Control Panel, but from command line rpm -l packagename.rpm will display the contents. All the rpms are on the Mandrake CD)
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 07:16 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.