Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* 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
[parent not found: <Pine.LNX.3.96.980709065952.2255A-100000@zero>]
[parent not found: <618FD3AF120DD111A27900805F19D9C4027B337E@xch-blv-03.ca.boeing.com>]
* 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
* [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

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 --
1998-07-09 18:21 [2.0.35] NIC/ipfwadm problems on AXP Tibbetts, Richard
     [not found] <Pine.LNX.3.96.980709065952.2255A-100000@zero>
1998-07-09 15:15 ` B. James Phillippe
     [not found] <618FD3AF120DD111A27900805F19D9C4027B337E@xch-blv-03.ca.boeing.com>
1998-07-08 18:35 ` 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