FreeBSD temp monitor Sun Fire X2270-re?

Fórumok

Röviden: létezik driver, ami képes kezelni a szerver X2270es monitorjait? Az lmmon egy

Failed to open device /dev/smb0.

hibát dob, amiből gondolom, hogy először egy driver kellene ami produkálja a keresett /dev bejegyzést. A

-i

opcióval sem kapok érterlmes eredményt (255 Celsius és 0 RPM).

Szóval mielőtt nekiállnék minden portot telepíteni amiben benne van, hogy "temperature", hátha akad valami jó ötletetek...

Előre is thx!

Hozzászólások

Az ipmi -vel már próbálkoztál? Portsból az openipmi -t fel kell tenni mellé és az fog neked mindenfélét mondani. Ha guglizol még munin plugint is találsz hozzá szerintem. :)

Izé, mi épp tervezünk egy ilyet venni. Ha nem hipertitkos a konfig, akkor egy dmesg-et tudnál privátban küldeni?

Elvileg van beépitett OpenIPMI kompatibilis driver a FreeBSDben. /boot/loader.confüban aktiváltam is, de az eredmény:

# cat /var/run/dmesg.boot | grep ipmi
ipmi0: on isa0
ipmi0: KCS mode found at mem 0x0 alignment 0x1 on isa
ipmi0: couldn't configure I/O resource
device_attach: ipmi0 attach returned 6

és persze nem létezik /dev/ipmi0

később kipróbálom és beszámolok. nem jó out of band egyébként? inband cuccokkal linux alatt is csak a gond volt.

Oda, hogy az IPMI egy management tool, a homerseklet kiolvasas meg egy sima sensor kiolvasas. Az más kérdés, hogy valszin az IPMI is ugyanonnan olvas. Az ILOM kártyán/modulon van a szervíz proci, ami mindenféle IPMI supportot is ad az OS alá. Ettől in-band és out-of-band a cucc, azaz ILOM.

Azt értem, hogy egy remote management cucc, aminek pl van szenzor olvasási szolgáltatása. A kérdés arra vonatkozott, hogy miért tartjátok ezt szükségesnek az adatok kiolvasásához.

Az előző hozzászólásban igazából azt akartam mondani, hogy ez szoftveresen is megy, akár ipmi szerver is, ha van az OSben driver a chipsethez.

A chipset az nem csinál ilyet, a ventillátorok pl i2c-n vezérelhetők/adnak magukról infót és azzal interfészel a bios is. A diszk keretek is i2c, a táp az nem tudom. Ha ILOM nélküli gépből szeretnéd kiolvasni ezeket, akkor úgy keresgélj, mintha bármilyen Intel alapú gépben akarnád ezt csinálni (bár nem igazán értem, mi értelme), hátha összejön. De amikor benn van az ILOM, akkor minden megváltozik, átveszi a LED-ek és ventillátorok stb vezérlését is (ez nem csak logikailag, hanem elektromosan is értendő), ha oprendszerből akarod elérni ezeket az infókat, akkor is az ILOM-hoz kell majd fordulnod. Az alaplapi cuccok semmilyen IPMI támogatást nem adnak, sőt gyanítom, hogy meg van buherálva az ILOM-mal való együttműködésre és ILOM nélkül még annyira se fog menni, mint egy másfajta (ILOM nélküli) szerverben.

Nekem x2100M2 van, ott ipmi-vel veszek ki ilyen infókat, ilyesmi van:


[auth.gabor@freebsd:~]$ kldstat
Id Refs Address            Size     Name
 5    1 0xfffffffffe636000 16671    ipmi.ko
 6    1 0xfffffffffe3a2000 1c54     smbus.ko

Ezek után az ipmitool-al tudom nézni. Nem kellett semmit játszani, egyszerűen ment.
--
http://wiki.javaforum.hu/confluence-2.10/display/FREEBSD

A driver betöltődik, nem ezzel van aprobléma, de az smb0 sem létezik (amit az ipmi használna ha jól láttam).

Kinomban mindent betöltöttem már...


 8    3 0xffffffff80e4f000 1262     iicbus.ko
 9    1 0xffffffff80e4e000 ed6      iicsmb.ko
10    4 0xffffffff80e51000 878      smbus.ko
12    1 0xffffffff80e53000 1607     iicbb.ko
13    1 0xffffffff80e55000 1af6     intpm.ko
14    1 0xffffffff80e52000 b62      smb.ko
15    1 0xffffffff80e57000 6c34     ipmi.ko

A találomra való driver töltögetésnek hála sikerült /dev/smb0 -t csiholni...


# kldload ichsmb
# kldload smb

Nov  2 17:32:15 bugs kernel: ichsmb0: <SMBus controller> port 0x400-0x41f mem 0xfbdfdc00-0xfbdfdcff irq 18 at device 31.3 on pci0
Nov  2 17:32:15 bugs kernel: ichsmb0: [GIANT-LOCKED]
Nov  2 17:32:15 bugs kernel: ichsmb0: [ITHREAD]
Nov  2 17:32:15 bugs kernel: smbus0: <System Management Bus> on ichsmb0
Nov  2 17:33:32 bugs kernel: smb0: <SMBus generic I/O> on smbus0

Már csak egy baj van... :)


# lmmon
IOCTL: Device not configured

Frako, nálad milyen driverből táplálkozik az smbus?

A coretemp modullal sikerült eddig eljutni. Végül is a cél csak az volt, hogy infót kapjunk a hőmérsékletről...


# kldload coretemp
# sysctl -a |grep temper
dev.cpu.0.temperature: 38
dev.cpu.1.temperature: 39
dev.cpu.2.temperature: 39
dev.cpu.3.temperature: 36
dev.cpu.4.temperature: 39
dev.cpu.5.temperature: 38
dev.cpu.6.temperature: 38
dev.cpu.7.temperature: 38

Persze továbbra is várok javaslatokat több szenzor kiolvasására.

hali kipróbáltam, megy minden kldload ipmi után, de kell hozzá az ILOM.


# kldstat
Id Refs Address            Size     Name
 1    7 0xffffffff80100000 bef6d0   kernel
 2    1 0xffffffff80cf0000 205f8    geom_mirror.ko
 3    1 0xffffffff80e22000 f574b    zfs.ko
 4    1 0xffffffff80f18000 125c     opensolaris.ko
 5    1 0xffffffff80f1a000 6bee     ipmi.ko
 6    1 0xffffffff80f21000 866      smbus.ko
# ipmitool fru 
FRU Device Description : Builtin FRU Device (ID 0)
 Board Mfg Date        : Mon Jan  1 00:00:00 1996
 Board Product         : ASSY,SP BOARD,PCI EXPRESS,G1/2  
 Board Serial          : 0060HSV-0527000355
 Board Part Number     : 105-0687-01
 Board Extra           : 02
 Board Extra           : AST2100A1GP

FRU Device Description : /SYS (ID 3)
 Board Mfg Date        : Mon Jan  1 00:00:00 1996
 Board Product         : ASSY,SUNFIRE_X2270_MAINBOARD
 Board Serial          : 0328MSL-092866044J
 Board Part Number     : 375-3602-01
 Board Extra           : 52
 Board Extra           : Mainboard
 Product Manufacturer  : SUN MICROSYSTEMS
 Product Name          : SUN FIRE X2270 SERVER   
 Product Part Number   : 4449121-1
 Product Serial        : 0935XFF028
 Product Extra         : 080020FFFFFFFFFFFFFF00144FCA9ADA

FRU Device Description : MB (ID 4)
 Board Mfg Date        : Mon Jan  1 00:00:00 1996
 Board Product         : ASSY,SUNFIRE_X2270_MAINBOARD
 Board Serial          : 0328MSL-092866044J
 Board Part Number     : 375-3602-01
 Board Extra           : 52
 Board Extra           : Mainboard
 Product Manufacturer  : SUN MICROSYSTEMS
 Product Name          : SUN FIRE X2270 SERVER   
 Product Part Number   : 4449121-1
 Product Serial        : 0935XFF028
 Product Extra         : 080020FFFFFFFFFFFFFF00144FCA9ADA

FRU Device Description : MB/BIOS (ID 5)
 Product Manufacturer  : AMERICAN MEGATRENDS
 Product Name          : SYSTEM BIOS
 Product Part Number   : AMIBIOS8
 Product Version       : 01011400

FRU Device Description : MB/NET0 (ID 43)
 Product Manufacturer  : INTEL   
 Product Name          : GIGABIT ETHERNET CONTROLLERS
 Product Part Number   : 82575EB
 Product Serial        : 00:14:4F:CA:9A:D8
 Product Extra         : 01
 Product Extra         : 00:14:4F:CA:9A:D8

FRU Device Description : mb.net0.fru (ID 43)
 Product Manufacturer  : INTEL   
 Product Name          : GIGABIT ETHERNET CONTROLLERS
 Product Part Number   : 82575EB
 Product Serial        : 00:14:4F:CA:9A:D8
 Product Extra         : 01
 Product Extra         : 00:14:4F:CA:9A:D8

FRU Device Description : MB/NET1 (ID 44)
 Product Manufacturer  : INTEL   
 Product Name          : GIGABIT ETHERNET CONTROLLERS
 Product Part Number   : 82575EB
 Product Serial        : 00:14:4F:CA:9A:D9
 Product Extra         : 01
 Product Extra         : 00:14:4F:CA:9A:D9

FRU Device Description : mb.net1.fru (ID 44)
 Product Manufacturer  : INTEL   
 Product Name          : GIGABIT ETHERNET CONTROLLERS
 Product Part Number   : 82575EB
 Product Serial        : 00:14:4F:CA:9A:D9
 Product Extra         : 01
 Product Extra         : 00:14:4F:CA:9A:D9

FRU Device Description : /UUID (ID 6)
 Product Extra         : 080020FFFFFFFFFFFFFF00144FCA9ADA

FRU Device Description : SP/NET0 (ID 1)
 Product Manufacturer  : ASPEED
 Product Name          : BMC CONTROLLER
 Product Part Number   : AST2100
 Product Serial        : 00:14:4f:ca:9a:da
 Product Extra         : 01
 Product Extra         : 00:14:4f:ca:9a:da

FRU Device Description : SP/NET1 (ID 2)
 Device not present (Requested sensor, data, or record not found)

FRU Device Description : MB/R/PCIE0 (ID 70)
 Device not present (Requested sensor, data, or record not found)

FRU Device Description : MB/P0 (ID 16)
 Product Manufacturer  : Intel
 Product Name          : Intel(R) Xeon(R) CPU           E5504  @ 2.00GHz
 Product Part Number   : 060A
 Product Version       : 05

FRU Device Description : MB/P1 (ID 17)

FRU Device Description : MB/P0/D0 (ID 24)

FRU Device Description : MB/P0/D1 (ID 25)
 Product Manufacturer  : Samsung
 Product Name          : 2GB DDR3 SDRAM 533
 Product Part Number   : M393B5670DZ1-CF8  
 Product Version       : 00
 Product Serial        : 4607EB8A

FRU Device Description : MB/P0/D2 (ID 26)

FRU Device Description : MB/P0/D3 (ID 27)
 Product Manufacturer  : Samsung
 Product Name          : 2GB DDR3 SDRAM 533
 Product Part Number   : M393B5670DZ1-CF8  
 Product Version       : 00
 Product Serial        : 4607EBC9

FRU Device Description : MB/P0/D4 (ID 28)

FRU Device Description : MB/P0/D5 (ID 29)
 Product Manufacturer  : Samsung
 Product Name          : 2GB DDR3 SDRAM 533
 Product Part Number   : M393B5670DZ1-CF8  
 Product Version       : 00
 Product Serial        : 4607EB86

FRU Device Description : MB/P1/D0 (ID 30)

FRU Device Description : MB/P1/D1 (ID 31)

FRU Device Description : MB/P1/D2 (ID 32)

FRU Device Description : MB/P1/D3 (ID 33)

FRU Device Description : MB/P1/D4 (ID 34)

FRU Device Description : MB/P1/D5 (ID 35)