Re: LOR: sys/kern/sys_generic.c:902 sys/fs/specfs/spec_vnops.c:387

From: Niki Denev <nike_d_at_cytexbg.com>
Date: Sun, 11 Apr 2004 01:17:22 +0300
Poul-Henning Kamp writes:

> In message <1747.192.168.1.9.1081619654.squirrel_at_www.noacks.org>, "Jon Noack" w
> rites:
> 
> Can you try this workaround ?
> 
> Index: spec_vnops.c
> ===================================================================
> RCS file: /home/ncvs/src/sys/fs/specfs/spec_vnops.c,v
> retrieving revision 1.220
> diff -u -r1.220 spec_vnops.c
> --- spec_vnops.c	7 Apr 2004 20:46:02 -0000	1.220
> +++ spec_vnops.c	10 Apr 2004 18:47:32 -0000
> _at__at_ -382,9 +382,9 _at__at_
>  	    ("spec_poll() on un-referenced dev_t (%s)", devtoname(dev)));
>  	cdevsw_ref(dsw);
>  	if (!(dsw->d_flags & D_NEEDGIANT)) {
> -		DROP_GIANT();
> +		/* XXX: not yet DROP_GIANT(); */
>  		error = dsw->d_poll(dev, ap->a_events, ap->a_td);
> -		PICKUP_GIANT();
> +		/* XXX: not yet PICKUP_GIANT(); */
>  	} else
>  		error = dsw->d_poll(dev, ap->a_events, ap->a_td);
>  	cdevsw_rel(dsw);
> 
> -- 
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk_at_FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe    
> Never attribute to malice what can adequately be explained by incompetence.
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 
>  
> 

I was getting the same message during boot, right after starting sshd, 
and after applying this patch, the LOR message goes away.

--niki
Received on Sat Apr 10 2004 - 13:17:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:50 UTC