LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-27-2005, 07:44 AM   #16
sm1else
Member
 
Registered: Oct 2004
Distribution: At home: Ubuntu, Debian Sarge
Posts: 56

Rep: Reputation: 15

I'm also having the same problem with the 2.6.12 source and debian. Going by ndiswrappers make file it uses $KSRC/include/linux/version.h to verify the kernel source is there. It looks like in 2.6.12 and up (it might be like it earlier but i havent tested) this file is missing.

A little bit of digging through the main Makefile for the linux source revealed that it is a generated file.
I used the following to generate it
Code:
make include/linux/version.h
Now my ndiswrapper is attempting to compile. It generates a load of warnings but it is at least a step forwards
 
Old 09-27-2005, 01:51 PM   #17
derfla
LQ Newbie
 
Registered: Sep 2005
Posts: 2

Rep: Reputation: 0
there is a new version, the 1.4rc1
i've got the same problem to compile the 1.3rc1 with 2.6.13, with the new version it's ok

BUT now my problem is "Kernel Panic" when i load the module
 
Old 09-27-2005, 05:23 PM   #18
Charred
Member
 
Registered: Mar 2005
Location: Utah, USA
Distribution: Slackware 11
Posts: 816
Blog Entries: 2

Rep: Reputation: 30
Do you still have the 2.4.x kernel installed?
 
Old 09-28-2005, 01:30 AM   #19
derfla
LQ Newbie
 
Registered: Sep 2005
Posts: 2

Rep: Reputation: 0
no, at least i've the 2.6.8 from the debian sarge installation
i tried also on it, no kernel panic bue loading module error
 
Old 09-28-2005, 05:08 AM   #20
ricardson
LQ Newbie
 
Registered: Mar 2004
Location: São Paulo - Brazil
Distribution: Slackware 14.2 / CentOS 7
Posts: 26

Rep: Reputation: 16
I have ndiswrapper in my Slackware 10.2 with kernel 2.4.31 and works very well.

Use ndiswrapper version 0.11, i tested others version but cannot compile in slackware 10.2.

1 - Install the kernel-2.4.31 source

2 - Get the ndiswrapper-0.11 and compile.
 
Old 09-28-2005, 03:33 PM   #21
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,108

Rep: Reputation: 4841Reputation: 4841Reputation: 4841Reputation: 4841Reputation: 4841Reputation: 4841Reputation: 4841Reputation: 4841Reputation: 4841Reputation: 4841Reputation: 4841
Hi all

Just tried building ndiswrapper 1.4rc1 on my Slackware 10.2 box, kernel 2.6.13 and that went without any problem.
During build I get warning about the kernel using 4K stack size, and that you might expect the Windows driver to crash the kernel at sometime (Windows drivers seem to demand 8, some even 12K stacks) and that you should in fact rebuild the kernel and remove 4kstacks (the CONFIG_4KSTACKS option).

Regarding the OP's problem with compiling, I suspect that you're using vanilla kernel sources? You should at least have run "make oldconfig ; make dep" (although I'm not sure if 'make dep' is still needed with 2.6 kernels. For 2.4 kernels that is mandatory).

Cheers, Eric
 
Old 09-28-2005, 04:08 PM   #22
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,108

Rep: Reputation: 4841Reputation: 4841Reputation: 4841Reputation: 4841Reputation: 4841Reputation: 4841Reputation: 4841Reputation: 4841Reputation: 4841Reputation: 4841Reputation: 4841
Quote:
Originally posted by Alien Bob
During build I get warning about the kernel using 4K stack size, and that you might expect the Windows driver to crash the kernel at sometime (Windows drivers seem to demand 8, some even 12K stacks) and that you should in fact rebuild the kernel and remove 4kstacks (the CONFIG_4KSTACKS option)
Replying to myself here :-)
I checked the ndiswrapper Makefile, and the 2.6 kernel configuration process, and it looks like:
  • the stock Slackware 2.6 kernel uses 8K stack size. Since the stack size is only configurable in the "Kernel hacking" section and by default 4K stacks is not turned on, the option "CONFIG_4KSTACKS" does not even appear in the kernel's .config file
  • ndiswrapper checks for the existence of the word "CONFIG_4KSTACKS" in the kernel's .config file to determine if you have a kernel with 4K stack size, and spits out warnings if that is not found.
My conclusion, this is all harmless chatter, and ndiswrapper should function normally on a Slackware box. Can someone test this and report back?

Binary package for the 2.6.13 kenel, as well as a build script, tarball et.al. are available at my SlackBuild repository

Cheers, Eric
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
difference between "pure" kernel source, and .deb packaged kernel source microsoft/linux Debian 1 06-19-2005 10:28 PM
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 02:32 PM
Can you explain the difference between "Free Software (GNU)" and "Open Source"? vharishankar General 5 03-03-2005 09:40 AM
Kernel question: difference between Patch and "regular" kernel source kopikat Linux - Software 1 01-26-2005 05:24 PM
"Cannot find header source files" when trying to install Nvidia 6111 drivers naddad Linux - Newbie 3 08-31-2004 12:42 PM

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

All times are GMT -5. The time now is 06:28 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration