LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-06-2021, 07:19 PM   #16
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled

Well, you have to set this CFLAGS in your environment for it to work, try putting it in front.
Code:
CFLAGS="-march=i486" your command here
Or maybe there are already other CFLAGS set, then this should work.
Code:
CFLAGS="${CFLAGS} -march=i486" your command here
And what did you mean by 'dmesg -W' not working? You were supposed to run it in one terminal, leave it running and then try module insertion in another terminal. Is that what you did?

NB! Grepping logs is sometimes misleading, there may be other interesting lines before and after your grepped line.
 
Old 02-06-2021, 07:55 PM   #17
MTCAT
Member
 
Registered: Jan 2021
Posts: 32

Original Poster
Rep: Reputation: Disabled
Hi, sorry I didn't understand the usage of your dmesg -W idea, however, when I type dmesg -W I get an error that -W is not a valid option ??

So i just typed dmesg before and after executing ./make_all CFLAGS=..... KERNELDIR=.....

Attached screenshots of dmesg output before, and after running ./make_all.

Unfortunately this still didn't work.

I also tried installing this driver on LinuxMint (2.6.32.21), which DOES properly recognize both CPU cores of the Vortex, but, the driver still failed to install, although the behaviour was a bit different.
Attached Thumbnails
Click image for larger version

Name:	snapshot13.png
Views:	7
Size:	83.2 KB
ID:	35527   Click image for larger version

Name:	snapshot14.png
Views:	8
Size:	84.3 KB
ID:	35528  
 
Old 02-06-2021, 07:58 PM   #18
MTCAT
Member
 
Registered: Jan 2021
Posts: 32

Original Poster
Rep: Reputation: Disabled
Here's the Linux Mint behaviour, see images attached.
Attached Thumbnails
Click image for larger version

Name:	IMG_1461.jpg
Views:	5
Size:	81.2 KB
ID:	35529   Click image for larger version

Name:	IMG_1462.jpg
Views:	9
Size:	78.6 KB
ID:	35530   Click image for larger version

Name:	IMG_1464.jpg
Views:	5
Size:	71.3 KB
ID:	35531  
 
Old 02-06-2021, 08:05 PM   #19
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
I see your module still builds for i686. You probably need to run configure with CFLAGS also. Maybe you should run
Code:
export CFLAGS="-march=i486"
before you start with configure. I'm not a coder, perhaps someone with coding experience chimes in and tells how to do it properly.

Edit: copy-paste from terminal window is so easy in Linux, taking screenshots is much harder and they are harder to read than plain text. Why pictures?

Edit 2: See here, this is how you post smaller logs

Last edited by Emerson; 02-06-2021 at 08:14 PM.
 
Old 02-06-2021, 08:19 PM   #20
MTCAT
Member
 
Registered: Jan 2021
Posts: 32

Original Poster
Rep: Reputation: Disabled
Thanks for the tip re: copy and paste, I'll try that next time !
 
Old 02-06-2021, 08:24 PM   #21
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
I tried to find a good copy-paste tutorial from Youtube but found none where it is done the easy way! Basically you hold down the left mouse button, mark the text you want to copy with mouse, and then use middle click here on forums to paste it. Done in 2 seconds. Although I'm not 100% sure it works like this in your rather ancient version of Linux, even 'dmesg -W' did not work.
 
Old 02-11-2021, 10:18 AM   #22
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,912

Rep: Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513Reputation: 1513
You don't have a v 2.6 module, but something MUCH newer.

Linux 2.6 was released in 2014.

I think you will need kernel version 2.6.21 at a minumum, but not sure.

Your system really needs to be updated...

One of the things that can prevent a kernel from being inserted is if the kernel version in the module doesn't match the running kernel.

Last edited by jpollard; 02-11-2021 at 10:22 AM.
 
  


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
Is it mandatory to have the name of the makefile as 'Makefile' for kernal module comp narender.d Linux - Kernel 3 05-29-2009 06:26 AM
automake, makefile, makefile.in and makefile.am Fond_of_Opensource Linux - Newbie 1 09-12-2006 08:35 PM
what is the meaning of Makefile,Makefile.am,Makefile.in cynthia_thomas Linux - General 3 12-08-2005 05:00 AM
2.6.11 kernel compile - sound module insertion errors dibblethewrecke Linux - Hardware 3 03-17-2005 11:50 PM
kernel module insertion using insmod on kernel 2.4.20-8, rh 9.0 gooner Red Hat 1 05-27-2004 05:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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