LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   kernel (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-415514/)

aydindemirci 02-14-2006 09:02 PM

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?

tuxrules 02-14-2006 09:07 PM

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,

aydindemirci 02-14-2006 09:12 PM

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?

aydindemirci 02-14-2006 09:14 PM

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...

tuxrules 02-14-2006 09:42 PM

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

aydindemirci 02-14-2006 09:46 PM

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.

tuxrules 02-14-2006 09:49 PM

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,

aydindemirci 02-14-2006 09:52 PM

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

aydindemirci 02-14-2006 10:23 PM

pls help
 
I have tried so many possibilities but ı couldnt do it. Pls how can I run ndiswrapper?

btmiller 02-14-2006 10:51 PM

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.

aydindemirci 02-14-2006 11:30 PM

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

btmiller 02-14-2006 11:31 PM

That doesn't help much. Can you post about 10 lines of the output before that message?

DanTaylor 02-14-2006 11:34 PM

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.

aydindemirci 02-14-2006 11:40 PM

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.

aydindemirci 02-15-2006 06:26 AM

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]#


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