From owner-freebsd-stable Mon Jul 29 3:19:20 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0099C37B400 for ; Mon, 29 Jul 2002 03:19:19 -0700 (PDT) Received: from chiller.be (chiller.be [217.8.136.234]) by mx1.FreeBSD.org (Postfix) with SMTP id DACD543E6A for ; Mon, 29 Jul 2002 03:19:17 -0700 (PDT) (envelope-from chiller@chiller.be) Received: (qmail 9527 invoked from network); 29 Jul 2002 10:19:07 -0000 Received: from chillws.chiller.sec (HELO chillws) (10.0.6.158) by chiller.be with SMTP; 29 Jul 2002 10:19:07 -0000 Message-ID: <044601c236d8$cb2942f0$9e06000a@chillws> From: =?iso-8859-1?Q?St=E5le_Kristoffersen?= To: Subject: ipnat - ioctl(SIOCGNATS): Input/output error Date: Mon, 29 Jul 2002 10:20:26 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi! Yesterday i did a cvsup (stable) followed by a make world and kernel, after i rebooted my system ipnat no longer worked: [root@idyll]# ipnat ioctl(SIOCGNATS): Input/output error [root@idyll]# strace ipnat execve("/sbin/ipnat", ["ipnat"], [/* 30 vars */]) = 0 __sysctl([kern.hostname], 2, "idyll.chiller.be\0", [17], NULL, 0) = 0 readlink("/etc/malloc.conf", 0xbfbff574, 63) = -1 ENOENT (No such file or directory) mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0) = 0x28074000 break(0x8084000) = 0 break(0x8085000) = 0 __sysctl([kern.bootfile], 2, "/kernel\0", [8], NULL, 0) = 0 open("/dev/mem", O_RDONLY) = 3 fstat(3, {st_mode=S_IFCHR|0640, st_rdev=makedev(2, 0), ...}) = 0 open("/dev/kmem", O_RDONLY) = 4 open("/dev/ipnat", O_RDWR) = 5 ioctl(5, 0xc004723e, 0xbfbff67c) = -1 EIO (Input/output error) writev(2, [{"ioctl(SIOCGNATS)", 16}, {": ", 2}, {"Input/output error", 18}, {"\n", 1}], 4ioctl(SIOCGNATS): Input/output error ) = 37 exit(1) = ? I have rebuilded the /dev/ directory with MAKEDEV all, so I can't see what I am missing, any pointers in the right direction would be appreciated. -- Ståle Kristoffersen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message