[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help obtaining kernel module for video driver [savage.ko]



On Wed, 16 Aug 2006, Florian Kulzer wrote:

On Wed, Aug 16, 2006 at 04:29:08 -0400, Brandon Kuczenski wrote:
I am running debian-testing on linux 2.6.8 on an IBM T23 laptop.  This
...
...
I searched the computer and savage.ko is nowhere to be found.  What's the
best way to obtain this module under debian?  I have a full kernel source
...

I am on Sid with linux-source-2.6.17 and the savage DRM code is
included.

When I run "make menuconfig" I find it under
-> Device Drivers
-> Character devices
-> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
-> Savage video cards

CONFIG_DRM_SAVAGE:
Choose this option if you have a Savage3D/4/SuperSavage/Pro/Twister
chipset. If M is selected the module will be called savage.

You can check if this option is available at all for your version of the
kernel:

$ grep -i savage /boot/config-$(uname -r)
# CONFIG_DRM_SAVAGE is not set
# CONFIG_I2C_PROSAVAGE is not set
# CONFIG_I2C_SAVAGE4 is not set
# CONFIG_FB_SAVAGE is not set

Otherwise you might have to upgrade to a newer kernel.


Thanks for your reply. I decided to upgrade my kernel since it was old anyway. I used make-kpkg on the source tree that comes with the debian package linux-source-2.6.16 (My apt-get can't find a 2.6.17 version), which seemed to work. However, my resulting kernel was not bootable. I installed initrd-tools and ran:

mkinitrd -o /boot/initrd.img-2.6.16_10.00 2.6.16

That made an initrd image. Then when I booted into it, I got many pages of the error that /lib/modules/2.6.16/modules.dep was not found, and a kernel panic. Only there is a modules.dep file. Here is a listing of the directory:

deepblue:/lib/modules/2.6.16# ls -l
total 888
lrwxrwxrwx 1 root root 28 Aug 17 18:05 build -> /usr/src/linux-source-2.6.16
drwxr-xr-x  10 root root   4096 Aug 17 18:05 kernel
-rw-r--r--   1 root root 184013 Aug 17 18:05 modules.alias
-rw-r--r--   1 root root     69 Aug 17 18:05 modules.ccwmap
-rw-r--r--   1 root root 155119 Aug 17 18:05 modules.dep
-rw-r--r--   1 root root    813 Aug 17 18:05 modules.ieee1394map
-rw-r--r--   1 root root    394 Aug 17 18:05 modules.inputmap
-rw-r--r--   1 root root  21223 Aug 17 18:05 modules.isapnpmap
-rw-r--r--   1 root root 160987 Aug 17 18:05 modules.pcimap
-rw-r--r--   1 root root    883 Aug 17 18:05 modules.seriomap
-rw-r--r--   1 root root  89576 Aug 17 18:05 modules.symbols
-rw-r--r--   1 root root 249064 Aug 17 18:05 modules.usbmap
lrwxrwxrwx 1 root root 28 Aug 17 18:05 source -> /usr/src/linux-source-2.6.16

Googling doesn't help.  I'm afraid I don't know what to do next.

Thanks again for your valuable help.
-Brandon



Reply to: