Subject: SVR4 emulation network problems
To: None <port-sparc@netbsd.org>
From: Alexander Strauss <strauss@ti.com>
List: port-sparc
Date: 06/14/2000 12:46:37
Hello,

Solaris programs are working fine now on my NetBSD SparcClassic system,
but only as long as they do not need to access the network.

All necessary libraries are found, and the trace output looks as it
tries to access the network, but fails...

   432 sendmail.test RET   break 0
   432 sendmail.test CALL  break(0xd7928)
   432 sendmail.test RET   break 0
   432 sendmail.test CALL  stat(0x100e11b8,0xefffab20)
   432 sendmail.test NAMI  "/emul/svr4/etc/resolv.conf"
   432 sendmail.test NAMI  "/etc/resolv.conf"
   432 sendmail.test RET   stat 0
   432 sendmail.test CALL  socket(0x2,0x1,0)
   432 sendmail.test RET   socket 3
   432 sendmail.test CALL  connect(0x3,0xd105c,0x10)
   432 sendmail.test RET   connect 0
   432 sendmail.test CALL  send(0x3,0xefffacc0,0x2b,0)
   432 sendmail.test GIO   fd 3 wrote 43 bytes
      
"\^UC\^A\0\0\^A\0\0\0\0\0\0\^Fmodena\^Fdesign\^Dtide\^Bti\^Ccom\0\0\^A\
        \0\^A"
   432 sendmail.test RET   send 43/0x2b
   432 sendmail.test CALL  poll(0xefffaa1c,0x1,0x1388)
   432 sendmail.test RET   poll 1
   432 sendmail.test CALL  fcntl(0x3,0x3,0)
   432 sendmail.test RET   fcntl 2
   432 sendmail.test CALL  fstat64(0x3,0xefffa828)
   432 sendmail.test RET   fstat64 0
   432 sendmail.test CALL  fstat64(0x3,0xefffa828)
   432 sendmail.test RET   fstat64 0
   432 sendmail.test CALL  fcntl(0x3,0x4,0x6)
   432 sendmail.test RET   fcntl 0
   432 sendmail.test CALL 
recvfrom(0x3,0xefffb5f0,0x400,0,0xefffaa08,0xefffaa18)
   432 sendmail.test GIO   fd 3 read 149 bytes
      
"\^UC\M^E\M^@\0\^A\0\^A\0\^B\0\^B\^Fmodena\^Fdesign\^Dtide\^Bti\^Ccom\0\
       
\0\^A\0\^A\M-@\f\0\^A\0\^A\0\0\^N\^P\0\^D\M^I\M-'\M-L;\^Fdesign\^Dtide\
        \^Bti\^Ccom\0\0\^B\0\^A\0\0\^N\^P\0    
\^Fcssun1\M-@;\M-@;\0\^B\0\^A\
       
\0\0\^N\^P\0\a\^Doslo\M-@;\M-@Y\0\^A\0\^A\0\0\^N\^P\0\^D\M^I\M-'\M-L:\
        \M-@n\0\^A\0\^A\0\0\^N\^P\0\^D\M^I\M-'\M-LD"
   432 sendmail.test RET   recvfrom 149/0x95
   432 sendmail.test CALL  fstat64(0x3,0xefffa828)
   432 sendmail.test RET   fstat64 0
   432 sendmail.test CALL  fcntl(0x3,0x4,0x2)
   432 sendmail.test RET   fcntl 0
   432 sendmail.test CALL  poll(0xefffaa1c,0x1,0x1388)
   432 sendmail.test PSIG  SIGINT caught handler=0x102772ec mask=()
code=0x0
   432 sendmail.test RET   poll -1 errno 4 Interrupted system call
   432 sendmail.test CALL  context(0,0xefffa328)
   432 sendmail.test RET   context 0
   432 sendmail.test CALL  munmap(0x102d3000,0xd2c)
   432 sendmail.test RET   munmap 0
   432 sendmail.test CALL  munmap(0x102c0000,0x384e)
   432 sendmail.test RET   munmap 0
   432 sendmail.test CALL  setuid(0x76)
   432 sendmail.test RET   setuid 0
   432 sendmail.test CALL  llseek(0,0,0,0x1)
   432 sendmail.test RET   llseek 0
   432 sendmail.test CALL  exit(0)


In this case I tried to run a Solaris sendmail (because it's small and
easily traceable), but it seemd to fail when performing a DNS lookup.

Other programs, as i.e. Netscape 4.7 or FrameMaker, fail as well.

Any suggestions?

Thanks,
Alex
-- 
Alexander Strauss - Email: strauss@ti.com - TI-MSG: ALST 
System Administrator - Mixed Signal & Logic Products Europe
Texas Instruments Deutschland GmbH, 85350 Freising, Germany
Phone: +49 8161 80-3606 - Fax: +49 8161 80-4477