Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Aug 2001 13:23:20 -0600
From:      Nate Williams <nate@yogotech.com>
To:        nate@yogotech.com (Nate Williams)
Cc:        Warner Losh <imp@harmony.village.org>, mobile@FreeBSD.ORG
Subject:   Re: HEADS UP: pcic pci attachments merged from current 
Message-ID:  <15228.7592.86061.54295@nomad.yogotech.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
> # 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15228.7592.86061.54295>