From owner-freebsd-mips@freebsd.org Mon Jul 8 20:44:30 2019 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 887AE15E9780 for ; Mon, 8 Jul 2019 20:44:30 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound2m.ore.mailhop.org (outbound2m.ore.mailhop.org [54.149.155.156]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A9C7B8B839 for ; Mon, 8 Jul 2019 20:44:29 +0000 (UTC) (envelope-from ian@freebsd.org) ARC-Seal: i=1; a=rsa-sha256; t=1562617698; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=B0w9Us5ZM4wOS1GLhfjmxtH9XuK4QzJa969kPkGcgFFEAXIcl2CnqhY4uDFcVo4VJVMJ79B9gCjDu y5PVcjuavK7EfJ3YpdjzBVeHpHc20K8tW5t3xOiHygA+bGfbrJYuPc96cAufgeGBcwYsdg6dPimJaP YhMt8xw0sR8s0dGnl5FbS5oQi6XsOVWU3XcarkEIkjqgo3lgYdyx0yjs4c0a9LWYm+HmHi/cDLUSRS DIWVhAehuhSmJ1XQEUqk8Dq7R7CSPV514kmBRvjKlnQdTeG3bwUW1yQ5pOiL4P0xuCYvkSY+Bg4MHM OeCHaEjmso1bEHyB3fG9LR33ByEr8aQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:dkim-signature:from; bh=aEqeNRbjE/T0CjETWIINnXDuaI44F1OsvAmsLx25OFA=; b=dMwpN0po1Ov4ewmOHCCyUZtnOXqpZxZY0GbeFg5SgLiahrFwlxogYoZXPGiDVSWNaNqpCCpljwYUl soCJ6/Bnsvt1vcQsO/WFiDU9RrIaPMGNtoq0wjwL9ayZ3rAYlB4SQmlHDmSfFOZQCUz5wJgR4V5G5J XmkPMuUz+FHP3wV0GYF2YzNqikSbQaCi6nG5XkBvDbEjQT/WSLKD63Juc9zT0E2znL4YXKMIsl938P bnFoFMUKHtbIM0kYSxMcjxXR1pjDLB1canb1GpMbZjwu7gYa3MMlONeqSmHxDbfLJpQaa+sCUiZT7+ bL5bvxVpwnxRoIR4KSs2/XTob4UGaQQ== ARC-Authentication-Results: i=1; outbound4.ore.mailhop.org; spf=softfail smtp.mailfrom=freebsd.org smtp.remote-ip=67.177.211.60; dmarc=none header.from=freebsd.org; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:mime-version:content-type:references:in-reply-to: date:to:from:subject:message-id:from; bh=aEqeNRbjE/T0CjETWIINnXDuaI44F1OsvAmsLx25OFA=; b=IGX+1GoydPt8uJUolGM2o/8SgHAX17IPaq53hRDTY4478v4ru/XNuMMxwk9tt6rO6xEAP4ew1B5Zs NQ+s4JDfwVy94pwo+JipaxtLMlVKOioPHjsRwbQ/xtQP1TWfp1698R59873qQn1cNARDAAPs9MFumO 6TpFIzKXpuZvjBHPA3bEwFe27CqoYOmYVtT6hO8bJNDx8p3E2NJPPj1nt33watlu4cBquxqd0OdL0q RV4N8nQ9X/hMJZTjhCpRPYzAeOOBPqlQ3SleuX/P5zOj9zF3qMEfZ7dXI6tdVbcLIdkvMC0edleKNB AAdg27BPGVeFxLChWTruYOgsAETVJfw== X-MHO-RoutePath: aGlwcGll X-MHO-User: ea364fc9-a1be-11e9-a8c1-3d908105d9db X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 67.177.211.60 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [67.177.211.60]) by outbound4.ore.mailhop.org (Halon) with ESMTPSA id ea364fc9-a1be-11e9-a8c1-3d908105d9db; Mon, 08 Jul 2019 20:28:17 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id x68KSFrC005293; Mon, 8 Jul 2019 14:28:15 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <9b79447e8b6311ea5a1bc7843b589dd6bb0e61f8.camel@freebsd.org> Subject: Re: panic on 13-CURRENT From: Ian Lepore To: Mori Hiroki , "freebsd-mips@freebsd.org" Date: Mon, 08 Jul 2019 14:28:15 -0600 In-Reply-To: <509265059.344183.1562613041849.JavaMail.yahoo@jws704001.mail.kks.yahoo.co.jp> References: <575189220.318858.1562577407386.JavaMail.yahoo.ref@jws704003.mail.kks.yahoo.co.jp> <575189220.318858.1562577407386.JavaMail.yahoo@jws704003.mail.kks.yahoo.co.jp> <76d35d595aa4b1ede98157b8b4210dd7e60ca52e.camel@freebsd.org> <509265059.344183.1562613041849.JavaMail.yahoo@jws704001.mail.kks.yahoo.co.jp> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 FreeBSD GNOME Team Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: A9C7B8B839 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.99 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.991,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; ASN(0.00)[asn:16509, ipnet:54.148.0.0/15, country:US] X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Jul 2019 20:44:30 -0000 On Tue, 2019-07-09 at 04:10 +0900, Mori Hiroki wrote: > Hi > > Thanks for your reply. > > I do comment out device_busy() and device_unbusy() then work fine. > > http://dmesgd.nycbug.org/index.cgi?do=view&id=5050 > > Hiroki Mori > > ----- Original Message ----- > > From: Ian Lepore > > To: Mori Hiroki ; "freebsd-mips@freebsd.org" > > Cc: > > Date: 2019/7/9, Tue 01:15 > > Subject: Re: panic on 13-CURRENT > > > > On Mon, 2019-07-08 at 18:16 +0900, Mori Hiroki wrote: > > > Hi > > > > > > I try to 13-CURRENT today. > > > > > > I have panic on Atheros target. > > > > > > [...] > > > gpioiic0: at pins 19-20 on gpiobus0 > > > gpioiic0: SCL pin: 20, SDA pin: 19 > > > iicbb0: on gpioiic0 > > > iicbus0: on iicbb0 master-only > > > iic0: on iicbus0 > > > panic: device_busy: called for unattached device > > > time = 1 > > > KDB: enter: panic > > > [ thread pid 0 tid 100000 ] > > > Stopped at _DYNAMIC_LINKING+0x3: > > > db> > > > > > > > I think I figured it out... the rtl8366rb driver is doing IO in its > > probe routine, which means the device isn't attached yet. Now I just > > have to figure out how to fix it. Reverting r348164 will get you past > > the error and let you test other things while I work on it. > > > > -- Ian > > > This should now be fixed in r349850. Sorry for the breakage. -- Ian