[ltp] after updating xserver-xorg-video-intel can not change back to virtual terminals

Peter Germer linux-thinkpad@linux-thinkpad.org
Thu, 28 Jan 2010 17:40:48 +0300


--000e0cdff8b4412456047e3a81b1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Dear Bj=F8rn,

Only compiling 2.6.32 kernel with KMS did not solve the problem. With the
new kernel dmesg says:

dmesg|grep -E 'fb|drm'
[    0.588964] vesafb: framebuffer at 0xd0000000, mapped to 0xf7c80000,
using 3072k, total 3072k
[    0.588968] vesafb: mode is 1024x768x32, linelength=3D4096, pages=3D0
[    0.588971] vesafb: scrolling: redraw
[    0.588974] vesafb: Truecolor: size=3D8:8:8:8, shift=3D24:16:8:0
[    0.646994] fb0: VESA VGA frame buffer device
[   30.662763] [drm] Initialized drm 1.1.0 20060810
[   30.752556] [drm] set up 7M of stolen space
[   31.333213] fb: conflicting fb hw usage inteldrmfb vs VESA VGA - removin=
g
generic driver
[   31.333345] fb1: inteldrmfb frame buffer device
[   31.333363] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on
minor 0
[   31.437147] [drm] LVDS-8: set mode 1024x768 c

After removing 'set gfxpayload=3Dkeep' from /boot/grub/grub.cfg the problem=
 is
solved and as you wrote after X is started I get back the nice resolution i=
n
console.

Thank you for your quick help guys!

Regards,
Peter


2010/1/28 Bj=F8rn Mork <bjorn@mork.no>

> Peter Germer <germerp@gmail.com> writes:
>
> > I am using Debian Squeeze with 2.6.30 on my X60s and after yesterday's
> > update I recognized that I can not switch back to terminals. When I hit
> > CTRL-ALT-F1 (or any other than F7) the cursor disappears, but the scree=
n
> > doesn't change and I can still see the graphical screen. Although I can
> not
> > see anything I can login blindly and use the terminal. When I changed m=
y
> > xorg.conf to use vesa driver I was able to change through terminals. Wh=
en
> I
> > press CTRL-ALT-F7 I get the cursor back to my X. Does anyone have the
> same
> > issue or know how to fix it (if it is possible without downgrade)?
>
> This is because the new xserver-xorg-video-intel enables KMS by default
> (by including /etc/modprobe.d/i915-kms.conf), and you are probably using
> the vesafb driver for the console. Do a  "dmesg|grep -E 'fb|drm'" to
> verify.
>
> The vesafb usage may be unintentionally like it was for me, by having a
> vga=3Dxxx option on the kernel command line.  If so, then remove it from
> /boot/grub/menu.lst (or grub.cfg or /etc/lilo.conf or whatever), rerun
> update-grub and be set.
>
> You'll notice that you get the standard 80x24 console until X is started
> and first then a nice native resolution console.  If you want the native
> resolution console from the start, then add something like
> "video=3Di915:modeset=3D1" to the kernel command line and rerun "update-g=
rub"
> and "update-initramfs -u -k `uname -r`".
>
> See also http://bugs.debian.org/564318
>
>
>
> Bj=F8rn
> --
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>

--000e0cdff8b4412456047e3a81b1
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Dear <font style=3D"background-color: rgb(255, 255, 255); =
color: rgb(0, 0, 0);" color=3D"#888888">Bj=F8rn</font>,<br><br>Only compili=
ng 2.6.32 kernel with KMS did not solve the problem. With the new kernel dm=
esg says:<br>

<br>dmesg|grep -E &#39;fb|drm&#39;<br>[=A0=A0=A0 0.588964] vesafb: framebuf=
fer at 0xd0000000, mapped to 0xf7c80000, using 3072k, total 3072k<br>[=A0=
=A0=A0 0.588968] vesafb: mode is 1024x768x32, linelength=3D4096, pages=3D0<=
br>[=A0=A0=A0 0.588971] vesafb: scrolling: redraw<br>

[=A0=A0=A0 0.588974] vesafb: Truecolor: size=3D8:8:8:8, shift=3D24:16:8:0<b=
r>[=A0=A0=A0 0.646994] fb0: VESA VGA frame buffer device<br>[=A0=A0 30.6627=
63] [drm] Initialized drm 1.1.0 20060810<br>[=A0=A0 30.752556] [drm] set up=
 7M of stolen space<br>

[=A0=A0 31.333213] fb: conflicting fb hw usage inteldrmfb vs VESA VGA - rem=
oving generic driver<br>[=A0=A0 31.333345] fb1: inteldrmfb frame buffer dev=
ice<br>[=A0=A0 31.333363] [drm] Initialized i915 1.6.0 20080730 for 0000:00=
:02.0 on minor 0<br>

[=A0=A0 31.437147] [drm] LVDS-8: set mode 1024x768 c<br><br>After removing =
&#39;set gfxpayload=3Dkeep&#39; from /boot/grub/grub.cfg the problem is sol=
ved and as you wrote after X is started I get back the nice resolution in c=
onsole.<br>
<br>Thank you for your quick help guys!<br><br>Regards,<br>Peter<br><br><br=
><div class=3D"gmail_quote">2010/1/28 Bj=F8rn Mork <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:bjorn@mork.no" target=3D"_blank">bjorn@mork.no</a>&gt;</spa=
n><br>
<blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 0pt 0.8ex; borde=
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div>Peter Germer &lt;<a href=3D"mailto:germerp@gmail.com" =
target=3D"_blank">germerp@gmail.com</a>&gt; writes:<br>
<br>
&gt; I am using Debian Squeeze with 2.6.30 on my X60s and after yesterday&#=
39;s<br>
&gt; update I recognized that I can not switch back to terminals. When I hi=
t<br>
&gt; CTRL-ALT-F1 (or any other than F7) the cursor disappears, but the scre=
en<br>
&gt; doesn&#39;t change and I can still see the graphical screen. Although =
I can not<br>
&gt; see anything I can login blindly and use the terminal. When I changed =
my<br>
&gt; xorg.conf to use vesa driver I was able to change through terminals. W=
hen I<br>
&gt; press CTRL-ALT-F7 I get the cursor back to my X. Does anyone have the =
same<br>
&gt; issue or know how to fix it (if it is possible without downgrade)?<br>
<br>
</div></div>This is because the new xserver-xorg-video-intel enables KMS by=
 default<br>
(by including /etc/modprobe.d/i915-kms.conf), and you are probably using<br=
>
the vesafb driver for the console. Do a =A0&quot;dmesg|grep -E &#39;fb|drm&=
#39;&quot; to<br>
verify.<br>
<br>
The vesafb usage may be unintentionally like it was for me, by having a<br>
vga=3Dxxx option on the kernel command line. =A0If so, then remove it from<=
br>
/boot/grub/menu.lst (or grub.cfg or /etc/lilo.conf or whatever), rerun<br>
update-grub and be set.<br>
<br>
You&#39;ll notice that you get the standard 80x24 console until X is starte=
d<br>
and first then a nice native resolution console. =A0If you want the native<=
br>
resolution console from the start, then add something like<br>
&quot;video=3Di915:modeset=3D1&quot; to the kernel command line and rerun &=
quot;update-grub&quot;<br>
and &quot;update-initramfs -u -k `uname -r`&quot;.<br>
<br>
See also <a href=3D"http://bugs.debian.org/564318" target=3D"_blank">http:/=
/bugs.debian.org/564318</a><br>
<font color=3D"#888888"><br>
<br>
<br>
Bj=F8rn<br>
</font><div><div></div><div>--<br>
The linux-thinkpad mailing list home page is at:<br>
<a href=3D"http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpa=
d" target=3D"_blank">http://mailman.linux-thinkpad.org/mailman/listinfo/lin=
ux-thinkpad</a><br>
</div></div></blockquote></div><br></div>

--000e0cdff8b4412456047e3a81b1--