Bug#602009: linux-image-2.6.36-trunk-amd64: i915.powersave option is not respected in 2.6.36

2010-11-02 Thread Fernando Lemos
Hello,

On Tue, Nov 2, 2010 at 1:10 AM, Fernando Lemos fernando...@gmail.com wrote:
 Thanks for your prompt response. Done, it's bug #31311:

 https://bugs.freedesktop.org/show_bug.cgi?id=31311

Chris Wilson's reply shed some light on this and I now understand
what's going on. I commented up i915.powersave=0 to test if #580601
was gone in 2.6.36, and that made into the initrd, as I found out
after examining it. Running update-initramfs -k all -u solved the
issue.

In 2.6.36, as Chris Wilson stated,
/sys/modules/i915/parameters/powersave is 0400. I'm led to believe
that at some point in initialization, after the root filesystem is
mounted, modprobe goes over /etc/modprobe.d again to reset the
options. This might be why leaving i915.powersave=0 commented out in
the initrd worked before 2.6.36. If this is the case, then it might be
nice to have the commit mentioned in the f.d.o bug report backported,
perhaps. It could also be that my other initrds simply didn't have
that option commented out.

Anyways, the issue is now solved for me:

ferna...@vostro:~$ sudo cat /sys/module/i915/parameters/powersave
0
ferna...@vostro:~$ uname -a
Linux vostro 2.6.36-trunk-amd64 #1 SMP Wed Oct 27 14:28:29 UTC 2010
x86_64 GNU/Linux
ferna...@vostro:~$

Please feel free to close/archive/invalidate this bug report. Sorry
for any inconvenience and thanks for your time.

Regards,



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktimade9h92bp=_4ansmdhz2ljg6figa2kf5xe...@mail.gmail.com



Bug#602009: linux-image-2.6.36-trunk-amd64: i915.powersave option is not respected in 2.6.36

2010-11-01 Thread Ben Hutchings
On Sun, 2010-10-31 at 16:19 -0200, Fernando Tarlá Cardoso Lemos wrote:
 Package: linux-2.6
 Version: 2.6.36-1~experimental.1
 Severity: normal
 
 
 Hi, due to bug #580601, I have to use i915.powersave=0 in /etc/modprobe.d.
 This worked fine from 2.6.32 to 2.6.35 with all versions I tested from
 experimental. However, powersave is always 1 with 2.6.36 (which causes the
 problems described in the aforementioned bug report).
[...]

Please report this upstream on https://bugs.freedesktop.org under
product 'DRI', component 'DRM/Intel'.  Let us know the bug number or URL
so we can track it.

Also, please comment on
http://bugs.freedesktop.org/show_bug.cgi?id=27589 (same as #580601)
that that bug is still present in 2.6.36, and add yourself to the cc
list so you can answer questions from the upstream maintainers.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.


signature.asc
Description: This is a digitally signed message part


Bug#602009: linux-image-2.6.36-trunk-amd64: i915.powersave option is not respected in 2.6.36

2010-11-01 Thread Fernando Lemos
Hi, Ben

2010/11/1 Ben Hutchings b...@decadent.org.uk:
 Please report this upstream on https://bugs.freedesktop.org under
 product 'DRI', component 'DRM/Intel'.  Let us know the bug number or URL
 so we can track it.

Thanks for your prompt response. Done, it's bug #31311:

https://bugs.freedesktop.org/show_bug.cgi?id=31311

 Also, please comment on
 http://bugs.freedesktop.org/show_bug.cgi?id=27589 (same as #580601)
 that that bug is still present in 2.6.36, and add yourself to the cc
 list so you can answer questions from the upstream maintainers.

Done and done.

Regards,



--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktindnvckp5j1wz8e9+gvuahlpxh_1ge6t7vo-...@mail.gmail.com



Bug#602009: linux-image-2.6.36-trunk-amd64: i915.powersave option is not respected in 2.6.36

2010-10-31 Thread Fernando Tarlá Cardoso Lemos
Package: linux-2.6
Version: 2.6.36-1~experimental.1
Severity: normal


Hi, due to bug #580601, I have to use i915.powersave=0 in /etc/modprobe.d.
This worked fine from 2.6.32 to 2.6.35 with all versions I tested from
experimental. However, powersave is always 1 with 2.6.36 (which causes the
problems described in the aforementioned bug report).

Compare the output of the following commands when booted in 2.6.35:

ferna...@vostro:~$ sudo cat /sys/module/i915/parameters/powersave 
0
ferna...@vostro:~$ grep i915 /etc/modprobe.d/*
/etc/modprobe.d/i915-kms.conf:options i915 modeset=1
/etc/modprobe.d/local.conf:options i915 powersave=0
ferna...@vostro:~$

To the output of the same commands when booted in 2.6.36:

ferna...@vostro:~$ uname -a
Linux vostro 2.6.36-trunk-amd64 #1 SMP Wed Oct 27 14:28:29 UTC 2010 x86_64
GNU/Linux
ferna...@vostro:~$ sudo cat /sys/module/i915/parameters/powersave 
1
ferna...@vostro:~$ grep i915 /etc/modprobe.d/*
/etc/modprobe.d/i915-kms.conf:options i915 modeset=1
/etc/modprobe.d/local.conf:options i915 powersave=0
ferna...@vostro:~$

I can reproduce it every time, it's always 1 with 2.6.36.

I also have the following two options set in /etc/modprobe.d/local.conf:

options b43 pio=1
options snd-hda-intel model=dell-vostro

And those options are respected correctly (they work as they should and
/sys/modules/{b43,snd_hda_intel}/parameters show the settings I've defined),
so it looks like it's a problem with i915 only.

I've used that option with kernels 2.6.33, 34 and 35, and it has always worked
fine previously, so the bug was probably introduced in 2.6.36.

Please let me know if you need any more info.

-- Package-specific info:
** Version:
Linux version 2.6.36-trunk-amd64 (Debian 2.6.36-1~experimental.1) 
(m...@stro.at) (gcc version 4.4.5 (Debian 4.4.5-5) ) #1 SMP Wed Oct 27 14:28:29 
UTC 2010

** Command line:
BOOT_IMAGE=/boot/vmlinuz-2.6.36-trunk-amd64 
root=UUID=745ddfbd-1368-4bcb-b307-efbe218c195a ro quiet splash

** Not tainted

** Kernel log:
[2.204430] USB Mass Storage support registered.
[2.308010] usb 2-5: new high speed USB device using ehci_hcd and address 3
[2.515208] usb 2-5: New USB device found, idVendor=064e, idProduct=8100
[2.515211] usb 2-5: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[2.515214] usb 2-5: Product: Integrated_Webcam_2M
[2.515215] usb 2-5: Manufacturer: SuYin
[2.808022] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[2.825560] ata2.00: ATAPI: TSSTcorp DVD+/-RW TS-L633C, DW40, max UDMA/100
[2.825563] ata2.00: applying bridge limits
[2.843412] ata2.00: configured for UDMA/100
[2.857791] scsi 1:0:0:0: CD-ROMTSSTcorp DVD+-RW TS-L633C DW40 
PQ: 0 ANSI: 5
[3.176016] ata5: SATA link down (SStatus 0 SControl 300)
[3.204602] scsi 6:0:0:0: Direct-Access WD   1200BEV External 1.75 
PQ: 0 ANSI: 4
[3.512017] ata6: SATA link down (SStatus 0 SControl 300)
[3.543564] sd 0:0:0:0: [sda] 312581808 512-byte logical blocks: (160 GB/149 
GiB)
[3.543610] sd 0:0:0:0: [sda] Write Protect is off
[3.543613] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[3.543632] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, 
doesn't support DPO or FUA
[3.552618] sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda 
tray
[3.552621] cdrom: Uniform CD-ROM driver Revision: 3.20
[3.552871] sr 1:0:0:0: Attached scsi CD-ROM sr0
[3.553593] sd 6:0:0:0: [sdb] 234441648 512-byte logical blocks: (120 GB/111 
GiB)
[3.554088] sd 6:0:0:0: [sdb] Write Protect is off
[3.554090] sd 6:0:0:0: [sdb] Mode Sense: 23 00 00 00
[3.554092] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[3.555213] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[3.631910]  sda: sda1  sda5 sda6 sda7 
[3.632443] sd 0:0:0:0: [sda] Attached SCSI disk
[4.777467]  sdb: unknown partition table
[4.778973] sd 6:0:0:0: [sdb] Assuming drive cache: write through
[4.779010] sd 6:0:0:0: [sdb] Attached SCSI disk
[4.790691] sd 0:0:0:0: Attached scsi generic sg0 type 0
[4.791083] sr 1:0:0:0: Attached scsi generic sg1 type 5
[4.791472] sd 6:0:0:0: Attached scsi generic sg2 type 0
[5.585592] PM: Starting manual resume from disk
[5.585595] PM: Resume from partition 8:7
[5.585596] PM: Checking hibernation image.
[5.585735] PM: Error -22 checking image file
[5.585736] PM: Resume from disk failed.
[5.640023] EXT3-fs: barriers not enabled
[5.652029] kjournald starting.  Commit interval 5 seconds
[5.652060] EXT3-fs (sda5): mounted filesystem with ordered data mode
[7.044090] udev[409]: starting version 164
[7.463465] ACPI: acpi_idle registered with cpuidle
[7.481376] ACPI: AC Adapter [AC] (on-line)
[7.511206] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[7.523978] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[7.578826] Monitor-Mwait will be used to enter C-1 state
[7.589194]