Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Aug 2005 10:25:25 -0400
From:      John Baldwin <jhb@FreeBSD.org>
To:        freebsd-current@freebsd.org
Cc:        Petr Holub <hopet@ics.muni.cz>, current@freebsd.org
Subject:   Re: issues after upgrade from 5.4-RELEASE-p6 to 6.0-BETA2
Message-ID:  <200508171025.26407.jhb@FreeBSD.org>
In-Reply-To: <009d01c5a325$6435c4d0$5317fb93@KLOBOUCEK>
References:  <009d01c5a325$6435c4d0$5317fb93@KLOBOUCEK>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508171025.26407.jhb>