FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 11-17-2010, 07:36 AM
Josselin Mouette
 
Default Bug#603767: gdm: starts on v8 instead of vt7

reassign 603767 general
thanks

Le mercredi 17 novembre 2010 * 13:47 +1100, david b a écrit :
> After upgrading from lenny to squeeze, gdm starts on vt8 always (even
> after restarting it). It should start on vt7 as this is the expected
> behaviour.

I noticed this happens often to me too, and I can assure you it’s not a
GDM bug. The Linux VT interface wrongly reports vt7 as being in use,
before gdm is even started. It does not happen on all systems, so it
might be related to KMS - for example it happens with my radeon-based
system.

Which graphics hardware are you using?

Cheers,
--
.'`.
: :' : “You would need to ask a lawyer if you don't know
`. `' that a handshake of course makes a valid contract.”
`- -- J???rg Schilling


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1289982974.14876.4.camel@meh">http://lists.debian.org/1289982974.14876.4.camel@meh
 
Old 11-17-2010, 07:45 AM
dave b
 
Default Bug#603767: gdm: starts on v8 instead of vt7

> I noticed this happens often to me too, and I can assure you it’s not a
> GDM bug. The Linux VT interface wrongly reports vt7 as being in use,
> before gdm is even started. It does not happen on all systems, so it
> might be related to KMS - for example it happens with my radeon-based
> system.
>
> Which graphics hardware are you using?

Oh snap! radeon with KMS.
So this is interesting then.
So it didn't happen when I rebooted just then. That is I now have vt7 working.
Actually imho this is an xorg or gdm bug. Because I was using kvm, the
new xorg (from squeeze well a slightly older version) and the same
kernel --> 2.6.36 on debian lenny without this problem.
So I think it may not be a kernel bug. What makes you think it is a kernel bug?


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTi=sbM0_SS9WC6nPOkubnEFw3RFLWV0tC4eV-7rt@mail.gmail.com">http://lists.debian.org/AANLkTi=sbM0_SS9WC6nPOkubnEFw3RFLWV0tC4eV-7rt@mail.gmail.com
 
Old 11-17-2010, 07:56 AM
Andreas Tille
 
Default Bug#603767: gdm: starts on v8 instead of vt7

On Wed, Nov 17, 2010 at 09:36:14AM +0100, Josselin Mouette wrote:
> Le mercredi 17 novembre 2010 * 13:47 +1100, david b a écrit :
> > After upgrading from lenny to squeeze, gdm starts on vt8 always (even
> > after restarting it). It should start on vt7 as this is the expected
> > behaviour.
>
> I noticed this happens often to me too, and I can assure you it’s not a
> GDM bug. The Linux VT interface wrongly reports vt7 as being in use,
> before gdm is even started. It does not happen on all systems, so it
> might be related to KMS - for example it happens with my radeon-based
> system.

I can confirm that a gdm3 restart might lead to either one of vt[789]
with no specific rule. I had some issues to track down which needed
several restarts and I simply tired which console was finally used. I
have not made any stats but at most times it was on vt8 but vt9 happened
as well and also I once found it back on vt7.

> Which graphics hardware are you using?

Intel based laptop.

Hope this helps

Andreas.

--
http://fam-tille.de



--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20101117085646.GB12979@an3as.eu">http://lists.debian.org/20101117085646.GB12979@an3as.eu
 
Old 11-17-2010, 09:34 AM
dave b
 
Default Bug#603767: gdm: starts on v8 instead of vt7

I am using gdm and not gdm3.
If you can give me more details as to why you think it is a kernel bug
that would be good ^ ^
(also the ordering of this bug report on the website rather weird...)



--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTin1NBKd3eSv7GnqV4hkJ0ug=VU9U2b-Pp2JL3AD@mail.gmail.com">http://lists.debian.org/AANLkTin1NBKd3eSv7GnqV4hkJ0ug=VU9U2b-Pp2JL3AD@mail.gmail.com
 
Old 11-17-2010, 03:15 PM
"Mario 'BitKoenig' Holbe"
 
Default Bug#603767: gdm: starts on v8 instead of vt7

On Wed, Nov 17, 2010 at 09:36:14AM +0100, Josselin Mouette wrote:
> Le mercredi 17 novembre 2010 13:47 +1100, david b a crit :
> > After upgrading from lenny to squeeze, gdm starts on vt8 always (even
> > after restarting it). It should start on vt7 as this is the expected
> I noticed this happens often to me too, and I can assure you it???s not a
> GDM bug. The Linux VT interface wrongly reports vt7 as being in use,
> before gdm is even started.

Well, to me, it does indeed appear to be a GDM bug: I can not reproduce
this permanent VT allocation with either KDM, XDM or startx. The issue
does only show up with GDM. And it does never show up when starting GDM
the first time after boot, GDM needs to be stopped and started again for
the issue to show up here on my systems.

> It does not happen on all systems, so it
> might be related to KMS - for example it happens with my radeon-based
> Which graphics hardware are you using?

I can reproduce this on Intel graphics (KMS) and VIA Chrome graphics (no
KMS, afaik).


regards
Mario
--
The secret that the NSA could read the Iranian secrets was more
important than any specific Iranian secrets that the NSA could
read. -- Bruce Schneier
 
Old 11-17-2010, 03:33 PM
Salvo Tomaselli
 
Default Bug#603767: gdm: starts on v8 instead of vt7

> Well, to me, it does indeed appear to be a GDM bug: I can not reproduce
> this permanent VT allocation with either KDM, XDM or startx. The issue
> does only show up with GDM. And it does never show up when starting GDM
> the first time after boot, GDM needs to be stopped and started again for
> the issue to show up here on my systems.
It happens to me with kdm. I am using intel with KMS.

--
Salvo Tomaselli
 
Old 11-17-2010, 04:01 PM
Josselin Mouette
 
Default Bug#603767: gdm: starts on v8 instead of vt7

Le mercredi 17 novembre 2010 * 17:15 +0100, Mario 'BitKoenig' Holbe a
écrit :
> Well, to me, it does indeed appear to be a GDM bug: I can not reproduce
> this permanent VT allocation with either KDM, XDM or startx. The issue
> does only show up with GDM. And it does never show up when starting GDM
> the first time after boot, GDM needs to be stopped and started again for
> the issue to show up here on my systems.

Try the attached C code, it will show you what the kernel says, which is
what GDM bases its decisions upon.

The VT allocation code has not changed a single bit in gdm between the
lenny and squeeze versions. In gdm3 a very similar code is used, which
is why both behave the same in squeeze.

--
.'`.
: :' : “You would need to ask a lawyer if you don't know
`. `' that a handshake of course makes a valid contract.”
`- -- J???rg Schilling
 
Old 11-17-2010, 06:09 PM
"Mario 'BitKoenig' Holbe"
 
Default Bug#603767: gdm: starts on v8 instead of vt7

On Wed, Nov 17, 2010 at 06:01:53PM +0100, Josselin Mouette wrote:
> Le mercredi 17 novembre 2010 17:15 +0100, Mario 'BitKoenig' Holbe a
> crit :
> > Well, to me, it does indeed appear to be a GDM bug: I can not reproduce
> > this permanent VT allocation with either KDM, XDM or startx. The issue
> > does only show up with GDM. And it does never show up when starting GDM
> > the first time after boot, GDM needs to be stopped and started again for
> > the issue to show up here on my systems.
> Try the attached C code, it will show you what the kernel says, which is
> what GDM bases its decisions upon.

Well, as I already said in my previous mail (using deallocvt there), it
says busy... I started on a fresh booted system, GDM running (on vt7),
switched back to vt1 and logged in as root:

root@darkside:~# deallocvt 7
VT_DISALLOCATE: Device or resource busy
deallocvt: could not deallocate console 7
root@darkside:~# /tmp/vtmap
tty1 busy
tty2 busy
tty3 busy
tty4 busy
tty5 busy
tty6 busy
tty7 busy
tty8 free
tty9 free
tty10 free
tty11 free
root@darkside:~# /etc/init.d/gdm3 stop
Stopping GNOME Display Manager: gdm3.
root@darkside:~# /tmp/vtmap
tty1 busy
tty2 busy
tty3 busy
tty4 busy
tty5 busy
tty6 busy
tty7 busy
tty8 free
tty9 free
tty10 free
tty11 free
root@darkside:~# deallocvt 7
VT_DISALLOCATE: Device or resource busy
deallocvt: could not deallocate console 7
root@darkside:~#

Before stopping GDM, tty7 is busy as expected. After stopping GDM, tty7
is still busy.

> The VT allocation code has not changed a single bit in gdm between the
> lenny and squeeze versions. In gdm3 a very similar code is used, which
> is why both behave the same in squeeze.

Well, it's probably not a direct GDM bug but some bug in the Gnome
backend? I believe to remember for such permanent VT allocation a while
ago when I didn't use any display manager at all (but startx and FVWM as
window manager) triggered by running some Gnome application(s). I just
cannot currently find such an application that would trigger it.


regards
Mario
--
It is a capital mistake to theorize before one has data.
Insensibly one begins to twist facts to suit theories instead of theories
to suit facts. -- Sherlock Holmes by Arthur Conan Doyle
 
Old 11-17-2010, 11:41 PM
dave b
 
Default Bug#603767: gdm: starts on v8 instead of vt7

So what's kind of why i asked about how you were trying to find the bug.
Don't tell me to search through lots of C code point it out!
I don't have time for that and you seemed to know more!
We so then the question is what happens if it is 'busy' and we attempt
to use it anyways ?


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTi=3sycU_xCcbC=gtVvYM8Xo8Omrq4ko3rUS=6zU@mail .gmail.com">http://lists.debian.org/AANLkTi=3sycU_xCcbC=gtVvYM8Xo8Omrq4ko3rUS=6zU@mail .gmail.com
 

Thread Tools




All times are GMT. The time now is 12:58 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org