LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-28-2005, 09:22 AM   #1
Ruben2
Member
 
Registered: Sep 2004
Location: Lelystad, NL
Distribution: Debian Etch
Posts: 123

Rep: Reputation: 15
A kernel version prob in Sarge


I've installed Debian Sarge with the cd that I downloaded a couple of weaks ago. I installed it with the 2.4.27 kernel, the 2.4.27-1-386 to be exactly. But now I've to link the kernel headers to install ndiswrapper (see headersthis page: nr.3). But with dselect I can only select the headers for 2.4.27-2-386 and I heared that I can't use this cause I've the 2.4.27-1-386 version of the kernel. What should I do now? Rebuild the kernel? Use the kernel headers from 2.4.27-2-386?
And could also someone explain what packeges I also need to install, cause that manual said also things about a compiled kernel source or kernel images. and the headers (I know where to find those).
Thank you
Ruben
 
Old 01-28-2005, 09:26 AM   #2
Ruben2
Member
 
Registered: Sep 2004
Location: Lelystad, NL
Distribution: Debian Etch
Posts: 123

Original Poster
Rep: Reputation: 15
Oh, I forgot to ask if a downloading a new cd would help. Does the new ones have a newer kernel than the 2.4.27-1-386? Does they have the same as the dselect provides?
Thanks
Ruben
 
Old 01-28-2005, 09:30 AM   #3
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Rep: Reputation: 62
HOWTO install Debian with the net-installer-rc2
http://www.linuxquestions.org/questi...hreadid=261506

will explain the kernel-image switch
 
Old 01-28-2005, 09:58 AM   #4
Ruben2
Member
 
Registered: Sep 2004
Location: Lelystad, NL
Distribution: Debian Etch
Posts: 123

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by macondo
HOWTO install Debian with the net-installer-rc2
http://www.linuxquestions.org/questi...hreadid=261506

will explain the kernel-image switch
Well, installing debian isn't the problem. I just want to know how I can solve this prob I explained in my first post of this topic.
 
Old 01-28-2005, 12:03 PM   #5
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Rep: Reputation: 62
"Well, installing debian isn't the problem. I just want to know how I can solve this prob I explained in my first post of this topic"

<macondo shakes his head>
In the article, after the installation, before you install the packages, you are directed to do a:

#apt-get update && apt-get -y dist-upgrade

this will upgrade base packages including the kernel to kernel-image-2.4.27-2-386

reboot and that's it.

Now, you can also install the same kernel-image with the flag 686 if you use an intel processor (P2, P3, P4) or the flag k7 if you use AMD and thus, you will optimize the kernel according to your processor, use 'apt-cache search kernel-image' to see what's available.

Of course, you wouldn't know this if you haven't read the article.

Last edited by macondo; 01-28-2005 at 12:11 PM.
 
Old 01-28-2005, 01:27 PM   #6
Ruben2
Member
 
Registered: Sep 2004
Location: Lelystad, NL
Distribution: Debian Etch
Posts: 123

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by macondo
Of course, you wouldn't know this if you haven't read the article.
Sorry, I just saw that it was about the installation of dabian so I thougt it wasn't usefull for me. Sorry again and realy thanks for your help, I'll try it when I've the time for it
 
Old 01-29-2005, 05:46 AM   #7
Ruben2
Member
 
Registered: Sep 2004
Location: Lelystad, NL
Distribution: Debian Etch
Posts: 123

Original Poster
Rep: Reputation: 15
I now have kernel 2.4.27-2-686. I also installed the headers for that kernel.
To link the kernel (see first post) I did:
# ln -s /usr/src/kernel-headers-2.4.27-2-686 /lib/modules/2.4.27-2-686/build
but it still gives a couple of errors when doing
# modprobe ndiswrapper
It looks like this:
Code:
/lib/modules/2.4.27-2-686/misc/ndiswrapper.o: /lib/modules/2.4.27-2-686/misc/ndiswrapper.o: unresolved symbol msecs_to_jiffies
/lib/modules/2.4.27-2-686/misc/ndiswrapper.o: insmod /lib/modules/2.4.27-2-686/misc/ndiswrapper.o failed
lib/modules/2.4.27-2-686/misc/ndiswrapper.o: insmod ndiswrapper failed
What am I doing wrong whit linking the files? cause I think that's the problem.

EDIT: this problem stills shows up when I link the things with:
# ln -s /usr/src/kernel-source-2.4.27 /lib/modules/2.4.27-2-686/build
I used the kernel source supplied with dselect. Dselect says that it's version is 2.4.27-8. When I checked this I also saw that package kernel-headers-2.4.27-2-686 had the version 2.4.27-7 (what I think is pretty weird cause the package name says that it's version 2.4.27-2)

Last edited by Ruben2; 01-29-2005 at 05:51 AM.
 
Old 01-30-2005, 12:02 PM   #8
Ruben2
Member
 
Registered: Sep 2004
Location: Lelystad, NL
Distribution: Debian Etch
Posts: 123

Original Poster
Rep: Reputation: 15
I've no errors anymore when doing:
#modprobe ndiswrapper
but when do
# iwconfig wlan0 essid mylan
(step 12 of the manual) it gives this error:
Code:
Error for wireless request "Set ESSID" (8B1A) :
    SET failed on device wlan0 ; No such device.
and when doing:
# iwlist wlan0 scan
(step 13 of the manual) it gives this error:
Code:
wlan0     Interface doesn't support scanning.
What can I do about it?
Thanks
Ruben

EDIT: I forgot to say that ndiswrapper gives no errors, when doing
# ndiswrapper -l
it just lists this:
Code:
Installerd ndis drivers:
lsipnds driver present, hardware present
Maybe you need it, don't know.

Last edited by Ruben2; 01-30-2005 at 12:05 PM.
 
  


Reply



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
Regarding distribution + kernel version + gcc version + glib version. JCipriani Linux - General 8 04-19-2008 02:54 PM
will KDE hang?(sarge version) Mathsniper Debian 1 04-27-2005 04:04 PM
is there a version problem between Sarge Disk abd_bela Debian 2 12-16-2004 11:39 AM
Problems with Sarge Install (20040411-version) someone247356 Debian 5 05-11-2004 02:37 PM
Xfree prob radeon.o kernel module version is 1.1.1 but version 1.5.0 or newer needed. jimdaworm Slackware 0 10-01-2003 06:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:43 PM.

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