Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Dec 2001 05:01:29 -0600
From:      "Mario Doria" <madd@tecdigital.net>
To:        <qa@freebsd.org>
Subject:   Fw: kern/33085: Samba's NMBD cannot find alias interface 
Message-ID:  <00bd01c18ba1$2cfb5970$0a00a8c0@gandalf>

next in thread | raw e-mail | index | archive | help
Here's my PR report. What I have found is this:

I have installed samba 2.2.2 from the ports collection in FreeBSD. It dumps
core whenever someone tries to use the nmbd server. I can connect OK if I do
smbclient //10.25.165.3 -U user
but not by doing smbclient //server -U user


Here's the relevant part of the samba logfile:
[2001/12/21 14:23:20, 2] lib/interface.c:add_interface(85)
  added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
[2001/12/21 14:23:20, 2] lib/interface.c:interpret_interface(134)
  can't determine netmask for 10.25.165.3

It seems to have problems with my network card, so here's my ifconfig
output:
fxp0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
ether 00:b0:d0:aa:82:cf
media: Ethernet autoselect (none)
status: no carrier
fxp1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
inet 10.25.165.1 netmask 0xffffff00 broadcast 10.25.165.255
inet 10.25.165.2 netmask 0xffffffff broadcast 10.25.165.2
inet 10.25.165.3 netmask 0xffffffff broadcast 10.25.165.3
ether 00:02:b3:1b:49:71
media: Ethernet autoselect (100baseTX)
status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
options=3<rxcsum,txcsum>
ether 00:01:02:ed:26:dc
media: Ethernet autoselect (100baseTX)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet 127.0.0.1 netmask 0xff000000

I think it's related to some changes in freebsd, because the smb.conf file
hasn't been changed. I tried recompiling samba with the latest freebsd
version, but still the error remains.

After doing some tests, I believet's not a samba problem.
It broke on december 14, at 20:00:00 UTC.  The files that were changed
between december 14 @ 19:00:00 and december 14 @ 20:00:00 where:
(I don't know how these work in the system, what I know is that if I use
sources from december 14 @ 19:00:00, samba's nmbd will work fine. Afterwards
its all funny. The following files where the ones changing between those two
hours):

Edit src/sys/dev/bge/if_bge.c
 Edit src/sys/dev/gx/if_gx.c
 Edit src/sys/dev/lge/if_lge.c
 Edit src/sys/dev/nge/if_nge.c
 Edit src/sys/dev/txp/if_txp.c
 Edit src/sys/kern/kern_descrip.c
 Edit src/sys/kern/kern_event.c
 Edit src/sys/net/if.c
 Edit src/sys/net/if.h
 Edit src/sys/net/if_ethersubr.c
 Edit src/sys/net/if_var.h
 Edit src/sys/netinet/in.c
 Edit src/sys/netinet/in.h
 Edit src/sys/netinet/tcp_syncache.c
 Edit src/sys/pci/if_ti.c
 Edit src/sys/pci/if_xl.c
 Edit src/sys/sys/event.h
 Edit src/sys/sys/sockio.h
 Edit src/sys/vm/vm_zone.c

I found this out because I made a complete make world/kernel on the day it
broke, and found it broke between 19:00 and 20:00. The files listed above
where the ones which changed.

If I build world/kernel using sources with date = 2001.12.14.19.00.00, nmbd
will work fine. Using sources with date = 2001.12.14.20.00.00, nmbd will
stop working. I rebuilt after making world/kernel on each attempt.

> Thank you very much for your problem report.
> It has the internal identification `kern/33085'.
> The individual assigned to look at your
> report is: freebsd-bugs.
>
> You can access the state of your problem report at any time
> via this link:
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=33085
>
> >Category:       kern
> >Responsible:    freebsd-bugs
> >Synopsis:       Samba's NMBD cannot find alias interface
> >Arrival-Date:   Sat Dec 22 01:10:00 PST 2001


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-qa" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00bd01c18ba1$2cfb5970$0a00a8c0>