LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-23-2004, 08:28 PM   #1
bobman1235
LQ Newbie
 
Registered: Jun 2004
Location: Derry, NH
Posts: 2

Rep: Reputation: 0
nForce install on Fedora Core 2 - Revisited


Hello all.

First of all, very new to most of this. I program for a living (2 years out of college) so I'm familiar with building and all that on a *nix system, but not so much with the linux way of doing things (IE still learning RPMs, modules, and the like).

That out of the way. I wanted to start a linux box. So I jumped in and tried Debian, drowned fast, so went to a "simpler" distro : Fedora. Core 1 installed great, and I figured out how to install the drivers for the nVidia chipset that is on my motherboard. Used it for a week, and of course, core 2 is out, so I want to use that --- gotta have the newest! Decided to just wipe everything and install from scratch, great, fine. But now, when I try to build and install my nVidia nForce2 drivers, I get build errors. In this thread (I can't insert URLs cuz I'm new, but it's thread 187823) someone had the exact same error, but it was with the VIDEO driver, and no one actually solved his BUILD problems, he just used the nVidia installer script and everything worked out.

The error output is as follows. Errors are identical if I use the RPMs or just get the source tarball and try to do a make. NOTE that this is not the EXACT error output (I actually copied it from the above thread's post) but aside from teh version number of the directories is almost identical.

cc -c -Wall -DLINUX -DMODULE -DEXPORT_SYMTAB -D__KERNEL__ -O2 -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DCONFIG_PM -falign-functions=4 -I/lib/modules/2.6.5-1.358/build/include nvenet.c
In file included from /lib/modules/2.6.5-1.358/build/include/linux/irq.h:20,
from /lib/modules/2.6.5-1.358/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.5-1.358/build/include/linux/interrupt.h:11,
from nvenet.h:30,
from nvenet.c:22:
/lib/modules/2.6.5-1.358/build/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /lib/modules/2.6.5-1.358/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.5-1.358/build/include/linux/interrupt.h:11,
from nvenet.h:30,
from nvenet.c:22:
/lib/modules/2.6.5-1.358/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /lib/modules/2.6.5-1.358/build/include/linux/irq.h:72,
from /lib/modules/2.6.5-1.358/build/include/asm/hardirq.h:6,
from /lib/modules/2.6.5-1.358/build/include/linux/interrupt.h:11,
from nvenet.h:30,
from nvenet.c:22:
/lib/modules/2.6.5-1.358/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
/lib/modules/2.6.5-1.358/build/include/asm/hw_irq.h:32: error: `NR_IRQS' undeclared here (not in a function)
nvenet.c: In function `nvenet_open':
nvenet.c:692: warning: passing arg 2 of `request_irq' from incompatible pointer type
nvenet.c: In function `nvenet_remove':
nvenet.c:1214: error: structure has no member named `driver_data'
nvenet.c: In function `nvenet_reboot_handler':
nvenet.c:2360: warning: implicit declaration of function `pci_for_each_dev'
nvenet.c:2361: error: syntax error before '{' token
nvenet.c: At top level:
nvenet.c:2367: error: syntax error before '}' token
nvenet.c: In function `nvenet_proc_full_info_open':
nvenet.c:2605: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.5-1.358/build/include/linux/module.h:501)
nvenet.c: In function `nvenet_proc_hardware_info_open':
nvenet.c:2645: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.5-1.358/build/include/linux/module.h:501)
nvenet.c: In function `nvenet_proc_command_line_open':
nvenet.c:2686: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.5-1.358/build/include/linux/module.h:501)
nvenet.c: In function `nvenet_proc_configuration_open':
nvenet.c:2727: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.5-1.358/build/include/linux/module.h:501)
nvenet.c: In function `nvenet_proc_rx_stats_open':
nvenet.c:2762: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.5-1.358/build/include/linux/module.h:501)
nvenet.c: In function `nvenet_proc_tx_stats_open':
nvenet.c:2804: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.5-1.358/build/include/linux/module.h:501)
nvenet.c: In function `nvenet_proc_release':
nvenet.c:2821: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /lib/modules/2.6.5-1.358/build/include/linux/module.h:513)
make[1]: *** [nvnet.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/nforce/nvnet'
make: *** [nvnet_make] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.89256 (%build)



I've found the files irq_vectors.h in other directories, and kinda hoped if I copied them into the include path everything would just magically work, but no such luck, just more random build errors. SO, my questions are :
1. Why do I get these errors with Core 2 and not Core 1?
2. Where are these missing include files, and why are they not in the include path?
3. How can I get around this?

Thanks for the help, and if I said anything that makes no sense, I apologize

Bob
 
Old 06-23-2004, 09:09 PM   #2
mtrisk
LQ Newbie
 
Registered: Jun 2004
Location: Los Angeles
Distribution: Debian Sarge, Fedora Core 4
Posts: 5

Rep: Reputation: 0
Why would you need to build nForce drivers? You're talking about the audio and ethernet, and the're included in Fedora Core 2. In fact, I'm running the exact same setup, and the included drivers work just fine for me.
 
Old 06-23-2004, 10:39 PM   #3
bobman1235
LQ Newbie
 
Registered: Jun 2004
Location: Derry, NH
Posts: 2

Original Poster
Rep: Reputation: 0
Uhh... I dunno. I don't see it in any of the build / install options for Fedora... there's definitely no nvnet.o anywhere on my system... and it definitely doesn't recognize my ethernet device.
 
Old 06-24-2004, 03:04 AM   #4
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Try using the the forcedeth module for the onboard Ethernet controller. It is referred to as "Reverse-engineered nforce Ethernet support" or something similar in the kernel configuration. Nforce2 sound is supported by the snd-intel8x0 ALSA module.


Håkan
 
Old 06-29-2004, 02:55 PM   #5
High_Noonan
LQ Newbie
 
Registered: Jun 2004
Location: New England, USA
Distribution: FC2
Posts: 3

Rep: Reputation: 0
Talking

bobman, thanks for that post. That other thread that appears in Google (and you mentioned) is quite confusing.

I have a couple of other questions (now that I know that I do not need to load the nVidia nForce drivers) relating to the nForce.

1) I see this when I boot. I am running a UDMA-133 drive on the UDMA-133 controller.
NFORCE2: IDE controller at PCI slot 0000:00:09.0
NFORCE2: chipset revision 162
NFORCE2: not 100%% native mode: will probe irqs later
NFORCE2: BIOS didn't set cable bits correctly. Enabling workaround.
NFORCE2: 0000:00:09.0 (rev a2) UDMA133 controller
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda: DMA, hdb: DMA
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc: DMA, hdd: DMA

What gives with that bold line? Is this something that a BIOS upgrade would fix?

2) I have an Abit NF7-S v.2 board that I got primarily for the sound card. How do I make this thing work in 6 channel surround by default? I am only getting 2 channels. I would hate to have to go back to my Audigy card. It isn't that bad, actually.
I am running GNOME as my desktop and when I start up the Sound Mixer, I have listed a Realtek ALC650 rev 3 [Audio Mixer(OSS)] and another tab with NVidia Nforce2 [ALSA Mixer]. Where is the Realtek coming from and why is there OSS?!?! I thought FC2 did away with OSS. Also, on the NVidia [ALSA] tab, I do not see anyway of enabling surround. As a matter of fact, everything surround related in alsamixer is [OFF] and I can not figure how to turn it on.

Other than that, I am loving FC2. As a matter of fact, I think that my XP box is soon going to be my test box for other distros. The Fedora community has done an outstanding job, IMHO, with this revision. There is no way I would ask my roommate to give up on using my Windoze machine while I was running RH9, but now with FC2...she is going to be learning a bit about Linux.

Thanks for any reads and even more thanks for helpful replies.
 
Old 06-29-2004, 03:36 PM   #6
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
The "BIOS didn't set cable bits correctly" isn't really a problem. I honestly don't know where it comes from but I have seen it on all Abit nforce2-based boards that I have used, and they all work fine.

I am not much familiar with Fedora Core, but the OSS may indicate the OSS compatibility device that Alsa can provide. As for multichannel sound - first check that you really are using the correct driver, snd-intel8x0. Type /sbin/lsmod and see if the module is listed - it it is, it's loaded and you're probably well on your way to having full 5.1 audio. Refer to the comments on the Alsa driver page, at the bottom you'll find some good information. I "only" have a 2 speaker setup so I can't verify it for you personally though.


Håkan
 
  


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
Sound on nForce 4 - Fedora Core 4 marco_br Fedora - Installation 0 11-11-2005 12:52 PM
Do RHEL AS 3.0, RH 9.0, Fedora Core 3, Debian (Testing) Gentoo Linux support nForce 4 explorer1979 Linux - Hardware 1 04-03-2005 03:45 AM
Nforce Chipset --revisited spaceballs Slackware 4 03-31-2005 11:59 AM
If i install Fedora Core 2, can i just update to Core 3 from internet? FocusedWolf Fedora 12 02-07-2005 01:03 PM
install NVIDIA nForce MCP Networking Controller on Fedora lehus Linux - Newbie 0 01-30-2005 04:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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