Re: messages from /linux/fs/open.c

Junichi Saito (j.saito@wanadoo.fr)
Thu, 18 Jun 1998 22:46:33 +0200 (CEST)


On Thu, 18 Jun 1998, Chris Noe wrote:

>On Thu, 18 Jun 1998, Bill Hawes wrote:
>
>> Junichi Saito wrote:
>>
>> > When I log out from a console, I get the following messages :
>> >
>> > VFS: Close: file count is 0
>> > VFS: Close: file count is 0
>> > VFS: Close: file count is 0
>> > get_unused_fd: slot 3 not NULL!
>> >
>> > Are these only there for debugging ? Can I ignore them safely ?
>> > The kernel is 2.1.106 with A. Cox's patches applied ( ac{1,2,3}).
>> > The same is with 2.1.105. I don't have them with the official 2.1.10[5,6].
>>
>> Those messages should not be occurring -- it indicates that a file pointer
>> count is inconsistent.
>>
>> Do these happen reapeatably, or only after you've used certain applications?
>>
>> Regards,
>> Bill
>
>I had these same messages come up in 2.1.105(and ac1, ac2, ac3) every time
>I would logout. I even spent a night looking into it, and had a full up
>bug report, until I moved up to 2.1.106 and they disappeared.
>
>My theory was that it had something to do with dynamically allocated vt's;
>since I run only one getty, login to that, and 'open' everything else I
>need from there. I figured that dynamically allocating fd's for
>dynamically allocated vt's was confusing some poor line of code somewhere
>:)
>
>Junichi, are you using 'open' or any other dynamic vt utils?
>(stabbing wildly in the dark with this one..)
>
>Chris Noe
>(stiker@northlink.com)

I am using, indeed, 'spawn_console' from kbd package.

junichi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu