[ltp] how to make the console not blank out and change resolution?

Fabian Henze linux-thinkpad@linux-thinkpad.org
Sat, 23 Oct 2010 21:32:18 +0200


--nextPart1702571.H97zmSBPT8
Content-Type: Text/Plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable

On saturday the 23rd of October 2010, 20:52:00 UTC+1 you wrote:
> Allow me to ask a stupid question.
>=20
> Somewhere near this point in the dmesg messages, the console blanks and
> becomes a different resolution.
>=20
> [   8.135936] Marking TSC unstable due to TSC halts in idle
> [   8.137762] processor LNXCPU:00: registered as cooling_device0
> [   8.144690] Switching to clocksource acpi_pm
> [   8.223513] input: PC Speaker as /devices/platform/pcspkr/input/input5
> [   8.754683] i801_smbus 0000:00:1f.3: PCI INT B -> Link[LNKB] -> GSI 11
> (level, low) -> IRQ 11 [   8.768920] pci_hotplug: PCI Hot Plug PCI Core
> version: 0.5
> [   8.853142] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
> [   8.872591] intel_rng: FWH not detected
> [   9.160625] IBM TrackPoint firmware: 0x0e, buttons: 3/3
>=20
> All I know is it happens around the time /etc/rcS.d/S02udev is run.
>=20
> How do I temporarily not make this console blanking not occur?
>=20
> You see, when that happens, whatever that was on the screen goes away.
> Nor was most of what was on the screen at that point stored in dmesg or
> in any /var/log/* file, not can it be ShiftPgUp'ed to anymore.
>=20
> So I would like to stop the blanking just one time to get a look at what
> was on the screen at that point.
>=20
> Reading http://www.debian.org/releases/stable/i386/ch05s03.html.en , I
> tried adding fb=3Dfalse to the boot parameters. However I see in dmesg the
> frame buffer still there. Well they ought to correct that. Let's see
> what else I can try.
>=20
> I added "blacklist drm" in /etc/modprobe.d/* but that is ignored too.
> Apparently that is for later items, not stuff so early in the boot
> process.
>=20
> I tried to make the /etc/init.d scripts not run in parallel, so that
> debugging messages I put in them would reveal just which one is the
> blanking the screen culprit. But of course how to not make them run in
> parallel is a big mystery, despite the insserv man page.
> dpkg-reconfigure what package? initscripts:no, insserv:no.
>=20
> On my desktop, blanking does not occur, only on my laptops.
>=20
> Let's see, maybe if I turned off one of these:
> 7 matches for "drm" in buffer: kernel-parameters.txt.gz
>      46:	DRM	Direct Rendering Management support is enabled.
>     793:	gamma=3D		[HW,DRM]
>     886:	i810=3D		[HW,DRM]
>    1413:	mga=3D		[HW,DRM]
>    2094:	r128=3D		[HW,DRM]
>    2514:	tdfx=3D		[HW,DRM]
>    2786:	Add more DRM drivers.
> However as there is nary a word about how to use these parameters there
> in that document, one dares not experiment. Maybe on the boot line I
> just do gamma=3Dfalse i810=3Dfalse mga=3Dfalse r128=3Dfalse tdfx=3Dfalse ?
> But judging from what happened when I did fb=3Dfalse, I think that
> wouldn't work either.

"nomodeset" is the parameter you are searching for. But why would you want =
to=20
disable that?

=2D- Fabian Henze

--nextPart1702571.H97zmSBPT8
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)

iQEcBAABAgAGBQJMwzhCAAoJELXNS66LbuXGNyoH/iNwFSprlDcpN4BbXAz5b0Zl
14jx8ft9suPf9s9iGwKIu3oOI6HluC0c/kOJg/61uGoC9AhhxLuzhnHeQPeXy5pA
kReWvLh2gyYMgKLFx4zTU1cO2dQA4Tq+NK8uXTBxm10GmGQKE/y9ppyae3/prBcK
zkmzh6wLFiLezrAnaLV6urvZJWq3bK/ooW2VorxtQAvN3CX089bOvDJcZyJ/ypJS
TG/r8Qgh7MWz76oFFK68MuDaW97kk2CFkd4tlytQvT403eQUI2fAw0XO3JHxk7r1
GHHFOW7uy1jZKYVFvphgKcMPxWMBt+1rQb/x7Amwbbh1DyqJpin9rua3mXxcujM=
=Vu0A
-----END PGP SIGNATURE-----

--nextPart1702571.H97zmSBPT8--