Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267668 - sys-kernel/tuxonice-sources-2.6.29: blank screen and other problems with kms enabled
Summary: sys-kernel/tuxonice-sources-2.6.29: blank screen and other problems with kms ...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-27 16:49 UTC by Fabiano Francesconi
Modified: 2009-05-22 12:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Kernel configuration file (config-2.6.29-tuxonice-r1,52.29 KB, text/plain)
2009-05-17 17:40 UTC, Fabiano Francesconi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabiano Francesconi 2009-04-27 16:49:25 UTC
First of all I don't think it's a bug related to tuxonice-sources kernel.

The problem is quite simple to describe: when I boot the system up with "i915.modeset=1" in kernel parameters, the screen turns black and no more output is written.

The computer starts up normal and I can shut him down or reboot with no problems.

When boot process reaches gdm, I can login, but textrendering is and resolution seems to be set to 1024x768.

Console switching keeps me back to the black screen and after 2-3 mins X hangs up and the only thing I can do is to hardly power my pc down. (4 seconds button techique.

I know that suggested (or working) xorg-server version is 1.6 (I use 1.5.3). Infact this problem is mainly related to the boot process.

I use grub.

Reproducible: Always

Steps to Reproduce:
1. set i915.modeset=1 in kernel parameters
2. boot the system

Actual Results:  
Blank screen, no vt, xorg hangs after 2-3 mins

Expected Results:  
System should bootup normally and reach xdm.

[emerge --info]

Portage 2.1.6.7 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.29-tuxonice i686)
=================================================================
System uname: Linux-2.6.29-tuxonice-i686-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-glibc2.0
Timestamp of tree: Mon, 27 Apr 2009 14:30:17 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="it en"
MAKEOPTS="-j3 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo firefox flac fortran gdbm gif gmail gnome gpm gstreamer gtk hal hddtemp iconv imap ipod ipv6 isdnlog java jpeg kerberos laptop libnotify lm_sensors mad midi mikmod mng mp3 mpeg msn mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl ssl startup-notification svg sysfs tcpd threads tiff truetype unicode usb vorbis webkit wifi win32codecs x86 xml xorg xulrunner xv zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en" USERLAND="GNU" VIDEO_CARDS="intel vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Fabiano Francesconi 2009-04-27 16:50:38 UTC
whitebox linux # lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
02:00.0 Network controller: Broadcom Corporation BCM4328 802.11a/b/g/n (rev 03)
03:00.0 Ethernet controller: Marvell Technology Group Ltd. Marvell Yukon 88E8058 PCI-E Gigabit Ethernet Controller (rev 13)
04:03.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 61)

The lapdog is a macbook 3,1
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-05-03 14:27:29 UTC
Can you reproduce this problem with any other kernel than tuxonice-sources?
Comment 3 Fabiano Francesconi 2009-05-03 15:15:40 UTC
(In reply to comment #2)
> Can you reproduce this problem with any other kernel than tuxonice-sources?
> 

I think only kernel .29 has kernel mode setting feature.. am I right?
Comment 4 Fabiano Francesconi 2009-05-03 15:17:08 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Can you reproduce this problem with any other kernel than tuxonice-sources?
> > 
> 
> I think only kernel .29 has kernel mode setting feature.. am I right?
> 

sorry.. misunderstood the question.. as soon as possibile I'm going to try gentoo-sources or even vanilla one and reporting back what happens.
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-05-08 16:00:20 UTC
Reopen this bug when you provide the requested information.
Comment 6 Fabiano Francesconi 2009-05-17 17:38:04 UTC
Sorry for being late.
I've tried with gentoo-sources 2.6.29-r4 and I have *exactly* the same issues.

Pratically, during the boot I can see the "tuzs" for one-two seconds and then black screen since xorg starts (with the wrong resolution).
I noticed that if I click on "Session" menu (in gdm) and then I try to click the Cancel button, suddently all the system crash (only thing left I can do is to manually power the notebook off).

I've noticed a couple of lines in dmesg that I have always had in every kernel I tried so far:

[drm] Initialized i915 1.6.0 20080730 on minor 0
intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G/915G/915GM/945G/945GM/945GME/965G/965GM ch
ipsets
intelfb: Version 0.9.6
intelfb: Cannot reserve FB region.

DRM seems to get initialiazed fine but the framebuffer seems to have some problems to reserve a region (in memory?).

Infact, now that I think about that, I always had problems to run something in framebuffer (like tuxonice userUI, just an example).

I give you more specs about Macbook hardware:
http://en.gentoo-wiki.com/wiki/Apple_Macbook#Existing_Models
My model is Late 2007 (4 Gen).

I'll attach my .config file

Thanks
Comment 7 Fabiano Francesconi 2009-05-17 17:40:23 UTC
Created attachment 191571 [details]
Kernel configuration file
Comment 8 Fabiano Francesconi 2009-05-17 17:43:06 UTC
Just a thing I forgot to mention.
In previous report (comment #1) I say that I have a Macbook 3,1.
I was wrong. The notebook is a Macbook 4,1 (Late 2007 (4 Gen)).

Just to clarify.

Thanks
Comment 9 Rémi Cardona (RETIRED) gentoo-dev 2009-05-18 21:32:51 UTC
Please try one of the newer git-sources (2.6.30-rX). If that doesn't work, please open a bug in FreeDesktop's bugzilla.

Please paste the url here so we can track the bug.

Thanks

[1] http://intellinuxgraphics.org/how_to_report_bug.html
Comment 10 Fabiano Francesconi 2009-05-21 20:25:36 UTC
https://bugs.freedesktop.org/show_bug.cgi?id=21806

Here you are :)
Comment 11 Rémi Cardona (RETIRED) gentoo-dev 2009-05-22 12:37:45 UTC
Thanks, let's track the bug upstream then.