netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* No IPv6 addresses after resume (No buffer space available)
@ 2008-02-04 13:16 Adrian Knoth
  0 siblings, 0 replies; only message in thread
From: Adrian Knoth @ 2008-02-04 13:16 UTC (permalink / raw)
  To: netdev

Hi!

I use suspend-to-RAM on my HP nx6325 laptop. I have three main
locations:

   - place A: IPv4 + IPv6
   - place B: IPv4 + IPv6
   - place C: IPv4 only

Suspending in place A and travelling to place B is no problem, I'm
always getting the local RAs, the right addresses a.s.o.

But once I've been in place C (no IPv6 there at this site), resuming in
A or B doesn't give me IPv6, I don't even get a link local address. Only
the loopback interface is left functional:

adi@chopin:~$ ls /proc/sys/net/ipv6/conf/
all  default  eth1  lo

chopin:/home/adi# ip -6 a s
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 
    inet6 ::1/128 scope host 
           valid_lft forever preferred_lft forever

eth0 is missing, also in /proc/sys/net/ipv6/conf (as shown above).

When I try to assign my link local address, it fails:

chopin:/home/adi# ip -6 a a fe80::0217:a4ff:fed7:a23e/64 scope link dev eth0
RTNETLINK answers: No buffer space available

It doesn't help to cycle the interface down and up. My current
workaround is to unload the NIC driver (tg3) and modprobe it again: 

[rmmod tg3 ; modprobe tg3]
chopin:/home/adi# ip -6 a s
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
15: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
    inet6 fe80::217:a4ff:fed7:a23e/64 scope link 
       valid_lft forever preferred_lft forever

[and a few moments later]
chopin:/home/adi# ip -6 a s
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
15: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qlen 1000
    inet6 2001:638:906:2:217:a4ff:fed7:a23e/64 scope global dynamic 
       valid_lft 2591987sec preferred_lft 604787sec
    inet6 fe80::217:a4ff:fed7:a23e/64 scope link 
       valid_lft forever preferred_lft forever


Hope you can identify the culprit.


TIA,

Cheerio


-- 
mail: adi@thur.de  	http://adi.thur.de	PGP/GPG: key via keyserver

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-04 13:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-04 13:16 No IPv6 addresses after resume (No buffer space available) Adrian Knoth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).