New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

linux-modules

Got problems with your B2 or B3? Share and get helped!
gixxer
Posts: 18
Joined: 19 Sep 2008, 09:57

linux-modules

Post 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
gixxer
Posts: 18
Joined: 19 Sep 2008, 09:57

Post 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..
gixxer
Posts: 18
Joined: 19 Sep 2008, 09:57

Post by gixxer »

Any debian gurus out there who can help me with this?
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Post 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
gixxer
Posts: 18
Joined: 19 Sep 2008, 09:57

Post 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
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Post by Eek »

add the following lines to /etc/apt/sources.list
and run

Code: Select all

apt-get update
and try the search again
cheers
Eek
gixxer
Posts: 18
Joined: 19 Sep 2008, 09:57

Post 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?
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Post by Eek »

very well possible :)
gixxer
Posts: 18
Joined: 19 Sep 2008, 09:57

Post 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? :)
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Post by Eek »

can you give the list you get when you do
apt-get search linux-modules
gixxer
Posts: 18
Joined: 19 Sep 2008, 09:57

Post 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?
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Post 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?
gixxer
Posts: 18
Joined: 19 Sep 2008, 09:57

Post 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..
gb119
Posts: 18
Joined: 30 Sep 2008, 16:45

Post 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 :)
gixxer
Posts: 18
Joined: 19 Sep 2008, 09:57

Post by gixxer »

So in other words i have to wait for the excito guys to produce the package that i need?
Post Reply