[1298] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Re: Problem PCMCIA and network initialization

daemon@ATHENA.MIT.EDU (Matti E. Aarnio [OH1MQK])
Tue Oct 31 21:55:45 1995

From: "Matti E. Aarnio [OH1MQK]" <mea@mea.cc.utu.fi>
To: tytso@MIT.EDU (Theodore Ts'o)
Date: 	Tue, 31 Oct 1995 20:36:46 +0200 (EET)
Cc: linux-kernel@vger.rutgers.edu, linux-net@vger.rutgers.edu
In-Reply-To: <199510310639.BAA00107@rsts-11.mit.edu> from "Theodore Ts'o" at Oct 31, 95 01:39:36 am

> PCMCIA networking hasn't worked since 1.3.33, because of the change in
> device initialization.  Apparently what's going on is that even when
> there are no network devices compiled into the kernel, when the ethernet
> layer initializes itself, it's leaving unitializaed network device
> structures on the global linked list.  Hence, if you cat /proc/net/dev,
> you will see something like this:

	[ I don't claim to understand all of the network code, but
	  I have put my fingers inside it often enough... ]

	The global initialization code should thus return -ENODEV and
	thus eradict the device ?  Right now (1.3.37) it returns "1";
	Same with  slip_init_ctrl_dev(), which now returns ENODEV.

	Oh by the way, I have NEVER been able to reproduce this
	phenomena at my laptop..   I would like to try to create
	it, and thus be able to detect it -- and fix, naturally.
	(My laptop runs 1.3.35 with APM, and with PCMCIA 2.7.3.)

	Please send me your current kernel's  .config,  if I could
	reproduce the phenomena with it.

> Inter-|   Receive                  |  Transmit
>  face |packets errs drop fifo frame|packets errs drop fifo colls carrier
>     lo:      8    0    0    0    0        8    0    0    0     0    0
> slip_proto: No statistics available.
>   eth0: No statistics available.
>   eth1: No statistics available.
>   eth2: No statistics available.
>   eth3: No statistics available.
>   eth0:      0    0    0    0    0        0    0    0    0     0    0
> 
> The last line is one added by the PCMCIA drivers; the "eth0..eth3" lines
> are present before PCMCIA is loaded, even though no network devices were
> detected, and none were even configured into the kernel.

	Umm... I have SLIP as a module, you as a static device ?
	(It should not matter though..)

....
> Thanks!!!
> 						- Ted

	/Matti Aarnio <mea@utu.fi>

home help back first fref pref prev next nref lref last post