SMBus and mbmon

Scott Sipe cscotts at mindspring.com
Mon May 8 09:10:10 UTC 2006


First time I've tried to access smb devices or used mbmon, so  
apologies if this is very stupid.


Running 6.0-stable (from awhile ago, December) on an Intel server  
motherboard. In the boot dmesg I get this line:

pci0: <serial bus, SMBus> at device 31.3 (no driver attached)

I have nothing relating to SMB compiled in my kernel.

I do "kldload ichsmb"

ichsmb0: <Intel 6300ESB (ICH) SMBus controller> port 0x400-0x41f irq  
17 at device 31.3 on pci0
ichsmb0: [GIANT-LOCKED]
smbus0: <System Management Bus> on ichsmb0

  then "kldload smb"

smb1: <SMBus generic I/O> on smbus0
smb0: <SMBus generic I/O> on smbus0

There are now the twoce devices in /dev, however, whenever I try to  
run mbmon I get

# mbmon -S -s0 -d
ioctl(smb0:writebyte): Device not configured

(same result for s1 to try smb1)

If I unload all the SMB related modules and run mbmon, I get

# mbmon -d
ioctl(smb0:open): No such file or directory
SMBus[Intel8XX(ICH/ICH2/ICH3/ICH4/ICH5/ICH6)] found, but No HWM  
available on it!!
Using ISA-IO access method!!
* Winbond Chip W83627HF/THF/THF-A found.

and just running mbmon gives an output

# mbmon
ioctl(smb0:open): No such file or directory

Temp.= 127.0, 115.0, 127.0; Rot.=    0, 1834, 2812
Vcore = 0.00, 1.17; Volt. = 3.33, 5.00, 12.22,   1.62,  0.23

[etc]

So I'm not sure what's going on. Is the existence of smb devices  
important? Do I get better monitoring?

Scott


More information about the freebsd-questions mailing list