View previous topic :: View next topic |
Author |
Message |
Schuthrax n00b
Joined: 18 Apr 2002 Posts: 51 Location: Sacramento, CA, USA
|
Posted: Fri Jan 10, 2003 7:37 am Post subject: insmod...module not found |
|
|
I recently grabbed the ATI drivers from ATI and followed through with the instructions and everything seemed to be working well. Unfortunately upon the next rebooting I was told the driver "fglrx" did not load. It was odd since it loaded manually when I first installed it. So I tried an "insmod fglrx" and was told "insmod: fglrx: no module by that name found"
What's odd, is if I go to /lib/modules/2.4.19-gentoo-r10/kernel/drivers/char/drm there is, in fact, an fglrx.o file!
But, if I am in that directory and run "insmod fglrx" it loads fine.
I've tried modules-update (or was that update-modules) and tried again, but no luck.
Does anyone have any ideas? _________________ Schuthrax |
|
Back to top |
|
|
garo Bodhisattva
Joined: 15 Jul 2002 Posts: 860 Location: Edegem,BELGIUM
|
Posted: Fri Jan 10, 2003 8:27 am Post subject: |
|
|
just a idea, not sure if it works:
Code: | insmod /lib/modules/2.4.19-gentoo-r10/kernel/drivers/char/drm/fglrx.o |
_________________ My favorite links this month:
- Surf Random
- Web-based SSH
- Stop Spam |
|
Back to top |
|
|
keratos68 Guru
Joined: 27 Dec 2002 Posts: 561 Location: Blackpool, Lancashire, UK.
|
Posted: Fri Jan 10, 2003 11:32 pm Post subject: |
|
|
KLMs are loaded using the output from "uname -r"
What does "uname -r" give you? It should say "2.4.19-gentoo-r10". If it does then I'm surprised?? _________________ Someone told me that "..they only ever made one mistake...."
...and that's when they said they were wrong!! |
|
Back to top |
|
|
int1 Tux's lil' helper
Joined: 08 Nov 2002 Posts: 139
|
Posted: Sat Jan 11, 2003 6:04 am Post subject: |
|
|
I think you want to use the modprobe command. It automatically searches through /lib/modules/<current kernel>, so you don't need an absolute path or the .o extenstion. For example, in your situation, you would just use modprobe fglrx.
If you want it loaded every time on bootup, just add it to your /etc/modules.autoload file.
int1 |
|
Back to top |
|
|
Schuthrax n00b
Joined: 18 Apr 2002 Posts: 51 Location: Sacramento, CA, USA
|
Posted: Mon Jan 13, 2003 2:47 am Post subject: |
|
|
Sorry for my tardiness in getting back...
int1: modprobe does not work for this particular driver, same problem as insmod, "can't locate module fglrx."
dazzle68: I ran that command and indeed received "2.4.19-gentoo-r10"
garo: this does work, I've used it before, but it annoys me that every single driver in my system loads just by typing, "insmod driver" except for the fglrx driver so I was hoping someone might know why. I imagine it is safe to put a path in my modules.autoload so I don't have to worry about this again? _________________ Schuthrax |
|
Back to top |
|
|
keratos68 Guru
Joined: 27 Dec 2002 Posts: 561 Location: Blackpool, Lancashire, UK.
|
Posted: Mon Jan 13, 2003 8:36 am Post subject: |
|
|
Post the output of "modprobe -c" ! _________________ Someone told me that "..they only ever made one mistake...."
...and that's when they said they were wrong!! |
|
Back to top |
|
|
Schuthrax n00b
Joined: 18 Apr 2002 Posts: 51 Location: Sacramento, CA, USA
|
Posted: Fri Jan 17, 2003 3:15 am Post subject: |
|
|
Ok, the output of modprobe -c:
Code: | # Generated by modprobe -c (2.4.22)
path[boot]=/lib/modules/boot
path[toplevel]=/lib/modules/2.4.19-gentoo-r10
path[toplevel]=/lib/modules/2.4
path[kernel]=/lib/modules/kernel
path[fs]=/lib/modules/fs
path[net]=/lib/modules/net
path[scsi]=/lib/modules/scsi
path[block]=/lib/modules/block
path[cdrom]=/lib/modules/cdrom
path[ipv4]=/lib/modules/ipv4
path[ipv6]=/lib/modules/ipv6
path[sound]=/lib/modules/sound
path[fc4]=/lib/modules/fc4
path[video]=/lib/modules/video
path[misc]=/lib/modules/misc
path[pcmcia]=/lib/modules/pcmcia
path[atm]=/lib/modules/atm
path[usb]=/lib/modules/usb
path[ide]=/lib/modules/ide
path[ieee1394]=/lib/modules/ieee1394
path[mtd]=/lib/modules/mtd
# Prune
prune modules.dep
prune modules.description
prune modules.generic_string
prune modules.pcimap
prune modules.isapnpmap
prune modules.usbmap
prune modules.parportmap
prune modules.ieee1394map
prune modules.pnpbiosmap
prune System.map
prune .config
prune Kerntypes
prune build
prune vmlinux
prune vmlinuz
prune bzImage
prune zImage
prune .rhkmvtag
# Above
above hid keybdev mousedev
above usbmouse hid
above wacom evdev
# Below
below ov518_decomp ov511
# Aliases
alias binfmt-0000 off
alias binfmt-204 binfmt_aout
alias binfmt-263 binfmt_aout
alias binfmt-264 binfmt_aout
alias binfmt-267 binfmt_aout
alias binfmt-387 binfmt_aout
alias binfmt-332 iBCS
alias binfmt--310 binfmt_java
alias block-major-1 rd
alias block-major-2 floppy
alias block-major-3 ide-probe-mod
alias block-major-7 loop
alias block-major-8 sd_mod
alias block-major-9 md
alias block-major-11 sr_mod
alias block-major-13 xd
alias block-major-15 cdu31a
alias block-major-16 gscd
alias block-major-17 optcd
alias block-major-18 sjcd
alias block-major-20 mcdx
alias block-major-22 ide-probe-mod
alias block-major-23 mcd
alias block-major-24 sonycd535
alias block-major-25 sbpcd
alias block-major-26 sbpcd
alias block-major-27 sbpcd
alias block-major-29 aztcd
alias block-major-32 cm206
alias block-major-33 ide-probe-mod
alias block-major-34 ide-probe-mod
alias block-major-37 ide-tape
alias block-major-44 ftl
alias block-major-46 pcd
alias block-major-47 pf
alias block-major-56 ide-probe-mod
alias block-major-57 ide-probe-mod
alias block-major-58 lvm-mod
alias block-major-88 ide-probe-mod
alias block-major-89 ide-probe-mod
alias block-major-90 ide-probe-mod
alias block-major-91 ide-probe-mod
alias block-major-93 nftl
alias block-major-97 pg
alias char-major-4 serial
alias char-major-5 serial
alias char-major-6 lp
alias char-major-9 st
alias char-major-10 off
alias char-major-10-0 busmouse
alias char-major-10-1 off
alias char-major-10-2 msbusmouse
alias char-major-10-3 atixlmouse
alias char-major-10-130 wdt
alias char-major-10-131 wdt
alias char-major-10-135 rtc
alias char-major-10-139 openprom
alias char-major-10-144 nvram
alias char-major-10-157 applicom
alias char-major-10-175 agpgart
alias char-major-10-184 microcode
alias char-major-13 input
alias char-major-13-32 mousedev
alias char-major-14 soundcore
alias char-major-19 cyclades
alias char-major-20 cyclades
alias char-major-21 sg
alias char-major-22 pcxx
alias char-major-23 pcxx
alias char-major-27 ftape
alias char-major-34 scc
alias char-major-35 tclmidi
alias char-major-36 netlink
alias char-major-37 ide-tape
alias char-major-48 riscom8
alias char-major-49 riscom8
alias char-major-57 esp
alias char-major-58 esp
alias char-major-63 kdebug
alias char-major-90 mtdchar
alias char-major-96 pt
alias char-major-99 ppdev
alias char-major-107 3dfx
alias char-major-108 ppp_generic
alias char-major-109 lvm-mod
alias char-major-161 ircomm-tty
alias char-major-171 raw1394
alias char-major-195 NVdriver
alias char-major-200 vxspec
alias char-major-206 osst
alias dos msdos
alias dummy0 dummy
alias dummy1 dummy
alias eth0 off
alias iso9660 isofs
alias md-personality-1 linear
alias md-personality-2 raid0
alias md-personality-3 raid1
alias md-personality-4 raid5
alias md-personality-7 multipath
alias net-pf-1 unix
alias net-pf-2 ipv4
alias net-pf-3 off
alias net-pf-4 ipx
alias net-pf-5 appletalk
alias net-pf-6 off
alias net-pf-10 off
alias net-pf-17 af_packet
alias net-pf-19 off
alias netalias-2 ip_alias
alias irlan0 irlan
alias irda-dongle-0 tekram
alias irda-dongle-1 esi
alias irda-dongle-2 actisys
alias irda-dongle-3 actisys
alias irda-dongle-4 girbil
alias irda-dongle-5 litelink
alias irda-dongle-6 airport
alias irda-dongle-7 old_belkin
alias plip0 plip
alias plip1 plip
alias tunl0 ipip
alias cipcb0 cipcb
alias cipcb1 cipcb
alias cipcb2 cipcb
alias cipcb3 cipcb
alias ppp0 ppp
alias ppp1 ppp
alias scsi_hostadapter off
alias slip0 slip
alias slip1 slip
alias tty-ldisc-1 slip
alias tty-ldisc-3 ppp_async
alias tty-ldisc-11 irtty
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-18 ppp_mppe
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
alias parport_lowlevel parport_pc
alias usbdevfs usbcore
alias char-major-10-200 tun
alias char-major-81 videodevX
alias /dev/ppp ppp_generic
alias loop-xfer-gen-0 loop_gen
alias loop-xfer-3 loop_fish2
alias loop-xfer-gen-10 loop_gen
alias cipher-2 des
alias cipher-3 fish2
alias cipher-4 blowfish
alias cipher-6 idea
alias cipher-7 serp6f
alias cipher-8 mars6
alias cipher-11 rc62
alias cipher-15 dfc2
alias cipher-16 rijndael
alias cipher-17 rc5
alias /dev/nvidiactl char-major-195
alias char-major-89 i2c-dev
alias snd-card-0 cmpci
alias snd-card-1 cmpci
alias snd-card-2 cmpci
alias snd-card-3 cmpci
alias snd-card-4 cmpci
alias snd-card-5 cmpci
alias snd-card-6 cmpci
alias snd-card-7 cmpci
alias char-major-116 snd
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
alias char-major-81-0 bttv
alias char-major-81-1 bttv
alias binfmt-0064 binfmt_aout
# Options
options dummy0 -o dummy0
options dummy1 -o dummy1
options sb io=0x220 irq=7 dma=1 dma16=5 mpu_io=0x330
options snd cards_limit=1
options i2c-core i2c_debug=1
options i2c-algo-bit bit_test=1
options i2c verbose=1 scan=1 i2c_debug=1
options tuner debug=0
options bttv radio=0
# Commands
pre-install bttv modprobe -k tuner; modprobe -k msp3400 debug=1 simple=0x20
# Miscellaneous file and directory names
generic_stringfile=/lib/modules/2.4.19-gentoo-r10/modules.generic_string
pcimapfile=/lib/modules/2.4.19-gentoo-r10/modules.pcimap
isapnpmapfile=/lib/modules/2.4.19-gentoo-r10/modules.isapnpmap
usbmapfile=/lib/modules/2.4.19-gentoo-r10/modules.usbmap
parportmapfile=/lib/modules/2.4.19-gentoo-r10/modules.parportmap
ieee1394mapfile=/lib/modules/2.4.19-gentoo-r10/modules.ieee1394map
pnpbiosmapfile=/lib/modules/2.4.19-gentoo-r10/modules.pnpbiosmap
depfile=/lib/modules/2.4.19-gentoo-r10/modules.dep
persistdir=/var/lib/modules/persist |
Pretty neat! I've never seen this before, but hopefully one day will understand it! _________________ Schuthrax |
|
Back to top |
|
|
|