From: "B. James Phillippe" <bryan@terran.org>
To: Linux kernel <linux-kernel@vger.rutgers.edu>,
RedHat AXP list <axp-list@redhat.com>
Subject: [2.0.35] NIC/ipfwadm problems on AXP
Date: Wed, 8 Jul 1998 00:57:07 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.3.96.980708004422.502A-100000@earth.terran.org> (raw)
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
next reply other threads:[~1998-07-08 7:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-07-08 7:57 B. James Phillippe [this message]
1998-07-08 16:01 ` [2.0.35] NIC/ipfwadm problems on AXP Michal Jaegermann
1998-07-08 17:11 ` 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
[not found] <618FD3AF120DD111A27900805F19D9C4027B337E@xch-blv-03.ca.boeing.com>
1998-07-08 18:35 ` B. James Phillippe
[not found] <Pine.LNX.3.96.980709065952.2255A-100000@zero>
1998-07-09 15:15 ` B. James Phillippe
1998-07-09 18:21 Tibbetts, Richard
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox