Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


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

Rep: Reputation: 30
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:
/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
Senior Member
Registered: Jan 2003
Location: Malaysia
Distribution: Fedora Core, Slackware, Mac OS X, Debian, OpenSUSE
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
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
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?


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
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 > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:06 PM.

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