Subject: Re: chmod stuck while "chmoding"
To: lakomok <lakomok@free.fr>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 02/04/2002 23:08:37
On Mon, Feb 04, 2002 at 10:09:20AM +0100, lakomok wrote:
> Since a power supply provider failure (thank you EDF)
> I have strange behaviour with myNetBSD (1.5.1 i386)
> 
> it occurs the first time while booting
> as anyone can see, in the file /etc/rc.d/ttys
> there is an execution of ttyflags, ok, it works
> and just after that, there is something like
> 
> chmod 666 /dev/tty[p-q-r-s]*
> 
> and chmod sticks
> 
> I am obliged to break it (ctrl + c)
> it keeps booting normally after that
> 
> but it still occurs anytime, I can't chmod any file
> as everybody knows, scipts used in makefile (for example)
> ofter use chmod, so I can't do anything more with
> my NetBSD but what is already installed (borring isn't it?)
> 
> does anyone know something about this problem ?

This is very strange. Maybe your chmod binary is hosed, but this
would be surprising.
Could you try to ktrace chmod, e.g.:
ktace chmod 666 /dev/ttyp0

Then run kdump and post the result ?

I guess you never set up yp and such ...

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--