LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-27-2003, 01:36 PM   #1
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Rep: Reputation: 30
Unhappy i'm really stuck here


have one distribution on one hdd (a) and another one another hdd (b) and one application that i want to run on either of the hdd's. each distribution is to run on a different machine with a different chipset and a different processor therefore different kernels. both distrbutions are different.

the application is built on hdd (a) and then transfered to hdd (b).

the app runs fine on (a) but doesnt on (b), whereby it crashes out with an illegal instruction.

so what i do is add the kernel from hdd (b) to hdd (a). i then plug hdd (a) into the machine (b). the application works fine.

I know what you are thinking, libs missing check strace check ldd. all checks out ok.

another thing to add: machine (b) is an updated machine to the one i used to use which used the distribution that is now on machine (b) with the hdd (b). It used a very slightly different kernel (litterally the only thing changed here is the processor and chipset) and the application worked fine.

so what else can i do here to find out whats happened?
 
Old 06-27-2003, 02:24 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
The problem must be because of different processor types. Which types are both kernels compiled for? And which options you use when you compile the application (optimization for a specific processor, maybe?)?
 
Old 06-27-2003, 05:58 PM   #3
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Original Poster
Rep: Reputation: 30
well like i say the kernel for machine (b) i copied to the hdd (a) then put it in machine (b) and the app worked. With the same kernel in hdd (b) it doesnt work. I know the distribution is ok because i used it (abeit with a different chipset and processor compiled into the kernel) on the machine that (b) was upgraded from.

It can only mean that; in compiling in that new processor and chipset, the kernel must call or access something that hdd (a) has and (b) doesnt.

FYI the processor on (b) is a VIA C3/EDEN (it does 3d now style stuff so i guess its more AMD than intel) and a VT86CXXX chipset.

Also putting debug into the app source code i have narrowed down where the program is crashing and its a function call to openssl, but i doubt this has much to do with it.

like i said, i dont know and i dont know what to do next. i'll try anything.

Last edited by Frustin; 06-27-2003 at 06:07 PM.
 
Old 06-29-2003, 01:49 PM   #4
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Original Poster
Rep: Reputation: 30
does this mean anything?
 
Old 06-29-2003, 03:48 PM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Maybe compile a standard Pentium kernel? It should run OK on all modern machines.
 
Old 06-30-2003, 04:03 AM   #6
Frustin
Member
 
Registered: May 2002
Location: Essex, UK
Distribution: Debian, Redhat, AIX 5L
Posts: 512

Original Poster
Rep: Reputation: 30
tried 386 and 586 settings to no avail.

should also be noted that hdd (b) is a compact flash card but is read like a harddrive (and indeed works fine on my other client).

the other client where hdd (b) worked had the Geode type processor with the Cyrix MediaGX CS5530.

The only thing that i can deduce is that it got to be some corrolation to the Eden processor or VT86CXXX chipset and using the compact flash card. because the application works with a normal ide drive.
 
  


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
Need help....stuck yauser Linux - Laptop and Netbook 1 11-28-2004 05:14 AM
Stuck with C++! jeebas_13 Linux - Newbie 2 05-30-2004 08:36 AM
Stuck in X !! ewto Linux - Newbie 3 11-17-2003 01:00 PM
I'm Stuck, so Stuck. basttrax Linux - General 3 11-14-2003 09:59 PM
Help! I'm stuck! terryr97 Linux - Newbie 3 10-17-2003 09:58 PM

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

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