LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 02-18-2007, 10:29 PM   #1
emersony
LQ Newbie
 
Registered: Nov 2006
Posts: 15

Rep: Reputation: 0
Question SMP inode weirdness (kernel)


Attempting to change to an SMP kernel on my Debian box to make use of both processors, I have run into an interesting issue where the SMP kernel is getting I/O and inode errors; The non-SMP kernel(s) I have installed all boot up fine, with no such errors at all in dmesg and fsck saying all is fine.

Selecting the SMP kernel generates a whole series of I/O errors as well as this one where it ends up hanging:

ext3_get_inode_loc: unable to read inode block - inode=96543, blcok=196633.

If someone could enlighten me as to how to proceed to determine why this is, and if it is likely a drive issue, a fs/ext3 issue or a kernel configuration issue I'd be mighty oblidged. Not sure how to proceed on this one to determine why the SMP kernel is generating errors the others are not.


TIA,

Emerson
 
Old 02-18-2007, 11:14 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
You might have hit a race or somesuch - kernel level ???.
 
Old 02-18-2007, 11:34 PM   #3
emersony
LQ Newbie
 
Registered: Nov 2006
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks for the reply.

Can you give me an idea how to check to see if its race related?

In case I didn't make it clear, this is a 'vanilla' SMP kernel, nothing is custom configured (yet!)
Its 2.6.8-3 which seemed to be the latest smp kernel for Sarge debian.

I appreciate the advice.

Emerson
 
Old 02-19-2007, 04:53 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
You probably can't tell without an oops, and a *good* knowledge of the code.
That's a seriously old kernel - I'd try a SMP enabled liveCD, and see if you get the same issue. Then it might be worth reporting.
Maybe.

Can you get a later kernel (Sid ?) and just try that - I don't do Debian, so I don't know if it's (easily) do-able.

Really all you can do is try and isolate the failure - is it just this kernel, or if all kernels, what hardware do you have, that sort of thing.
 
Old 02-19-2007, 11:13 AM   #5
emersony
LQ Newbie
 
Registered: Nov 2006
Posts: 15

Original Poster
Rep: Reputation: 0
I will try a later kernel, but it just occurred to me, I'm not in front of the box now, but I may have an Intel in one slot and an AMD in another, and I just wondered if that could be the issue, since there I am not using the K7 kernel.

I got to thinking that might be the cause of the race condition, although I understood you could mix and match processors without TOO much difficulty.

Also if anyone has any caveats for running a more recent kernel under Sarge let me know!

Thanks,

Emerson
 
Old 02-19-2007, 11:15 AM   #6
emersony
LQ Newbie
 
Registered: Nov 2006
Posts: 15

Original Poster
Rep: Reputation: 0
ps- 686smp vs. 386

PS- just wondering about the nomenclature used in kernel names, I notice that the stock kernels on the debian site are all called 386 kernels, but the SMP kernels are called 686 instead.

So there is no such thing as a 386-SMP kernel? Is there a reason for this?

Don't have a lot of experience with kernels but just getting into it.

Emerson
 
Old 02-19-2007, 03:34 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally Posted by emersony
... but I may have an Intel in one slot and an AMD in another, and I just wondered if that could be the issue, since there I am not using the K7 kernel.
Whoa !!! I'm suprised that ever worked. I also can't imagine anyone will accept a problem report with that configuration.

From some limited exposure to Ubuntu, seems the Debian world uses the "686" nomenclature to indicate (at least) a SMP enabled kernel.
May be optimized for the 686 instruction set as well, I don't know. Check the Debian site.
If it is (probably likely), alarm bells should should be going off in your head.
 
  


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
Hyperthread server goes to kernel panic with SMP kernic, boots ok with non SMP kernel abefroman Linux - Kernel 1 09-15-2006 05:43 PM
Any reason to keep a non-smp kernel installed on a smp FC3 machine? jim-j Fedora 2 03-12-2006 07:06 AM
inode number in kernel space manali Programming 7 02-27-2006 10:59 AM
Kernel makeconfig weirdness gamehack Slackware 2 09-25-2004 08:35 AM
SMP, Kernel and NIC module question...weirdness tarballed Linux - General 1 07-02-2003 05:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

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