Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Sep 2006 01:32:08 +0300 (EEST)
From:      Dmitry Pryanishnikov <dmitry@atlantis.dp.ua>
To:        John Baldwin <jhb@freebsd.org>
Cc:        cvs-src@freebsd.org, freebsd-stable@freebsd.org
Subject:   SMBus regression (Re: cvs commit: src/sys/dev/bktr bktr_i2c.c bktr_i2c.h src/sys/dev/ichsmb ichsmb.c...
Message-ID:  <20060926011834.H69674@atlantis.atlantis.dp.ua>
In-Reply-To: <200609221919.k8MJJGmW048924@repoman.freebsd.org>
References:  <200609221919.k8MJJGmW048924@repoman.freebsd.org>

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

Hello!

On Fri, 22 Sep 2006, John Baldwin wrote:
>jhb         2006-09-22 19:19:16 UTC
>
>  FreeBSD src repository
>
>  Modified files:        (Branch: RELENG_6)
>    sys/dev/bktr         bktr_i2c.c bktr_i2c.h
>    sys/dev/ichsmb       ichsmb.c
>    sys/dev/iicbus       iicsmb.c
>    sys/dev/smbus        smb.c smb.h smbconf.c smbconf.h smbus.c
>                         smbus.h smbus_if.m
>    sys/pci              alpm.c amdpm.c amdsmb.c intpm.c nfsmb.c
>                         viapm.c
>  Log:
>  MFC: Minor overhaul of SMBus support including:

   This commit has broken SMBus attachment at least on ICH4; boot messages
difference (diff -u old new) gives only 1 line missing:

  ichsmb0: <Intel 82801DC (ICH4) SMBus controller> port 0xe000-0xe01f irq 17 at
    device 31.3 on pci0
  ichsmb0: [GIANT-LOCKED]
  smbus0: <System Management Bus> on ichsmb0
-smb0: <SMBus generic I/O> on smbus0

So with the new SMBus modules smb0 no longer attaches to the smbus0 despite
having all 3 modules loaded as before:

dmitry@homelynx$ kldstat|grep smb
21    3 0xc07b9000 29ac     smbus.ko
23    1 0xc07c0000 4ff8     ichsmb.ko
45    1 0xc6974000 3000     smb.ko

After reverting the contents of /sys/dev/{ichsmb,smbus} to the pre-commit 
state (date=2006.09.22.19.19.00) and recompiling the modules (smbus, ichsmb,
smb) I've got working SMBus subsystem again. Please look into this problem.

Sincerely, Dmitry
-- 
Atlantis ISP, System Administrator
e-mail:  dmitry@atlantis.dp.ua
nic-hdl: LYNX-RIPE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060926011834.H69674>