Page 1 of 2
linux-modules
Posted: 05 Oct 2008, 06:11
by gixxer
Hi,
I tried to get linux-modules but it fails
apt-get update
apt-get install linux-modules
keeps returning
E: Couldn't find package linux-modules
Any ideas why and what to do?
Thanks
Posted: 05 Oct 2008, 06:16
by gixxer
Actually, i tried to "make" a driver that i downloaded.
in the folder of the driver i did
make
make install
but i get
find: /lib/modules/2.6.26.2/build/: No such file or directory
grep: /lib/modules/2.6.26.2/build//.config: No such file or directory
grep: /lib/modules/2.6.26.2/build//include/linux/autoconf.h: No such file or directory
find: /lib/modules/2.6.26.2/build/: No such file or directory
make -C /lib/modules/2.6.26.2/build M=/home/abc/ieee80211-1.2.18 modules
make: *** /lib/modules/2.6.26.2/build: No such file or directory. Stop.
I read that this was because of missing linux-modules but im not sure..
Posted: 05 Oct 2008, 14:33
by gixxer
Any debian gurus out there who can help me with this?
Posted: 05 Oct 2008, 14:42
by Eek
you did change the default /etc/apt/sources.list ?
what do you get when you do a
apt-cache search linux-modules
or
apt-cache search modules
cheers
Eek
Posted: 05 Oct 2008, 14:51
by gixxer
Hi,
No i havent changed the sources.list
Doing a apt-cache search linux-modules i get:
linux-image-2.6.24-etchnhalf.1-powerpc - Linux 2.6.24 image on uniprocessor 32-bit PowerPC
linux-image-2.6.24-etchnhalf.1-powerpc-miboot - Linux 2.6.24 image on 32-bit PowerPC for miboot floppy
linux-image-2.6.24-etchnhalf.1-powerpc-smp - Linux 2.6.24 image on multiprocessor 32-bit PowerPC
linux-image-2.6.24-etchnhalf.1-powerpc64 - Linux 2.6.24 image on 64-bit PowerPC
Posted: 05 Oct 2008, 14:58
by Eek
add the following lines to /etc/apt/sources.list
and run
and try the search again
cheers
Eek
Posted: 05 Oct 2008, 15:05
by gixxer
Ok, i go way more hits in the search now.
I tried to do
apt-get install linux-modules
but cant it find it
Just to confirm, the reason i got the errors i did when trying to "make" the driver package is because of the missing linux-modules?
Posted: 05 Oct 2008, 15:09
by Eek
very well possible

Posted: 05 Oct 2008, 15:13
by gixxer
find: /lib/modules/2.6.26.2/build/: No such file or directory
grep: /lib/modules/2.6.26.2/build//.config: No such file or directory
grep: /lib/modules/2.6.26.2/build//include/linux/autoconf.h: No such file or directory
find: /lib/modules/2.6.26.2/build/: No such file or directory
make -C /lib/modules/2.6.26.2/build M=/home/abc/ieee80211-1.2.18 modules
make: *** /lib/modules/2.6.26.2/build: No such file or directory. Stop.
Looking in the folder /lib/modules/2.6.26.2/ for a "build"-folder and it isnt there.. And i suppose the linux-modules package will create it for me.. So, how to get it?

Posted: 05 Oct 2008, 15:39
by Eek
can you give the list you get when you do
apt-get search linux-modules
Posted: 05 Oct 2008, 15:42
by gixxer
apt-get search linux-modules doesnt work at all but
apt-cache search linux-modules gets me:
linux-image-2.6.18-4-powerpc - Linux 2.6.18 image on uniprocessor 32-bit PowerPC
linux-image-2.6.18-4-powerpc-miboot - Linux 2.6.18 image on 32-bit PowerPC for miboot floppy
linux-image-2.6.18-4-powerpc-smp - Linux 2.6.18 image on multiprocessor 32-bit PowerPC
linux-image-2.6.18-4-powerpc64 - Linux 2.6.18 image on 64-bit PowerPC
linux-image-2.6.18-4-prep - Linux 2.6.18 image on PReP PowerPC
linux-image-2.6.18-4-vserver-powerpc - Linux 2.6.18 image on uniprocessor 32-bit PowerPC
linux-image-2.6.18-4-vserver-powerpc64 - Linux 2.6.18 image on 64-bit PowerPC
linux-image-2.6.18-5-powerpc - Linux 2.6.18 image on uniprocessor 32-bit PowerPC
linux-image-2.6.18-5-powerpc-miboot - Linux 2.6.18 image on 32-bit PowerPC for miboot floppy
linux-image-2.6.18-5-powerpc-smp - Linux 2.6.18 image on multiprocessor 32-bit PowerPC
linux-image-2.6.18-5-powerpc64 - Linux 2.6.18 image on 64-bit PowerPC
linux-image-2.6.18-5-prep - Linux 2.6.18 image on PReP PowerPC
linux-image-2.6.18-5-vserver-powerpc - Linux 2.6.18 image on uniprocessor 32-bit PowerPC
linux-image-2.6.18-5-vserver-powerpc64 - Linux 2.6.18 image on 64-bit PowerPC
linux-image-2.6.18-6-powerpc - Linux 2.6.18 image on uniprocessor 32-bit PowerPC
linux-image-2.6.18-6-powerpc-miboot - Linux 2.6.18 image on 32-bit PowerPC for miboot floppy
linux-image-2.6.18-6-powerpc-smp - Linux 2.6.18 image on multiprocessor 32-bit PowerPC
linux-image-2.6.18-6-powerpc64 - Linux 2.6.18 image on 64-bit PowerPC
linux-image-2.6.18-6-prep - Linux 2.6.18 image on PReP PowerPC
linux-image-2.6.18-6-vserver-powerpc - Linux 2.6.18 image on uniprocessor 32-bit PowerPC
linux-image-2.6.18-6-vserver-powerpc64 - Linux 2.6.18 image on 64-bit PowerPC
linux-image-2.6.24-etchnhalf.1-powerpc - Linux 2.6.24 image on uniprocessor 32-bit PowerPC
linux-image-2.6.24-etchnhalf.1-powerpc-miboot - Linux 2.6.24 image on 32-bit PowerPC for miboot floppy
linux-image-2.6.24-etchnhalf.1-powerpc-smp - Linux 2.6.24 image on multiprocessor 32-bit PowerPC
linux-image-2.6.24-etchnhalf.1-powerpc64 - Linux 2.6.24 image on 64-bit PowerPC
I dont get it.. shouldnt i get something with 2.6.26.2?
Posted: 05 Oct 2008, 15:52
by Eek
I think the package linux-image-2.6.24-etchnhalf.1-powerpc
is right one,
but what i find strange is that the make install is looking for version 2.6.26.2
what is it that you try to make?
Posted: 05 Oct 2008, 16:00
by gixxer
Im trying to make ieee80211-1.2.18.. its a stack and used with ipw2200 which is a driver for a wireless card
if i do a
cat /proc/version
i get 2.6.26.2
and the makefile script in ieee80211-1.2.18 looks for that version..
Posted: 05 Oct 2008, 16:03
by gb119
Eek wrote:I think the package linux-image-2.6.24-etchnhalf.1-powerpc
is right one,
but what i find strange is that the make install is looking for version 2.6.26.2
what is it that you try to make?
I think you'll find that he bubba2 is using a kernel package produced by the excito guys - have a look for bubba- packages. Unfortunately, they haven't compiled very many of the modules (or at least haven't packaged them). Since they're using a version of kernel source that is newer than the main etch repositories, I'd be rather hesitant about switching back to 2.6.24 - I'm guessing there is a good reason for using 2.6.26....
In principle it should be possible to get the source debs for the bubba kernels and build extra modules, but personally I'd rather not experience a build on a 333Mhz processor

Posted: 05 Oct 2008, 16:08
by gixxer
So in other words i have to wait for the excito guys to produce the package that i need?