From owner-freebsd-current@FreeBSD.ORG Wed Aug 17 14:26:47 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0884E16A428; Wed, 17 Aug 2005 14:26:47 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from mv.twc.weather.com (mv.twc.weather.com [65.212.71.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 726D143D46; Wed, 17 Aug 2005 14:26:46 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from [10.50.40.201] (Not Verified[10.50.40.201]) by mv.twc.weather.com with NetIQ MailMarshal (v6, 0, 3, 8) id ; Wed, 17 Aug 2005 10:41:20 -0400 From: John Baldwin To: freebsd-current@freebsd.org Date: Wed, 17 Aug 2005 10:25:25 -0400 User-Agent: KMail/1.8 References: <009d01c5a325$6435c4d0$5317fb93@KLOBOUCEK> In-Reply-To: <009d01c5a325$6435c4d0$5317fb93@KLOBOUCEK> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508171025.26407.jhb@FreeBSD.org> Cc: Petr Holub , current@freebsd.org Subject: Re: issues after upgrade from 5.4-RELEASE-p6 to 6.0-BETA2 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: Wed, 17 Aug 2005 14:26:47 -0000 On Wednesday 17 August 2005 08:15 am, Petr Holub wrote: > Hi all, > > I've encountere the following issues after binary upgrade from > 5.4-RELEASE-p6 to 6.0-BETA2: > > 1) During the first boot with GENERIC kerenel, the if_ndis module > was loaded (remnant from 5.4-R in /boot/loader.conf); after > I compiled my custom kernel and shut down the machine, I've got > the following panic: > > unmount of /dev failed (BUSY) > Uptime: 41m58s > panic: Assertion mtx_unowned(m) failed at > /usr/src/sys/kern/kern_mutex.c:867 cpuid = 0 > KDB: enter: panic > [thread pid 35 tid 10035] > Stopped at kdb_enter+0x2b:nop > db> where > Tracing pid 35 tid 10035 td 0xc19e0480 > kdb_enter(c0856274) at kdb_enter+0x2b > panic(c08525c9,c08558af,c0855653,363,1) at panic+0x127 > mtx_destroy(c19cbf9c,c19cbfc0,c19cbf9c,c0a94898,c1aac000) at > mtx_destroy+0x39 > ntoskrnl_workitem_thread(c19cbf74,d56d5d38,c19cbf74,c0a94898,0) at > ntoskrnl_workitem_thread+0x181 > fork_exit(c0a94898,c19cbf74,d56d5d38) at fork_exit+0xa0 > fork_trampoline() at fork_trampoline+0x8 > --- trap 0x1, eip = 0, esp = 0xd56d5d6c, ebp = 0 --- > > ps: > 35 c1aac000 0 0 0 0000204 [CPU 0] Windows Workitem 3 > > > 2) No other panics encountered after removing if_ndis from > /boot/loader.conf with my custom kernel. But the /dev BUSY on reboot still > happens: > > unmount of /dev failed (BUSY) > > > 3) smartd is now unable to attach to ad0 drive: > > Aug 17 13:55:37 kloboucek smartd[544]: Unable to register ATA device > /dev/ad0 at line 1 of file /usr/local/etc/smartd.conf > Aug 17 13:55:37 kloboucek smartd[544]: Unable to register device /dev/ad0 > (no Directive -d removable). Exiting. > > Do I need to recompile it or is it supposed not to work in 6.x? > > > Best, > Petr Was the if_ndis.ko compiled on 5.4? If so, I'm surprised it lasted that long before blowing up. :) You can ignore the umount of /dev failed message. I don't know about 3). -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org