Re: Xircom cem56 hot swap

2000-01-25 Thread Heather
> The memory module problem is not related directly to dhcpd, since I'm not
> running dhcpd at all.  But I agree, it may have something to do with
> insert/remove cycles.
> 
> Drew

I remember when messing with IDE/ATAPI cards, if you make the cycle too
fast (or is it if the contact isn't perfect?  not sure) it flags as a memory
card.  No solution but to pop the card and try again.

* Heather


Re: Xircom cem56 hot swap

2000-01-24 Thread Drew Parsons
On Tue, Jan 25, 2000 at 09:38:38AM +1300, Andrew McMillan wrote:
> Heather wrote:
> > I have had a bunch of problems with dhcp but it has been inconsistent
> > enough (and at most of my clients, I have static IP) that I had ignored
> > it.  But if there's some bug with the dhcpcd, what sort of bug report
> > should we file?  Things are getting awful close to sealed up, and we don't
> > want them frying every *really* mobile user with a bug like that...
> 
> I agree, but I'm not sure where the problem is happening.
> 
> I _think_ the problem may be related to repeated insert/remove cycles
> before the dhcpcd has timed out.  I have other problems with the dhcpcd
> timeout because I am usually inserting my network card so I can use the
> modem in it and the 60 second timeout is greater than the connect time
> (and because of some other scripts happening at the same time, such as
> my 'whereami' utility) my route sometimes goes west when the network
> initialisation finishes after the ppp session starts.

The memory module problem is not related directly to dhcpd, since I'm not
running dhcpd at all.  But I agree, it may have something to do with
insert/remove cycles.

Drew


pgpStCCmpd79s.pgp
Description: PGP signature


Re: Xircom cem56 hot swap

2000-01-24 Thread Andrew McMillan
Heather wrote:
> 
> > I have the same card and also get similar problems on occasion.  What is
> > happening in my case is that DHCP is getting stuck on something when I
> > am not connected to a network - if I kill a running dhcp process and
> > then re-insert the card it all starts to work again.
> >
> > Cheers,
> >   Andrew.
> 
> I have had a bunch of problems with dhcp but it has been inconsistent
> enough (and at most of my clients, I have static IP) that I had ignored
> it.  But if there's some bug with the dhcpcd, what sort of bug report
> should we file?  Things are getting awful close to sealed up, and we don't
> want them frying every *really* mobile user with a bug like that...

I agree, but I'm not sure where the problem is happening.

I _think_ the problem may be related to repeated insert/remove cycles
before the dhcpcd has timed out.  I have other problems with the dhcpcd
timeout because I am usually inserting my network card so I can use the
modem in it and the 60 second timeout is greater than the connect time
(and because of some other scripts happening at the same time, such as
my 'whereami' utility) my route sometimes goes west when the network
initialisation finishes after the ppp session starts.

For this reason I actually edited /usr/sbin/dhcpcd by hand (that's the
script that chooses whether you want a 2.2 dhcpcd or a 2.0 one) and set
the timeout to 5 seconds.  I don't know any networks where 60 seconds
would be a reasonable timeout for dhcp address assignment - all
instances that I have seen seem to happen in milliseconds.

Cheers,
Andrew.

PS. If you're interested, I have a bunch of scripts which I have
(Debian) packaged up as 'whereami' which allow my system to
auto-configure itself for the locations I plug in at.  This works well
for fixed IP now, as well as DHCP which it always worked for.

-- 
_
Andrew McMillan, e-mail: [EMAIL PROTECTED]
Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington
Me: +64 (21) 635 694, Fax: +64 (4) 499 5596, Office: +64 (4) 499 2267


Re: Xircom cem56 hot swap

2000-01-24 Thread Heather
> I have the same card and also get similar problems on occasion.  What is
> happening in my case is that DHCP is getting stuck on something when I
> am not connected to a network - if I kill a running dhcp process and
> then re-insert the card it all starts to work again.
> 
> Cheers,
>   Andrew.

I have had a bunch of problems with dhcp but it has been inconsistent 
enough (and at most of my clients, I have static IP) that I had ignored
it.  But if there's some bug with the dhcpcd, what sort of bug report 
should we file?  Things are getting awful close to sealed up, and we don't
want them frying every *really* mobile user with a bug like that...

  . | .   Heather Stern  | [EMAIL PROTECTED]
--->*<--- Starshine Technical Services - * - [EMAIL PROTECTED]
  ' | `   Sysadmin Support and Training  |(800) 938-4078


Re: Xircom cem56 hot swap

2000-01-24 Thread Andrew McMillan
Joost Claessen wrote:
> 
> Hello peole,
> 
> I have a toshiba 320CDT laptop whit a cem56 Xircom ethernet/modem cart.
> Latly whem I remove the cart while running (hot swapping, yeh!) the
> pcmcia cardmanager remove the module corectly, but if I insert the cart
> again it pcmcia manager load the memory module instead of the xircom module.
> Strangely the happens not if I am not connected to a network.
> 
> Has anyone experienced this also? Does anyone know a solution?
> Thanx for any help.

I have the same card and also get similar problems on occasion.  What is
happening in my case is that DHCP is getting stuck on something when I
am not connected to a network - if I kill a running dhcp process and
then re-insert the card it all starts to work again.

Cheers,
Andrew.
-- 
_
Andrew McMillan, e-mail: [EMAIL PROTECTED]
Catalyst IT Ltd, PO Box 10-225, Level 22, 105 The Terrace, Wellington
Me: +64 (21) 635 694, Fax: +64 (4) 499 5596, Office: +64 (4) 499 2267


Re: Xircom cem56 hot swap

2000-01-24 Thread Drew Parsons
On Thu, Jan 20, 2000 at 08:24:20PM +0100, Joost Claessen wrote:
> Hello peole,
> 
> I have a toshiba 320CDT laptop whit a cem56 Xircom ethernet/modem cart.
> Latly whem I remove the cart while running (hot swapping, yeh!) the
> pcmcia cardmanager remove the module corectly, but if I insert the cart
> again it pcmcia manager load the memory module instead of the xircom module.
> Strangely the happens not if I am not connected to a network.
> 
> Has anyone experienced this also? Does anyone know a solution?
> Thanx for any help.
> 
> Mzzl, Joost (de zoveelste)
> 


Yes, I sometimes have the same problem.  I have a Xircom RealPort combo,
basically the same card as yours, on a Toshiba 490CDT.

I notice the problem particularly occurs if I'm running on battery power and
resume after a suspend [actually, in the last couple of days the system
broke down, and I can't suspend at all now.  Is the latest apmd buggy?]

I don't know why I get the problem with "memory module".  One thing though,
I notice that `cardctl config` says:

  interface type is "memory and I/O"

so I wonder if that has something to do with it.  I've been thinking I
should mention it here too, or maybe submit it as a bug, but thought maybe
it's just me.

Insofar as the problem only occurs when I'm on battery power, the only thing
I've been able to do is plug AC power on.  Irritating, and I didn't use to
have to do this.  I can't remember when it started but it's been like this
for some time, maybe a couple of months.

Another thing you can do is restart /etc/init.d/pcmcia.

Thanks for bringing it up.  It's about time we figured this problem out.  I
just hope we can!

Drew


pgpf0Ubl0R3NT.pgp
Description: PGP signature