From owner-freebsd-stable@FreeBSD.ORG Tue Aug 12 06:12:31 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BEF3037B401 for ; Tue, 12 Aug 2003 06:12:31 -0700 (PDT) Received: from pcwin002.win.tue.nl (pcwin002.win.tue.nl [131.155.71.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8DC643FA3 for ; Tue, 12 Aug 2003 06:12:30 -0700 (PDT) (envelope-from stijn@pcwin002.win.tue.nl) Received: from pcwin002.win.tue.nl (orb_rules@localhost [127.0.0.1]) by pcwin002.win.tue.nl (8.12.9/8.12.9) with ESMTP id h7CDDNKj029702; Tue, 12 Aug 2003 15:13:23 +0200 (CEST) (envelope-from stijn@pcwin002.win.tue.nl) Received: (from stijn@localhost) by pcwin002.win.tue.nl (8.12.9/8.12.9/Submit) id h7CDDNvg029701; Tue, 12 Aug 2003 15:13:23 +0200 (CEST) Date: Tue, 12 Aug 2003 15:13:23 +0200 From: Stijn Hoop To: Igor Pokrovsky , freebsd-stable@freebsd.org Message-ID: <20030812131323.GX59732@pcwin002.win.tue.nl> References: <20030811082047.GA2111@exmatis1.cnrm.meteo.fr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZG+WKzXzVby2T9Ro" Content-Disposition: inline In-Reply-To: <20030811082047.GA2111@exmatis1.cnrm.meteo.fr> User-Agent: Mutt/1.4.1i X-Bright-Idea: Let's abolish HTML mail! Subject: Re: support of SMBus on ICH3 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2003 13:12:32 -0000 --ZG+WKzXzVby2T9Ro Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Mon, Aug 11, 2003 at 10:20:47AM +0200, Igor Pokrovsky wrote: > I have problems with enabling support for SMBus on STABLE. > My motherboard is ICH3 (82801CA). > > As suggested in LINT I added 3 lines to my kernel config: > > device smbus > device ichsmb > device smb > > But after compiling, installing and rebooting /dev/smb[01] are > not available and no changes in kernel startup messages either. > So I assume something hasn't been detected. I will provide any > additional info if needed. > > Any suggestion or thoughts? Well FWIW I'm seeing the same on -CURRENT as of yesterday, on a laptop. The strange thing is that Intel's ICH3-M documentation says that it supports SMBus, but the device/function number (which should be D31:F3 according to = my spec) isn't even listed in my pciconf -l output :( Furthermore I don't get any expected value when using pciconf -r: [stijn@pounce] <~> sudo pciconf -r -h pci0:31:3 00 ffff [stijn@pounce] <~> sudo pciconf -r -h pci0:31:3 02 ffff which should have been 8086 / 2483. Admittedly know about this >< much about PCI configuration, but somehow I suspect that the SMBus feature is optional on ICH3 motherboards, or it needs to be turned on explicitly somehow during the boot. Anyone got any more clu= e? > # dmesg: > atapci0: port 0x8400-0x840f,0x8800-0x8803,= 0x9000-0x9007,0x9400-0x9403,0x9800-0x9807 mem 0xd5800000-0xd58003ff irq 9 a= t device 31.1 on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 I would expect the SMBus controller to show up here (... at device 31.3 on pci0) but like my dmesg it doesn't. > pci0: (vendor=3D0x8086, dev=3D0x2486) at 31.6 irq 11 This is actually the ICH3 AC '97 modem interface, which gets detected as 'none0@pci0:31:6' on my laptop. Like Igor, more info available on request. --Stijn --=20 "Well," Brahma said, "even after ten thousand explanations, a fool is no wiser, but an intelligent man requires only two thousand five hundred." -- The Mahabharata. --ZG+WKzXzVby2T9Ro Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/OOfzY3r/tLQmfWcRAlCkAKCMq3tHKGT2l9l6VXOmZ3WtiFRgewCfaHUs yG4oCYfPEB4YCupXTDcSrGc= =J3Cg -----END PGP SIGNATURE----- --ZG+WKzXzVby2T9Ro--