|
|
#1 | |
|
Registered User
Join Date: Jul 2007
Posts: 1
|
I installed ClarkConnect 4.1 on a Compaq Presario sr5130nx with Athlon 3800+, GeForce 6150SE and nForce 430 chipsets.The motherboard is an Asus M2N68-LA. ClarkConnect (CC) is based on Centos 4 which is based on RHEL4. The kernel is an older one, 2.6.9.42 I believe. Should I be using the deprecated nForce drivers?
I have two problems with the drivers built into the kernel. 1. The cdrom and main hd are sata which are working fine with the nv_sata driver in CC. The motherboard has an IDE interface to which I attached another hd. This drive works, but hdparm shows it to be 3 - 5 MB/sec. DMA is not enabled. I tried to enable it but got the msg: hdparm -d1 /dev/hda /dev/hda: setting using_dma to 1 (on) HDIO_SET_DMA failed: Operation not permitted using_dma = 0 (off) I attached results of lspci at the end of this. I read suggestions for other distros that the amd74xx driver would fix this problem so I tried to compile and install the amd74xx.c driver from nvidia A. Ran apt-get update apt-get install cc-devel kernel-sourcecode kernel-devel makefile: obj-m:=amd74xx.o KDIR := /lib/modules/$(shell uname -r)/build PWD := $(shell pwd) default: $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules I get: make -C /lib/modules/2.6.9-42.ccsmp/build SUBDIRS=/root/amd74 modules make: *** /lib/modules/2.6.9-42.ccsmp/build: No such file or directory. Stop. make: *** [default] Error 2 I see that the build directory does not exist. I tried uninstalled and reinstalled cc-devel, kernel-sourcecode, kernel-devel, but the build directory is not created. Creating an empty build directory does not help either. Any ideas? Any other ideas how to get dma working on this interface? uname -a && rpm -qa | grep kernel Linux gw1.jsw 2.6.9-42.ccsmp #1 SMP Wed Sep 13 21:15:46 EDT 2006 i686 athlon i386 GNU/Linux kernel-2.6.9-42.cc kernel-sourcecode-2.6.9-42.cc kernel-smp-2.6.9-42.cc kernel-devel-2.6.9-42.cc Here is what I get when I list for 2.6.9-42.cc. If I list 2.6.9-42.ccsmp it loooks different. ls -lad /lib/modules/2.6.9-42.cc/* lrwxrwxrwx 1 root root 33 Jul 13 08:20 /lib/modules/2.6.9-42.cc/build -> /usr/src/kernels/2.6.9-42.cc-i686 drwxr-xr-x 9 root root 4096 Jul 3 09:11 /lib/modules/2.6.9-42.cc/kernel -rw-r--r-- 1 root root 119886 Jul 3 09:11 /lib/modules/2.6.9-42.cc/modules.alias -rw-r--r-- 1 root root 69 Jul 3 09:11 /lib/modules/2.6.9-42.cc/modules.ccwmap -rw-r--r-- 1 root root 134867 Jul 3 09:11 /lib/modules/2.6.9-42.cc/modules.dep -rw-r--r-- 1 root root 73 Jul 3 09:11 /lib/modules/2.6.9-42.cc/modules.ieee1394map -rw-r--r-- 1 root root 357 Jul 3 09:11 /lib/modules/2.6.9-42.cc/modules.inputmap -rw-r--r-- 1 root root 235 Jul 3 09:11 /lib/modules/2.6.9-42.cc/modules.isapnpmap -rw-r--r-- 1 root root 115214 Jul 3 09:11 /lib/modules/2.6.9-42.cc/modules.pcimap -rw-r--r-- 1 root root 69311 Jul 3 09:11 /lib/modules/2.6.9-42.cc/modules.symbols -rw-r--r-- 1 root root 156211 Jul 3 09:11 /lib/modules/2.6.9-42.cc/modules.usbmap lrwxrwxrwx 1 root root 5 Jul 13 08:20 /lib/modules/2.6.9-42.cc/source -> build ls -lad /lib/modules/2.6.9-42.ccsmp/* drwxr-xr-x 9 root root 4096 Jul 3 09:11 /lib/modules/2.6.9-42.ccsmp/kernel -rw-r--r-- 1 root root 119548 Jul 3 09:11 /lib/modules/2.6.9-42.ccsmp/modules.alias -rw-r--r-- 1 root root 69 Jul 3 09:11 /lib/modules/2.6.9-42.ccsmp/modules.ccwmap -rw-r--r-- 1 root root 141145 Jul 3 09:11 /lib/modules/2.6.9-42.ccsmp/modules.dep -rw-r--r-- 1 root root 73 Jul 3 09:11 /lib/modules/2.6.9-42.ccsmp/modules.ieee1394map -rw-r--r-- 1 root root 357 Jul 3 09:11 /lib/modules/2.6.9-42.ccsmp/modules.inputmap -rw-r--r-- 1 root root 235 Jul 3 09:11 /lib/modules/2.6.9-42.ccsmp/modules.isapnpmap -rw-r--r-- 1 root root 114850 Jul 3 09:11 /lib/modules/2.6.9-42.ccsmp/modules.pcimap -rw-r--r-- 1 root root 69357 Jul 3 09:11 /lib/modules/2.6.9-42.ccsmp/modules.symbols -rw-r--r-- 1 root root 155849 Jul 3 09:11 /lib/modules/2.6.9-42.ccsmp/modules.usbmap I rebooted in single processor mode and tried to compile. This is what I get: I rebooted with the non-SMP kernel and get a little farther. Now I get new error msgs as shown below. I put my Makefile at the end. Any idea what is missing? # make make -C /lib/modules/2.6.9-42.cc/build SUBDIRS=/root/amd74 modules make[1]: Entering directory `/usr/src/kernels/2.6.9-42.cc-i686' CC [M] /root/amd74/amd74xx.o /root/amd74/amd74xx.c:29:24: ide-timing.h: No such file or directory /root/amd74/amd74xx.c:208: warning: "struct ide_timing" declared inside parameter list /root/amd74/amd74xx.c:208: warning: its scope is only this definition or declaration, which is probably not what you want /root/amd74/amd74xx.c: In function `amd_set_speed': /root/amd74/amd74xx.c:213: warning: implicit declaration of function `FIT' /root/amd74/amd74xx.c:213: error: dereferencing pointer to incomplete type /root/amd74/amd74xx.c:217: error: dereferencing pointer to incomplete type /root/amd74/amd74xx.c:217: error: dereferencing pointer to incomplete type /root/amd74/amd74xx.c:220: error: dereferencing pointer to incomplete type /root/amd74/amd74xx.c:220: error: dereferencing pointer to incomplete type /root/amd74/amd74xx.c:223: error: dereferencing pointer to incomplete type /root/amd74/amd74xx.c:223: error: dereferencing pointer to incomplete type /root/amd74/amd74xx.c:224: error: dereferencing pointer to incomplete type /root/amd74/amd74xx.c:224: error: dereferencing pointer to incomplete type /root/amd74/amd74xx.c:225: error: dereferencing pointer to incomplete type /root/amd74/amd74xx.c:225: error: dereferencing pointer to incomplete type /root/amd74/amd74xx.c:226: error: dereferencing pointer to incomplete type /root/amd74/amd74xx.c:226: error: dereferencing pointer to incomplete type /root/amd74/amd74xx.c: In function `amd_set_drive': /root/amd74/amd74xx.c:242: error: storage size of 't' isn't known /root/amd74/amd74xx.c:242: error: storage size of 'p' isn't known /root/amd74/amd74xx.c:253: warning: implicit declaration of function `ide_timing_compute' /root/amd74/amd74xx.c:257: warning: implicit declaration of function `ide_timing_merge' /root/amd74/amd74xx.c:257: error: `IDE_TIMING_8BIT' undeclared (first use in this function) /root/amd74/amd74xx.c:257: error: (Each undeclared identifier is reported only once /root/amd74/amd74xx.c:257: error: for each function it appears in.) /root/amd74/amd74xx.c:242: warning: unused variable `t' /root/amd74/amd74xx.c:242: warning: unused variable `p' /root/amd74/amd74xx.c: In function `amd74xx_tune_drive': /root/amd74/amd74xx.c:280: warning: implicit declaration of function `ide_find_best_mode' /root/amd74/amd74xx.c:280: error: `XFER_PIO' undeclared (first use in this function) /root/amd74/amd74xx.c:280: error: `XFER_EPIO' undeclared (first use in this function) /root/amd74/amd74xx.c: In function `amd74xx_ide_dma_check': /root/amd74/amd74xx.c:298: error: `XFER_PIO' undeclared (first use in this function) /root/amd74/amd74xx.c:298: error: `XFER_EPIO' undeclared (first use in this function) /root/amd74/amd74xx.c:298: error: `XFER_MWDMA' undeclared (first use in this function) /root/amd74/amd74xx.c:298: error: `XFER_UDMA' undeclared (first use in this function) /root/amd74/amd74xx.c:299: error: `XFER_SWDMA' undeclared (first use in this function) /root/amd74/amd74xx.c:300: error: `XFER_UDMA_66' undeclared (first use in this function) /root/amd74/amd74xx.c:301: error: `XFER_UDMA_100' undeclared (first use in this function) /root/amd74/amd74xx.c:302: error: `XFER_UDMA_133' undeclared (first use in this function) /root/amd74/amd74xx.c:306: error: `XFER_MODE' undeclared (first use in this function) make[2]: *** [/root/amd74/amd74xx.o] Error 1 make[1]: *** [_module_/root/amd74] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.9-42.cc-i686' make: *** [default] Error 2 Here is my Makefile # ls amd74xx.c Makefile # more Makefile obj-m:=amd74xx.o KDIR := /lib/modules/$(shell uname -r)/build PWD := $(shell pwd) default: $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules [root@gw1 amd74]# 2. CC does not recognize the on-board ethernet. I installed the nvlan-rhel4 rpm from the nvidia website. After that I get eth0 ok during bootup but the ethernet is not found by clarkconnect. i.e. I do not see it when I log in at the console to setup clarkconnect. I was able to get CC going using two netgear ethernet cards, but I would like to eventually get the on-board ethernet going. Any ideas? ********* lspci -v 00:00.0 RAM memory: nVidia Corporation: Unknown device 03ea (rev a1) Subsystem: Hewlett-Packard Company: Unknown device 2a5b Flags: bus master, 66Mhz, fast devsel, latency 0 Capabilities: [44] HyperTransport: Slave or Primary Interface Capabilities: [dc] HyperTransport: MSI Mapping 00:01.0 ISA bridge: nVidia Corporation: Unknown device 03e0 (rev a2) Subsystem: Hewlett-Packard Company: Unknown device 2a5b Flags: bus master, 66Mhz, fast devsel, latency 0 00:01.1 SMBus: nVidia Corporation: Unknown device 03eb (rev a2) Subsystem: Hewlett-Packard Company: Unknown device 2a5b Flags: 66Mhz, fast devsel, IRQ 169 I/O ports at fc00 [size=64] I/O ports at 1c00 [size=64] I/O ports at 1c40 [size=64] Capabilities: [44] Power Management version 2 00:01.2 RAM memory: nVidia Corporation: Unknown device 03f5 (rev a2) Subsystem: Hewlett-Packard Company: Unknown device 2a5b Flags: 66Mhz, fast devsel 00:02.0 USB Controller: nVidia Corporation: Unknown device 03f1 (rev a3) (prog-if 10 [OHCI]) Subsystem: Hewlett-Packard Company: Unknown device 2a5b Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 177 Memory at fe02f000 (32-bit, non-prefetchable) [size=4K] Capabilities: [44] Power Management version 2 00:02.1 USB Controller: nVidia Corporation: Unknown device 03f2 (rev a3) (prog-if 20 [EHCI]) Subsystem: Hewlett-Packard Company: Unknown device 2a5b Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 169 Memory at fe02e000 (32-bit, non-prefetchable) [size=256] Capabilities: [44] Debug port Capabilities: [80] Power Management version 2 00:04.0 PCI bridge: nVidia Corporation: Unknown device 03f3 (rev a1) (prog-if 01 [Subtractive decode]) Flags: bus master, 66Mhz, fast devsel, latency 0 Bus: primary=00, secondary=01, subordinate=01, sec-latency=32 I/O behind bridge: 0000c000-0000cfff Memory behind bridge: fd900000-fd9fffff Prefetchable memory behind bridge: fde00000-fdefffff Capabilities: [b8] #0d [0000] Capabilities: [8c] HyperTransport: MSI Mapping 00:06.0 IDE interface: nVidia Corporation: Unknown device 03ec (rev a2) (prog-if 8a [Master SecP PriP]) Subsystem: Hewlett-Packard Company: Unknown device 2a5b Flags: bus master, 66Mhz, fast devsel, latency 0 I/O ports at f000 [size=16] Capabilities: [44] Power Management version 2 00:07.0 Bridge: nVidia Corporation: Unknown device 03ef (rev a2) Subsystem: Hewlett-Packard Company: Unknown device 2a5b Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 177 Memory at fe02d000 (32-bit, non-prefetchable) [size=4K] I/O ports at ec00 [size=8] Capabilities: [44] Power Management version 2 Capabilities: [50] Message Signalled Interrupts: 64bit+ Queue=0/3 Enable- Capabilities: [6c] HyperTransport: MSI Mapping 00:08.0 IDE interface: nVidia Corporation: Unknown device 03f6 (rev a2) (prog-if 85 [Master SecO PriO]) Subsystem: Hewlett-Packard Company: Unknown device 2a5b Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 185 I/O ports at 09f0 [size=8] I/O ports at 0bf0 [size=4] I/O ports at 0970 [size=8] I/O ports at 0b70 [size=4] I/O ports at d800 [size=16] Memory at fe02c000 (32-bit, non-prefetchable) [size=4K] Capabilities: [44] Power Management version 2 Capabilities: [b0] Message Signalled Interrupts: 64bit+ Queue=0/2 Enable- Capabilities: [cc] HyperTransport: MSI Mapping 00:09.0 PCI bridge: nVidia Corporation: Unknown device 03e8 (rev a2) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=02, subordinate=02, sec-latency=0 I/O behind bridge: 0000b000-0000bfff Memory behind bridge: fdd00000-fddfffff Prefetchable memory behind bridge: 00000000fdc00000-00000000fdc00000 Capabilities: [40] #0d [0000] Capabilities: [48] Power Management version 2 Capabilities: [50] Message Signalled Interrupts: 64bit+ Queue=0/1 Enable- Capabilities: [60] HyperTransport: MSI Mapping Capabilities: [80] Express Root Port (Slot+) IRQ 0 Capabilities: [100] Virtual Channel 00:0b.0 PCI bridge: nVidia Corporation: Unknown device 03e9 (rev a2) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=03, subordinate=03, sec-latency=0 I/O behind bridge: 0000a000-0000afff Memory behind bridge: fdb00000-fdbfffff Prefetchable memory behind bridge: 00000000fda00000-00000000fda00000 Capabilities: [40] #0d [0000] Capabilities: [48] Power Management version 2 Capabilities: [50] Message Signalled Interrupts: 64bit+ Queue=0/1 Enable- Capabilities: [60] HyperTransport: MSI Mapping Capabilities: [80] Express Root Port (Slot+) IRQ 0 Capabilities: [100] Virtual Channel 00:0d.0 VGA compatible controller: nVidia Corporation: Unknown device 03d0 (rev a2) (prog-if 00 [VGA]) Subsystem: Hewlett-Packard Company: Unknown device 2a5b Flags: bus master, 66Mhz, fast devsel, latency 0, IRQ 169 Memory at fb000000 (32-bit, non-prefetchable) [size=16M] Memory at e0000000 (64-bit, prefetchable) [size=256M] Memory at fc000000 (64-bit, non-prefetchable) [size=16M] Capabilities: [48] Power Management version 2 Capabilities: [50] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable- 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration Flags: fast devsel Capabilities: [80] HyperTransport: Host or Secondary Interface 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map Flags: fast devsel 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller Flags: fast devsel 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control Flags: fast devsel Capabilities: [f0] #0f [0010] 01:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10) Subsystem: Netgear: Unknown device 311a Flags: bus master, 66Mhz, medium devsel, latency 32, IRQ 193 I/O ports at cc00 [size=256] Memory at fd9ff000 (32-bit, non-prefetchable) [size=256] Expansion ROM at fd9c0000 [disabled] [size=128K] Capabilities: [dc] Power Management version 2 01:0a.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 30) Subsystem: 3Com Corporation 3C905B Fast Etherlink XL 10/100 Flags: bus master, medium devsel, latency 32, IRQ 201 I/O ports at c800 [size=128] Memory at fd9fe000 (32-bit, non-prefetchable) [size=128] Expansion ROM at fd9c0000 [disabled] [size=128K] Capabilities: [dc] Power Management version 1 |
|
|
|
|
![]() |
| Thread Tools | |
|
|