From owner-freebsd-stable Tue Sep 12 7:47:58 2000 Delivered-To: freebsd-stable@freebsd.org Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by hub.freebsd.org (Postfix) with ESMTP id DAFE037B424 for ; Tue, 12 Sep 2000 07:47:49 -0700 (PDT) Received: from parthe.lpthe.jussieu.fr (parthe.lpthe.jussieu.fr [134.157.10.1]) by shiva.jussieu.fr (8.10.0/jtpda-5.3.3) with ESMTP id e8CElj906671 for ; Tue, 12 Sep 2000 16:47:45 +0200 (CEST) Received: from rose.lpthe.jussieu.fr ([134.157.10.102]) by parthe.lpthe.jussieu.fr (8.9.1a/jtpda-5.3.1) with ESMTP id QAA19693 for ; Tue, 12 Sep 2000 16:47:45 +0200 (MET DST) Received: (from michel@localhost) by rose.lpthe.jussieu.fr (8.9.3/8.9.3) id QAA00936 for stable@FreeBSD.ORG; Tue, 12 Sep 2000 16:47:45 +0200 (CEST) (envelope-from michel) Date: Tue, 12 Sep 2000 16:47:45 +0200 From: Michel Talon To: stable@FreeBSD.ORG Subject: Re: can't use the smb-device :( Message-ID: <20000912164745.A910@lpthe.jussieu.fr> Mail-Followup-To: stable@FreeBSD.ORG References: <200009121410.e8CEAKj52623@aldan.algebra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <200009121410.e8CEAKj52623@aldan.algebra.com> Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: \ > port 0x2180-0x218f \ > irq 9 at device 18.3 on pci0 > intpm0: I/O mapped 2180 > intpm0: intr IRQ 9 enabled revision 0 > smbus0: on intsmb0 > smb0: on smbus0 > intpm0: PM I/O mapped c00 > Here is mine: intpm0: port 0xe800-0xe80f irq 9 at device 4.3 on pci0 intpm0: I/O mapped e800 intpm0: intr IRQ 9 enabled revision 0 smbus0: on intsmb0 smb0: 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