Subject: FreeBSD cvsup fails on NetBSD-1.5
To: None <current-users@netbsd.org>
From: Feico Dillema <feico@pasta.cs.uit.no>
List: current-users
Date: 01/08/2001 14:28:30
Hi,

Just upgraded our server from NetBSD-1.5_ALPHA to latest on
NetBSD-1.5.1_ALPHA branch, and now cvsup for mirroring several source
trees started failing. The cvsup binary is the FreeBSD statically
linked one. It seems some socket ioctl has `disappeared' in the FreeBSD
emulation or something like that. Here's the error message from cvsup
and a snippet from ktrace that I think may be relevant:

***
*** runtime error:
***    Value out of range
***    file
"/b/jdp/pm3/pm3/libs/libm3/src/uid/POSIX/MachineIDPosix.m3", line 73
***

  use option @M3stackdump to get a stack trace
Abort trap


 17569 cvsup    CALL  read(0x3,0x83a000c,0x1000)
 17569 cvsup    RET   read 0
 17569 cvsup    CALL  close(0x3)
 17569 cvsup    RET   close 0
 17569 cvsup    CALL  getpid
 17569 cvsup    RET   getpid 17569/0x44a1
 17569 cvsup    CALL  socket(0x1,0x1,0)
 17569 cvsup    RET   socket 3
 17569 cvsup    CALL  ioctl(0x3,OSIOCGIFCONF,0xbfbfd208)
 17569 cvsup    RET   ioctl 0
 17569 cvsup    CALL  ioctl(0x3,_IOWR('i',0x1c,0x1c),0xbfbfd370)
 17569 cvsup    RET   ioctl -1 errno 45 Operation not supported
 17569 cvsup    CALL  ioctl(0x3,_IOWR('i',0x1c,0x1c),0xbfbfd370)
 17569 cvsup    RET   ioctl -1 errno 45 Operation not supported
 17569 cvsup    CALL  ioctl(0x3,_IOWR('i',0x1c,0x1c),0xbfbfd370)
 17569 cvsup    RET   ioctl -1 errno 45 Operation not supported
 17569 cvsup    CALL  ioctl(0x3,_IOWR('i',0x1c,0x1c),0xbfbfd370)
 17569 cvsup    RET   ioctl -1 errno 45 Operation not supported
 17569 cvsup    CALL  ioctl(0x3,_IOWR('i',0x1c,0x1c),0xbfbfd370)
 17569 cvsup    RET   ioctl -1 errno 45 Operation not supported
 17569 cvsup    CALL  ioctl(0x3,_IOWR('i',0x1c,0x1c),0xbfbfd370)
 17569 cvsup    RET   ioctl -1 errno 45 Operation not supported
 17569 cvsup    CALL  ioctl(0x3,_IOWR('i',0x1c,0x1c),0xbfbfd370)
 17569 cvsup    RET   ioctl -1 errno 45 Operation not supported
 17569 cvsup    CALL  ioctl(0x3,_IOWR('i',0x1c,0x1c),0xbfbfd370)
 17569 cvsup    RET   ioctl -1 errno 45 Operation not supported
 17569 cvsup    CALL  ioctl(0x3,_IOWR('i',0x1c,0x1c),0xbfbfd370)
 17569 cvsup    RET   ioctl -1 errno 45 Operation not supported
 17569 cvsup    CALL  ioctl(0x3,_IOWR('i',0x1c,0x1c),0xbfbfd370)
 17569 cvsup    RET   ioctl -1 errno 45 Operation not supported
 17569 cvsup    CALL  ioctl(0x3,_IOWR('i',0x1c,0x1c),0xbfbfd370)
 17569 cvsup    RET   ioctl -1 errno 45 Operation not supported


Any ideas?

Feico.