Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jun 2000 20:52:37 +0200 (CEST)
From:      Jimmy Olgeni <olgeni@uli.it>
To:        freebsd-stable@FreeBSD.ORG
Subject:   smbus trouble
Message-ID:  <Pine.BSF.4.21.0006251410280.340-100000@olgeni.localdomain.net>

next in thread | raw e-mail | index | archive | help


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: <BrookTree 878> mem 0xeddfd000-0xeddfdfff irq 9 at device 11.0 on pci0
iicbb0: <I2C generic bit-banging driver> on bti2c0
iicbus0: <Philips I2C bus> on iicbb0 master-only
iicsmb0: <I2C to SMB bridge> on iicbus0
smbus0: <System Management Bus> on iicsmb0
smb0: <SMBus general purpose I/O> on smbus0
iic0: <I2C general purpose I/O> on iicbus0
smbus1: <System Management Bus> on bti2c0
smb1: <SMBus general purpose I/O> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0006251410280.340-100000>