From owner-freebsd-hackers@FreeBSD.ORG Sat Feb 17 09:12:13 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E4BB916A400 for ; Sat, 17 Feb 2007 09:12:13 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-3-125.belrs4.nsw.optusnet.com.au [220.239.3.125]) by mx1.freebsd.org (Postfix) with ESMTP id 50D1D13C4A5 for ; Sat, 17 Feb 2007 09:12:12 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.8/8.13.8) with ESMTP id l1H9CBKA006337; Sat, 17 Feb 2007 20:12:11 +1100 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.8/8.13.8/Submit) id l1H9CB31006336; Sat, 17 Feb 2007 20:12:11 +1100 (EST) (envelope-from peter) Date: Sat, 17 Feb 2007 20:12:11 +1100 From: Peter Jeremy To: Daniel Rudy Message-ID: <20070217091211.GP859@turion.vk2pj.dyndns.org> References: <45CC2DDF.6040600@pacbell.net> <20070212.234959.-432837120.imp@bsdimp.com> <45D2A48F.1010104@pacbell.net> <20070213.232425.-1929114897.imp@bsdimp.com> <45D2C7F8.9050302@pacbell.net> <20070215081426.GH862@turion.vk2pj.dyndns.org> <45D57B29.2050408@pacbell.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9Ek0hoCL9XbhcSqy" Content-Disposition: inline In-Reply-To: <45D57B29.2050408@pacbell.net> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-hackers@freebsd.org Subject: Re: PING: Someone on the core team. (Modem Problem) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Feb 2007 09:12:14 -0000 --9Ek0hoCL9XbhcSqy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2007-Feb-16 01:36:41 -0800, Daniel Rudy wrote: >No, it does not report as fast. That means it's getting a "slow" interrupt handler (or maybe none at all =66rom what you wrote below). >Here is the verbose dmesg from a reboot that I did just now: > >sio0: Reserved 0x100 bytes for rid 0x14 type 4 at 0xd400 >sio0: configured irq 17 not in bitmap of probed irqs 0 >sio0: port may not be enabled >sio0: irq maps: 0xcb9 0xcb9 0xcb9 0xcb9 >sio0: port >0xd400-0xd4ff,0xd800-0xd8ff,0xdc00-0xdc07 mem 0xeb105000-0xeb1050ff > irq 17 at device 9.0 on pci0 >sio0: type 16550A > >What I don't understand is why it keeps saying that "configured irq 17 >not in bitmap of probed irqs 0"... What exactly does that mean? Basically, the probe routine forces the device to raise an IRQ and reads the list of pending IRQs (the first irq map above). It then clears the interrupt (by reading the relevant status registers) and again checks the list of pending IRQs (the second irq map above). In your case both are the same (0xcb9) so the driver reports that it is unable to detect an interrupt generated by the device. The only fly in the ointment is that the probe code only checks for pending ISA interrupts and so misses irq 17. Looking at the code, the only impact should be those warning messages. As I mentioned before, you might like to try uart(4) instead of sio(4). It looks like it also supports that card and may behave slightly better for you. On 2007-Feb-16 12:51:37 -0800, Daniel Rudy wrote: >overflows. Is there a way for force the driver to attach as fast since >it's not doing it? sio tries to attach as fast and falls back to the default if that fails. It should only fail if something else is already registered on that IRQ. --=20 Peter Jeremy --9Ek0hoCL9XbhcSqy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF1sbr/opHv/APuIcRAs4/AKDAwcIu1FfL0wDVmp1gP/RA8MJXHgCePAGM wjK0yONAc7hj/Fcgr9xROVo= =zAcp -----END PGP SIGNATURE----- --9Ek0hoCL9XbhcSqy--