Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 2000 16:47:45 +0200
From:      Michel Talon <michel@lpthe.jussieu.fr>
To:        stable@FreeBSD.ORG
Subject:   Re: can't use the smb-device :(
Message-ID:  <20000912164745.A910@lpthe.jussieu.fr>
In-Reply-To: <200009121410.e8CEAKj52623@aldan.algebra.com>
References:  <200009121410.e8CEAKj52623@aldan.algebra.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 12, 2000 at 10:10:09AM -0400, Mikhail Teterin wrote:
> Hello!
> 
> I'm trying to monitor the inside  temperature of the computer with lmmon
> or chm. They both say that smb-device read fails: from ktrace-ing lmmon:
> 
> 	2743 lmmon    CALL  open(0x80490d5,0x2,0x80490cc)
> 	2743 lmmon    NAMI  "/dev/smb0"
> 	2743 lmmon    RET   open 3
> 	2743 lmmon    CALL  ioctl(0x3,SMB_READB,0xbfbff6cc)
> 	2743 lmmon    RET   ioctl -1 errno 6 Device not configured
> 
> In other words,  it can be opened alright (confirmed  also with a simple
> ``time < /dev/smb0''), but can not be ioctl-ed.


I can add a me too here. I have ktraced lmmon and get the same result.
For reference my motherboard is ASUSP2L97

However lmmon -i works.

On my laptop neither lmmon nor lmmon -i work.

> 
> Here  is the  dmesg part,  which  lists the  smb and  intpm devices  and
> friends:
> 
> 	intpm0: <Intel 82371AB Power management controller> \
> 					port 0x2180-0x218f \
> 					irq 9 at device 18.3 on pci0
> 	intpm0: I/O mapped 2180
> 	intpm0: intr IRQ 9 enabled revision 0
> 	smbus0: <System Management Bus> on intsmb0
> 	smb0: <SMBus general purpose I/O> on smbus0
> 	intpm0: PM I/O mapped c00
> 

Here is mine:

intpm0: <Intel 82371AB Power management controller> port 0xe800-0xe80f irq 9
at device 4.3 on pci0
intpm0: I/O mapped e800
intpm0: intr IRQ 9 enabled revision 0
smbus0: <System Management Bus> on intsmb0
smb0: <SMBus general purpose I/O> on smbus0
intpm0: PM I/O mapped e400 

> The iic* are compiled into kernel, but not listed by dmesg -- don't know
> how important they are:
> 
> 	device	iicbus	# Bus support, required for ic/iic/iicsmb below.
> 	device	iicbb
> 	device	iic
> 	device	iicsmb	# smb over i2c bridge
> 
> I tried  commenting them out, which  made the kernel 100Kb  smaller, but
> did not help lmmon a bit.

-- 
Michel Talon


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000912164745.A910>