LinuxQuestions.org
Help answer threads with 0 replies.
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 04-07-2008, 06:24 AM   #1
hemanth83_in
LQ Newbie
 
Registered: Feb 2008
Posts: 27

Rep: Reputation: 15
linux command help !


Hello,

I am new to linux and im installing drivers for PCMCIA card from marvell. I want help in executing some cammands. Please help. Here is the read me file:

I am finding problem in make KVER =2.6 comand. i opened the terminal logged in as root and had my installaion files on desktop i.e Desktop>>SRC>>and then all the other files. Please tell me how to execute those.



1 Overview
===========

The Linux Wireless LAN Driver supports the Marvell(R) WLAN Module which
consists of the WLAN SDIO Interface SD-8385/SD-8686 and the CardBus-to-SDIO Adapter.

CAUTION: - No automatic installation mechanism available
(as e.g. "make install").
- Warnings occuring during compilation.



2 Required Files
=================

To install the Linux Wireless LAN Driver, the following file(s) are required:

8xxx_wlan_src_<date>.tar.gz


3 Installation/Removal
=======================

3.1 Installing the Linux WLAN Driver
-------------------------------------

NOTE: The installation instructions contain test specific and hardware
specific data. Therefore the described output may differ from that you
get.

The following prerequisites have to be met in order to install the Linux
WLAN driver:
- The CardBus-to-SDIO Adapter is not yet inserted in your system.
- Your Linux system has to be rebooted.

To compile the driver sources for kernel 2.4, proceed as follows:
1. Open a root-shell.
2. Go to the directory /src/.
3. Edit the .config file:
- KVER=2.4
- for 8385, please take config-8385 as example
- for 8686, please take config-8686 as example
4. Execute the command "make KVER=2.4".
You will then find the
- bus driver in the directory ./io/sdio/stdhost/mrvlsdio.o
- bus driver api in the directory ./io/sdio/sdioapi/sdioapi.o
- WLAN driver in the directory ./sd83xx.o
- The 3 drivers are finally duplicated in the directory /src/release2.4

To compile the driver sources for kernel 2.6, proceed as follows:
1. Open a root-shell.
2. Go to the directory /src/.
3. Edit the .config file:
- KVER=2.6
- for 8385, please take config-8385 as example
- for 8686, please take config-8686 as example
4. Execute the command "make KVER=2.6".
You will then find the
- bus driver in the directory ./src/release2.6/mrvlsdio.ko
- bus driver api in the directory ./src/release2.6/sdioapi.ko
- WLAN driver in the directory ./src/release2.6/sd83xx.ko



i am confused when using command make KVER=2.6.

[root@wireless src]# make KVER=2.6
make -C M=/root/src modules
make: *** M=/root/src: No such file or directory. Stop.
make: *** [default] Error 2
[root@wireless src]#
 
Old 04-07-2008, 07:52 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
Quote:
[root@wireless src]# make KVER=2.6
make -C M=/root/src modules
make: *** M=/root/src: No such file or directory. Stop.
make: *** [default] Error 2
[root@wireless src]#
The makefile KVER=2.6 is looking for the /src folder and files in the root users directory /root. It isn't there; it's in /home/<username>/Desktop.

You need to edit KVER=2.6 so that it looks in /home/<username>/Desktop for /src, or you need to move /home/<username>/Desktop/src to /root/src.
 
Old 04-07-2008, 07:55 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quick hunch:

The error message from make implies that it is looking for a directory named "/root/src". If that directory does not exist on your system, then that's a "show-stopper".

Since you started with a .tar.gz file, I assume that you first unpacked it using "tar -xzvf filename". That will create a directory with all the required files. Did you first do "./configure" in that folder? More generally, did you do anything to tell the system that there was something called "root/src"?

<<EDIT:--sorry for duplication. Bigrig and I typing at same time--but he's faster>>

Last edited by pixellany; 04-07-2008 at 08:00 AM.
 
Old 04-07-2008, 09:36 AM   #4
hemanth83_in
LQ Newbie
 
Registered: Feb 2008
Posts: 27

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by bigrigdriver View Post
The makefile KVER=2.6 is looking for the /src folder and files in the root users directory /root. It isn't there; it's in /home/<username>/Desktop.

You need to edit KVER=2.6 so that it looks in /home/<username>/Desktop for /src, or you need to move /home/<username>/Desktop/src to /root/src.
As far as i understand you, you want me to move my current folder i.e. home/<username>/src to root/src.

I have moved my src to /root/src. Then also i get the same error. Any other suggestions?
 
Old 04-07-2008, 09:38 AM   #5
hemanth83_in
LQ Newbie
 
Registered: Feb 2008
Posts: 27

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by pixellany View Post
Quick hunch:

The error message from make implies that it is looking for a directory named "/root/src". If that directory does not exist on your system, then that's a "show-stopper".

Since you started with a .tar.gz file, I assume that you first unpacked it using "tar -xzvf filename". That will create a directory with all the required files. Did you first do "./configure" in that folder? More generally, did you do anything to tell the system that there was something called "root/src"?

<<EDIT:--sorry for duplication. Bigrig and I typing at same time--but he's faster>>
I didnt do './configure'. Is it necessary to execute that? i didnt tell the system that there was some thing called root/src.
 
Old 04-08-2008, 02:47 AM   #6
hemanth83_in
LQ Newbie
 
Registered: Feb 2008
Posts: 27

Original Poster
Rep: Reputation: 15
Help ! Help ! Plz !!!
 
  


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
Translating windows pscp command to linux scp command help robward Linux - General 2 01-17-2008 07:02 AM
Require Linux/Perl equivalent command for windows Command alix123 Programming 7 08-19-2005 03:23 AM
unix command to linux command leonidas Linux - General 1 09-10-2004 01:40 AM


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