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

Petr Holub hopet at
Wed Aug 17 12:15:47 GMT 2005

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
fork_exit(c0a94898,c19cbf74,d56d5d38) at fork_exit+0xa0
fork_trampoline() at fork_trampoline+0x8
--- trap 0x1, eip = 0, esp = 0xd56d5d6c, ebp = 0 ---

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?


                            Petr Holub
CESNET z.s.p.o.                       Supercomputing Center Brno
Zikova 4                             Institute of Compt. Science
162 00 Praha 6, CZ                            Masaryk University
Czech Republic                     Botanicka 68a, 60200 Brno, CZ
e-mail: Petr.Holub at               phone: +420-549493944
                                             fax: +420-541212747
                                       e-mail: hopet at

More information about the freebsd-current mailing list