Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,I have installed Red Hat Enterprise Linux-5 in CPU that is assembled with IntelD945GCNL motherboard. The in built LAN card doesn't get activated. Guess the drivers are missing. But on installing fedora7 or higher, the LAN card gets activated. Is it possible to extract those drivers or modules from fedora7 or higher version of fedora release and add it in the already available RHEL-5 Kernel ???? The default Kernel in RHEL-5 is 2.6-18.8.el5. Can someone help me how to extract those driver modules from higher version and compile in existing version??
well, i don`t know what to compile. thats what exactly i want to know. where from i can extract the source code to compile???? is it possible to extract from fedora??? if yes, pl let me know how to do it. and wat files should i extract .
Thanks
RH has good documentation on kernel compiling....but you need a few applications to do it...but you are jumping one step ahead..so lets see if your currrent kernel already has the module eh?
i`m using add on LAN card and i also have loaded modular Kernel 2.6.22.3, i find the inbuilt card after loading modular kernel gets activated but the mii-tool says no link and also `im not able to connect to network!!!!
i have activated it finally. i removed my add on LAN card, downloaded the 2.6.22.3 kernel from kernel.org and added the modular kernel and made it the default one. now, my inbuilt LAN card works, just tuning the kernel gave me the desired output.
i have activated it finally. i removed my add on LAN card, downloaded the 2.6.22.3 kernel from kernel.org and added the modular kernel and made it the default one. now, my inbuilt LAN card works, just tuning the kernel gave me the desired output.
(Standing Ovation !!!) Bravoooooooo !!!
Last edited by sureshsujatha; 03-14-2009 at 12:30 AM.
but i want to see the code that is responsible for this LAN card activation. i want to exact place where the code to activate LAN card is located in Kernel 2.6.22-3.tar.bz2. I`m interested to see the source code
I don't know about activation of the LAN card, but I'll assume that's part of the driver module. First you have to find what driver it's using, so run '/sbin/lspci -vv' and look for:
Code:
00:19.0 Ethernet controller: Intel Corporation 82566DC-2 Gigabit Network Connection (rev 02)
Subsystem: Intel Corporation Unknown device 0001
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 20
Region 0: Memory at 93200000 (32-bit, non-prefetchable) [size=128K]
Region 1: Memory at 93224000 (32-bit, non-prefetchable) [size=4K]
Region 2: I/O ports at 3400 [size=32]
Capabilities: <access denied>
Kernel driver in use: e1000e
Kernel modules: e1000e
Notice that it says what module it's using at the bottom, for me it is e1000e. Then check the kernel source in 'drivers/net', sometimes there's a separate directory in there (as is my case), sometimes it's just in that very directory.
Thank you all . Now, i want a shell script that will automate the process. I need to load the modules in quiet a few number of systems. I need a script that will automate the process.
here is the history of my command that need to be automated
yum install gcc*
yum install gtk*
cp /root/desktop/linux-2.6.22-3.tar.bz2 /usr/src
cd /usr/src
tar xvjf linux-2.6.22-3.tar.bz2
cd linux-2.6.22-3
make gconfig
(this wil open a graphical configuration screen.check the required network configuration method . This should be done automatically via script. The LAN card configuration should be checked through the script)
make modules
make modules_install
make bzImage
make install
vim /etc/grub.conf
(edit the default boot order from 1 to 0)
init 6
Kindly help me in this issue. I need a script that will automate my process.
You can put all that in a script except the gconfig part, instead just copy the '.config' from the kernel you just built into the kernel build directory and then continue building the kernel using the config you made.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.