Bug#747257: linux-image-3.2.0-4-amd64: Wheezy kernel update in 7.5 won't resume from suspend correctly

2014-05-12 Thread Jaimos Skriletz
In the recent linux security DSA it appears the issue has been found,

This update also fixes a regression in the isci
driver and suspend problems with certain AMD CPUs (introduced in the
updated kernel from the Wheezy 7.5 point release).
​

I have installed the newest kernel and my few tests pm-suspend and resume
is working as it was before the point release.

jaimos


Bug#747257: linux-image-3.2.0-4-amd64: Wheezy kernel update in 7.5 won't resume from suspend correctly

2014-05-10 Thread Jaimos Skriletz
On Sat, May 10, 2014 at 5:59 PM, Ben Hutchings b...@decadent.org.uk wrote:


 This is almost identical to the log from 3.2.54-2, except some crypto
 modules aren't loaded (cryptd, aes_x86_64, aes_generic).  So it seems
 like the resume is mostly successful.

 As you say the screen remains blank, that suggests a regression in
 either the GPU (radeon) or backlight driver.  For some reason, your bug
 report didn't include information about the GPU; can you send the output
 of 'lspci -vnn' please?



​I wasn't able to see much of a difference either, I use the radeon video
driver and if I were to guess what was the problem I would say wireless
network drivers as they have always given me an issue. But I manually
ifdown and then ifup my​ network drivers before and after a pm-suspend and
it works fine on the 3.2.54-2 kernel.

Here is the output of lspci -vnn, along with the output of lsmod from
3.2.54-2 kernel. Would it help to boot into the new kernel and see if there
is a loaded module difference? Any other logs or info you need please let
me know.

jaimos


lspci -vnn  --- START ---

00:00.0 Host bridge [0600]: Advanced Micro Devices [AMD] RS880 Host Bridge
[1022:9601]
Subsystem: Toshiba America Info Systems Device [1179:fd50]
Flags: bus master, 66MHz, medium devsel, latency 0
Capabilities: access denied

00:01.0 PCI bridge [0604]: Toshiba America Info Systems Device [1179:9602]
(prog-if 00 [Normal decode])
Flags: bus master, 66MHz, medium devsel, latency 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: b000-bfff
Memory behind bridge: f410-f42f
Prefetchable memory behind bridge: e000-efff
Capabilities: access denied

00:04.0 PCI bridge [0604]: Advanced Micro Devices [AMD] RS780/RS880 PCI to
PCI bridge (PCIE port 0) [1022:9604] (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=07, sec-latency=0
I/O behind bridge: 7000-afff
Memory behind bridge: f310-f40f
Prefetchable memory behind bridge: f000-f0ff
Capabilities: access denied
Kernel driver in use: pcieport

00:06.0 PCI bridge [0604]: Advanced Micro Devices [AMD] RS780 PCI to PCI
bridge (PCIE port 2) [1022:9606] (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=08, subordinate=08, sec-latency=0
I/O behind bridge: 6000-6fff
Memory behind bridge: f300-f30f
Capabilities: access denied
Kernel driver in use: pcieport

00:11.0 SATA controller [0106]: Advanced Micro Devices [AMD] nee ATI
SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] [1002:4391] (prog-if 01 [AHCI
1.0])
Subsystem: Toshiba America Info Systems Device [1179:fd50]
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 19
I/O ports at c038 [size=8]
I/O ports at c04c [size=4]
I/O ports at c030 [size=8]
I/O ports at c048 [size=4]
I/O ports at c010 [size=16]
Memory at f4307000 (32-bit, non-prefetchable) [size=1K]
Capabilities: access denied
Kernel driver in use: ahci

00:12.0 USB controller [0c03]: Advanced Micro Devices [AMD] nee ATI
SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397] (prog-if 10 [OHCI])
Subsystem: Toshiba America Info Systems Device [1179:fd50]
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
Memory at f4306000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci_hcd

00:12.2 USB controller [0c03]: Advanced Micro Devices [AMD] nee ATI
SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396] (prog-if 20 [EHCI])
Subsystem: Toshiba America Info Systems Device [1179:fd50]
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
Memory at f4307600 (32-bit, non-prefetchable) [size=256]
Capabilities: access denied
Kernel driver in use: ehci_hcd

00:13.0 USB controller [0c03]: Advanced Micro Devices [AMD] nee ATI
SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397] (prog-if 10 [OHCI])
Subsystem: Toshiba America Info Systems Device [1179:fd50]
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
Memory at f4305000 (32-bit, non-prefetchable) [size=4K]
Kernel driver in use: ohci_hcd

00:13.2 USB controller [0c03]: Advanced Micro Devices [AMD] nee ATI
SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396] (prog-if 20 [EHCI])
Subsystem: Toshiba America Info Systems Device [1179:fd50]
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
Memory at f4307500 (32-bit, non-prefetchable) [size=256]
Capabilities: access denied
Kernel driver in use: ehci_hcd


00:14.0 SMBus [0c05]: Advanced Micro Devices [AMD] nee ATI SBx00 SMBus
Controller [1002:4385] (rev

Bug#747257: linux-image-3.2.0-4-amd64: Wheezy kernel update in 7.5 won't resume from suspend correctly

2014-05-06 Thread jaimos
Package: src:linux
Version: 3.2.54-2
Severity: important

Dear Maintainer,

The new wheezy 7.5 kernel 3.2.57-3 will not resume from pm-suspend on my 
laptop. The old 7.4 kernel 3.2.54-2 resumes from pm-suspend just fine.

When I resume the laptop (press the power button) from a pm-suspend on the 
3.2.57-3 kernel the machine resumes with a blank screen forcing me to do a hard 
power off of the laptop and reboot it.

I am currently running the older 3.2.54-2 kernel as it is the one that works. I 
can reproduce the issue on the newer kernel and provide you with any logs.

jaimos


Here is a copy from /var/log/pm-suspend of the 3.2.57-3 kernel (failed resume):

--- START ---

/usr/lib/pm-utils/sleep.d/000kernel-change suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
Linux volticor 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3 x86_64 GNU/Linux
Module  Size  Used by
parport_pc 22364  0 
ppdev  12763  0 
lp 17149  0 
parport31858  3 lp,ppdev,parport_pc
loop   22641  0 
snd_hda_codec_hdmi 30824  1 
snd_hda_codec_conexant45307  1 
snd_hda_intel  26259  0 
snd_hda_codec  78031  3 
snd_hda_intel,snd_hda_codec_conexant,snd_hda_codec_hdmi
snd_hwdep  13186  1 snd_hda_codec
snd_pcm_oss41081  0 
snd_mixer_oss  17916  1 snd_pcm_oss
snd_pcm68083  4 
snd_pcm_oss,snd_hda_codec,snd_hda_intel,snd_hda_codec_hdmi
snd_page_alloc 13003  2 snd_pcm,snd_hda_intel
arc4   12458  2 
snd_seq_midi   12848  0 
snd_seq_midi_event 13316  1 snd_seq_midi
joydev 17266  0 
snd_rawmidi23060  1 snd_seq_midi
radeon722235  2 
rtl8192ce  60787  0 
ttm53664  1 radeon
rtlwifi81393  1 rtl8192ce
snd_seq45126  2 snd_seq_midi_event,snd_seq_midi
rtl8192c_common52602  1 rtl8192ce
drm_kms_helper 31370  1 radeon
mac80211  192806  3 rtl8192c_common,rtlwifi,rtl8192ce
uvcvideo   57744  0 
videodev   70889  1 uvcvideo
snd_seq_device 13176  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer  22917  2 snd_seq,snd_pcm
snd52889  12 
snd_timer,snd_seq_device,snd_seq,snd_rawmidi,snd_pcm,snd_mixer_oss,snd_pcm_oss,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_conexant,snd_hda_codec_hdmi
v4l2_compat_ioctl3216655  1 videodev
cfg80211  137243  2 mac80211,rtlwifi
drm   183952  4 drm_kms_helper,ttm,radeon
sp5100_tco 12900  0 
battery13146  0 
ac 12624  0 
i2c_algo_bit   12841  1 radeon
i2c_piix4  12536  0 
powernow_k817618  0 
edac_mce_amd   17103  0 
edac_core  35258  0 
soundcore  13065  1 snd
media  18148  2 videodev,uvcvideo
toshiba_acpi   17649  0 
i2c_core   23876  6 
i2c_piix4,i2c_algo_bit,drm,videodev,drm_kms_helper,radeon
sparse_keymap  12760  1 toshiba_acpi
k10temp12611  0 
mperf  12453  1 powernow_k8
psmouse69265  0 
rfkill 19012  2 toshiba_acpi,cfg80211
wmi13243  0 
shpchp 31293  0 
power_supply   13475  3 ac,battery,radeon
serio_raw  12931  0 
evdev  17562  14 
video  17683  0 
processor  28149  1 powernow_k8
button 12937  0 
ext4  350763  2 
crc16  12343  1 ext4
jbd2   62115  1 ext4
mbcache13114  1 ext4
hid_logitech_dj17313  0 
usbhid 36418  1 hid_logitech_dj
hid81372  2 usbhid,hid_logitech_dj
sg 25874  0 
ums_realtek17260  0 
usb_storage43870  1 ums_realtek
sr_mod 21899  0 
sd_mod 36136  4 
cdrom  35401  1 sr_mod
crc_t10dif 12348  1 sd_mod
ohci_hcd   26563  0 
thermal17383  0 
thermal_sys18040  3 thermal,processor,video
ahci   24997  3 
libahci22941  1 ahci
libata140630  2 libahci,ahci
ehci_hcd   40249  0 
atl1c  32217  0 
scsi_mod  162269  5 libata,sd_mod,sr_mod,usb_storage,sg
usbcore   128741  8 
ehci_hcd,ohci_hcd,usbhid,usb_storage,ums_realtek,uvcvideo,rtlwifi
usb_common 12354  1 usbcore
 total   used   free sharedbuffers cached
Mem:   379888414871482311736  0 151888 661500
-/+ buffers/cache: 6737603125124
Swap:  5859324  05859324

/usr/lib/pm-utils/sleep.d/00logging suspend suspend: success.
Running hook /usr/lib/pm-utils

Bug#658067: Device ID missing from Firmware-Ralink

2012-04-20 Thread Jaimos F Skriletz

Package: linux-image-3.2.0-2-amd64
Version: 3.2.15-1

I can confirm this bug in sid running kernel

$ uname -a
Linux volticor 3.2.0-2-amd64 #1 SMP Sun Apr 15 16:47:38 UTC 2012 x86_64 
GNU/Linux


I am able to get the device working easily enough by a slight 
modification of the above fix for squeeze:


First load the module since it won't load automatically (note you need 
the non-free firmware-ralink package installed):


$ modprobe rt2800usb

Second tell the module to assoicate with the usbID of the device:

$ echo 1737 0078  /sys/bus/usb/drivers/rt2800usb/new_id

After that I am able to use the wireless device normally.

jaimos



--
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/4f91a013.3070...@math.boisestate.edu