Subject: Re: netatalk problems still
To: Miles Nordin <carton@Ivy.NET>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: port-sparc
Date: 11/20/1999 16:50:13
At 2:19 Uhr -0000 20.11.1999, Miles Nordin wrote:
>There is an undocumented atalkd.conf option i've been using as follows:
>
>le0 -router -phase 2 -net 339-342 -addr 339.3 -zone "Ivy"

[listed in the atalkd.conf of asun2.1.4-35]

>The deal is normally your atalkd-running box is in router mode if (1) it
>has more than one interface, or (2) it notices other routers on the wire.
>The guys on the netatalk-admins list were historically incredibly anal
>about this, ``why do you want to do that,'' and ``this is the way it
>Should be done,'' u.s.w.  Well, thanks to -router, now they can all bite
>me.  This option forces your box to advertise itself as a router, even if
>it has one interface and there aren't any other routers.  And I can verify
>that using it does not cause the sky to come crashing down in a billion
>fragments like the netatalk-admins claimed it would.

What I did was setting up the IIci (which runs 24/7 under 1.4.1 as
{name,news,mail,fax,uucp,nat,...} server) as atalk router. This did indeed
bring back the Q700 running -current into line!

>Also, having actual router information
>on the wire might shove MacOS boxes into the net-range you define, rather
>than having them suppose ``oh, the router's just gone for a little
>while--i'll use my old address.''

Looks like it helped.  =8)


-- Unfortunately, the Sun IPX that I want to make a netatalk server
(because of speed and disk space) still does not do afp. The nbprgstr
succeeds now, but when I try to contact the machine from a MacOS client
then afpd fails in loading some shared authentication libs.
From the syslog:

Nov 20 16:26:09 elmo atalkd[7040]: restart (1.4b2+asun2.1.4)
Nov 20 16:26:11 elmo atalkd[7040]: zip_getnetinfo for le0
Nov 20 16:26:11 elmo atalkd[7040]: zip gnireply from 339.3 (le0 12)
Nov 20 16:26:11 elmo atalkd[7040]: zip_packet configured le0 from 339.3
Nov 20 16:26:20 elmo atalkd[7040]: rtmp_packet gateway 339.3 up
Nov 20 16:26:39 elmo atalkd[7040]: ready 0/0/0
Nov 20 16:26:59 elmo afpd[7102]: elmo:AFPServer@* started on 339.190:128
(1.4b2+
asun2.1.4)
Nov 20 16:26:59 elmo afpd[7102]: ASIP started on 192.168.1.9:548(1)
(1.4b2+asun2
.1.4)
Nov 20 16:26:59 elmo afpd[7102]: uam_load(uams_guest.so): failed to load.
Nov 20 16:26:59 elmo afpd[7102]: uam_load(uams_clrtxt.so): failed to load.

From a ktrace:

  8099 afpd     CALL  __stat13(0xefffea80,0xefffe610)
  8099 afpd     NAMI  "/usr/contrib/share/atalk/uams/uams_dhx.so"
  8099 afpd     RET   __stat13 0
  8099 afpd     CALL  open(0x10054000,0,0x6c)
  8099 afpd     NAMI  "/usr/contrib/share/atalk/uams/uams_dhx.so"
  8099 afpd     RET   open 2
  8099 afpd     CALL  __fstat13(0x2,0xefffe000)
  8099 afpd     RET   __fstat13 0
  8099 afpd     CALL  read(0x2,0xefffcf90,0x1000)
  8099 afpd     GIO   fd 2 read 3196 bytes
       "\^?ELF\^A\^B\^A\0\0\0\0\0\0\0\0\0\0\^C\0\^B\0\0\0\^A\0\0\^A\M-`\0\0\
        \0004\0\0\a\M^D\0\0\0\0\0004\0 \0\^C\0(\0\^Q\0\^N\0\0\0\^A\0\0\0\0\0\0\
        \0\0\0\0\0\0\0\0\^A\M-`\0\0\^A\M-`\0\0\0\^E\0\^A\0\0\0\0\0\^A\0\0\^A\
        \M-`\0\^A\^A\M-`\0\^A\^A\M-`\0\0\0T\0\0\0T\0\0\0\a\0\^A\0\0\0\0\0\^B\0\
        \0\^A\M-l\0\^A\^A\M-l\0\^A\^A\M-l\0\0\0H\0\0\0H\0\0\0\^F\0\0\0\^D\0\0\
        \0\^C\0\0\0\v\0\0\0\b\0\0\0
        \0\0\0\^F\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 \0\0\0\
        \^D\0\0\0\^E\0\0\0\0\0\0\0\a\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
        \0\^A\M-`\0\0\0\0\^C\0\0\^D\0\0\0\0\0\^A\^A\M-`\0\0\0\0\^C\0\0\^E\0\0\
        \0\0\0\^A\^B4\0\0\0\0\^C\0\0    \0\0\0\^A\0\^A\^A\M-l\0\0\0\0\^Q\0\M^?\
        \M-q\0\0\0
        \0\^A\^A\M-`\0\0\0\0\^Q\0\M^?\M-q\0\0\0$\0\^A\^A\M-`\0\0\0\0\^Q\0\M^?\
        \M-q\0\0\0:\0\0\^A\M-`\0\0\0\0\^Q\0\M^?\M-q\0\0\0A\0\^A\^B4\0\0\0\0\^Q\
        \0\M^?\M-q\0\0\0H\0\^A\^B4\0\0\0\0\^Q\0\M^?\M-q\0\0\0T\0\^A\^B4\0\0\0\
        \0\^Q\0\M^?\M-q\0_DYNAMIC\0_PROCEDURE_LINKAGE_TABLE_\0_GLOBAL_OFFSET_T\
        ABLE_\0_etext\0_edata\0__bss_start\0_end\0\0\0\0\0\^A\^A\M-l\0\0\0\0\0\
        \0\0\0\0\0\0\^D\0\0\0\M^T\0\0\0\^E\0\0\^A\M^D\0\0\0\^F\0\0\0\M-T\0\0\0
        \0\0\0Y\0\0\0\v\0\0\0\^P\0\0\0\a\0\0\0\0\0\0\0\b\0\0\0\0\0\0\0  \0\0\0\
        \f\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\^W\0\0\^C\M^A\0\0\0\^Rd\0\0\0\0\0\^A\
        \M-`\0\0\0\0d\0\0\0\0\0\^A\M-`\0\0\0:<\0\0\0\0\0\0\0\0\0\0I\M^@\0\0\0\
        \0\0\0\0\0\0\0x\M^@\0\0\0\0\0\0\0\0\0\0\M^R\M^@\0\0\0\0\0\0\0\0\0\0\
        \M-F\M^@\0\0\0\0\0\0\0\0\0\0\M-~\M^@\0\0\0\0\0\0\0\0\0\^A;\M^@\0\0\0\0\
        \0\0\0\0\0\^A\M^G\M^@\0\0\0\0\0\0\0\0\0\^A\M-S\M^@\0\0\0\0\0\0\0\0\0\
        \^A\M-y\M^@\0\0\0\0\0\0\0\0\0\^B#\M^@\0\0\0\0\0\0\0\0\0\^BI\M^@\0\0\0\
        \0\0\0\0\0\0\^Bn\M^@\0\0\0\0\0\0\0\0\0\^B\M^H\M^@\0\0\0\0\0\0\0\0\0\^B\
        \M-#\M^@\0\0\0\0\0\0\0\0\0\^B\M-C\M^@\0\0\0\0\0\0\0\0\0\^B\M-|\M^@\0\0\
        \0\0\0\0\0\0\0\^C\^_\M^@\0\0\0\0\0\0\0\0\0\^CC\M^@\0\0\0\0\0\0\0\0\0\
        \^Cl\M^@\0\0\0\0\0\0\0\0\0\^C\M^@d\0\0\0\0\0\^A\M-`uams_dhx_passwd.c\0\
        /home/hauke/work/net/Netatalk/etc/uams/\0gcc2_compiled.\0int:t(0,1)=r(\
        0,1);0020000000000;0017777777777;\0char:t(0,2)=r(0,2);0;127;\0long int\
        :t(0,3)=r(0,1);0020000000000;0017777777777;\0unsigned int:t(0,4)=r(0,1\
        );0000000000000;0037777777777;\0long unsigned int:t(0,5)=r(0,1);000000\
        0000000;0037777777777;\0long long int:t(0,6)=r(0,1);010000000000000000\
        00000;0777777777777777777777;\0long long unsigned int:t(0,7)=r(0,1);00\
        00000000000;01777777777777777777777;\0short int:t(0,8)=r(0,8);-32768;3\
        2767;\0short unsigned int:t(0,9)=r(0,9);0;65535;\0signed char:t(0,10)=\
        r(0,10);-128;127;\0unsigned char:t(0,11)=r(0,11);0;255;\0float:t(0,12)\
        =r(0,1);4;0;\0double:t(0,13)=r(0,1);8;0;\0long double:t(0,14)=r(0,1);8\
        ;0;\0complex int:t(0,15)=s8real:(0,1),0,32;imag:(0,1),32,32;;\0complex\
         float:t(0,16)=r(0,16);4;0;\0complex double:t(0,17)=r(0,17);8;0;\0comp\
        lex long double:t(0,18)=r(0,18);8;0;\0void:t(0,19)=(0,19)\0\0\0GCC: (G\
        NU) egcs-2.91.66 19990314 (egcs-1.1.2 release)\0\0.symtab\0.strtab\0.s\
        hstrtab\0.hash\0.dynsym\0.dynstr\0.text\0.data\0.plt\0.got\0.dynamic\0\
        .bss\0.stab\0.stabstr\0.comment\0.rela.stab\0\0\0\0\0\0\0\0\0\0\0\0\0\
        \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\^[\0\0\
        \0\^E\0\0\0\^B\0\0\0\M^T\0\0\0\M^T\0\0\0@\0\0\0\^B\0\0\0\0\0\0\0\^D\0\
        \0\0\^D\0\0\0!\0\0\0\v\0\0\0\^B\0\0\0\M-T\0\0\0\M-T\0\0\0\M-0\0\0\0\^C\
        \0\0\0\^D\0\0\0\^D\0\0\0\^P\0\0\0)\0\0\0\^C\0\0\0\^B\0\0\^A\M^D\0\0\^A\
        \M^D\0\0\0Y\0\0\0\0\0\0\0\0\0\0\0\^A\0\0\0\0\0\0\0001\0\0\0\^A\0\0\0\
        \^F\0\0\^A\M-`\0\0\^A\M-`\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\^A\0\0\0\0\0\0\
        \0007\0\0\0\^A\0\0\0\^C\0\^A\^A\M-`\0\0\^A\M-`\0\0\0\0\0\0\0\0\0\0\0\0\
        \0\0\0\^A\0\0\0\0\0\0\0=\0\0\0\^A\0\0\0\a\0\^A\^A\M-`\0\0\^A\M-`\0\0\0\
        \0\0\0\0\0\0\0\0\0\0\0\0\^D\0\0\0\f\0\0\0B\0\0\0\^A\0\0\0\^C\0\^A\^A\
        \M-`\0\0\^A\M-`\0\0\0\f\0\0\0\0\0\0\0\0\0\0\0\^D\0\0\0\^D\0\0\0G\0\0\0\
        \^F\0\0\0\^C\0\^A\^A\M-l\0\0\^A\M-l\0\0\0H\0\0\0\^C\0\0\0\0\0\0\0\^D\0\
        \0\0\b\0\0\0P\0\0\0\b\0\0\0\^C\0\^A\^B4\0\0\^B4\0\0\0\0\0\0\0\0\0\0\0\
        \0\0\0\0\^A\0\0\0\0\0\0\0U\0\0\0\^A\0\0\0\0\0\0\0\0\0\0\^B4\0\0\^A \0\
        \0\0\v\0\0\0\0\0\0\0\^D\0\0\0\f\0\0\0[\0\0\0\^C\0\0\0\0\0\0\0\0\0\0\^C\
        T\0\0\^C\M^A\0\0\0\0\0\0\0\0\0\0\0\^A\0\0\0\0\0\0\0d\0\0\0\^A\0\0\0\0\
        \0\0\0\0\0\0\^F\M-U\0\0\0007\0\0\0\0\0\0\0\0\0\0\0\^A\0\0\0\0\0\0\0m\0\
        \0\0\^D\0\0\0\0\0\0\08\0\0
        ,\0\0\0$\0\0\0\^B\0\0\0
        \0\0\0\^D\0\0\0\f\0\0\0\^Q\0\0\0\^C\0\0\0\0\0\0\0\0\0\0\a\f\0\0\0x\0\0\
        \0\0\0\0\0\0\0\0\0\^A\0\0\0\0\0\0\0\^A\0\0\0\^B\0\0\0\0\0\0\0\0\0\0
        P\0\0\^A\M-0\0\0\0\^P\0\0\0\^T\0\0\0\^D\0\0\0\^P\0\0\0  \0\0\0\^C\0\0\
        \0\0\0\0\0\0\0\0\f\0\0\0\0|\0\0\0\0\0\0\0\0\0\0\0\^A\0\0\0\0\0\0\0\^T\
        \0\0\0\^V\0\0\^A\M-`\0\0\0 \0\0\0\^V\0\0\^A\M-`\0\0\^A\^\\0\0\0\^V\0\0\
        \^A\M-`\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\M^T\0\0\0\0\^C\0\
        \0\^A\0\0\0\0\0\0\0\M-T\0\0\0\0\^C\0\0\^B\0\0\0\0\0\0\^A\M^D\0\0\0\0\
        \^C\0\0\^C\0\0\0\0\0\0\^A\M-`\0\0\0\0\^C\0\0\^D\0\0\0\0\0\^A\^A\M-`\0\
        \0\0\0\^C\0\0\^E\0\0\0\0\0\^A\^A\M-`\0\0\0\0\^C\0\0\^F\0\0\0\0\0\^A\^A\
        \M-`\0\0\0\0\^C\0\0\a\0\0\0\0\0\^A\^A\M-l\0\0\0\0\^C\0\0\b\0\0\0\0\0\
        \^A\^B4\0\0\0\0\^C\0\0  \0\0\0\0\0\0\0\0\0\0\0\0\^C\0\0
        \0\0\0\0\0\0\0\0\0\0\0\0\^C\0\0\v\0\0\0\0\0\0\0\0\0\0\0\0\^C\0\0\f\0\0\
        \0\0\0\0\08\0\0\0\0\^C\0\0\r\0\0\0\0\0\0\0\0\0\0\0\0\^C\0\0\^N\0\0\0\0\
        \0\0\0\0\0\0\0\0\^C\0\0\^O\0\0\0\0\0\0\0\0\0\0\0\0\^C\0\0\^P\0\0\0\^A\
        \0\0\0\0\0\0\0\0\^D\0\M^?\M-q\0\0\0\^S\0\0\^A\M-`\0\0\0\0\0\0\0\^D\0\0\
        \0\^\\0\0\^A\M-`\0\0\0\0\0\0\0\^D\0\0\0$\0\^A\^A\M-l\0\0\0\0\^Q\0\M^?\
        \M-q\0\0\0-\0\0\^A\M-`\0\0\0\0\^Q\0\M^?\M-q\0\0\0004\0\^A\^A\M-`\0\0\0\
        \0\^Q\0\M^?\M-q\0\0\0N\0\^A\^B4\0\0\0\0\^Q\0\M^?\M-q\0\0\0Z\0\^A\^B4\0\
        \0\0\0\^Q\0\M^?\M-q\0\0\0a\0\^A\^A\M-`\0\0\0\0\^Q\0\M^?\M-q\0\0\0w\0\
        \M^P\^P\0\^P@\0B\M^Y\M^R\^P \^\\M-T\f\M^@\0\M^@\M-"\0
        &\M^@\0\^B\240\^D?\M-d\M-`\r\0\^P\M^@\M-$ \0$\M^@\0\b\M-`,\M-@\^Q\240\
        \^D?\M^?\M^R\f \a\M^P\^T \a\240"\0      \240\^D \^A\M-`,\M-@\^Q\M-"\^D\
        `\^A\M^@\M-$`?$\M-?\M^?\M-g\M-`\r@\^Q\M-R\^E\M-`P\M^T\^P \b\M-P\^E\M-`\
        4\M-0\^P\0      @\0\^A\^A\M^V\^P \b\M-,\a\M-?\M-8\M-$\^P \0\M-"\^P \0\
        \M-@-\M^@\^Q\M-@.\0\^Q\M-"\^D`\^A\M^@\M-$`?$\M-?\M^?\M-}\M-@-\M^@\^Q\
        \M-V\^E\M-`T\M-"\^P \0\M^T\^P\0\^V\M-`
        \M-@\^Q\M^@\M-$ \0"\M^@\0\^F\M-"\^D`\^A\M^R\^D?\M^?\M^P\^D`\^A\M-P*\
        \M^@    \M-"\^D`\^A\M^@\M-$`?$\M-?\M^?\M-x\M-`
        \M-@\^Q\M-j\^E\M-`T\M-"\^P \0\M-h\^E\M-`P\M-&\a\M-?\M-8\M-`\r@\^Q\M^@\
        \M-$ \0"\M^@\0\f\M-"\^D`\^A\240\^D\0\^R\M^P\^P\0\^P@\0B^\M^R\^P \^\\
        \M^@\M-"\0\^R$\M^@\0\^B\240\^D?\M-d\M-P\f\M-@\^P\M-P-\0\^Q\M-"\^D`\^A\
        \M^@\M-$`?"
  8099 afpd     RET   read 4096/0x1000
  8099 afpd     CALL  mmap(0,0x16000,0x7,0x1002,0xffffffff,0,0,0)
  8099 afpd     RET   mmap 269877248/0x10160000
  8099 afpd     CALL  mmap(0x10160000,0x2000,0x5,0x12,0x2,0,0,0)
  8099 afpd     RET   mmap 269877248/0x10160000
  8099 afpd     CALL  mmap(0x10171000,0x1000,0x7,0x12,0x2,0,0,0x1000)
  8099 afpd     RET   mmap 269946880/0x10171000
  8099 afpd     CALL  munmap(0x10162000,0xf000)
  8099 afpd     RET   munmap 0
  8099 afpd     CALL  close(0x2)
  8099 afpd     RET   close 0
  8099 afpd     CALL  munmap(0x10140000,0x11000)
  8099 afpd     RET   munmap -1 errno 22 Invalid argument
  8099 afpd     CALL  munmap(0x10160000,0x16000)
  8099 afpd     RET   munmap -1 errno 22 Invalid argument
  8099 afpd     CALL  gettimeofday(0xefffd408,0)
  8099 afpd     RET   gettimeofday 0
  8099 afpd     CALL  getpid
  8099 afpd     RET   getpid 8099/0x1fa3
  8099 afpd     CALL  sendto(0x3,0xefffd8a0,0x49,0,0,0)
  8099 afpd     GIO   fd 3 wrote 73 bytes
       "<27>Nov 20 16:49:29 afpd[8099]: uam_load(uams_clrtxt.so): failed to lo\
        ad."

Looks like an elf issue, but I am fairly green when it comes to library
issues. Any ideas, anyone?

	hauke


--
"It's never straight up and down"     (DEVO)