From owner-freebsd-qa Sun Dec 23 3: 1:51 2001 Delivered-To: freebsd-qa@freebsd.org Received: from mail.tecdigital.net (tecdigital.tol.itesm.mx [132.254.97.16]) by hub.freebsd.org (Postfix) with ESMTP id 0A49C37B41B for ; Sun, 23 Dec 2001 03:01:24 -0800 (PST) Received: from gandalf (unknown [148.243.246.254]) by mail.tecdigital.net (Postfix) with ESMTP id 9FFA81D34 for ; Sun, 23 Dec 2001 05:01:23 -0600 (CST) Message-ID: <00bd01c18ba1$2cfb5970$0a00a8c0@gandalf> From: "Mario Doria" To: Subject: Fw: kern/33085: Samba's NMBD cannot find alias interface Date: Sun, 23 Dec 2001 05:01:29 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-qa@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 mtu 1500 ether 00:b0:d0:aa:82:cf media: Ethernet autoselect (none) status: no carrier fxp1: flags=8843 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 mtu 1500 options=3 ether 00:01:02:ed:26:dc media: Ethernet autoselect (100baseTX) status: active lo0: flags=8049 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