Unix Technical Forum

No network after upgrade to sarge

This is a discussion on No network after upgrade to sarge within the Debian Linux support forums, part of the Debian Linux category; --> I screwed up my rootserver. It was running fine with Debian Woody, kernel 2.4.26. Some weeks ago I upgraded ...


Go Back   Unix Technical Forum > Unix Operating Systems > Debian Linux > Debian Linux support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-19-2008, 06:59 AM
Eggert Ehmke
 
Posts: n/a
Default No network after upgrade to sarge

I screwed up my rootserver. It was running fine with Debian Woody,
kernel 2.4.26. Some weeks ago I upgraded to Sarge, all was fine. I
never rebooted the system at that time.

Now I wanted the 2.6 kernel, so I installed kernel-image-2.6.8-2-868
and module-init-tools. I put the new boot option as default in
lilo.conf and also added the initrd line. Run lilo, all looked fine.
After reboot, I had no access to the server anymore.

No problem, I thought, booted the remote recue system, mounted the
partitions and proc, chrooted into the system and put the old kernel
as default again. Reran lilo, unmounted partitions and rebooted again.
This is where the pain began: still no network access! When I look
into kern.log, it seems that the network driver is loaded ok, but eth0
never gets an ip address. /etc/network/interfaces is ok too and was
not changed in the process.

I can still reboot into the rescue system. Any ideas?
Eggert
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-19-2008, 06:59 AM
bastian eendt
 
Posts: n/a
Default Re: No network after upgrade to sarge

Eggert Ehmke wrote:
> I screwed up my rootserver. It was running fine with Debian Woody,
> kernel 2.4.26. Some weeks ago I upgraded to Sarge, all was fine. I
> never rebooted the system at that time.
>
> Now I wanted the 2.6 kernel, so I installed kernel-image-2.6.8-2-868
> and module-init-tools. I put the new boot option as default in
> lilo.conf and also added the initrd line. Run lilo, all looked fine.
> After reboot, I had no access to the server anymore.
>
> No problem, I thought, booted the remote recue system, mounted the
> partitions and proc, chrooted into the system and put the old kernel
> as default again. Reran lilo, unmounted partitions and rebooted again.
> This is where the pain began: still no network access! When I look
> into kern.log, it seems that the network driver is loaded ok, but eth0
> never gets an ip address. /etc/network/interfaces is ok too and was
> not changed in the process.
>
> I can still reboot into the rescue system. Any ideas?
> Eggert



A few things you might want to check and/or post here:


Does lsmod mention your network driver? Do you get any messages when you
remove and reload the driver? (rmmod, modprobe)

What kind of network card do you have? What's the name of the driver?

What information does ifconfig give?

Do you get any messages when you bring eth0 down and up again? (ifdown ifup)

Is tcp/ip working ok? (ping localhost)


-- Bastian
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-19-2008, 06:59 AM
Eggert Ehmke
 
Posts: n/a
Default Re: No network after upgrade to sarge

bastian eendt <unbastian320@melvex.xs4all.nl> schrieb:

>Eggert Ehmke wrote:
>> I screwed up my rootserver. It was running fine with Debian Woody,
>> kernel 2.4.26. Some weeks ago I upgraded to Sarge, all was fine. I
>> never rebooted the system at that time.
>>
>> Now I wanted the 2.6 kernel, so I installed kernel-image-2.6.8-2-868
>> and module-init-tools. I put the new boot option as default in
>> lilo.conf and also added the initrd line. Run lilo, all looked fine.
>> After reboot, I had no access to the server anymore.


>Does lsmod mention your network driver? Do you get any messages when you
>remove and reload the driver? (rmmod, modprobe)
>
>What kind of network card do you have? What's the name of the driver?
>
>What information does ifconfig give?
>
>Do you get any messages when you bring eth0 down and up again? (ifdown ifup)
>
>Is tcp/ip working ok? (ping localhost)


It turned out that the routing table was empty. Changing from static
to dhcp did help, at least with the 2.4 kernel. Still unclear to me:
what in the process of upgrading to sarge confused my routing? It was
definitely working with static ip before, even after the upgrade
(until the reboot).
The 2.6 problem seems to be a module/initrd problem, I will
investigate that. Thanks for your hints. There are some homepages
hosted on the server, I cannot reboot it all the time.
Eggert

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-19-2008, 07:00 AM
John Hasler
 
Posts: n/a
Default Re: No network after upgrade to sarge

Eggert Ehmke writes:
> Still unclear to me: what in the process of upgrading to sarge confused
> my routing?


IIRC there was some sort of a change in 2.6 in the order in which labels
are assigned to interfaces.

Look at ifrename.
--
John Hasler
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:53 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com