Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
lm-sensors und Modul p4b_smbus !!!
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
rblock
l33t
l33t


Joined: 04 Apr 2004
Posts: 626
Location: Germersheim

PostPosted: Mon Jun 07, 2004 3:49 pm    Post subject: lm-sensors und Modul p4b_smbus !!! Reply with quote

Hallo,

ich habe ein "kleines" Problem mit dem lm-sensors Paket. :-(

Laut der Beschreibung unter https://forums.gentoo.org/viewtopic.php?t=52815, fast am Ende der ersten Seite, ist die Konfiguration für das ASUS Board mit Intel Chip beschrieben. Zwar ist der Patch der p4b_smbus.c nicht mehr notwendig, da er bereits in der aktuellen Version 2.8.6 enthalten ist, aber -
ABER dieses Verzeichnis (prog/hotplug/) wird überhaupt nicht mitkompiliert! Es existiert auf dem System keine p4b_smbus.o. :cry:

Kann mir jemand, vielleicht von den Gentoo Entwicklern sagen, wie das sein kann? Ich war froh diese Beschreibung gefunden zu haben, da ich vorher i2c nicht zum Laufen bekommen habe, und nun das.

Ich kann auch kein "make -f Makefile.p4b" starten, denn dann kommt diese Meldungen:
Code:
gcc  -D__SMP__ -D__KERNEL__ -DMODULE -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -I/lib/modules/2.6.5-gentoo-r1/build/include
  -c -o p4b_smbus.o p4b_smbus.c
In file included from /lib/modules/2.6.5-gentoo-r1/build/include/asm/smp.h:18,
                 from /lib/modules/2.6.5-gentoo-r1/build/include/linux/smp.h:17,
                 from /lib/modules/2.6.5-gentoo-r1/build/include/linux/sched.h:23,
                 from /lib/modules/2.6.5-gentoo-r1/build/include/linux/module.h:10,
                 from p4b_smbus.c:63:
/lib/modules/2.6.5-gentoo-r1/build/include/asm/mpspec.h:6:25: mach_mpspec.h: Datei oder Verzeichnis nicht gefunden
In file included from /lib/modules/2.6.5-gentoo-r1/build/include/asm/smp.h:18,
                 from /lib/modules/2.6.5-gentoo-r1/build/include/linux/smp.h:17,
                 from /lib/modules/2.6.5-gentoo-r1/build/include/linux/sched.h:23,
                 from /lib/modules/2.6.5-gentoo-r1/build/include/linux/module.h:10,
                 from p4b_smbus.c:63:
/lib/modules/2.6.5-gentoo-r1/build/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.5-gentoo-r1/build/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.5-gentoo-r1/build/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.5-gentoo-r1/build/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.5-gentoo-r1/build/include/asm/mpspec.h:19: error: `MAX_APICS' undeclared here (not in a function)
/lib/modules/2.6.5-gentoo-r1/build/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.5-gentoo-r1/build/include/asm/mpspec.h:20: error: conflicting types for `mp_bus_id_to_type'
/lib/modules/2.6.5-gentoo-r1/build/include/asm/mpspec.h:8: error: previous declaration of `mp_bus_id_to_type'
/lib/modules/2.6.5-gentoo-r1/build/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/lib/modules/2.6.5-gentoo-r1/build/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/lib/modules/2.6.5-gentoo-r1/build/include/asm/mpspec.h:24: error: conflicting types for `mp_bus_id_to_pci_bus'
/lib/modules/2.6.5-gentoo-r1/build/include/asm/mpspec.h:12: error: previous declaration of `mp_bus_id_to_pci_bus'
/lib/modules/2.6.5-gentoo-r1/build/include/asm/mpspec.h:43: error: `MAX_APICS' undeclared here (not in a function)
In file included from /lib/modules/2.6.5-gentoo-r1/build/include/asm/smp.h:20,
                 from /lib/modules/2.6.5-gentoo-r1/build/include/linux/smp.h:17,
                 from /lib/modules/2.6.5-gentoo-r1/build/include/linux/sched.h:23,
                 from /lib/modules/2.6.5-gentoo-r1/build/include/linux/module.h:10,
                 from p4b_smbus.c:63:
/lib/modules/2.6.5-gentoo-r1/build/include/asm/io_apic.h:160: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/lib/modules/2.6.5-gentoo-r1/build/include/asm/io_apic.h:160: error: conflicting types for `mp_irqs'
/lib/modules/2.6.5-gentoo-r1/build/include/asm/mpspec.h:22: error: previous declaration of `mp_irqs'
In file included from /lib/modules/2.6.5-gentoo-r1/build/include/linux/smp.h:17,
                 from /lib/modules/2.6.5-gentoo-r1/build/include/linux/sched.h:23,
                 from /lib/modules/2.6.5-gentoo-r1/build/include/linux/module.h:10,
                 from p4b_smbus.c:63:
/lib/modules/2.6.5-gentoo-r1/build/include/asm/smp.h:71:26: mach_apicdef.h: Datei oder Verzeichnis nicht gefunden
In file included from /lib/modules/2.6.5-gentoo-r1/build/include/linux/smp.h:17,
                 from /lib/modules/2.6.5-gentoo-r1/build/include/linux/sched.h:23,
                 from /lib/modules/2.6.5-gentoo-r1/build/include/linux/module.h:10,
                 from p4b_smbus.c:63:
/lib/modules/2.6.5-gentoo-r1/build/include/asm/smp.h: In function `hard_smp_processor_id':
/lib/modules/2.6.5-gentoo-r1/build/include/asm/smp.h:75: Warnung: implicit declaration of function `GET_APIC_ID'
In file included from /lib/modules/2.6.5-gentoo-r1/build/include/linux/irq.h:20,
                 from /lib/modules/2.6.5-gentoo-r1/build/include/asm/hardirq.h:6,
                 from /lib/modules/2.6.5-gentoo-r1/build/include/linux/interrupt.h:11,
                 from p4b_smbus.c:70:
/lib/modules/2.6.5-gentoo-r1/build/include/asm/irq.h:16:25: irq_vectors.h: Datei oder Verzeichnis nicht gefunden
In file included from /lib/modules/2.6.5-gentoo-r1/build/include/asm/hardirq.h:6,
                 from /lib/modules/2.6.5-gentoo-r1/build/include/linux/interrupt.h:11,
                 from p4b_smbus.c:70:
/lib/modules/2.6.5-gentoo-r1/build/include/linux/irq.h: At top level:
/lib/modules/2.6.5-gentoo-r1/build/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /lib/modules/2.6.5-gentoo-r1/build/include/linux/irq.h:72,
                 from /lib/modules/2.6.5-gentoo-r1/build/include/asm/hardirq.h:6,
                 from /lib/modules/2.6.5-gentoo-r1/build/include/linux/interrupt.h:11,
                 from p4b_smbus.c:70:
/lib/modules/2.6.5-gentoo-r1/build/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
/lib/modules/2.6.5-gentoo-r1/build/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a function)
p4b_smbus.c: In function `i801smbus_build':
p4b_smbus.c:176: Warnung: implicit declaration of function `pci_setup_device'
p4b_smbus.c: In function `init_module':
p4b_smbus.c:192: Warnung: implicit declaration of function `pci_present'
p4b_smbus.c:254: Warnung: implicit declaration of function `pci_insert_device'
p4b_smbus.c: In function `cleanup_module':
p4b_smbus.c:265: Warnung: implicit declaration of function `pci_remove_device'
p4b_smbus.c: At top level:
p4b_smbus.c:277: Warnung: type defaults to `int' in declaration of `EXPORT_NO_SYMBOLS'
p4b_smbus.c:277: Warnung: data definition has no type or storage class
make: *** [p4b_smbus.o] Fehler 1

Übrigens die gleichen Fehler die ich auch beim Make meines Paragon NTFS for Linux bekomme. :(

Hat jemand einen Vorschlag, wie ich dieses Problem lösen könnte?

Ich möchte nämlich meinem Prozessor etwas auf die Finger schauen, da ich das System mit 20% Übertaktung fahre, also ca. 3,6 GHz. Bisher wird der Prozessor nicht heißer als ca. 40°C, so sagt es mir zumindes das BIOS wenn ich zwischdurch einmal boote um mir die Temperatur anzusehen.

Suchende Grüße
_________________
Reiner
--
"Wer fragt, ist ein Narr für fünf Minuten. Wer nicht fragt, bleibt ein Narr für immer." Chinesische Weisheit
"Erfolg hat, wer ihm entgegengeht, statt ihm nachzulaufen." Onassis, Aristoteles

Reiner Block
http://www.feba-software.de


Last edited by rblock on Fri Jun 11, 2004 3:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
rblock
l33t
l33t


Joined: 04 Apr 2004
Posts: 626
Location: Germersheim

PostPosted: Fri Jun 11, 2004 3:33 pm    Post subject: Reply with quote

Ich muss sagen, dass ich nun platt bin, dass sich selbst die Gentoo Entwickler hier nicht melden! :cry:

HEY! Ihr müsst doch wissen, wieso die asm-Verzeichnisse nicht gefunden werden! 8O


Kopfschüttelnde Grüße
_________________
Reiner
--
"Wer fragt, ist ein Narr für fünf Minuten. Wer nicht fragt, bleibt ein Narr für immer." Chinesische Weisheit
"Erfolg hat, wer ihm entgegengeht, statt ihm nachzulaufen." Onassis, Aristoteles

Reiner Block
http://www.feba-software.de
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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