Build GENERIC with IPX support

Marek Salwerowicz marek_sal at wp.pl
Mon May 13 06:07:47 UTC 2013


W dniu 2013-05-13 00:45, Adrian Chadd pisze:
> It's supported as long as someone wants to use it and can help in at
> least diagnosing issues.
>
> So, if you have a segfault, run it inside gdb and report where its dying.
>
> Chances are things have just bitrotted a bit but not so much that it's
> worth killing.

# gdb ncplogin
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...(no debugging 
symbols found)...
(gdb) run
Starting program: /usr/bin/ncplogin
(no debugging symbols found)...(no debugging symbols found)...(no 
debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x0000000800d285f7 in strlen () from /lib/libc.so.7
(gdb) bt
#0  0x0000000800d285f7 in strlen () from /lib/libc.so.7
#1  0x0000000800d205b0 in gettimeofday () from /lib/libc.so.7
#2  0x0000000800d2163e in gettimeofday () from /lib/libc.so.7
#3  0x0000000800d21798 in vfprintf_l () from /lib/libc.so.7
#4  0x0000000800d0e701 in fprintf () from /lib/libc.so.7
#5  0x0000000800822a85 in ncp_error () from /usr/lib/libncp.so.4
#6  0x000000080081fa7c in ncp_li_readrc () from /usr/lib/libncp.so.4
#7  0x0000000000400ea7 in ?? ()
#8  0x0000000000400d2e in ?? ()
#9  0x000000080061c000 in ?? ()
#10 0x0000000000000000 in ?? ()
#11 0x0000000000000001 in ?? ()
#12 0x00007fffffffddf8 in ?? ()
#13 0x0000000000000000 in ?? ()
#14 0x00007fffffffde0a in ?? ()
#15 0x00007fffffffde1e in ?? ()
#16 0x00007fffffffde35 in ?? ()
#17 0x00007fffffffde3d in ?? ()
#18 0x00007fffffffde49 in ?? ()
#19 0x00007fffffffde52 in ?? ()
#20 0x00007fffffffde67 in ?? ()
#21 0x00007fffffffde74 in ?? ()
#22 0x00007fffffffde88 in ?? ()
#23 0x00007fffffffdee5 in ?? ()
#24 0x00007fffffffdef3 in ?? ()
#25 0x00007fffffffdf07 in ?? ()
#26 0x00007fffffffdf12 in ?? ()
#27 0x00007fffffffdf1d in ?? ()
#28 0x00007fffffffdf27 in ?? ()
#29 0x00007fffffffdf40 in ?? ()
#30 0x00007fffffffdf50 in ?? ()
#31 0x00007fffffffdf5e in ?? ()
#32 0x0000000000000000 in ?? ()
#33 0x0000000000000003 in ?? ()
#34 0x0000000000400040 in ?? ()
#35 0x0000000000000004 in ?? ()
#36 0x0000000000000038 in ?? ()
#37 0x0000000000000005 in ?? ()
#38 0x0000000000000008 in ?? ()
#39 0x0000000000000006 in ?? ()
#40 0x0000000000001000 in ?? ()
#41 0x0000000000000008 in ?? ()
#42 0x0000000000000000 in ?? ()
#43 0x0000000000000009 in ?? ()
#44 0x0000000000400ca0 in ?? ()
#45 0x0000000000000007 in ?? ()
#46 0x0000000800601000 in ?? ()
#47 0x000000000000000f in ?? ()
#48 <signal handler called>
#49 0x0000000000000000 in ?? ()
Previous frame inner to this frame (corrupt stack?)
(gdb)

#

my /etc/rc.conf file contains these lines:

ifconfig_em0f1_ipx="ipx 0x01230000.1"
ipxrouted_enable="YES"

and in /boot/loader.conf:
if_ef_load="YES"

What's more, the 'ncplist s' command is unable to find any NetWare servers:
# ncplist s
Can't find any file server
#

But Frame type (802.3) and network number  (0x0123) are correct.




More information about the freebsd-stable mailing list