PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > kernel update breaks network
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

kernel update breaks network

Réponse
 
LinkBack Outils de la discussion
Vieux 22/05/2008, 14h00   #1
kj
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut kernel update breaks network

Hi guys,

I just updated an Etch server to linux-image-2.6.18-6-k7 (from -5-) and
after a reboot network won't come up. The network card is an Intel
100mbit, uses the e100 driver. The driver loads, but trying to bring
eth0 up gives me a "does not exist" error.

After much back and forth fiddling and replacing the card without any
luck, I remembered this has happened before, and by accident I found out
the previous time that the interface number has changed. So I checked.
Sure as bob, it was now eth4...

Why does this happen? I imagine there's some of caching of the MAC
address going on, and I'm worried this might expire at some point.

Another thing I noticed, while trying all sorts of things. I could not
get the e100 driver to load with any options. I tried
eeprom_bad_csum_allow=1 and debug=16 and it simply did not happen.

This just adds to another problem I have with e100, on my workstation,
where it sees only one of two identical cards, forcing me to use
eepro100 for the second.

Any ideas appreciated

Thanks
--kj


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 22/05/2008, 14h10   #2
Ron Johnson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: kernel update breaks network

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 05/22/08 07:50, kj wrote:
> Hi guys,
>
> I just updated an Etch server to linux-image-2.6.18-6-k7 (from -5-) and
> after a reboot network won't come up. The network card is an Intel
> 100mbit, uses the e100 driver. The driver loads, but trying to bring
> eth0 up gives me a "does not exist" error.
>
> After much back and forth fiddling and replacing the card without any
> luck, I remembered this has happened before, and by accident I found out
> the previous time that the interface number has changed. So I checked.
> Sure as bob, it was now eth4...
>
> Why does this happen? I imagine there's some of caching of the MAC
> address going on, and I'm worried this might expire at some point.


Look in /etc/udev/persistent-net-generator.rules and the file it
generates, /etc/udev/rules.d/z25_persistent-net.rules.

> Another thing I noticed, while trying all sorts of things. I could not
> get the e100 driver to load with any options. I tried
> eeprom_bad_csum_allow=1 and debug=16 and it simply did not happen.
>
> This just adds to another problem I have with e100, on my workstation,
> where it sees only one of two identical cards, forcing me to use
> eepro100 for the second.


- --
Ron Johnson, Jr.
Jefferson LA USA

ESPN makes baseball players better.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFINW7RS9HxQb37XmcRAuHxAJ9WDxUaX3g99eAmRztZGg djEFgJXgCgol2X
4fjQAYjWmsKhA48lice/qrA=
=4e5q
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 22/05/2008, 14h10   #3
Axel Freyn
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: kernel update breaks network

Hi kj,
On Thu, May 22, 2008 at 01:50:04PM +0100, kj wrote:
> Hi guys,
>
> I just updated an Etch server to linux-image-2.6.18-6-k7 (from -5-) and
> after a reboot network won't come up. The network card is an Intel
> 100mbit, uses the e100 driver. The driver loads, but trying to bring
> eth0 up gives me a "does not exist" error.
>
> After much back and forth fiddling and replacing the card without any
> luck, I remembered this has happened before, and by accident I found out
> the previous time that the interface number has changed. So I checked.
> Sure as bob, it was now eth4...
>
> Why does this happen? I imagine there's some of caching of the MAC
> address going on, and I'm worried this might expire at some point.

I don't know the exact reason, but I believe it to be responsability of udev.
Probably the new Kernel detects the card differently. If udev is correctly
running, you should have a file /etc/udev/rules.d/z25_persistent-net.rules
containing entries for each network-device. If you change there "eth4" to
"eth0", it should work.

HTH,

Axel


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 12h08.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11719 seconds with 11 queries