I just noticed this during bootup. It is repeatable.

FreeBSD 5.0-CURRENT #1: Mon Jan 27 14:00:00 CST 2003
    [EMAIL PROTECTED]:/usr/obj/usr/src/sys/EDGEMASTER
...
Mounting root from ufs:/dev/ad1s1a
cd0 at ata0 bus 0 target 1 lun 0
cd0: <PLEXTOR CD-R   PX-W4012A 1.01> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present - tray open
lock order reversal
 1st 0xc6998a54 process lock (process lock) @ /usr/src/sys/kern/kern_descrip.c:2104
 2nd 0xc6944234 filedesc structure (filedesc structure) @ 
/usr/src/sys/kern/kern_descrip.c:2111

sysctl_kern_file(SYSCTL_HANDLER_ARGS)
{
...
        LIST_FOREACH(p, &allproc, p_list) {
2104--->        PROC_LOCK(p);
                xf.xf_pid = p->p_pid;
                xf.xf_uid = p->p_ucred->cr_uid;
                if ((fdp = p->p_fd) == NULL) {
                        PROC_UNLOCK(p);
                        continue;
                }
2111--->        FILEDESC_LOCK(fdp);
                for (n = 0; n < fdp->fd_nfiles; ++n) {
                        if ((fp = fdp->fd_ofiles[n]) == NULL)
                                continue;
....

-- 
Sean Kelly         | PGP KeyID: D2E5E296
[EMAIL PROTECTED] | http://www.zombie.org

Attachment: msg51149/pgp00000.pgp
Description: PGP signature

Reply via email to