LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-04-2004, 04:44 PM   #1
kersten78
Member
 
Registered: Nov 2003
Location: Minneapolis, MN
Distribution: Slackware, Debian, Gentoo, openSuSE
Posts: 358

Rep: Reputation: 33
Fresh Slack 10 install::Can't modprobe...insmod failing.


Hey everybody, I started a thread about this a while ago and didn't get any response...I'm trying again, as I can't figure out the problem and it's driving me batty.

I just did a fresh install of slack 10 on an old sony vaio laptop. I have ndiswrapper "working" with (read recognizing) a D-Link pcmcia card, but I can't get it to modprobe. Actually, I can't really get anything to modprobe--I get errors about insmod failing, no such device with sonypi.0.gz, etc. Here's the errors:
Code:
/lib/modules/2.4.26/kernel/drivers/char/sonypi.o.gz: init_module: No such device
/lib/modules/2.4.26/kernel/drivers/char/sonypi.o.gz: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg
/lib/modules/2.4.26/kernel/drivers/char/sonypi.o.gz: insmod /lib/modules/2.4.26/kernel/drivers/char/sonypi.o.gz failed
/lib/modules/2.4.26/kernel/drivers/char/sonypi.o.gz: insmod ndiswrapper failed
I don't think this is an IO or IRQ issue as lspci shows the card, and ndiswrapper -l shows that the hardware is present. Also, pcmcia seems to be configured correctly, as wired pcmcia ethernet works fine, and the D-Link card's power led is lit.
I've tried googling sonypi.o.gz. I'm thinking the init_module error there may be the root of my problem--but I haven't figured anything out yet.
Why would modprobe ndiswrapper attempt to load the sonypi.o.gz module before loading ndiswrapper?
If anyone has any ideas, I'd really appreciate the help...I'm stumped.
 
Old 11-06-2004, 11:01 PM   #2
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
Why not compile the drive into the kernel instead of using modules?
 
Old 11-07-2004, 12:07 PM   #3
ViN86
LQ Newbie
 
Registered: Mar 2004
Distribution: Slackware 10.0
Posts: 25

Rep: Reputation: 15
i use modprobe instead of insmod. i just find it easier for slack to load all the necessary modules with the one i want to load.

if youre gettin errors, then these are probably the following problems:

1. IRQ conflicts
2. the module does not exist
3. the component the module supports is not recognized by the OS

i would just try compiling a new kernel and adding module support for whatever you need. then the modules will be loaded on startup, and you know they are included. if you have problems still, its probably a problem with the hardware.
 
Old 11-07-2004, 12:16 PM   #4
scottman
Member
 
Registered: Jul 2004
Location: USA
Distribution: Slackware, FreeBSD, LFS
Posts: 72

Rep: Reputation: 15
If you get those messages at boot time, they may be happening when
your init scripts load /etc/rc.d/rc.modules. As far as the sonypi.o.gz
kernel modules that is failing to load, documentation for my 2.4.26 Slack 10
system can be found in /usr/src/linux-2.4.26/Documentation/sonypi.txt.
It seems like it's a driver specific to your system. If it's not in the path
shown in the errors, you might want to recompile your kernel to add it as
a module, or at least check that it's compiled statically. To see if that drivers working the following could check for the device it's supposed to create.
#ls /dev/sonypi

That's about all I can come up with, I also have a related question. Carboncopy, you touched on it. How would I compile an external module
statically into a kernel? Like ndiswrapper for instance, how would add that
into a kernel at compile time, rather than use it as a module?
 
  


Reply



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
Slack 10 - No Sound After Fresh Install IamI Slackware 8 06-16-2005 08:30 PM
fresh slack 10.1 install (2.4.29) on a D915GEV MB coocoopuff Slackware 1 05-30-2005 12:41 PM
Ok fresh slack install and screwed up lilo... silverbullet Slackware 5 11-26-2004 01:34 PM
no network after fresh Slack 9 install major.tom Slackware 4 08-04-2003 04:01 PM
Can't boot fresh slack-9b install. gusgorman Slackware 8 02-21-2003 07:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:27 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
Open Source Consulting | Domain Registration