BTW, this is from sources cvsup'd at 3:00 this afternoon, Fri, March 24.
Out of the ether, Chris D. Faulhaber spewed forth the following bitstream:
> > On a dual PII system, access to /dev/smb0 (system management bus) by
> > wmhm (/usr/ports/sysutils/wmhm) or gkrellm (/usr/ports/sysutils/gkrellm)
> > causes an immediate system panic.
> I got similiar panics when I was working on my {wm}lmmon ports. You need:
>
> device intpm
Even with:
device smbus # Bus support, required for smb below.
device intpm
device alpm
device smb
device iicbus # Bus support, required for ic/iic/iicsmb
below.
device iicbb
device ic
device iic
device iicsmb # smb over i2c bridge
And finding:
iicbb0: <I2C generic bit-banging driver> on bti2c0
iicbus0: <Philips I2C bus> on iicbb0 master-only
iicsmb0: <I2C to SMB bridge> on iicbus0
smbus0: <System Management Bus> on iicsmb0
smb0: <SMBus general purpose I/O> on smbus0
iic0: <I2C general purpose I/O> on iicbus0
smbus1: <System Management Bus> on bti2c0
smb1: <SMBus general purpose I/O> on smbus1
It still panics:
#0 boot (howto=256) at ../../kern/kern_shutdown.c:304
#1 0xc018041c in poweroff_wait (junk=0xc032e60f, howto=-936382208)
at ../../kern/kern_shutdown.c:554
#2 0xc02d4f23 in trap_fatal (frame=0xc8327c54, eva=64)
at ../../i386/i386/trap.c:924
#3 0xc02d4bb9 in trap_pfault (frame=0xc8327c54, usermode=0, eva=64)
at ../../i386/i386/trap.c:817
#4 0xc02d47b7 in trap (frame={tf_fs = 24, tf_es = -1055850480,
tf_ds = 16777232, tf_edi = 0, tf_esi = -1056946688, tf_ebp = -936215404,
tf_isp = -936215424, tf_ebx = -1063630272, tf_edx = -1056996864,
tf_ecx = -1056946688, tf_eax = 0, tf_trapno = 12, tf_err = 0,
tf_eip = -1072138890, tf_cs = 8, tf_eflags = 66118, tf_esp = -936215380,
tf_ss = -1072271193}) at ../../i386/i386/trap.c:423
#5 0xc0187576 in device_get_softc (dev=0x0) at ../../kern/subr_bus.c:982
#6 0xc01670a7 in smbus_request_bus (bus=0x0, dev=0xc1004600, how=3)
at ../../dev/smbus/smbconf.c:131
#7 0xc0230f3c in bti2c_iic_callback (dev=0xc1004600, index=1, data=0xc8327d38)
at ../../dev/bktr/bktr_i2c.c:265
#8 0xc016909c in IICBB_CALLBACK (dev=0xc1004600, index=1,
data=0xc8327d38 "\003") at iicbb_if.c:27
#9 0xc0168e9e in iicbb_callback (dev=0xc1004580, index=1,
data=0xc8327d38 "\003") at ../../dev/iicbus/iicbb.c:236
#10 0xc01698d0 in IICBUS_CALLBACK (dev=0xc1004580, index=1,
data=0xc8327d38 "\003") at iicbus_if.c:37
#11 0xc0169aed in iicbus_request_bus (bus=0xc1004500, dev=0xc1004480, how=3)
at ../../dev/iicbus/iiconf.c:108
#12 0xc01692c8 in iicsmb_callback (dev=0xc1004480, index=1,
data=0xc8327d88 "\003") at ../../dev/iicbus/iicsmb.c:242
#13 0xc0166c98 in SMBUS_CALLBACK (dev=0xc1004480, index=1,
data=0xc8327d88 "\003") at smbus_if.c:37
#14 0xc01670c1 in smbus_request_bus (bus=0xc1004380, dev=0xc1004300, how=3)
at ../../dev/smbus/smbconf.c:136
#15 0xc01673bc in smbioctl (dev=0xc1004280, cmd=2148821255,
data=0xc8327ebc "GP\006(Pú¿¿Z\222\004\b\013ù¿¿¤ú¿¿\020´\206À Á8À7",
flags=1, p=0xc82ff100) at ../../dev/smbus/smb.c:202
#16 0xc01b5c26 in spec_ioctl (ap=0xc8327df8)
at ../../miscfs/specfs/spec_vnops.c:304
#17 0xc01b5951 in spec_vnoperate (ap=0xc8327df8)
at ../../miscfs/specfs/spec_vnops.c:117
#18 0xc026f039 in ufs_vnoperatespec (ap=0xc8327df8)
at ../../ufs/ufs/ufs_vnops.c:2301
#19 0xc01b0d64 in vn_ioctl (fp=0xc110c300, com=2148821255,
data=0xc8327ebc "GP\006(Pú¿¿Z\222\004\b\013ù¿¿¤ú¿¿\020´\206À Á8À7",
p=0xc82ff100) at vnode_if.h:429
#20 0xc018d8ef in ioctl (p=0xc82ff100, uap=0xc8327f80) at ../../sys/file.h:171
#21 0xc02d51aa in syscall (frame={tf_fs = 47, tf_es = 47, tf_ds = 47,
tf_edi = -1077937696, tf_esi = 134543628, tf_ebp = -1077937888,
tf_isp = -936214572, tf_ebx = -1077937500, tf_edx = 4,
tf_ecx = 672750752, tf_eax = 54, tf_trapno = 12, tf_err = 2,
tf_eip = 672513808, tf_cs = 31, tf_eflags = 659, tf_esp = -1077937948,
tf_ss = 47}) at ../../i386/i386/trap.c:1073
#22 0xc02c32b1 in Xint0x80_syscall ()
#23 0x8049255 in ?? ()
#24 0x8048d9d in ?? ()
PGP signature