From owner-freebsd-current@FreeBSD.ORG Thu Dec 4 22:45:45 2008 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 B989910657C9; Thu, 4 Dec 2008 22:45:45 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 3ECCE8FC13; Thu, 4 Dec 2008 22:45:45 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.3/8.14.3) with ESMTP id mB4Mjcns034080; Thu, 4 Dec 2008 17:45:39 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: Roman Divacky Date: Thu, 4 Dec 2008 17:45:14 -0500 User-Agent: KMail/1.9.7 References: <20081120171325.GA53026@freebsd.org> <200812041424.13298.jhb@freebsd.org> <20081204220438.GA17059@freebsd.org> In-Reply-To: <20081204220438.GA17059@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812041745.14587.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Thu, 04 Dec 2008 17:45:39 -0500 (EST) X-Virus-Scanned: ClamAV 0.93.1/8721/Thu Dec 4 08:26:10 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: freebsd-current@freebsd.org Subject: Re: atrtc0: Warnings about mappings of I/O and interrupt 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: Thu, 04 Dec 2008 22:45:45 -0000 On Thursday 04 December 2008 05:04:38 pm Roman Divacky wrote: > On Thu, Dec 04, 2008 at 02:24:13PM -0500, John Baldwin wrote: > > On Thursday 20 November 2008 12:13:25 pm Roman Divacky wrote: > > > hi > > > > > > I upgraded from roughly 10 days old -CURRENT to this: > > > > > > FreeBSD witten 8.0-CURRENT FreeBSD 8.0-CURRENT #55: Wed Nov 19 23:23:49 CET > > 2008 > > > root@witten:/usr/obj/usr/src/sys/MYKERNEL i386 > > > > > > and I am getting this at boot: > > > > > > atrtc0: at port 0x70 irq 8 on isa0 > > > atrtc0: Warning: Couldn't map I/O. > > > atrtc0: Warning: Couldn't map Interrupt. > > > > > > the booting itself works fine and I dont see any odd effects. > > > > The driver is just a stub anyway. Do you have any atrtc0 hints, and can you > > grab the output for the 'atrtc0' device from 'devinfo -r'? > > witten ~# grep atrtc /boot/device.hints > hint.atrtc.0.at="isa" > hint.atrtc.0.port="0x70" > hint.atrtc.0.irq="8" > > (but that's the default I believe) > > devinfo -r shows "empty" atrtc0 but: > > atrtc1 > Interrupt request lines: > 8 > I/O ports: > 0x70-0x71 > > any more info I can provide? Hmmmm, that should have worked fine in that atrtc1 should have taken over the 'atrtc0' hints. If you don't mind, can you add some debugging printfs to acpi_hint_device_unit() (maybe only do them if the 'name' parameter is "atrtc" to avoid clutter). -- John Baldwin