LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-08-2009, 06:12 PM   #1
jayhel
Member
 
Registered: Nov 2004
Location: Montreal
Distribution: Slackware 14.1
Posts: 161

Rep: Reputation: 15
FSUID/FSGID: trouble while compiling a driver


Hello

I am trying to compile the rt2860sta driver.
I run a recently custom compiled 2.6.29 kernel on a Slacked UMPC (eCafe Hercules EC900)
When I run "make" with Pat's generic kernel (2.6.27.7-smp) on the same machine, the driver compiles perfectly.
When I run "make" with my custom 2.6.29 kernel I get the error:
../os/linux/rt_profile.c:929: error: 'struct task_struct' has no member named 'fsuid'
../os/linux/rt_profile.c:930: error: 'struct task_struct' has no member named 'fsgui'

I don't understand this.

Please can you help me?
 
Old 06-09-2009, 11:27 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,755

Rep: Reputation: 6337Reputation: 6337Reputation: 6337Reputation: 6337Reputation: 6337Reputation: 6337Reputation: 6337Reputation: 6337Reputation: 6337Reputation: 6337Reputation: 6337
The rt2860 driver is part of the 2.6.29.x kernels already! You just have to enable some special sauce in the kernel config.
Check out how Slackware-current does this.. use this .config file for a 2.6.29.4 kernel: ftp://slackware.osuosl.org/pub/slack...p-2.6.29.4-smp
I use this rt2860 driver on my Asus eeepc with slackware-current, works perfectly well.

Eric
 
Old 06-11-2009, 03:43 PM   #3
jayhel
Member
 
Registered: Nov 2004
Location: Montreal
Distribution: Slackware 14.1
Posts: 161

Original Poster
Rep: Reputation: 15
Yes!

I compiled a new 2.6.29 Kernel with the ftp://slackware.osuosl.org/pub/slack...p-2.6.29.4-smp .config file.
The rt2860sta module loads automatically, the Wifi is working.
Not only that... but the onboard webcam is also working, and my Mototrola EZINE cell phone and my Casio EX-FH20 camera are also detected by hald.

So...

My UMPC is now completely Slacked!

Thank you Eric for your help.
It has been very appreated.
 
Old 07-15-2009, 01:32 PM   #4
royor
LQ Newbie
 
Registered: Jul 2009
Posts: 12

Rep: Reputation: 0
Quote:
Originally Posted by jayhel View Post
Yes!

I compiled a new 2.6.29 Kernel with the ftp://slackware.osuosl.org/pub/slack...p-2.6.29.4-smp .config file.
The rt2860sta module loads automatically, the Wifi is working.
Not only that... but the onboard webcam is also working, and my Mototrola EZINE cell phone and my Casio EX-FH20 camera are also detected by hald.

So...

My UMPC is now completely Slacked!

Thank you Eric for your help.
It has been very appreated.

So, you used the rt2860 driver that is already incorporated into kernel 2.6.29???

I am amazed you got it working. I have been trying to make it work in Fedora 11 with kernel 2.6.29 to no avail.
The module gets loaded - but wpa_supp is unable to associate. with AP.
I had this working in FC7 which was using the ralink supplied driver v1-1.6.1.0.
In FC11, I am using the same files
/etc/wpa_supplicant/wpa_supplicant.conf
/etc/sysconfig/wpa_supplicant
/etc/sysconfig/network-scripts/ifcfg-ra0

yet, I am not able to associate with AP

R.
 
Old 07-15-2009, 01:40 PM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,755

Rep: Reputation: 6337Reputation: 6337Reputation: 6337Reputation: 6337Reputation: 6337Reputation: 6337Reputation: 6337Reputation: 6337Reputation: 6337Reputation: 6337Reputation: 6337
The RaLink drivers (used to at least) need iwpriv calls to configure WPA while the rt2860sta driver in the 2.6.29.x kernel uses the kernel's wireless extensions. This makes configuration a bit different.

What do your configuration files look like? The driver works perfectly, as a matter of fact I am typing this on my eeepc using the wireless connection provided by this very driver.

Eric
 
Old 07-16-2009, 02:07 AM   #6
royor
LQ Newbie
 
Registered: Jul 2009
Posts: 12

Rep: Reputation: 0
Quote:
Originally Posted by royor View Post
So, you used the rt2860 driver that is already incorporated into kernel 2.6.29???

I am amazed you got it working. I have been trying to make it work in Fedora 11 with kernel 2.6.29 to no avail.
The module gets loaded - but wpa_supp is unable to associate. with AP.
I had this working in FC7 which was using the ralink supplied driver v1-1.6.1.0.
In FC11, I am using the same files
/etc/wpa_supplicant/wpa_supplicant.conf
/etc/sysconfig/wpa_supplicant
/etc/sysconfig/network-scripts/ifcfg-ra0

yet, I am not able to associate with AP

R.
Hi - I endited .config and set CONFIG_RT2860=m
and rebuilt. The resulting driver works perfectly .
People should beware the package:
akmod-rt2860-2.1.2.0-1.fc11.3.i686.rpm

because the rt2860sta.ko that it installs DOES NOT WORK!!

Cheers,

R.
 
Old 07-16-2009, 02:50 AM   #7
royor
LQ Newbie
 
Registered: Jul 2009
Posts: 12

Rep: Reputation: 0
Quote:
Originally Posted by Alien Bob View Post
The RaLink drivers (used to at least) need iwpriv calls to configure WPA while the rt2860sta driver in the 2.6.29.x kernel uses the kernel's wireless extensions. This makes configuration a bit different.

What do your configuration files look like? The driver works perfectly, as a matter of fact I am typing this on my eeepc using the wireless connection provided by this very driver.

Eric
Hi - I endited .config and set CONFIG_RT2860=m
and rebuilt. The resulting driver works perfectly .
People should beware the package:
akmod-rt2860-2.1.2.0-1.fc11.3.i686.rpm

because the rt2860sta.ko that it installs DOES NOT WORK!!

Cheers,

R
 
  


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
Trouble compiling scoutiilabs Programming 2 01-31-2009 09:19 AM
Trouble compiling driver for D-Link DWL-G122 USB wireless DanThomas Linux - Wireless Networking 3 02-02-2007 09:17 AM
trouble compiling w/c++ eroica Linux - Software 4 03-09-2005 03:17 PM
Trouble compiling anything banZera Slackware 4 04-07-2004 11:19 AM
Trouble with compiling gamehack Debian 3 01-11-2004 09:35 AM

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

All times are GMT -5. The time now is 09:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration