On Wednesday, 22 September 1999, Steve Dodd wrote:
> Nope. According to drivers/net/net_init.c:eth_change_mtu, it has to
> be between 68 and 1500, inclusive. Unless someone like Alan leaps in
> with an insightful comment <g>, try stracing ifconfig or sticking
> some debug into the kernel to see what it's /really/ doing..
Well, here's the strace. If anyone has any idea of what is going on,
please let me know. Thanks in advance.
[root@amlai2 endpoints]# strace /sbin/ifconfig eth0 mtu 1300
execve("/sbin/ifconfig", ["/sbin/ifconfig", "eth0", "mtu", "1300"], [/* 32 vars */]) = 0
brk(0) = 0x8050b8c
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 6
fstat(6, {st_mode=S_IFIFO|S_ISVTX|02, st_size=0, ...}) = 0
mmap(0, 21537, PROT_READ, MAP_PRIVATE, 6, 0) = 0x40013000
close(6) = 0
open("/lib/libc.so.6", O_RDONLY) = 6
fstat(6, {st_mode=030006, st_size=0, ...}) = 0
read(6, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 993308, PROT_READ|PROT_EXEC, MAP_PRIVATE, 6, 0) = 0x40019000
mprotect(0x40104000, 30748, PROT_NONE) = 0
mmap(0x40104000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 6, 0xea000) =
0x40104000
mmap(0x40108000, 14364, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1,
0) = 0x40108000
close(6) = 0
mprotect(0x40019000, 962560, PROT_READ|PROT_WRITE) = 0
mprotect(0x40019000, 962560, PROT_READ|PROT_EXEC) = 0
munmap(0x40013000, 21537) = 0
personality(PER_LINUX) = 0
getpid() = 17748
brk(0) = 0x8050b8c
brk(0x8050d2c) = 0x8050d2c
brk(0x8051000) = 0x8051000
uname({sys="Linux", node="amlai2.furn.rhno.columbia.edu", ...}) = 0
access("/proc/net", R_OK) = 0
access("/proc/net/unix", R_OK) = 0
socket(PF_UNIX, SOCK_DGRAM, 0) = 6
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 7
access("/proc/net/ax25", R_OK) = -1 ENOENT (No such file or directory)
access("/proc/net/nr", R_OK) = -1 ENOENT (No such file or directory)
access("/proc/net/ipx", R_OK) = -1 ENOENT (No such file or directory)
access("/proc/net/appletalk", R_OK) = 0
socket(0x5 /* PF_??? */, SOCK_DGRAM, 0) = 8
access("/proc/net/ax25", R_OK) = -1 ENOENT (No such file or directory)
access("/proc/net/nr", R_OK) = -1 ENOENT (No such file or directory)
access("/proc/net/ipx", R_OK) = -1 ENOENT (No such file or directory)
ioctl(8, SIOCSIFMTU, 0xbffff708) = -1 EINVAL (Invalid argument)
write(2, "SIOCSIFMTU: Invalid argument\n", 29SIOCSIFMTU: Invalid argument
) = 29
_exit(1) = ?
--
Albert Lai <[EMAIL PROTECTED]>
http://www.columbia.edu/~aml61
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]