From owner-freebsd-mobile Thu Aug 16 12:23:32 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 08A5737B405 for ; Thu, 16 Aug 2001 12:23:27 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id NAA19498; Thu, 16 Aug 2001 13:23:20 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id NAA08221; Thu, 16 Aug 2001 13:23:20 -0600 (MDT) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15228.7592.86061.54295@nomad.yogotech.com> Date: Thu, 16 Aug 2001 13:23:20 -0600 To: nate@yogotech.com (Nate Williams) Cc: Warner Losh , mobile@FreeBSD.ORG Subject: Re: HEADS UP: pcic pci attachments merged from current In-Reply-To: <15228.2820.792698.491952@nomad.yogotech.com> References: <15228.1694.871200.901582@nomad.yogotech.com> <15227.21642.728459.378078@nomad.yogotech.com> <15226.52618.594233.704448@nomad.yogotech.com> <200108150433.f7F4X1W20487@harmony.village.org> <200108160317.f7G3HHW28812@harmony.village.org> <200108160533.f7G5XWW29552@harmony.village.org> <15227.65384.819476.423333@nomad.yogotech.com> <200108161753.f7GHrZW34243@harmony.village.org> <15228.2820.792698.491952@nomad.yogotech.com> X-Mailer: VM 6.95 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > # cd /usr/src/sys > # cvs update -Pdr RELENG_4 -D'August 5, 2001' > [ Build new kernel, install, reboot ] > > This works fine. So, sometime after August 5 it's broken. I noticed a > change on the 6th, so I'll update to the 7th and see what happens. Updates on 8/5 codebase: - Hot insertion/removal of my modem works fine as much as I try it. I did it a half-dozen times. - Hot insertion/removal of my ethernet *mostly* works fine. I can do it 3-4 times, and then it'll hang on removal. Updates on 8/7 codebase: - Hot insertion/removal of my modem still works fine as much as I try it. - Hot removal of my ethernet card hangs the box almost everytime. Also, insertion/removal events were not recognized after one reboot, but that may have been my issue. (Is polling used in this version? How do I check? - pccardc power [0|1] 0 (explicitly powering it down before removal) allows me to remove the ethernet card w/out a hang. The changes I suspect are: imp 2001/08/06 07:47:45 PDT Modified files: (Branch: RELENG_4) sys/pccard pcic.c i82365.h Log: MFC: Power off again and preserve some bits in PCIC_INT_GEN also, minor #define shuffle. Approved in principle by: jkh Revision Changes Path 1.89.2.17 +3 -3 src/sys/pccard/pcic.c 1.10.2.4 +2 -2 src/sys/pccard/i82365.h [ The change to i82365.h is essentially a no-op ] If I revert *only* these changes from my kernel, hot-swap ethernet works better. (But it's still not as good as I'd like). [ Note, my modem isn't being used *at all* during this process, so I wouldn't expect there to be any problems with hot-swap. My ethernet is also unused, but I suspect the ethernet drivers are still active even when nothing is connected. ] Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message