All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: [Bridge] Sparc Bridge problems
@ 2004-03-29 17:24 Small, Jim
  2004-03-29 17:43 ` D@7@k|N&
  2004-03-31 17:33 ` Santiago Leon
  0 siblings, 2 replies; 7+ messages in thread
From: Small, Jim @ 2004-03-29 17:24 UTC (permalink / raw)
  To: D@7@k|N&, bridge

I was never able to get bridging working on the UltraSPARC architecture.
From what I have gathered, there is some kind of issue between the 32bit
userland (brctl) and 64bit kernel.  If you use Debian, you can get a 64bit
version of brctl, but even with that I could never get it to work.  I could
never find anyone who has gotten it to work on the UltraSPARC/Sparc64
architecture.

If you're a kernel hacker, you might be able to get some help debugging the
problems if you can suggest new code.  Otherwise you'll have to use an x86
based platform (there bridging works beautifully).

Perhaps with time this will bill sorted out in the 2.6 kernel???

<> Jim

> -----Original Message-----
> I'm having a little trouble with a sprc bridge setup.  I am running SuSe
> 7.3 for sparc on a Sun Ultra1 Creator3D.
> I compiled 2.4.25 kernel with 802.1d Ethernet Bridging support, and
> installed
> bridge-utils 0.9.6.  I've read all of the documentation that I could find
> (Bridging FAQ and
> Bridging HOWTO).  But I still get the following errors:
> 
> brctl addbr br0
> brctl addif br0 eth0
> bridge br0 doesn't exist!
> 
> Why not?
> 
> brctl addbr br0
> device br0 already exists; can't create bridge with the same name
> 
> I've found on other mailing-lists that sparc systems require the bridge-
> utils64 package, but can only find it for Debian.
> 
> Any thoughts on what's going on here?  If I compiled the utils from
> source, shouldn't they be the right ones for my system/kernel?
> 
> Any help would be greatly appreciated.


^ permalink raw reply	[flat|nested] 7+ messages in thread
* RE: [Bridge] Sparc Bridge problems
@ 2004-04-01 14:27 Small, Jim
  0 siblings, 0 replies; 7+ messages in thread
From: Small, Jim @ 2004-04-01 14:27 UTC (permalink / raw)
  To: Santiago Leon; +Cc: bridge

Santiago,

I appreciate your offer.  I'm not really a kernel hacker, however I do know
C and I would be willing to try if you point me in the right direction.
Here is my first attempt using Debian running on an UltraSPARC:
debian{root}:/root<512>strace -f -F -v brctl addbr br0
execve("/usr/sbin/brctl", ["brctl", "addbr", "br0"], [/* 16 vars */]) = 0
debian{root}:/root<513>strace -f -F -v brctl addif br0 eth1
execve("/usr/sbin/brctl", ["brctl", "addif", "br0", "eth1"], [/* 16 vars
*/]) = 0
debian{root}:/root<514>
debian{root}:/root<514>uname -a
Linux debian 2.4.25 #3 SMP Mon Mar 8 20:03:58 EST 2004 sparc64 GNU/Linux
debian{root}:/root<515>
debian{root}:/root<515>which brctl
/usr/sbin/brctl
debian{root}:/root<516>file /usr/sbin/brctl
/usr/sbin/brctl: ELF 64-bit MSB executable, SPARC V9, version 1 (SYSV), for
GNU/Linux 2.4.18, dynamically linked (uses shared libs), stripped

I compiled bridging into the kernel, statically (right terminology?) not as
a module.

I am using bridge-utils64:
debian{root}:/root<532>dpkg -s bridge-utils64
Package: bridge-utils64
Status: install ok installed
Priority: optional
Section: net
Installed-Size: 148
Maintainer: Santiago Garcia Mantinan <manty@debian.org>
Source: bridge-utils
Version: 0.9.6-5
Replaces: bridge-utils
Depends: libc6-sparc64 (>= 2.3.2.ds1-4), ifupdown (>= 0.6.0)
Conflicts: bridge-utils
Conffiles:
 /etc/network/if-pre-up.d/bridge e099ee6444ea38e3fef1a2b32b918343
 /etc/network/if-post-down.d/bridge 4c1d2c2bf27a2cec9416b821d4291bcd
Description: Utilities for configuring the Linux 2.4 bridge
 This package contains utilities for configuring the Linux ethernet
 bridge. The Linux ethernet bridge can be used for connecting multiple
 ethernet devices together. The connecting is fully transparent: hosts
 connected to one ethernet device see hosts connected to the other
 ethernet devices directly.

Note that I tried this with the original 2.4.18 kernel and it didn't work.
It was recommended that I try upgrading to the 2.4.25 kernel which I did,
but it still doesn't work.

I am willing to try anything, just let me know!

Thanks,
   <> Jim

> -----Original Message-----
> From: Santiago Leon [mailto:santil@us.ibm.com]
> Sent: Wednesday, March 31, 2004 12:33 PM
> To: Small, Jim
> Cc: D@7@k|N&; bridge@osdl.org
> Subject: Re: [Bridge] Sparc Bridge problems
> 
> I had the exact same problem a while ago on a 64-bit PowerPC and hacked
> my way around it... (can't seem to find the patch now, though)...  The
> first thing you want to do is run:
> brctl addbr br0
> strace brctl addif br0 eth0
> 
> and look for what ioctl fails... Post that output and I might be able to
> point you to the solution...
> 
> --
> Santiago A. Leon
> Power Linux Development
> IBM Linux Technology Center


^ permalink raw reply	[flat|nested] 7+ messages in thread
* [Bridge] Sparc Bridge problems
@ 2004-03-22  4:34 D@7@k|N&
  2004-03-29 17:36 ` Bart De Schuymer
  0 siblings, 1 reply; 7+ messages in thread
From: D@7@k|N& @ 2004-03-22  4:34 UTC (permalink / raw)
  To: bridge

Hey guys!

I'm having a little trouble with a sprc bridge setup.  I am running SuSe 7.3 for sparc on a Sun Ultra1 Creator3D.
I compiled 2.4.25 kernel with 802.1d Ethernet Bridging support, and installed
bridge-utils 0.9.6.  I've read all of the documentation that I could find (Bridging FAQ and
Bridging HOWTO).  But I still get the following errors:

brctl addbr br0
brctl addif br0 eth0
bridge br0 doesn't exist!

Why not?

brctl addbr br0
device br0 already exists; can't create bridge with the same name

I've found on other mailing-lists that sparc systems require the bridge-utils64 package, but can only find it for Debian.

Any thoughts on what's going on here?  If I compiled the utils from source, shouldn't they be the right ones for my system/kernel?

Any help would be greatly appreciated.

Thanks,
Charlie



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-04-01 14:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-29 17:24 [Bridge] Sparc Bridge problems Small, Jim
2004-03-29 17:43 ` D@7@k|N&
2004-03-31 17:33 ` Santiago Leon
  -- strict thread matches above, loose matches on Subject: below --
2004-04-01 14:27 Small, Jim
2004-03-22  4:34 D@7@k|N&
2004-03-29 17:36 ` Bart De Schuymer
2004-03-29 17:48   ` Stephen Hemminger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.