devfs
[Top] [All Lists]

Re[2]: [PATCH] fix initlog/minilogd deadlock on /dev/log access

To: "Pavel Roskin" <proski@xxxxxxx>
Subject: Re[2]: [PATCH] fix initlog/minilogd deadlock on /dev/log access
From: "Andrey Borzenkov" <arvidjaar@xxxxxxx>
Date: Wed, 23 Apr 2003 17:10:12 +0400
Cc: devfs@xxxxxxxxxxx, flepied@xxxxxxxxxxxxxxxx, quintela@xxxxxxxxxxxxxxxx, cooker@xxxxxxxxxxxxxxxx, tvigno@xxxxxxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.55.0304221459530.13334@xxxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: "Andrey Borzenkov" <arvidjaar@xxxxxxx>
Sender: devfs-bounce@xxxxxxxxxxx
> 
> > anyway I am pretty sure this patch fixes it because I started to have
> > deadlock situation on every second boot. With this patch it boots now
> > just fine.
> 
> I'll check your patch as soon as I can.  Hopefully this evening.
> 

I forgot. I also disabled saving/restoring /dev/log by devfsd,
do not have patch here handy but basically

REGISTER        ^log$         IGNORE
CREATE          ^log$         IGNORE
CHANGE          ^log$         IGNORE
DELETE          ^log$         IGNORE

restart devfsd and remove /lib/dev-state/log

This was my first suspect, but it did not fix the problem so the next
step was minilogd. But logically restoring /dev/log by devfsd
should trigger exactly the same problem.

-andrey


<Prev in Thread] Current Thread [Next in Thread>