From owner-freebsd-current@FreeBSD.ORG Thu Jun 18 16:48:29 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26F5E1065700 for ; Thu, 18 Jun 2009 16:48:29 +0000 (UTC) (envelope-from serenity@exscape.org) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id AE5B58FC20 for ; Thu, 18 Jun 2009 16:48:28 +0000 (UTC) (envelope-from serenity@exscape.org) Received: from c83-253-252-234.bredband.comhem.se ([83.253.252.234]:58122 helo=mx.exscape.org) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.69) (envelope-from ) id 1MHKmc-0000A2-3i for freebsd-current@freebsd.org; Thu, 18 Jun 2009 18:48:16 +0200 Received: from [192.168.1.5] (macbookpro [192.168.1.5]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx.exscape.org (Postfix) with ESMTPSA id BBD5E6B3E0 for ; Thu, 18 Jun 2009 18:48:12 +0200 (CEST) Message-Id: <6AE25B6A-A985-4182-98CD-AD0C230274BE@exscape.org> From: Thomas Backman To: FreeBSD current Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Thu, 18 Jun 2009 18:48:11 +0200 X-Mailer: Apple Mail (2.935.3) X-Originating-IP: 83.253.252.234 X-Scan-Result: No virus found in message 1MHKmc-0000A2-3i. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1MHKmc-0000A2-3i 434d8f6cbef3b0f155df7d0af0aa9de2 Subject: smbfs.ko regression? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2009 16:48:29 -0000 Has anyone else had trouble with smbfs.ko/samba mounting recently? I upgraded to r194428 today, and on reboot noticed that the computer had hanged (i.e. took way too long to boot), so I plugged a monitor in and noticed that it had hanged on loading the smbfs module/mounting a smbfs share, and then the same thing happened on "mounting late filesystems" (dmesg -a | grep late returns nothing now that it works, BTW). IIRC it dropped to single-user due to "/etc/rc returing an error" or something to that matter. I commented the line out in fstab and did an "exit" and it came up from single user beautifully. The error appears to be a bit random and I haven't been able to reproduce it, but it happened two or three times so it wasn't just a one-off. It did print some kind of error, but I guess there's no way of getting at that now? On a similar note, I can't kldunload it, either. The computer just freezes - it responds to ping, but not SSH input, and not keyboard input either (not even drop to debugger). I can't find a way out except to reset it. I don't really care too much about this part, but freezes are bad. Needless to say I can't provide a backtrace or similar - is there anything I can do to help? Still, the main issue, and question, is regarding the *loading*. [root@chaos ~]# mount|grep smbfs //SERENITY@EXSCAPE/FBSDBACKUP on /mnt/backup (smbfs) [root@chaos ~]# umount /mnt/backup [root@chaos ~]# mount|grep smbfs [root@chaos ~]# kldstat Id Refs Address Size Name 1 21 0xffffffff80100000 e61c98 kernel 2 1 0xffffffff80f62000 50ae98 zfs.ko 3 2 0xffffffff8146d000 7988 opensolaris.ko 4 1 0xffffffff81475000 3378 accf_http.ko 5 1 0xffffffff81479000 4278 amdtemp.ko 6 1 0xffffffff81622000 722e1 smbfs.ko 7 2 0xffffffff81695000 6694 libiconv.ko 8 2 0xffffffff8169c000 1740 libmchain.ko [root@chaos ~]# kldunload smbfs After quite a while: Read from remote host 192.168.1.10: Connection reset by peer "kldunload amdtemp" succeeds, by the way. Regards, Thomas