Le noyau générique fourni par Debian n'est pas dual
core, donc on recompile le noyau avec l'option smp et les bons pilotes. On en profite pour
découvrir le matériel plus en profondeur :
#lsmod
pour connaître les modules utilisés
actuellement à garder dans le nouveau noyau
#hwinfo
pour connaître le matériel
installé
On découvre que c'est une carte mère Gigabyte
"Gigabyte Technology Co., Ltd."Ensuite il faut relever les noms des processeurs ou des pilotes détectés dans les sections : kernel log
"K8NF9-NF"
"NEC"
"Socket 939"
"AMD Athlon(tm) 64 X2 Dual Core Processor 4200+"
----- kernel log -----/proc/interrupts :
<6>Floppy drive(s): fd0 is 1.44M
<6>FDC 0 is a post-1991 82077
<6>input: PC Speaker
<4>logips2pp: Detected unknown logitech mouse model 85
<6>input: ImPS/2 Logitech Wheel Mouse on isa0060/serio1
<7>ieee1394: Initialized config rom entry `ip1394'
<6>ohci1394: $Rev: 1250 $ Ben Collins
<6>ehci_hcd 0000:00:02.1: nVidia Corporation CK804 USB Controller
<7>ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
<6>ohci_hcd 0000:00:02.0: nVidia Corporation CK804 USB Controller
<6>forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.32.
<6>Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
<6>ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
<6>eth0: forcedeth.c: subsystem: 01458:e000 bound to 0000:00:0a.0
<6>i2c_adapter i2c-0: nForce2 SMBus adapter at 0x1c00
<6>intel8x0_measure_ac97_clock: measured 49659 usecs
<7>ieee1394: Host added: ID:BUS[0-00:1023] GUID[000fea5600e62256]
<6>eth1394: eth1: IEEE-1394 IPv4 over 1394 Ethernet (fw-host0)
<6>NFORCE-CK804: IDE controller at PCI slot 0000:00:06.0
<6>md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
<4>md0: setting max_sectors to 128, segment boundary to 32767
<4>raid0: looking at sda2
<4>raid0: looking at sdb2
<6>i2c /dev entries driver
<6>it87: Found IT8712F chip at 0x290, revision 5
----- kernel log end -----
----- /proc/interrupts -----sysfs drivers :
0: 14865934 IO-APIC-edge timer
1: 4275 IO-APIC-edge i8042
4: 40 IO-APIC-edge serial
6: 12 IO-APIC-edge floppy
8: 0 IO-APIC-edge rtc
9: 0 IO-APIC-level acpi
12: 909509 IO-APIC-edge i8042
14: 122 IO-APIC-edge ide0
18: 3 IO-APIC-level ohci1394
20: 0 IO-APIC-level ohci_hcd:usb2
21: 0 IO-APIC-level ehci_hcd:usb1
22: 0 IO-APIC-level libata, NVidia CK804
23: 1597694 IO-APIC-level libata, eth0
----- /proc/interrupts end -----
>> pci.1: sysfs driverset /proc/modules.
----- sysfs driver list (id 0x7229a0d0a2753589) -----
eeprom: /devices/pci0000:...
it87: /devices/platform/i2c-2/2-0290
ide-cdrom: /devices/pci0000:...
eth1394: /devices/pci0000:...
AMD_IDE: /devices/pci0000:...
Intel ICH: /devices/pci0000:...
ehci_hcd: /devices/pci0000:...
forcedeth: /devices/pci0000:...
nForce2_smbus: /devices/pci0000:...
ohci1394: /devices/pci0000:...
ohci_hcd: /devices/pci0000:...
pcieport-driver: /devices/pci0000:...
sata_nv: /devices/pci0000:...
i8042: /devices/platform/i8042
serial8250: /devices/platform/serial8250
i8042 aux: /devices/pnp0/00:09
i8042 kbd: /devices/pnp0/00:0a
serial: /devices/pnp0/00:07
system: /devices/pnp0/00:00
sd: /devices/pci0000:00/0000:00:07.0/host0/target0:0:0/0:0:0:0
sd: /devices/pci0000:00/0000:00:07.0/host1/target1:0:0/1:0:0:0
atkbd: /devices/platform/i8042/serio1
psmouse: /devices/platform/i8042/serio0
hub: /devices/pci0000:00/0000:00:02.1/usb1/1-0:1.0
hub: /devices/pci0000:00/0000:00:02.0/usb2/2-0:1.0
usb: /devices/pci0000:00/0000:00:02.1/usb1
usb: /devices/pci0000:00/0000:00:02.0/usb2
----- sysfs driver list end -----
#sensors-detect détection des processeurs
compatibles I2C/SMBUS sur la carte mère
...Le fichier .config
Probing for PCI bus adapters...
Use driver `i2c-nforce2' for device 00:01.1: nVidia Corporation nForce4 SMBus (MCP)
Probe succesfully concluded.
...
Driver `eeprom' (should be inserted):
Detects correctly:
* Bus `SMBus nForce2 adapter at 1c00'
Busdriver `i2c-nforce2', I2C address 0x50
Chip `SPD EEPROM' (confidence: 8)
* Bus `SMBus nForce2 adapter at 1c00'
Busdriver `i2c-nforce2', I2C address 0x51
Chip `SPD EEPROM' (confidence: 8)
* Bus `SMBus nForce2 adapter at 1c00'
Busdriver `i2c-nforce2', I2C address 0x52
Chip `SPD EEPROM' (confidence: 8)
* Bus `SMBus nForce2 adapter at 1c00'
Busdriver `i2c-nforce2', I2C address 0x53
Chip `SPD EEPROM' (confidence: 8)
Driver `it87' (should be inserted):
Detects correctly:
* ISA bus address 0x0290 (Busdriver `i2c-isa')
Chip `ITE 8712F Super IO Sensors' (confidence: 9)
I will now generate the commands needed to load the I2C modules.
Sometimes, a chip is available both through the ISA bus and an I2C bus.
ISA bus access is faster, but you need to load an additional driver module
for it. If you have the choice, do you want to use the ISA bus or the
I2C/SMBus (ISA/smbus)?
To make the sensors modules behave correctly, add these lines to
/etc/modules:
#----cut here----
# I2C adapter drivers
i2c-nforce2
i2c-isa
# I2C chip drivers
eeprom
it87
#----cut here----