issues after upgrade from 5.4-RELEASE-p6 to 6.0-BETA2

John Baldwin jhb at FreeBSD.org
Wed Aug 17 14:26:47 GMT 2005


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 at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-current mailing list