After the installation is done, you need to modify your grub.conf file so that the kernel will be able to allocate memory space for the NetFPGA. This is done as follows :
1. Log into the computer as root
2. Type : gedit /boot/grub/grub.conf
3. Add the line : uppermem 524288 before the kernel line
4. Add the following text at the end the kernel line : vmalloc=256M
5. Save the file and exit
6. Reboot the computer
7. Log in as root and type : lspci
8. You could get an output like this : ##:##.# Ethernet controller: Unknown device feed:0001
9. This string identifies that there's a NetFPGA device on the PCI slot.
Hi, I working with VM VirtualBox, when I run the ” lspci ” command , don’t identifies a NetFPGA device on the PCI slot. The PCI slot either.
ReplyDeleteWhat do I have to do?
hey.. from what i know, it is possible that you didn’t allocate memory for the pci slot (step 3 and 4 of this article). After this, restart the computer and try again. I think this should work..
DeleteHi pharic,
DeleteThis is my code, after of do the step 3 and 4
#boot=/dev/hda
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-308.24.1.el5) NetFPGA
root (hd0,0)
uppermem 524288
kernel /vmlinuz-2.6.18-308.24.1.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet vmalloc=256M
initrd /initrd-2.6.18-308.24.1.el5.img
title CentOS (2.6.18-308.24.1.el5)
root (hd0,0)
uppermem 524288
kernel /vmlinuz-2.6.18-308.24.1.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet vmalloc=256M
initrd /initrd-2.6.18-308.24.1.el5.img
title CentOS (2.6.18-128.el5)
root (hd0,0)
uppermem 524288
kernel /vmlinuz-2.6.18-128.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet vmalloc=256M
initrd /initrd-2.6.18-128.el5.img
yeah that seems alright.. now restart and try ifconfig.. i believe that shud work.. it did for me..
DeleteI restart but nothing, It doesn’t show the interfaces. I connected the Rj-45 cable …but nothing.
Deletesry man.. thats all that i know.. u cud try re-installing but its a tedious process as u wud know..
DeletePharic,
ReplyDeleteCan you explain me does choise of values in uppermem and vmalloc commands depend on something? Why exactly 524288 and 256M?