From owner-freebsd-stable Sun Jun 25 11:52:46 2000 Delivered-To: freebsd-stable@freebsd.org Received: from vega.uli.it (vega.uli.it [62.212.0.2]) by hub.freebsd.org (Postfix) with ESMTP id 69E2C37B52E for ; Sun, 25 Jun 2000 11:52:38 -0700 (PDT) (envelope-from olgeni@uli.it) Received: from olgeni.uli.it (olgeni.uli.it [62.212.0.22]) by vega.uli.it (Postfix) with ESMTP id 644683B00E for ; Sun, 25 Jun 2000 20:52:34 +0200 (CEST) Date: Sun, 25 Jun 2000 20:52:37 +0200 (CEST) From: Jimmy Olgeni X-Sender: olgeni@olgeni.localdomain.net To: freebsd-stable@FreeBSD.ORG Subject: smbus trouble Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello there, I'm a FreeBSD newbie running a 4.0-STABLE system on a K7Pro motherboard (128MB ram). I'm trying to enable the smbus driver to use the temperature / voltage sensors. I enabled the following devices in my kernel: --- device iicbus device iicbb device iic device ic device iicsmb device smbus device intpm device smb device bktr # for Miro TV --- If I boot the system *without* the Miro TV board, the kernel does not detect the smbus: # dmesg | grep smb # If I use the 'consolehm' application from ports/sysutils, it says that /dev/smb0 is not configured, and exits (the file exists in /dev/). If I boot the system *with* the Miro TV, the (same) kernel detectes some smbus devices: --- bktr0: mem 0xeddfd000-0xeddfdfff irq 9 at device 11.0 on pci0 iicbb0: on bti2c0 iicbus0: on iicbb0 master-only iicsmb0: on iicbus0 smbus0: on iicsmb0 smb0: on smbus0 iic0: on iicbus0 smbus1: on bti2c0 smb1: on smbus1 Warning - card vendor 0xbd11 (model 0x1200) unknown. Miro TV, Philips SECAM tuner. --- The Miro TV works fine under X, with fxtv-1.02. If I try to run chm (or chm -I to use the /dev/io interface) I get a kernel panic, trap 12, "supervisor page read, page not present", at address 0x8:0xc019e8f6. 'nm /kernel' returns ... c019e778 T device_get_devclass c019e76c T device_get_driver c019e7c4 T device_get_flags c019e8fc T device_get_ivars c019e784 T device_get_name c019e7a0 T device_get_nameunit ... If I disable the bktr device (and keep the Miro TV) the smbus disappears. If I keep the the bktr device (and remove the Miro TV) the smbus disappears again (!). Did I do something wrong in my kernel configuration? I have a core image in /var/crash but I don't know how to look into it :( Could anybody please help me? Thanks :-) bye, Jimmy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message