LinuxQuestions.org
Review your favorite Linux distribution.
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 06-23-2008, 12:19 PM   #1
raconteur
Member
 
Registered: Dec 2007
Location: Slightly left of center
Distribution: slackware
Posts: 276
Blog Entries: 2

Rep: Reputation: 44
Puzzling issues with VIA C7 and kernel versions 2.6.24 and later


I publish a couple of open-source applications on VIA PicoITX platforms.
Though not strictly embedded, the machines are dedicated to the applications concerned.

The distribution is Slackware, and the distro, kernel, libraries, and apps have all been configured specifically for the target application and platform.

One of the applications is a non-real-time scheduler that depends on the fork(), execlp(), and waitpid() mechanism to sequentially manage automated application launch.

That mechanism fails when the machines use kernel versions 2.6.24 and later. The processes concerned do exit as expected, but the waitpid() function doesn't return.

I reverted to stock kernels and unmodified distrubutions (Slackware 12.0 and 12.1) to help rule out my customizations -- the problem persists unless I use a 2.6.23.x kernel.

The customized version performs well and as expected on Intel P4 platforms with the newer kernels.

So far, my debugging efforts have been cursory and limited to distro and kernel configuration and observations... that leads me to believe that something in the newer kernels peculiar to the C7 and/or VIA front end chips isn't playing nice. I still haven't ruled out libc or other potential culprits, however.

btw, the waitpid problem isn't the only one (I don't want to introduce a red herring, I don't know if this is related) -- USB mass storage also is fragile in the newer configurations. If the storage device has a journaled file system, the journal update is very slow and fails with alarming regularity. This problem tracks with the observations above, performing well on 2.6.23.x or with newer kernels and Intel hardware, and failing with newer kernels regardless of configuration on VIA platforms.

Hence this post... has anyone else here noticed unusual behavior on VIA hardware with newer kernels?
 
  


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
gcc versions compatibility with kernel versions.. mahesh_manthapuri SUSE / openSUSE 1 03-22-2006 12:28 AM
Patch issues with RH ES3 - understanding the rpm versions qljune Linux - Security 1 12-14-2005 09:31 AM
EIP issues with newer versions of Linux neophytic Linux - Security 4 11-16-2004 09:12 PM
How to keep modules/drivers across kernel recompiles and kernel versions? Pisces107 Linux - General 5 01-21-2004 08:29 PM
kernel versions??? trey85stang Linux - Newbie 5 01-05-2004 04:28 PM

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

All times are GMT -5. The time now is 08:28 AM.

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