Hiya,

I'm trying to setup a bridging between ethernet and TAP interfaces
 (the tap being on one end of a tunnel) --- on a sparc64 machine.
 I have it *almost* working, the almost being a kernel panic when
 the bridge finally goes into forwarding mode.


The machine is running Debian linux (testing, more or less), with
 a 2.4.20 kernel.  This kernel already has all of the "submitted"
 patches from the patchtracker page applied.  I applied the first
 part of the "2.4_fix_sparc64_bridging.diff" patch --- the second
 part (ioctl32.c) seems to be obsoleted by changes to that file.

I also had to patch bridge-utils a little --- in br_device_ioctl64(),
 args is turned into an 'unsigned long long'.  Due to the changes in
 the kernel, this should just be 'unsigned long'.  (Better explanation
 later...)
Anyhow, after that patch, I am able to create bridges, show them,
 add interfaces, etc.

I can create a bridge with two TAP ports (created by two localhost
 vtun tunnels - just for testing) without any problems.  (However,
 I haven't tried pushing any packets through them.)

I can create a bridge with eth0 as the only port, no problem.

However, when I have a bridge with both eth0 and a TAP port, I get a panic.
 It doesn't matter if I add both ports, then bring up the bridge; or if I
 add the TAP port to an already-up eth0-only bridge.  After that port
 transitions into 'forwarding' mode, the kernel sticks its tongue out
 at me:

   swapper(0):  Kernel bad sw trap 5


Any clues, any suggestions?

(I haven't tried addif'ing eth0 to a bridge only containing tap0 yet.
 Also, I haven't tried a kernel without "2.4_fix_sparc64_bridging.diff";
 perhaps it is unnecessary anymore.)


-- 
------------------------------------------------------------------------
Matt Marjanovic | The Cog Shop | MIT AI Lab | MIT | Cambridge | MA | USA 
      mailto:[EMAIL PROTECTED] | http://www.ai.mit.edu/projects/cog
------------------------------------------------------------------------

cryptographic Waco, Texas Kennedy Semtex Nazi NORAD explosion
Ft. Bragg Ft. Meade colonel BATF North Korea Albanian World Trade
Center SDI
_______________________________________________
Bridge mailing list
[EMAIL PROTECTED]
http://www.math.leidenuniv.nl/mailman/listinfo/bridge

Reply via email to