Bug#587666: Hangs when loading vlan interface immediately after main interface

2010-07-01 Thread ard
Hello,

On Wed, Jun 30, 2010 at 06:58:53PM +0100, i...@comtek.co.uk wrote:
 If I:
   'ifup eth0'
   wait a few seconds until 'link becomes ready'
   'ifup eth0.3'
 
 then everything is fine.
 
 If I:
   'ifup eth0;ifup eth0.3'
 
 then I get a stack trace followed by the machine locking up (unless the 
 interfaces have been previously up. In that case doing 'rmmod tg3;modprobe 
 tg3;ifdown eth0;ifdown eth0.3' before ifup will cause it to panic).

It's obviously a kernel bug. I can't help you with that. I have
to reassign it. The probable cause is the managing of up/down
callbacks that vlan cannot handle and has NULL pointers assigned and
that tg3 without checking calls.
I can advise you to try to build your own kernel. 2.6.33 series
is pretty stable *IFF* you leave out bridging vlans on bonds on
bnx2 :-). (Those work again in 2.6.34 though with bonds being the
culprit).

 The machine is a HS20 (Type 8832) blade in an IBM bladecenter
 and unfortunately I've not had any success with Serial Over Lan
 so I can't currently get a backtrace. I will try to see if I
 can adjust the resolution sufficiently to take a screenshot of
 the whole backtrace though.
ipmisol? It's pretty easy to set up. But your motherboard must be
new enough. The linux based BMC's can handle ipmisol pretty well,
but the older non linux based BMC really s...k at doing their
job.

BTW: I only have experience with DELL and supermicro ;-).

 00:00.0 Host bridge: Broadcom CMIC-LE Host Bridge (GC-LE chipset) (rev 33)
 00:00.1 Host bridge: Broadcom CMIC-LE Host Bridge (GC-LE chipset)
 00:00.2 Host bridge: Broadcom CMIC-LE Host Bridge (GC-LE chipset)
 00:01.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)

For a new BMC that should have been a: Matrox Graphics, Inc. MGA
G200eW WPCM450



-- 
.signature not found



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#587666: Hangs when loading vlan interface immediately after main interface

2010-07-01 Thread ard
Hello,

On Thu, Jul 01, 2010 at 03:50:50PM +0100, i...@comtek.co.uk wrote:
 Okay, I've tried various other combinations of eth0 config with no luck.  
 I haven't been able to get more information on the actual crash but I've  
 attached a screenshot, just in case its of any use.

 Could this bug be related to 585770? That bug report uses the same  
 kernel and the tg3 driver also.

It's definitely the same bug.

 I will try changing kernel version to see if that resolves it.

Well, compiling a vanilla kernel will not have the:
bugfix/all/vlan-macvlan-propagate-transmission-state-to-upper-layer.patch
in it, which introduced the bug. They probably left out the parts
where the propagate have to check for NULL pointers to see if the
propagation is supported ;-).

Hmmm, I actually reported/fixed the same type of bug in 2.6.29:
vlan-macvlan-fix-null-pointer-dereferences-in-ethtool-handlers.patch

But then again a rewrite took place after that to make a better
grouping of those functions which makes layering of those devices
elegantly,fast and possible.
Actually the rewrite is stable/finished around 2.6.34 ;-). If you
don't need bonding I would check out 2.6.33.5 ;-).
-- 
.signature not found



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#587666: Hangs when loading vlan interface immediately after main interface

2010-06-30 Thread ian
Package: vlan
Version: 1.9-3
Severity: important

When I try to bring eth0 up followed by eth0.3 the machine hangs.

/etc/network/interfaces looks like:

auto lo
iface lo inet loopback

#auto eth0
iface eth0 inet loopback

#auto eth0.3
iface eth0.3 inet static
address 10.4.4.202
netmask 255.255.255.0
gateway 10.4.4.1

If I:
'ifup eth0'
wait a few seconds until 'link becomes ready'
'ifup eth0.3'

then everything is fine.

If I:
'ifup eth0;ifup eth0.3'

then I get a stack trace followed by the machine locking up (unless the 
interfaces have been previously up. In that case doing 'rmmod tg3;modprobe 
tg3;ifdown eth0;ifdown eth0.3' before ifup will cause it to panic).

The machine is a HS20 (Type 8832) blade in an IBM bladecenter and unfortunately 
I've not had any success with Serial Over Lan so I can't currently get a 
backtrace. I will try to see if I can adjust the resolution sufficiently to 
take a screenshot of the whole backtrace though.

lspci:

00:00.0 Host bridge: Broadcom CMIC-LE Host Bridge (GC-LE chipset) (rev 33)
00:00.1 Host bridge: Broadcom CMIC-LE Host Bridge (GC-LE chipset)
00:00.2 Host bridge: Broadcom CMIC-LE Host Bridge (GC-LE chipset)
00:01.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
00:0f.0 Host bridge: Broadcom CSB6 South Bridge (rev b0)
00:0f.1 IDE interface: Broadcom CSB6 RAID/IDE Controller (rev b0)
00:0f.2 USB Controller: Broadcom CSB6 OHCI USB Controller (rev 05)
00:0f.3 ISA bridge: Broadcom GCLE-2 Host Bridge
00:10.0 Host bridge: Broadcom CIOB-E I/O Bridge with Gigabit Ethernet (rev 12)
00:10.2 Host bridge: Broadcom CIOB-E I/O Bridge with Gigabit Ethernet (rev 12)
01:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5704S Gigabit 
Ethernet (rev 02)
01:00.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5704S Gigabit 
Ethernet (rev 02)

Please ask for any extra information that would be useful.

Thanks,

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages vlan depends on:
ii  iproute   20100519-2 networking and traffic control too
ii  libc6 2.11.1-3   Embedded GNU C Library: Shared lib

vlan recommends no packages.

vlan suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#587666: Hangs when loading vlan interface immediately after main interface

2010-06-30 Thread Timo Weingärtner
Hi,

Am Mittwoch, 30. Juni 2010 schrieben Sie:
 Package: vlan
 Version: 1.9-3
 Severity: important
 
 When I try to bring eth0 up followed by eth0.3 the machine hangs.
 
 /etc/network/interfaces looks like:
 
   auto lo
   iface lo inet loopback
 
   #auto eth0
   iface eth0 inet loopback
loopback is only for the loopback interface. I guess you don't want to have 
l3 addresses on eth0. Please try:

iface eth0 inet static
up ip l s eth0 up
down ip l s eth0 down

   #auto eth0.3
   iface eth0.3 inet static
   address 10.4.4.202
   netmask 255.255.255.0
   gateway 10.4.4.1


Greetings
Timo


signature.asc
Description: This is a digitally signed message part.


Bug#587666: Hangs when loading vlan interface immediately after main interface

2010-06-30 Thread Timo Weingärtner
Hi,

Am Mittwoch, 30. Juni 2010 schrieb ich:

 loopback is only for the loopback interface. I guess you don't want to
 have l3 addresses on eth0. Please try:
 
 iface eth0 inet static
Sorry, I meant manual instead of static.
   up ip l s eth0 up
   down ip l s eth0 down


Greetings
Timo


signature.asc
Description: This is a digitally signed message part.


Bug#587666: Hangs when loading vlan interface immediately after main interface

2010-06-30 Thread i...@comtek.co.uk

-- Sorry, I just replied direct instead of to the bug report:




 loopback is only for the loopback interface. I guess you don't want to
 have l3 addresses on eth0. Please try:

 iface eth0 inet static
 Sorry, I meant manual instead of static.
 up ip l s eth0 up
 down ip l s eth0 down

Thanks, but it does the same thing.

I will look at it more in the morning. I didn't think about the loopback 
statement as a possible cause.


I'm also looking into kexec as a possible way to get some debug 
information but its an uphill struggle!


Thanks,

Ian



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org