NetBSD Problem Report #58345
From paul@whooppee.com Sat Jun 15 05:56:57 2024
Return-Path: <paul@whooppee.com>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
client-signature RSA-PSS (2048 bits) client-digest SHA256)
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id C5C991A9238
for <gnats-bugs@gnats.NetBSD.org>; Sat, 15 Jun 2024 05:56:57 +0000 (UTC)
Message-Id: <20240615055655.6FC295E33C5@speedy.whooppee.com>
Date: Fri, 14 Jun 2024 22:56:55 -0700 (PDT)
From: paul@whooppee.com
Reply-To: paul@whooppee.com
To: gnats-bugs@NetBSD.org
Subject: dwiic(4) not working
X-Send-Pr-Version: 3.95
>Number: 58345
>Category: kern
>Synopsis: dwiic(4) not working very well
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jun 15 06:00:00 +0000 2024
>Last-Modified: Sat Jun 15 15:35:01 +0000 2024
>Originator: Paul Goyette
>Release: NetBSD 10.99.10
>Organization:
+---------------------+--------------------------+----------------------+
| Paul Goyette (.sig) | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | 1B11 1849 721C 56C8 F63A | paul@whooppee.com |
| Software Developer | 6E2E 05FD 15CE 9F2D 5102 | pgoyette@netbsd.org |
| & Network Engineer | | pgoyette99@gmail.com |
+---------------------+--------------------------+----------------------+
>Environment:
System: NetBSD speedy.whooppee.com 10.99.10 NetBSD 10.99.10 (SPEEDY 2024-06-10 11:37:53 UTC) #0: Mon Jun 10 13:21:14 UTC 2024 paul@speedy.whooppee.com:/build/netbsd-local/obj/amd64/sys/arch/amd64/compile/SPEEDY amd64
Architecture: x86_64
Machine: amd64
>Description:
The dwiic(4) device attaches successfully. However when the bus is scanned
for child devices, it fails miserably. Normally I have no devices attached
to the i2c bus on this machine. Atempting to load the spdmem and sdtemp
modules (which tries to attach child devices to the i2c bus) results in
the following messages:
[ 66.744297] dwiic0: timed out waiting for rx_full intr
[ 66.744297] dwiic0: timed out reading remaining 0
[ 67.244290] dwiic0: timed out waiting for rx_full intr
[ 67.244290] dwiic0: timed out reading remaining 0
A total of 320 pairs of waiting/reading lines occurs, and sometimes
the error is `...remaining 1' rather than 0.
It appears that no i2c transactions ever complete, and none of the
child devices gets attached.
>How-To-Repeat:
>Fix:
Please.
>Release-Note:
>Audit-Trail:
From: Paul Goyette <paul@whooppee.com>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: kern/58345: dwiic(4) not working
Date: Sat, 15 Jun 2024 08:33:20 -0700 (PDT)
At the suggestion of another developer, here is ths information about
the attachment of the dwiic(4) device itself:
dwiic0 at acpi0 (I2CA, AMDI0010-0): mem 0xfedc2000-0xfedc2fff irq 10
resource type 0x11 ignored
resource type 0x11 ignored
resource type 0x11 ignored
resource type 0x11 ignored
iic0 at dwiic0: I2C bus
RHPX (MSFT8000) at iic0 addr 0x4e not configured
PDEV (ITE8853) at iic0 addr 0x4e not configured
CCG2 (CYP0002) at iic0 addr 0x08 not configured
The machine also has other iic busses attached, neither of which have
any children.
piixpm0 at pci0 dev 20 function 0: vendor 1022 product 790b (rev. 0x71)
piixpm0: interrupting at SMI,
iic1 at piixpm0 port 0: I2C bus
iic2 at piixpm0 port 1: I2C bus
+---------------------+--------------------------+----------------------+
| Paul Goyette (.sig) | PGP Key fingerprint: | E-mail addresses: |
| (Retired) | 1B11 1849 721C 56C8 F63A | paul@whooppee.com |
| Software Developer | 6E2E 05FD 15CE 9F2D 5102 | pgoyette@netbsd.org |
| & Network Engineer | | pgoyette99@gmail.com |
+---------------------+--------------------------+----------------------+
>Unformatted:
(Contact us)
$NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.