From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 30443 invoked from network); 8 Jul 1998 07:56:28 -0000 Received: from earth.terran.org (bryan@208.152.24.33) by mail2.redhat.com with SMTP; 8 Jul 1998 07:56:28 -0000 Received: from localhost (bryan@localhost) by earth.terran.org (8.8.7/8.8.8) with SMTP id AAA00561; Wed, 8 Jul 1998 00:57:07 -0700 Date: Wed, 8 Jul 1998 00:57:07 -0700 (PDT) From: "B. James Phillippe" Reply-To: RedHat AXP list To: Linux kernel , RedHat AXP list Subject: [2.0.35] NIC/ipfwadm problems on AXP Message-ID: Organization: Terran.ORG/LinuxWorld.NET X-Subliminal-Message: Use Linux MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Linux Software Engineer, WGT Inc. http://earth.terran.org/~bryan