Date: Mon, 29 Jul 2002 10:20:26 +0200 From: =?iso-8859-1?Q?St=E5le_Kristoffersen?= <chiller@chiller.be> To: <freebsd-stable@freebsd.org> Subject: ipnat - ioctl(SIOCGNATS): Input/output error Message-ID: <044601c236d8$cb2942f0$9e06000a@chillws>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?044601c236d8$cb2942f0$9e06000a>
