Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[install] nforce-audio nfoce-net
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
jqx
n00b
n00b


Joined: 05 Jul 2004
Posts: 43

PostPosted: Mon Jul 05, 2004 1:08 am    Post subject: [install] nforce-audio nfoce-net Reply with quote

ciao a tutti, sono alle prime con gentoo (e piu' o meno anche con linux), sto cercando di concludere la mia prima installazione ho dei problemi ad emergere nforce-audio e nforce-net.. mi sapete aiutare?

Quote:

livecd root # emerge nforce-audio
Calculating dependencies ...done!
>>> emerge (1 of 1) media-sound/nforce-audio-1.0.0261 to /
>>> md5 src_uri ;-) NVIDIA_nforce-1.0-0261.tar.gz
>>> Unpacking source...
>>> Unpacking NVIDIA_nforce-1.0-0261.tar.gz to /var/tmp/portage/nforce-audio-1.0
.0261/work
>>> Source unpacked.
make nvaudio.o
make[1]: Entering directory `/var/tmp/portage/nforce-audio-1.0.0261/work/nforce/
nvaudio'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O -fno-str
ict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODU
LE -DREMAP_NEW -c -o nvhw.o nvhw.c
In file included from /usr/src/linux/include/linux/irq.h:20,
from /usr/src/linux/include/asm/hardirq.h:6,
from nvhw.h:31,
from nvhw.c:16:
/usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /usr/src/linux/include/asm/hardirq.h:6,
from nvhw.h:31,
from nvhw.c:16:
/usr/src/linux/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in
a function)
In file included from /usr/src/linux/include/linux/irq.h:72,
from /usr/src/linux/include/asm/hardirq.h:6,
from nvhw.h:31,
from nvhw.c:16:
/usr/src/linux/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here
(not in a function)
/usr/src/linux/include/asm/hw_irq.h:32: error: `NR_IRQS' undeclared here (not in
a function)
make[1]: *** [nvhw.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/nforce-audio-1.0.0261/work/nforce/n
vaudio'
make: *** [all] Error 2

!!! ERROR: media-sound/nforce-audio-1.0.0261 failed.
!!! Function src_compile, Line 27, Exitcode 2
!!! (no error message)


e


Quote:


livecd root # emerge nforce-net
Calculating dependencies ...done!
>>> emerge (1 of 1) net-misc/nforce-net-1.0.0256 to /
>>> md5 src_uri ;-) NVIDIA_nforce-1.0-0256.tar.gz
>>> Unpacking source...
>>> Unpacking NVIDIA_nforce-1.0-0256.tar.gz to /var/tmp/portage/nforce-net-1.0.0256/work
>>> Source unpacked.
gcc -c -Wall -DLINUX -DMODULE -DEXPORT_SYMTAB -D__KERNEL__ -O -Wstrict-prototypes -DCONFIG_PM -fno-strict-aliasing -mpreferred-stack-boundary=2 -march=i686 -falign-functions=4 -DMODULE -I/usr/src/linux/include nvnet.c
In file included from /usr/src/linux/include/linux/irq.h:20,
from /usr/src/linux/include/asm/hardirq.h:6,
from /usr/src/linux/include/linux/interrupt.h:11,
from nvnet.h:30,
from nvnet.c:21:
/usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /usr/src/linux/include/asm/hardirq.h:6,
from /usr/src/linux/include/linux/interrupt.h:11,
from nvnet.h:30,
from nvnet.c:21:
/usr/src/linux/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /usr/src/linux/include/linux/irq.h:72,
from /usr/src/linux/include/asm/hardirq.h:6,
from /usr/src/linux/include/linux/interrupt.h:11,
from nvnet.h:30,
from nvnet.c:21:
/usr/src/linux/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
/usr/src/linux/include/asm/hw_irq.h:32: error: `NR_IRQS' undeclared here (not in a function)
nvnet.c: In function `nvnet_open':
nvnet.c:735: warning: passing arg 2 of `request_irq' from incompatible pointer type
nvnet.c: In function `nvnet_remove':
nvnet.c:1248: error: structure has no member named `driver_data'
make: *** [nvnet.o] Error 1

!!! ERROR: net-misc/nforce-net-1.0.0256 failed.
!!! Function src_compile, Line 25, Exitcode 2
!!! (no error message)

Back to top
View user's profile Send private message
nick_spacca
l33t
l33t


Joined: 29 May 2004
Posts: 689
Location: Paris/France

PostPosted: Mon Jul 05, 2004 8:22 am    Post subject: Reply with quote

Come mai emergi nforce-audio nforce-net??? :?:

Se e' perche' hai la M/B con chipset nforce(2) ed audio/rete integrate c'e' la possibilita' di far funzionare tutto SENZA i driver nforce...

puoi postare il tuo output facendo
Code:
lspci

oppure ,se gia lo sai, ci puoi dire che tipo di schede sono???

io ho
Code:

 Multimedia audio controller: C-Media Electronics Inc CM873
 Ethernet controller: nVidia Corporation nForce2 Ethernet Controller
che funzionano...se ti serve aiuto chiedi :wink:
_________________
I can resist anything but temptation.
(O. Wilde)
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Mon Jul 05, 2004 8:31 am    Post subject: Reply with quote

Non so troppo di nforce, ma "a occhio" sembra che i driver che stai cercando di emergere sono per i kernel 2.4 ma tu hai un 2.6... confermi?
_________________
Ciao da me!
Back to top
View user's profile Send private message
motaboy
Developer
Developer


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Mon Jul 05, 2004 9:43 am    Post subject: Reply with quote

Per la rete ti basta il modulo "forcedeth" che é presente nel kernel.

Per l'audio vanno bene i moduli di alsa, per sapere il modello fai come ti ha detto nick_spacca.
_________________
...
Back to top
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Mon Jul 05, 2004 10:16 am    Post subject: Reply with quote

come detto da randomaze, il problema é il kernel: se hai il 2.6 quei moduli non servono a nulla, quindi puoi evitare benissimo di compilarli ;-)

Coda
Back to top
View user's profile Send private message
khazad-dum
Tux's lil' helper
Tux's lil' helper


Joined: 26 May 2003
Posts: 148
Location: Moria

PostPosted: Mon Jul 05, 2004 3:43 pm    Post subject: Reply with quote

1/2 OT: Qualcuno riesce a usare la forcedeth a 100mbit ?
Back to top
View user's profile Send private message
nick_spacca
l33t
l33t


Joined: 29 May 2004
Posts: 689
Location: Paris/France

PostPosted: Mon Jul 05, 2004 5:02 pm    Post subject: Reply with quote

khazad-dum wrote:
1/2 OT: Qualcuno riesce a usare la forcedeth a 100mbit ?

Io dalla facolta' scarico a 4MB/sec => penso proprio che funzioni!!!! 8)
_________________
I can resist anything but temptation.
(O. Wilde)
Back to top
View user's profile Send private message
jqx
n00b
n00b


Joined: 05 Jul 2004
Posts: 43

PostPosted: Mon Jul 05, 2004 6:22 pm    Post subject: Reply with quote

wao, siete fantastici

sono riuscito a far funzionare l'altra scheda di rete per poter continuare l'installazione. se faccio lspci dal mio sistema mi dice -bash lspci: command not found .. invece dal live funziona e appena posso vi quoto l'output

i due pacchetti cnq ho provato ad emergerli sia dal kernel 2.4.x del live sia dal mio 2.6.7-r8 del mio sistema ma nulla

ora sto procedendo con l'installazione di xorg.. l'ho emero e ho emerso anche ati-drver, ho letto un paio di guide ma nn riesco a farlo partire, pur avendo settato con calma e bene xorgconfig e fglrxconfig
Back to top
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Mon Jul 05, 2004 6:36 pm    Post subject: Reply with quote

jqx wrote:
i due pacchetti cnq ho provato ad emergerli sia dal kernel 2.4.x del live sia dal mio 2.6.7-r8 del mio sistema ma nulla


ehmm... dunque... se hai il kernel 2.6.x anche se riuscissi a scaricare e installare i due pacchetti, non ti servirebbero a nulla.
Se invece hai due kenrel, 2.6 e 2.4, allora devi cambiare il link simbolico /usr/src/linux in modo che punti a /usr/src/linux-2.4.x , altrimenti non si compileranno mai i pacchetti.

Per quando riguarda invece lspci, lo trovi nel pcchetto pciutils, quindi:

Code:
# emerge pciutils


Coda
Back to top
View user's profile Send private message
Sparker
l33t
l33t


Joined: 28 Aug 2003
Posts: 992

PostPosted: Mon Jul 05, 2004 6:38 pm    Post subject: Reply with quote

khazad-dum wrote:
1/2 OT: Qualcuno riesce a usare la forcedeth a 100mbit ?

Si
Back to top
View user's profile Send private message
jqx
n00b
n00b


Joined: 05 Jul 2004
Posts: 43

PostPosted: Mon Jul 05, 2004 9:11 pm    Post subject: Reply with quote

codadilupo wrote:
jqx wrote:
i due pacchetti cnq ho provato ad emergerli sia dal kernel 2.4.x del live sia dal mio 2.6.7-r8 del mio sistema ma nulla


ehmm... dunque... se hai il kernel 2.6.x anche se riuscissi a scaricare e installare i due pacchetti, non ti servirebbero a nulla.
Se invece hai due kenrel, 2.6 e 2.4, allora devi cambiare il link simbolico /usr/src/linux in modo che punti a /usr/src/linux-2.4.x , altrimenti non si compileranno mai i pacchetti.


era per dire che ho provato sia su uno che sull'altro, siccome qlc nelle risposte diceva che poteva dipendere dal kernel

Quote:
Per quando riguarda invece lspci, lo trovi nel pcchetto pciutils, quindi:


Quote:

0000:00:00.0 Host bridge: nVidia Corporation nForce2 AGP (different version?) (r
ev c1)
0000:00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 1 (rev c1)
0000:00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev c1)
0000:00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev c1)
0000:00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev c1)
0000:00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev c1)
0000:00:01.0 ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev a3)
0000:00:01.1 SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev a2)
0000:00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev a3)
0000:00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev a3)
0000:00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller (rev a3)
0000:00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet Controller
(rev a1)
0000:00:05.0 Multimedia audio controller: nVidia Corporation nForce MultiMedia a
udio [Via VT82C686B] (rev a2)
0000:00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio
Controler (MCP) (rev a1)
0000:00:08.0 PCI bridge: nVidia Corporation nForce2 External PCI Bridge (rev a3)
0000:00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2)
0000:00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1)
0000:01:08.0 Multimedia controller: Philips Semiconductors SAA7134 (rev 01)
0000:01:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C
/8139C+ (rev 10)
0000:02:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV250 If [Ra
deon 9000] (rev 01)
0000:02:00.1 Display controller: ATI Technologies Inc Radeon RV250 [Radeon 9000]



ci sono altri pacchetti molto utili\indispensabili per gestire bene il sistema come pciutils? (scusate la domanda da ignorantone)

la scheda di rete nforce cnq nn va ancora, l'audio non so, ancora problemi con x :roll:

grazie e ciao
Back to top
View user's profile Send private message
motaboy
Developer
Developer


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Mon Jul 05, 2004 9:25 pm    Post subject: Reply with quote

Mai hai compilato il kernel col modulo forcedeth?
_________________
...
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Mon Jul 05, 2004 9:39 pm    Post subject: Reply with quote

nick_spacca wrote:
khazad-dum wrote:
1/2 OT: Qualcuno riesce a usare la forcedeth a 100mbit ?

Io dalla facolta' scarico a 4MB/sec => penso proprio che funzioni!!!! 8)


Ti odio nick :twisted:
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31284
Location: here

PostPosted: Mon Jul 05, 2004 9:59 pm    Post subject: Reply with quote

[MOD]
Evitiamo commenti inutili sui post... dico questo perche' ultimamente che ne sono parecchi
[/MOD]
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Tue Jul 06, 2004 7:30 am    Post subject: Reply with quote

jqx wrote:
era per dire che ho provato sia su uno che sull'altro, siccome qlc nelle risposte diceva che poteva dipendere dal kernel


si', era per dire che non sono troppo sicuro che dal livecd tu possa compilarli: quando vai ad emergerli sei già in chroot, il che significa che usi il tuo proprio kernel, anche se hai fatto il boot da livecd... é corretto, o sono io che non ho capito una mazza ? ;-)
Comunque...

Quote:
Code:
0000:00:00.0 Host bridge: nVidia Corporation nForce2 AGP (different version?) (r
ev c1)
0000:00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 1 (rev c1)
0000:00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev c1)
0000:00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev c1)
0000:00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev c1)
0000:00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev c1)
0000:00:01.0 ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev a3)
0000:00:01.1 SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev a2)
0000:00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev a3)
0000:00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev a3)
0000:00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller (rev a3)
0000:00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet Controller
 (rev a1)
0000:00:05.0 Multimedia audio controller: nVidia Corporation nForce MultiMedia a
udio [Via VT82C686B] (rev a2)
0000:00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio
Controler (MCP) (rev a1)
0000:00:08.0 PCI bridge: nVidia Corporation nForce2 External PCI Bridge (rev a3)
0000:00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2)
0000:00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1)
0000:01:08.0 Multimedia controller: Philips Semiconductors SAA7134 (rev 01)
0000:01:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C
/8139C+ (rev 10)
0000:02:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV250 If [Ra
deon 9000] (rev 01)
0000:02:00.1 Display controller: ATI Technologies Inc Radeon RV250 [Radeon 9000]


questo mi fa sospettare che tu abbia una giga-byte, giusto ? Allora fai una cosa... prova a compilare il kernel con il modulo r8169.o vedrai che la rete improvvisamente partira' ;-)

Quote:
ci sono altri pacchetti molto utili\indispensabili per gestire bene il sistema come pciutils? (scusate la domanda da ignorantone)


beh, tutti i pacchettuzzi tipo nomefilesystem_fsprogs (xfsprogs reiserfsprogs etc..) cdrtools, debianutils, gentoolkit, genlop, tutti gli script della premiata fonderia digitale, da cui stiamo aspettando con ansia un macro-ebuild ;-) e sicuramente tanti altri...

Coda
Back to top
View user's profile Send private message
motaboy
Developer
Developer


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Tue Jul 06, 2004 12:31 pm    Post subject: Reply with quote

Ricapitolando:

Tu hai 2 schede di rete, hai detto che sei riuscito a fare andare la Realtek ok? questa:

Code:

0000:01:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)



Ince questa:
Code:

0000:00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet Controller (rev a1)


É quella interna fornita dall'nforce e ti serve il modulo "forcedeth".

Code:

0000:00:05.0 Multimedia audio controller: nVidia Corporation nForce MultiMedia audio [Via VT82C686B] (rev a2)

Per la scheda audio ti serve il "snd-via82xx"
_________________
...
Back to top
View user's profile Send private message
jqx
n00b
n00b


Joined: 05 Jul 2004
Posts: 43

PostPosted: Wed Jul 07, 2004 2:05 pm    Post subject: Reply with quote

Quote:
É quella interna fornita dall'nforce e ti serve il modulo "forcedeth".



io mi sento tanto cieco 8O ma sto modulo non lo trovo :roll:
cnq sono riuscito a far partire xfree & gnome, finalmente posso iniziare ad usare gentoo
Back to top
View user's profile Send private message
motaboy
Developer
Developer


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Wed Jul 07, 2004 2:16 pm    Post subject: Reply with quote

Code:

Device Drivers -> Networking Support -> Ethernet (10 or 100) -> Reverse Engineered nForce Ethernet support (EXPERIMENTAL)


Accertati di avere attivato le EXPERIMENTAL kernel features in:
Code:

Code maturity level options  ---> Prompt for development and/or incomplete code/drivers

_________________
...
Back to top
View user's profile Send private message
jqx
n00b
n00b


Joined: 05 Jul 2004
Posts: 43

PostPosted: Wed Jul 07, 2004 2:48 pm    Post subject: Reply with quote

ok trovato! grazie 1000
Back to top
View user's profile Send private message
jqx
n00b
n00b


Joined: 05 Jul 2004
Posts: 43

PostPosted: Wed Jul 07, 2004 9:39 pm    Post subject: Reply with quote

motaboy wrote:
Per la scheda audio ti serve il "snd-via82xx"

non e' che mi indichi anche questo? :oops:
Back to top
View user's profile Send private message
motaboy
Developer
Developer


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Wed Jul 07, 2004 9:46 pm    Post subject: Reply with quote

A memoria:
Vai in drivers, scegli sound, advanced linux sound arch, attivi le cose in quel menu, poi in pci scegli via82xx
_________________
...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum