Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* [2.0.35] NIC/ipfwadm problems on AXP
@ 1998-07-08  7:57 B. James Phillippe
  1998-07-08 16:01 ` Michal Jaegermann
  0 siblings, 1 reply; 9+ messages in thread
From: B. James Phillippe @ 1998-07-08  7:57 UTC (permalink / raw)
  To: Linux kernel, RedHat AXP list

Hello,

	Let me get this out first: perhaps I am an idiot for trying to
build 2.0.35 (pre-5 w/Alpha patches) using egcs; I've tried 1.0.2 (stock
RedHat-5.1) and 1.0.3a RPM.  If this is the problem stop me now. :)
	Otherwise, I can build a kernel and it boots up fine, but there are
a few things which just do not work at all.  First, my DE4x5 PCI ethernet
card is detected but doesn't work (never gets an interrupt, and it's oddly
detected at a different IO address), and second, all ipfwadm commands fail
with "setsockopt: invalid argument".  The system is Avanti (Mustang) being
built with ALPHA_SRM_SETUP and booting via SRM console v6.8.  I have
compiled in IP forwarding, firewalling and masquerading (which I've been
using extensively for years on x86).  Here is a sample of an strace for
ipfwadm:

execve("/sbin/ipfwadm", ["ipfwadm", "-F", "-a", "accept", "-m", "-S", "192.168.2.0/24", "-W", "ppp0"], [/* 17 vars */]) = 0
brk(0)                                  = 0x12010881c
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=01, st_size=899883603, ...}) = 0
mmap(0, 4831835704, PROT_READ, 0 /* MAP_??? */, 0, 0) = 0x15555566000
close(3)                                = 0
open("/lib/libc.so.6.1", O_RDONLY)      = 3
mmap(0, 0, PROT_NONE, 0 /* MAP_??? */, 0, 0) = 0x1555556a000
munmap(0x1555556a000, 8192)             = 0
mmap(0, 8192, PROT_NONE, 0 /* MAP_??? */, 0, 0) = 0x15555666000
mprotect(0x1555572c000, 1152824, PROT_NONE) = 0
mmap(0x15555826000, 1152824, PROT_NONE, 0 /* MAP_??? */, 0, 0) = 0x15555826000
mmap(0x1555583c000, 1152824, PROT_NONE, 0 /* MAP_??? */, 0, 0) = 0x1555583c000
close(3)                                = 0
personality(0 /* PER_??? */)            = 0
osf_getsysinfo(0x2d, 0x11ffffc88, 0x11ffffd30, 0, 0x2) = 0
osf_setsysinfo(0xe, 0x11ffffc88, 0x11ffffd30, 0, 0x2) = 0
getxpid()                               = 667
brk(0)                                  = 0x12010881c
brk(0x12010885c)                        = 0x12010885c
brk(0x12010a000)                        = 0x12010a000
socket(PF_INET, SOCK_RAW, IPPROTO_RAW)  = 3
setsockopt(3, IPPROTO_IP65, [0], 96)    = -1 EINVAL (Invalid argument)
write(2, "ipfwadm: setsockopt failed: Inva"..., 45ipfwadm: setsockopt failed: Invalid argument
) = 45
exit(-1)                                = ?

Another little cosmetic problem is that modprobe says it can't locate
module ppp0, but PPP is compiled into the kernel.

Any ideas?

-bp
--
B. James Phillippe <bryan@terran.org>
Linux Software Engineer, WGT Inc.
http://earth.terran.org/~bryan


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

* Re: [2.0.35] NIC/ipfwadm problems on AXP
  1998-07-08  7:57 B. James Phillippe
@ 1998-07-08 16:01 ` Michal Jaegermann
  1998-07-08 17:11   ` B. James Phillippe
  0 siblings, 1 reply; 9+ messages in thread
From: Michal Jaegermann @ 1998-07-08 16:01 UTC (permalink / raw)
  To: axp-list

> 
> 	Let me get this out first: perhaps I am an idiot for trying to
> build 2.0.35 (pre-5 w/Alpha patches) using egcs; I've tried 1.0.2 (stock
> RedHat-5.1) and 1.0.3a RPM.  If this is the problem stop me now. :)

From what I know "rpm" egcs is not the same as the "real" 1.0.3a, but
maybe I mistaken.

Not directly a solution to your problem, but some data point.
Just yesterday I run a bit of an experiment - three machines on two
different networks with Linux/Alpha supplying ethernet aliases on the
same physical interface and doing masquerading (NOT routing between
two networks).  Once everything was in place communications work just
fine.  Kernel on alpha was heavily patched 2.0.33 ("almost 2.0.34"),
but not 2.0.35pre.  This kernel was compiled with egcs-1.0.3a, the
true one from Cygnus, and for a long time I compile all kernels, for a
number of different Alpha variants, using different versions of egcs.
No problems so far (reported kernel troubles with egcs have to do mostly
with **Intel** optimizations).

> 	Otherwise, I can build a kernel and it boots up fine, but there are
> a few things which just do not work at all.  First, my DE4x5 PCI ethernet
> card is detected but doesn't work (never gets an interrupt, and it's oddly
> detected at a different IO address),

Some newer cards of that type want to work only with tulip driver and
you may want to check CESDIS site for the current versions.

> and second, all ipfwadm commands fail
> with "setsockopt: invalid argument".

This second would follow from the first.

  Michal


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

* Re: [2.0.35] NIC/ipfwadm problems on AXP
  1998-07-08 16:01 ` Michal Jaegermann
@ 1998-07-08 17:11   ` B. James Phillippe
  0 siblings, 0 replies; 9+ messages in thread
From: B. James Phillippe @ 1998-07-08 17:11 UTC (permalink / raw)
  To: axp-list

On Wed, 8 Jul 1998, Michal Jaegermann wrote:

> > 
> > 	Let me get this out first: perhaps I am an idiot for trying to
> > build 2.0.35 (pre-5 w/Alpha patches) using egcs; I've tried 1.0.2 (stock
> > RedHat-5.1) and 1.0.3a RPM.  If this is the problem stop me now. :)
> 
> >From what I know "rpm" egcs is not the same as the "real" 1.0.3a, but
> maybe I mistaken.

That would really scare me..

> Not directly a solution to your problem, but some data point.
> Just yesterday I run a bit of an experiment - three machines on two
> different networks with Linux/Alpha supplying ethernet aliases on the
> same physical interface and doing masquerading (NOT routing between

Hmmm... masquerading works for you, eh?  I don't have the foggiest clue why
it isn't working on my system.

> > 	Otherwise, I can build a kernel and it boots up fine, but there are
> > a few things which just do not work at all.  First, my DE4x5 PCI ethernet
> > card is detected but doesn't work (never gets an interrupt, and it's oddly
> > detected at a different IO address),
> 
> Some newer cards of that type want to work only with tulip driver and
> you may want to check CESDIS site for the current versions.

If this is a driver problem, my first guess would be that the newer de4x5
driver is for some reason not working with my card, and the older one is
(they are different in 2.0.33 and 2.0.34+).  This is an older de4x5 card.
But what really concerns me is that the IO address is _different_ when I
boot into 2.0.34+ than it is in 2.0.33.  I'll try again with
CONFIG_ALPHA_SRM off and see if that's the problem.

> > and second, all ipfwadm commands fail
> > with "setsockopt: invalid argument".
> 
> This second would follow from the first.

I don't believe that; the ipfwadm commands should only fail with setsockopt
if the core firewalling code of the kernel is broken, not just because an
interface isn't getting interrupts.  You can add IP firewalling commands
for interfaces that aren't even present in the system yet, like ppp0 before
you've connected.  I don't have a clue what could be causing this problem.

-bp
--
B. James Phillippe <bryan@terran.org>
Linux Software Engineer, WGT Inc.
http://earth.terran.org/~bryan


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

* RE: [2.0.35] NIC/ipfwadm problems on AXP
@ 1998-07-08 17:30 Tibbetts, Richard
  1998-07-08 18:01 ` B. James Phillippe
  1998-07-09 17:54 ` Andrew Smith
  0 siblings, 2 replies; 9+ messages in thread
From: Tibbetts, Richard @ 1998-07-08 17:30 UTC (permalink / raw)
  To: Linux kernel, 'RedHat AXP list'

My 2 cents;
	I have the same hardware (Alpha Avanti (Mustang)), but am
running RedHat 5.1 "out of the box" (I've not yet gone to egcs), and I'm
running the 2.0.34 kernel.
	I've compiled in the same options, looking to setup ipfwadm. I'm
getting exactly the same error  "setsockopt: invalid argument".  
	I've been using this on i386 Linux for a long time with no
problems, but it refuses to run under an identical setup on Alpha Linux.

> 	______________________________
> 	Ric Tibbetts
> 	Boeing SSG Distributed CATIA
> 	Central Administration
> 	CAS-CADE Central Administration
> 	Phone: 425/393-4442    Pager: 425/645-2012
> 	E-Mail:    richard.tibbetts@boeing.com
> 
> 	Eagles may soar, but weasels don't get sucked into jet engines.
> 	_______________________________
> 
> 
> 
> ----------
> From: 	B. James Phillippe[SMTP:bryan@terran.org]
> Reply To: 	RedHat AXP list
> Sent: 	Wednesday, July 08, 1998 12:57 AM
> To: 	Linux kernel; RedHat AXP list
> Subject: 	[2.0.35] NIC/ipfwadm problems on AXP
> 
> Hello,
> 
> 	Let me get this out first: perhaps I am an idiot for trying to
> build 2.0.35 (pre-5 w/Alpha patches) using egcs; I've tried 1.0.2
> (stock
> RedHat-5.1) and 1.0.3a RPM.  If this is the problem stop me now. :)
> 	Otherwise, I can build a kernel and it boots up fine, but there
> are
> a few things which just do not work at all.  First, my DE4x5 PCI
> ethernet
> card is detected but doesn't work (never gets an interrupt, and it's
> oddly
> detected at a different IO address), and second, all ipfwadm commands
> fail
> with "setsockopt: invalid argument".  The system is Avanti (Mustang)
> being
> built with ALPHA_SRM_SETUP and booting via SRM console v6.8.  I have
> compiled in IP forwarding, firewalling and masquerading (which I've
> been
> using extensively for years on x86).  Here is a sample of an strace
> for
> ipfwadm:
> 
> execve("/sbin/ipfwadm", ["ipfwadm", "-F", "-a", "accept", "-m", "-S",
> "192.168.2.0/24", "-W", "ppp0"], [/* 17 vars */]) = 0
> brk(0)                                  = 0x12010881c
> open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or
> directory)
> open("/etc/ld.so.cache", O_RDONLY)      = 3
> fstat(3, {st_mode=01, st_size=899883603, ...}) = 0
> mmap(0, 4831835704, PROT_READ, 0 /* MAP_??? */, 0, 0) = 0x15555566000
> close(3)                                = 0
> open("/lib/libc.so.6.1", O_RDONLY)      = 3
> mmap(0, 0, PROT_NONE, 0 /* MAP_??? */, 0, 0) = 0x1555556a000
> munmap(0x1555556a000, 8192)             = 0
> mmap(0, 8192, PROT_NONE, 0 /* MAP_??? */, 0, 0) = 0x15555666000
> mprotect(0x1555572c000, 1152824, PROT_NONE) = 0
> mmap(0x15555826000, 1152824, PROT_NONE, 0 /* MAP_??? */, 0, 0) =
> 0x15555826000
> mmap(0x1555583c000, 1152824, PROT_NONE, 0 /* MAP_??? */, 0, 0) =
> 0x1555583c000
> close(3)                                = 0
> personality(0 /* PER_??? */)            = 0
> osf_getsysinfo(0x2d, 0x11ffffc88, 0x11ffffd30, 0, 0x2) = 0
> osf_setsysinfo(0xe, 0x11ffffc88, 0x11ffffd30, 0, 0x2) = 0
> getxpid()                               = 667
> brk(0)                                  = 0x12010881c
> brk(0x12010885c)                        = 0x12010885c
> brk(0x12010a000)                        = 0x12010a000
> socket(PF_INET, SOCK_RAW, IPPROTO_RAW)  = 3
> setsockopt(3, IPPROTO_IP65, [0], 96)    = -1 EINVAL (Invalid argument)
> write(2, "ipfwadm: setsockopt failed: Inva"..., 45ipfwadm: setsockopt
> failed: Invalid argument
> ) = 45
> exit(-1)                                = ?
> 
> Another little cosmetic problem is that modprobe says it can't locate
> module ppp0, but PPP is compiled into the kernel.
> 
> Any ideas?
> 
> -bp
> --
> B. James Phillippe <bryan@terran.org>
> Linux Software Engineer, WGT Inc.
> http://earth.terran.org/~bryan
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 


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

* RE: [2.0.35] NIC/ipfwadm problems on AXP
  1998-07-08 17:30 Tibbetts, Richard
@ 1998-07-08 18:01 ` B. James Phillippe
  1998-07-09 17:54 ` Andrew Smith
  1 sibling, 0 replies; 9+ messages in thread
From: B. James Phillippe @ 1998-07-08 18:01 UTC (permalink / raw)
  To: Tibbetts, Richard; +Cc: Linux kernel, 'RedHat AXP list'

On Wed, 8 Jul 1998, Tibbetts, Richard wrote:

> My 2 cents;
> 	I have the same hardware (Alpha Avanti (Mustang)), but am
> running RedHat 5.1 "out of the box" (I've not yet gone to egcs), and I'm

RedHat-5.1 comes with egcs (and not gcc-2.7); do gcc --version.

> running the 2.0.34 kernel.
> 	I've compiled in the same options, looking to setup ipfwadm. I'm
> getting exactly the same error  "setsockopt: invalid argument".  
> 	I've been using this on i386 Linux for a long time with no
> problems, but it refuses to run under an identical setup on Alpha Linux.

My situation exactly.  I'll try a few more tests and see if I can find the
problem.  Notably, I'll be trying a 2.1 kernel to see what happens there.
I'll also try compiling with CONFIG_ALPHA_SRM off and see if that helps the
ethernet situation (btw, have you built with that option your 2.0.34
kernel, and if so, did the ethernet work?)

cheers,
-bp
--
B. James Phillippe <bryan@terran.org>
Linux Software Engineer, WGT Inc.
http://earth.terran.org/~bryan


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

* RE: [2.0.35] NIC/ipfwadm problems on AXP
       [not found] <618FD3AF120DD111A27900805F19D9C4027B337E@xch-blv-03.ca.boeing.com>
@ 1998-07-08 18:35 ` B. James Phillippe
  0 siblings, 0 replies; 9+ messages in thread
From: B. James Phillippe @ 1998-07-08 18:35 UTC (permalink / raw)
  To: Tibbetts, Richard; +Cc: RedHat AXP list

On Wed, 8 Jul 1998, Tibbetts, Richard wrote:

> Yeah, no problems with the Ethernet. What I'm not sure of is if I
> compiled in the tulip driver as well. I don't think so, but I'd seen
> some controversy about it being needed in some cases, so I may have just

Hmm... Okay, I'll try that this evning, too.

> as a "safety net".  But on all of my builds I've always turned on
> CONFIG_ALPHA_SRM, and my Ethernet card has always worked.

Oops.. I made an error; I meant CONFIG_ALPHA_SRM_SETUP.  CONFIG_ALPHA_SRM
we *have* to compile with.  This COFIG_ALPHA_SRM_SETUP option is supposed
to use PCI settings from the SRM console instead of the normal probing that
Linux does.  I'll bet that might be my problem (for the ethernet).

> To be honest, I was almost relieved to see that you were getting the
> same error message form ipfwadm that I am. I've been pulling my hair out
> over it trying to figure out what I did wrong. It works great on the
> Intel, but I need it on the Alpha.. and it wouldn't work. I was sure I
> had screwed something up.

I'm in the same boat.  I think something's wrong in the Alpha kernel.  I
can get away with *listing* the (blank) firewall entries (eg., ipfwadm
-Ale), but trying to add something causes the socket error.  I'll see if
2.1 clears it up.  Keep me posted if you find anything.

cheers,
-bp
--
B. James Phillippe <bryan@terran.org>
Linux Software Engineer, WGT Inc.
http://earth.terran.org/~bryan


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

* RE: [2.0.35] NIC/ipfwadm problems on AXP
       [not found] <Pine.LNX.3.96.980709065952.2255A-100000@zero>
@ 1998-07-09 15:15 ` B. James Phillippe
  0 siblings, 0 replies; 9+ messages in thread
From: B. James Phillippe @ 1998-07-09 15:15 UTC (permalink / raw)
  To: thomassr; +Cc: RedHat AXP list

On Thu, 9 Jul 1998, Tom Vier wrote:

> it looks like ipfwadm is trying to setup stuff that wasn't
> compiled. look for the appropriate files in /proc/net and
> /proc/sys/net/ipv4/; if they aren't there, then they weren't compiled.

No, they're definitely there.  And I've built the kernel over and over
again making *certain* to compile in all the firewalling code I want.
There is some other sort of problem.  Another funky piece is that I can
change the default rules (like ipfwadm -F -p deny), but trying to specify
commands of -a, -i, -d all fail with the setsockopt error.  Beats the hell
out of me.

-bp
--
B. James Phillippe <bryan@terran.org>
Linux Software Engineer, WGT Inc.
http://earth.terran.org/~bryan


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

* RE: [2.0.35] NIC/ipfwadm problems on AXP
  1998-07-08 17:30 Tibbetts, Richard
  1998-07-08 18:01 ` B. James Phillippe
@ 1998-07-09 17:54 ` Andrew Smith
  1 sibling, 0 replies; 9+ messages in thread
From: Andrew Smith @ 1998-07-09 17:54 UTC (permalink / raw)
  To: axp-list


to fix ipfwadm is simple!! just get the ipfwadm package from 5.0 :)

If your kernel is right all will go fine.




>My 2 cents;
>	I have the same hardware (Alpha Avanti (Mustang)), but am
>running RedHat 5.1 "out of the box" (I've not yet gone to egcs), and I'm
>running the 2.0.34 kernel.
>	I've compiled in the same options, looking to setup ipfwadm. I'm
>getting exactly the same error  "setsockopt: invalid argument".
>	I've been using this on i386 Linux for a long time with no
>problems, but it refuses to run under an identical setup on Alpha Linux.
>
>> 	______________________________
>> 	Ric Tibbetts
>> 	Boeing SSG Distributed CATIA
>> 	Central Administration
>> 	CAS-CADE Central Administration
>> 	Phone: 425/393-4442    Pager: 425/645-2012
>> 	E-Mail:    richard.tibbetts@boeing.com
>>
>> 	Eagles may soar, but weasels don't get sucked into jet engines.
>> 	_______________________________
>>
>>
>>
>> ----------
>> From: 	B. James Phillippe[SMTP:bryan@terran.org]
>> Reply To: 	RedHat AXP list
>> Sent: 	Wednesday, July 08, 1998 12:57 AM
>> To: 	Linux kernel; RedHat AXP list
>> Subject: 	[2.0.35] NIC/ipfwadm problems on AXP
>>
>> Hello,
>>
>> 	Let me get this out first: perhaps I am an idiot for trying to
>> build 2.0.35 (pre-5 w/Alpha patches) using egcs; I've tried 1.0.2
>> (stock
>> RedHat-5.1) and 1.0.3a RPM.  If this is the problem stop me now. :)
>> 	Otherwise, I can build a kernel and it boots up fine, but there
>> are
>> a few things which just do not work at all.  First, my DE4x5 PCI
>> ethernet
>> card is detected but doesn't work (never gets an interrupt, and it's
>> oddly
>> detected at a different IO address), and second, all ipfwadm commands
>> fail
>> with "setsockopt: invalid argument".  The system is Avanti (Mustang)
>> being
>> built with ALPHA_SRM_SETUP and booting via SRM console v6.8.  I have
>> compiled in IP forwarding, firewalling and masquerading (which I've
>> been
>> using extensively for years on x86).  Here is a sample of an strace
>> for
>> ipfwadm:
>>
>> execve("/sbin/ipfwadm", ["ipfwadm", "-F", "-a", "accept", "-m", "-S",
>> "192.168.2.0/24", "-W", "ppp0"], [/* 17 vars */]) = 0
>> brk(0)                                  = 0x12010881c
>> open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or
>> directory)
>> open("/etc/ld.so.cache", O_RDONLY)      = 3
>> fstat(3, {st_mode=01, st_size=899883603, ...}) = 0
>> mmap(0, 4831835704, PROT_READ, 0 /* MAP_??? */, 0, 0) = 0x15555566000
>> close(3)                                = 0
>> open("/lib/libc.so.6.1", O_RDONLY)      = 3
>> mmap(0, 0, PROT_NONE, 0 /* MAP_??? */, 0, 0) = 0x1555556a000
>> munmap(0x1555556a000, 8192)             = 0
>> mmap(0, 8192, PROT_NONE, 0 /* MAP_??? */, 0, 0) = 0x15555666000
>> mprotect(0x1555572c000, 1152824, PROT_NONE) = 0
>> mmap(0x15555826000, 1152824, PROT_NONE, 0 /* MAP_??? */, 0, 0) =
>> 0x15555826000
>> mmap(0x1555583c000, 1152824, PROT_NONE, 0 /* MAP_??? */, 0, 0) =
>> 0x1555583c000
>> close(3)                                = 0
>> personality(0 /* PER_??? */)            = 0
>> osf_getsysinfo(0x2d, 0x11ffffc88, 0x11ffffd30, 0, 0x2) = 0
>> osf_setsysinfo(0xe, 0x11ffffc88, 0x11ffffd30, 0, 0x2) = 0
>> getxpid()                               = 667
>> brk(0)                                  = 0x12010881c
>> brk(0x12010885c)                        = 0x12010885c
>> brk(0x12010a000)                        = 0x12010a000
>> socket(PF_INET, SOCK_RAW, IPPROTO_RAW)  = 3
>> setsockopt(3, IPPROTO_IP65, [0], 96)    = -1 EINVAL (Invalid argument)
>> write(2, "ipfwadm: setsockopt failed: Inva"..., 45ipfwadm: setsockopt
>> failed: Invalid argument
>> ) = 45
>> exit(-1)                                = ?
>>
>> Another little cosmetic problem is that modprobe says it can't locate
>> module ppp0, but PPP is compiled into the kernel.
>>
>> Any ideas?
>>
>> -bp
>> --
>> B. James Phillippe <bryan@terran.org>
>> Linux Software Engineer, WGT Inc.
>> http://earth.terran.org/~bryan
>>
>> --
>> To unsubscribe: send e-mail to axp-list-request@redhat.com with
>> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
>>
>
>--
>To unsubscribe: send e-mail to axp-list-request@redhat.com with
>'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com


------------------------------------------------------------------------------
Andrew Smith			    			asmith@eriver.com
Eagle River Interactive
Developer				 		212 358 5431
------------------------------------------------------------------------------





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

* RE: [2.0.35] NIC/ipfwadm problems on AXP
@ 1998-07-09 18:21 Tibbetts, Richard
  0 siblings, 0 replies; 9+ messages in thread
From: Tibbetts, Richard @ 1998-07-09 18:21 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

If that is the case, then it means that it's broken in 5.1, and RedHat
needs to issue the appropriate corrective actions. Simply stating "go
get the old one" is not a resolution.

	(but thanks for the tip, I'll try it out tonight!)

> 	______________________________
> 	Ric Tibbetts
> 	Boeing SSG Distributed CATIA
> 	Central Administration G-4722
> 	CAS-CADE Central Administration
> 	Phone: 425/393-4442    Pager: 425/645-2012
> 	E-Mail:    richard.tibbetts@boeing.com
> 
> 	Eagles may soar, but weasels don't get sucked into jet engines.
> 	_______________________________
> 
> 
> ----------
> From: 	Andrew Smith[SMTP:asmith@tiac.net]
> Reply To: 	axp-list@redhat.com
> Sent: 	Thursday, July 09, 1998 10:54 AM
> To: 	axp-list@redhat.com
> Subject: 	RE: [2.0.35] NIC/ipfwadm problems on AXP
> 
> 
> to fix ipfwadm is simple!! just get the ipfwadm package from 5.0 :)
> 
> If your kernel is right all will go fine.
> 
> 
> 
> 
> >My 2 cents;
> >	I have the same hardware (Alpha Avanti (Mustang)), but am
> >running RedHat 5.1 "out of the box" (I've not yet gone to egcs), and
> I'm
> >running the 2.0.34 kernel.
> >	I've compiled in the same options, looking to setup ipfwadm. I'm
> >getting exactly the same error  "setsockopt: invalid argument".
> >	I've been using this on i386 Linux for a long time with no
> >problems, but it refuses to run under an identical setup on Alpha
> Linux.
> >
> >> 	______________________________
> >> 	Ric Tibbetts
> >> 	Boeing SSG Distributed CATIA
> >> 	Central Administration
> >> 	CAS-CADE Central Administration
> >> 	Phone: 425/393-4442    Pager: 425/645-2012
> >> 	E-Mail:    richard.tibbetts@boeing.com
> >>
> >> 	Eagles may soar, but weasels don't get sucked into jet engines.
> >> 	_______________________________
> >>
> >>
> >>
> >> ----------
> >> From: 	B. James Phillippe[SMTP:bryan@terran.org]
> >> Reply To: 	RedHat AXP list
> >> Sent: 	Wednesday, July 08, 1998 12:57 AM
> >> To: 	Linux kernel; RedHat AXP list
> >> Subject: 	[2.0.35] NIC/ipfwadm problems on AXP
> >>
> >> Hello,
> >>
> >> 	Let me get this out first: perhaps I am an idiot for trying to
> >> build 2.0.35 (pre-5 w/Alpha patches) using egcs; I've tried 1.0.2
> >> (stock
> >> RedHat-5.1) and 1.0.3a RPM.  If this is the problem stop me now. :)
> >> 	Otherwise, I can build a kernel and it boots up fine, but there
> >> are
> >> a few things which just do not work at all.  First, my DE4x5 PCI
> >> ethernet
> >> card is detected but doesn't work (never gets an interrupt, and
> it's
> >> oddly
> >> detected at a different IO address), and second, all ipfwadm
> commands
> >> fail
> >> with "setsockopt: invalid argument".  The system is Avanti
> (Mustang)
> >> being
> >> built with ALPHA_SRM_SETUP and booting via SRM console v6.8.  I
> have
> >> compiled in IP forwarding, firewalling and masquerading (which I've
> >> been
> >> using extensively for years on x86).  Here is a sample of an strace
> >> for
> >> ipfwadm:
> >>
> >> execve("/sbin/ipfwadm", ["ipfwadm", "-F", "-a", "accept", "-m",
> "-S",
> >> "192.168.2.0/24", "-W", "ppp0"], [/* 17 vars */]) = 0
> >> brk(0)                                  = 0x12010881c
> >> open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file
> or
> >> directory)
> >> open("/etc/ld.so.cache", O_RDONLY)      = 3
> >> fstat(3, {st_mode=01, st_size=899883603, ...}) = 0
> >> mmap(0, 4831835704, PROT_READ, 0 /* MAP_??? */, 0, 0) =
> 0x15555566000
> >> close(3)                                = 0
> >> open("/lib/libc.so.6.1", O_RDONLY)      = 3
> >> mmap(0, 0, PROT_NONE, 0 /* MAP_??? */, 0, 0) = 0x1555556a000
> >> munmap(0x1555556a000, 8192)             = 0
> >> mmap(0, 8192, PROT_NONE, 0 /* MAP_??? */, 0, 0) = 0x15555666000
> >> mprotect(0x1555572c000, 1152824, PROT_NONE) = 0
> >> mmap(0x15555826000, 1152824, PROT_NONE, 0 /* MAP_??? */, 0, 0) =
> >> 0x15555826000
> >> mmap(0x1555583c000, 1152824, PROT_NONE, 0 /* MAP_??? */, 0, 0) =
> >> 0x1555583c000
> >> close(3)                                = 0
> >> personality(0 /* PER_??? */)            = 0
> >> osf_getsysinfo(0x2d, 0x11ffffc88, 0x11ffffd30, 0, 0x2) = 0
> >> osf_setsysinfo(0xe, 0x11ffffc88, 0x11ffffd30, 0, 0x2) = 0
> >> getxpid()                               = 667
> >> brk(0)                                  = 0x12010881c
> >> brk(0x12010885c)                        = 0x12010885c
> >> brk(0x12010a000)                        = 0x12010a000
> >> socket(PF_INET, SOCK_RAW, IPPROTO_RAW)  = 3
> >> setsockopt(3, IPPROTO_IP65, [0], 96)    = -1 EINVAL (Invalid
> argument)
> >> write(2, "ipfwadm: setsockopt failed: Inva"..., 45ipfwadm:
> setsockopt
> >> failed: Invalid argument
> >> ) = 45
> >> exit(-1)                                = ?
> >>
> >> Another little cosmetic problem is that modprobe says it can't
> locate
> >> module ppp0, but PPP is compiled into the kernel.
> >>
> >> Any ideas?
> >>
> >> -bp
> >> --
> >> B. James Phillippe <bryan@terran.org>
> >> Linux Software Engineer, WGT Inc.
> >> http://earth.terran.org/~bryan
> >>
> >> --
> >> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> >> 'unsubscribe' as the subject.  Do not send it to
> axp-list@redhat.com
> >>
> >
> >--
> >To unsubscribe: send e-mail to axp-list-request@redhat.com with
> >'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 
> 
> ----------------------------------------------------------------------
> --------
> Andrew Smith
> asmith@eriver.com
> Eagle River Interactive
> Developer				 		212 358 5431
> ----------------------------------------------------------------------
> --------
> 
> 
> 
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 


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

end of thread, other threads:[~1998-07-09 18:22 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <618FD3AF120DD111A27900805F19D9C4027B337E@xch-blv-03.ca.boeing.com>
1998-07-08 18:35 ` [2.0.35] NIC/ipfwadm problems on AXP B. James Phillippe
1998-07-09 18:21 Tibbetts, Richard
     [not found] <Pine.LNX.3.96.980709065952.2255A-100000@zero>
1998-07-09 15:15 ` B. James Phillippe
  -- strict thread matches above, loose matches on Subject: below --
1998-07-08 17:30 Tibbetts, Richard
1998-07-08 18:01 ` B. James Phillippe
1998-07-09 17:54 ` Andrew Smith
1998-07-08  7:57 B. James Phillippe
1998-07-08 16:01 ` Michal Jaegermann
1998-07-08 17:11   ` B. James Phillippe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox