From owner-freebsd-smp Fri Dec 7 15:49:32 2001 Delivered-To: freebsd-smp@freebsd.org Received: from boreas.isi.edu (boreas.isi.edu [128.9.160.161]) by hub.freebsd.org (Postfix) with ESMTP id 3D2C737B416 for ; Fri, 7 Dec 2001 15:49:29 -0800 (PST) Received: from isi.edu (3uhc5m9cut1229y2@hbo.isi.edu [128.9.160.75]) by boreas.isi.edu (8.11.6/8.11.2) with ESMTP id fB7NnHN04665; Fri, 7 Dec 2001 15:49:17 -0800 (PST) Message-ID: <3C11557C.50005@isi.edu> Date: Fri, 07 Dec 2001 15:49:16 -0800 From: Lars Eggert User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.6) Gecko/20011203 X-Accept-Language: en, de MIME-Version: 1.0 To: Srinivas Dharmasanam Cc: sthaug@nethelp.no, j.saito@wanadoo.fr, dscheidt@enteract.com, freebsd-smp@FreeBSD.ORG Subject: Re: SMB driver on SMP FreeBSD4.2 References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Srinivas Dharmasanam wrote: > The SMB driver on FreeBSD 4.2 system doesnt seem to function work on an > SMP kernel. Any ioctl() call on the /dev/smb0 on an SMP kernel results > in a "device not configured" error message. > > To reproduce this problem, just try running any of the system BIOS stats > monitoring utilities such as, healthd, lmmon, etc. on an SMP 4.2 FreeBSD > system. I've run into this also. Some additional info: 1. This is still an issue with 4.4-RELEASE. 2. This is *not* limited to SMP kernels - it doesn't work on my laptop either. 3. (Somewhat tangential) All SMBus utils assume the system has only one SMBus - this is not always true (see below). I have two systems running 4.4 that have SMBus chips in them, both don't work. First system is a SMP Dell Precision, relevant dmesg info: bktr0: mem 0xf6001000-0xf6001fff irq 13 at device 9.0 on pci2 smb0: on smbus0 bktr0: Hauppauge Model 61381 D423 bktr0: Detected a MSP3430G-A4 at 0x80 bktr0: Hauppauge WinCast/TV, Philips FR1236 NTSC FM tuner, msp3400c stereo, remote control. ichsmb0: port 0xdcd0-0xdcdf irq 13 at device 31.3 on pci0 smbus1: on ichsmb0 smb1: on smbus1 Second system is a Dell Latitude C600 laptop, relevant dmesg info: apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 intpm0: port 0x840-0x84f irq 9 at device 7.3 on pci0 intpm0: I/O mapped 840 intpm0: intr IRQ 9 enabled revision 0 smbus0: on intsmb0 smb0: on smbus0 intpm0: PM I/O mapped 800 Lars -- Lars Eggert Information Sciences Institute http://www.isi.edu/larse/ University of Southern California To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message