Ik ben bezig met een volledige update van mijn gentoo (test) servertje.
Dat doe ik met:
Nu gaat alleen de update van de e100 driver, voor mijn netwerkchip, helemaal fout en het lukt me niet om gentoo wijs te maken dat hij hem moet negeren voor het updaten (de inject functie werkt niet meer in Portage 2.0.51-r15...
Deze fout krijg ik:
Het lijkt er dus op dat portage graag mijn IRQ van de nic wil weten voor de driver, maar deze wordt volledige met PnP ingesteld... Hoe is dit te omzeilen?
ps. ik draai kernel versie 2.6.9-r1
Dat doe ik met:
code:
1
| emerge --update world |
Nu gaat alleen de update van de e100 driver, voor mijn netwerkchip, helemaal fout en het lukt me niet om gentoo wijs te maken dat hij hem moet negeren voor het updaten (de inject functie werkt niet meer in Portage 2.0.51-r15...
Deze fout krijg ik:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
| Calculating dependencies ...done!
>>> emerge (1 of 1) net-misc/e100-3.2.3 to /
>>> md5 src_uri ;-) e100-3.2.3.tar.gz
>>> Unpacking source...
>>> Unpacking e100-3.2.3.tar.gz to /var/tmp/portage/e100-3.2.3/work
>>> Source unpacked.
rm -rf e100.ko e100.o e100.mod.c e100.mod.o e100.o e100.7.gz .*cmd
gcc -pipe -O2 -march=pentium2 -fomit-frame-pointer -DLINUX -D__KERNEL__ -DMODULE
-O2 -pipe -Wall -I/usr/src/linux/include -I. -c -o e100.o e100.c
In file included from /usr/src/linux/include/asm/processor.h:18,
from /usr/src/linux/include/asm/thread_info.h:16,
from /usr/src/linux/include/linux/thread_info.h:21,
from /usr/src/linux/include/linux/spinlock.h:12,
from /usr/src/linux/include/linux/capability.h:45,
from /usr/src/linux/include/linux/sched.h:7,
from /usr/src/linux/include/linux/module.h:10,
from e100.c:138:
/usr/src/linux/include/asm/system.h: In function `__set_64bit_var':
/usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned poin
ter will break strict-aliasing rules
/usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned poin
ter will break strict-aliasing rules
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/hardirq.h:6,
from /usr/src/linux/include/linux/interrupt.h:11,
from /usr/src/linux/include/linux/netdevice.h:516,
from e100.c:145:
/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/hardirq.h:6,
from /usr/src/linux/include/linux/interrupt.h:11,
from /usr/src/linux/include/linux/netdevice.h:516,
from e100.c:145:
/usr/src/linux/include/linux/irq.h: At top level:
/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/hardirq.h:6,
from /usr/src/linux/include/linux/interrupt.h:11,
from /usr/src/linux/include/linux/netdevice.h:516,
from e100.c:145:
/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: *** [e100.o] Error 1
!!! ERROR: net-misc/e100-3.2.3 failed.
!!! Function src_compile, Line 18, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message. |
Het lijkt er dus op dat portage graag mijn IRQ van de nic wil weten voor de driver, maar deze wordt volledige met PnP ingesteld... Hoe is dit te omzeilen?
ps. ik draai kernel versie 2.6.9-r1
Waarschuwing, opperprutser aan het werk... en als je een opmerking van mij niet snapt, klik dan hier