From owner-freebsd-current@FreeBSD.ORG Mon Jun 20 14:42:32 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B283106564A; Mon, 20 Jun 2011 14:42:32 +0000 (UTC) (envelope-from damjan.marion@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 5EFF98FC14; Mon, 20 Jun 2011 14:42:31 +0000 (UTC) Received: by wwe6 with SMTP id 6so1775287wwe.31 for ; Mon, 20 Jun 2011 07:42:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer; bh=WXfdVK5B5fF9qpRa/f5HCIGiI1x3LIC61c/qRVMm5R4=; b=i/jtW2h89FQS5fS7sSmyNF/efMrFM3ENYlR6we8vtOk/sxWOgAvHnIVUycu1/Kapbj t9FJBuvFgKqoEm2IajOn6DBLDzOkJ6TaeYkYY6zTJtbVsmp5M/BwRZaDBukE34nbK/Cx z5QaVS7tVbyLxvSORSjRFfWylyOgqZiADLEJQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=KCJP6xUgSaVkTTsFgDZPgVBcPZIA1cpxOThgjpj/Er6pKjjGdtghhRMieBfa5gZYNo ZNKZc/pL7en4IoR0D8ApFRPZwh/3lU3FYsIbi1m29kHAu5GEeS5jCDKk03nQ6LTb5/EX SiaNuiXphC7jO8VYUFHtk8H+zMJ++rxn+ZteU= Received: by 10.216.63.17 with SMTP id z17mr4446817wec.98.1308580950302; Mon, 20 Jun 2011 07:42:30 -0700 (PDT) Received: from [192.168.123.4] (cpe-109-60-79-155.zg3.cable.xnet.hr [109.60.79.155]) by mx.google.com with ESMTPS id ge4sm3237513wbb.13.2011.06.20.07.42.28 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 20 Jun 2011 07:42:29 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Damjan Marion In-Reply-To: <201106200851.56335.jhb@freebsd.org> Date: Mon, 20 Jun 2011 16:42:27 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <39B39C1D-4584-4223-8BF0-C106B5D1CFE3@gmail.com> References: <5BEF0D0F-3717-42CE-ADF7-8876558004CA@gmail.com> <201106171721.50686.jhb@freebsd.org> <27649E5F-4EEC-4796-ACC6-5548780BF825@gmail.com> <201106200851.56335.jhb@freebsd.org> To: John Baldwin X-Mailer: Apple Mail (2.1084) Cc: freebsd-current@freebsd.org Subject: Re: atkbdc broken on current ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jun 2011 14:42:32 -0000 On Jun 20, 2011, at 2:51 PM, John Baldwin wrote: > On Sunday, June 19, 2011 7:05:04 pm Damjan Marion wrote: >>=20 >> On Jun 17, 2011, at 11:21 PM, John Baldwin wrote: >>=20 >>> On Friday, May 06, 2011 11:47:33 am John Baldwin wrote: >>>> On Thursday, May 05, 2011 5:04:54 pm Damjan Marion wrote: >>>>>=20 >>>>> On May 5, 2011, at 7:43 PM, John Baldwin wrote: >>>>>=20 >>>>>> On Thursday, May 05, 2011 9:21:04 am Damjan Marion wrote: >>>>>>>=20 >>>>>>> Hi, >>>>>>>=20 >>>>>>> I have issue with old HP DL380G3 server. When I use ILO virtual = console to=20 >>>>>> manage server. Seems that 9-CURRENT fails to detect atkbdc. >>>>>>> When I boot 8.2-RELEASE it works well. >>>>>>>=20 >>>>>>> 8.2 dmesg shows: >>>>>>>=20 >>>>>>> atkbdc0: port 0x60,0x64 irq 1 on = acpi0 >>>>>>>=20 >>>>>>> 9.0: >>>>>>>=20 >>>>>>> atkbdc0: failed to probe at port = 0x60 on isa0 >>>>>>>=20 >>>>>>> Is this a known issue? >>>>>>>=20 >>>>>>> Should I enable some additional outputs, like KBDIO_DEBUG? >>>>>>=20 >>>>>> I suspect this is a resource issue stemming from changes I made = to the acpi(4)=20 >>>>>> bus driver quite a while ago to make it use = rman_reserve_resource(). Can you >>>>>> capture a full verbose dmesg from 9 along with devinfo -rv and = devinfo -ur=20 >>>>>> output from 9? >>>>>=20 >>>>> Here it is: >>>>>=20 >>>>> http://web.me.com/dmarion/atkbdc.txt >>>>=20 >>>> Ohh, hmm. Your BIOS has done "odd" things: >>>>=20 >>>> isab0 pnpinfo vendor=3D0x1166 device=3D0x0201 = subvendor=3D0x1166 subdevice=3D0x0201 class=3D0x060100 at slot=3D15 = function=3D0=20 > handle=3D\_SB_.PCI0.IBRG >>>> isa0 >>>> I/O ports: >>>> 0x0-0xf >>>> 0x20-0x21 >>>> 0x40-0x43 >>>> 0x60 >>>> 0x61 >>>> 0x64 >>>> 0x80-0x8f >>>> 0xa0-0xa1 >>>> 0xc0-0xdf >>>> 0x4d6 >>>>=20 >>>> Still, I don't know how the ISA bus is actually allocating = resources. Can >>>> you add some code to the x86 nexus driver to drop into kdb when it = receives >>>> a SYS_RES_IOPORT allocation request from "isa0" and get a stack = trace from >>>> DDB and reply with the trace? >>>=20 >>> So I think I just found the explanation for this and I think the = change I >>> just committed will fix your system: >>>=20 >>> Author: jhb >>> Date: Fri Jun 17 21:19:01 2011 >>> New Revision: 223207 >>> URL: http://svn.freebsd.org/changeset/base/223207 >>=20 >> Hi John, >>=20 >> sorry for not coming back to you on your previous email, it was on my = todo >> list but I haven't time to do it. >>=20 >> I tried now new kernel and it works well. Thanks for fixing this. >=20 > Thanks. Can you capture an acpdump from your box when you get a = chance and > send it to me? I want to make sure if I make any other changes in = this area > that your box will still work. Sure, I will unicast it to you.