LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-14-2006, 10:02 PM   #1
aydindemirci
Member
 
Registered: Feb 2006
Location: Izmir/Turkey
Distribution: Xandros
Posts: 73

Rep: Reputation: 15
kernel


I am confused. I am trying to upgrade my linux kernel. I have downloaded it then I have written gzip -cd linux-2.6.15.4.tar.gz

for several minutes something is passing from the monitor. Is it normal?
 
Old 02-14-2006, 10:07 PM   #2
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,153

Rep: Reputation: 60
You are trying to upgrade your kernel...why??? You should include more information when you post like...what distro you are using, what is it that you are trying to do, what for. I imagine you are relatively new to Linux, I would recommend learning the basics before attempting a complicated process like upgrading (i mean, compiling and installing) kernel.

BTW, you are trying to unzip the compressed archive to kernel.


Tux,
 
Old 02-14-2006, 10:12 PM   #3
aydindemirci
Member
 
Registered: Feb 2006
Location: Izmir/Turkey
Distribution: Xandros
Posts: 73

Original Poster
Rep: Reputation: 15
kernel

Because I have wireless adapter and I want to use it to connect internet. But to use it I need to install latest version of kernel because i need to use ndiswrapper.

I read all of them on internet and I did it. I use mandrake 10.0

is it bad upgrade kernel?
 
Old 02-14-2006, 10:14 PM   #4
aydindemirci
Member
 
Registered: Feb 2006
Location: Izmir/Turkey
Distribution: Xandros
Posts: 73

Original Poster
Rep: Reputation: 15
kernel

pls help me. Really I want to learn linux and I am bored windows. Always it crashes. I need more and more informations about linux. And here it is 5 o'clock a.m. I am still trying to understand linux...
 
Old 02-14-2006, 10:42 PM   #5
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,153

Rep: Reputation: 60
Quote:
Originally Posted by aydindemirci
Because I have wireless adapter and I want to use it to connect internet. But to use it I need to install latest version of kernel because i need to use ndiswrapper.

I read all of them on internet and I did it. I use mandrake 10.0

is it bad upgrade kernel?
I don't think you need to upgrade your kernel to use wireless adapter unless you are running a very old kernel version. You can get a kernel package for mandrake 10 from one of the repositories. Do you know which version you are running?
Use the following command to know the kernel version.
Code:
uname -r
In order to start learning about Linux, I recommend you get good starter books on Linux. Look at www.tldp.org.

Tux
 
Old 02-14-2006, 10:46 PM   #6
aydindemirci
Member
 
Registered: Feb 2006
Location: Izmir/Turkey
Distribution: Xandros
Posts: 73

Original Poster
Rep: Reputation: 15
kernel

thanks a lot, extracting the files have been completed now. And I have restarted the computer. Should I do anything more to upgrade to 2.6? because now version is 2.6.3.4. I will read the documents that you have showed me.
 
Old 02-14-2006, 10:49 PM   #7
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,153

Rep: Reputation: 60
Quote:
Originally Posted by aydindemirci
thanks a lot, extracting the files have been completed now. And I have restarted the computer. Should I do anything more to upgrade to 2.6? because now version is 2.6.3.4. I will read the documents that you have showed me.
According to www.kernel.org, the latest version of kernel is 2.6.15.4. I don't know how you got version 2.6.3.4. Merely unzipping the kernel does not upgrade you to the newer version. Search for a kernel upgrade guide on this site.

Tux,
 
Old 02-14-2006, 10:52 PM   #8
aydindemirci
Member
 
Registered: Feb 2006
Location: Izmir/Turkey
Distribution: Xandros
Posts: 73

Original Poster
Rep: Reputation: 15
ndiswrapper

And now I want to install ndiswrapper. But again it doesnt work. I have extracted tar file after I have written
make uninstall
make
make install

but: it says
cant find kernel sources in /lib/modules/2.6.3-4mdk/build
give a path....... etc
 
Old 02-14-2006, 11:23 PM   #9
aydindemirci
Member
 
Registered: Feb 2006
Location: Izmir/Turkey
Distribution: Xandros
Posts: 73

Original Poster
Rep: Reputation: 15
pls help

I have tried so many possibilities but ı couldnt do it. Pls how can I run ndiswrapper?
 
Old 02-14-2006, 11:51 PM   #10
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
You need to install the source code of the kernel you have running for the ndiswrapper module to build again. Look for the kernel-source package onyour install CDs or use URPMI to get it. I'd suggest reading up on how to install packages if you don't know. I don't use Mandrake, so I can't really say much more than this, but hopefully it will get you going.
 
Old 02-15-2006, 12:30 AM   #11
aydindemirci
Member
 
Registered: Feb 2006
Location: Izmir/Turkey
Distribution: Xandros
Posts: 73

Original Poster
Rep: Reputation: 15
yes I did

I installed linux sources and wireless tools. and I executed the gz file. Then I wrote : make install
it started to work but there is an error.
/usr/ndiswrapper-1.10/driver/usb.o error 1
 
Old 02-15-2006, 12:31 AM   #12
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
That doesn't help much. Can you post about 10 lines of the output before that message?
 
Old 02-15-2006, 12:34 AM   #13
DanTaylor
Member
 
Registered: Jan 2006
Distribution: Debian Sarge
Posts: 265

Rep: Reputation: 30
were you in su? you need to be before you can use make install. also, did you run all of the other steps without errors? They normally give a success/failure
code at the end of the step - normally 0 for success and some other num for failure.
 
Old 02-15-2006, 12:40 AM   #14
aydindemirci
Member
 
Registered: Feb 2006
Location: Izmir/Turkey
Distribution: Xandros
Posts: 73

Original Poster
Rep: Reputation: 15
I am on su

Yes, I am on su. And until there everthing was fine. I will post last 10 message but I work on another computer and it doesnt have an internet connection so it will take time.
 
Old 02-15-2006, 07:26 AM   #15
aydindemirci
Member
 
Registered: Feb 2006
Location: Izmir/Turkey
Distribution: Xandros
Posts: 73

Original Poster
Rep: Reputation: 15
delayed reply

it says when I try to install ndisdriver!


[root@localhost ndiswrapper-1.10]# make install
make -C driver install
make[1]: Entering directory `/usr/ndiswrapper-1.10/driver'
make -C /lib/modules/2.6.3-4mdk/build SUBDIRS=/usr/ndiswrapper-1.10/driver \
DRIVER_VERSION=1.10
make[2]: Entering directory `/usr/src/linux-2.6.3-4mdk'
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
make[3]: `arch/i386/kernel/asm-offsets.s' updated
CHK include/asm-i386/asm_offsets.h
CC [M] /usr/ndiswrapper-1.10/driver/usb.o
/usr/ndiswrapper-1.10/driver/usb.c: In function `set_intf_pipe_info':
/usr/ndiswrapper-1.10/driver/usb.c:850: error: invalid type argument of `->'
/usr/ndiswrapper-1.10/driver/usb.c:852: error: invalid type argument of `->'
make[3]: *** [/usr/ndiswrapper-1.10/driver/usb.o] error 1
make[2]: *** [/usr/ndiswrapper-1.10/driver] error 2
make[2]: Leaving directory `/usr/src/linux-2.6.3-4mdk'
make[1]: *** [default] error 2
make[1]: Leaving directory `/usr/ndiswrapper-1.10/driver'
make: *** [install] error 2
[root@localhost ndiswrapper-1.10]#
[root@localhost ndiswrapper-1.10]#
 
  


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
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 01:58 PM
ISOLinux from Debian etch cannot find kernel image (but kernel is in its place)! Why? *Dark Dragon* Debian 4 11-07-2005 10:54 PM
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 04:59 AM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 04:28 AM
YaST Online Update + AMD kernel patch = kernel panic THX1138 Linux - General 3 10-26-2003 05:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:54 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