From owner-freebsd-current@FreeBSD.ORG Tue Dec 9 20:44:07 2008 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25188106564A for ; Tue, 9 Dec 2008 20:44:07 +0000 (UTC) (envelope-from elias@artx.ru) Received: from round.artx.ru (round.artx.ru [80.73.175.73]) by mx1.freebsd.org (Postfix) with ESMTP id B09948FC1F for ; Tue, 9 Dec 2008 20:44:05 +0000 (UTC) (envelope-from elias@artx.ru) Received: by round.artx.ru (Postfix, from userid 1001) id 3AEA75C27; Tue, 9 Dec 2008 23:44:04 +0300 (MSK) Date: Tue, 9 Dec 2008 23:44:04 +0300 From: Ilya Orehov To: "M. Warner Losh" Message-ID: <20081209204404.GA17018@artx.ru> References: <20081209141908.GA15845@artx.ru> <20081209.092739.35219831.imp@bsdimp.com> <20081209192439.GA16703@artx.ru> <20081209.124743.-201314317.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20081209.124743.-201314317.imp@bsdimp.com> User-Agent: Mutt/1.4.2.3i Cc: current@FreeBSD.org Subject: Re: "interrupt storm..."; seems associated with an0 NIC 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: Tue, 09 Dec 2008 20:44:07 -0000 +------- M. Warner Losh, 2008-12-09 ------- | In message: <20081209192439.GA16703@artx.ru> | Ilya Orehov writes: | : Need to ack 0x1 | | What happens if you also print the current mask register? CBB_SOCKET_MASK? Rebooted with xl0 card inserted, first time (after initialization) mask=7, after eject/insert xl0 mask=1. ... xl0: Ethernet address: 00:60:08:d2:38:56 xl0: [ITHREAD] Need to ack 0x1, mask=00000007 acd0: CDROM at ata1-master PIO4 Trying to mount root from ufs:/dev/ad0s2a WARNING: attempt to net_add_domain(bluetooth) after domainfinalize() xl0: reset didn't complete xl0: command never completed! xl0: command never completed! xl0: command never completed! tdkphy0: detached miibus0: detached xl0: detached Need to ack 0x1, mask=00000001 xl0: <3Com 3c575TX Fast Etherlink XL> port 0x1000-0x103f irq 11 at device 0.0 on cardbus1 miibus0: on xl0 ... Rebooted once more, without card. After card (xl0) inserted, mask=1. Rebooted with same card inserted in second slot. First time (after initialization) mask=7, after eject/insert into same slot xl0 mask=1, after eject card was inserted into first slot, mask=1, code was: if (!ack) { mask = cbb_get(sc, CBB_SOCKET_MASK); printf("Need to ack %#x, mask=%08x\n", sockevent, mask); cbb_set(sc, CBB_SOCKET_EVENT, sockevent); } regards, Ilya. | | Warner | +-----------------------------