LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-23-2006, 02:34 PM   #1
greenmeanie
Member
 
Registered: Sep 2004
Distribution: FreeBSD5.4
Posts: 82

Rep: Reputation: 15
linux 2.6 kernel question


Is it normal to get errors when using 2.6?
I get /etc/network deprecated, also selinux error, I also get about 5 error's about devices already running EX alsa.
I have tried compiling the kernel about 20 times and the error's are still there.
Even when running debians kernel-image the same thing.
It shouldn't be this hard
 
Old 01-23-2006, 03:25 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
why would getting errors ever be normal?
 
Old 01-23-2006, 04:46 PM   #3
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 49
Quote:
Originally Posted by greenmeanie
Is it normal to get errors when using 2.6?
I get /etc/network deprecated, also selinux error, I also get about 5 error's about devices already running EX alsa.
I have tried compiling the kernel about 20 times and the error's are still there.
Even when running debians kernel-image the same thing.
It shouldn't be this hard
I am also getting the same error as yours.
 
Old 01-24-2006, 08:51 PM   #4
greenmeanie
Member
 
Registered: Sep 2004
Distribution: FreeBSD5.4
Posts: 82

Original Poster
Rep: Reputation: 15
I had some people tell me to just ignore them? But I think they shouldn't be there at all. I was just curious if other's have problem's like this.


Quote:
Originally Posted by acid_kewpie
why would getting errors ever be normal?
 
Old 01-25-2006, 02:52 AM   #5
tvynr
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 143

Rep: Reputation: 15
Actually, yeah... every kernel I've ever compiled has had a list of these. They're not errors, they're warnings. If they were errors, the make process would stop and not actually finish building your kernel. If you want to check to see if a process (such as make) terminated successfully, type "echo $?" at your bash prompt. By convention, this will produce a 0 if everything is okay and a non-zero value if something went wrong.

Usually, errors about deprecated usages and whatnot are harmless. A different way of doing things has been established and the deprecation is to point this out to people still using the old approach. Sometimes, though, source code is contributed and, because it works fine, isn't changed when something like this happens. So the code will still work, but the compiler will make a point of fussing about it just in case the code happens to be yours. This is my understanding of things, anyway.

Unless make refuses to build your kernel, you should be able to use it without worries. Anything that goes seriously wrong will most likely be reiterated to you at the end of the make's output, so you needn't go scrolling up looking for trouble.

Cheers!
 
Old 01-25-2006, 09:53 AM   #6
greenmeanie
Member
 
Registered: Sep 2004
Distribution: FreeBSD5.4
Posts: 82

Original Poster
Rep: Reputation: 15
Thnks for the info.

I have no problem compiling the kernel it's on bootup after I install the new kernel I see all the error's. It double load's the sound and then i have a slash threw the volume icon in kde when booted. Tried compiling the kernel again without alsa support and it still double booted. But otherwise with the error's I still boot up and get into kde and use it.

Quote:
Originally Posted by tvynr
Actually, yeah... every kernel I've ever compiled has had a list of these. They're not errors, they're warnings. If they were errors, the make process would stop and not actually finish building your kernel. If you want to check to see if a process (such as make) terminated successfully, type "echo $?" at your bash prompt. By convention, this will produce a 0 if everything is okay and a non-zero value if something went wrong.

Usually, errors about deprecated usages and whatnot are harmless. A different way of doing things has been established and the deprecation is to point this out to people still using the old approach. Sometimes, though, source code is contributed and, because it works fine, isn't changed when something like this happens. So the code will still work, but the compiler will make a point of fussing about it just in case the code happens to be yours. This is my understanding of things, anyway.

Unless make refuses to build your kernel, you should be able to use it without worries. Anything that goes seriously wrong will most likely be reiterated to you at the end of the make's output, so you needn't go scrolling up looking for trouble.

Cheers!
 
Old 01-25-2006, 10:55 AM   #7
saman007uk
Member
 
Registered: Dec 2003
Location: ~root
Distribution: Debian
Posts: 364

Rep: Reputation: 33
Quote:
Originally Posted by greenmeanie
Thnks for the info.

I have no problem compiling the kernel it's on bootup after I install the new kernel I see all the error's. It double load's the sound and then i have a slash threw the volume icon in kde when booted. Tried compiling the kernel again without alsa support and it still double booted. But otherwise with the error's I still boot up and get into kde and use it.
If everything works fine, then don't worry about the errors. I have about 20 errors on my boot-up about PCIExpress and various other things, but that's because the driver are compiled into the kernel and I don't have a PCIExpress slot.
 
  


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
Linux Kernel API Question Neruocomp Programming 2 06-23-2005 07:24 PM
upgrading the Linux kernel question.. oasisbhrnw99 Linux - Newbie 1 10-26-2004 07:10 PM
Question: meaning of Hz in the Linux Kernel Arc4ne Linux - General 8 08-15-2004 10:12 PM
Debian Linux: Kernel Question: go_sooner Linux - Newbie 6 02-03-2004 09:43 AM
help! a question on compiling linux kernel rickie Linux - Newbie 3 08-04-2002 09:02 AM

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

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