Re: page fault panic in scioctl and console-kit-daemon

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Pawel Worach <pawel.worach@...>
Cc: Kostik Belousov <kostikbel@...>, FreeBSD Current <freebsd-current@...>
Date: Wednesday, January 23, 2008 - 3:55 pm

On Wed, 2008-01-23 at 20:34 +0100, Pawel Worach wrote:
=20
ot=20
r=20
=20
146
ure
ot
h ?
.

It tries to install a wait thread on each available VT.  That thread
sets the WAITACTIVE ioctl, and waits for its VT to become active.  When
it does, it sets the CK active VT accordingly, and reattaches the wait.

When an error occurs in the ioctl, no wait is attached, and CK will not
know when a particular VT becomes active.  This will essentially cripple
CK (assuming the VT really does become available at a later point). =20

Now, admittedly, there is no error correction in CK for this situation.
It would be trivial to add something that periodically attempts to
reestablish a failed wait.  However, I am very curious why only a few
users are seeing this panic (me excluded on two different machines).  It
seems to me that the scp should be initialized when sc_attach_unit() is
called during device probing.  I don't see anything special in init(8)'s
code that would cause these VT devices to become initialized.  I would
assume that if one can open(2) them, then they should be available for
ioctls?

Joe

--=20
Joe Marcus Clarke
FreeBSD GNOME Team      ::      gnome@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: page fault panic in scioctl and console-kit-daemon, Pawel Worach, (Tue Jan 22, 2:26 pm)
Re: page fault panic in scioctl and console-kit-daemon, Kostik Belousov, (Wed Jan 23, 1:16 am)
Re: page fault panic in scioctl and console-kit-daemon, Pawel Worach, (Wed Jan 23, 3:34 pm)
Re: page fault panic in scioctl and console-kit-daemon, Joe Marcus Clarke, (Wed Jan 23, 3:55 pm)
Re: page fault panic in scioctl and console-kit-daemon, Kostik Belousov, (Wed Jan 23, 5:11 pm)
Re: page fault panic in scioctl and console-kit-daemon, Pawel Worach, (Wed Jan 23, 5:35 pm)
Re: page fault panic in scioctl and console-kit-daemon, Joe Marcus Clarke, (Wed Jan 23, 5:32 pm)
Re: page fault panic in scioctl and console-kit-daemon, Kostik Belousov, (Thu Jan 24, 8:42 am)
Re: page fault panic in scioctl and console-kit-daemon, Alexander Nedotsukov, (Wed Feb 20, 8:26 pm)
Re: page fault panic in scioctl and console-kit-daemon, Kostik Belousov, (Thu Feb 21, 11:47 am)
Re: page fault panic in scioctl and console-kit-daemon, Alexander Nedotsukov, (Fri Feb 22, 12:01 pm)
Re: page fault panic in scioctl and console-kit-daemon, Kostik Belousov, (Fri Feb 22, 1:29 pm)
Re: page fault panic in scioctl and console-kit-daemon, Alexander Nedotsukov, (Mon Mar 17, 9:02 am)
Re: page fault panic in scioctl and console-kit-daemon, Kostik Belousov, (Mon Mar 17, 9:18 am)
Re: page fault panic in scioctl and console-kit-daemon, Joe Marcus Clarke, (Thu Jan 24, 11:21 am)