• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Linux Kernel compile

npoe1

Senior member
I installed CentOS, but it was the 386 version and also 3.8, currently they are at 4.4, but that was the version that I got from a friend, so I thought that it would be a good idea to compile a new kernel, the lasted version and a x86-64 version, so far I only successfully compile the Kernel and got the RPM, but it was the i386 version, my question is where I?m suppose to specify the architecture? I?m new on this but want to try.

Thanks in advance.
 
I think you can specify the architecture in the ARCH environment variable to make menuconfig (or however you do your configuration).
 
Actually you should probably stick with the kernel they gave you, they (through RH) do a lot of QA on it and you don't really gain anything but putting a newer one on there.
 
Well, I actually need to recompile the Kernel because I need support for a DGE-530T, so I need to do so.
 
don't compile your own, get the latest precompiled version, and get compile a module for your DGE-530T

I compiled by hand for a LONG TIME, thinking it made a difference...it doesn't.
 
It is suppose to be available, but for some reason Linux did not recognize the NIC, I also tried to recompile the drivers (sk98lin) but it failed (an error in the last part), do you have any suggestion or something like that, I?m a noob in Linux, I have an integrated NIC that Linux recognize and a second one that is the DGE-530T but I?m unable to get the DGE-530T working, any hint is welcome and I will really appreciate it.
 
What happens when you try to load the module that came with the kernel CentOS gave you? Is there anything in the kernel logs (run dmesg)?
 
Ok, I already tried with that command and I only managed to identify one Ethernet device that is the one that is integrated with the MB.

How do I read that info or what I can do with that?
 
This is what the dmesg command throw at me and was network related, but I think that is only for the integrated NIC:

Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
tg3.c:v3.52RH (Mar 06, 2006)
PCI: Setting latency timer of device 02:00.0 to 64
divert: allocating divert_blk for eth0
eth0: Tigon3 [partno(BCM5751PKFBG) rev 4001 PHY(5750)] (PCI Express) 10/100/1000BaseT Ethernet 00:13:72😀3:98:1f
eth0: RXcsums[1] LinkChgREG[1] MIirq[1] ASF[0] Split[0] WireSpeed[1] TSOcap[0]
eth0: dma_rwctrl[76180000]
divert: freeing divert_blk for eth0
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack version 2.1 (4020 buckets, 32160 max) - 304 bytes per conntrack
tg3.c:v3.52RH (Mar 06, 2006)
PCI: Setting latency timer of device 02:00.0 to 64
divert: allocating divert_blk for eth0
eth0: Tigon3 [partno(BCM5751PKFBG) rev 4001 PHY(5750)] (PCI Express) 10/100/1000BaseT Ethernet 00:13:72😀3:98:1f
eth0: RXcsums[1] LinkChgREG[1] MIirq[1] ASF[0] Split[0] WireSpeed[1] TSOcap[0]
eth0: dma_rwctrl[76180000]
tg3: eth0: Link is up at 100 Mbps, full duplex.
tg3: eth0: Flow control is off for TX and off for RX.
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
lp0: using parport0 (polling).
lp0: console ready
usb.c: registered new driver serial
usbserial.c: USB Serial support registered for Generic
usbserial.c: USB Serial Driver core v1.4
audit subsystem ver 0.1 initialized
mtrr: no more MTRRs available
 
when I ran lspci i got this:
02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5751 Gigabit Ethernet PCI Express (rev 01)
04:00.0 Ethernet controller: D-Link System Inc DGE-530T Gigabit Ethernet Adapter (rev 11) (rev 11)
 
I also found this entry in etc/pci but I can not find in any place the NIC or at leats in way in which I can use it to networking.
Bus 4, device 0, function 0:
Ethernet controller: PCI device 1186:4b01 (D-Link System Inc) (rev 17).
IRQ 16.
Master Capable. Latency=64. Min Gnt=23.Max Lat=31.
Non-prefetchable 32 bit memory at 0xfe5fc000 [0xfe5fffff].
I/O at 0xdc00 [0xdcff].
 
The first command:
# modprobe sk98lin
modprobe: Can't locate module sk98lin

The second command:
# modprobe skge
modprobe: Can't locate module skge
 
I'm downloading CentOS 3.8 to look at myself, but if there's no 2.6.x kernel packages for 3.8 I doubt you'll have much fun compiling one on your own, downloading and installing 4.4 would be much simpler.
 
Thank you very much for all your help, I made 3 tries of compile the Kernel, but got some errors, actually one was when I tried to make the RAM disc I used this guide, after two tries I used the other part of the same guide but I commented an entry on modprobe.conf was something about an scsi_hostadapter ata_piix to make install and restore after that, but I got a Kernel Panic message when I tried to start with the 2.6 Kernel, was something about the file system.

This thing is driving me nuts.
 
Well you have to change more than just the kernel to migrate from 2.4->2.6, at the very least you need the new module tools or you won't be able to load any kernel modules. The new package should becalled module-init-tools.
 
I doubt that's all you'll need to upgrade, it's just the most obvious one that came to mind. What's the problem with installing CentOS 4.4?
 
nothing just that I have a limited bandwidth of 2 Mb and is a big file, but thanks I will download it this night.

Thank you for your patience and everything, I really appreciate it.

Edit: and also wanted to solve a problem in case that something similar happen in future and I already had the most recent version, you know to learn.
 
Back
Top