[BUG] 2.6.28 kseriod oops on resume afte hibernation

From: Patrizio Bassi
Date: Thu Dec 25 2008 - 15:25:55 EST


Hi all

testing 2.6.28 with suspend/resume as from
http://bugzilla.kernel.org/show_bug.cgi?id=7077
I need to congratulate with devs because after so many kernels i can
finally suspend my Asus A1000 (Sis630) machine!!
Great!

Problem is on resume, i get an oops (attaching dmesg output):

pci 0000:00:0a.0: CardBus bridge, secondary bus 0000:02
pci 0000:00:0a.0: IO window: 0x001000-0x0010ff
pci 0000:00:0a.0: IO window: 0x001400-0x0014ff
pci 0000:00:0a.0: PREFETCH window: 0x20000000-0x23ffffff
pci 0000:00:0a.0: MEM window: 0x24000000-0x27ffffff
pci 0000:00:0a.1: CardBus bridge, secondary bus 0000:06
pci 0000:00:0a.1: IO window: 0x001800-0x0018ff
pci 0000:00:0a.1: IO window: 0x001c00-0x001cff
pci 0000:00:0a.1: PREFETCH window: 0x28000000-0x2bffffff
pci 0000:00:0a.1: MEM window: 0x2c000000-0x2fffffff
pci 0000:00:02.0: setting latency timer to 64
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
pci 0000:00:0a.0: PCI INT A -> Link[LNKA] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
pci 0000:00:0a.1: PCI INT B -> Link[LNKC] -> GSI 5 (level, low) -> IRQ 5
bus: 00 index 0 io port: [0x00-0xffff]
bus: 00 index 1 mmio: [0x000000-0xffffffff]
bus: 01 index 0 io port: [0x9000-0x9fff]
bus: 01 index 1 mmio: [0xcd800000-0xcdffffff]
bus: 01 index 2 mmio: [0xd8000000-0xe7efffff]
bus: 01 index 3 mmio: [0x0-0x0]
bus: 02 index 0 io port: [0x1000-0x10ff]
bus: 02 index 1 io port: [0x1400-0x14ff]
bus: 02 index 2 mmio: [0x20000000-0x23ffffff]
bus: 02 index 3 mmio: [0x24000000-0x27ffffff]
bus: 06 index 0 io port: [0x1800-0x18ff]
bus: 06 index 1 io port: [0x1c00-0x1cff]
bus: 06 index 2 mmio: [0x28000000-0x2bffffff]
bus: 06 index 3 mmio: [0x2c000000-0x2fffffff]
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
NET: Registered protocol family 1
Simple Boot Flag at 0x3a set to 0x1
Microcode Update Driver: v2.00 <tigran@xxxxxxxxxxxxxxxxxxxx>, Peter Oruba
msgmni has been set to 594
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
io scheduler noop registered
io scheduler cfq registered (default)
pci 0000:01:00.0: Boot video device
sisfb: Video ROM found
sisfb: Video RAM at 0xd8000000, mapped to 0xd3880000, size 16384k
sisfb: MMIO at 0xcd800000, mapped to 0xd3840000, size 128k
sisfb: Memory heap starting at 8192K, size 7672K
Switched to high resolution mode on CPU 0
sisfb: Detected LVDS transmitter
sisfb: Detected Chrontel TV encoder
sisfb: Detected 800x600 flat panel
sisfb: Detected LCD PDC 0x20
sisfb: Default mode is 800x600x16 (75Hz)
sisfb: Initial vbflags 0x3000022
fbcon: SiS 630 (fb0) is primary device
Console: switching to colour frame buffer device 100x37
sisfb: 2D acceleration is enabled, y-panning enabled (auto-max)
fb0: SiS 630 frame buffer device version 1.8.9
sisfb: Copyright (C) 2001-2005 Thomas Winischhofer
ACPI: AC Adapter [AC] (on-line)
ACPI: Battery Slot [BAT0] (battery absent)
input: Power Button (FF) as /class/input/input0
ACPI: Power Button (FF) [PWRF]
input: Power Button (CM) as /class/input/input1
ACPI: Power Button (CM) [PWRB]
input: Sleep Button (CM) as /class/input/input2
ACPI: Sleep Button (CM) [SLPB]
input: Lid Switch as /class/input/input3
ACPI: Lid Switch [LID]
fan PNP0C0B:00: registered as cooling_device0
ACPI: Fan [FAN] (off)
ACPI: CPU0 (power states: C1[C1] C2[C2])
processor ACPI_CPU:00: registered as cooling_device1
ACPI: Processor [CPU0] (supports 8 throttling states)
thermal LNXTHERM:01: registered as thermal_zone0
ACPI: Thermal Zone [THRM] (67 C)
Real Time Clock Driver v1.12ac
Linux agpgart interface v0.103
agpgart-sis 0000:00:00.0: SiS chipset [1039/0630]
agpgart-sis 0000:00:00.0: AGP aperture is 64M @ 0xd0000000
[drm] Initialized drm 1.1.0 20060810
sisfb 0000:01:00.0: setting latency timer to 64
[drm] Initialized sis 1.3.0 20070626 on minor 0
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
brd: module loaded
loop: module loaded
sis900.c: v1.08.10 Apr. 2 2006
sis900 0000:00:01.1: PCI INT C -> Link[LNKC] -> GSI 5 (level, low) -> IRQ 5
0000:00:01.1: SiS 900 Internal MII PHY transceiver found at address 1.
0000:00:01.1: Using transceiver found at address 1 as default
eth0: SiS 900 PCI Fast Ethernet at 0xb000, IRQ 5, 00:e0:18:1a:6e:d0
Driver 'sd' needs updating - please use bus_type methods
pata_sis 0000:00:00.1: version 0.5.2
pata_sis 0000:00:00.1: can't derive routing for PCI INT A
scsi0 : pata_sis
scsi1 : pata_sis
ata1: PATA max UDMA/66 cmd 0x1f0 ctl 0x3f6 bmdma 0xb400 irq 14
ata2: PATA max UDMA/66 cmd 0x170 ctl 0x376 bmdma 0xb408 irq 15
ata1.00: ATA-6: HTS424040M9AT00, MA2OA60V, max UDMA/100
ata1.00: 78140160 sectors, multi 16: LBA48
ata1.00: limited to UDMA/33 due to 40-wire cable
ata1.00: configured for UDMA/33
ata2.00: ATAPI: CD-224E, 1.5A, max MWDMA2
ata2.00: configured for PIO4
scsi 0:0:0:0: Direct-Access ATA HTS424040M9AT00 MA2O PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 78140160 512-byte hardware sectors: (40.0 GB/37.2 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
sd 0:0:0:0: [sda] 78140160 512-byte hardware sectors: (40.0 GB/37.2 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
sda: sda1 sda2 < sda5 sda6 >
sd 0:0:0:0: [sda] Attached SCSI disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
scsi 1:0:0:0: CD-ROM TEAC CD-224E 1.5A PQ: 0 ANSI: 5
scsi 1:0:0:0: Attached scsi generic sg1 type 5
yenta_cardbus 0000:00:0a.0: CardBus bridge found [1043:1504]
yenta_cardbus 0000:00:0a.0: ISA IRQ mask 0x0498, PCI irq 11
yenta_cardbus 0000:00:0a.0: Socket status: 30000820
yenta_cardbus 0000:00:0a.1: CardBus bridge found [1043:1504]
yenta_cardbus 0000:00:0a.1: ISA IRQ mask 0x0498, PCI irq 5
yenta_cardbus 0000:00:0a.1: Socket status: 30000006
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 5
ohci_hcd 0000:00:01.2: PCI INT D -> Link[LNKD] -> GSI 5 (level, low) -> IRQ 5
ohci_hcd 0000:00:01.2: OHCI Host Controller
ohci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:01.2: irq 5, io mem 0xcf000000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
ohci_hcd 0000:00:01.3: PCI INT D -> Link[LNKD] -> GSI 5 (level, low) -> IRQ 5
ohci_hcd 0000:00:01.3: OHCI Host Controller
ohci_hcd 0000:00:01.3: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:01.3: irq 5, io mem 0xce800000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
input: PC Speaker as /class/input/input4
ACPI: I/O resource sis630_smbus [0xe480-0xe493] conflicts with ACPI
region SM00 [0xe480-0xe489]
ACPI: Device needs an ACPI driver
cpuidle: using governor ladder
cpuidle: using governor menu
Advanced Linux Sound Architecture Driver Version 1.0.18rc3.
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 5
Trident4DWaveAudio 0000:00:01.4: PCI INT B -> Link[LNKB] -> GSI 5
(level, low) -> IRQ 5
Marking TSC unstable due to TSC halts in idle
input: AT Translated Set 2 keyboard as /class/input/input5
pcmcia_socket pcmcia_socket0: pccard: CardBus card inserted into slot 0
pci 0000:02:00.0: reg 10 32bit mmio: [0x000000-0x00ffff]
Synaptics Touchpad, model: 1, fw: 4.6, id: 0x925ea1, caps: 0x80471b/0x0
input: SynPS/2 Synaptics TouchPad as /class/input/input6
AC'97 0 does not respond - RESET
AC'97 0 access is not valid [0x0], removing mixer.
MC'97 1 converters and GPIO not ready (0x800f)
ALSA device list:
#0: SiS SI7018 PCI Audio at 0xa800, irq 5
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
IO APIC resources could be not be allocated.
Using IPI Shortcut mode
ReiserFS: sda5: found reiserfs format "3.6" with standard journal
ReiserFS: sda5: using ordered data mode
ReiserFS: sda5: journal params: device sda5, size 8192, journal first
block 18, max trans len 1024, max batch 900, max commit age 30, max
trans age 30
ReiserFS: sda5: checking transaction log (sda5)
ReiserFS: sda5: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 264k freed
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
(5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: US
ath5k_pci 0000:02:00.0: enabling device (0000 -> 0002)
ath5k_pci 0000:02:00.0: PCI INT A -> Link[LNKA] -> GSI 11 (level, low) -> IRQ 11
ath5k_pci 0000:02:00.0: registered as 'phy0'
phy0: Selected rate control algorithm 'minstrel'
ath5k phy0: Atheros AR5213A chip found (MAC: 0x59, PHY: 0x43)
ath5k phy0: RF2112B 2GHz radio found (0x46)
udev: renamed network interface wlan0 to ath0
eth0: Media Link Off
Adding 627444k swap on /dev/sda6. Priority:-1 extents:1 across:627444k
ac97 codec read TIMEOUT [0x54/0x800fc0d4]!!!
input: PS/2 Synaptics TouchPad as /class/input/input7
ath0: authenticate with AP 00:12:a9:ce:c7:0c
ath0: authenticated
ath0: associate with AP 00:12:a9:ce:c7:0c
ath0: RX AssocResp from 00:12:a9:ce:c7:0c (capab=0x471 status=0 aid=1)
ath0: associated
ath0: deauthenticated
ath0: direct probe to AP 00:12:a9:ce:c7:0c try 1
ath0 direct probe responded
ath0: authenticate with AP 00:12:a9:ce:c7:0c
ath0: authenticated
ath0: associate with AP 00:12:a9:ce:c7:0c
ath0: RX ReassocResp from 00:12:a9:ce:c7:0c (capab=0x471 status=0 aid=1)
ath0: associated
ath0: deauthenticated
ath0: direct probe to AP 00:12:a9:ce:c7:0c try 1
ath0 direct probe responded
ath0: authenticate with AP 00:12:a9:ce:c7:0c
ath0: authenticated
ath0: associate with AP 00:12:a9:ce:c7:0c
ath0: RX ReassocResp from 00:12:a9:ce:c7:0c (capab=0x471 status=0 aid=1)
ath0: associated
ath0: deauthenticated
ath0: direct probe to AP 00:12:a9:ce:c7:0c try 1
ath0 direct probe responded
ath0: authenticate with AP 00:12:a9:ce:c7:0c
ath0: authenticated
ath0: associate with AP 00:12:a9:ce:c7:0c
ath0: RX ReassocResp from 00:12:a9:ce:c7:0c (capab=0x471 status=0 aid=1)
ath0: associated
ACPI: EC: non-query interrupt received, switching to interrupt mode
ath0: deauthenticated
ath0: direct probe to AP 00:12:a9:ce:c7:0c try 1
ath0 direct probe responded
ath0: authenticate with AP 00:12:a9:ce:c7:0c
ath0: authenticated
ath0: associate with AP 00:12:a9:ce:c7:0c
ath0: RX ReassocResp from 00:12:a9:ce:c7:0c (capab=0x471 status=0 aid=1)
ath0: associated
PM: Syncing filesystems ... done.
Freezing user space processes ... (elapsed 0.01 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
PM: Shrinking memory... -done (0 pages freed)
PM: Freed 0 kbytes in 0.03 seconds (0.00 MB/s)
Suspending console(s) (use no_console_suspend to debug)
ath5k_pci 0000:02:00.0: PCI INT A disabled
sd 0:0:0:0: [sda] Synchronizing SCSI cache
Trident4DWaveAudio 0000:00:01.4: PCI INT B disabled
ohci_hcd 0000:00:01.3: PCI INT D disabled
ohci_hcd 0000:00:01.2: PCI INT D disabled
pata_sis 0000:00:00.1: can't derive routing for PCI INT A
PM: Creating hibernation image:
PM: Need to copy 21327 pages
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
pata_sis 0000:00:00.1: restoring config space at offset 0x1 (was 0x3,
writing 0x7)
pata_sis 0000:00:00.1: can't derive routing for PCI INT A
eth0: Media Link Off
ohci_hcd 0000:00:01.2: PCI INT D -> Link[LNKD] -> GSI 5 (level, low) -> IRQ 5
ohci_hcd 0000:00:01.3: PCI INT D -> Link[LNKD] -> GSI 5 (level, low) -> IRQ 5
Trident4DWaveAudio 0000:00:01.4: PCI INT B -> Link[LNKB] -> GSI 5
(level, low) -> IRQ 5
ata1.00: configured for UDMA/33
sd 0:0:0:0: [sda] 78140160 512-byte hardware sectors: (40.0 GB/37.2 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
ata2.00: configured for PIO4
ac97 codec read TIMEOUT [0x3c/0x7101c0bc]!!!
ac97 codec read TIMEOUT [0x3c/0x7101c0bc]!!!
ac97 codec read TIMEOUT [0x3c/0x7101c0bc]!!!
ac97 codec read TIMEOUT [0x3c/0x7101c0bc]!!!
ac97 codec read TIMEOUT [0x1c/0x7101c09c]!!!
ac97 codec read TIMEOUT [0x3e/0x7101c0be]!!!
ac97 codec read TIMEOUT [0x40/0x7101c0c0]!!!
ac97 codec read TIMEOUT [0x42/0x7101c0c2]!!!
ac97 codec read TIMEOUT [0x44/0x7101c0c4]!!!
ac97 codec read TIMEOUT [0x54/0x7101c0d4]!!!
pci 0000:00:02.0: setting latency timer to 64
sisfb 0000:01:00.0: setting latency timer to 64
sd 0:0:0:0: [sda] Starting disk
ath5k_pci 0000:02:00.0: restoring config space at offset 0xf (was
0x1c0a0100, writing 0x1c0a010b)
ath5k_pci 0000:02:00.0: restoring config space at offset 0x4 (was 0x0,
writing 0x24000000)
ath5k_pci 0000:02:00.0: restoring config space at offset 0x3 (was 0x0,
writing 0xa808)
ath5k_pci 0000:02:00.0: restoring config space at offset 0x1 (was
0x2900000, writing 0x2900006)
ath5k_pci 0000:02:00.0: PCI INT A -> Link[LNKA] -> GSI 11 (level, low) -> IRQ 11
Restarting tasks ... done.
BUG: unable to handle kernel NULL pointer dereference at 00000000
IP: [<c027dbdf>] 0xc027dbdf
*pde = 00000000
Oops: 0000 [#1]
last sysfs file: /sys/power/state
Modules linked in: arc4 ecb cryptomgr aead crypto_blkcipher
crypto_algapi ath5k mac80211 led_class cfg80211

Pid: 207, comm: kseriod Tainted: G A (2.6.28 #26) A1B
EIP: 0060:[<c027dbdf>] EFLAGS: 00010282 CPU: 0
EAX: 00000000 EBX: d29ff000 ECX: 00000006 EDX: c027dbc5
ESI: 00000000 EDI: d28b3f64 EBP: d1d796c0 ESP: d28b3f54
DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
Process kseriod (pid: 207, ti=d28b2000 task=d28297a0 task.ti=d28b2000)
Stack:
00000000 d1d79820 c027ac74 d28297a0 c0124598 d28b3f68 d28b3f68 d283a000
d2839800 d2a03a70 d2a03e00 d29ff000 00000000 d1d796c0 c027cd1c d2a03e00
d2a03e00 d2a03e70 c02750a2 d2a03e00 00000246 d1d796c0 c0275587 d28b3fb4
Call Trace:
[<c027ac74>] 0xc027ac74
[<c0124598>] 0xc0124598
[<c027cd1c>] 0xc027cd1c
[<c02750a2>] 0xc02750a2
[<c0275587>] 0xc0275587
[<c0124598>] 0xc0124598
[<c0275482>] 0xc0275482
[<c01242ab>] 0xc01242ab
[<c0124275>] 0xc0124275
[<c0103823>] 0xc0103823
Code: 37 c0 31 c0 c7 47 58 1c 87 37 c0 5e 5b 5e 5f 5d c3 55 57 56 53
83 ec 28 fc b9 06 00 00 00 89 c3 8b 00 8d 7c 24 10 89 04 24 89 c6 <f3>
a5 8b 44 24 14 8b 54 24 18 8b 7c 24 1c 8b 6c 24 10 89 44 24
EIP: [<c027dbdf>] SS:ESP 0068:d28b3f54
---[ end trace e760723794b1da56 ]---
ath0: deauthenticated
ath0: direct probe to AP 00:12:a9:ce:c7:0c try 1
ath0 direct probe responded
ath0: authenticate with AP 00:12:a9:ce:c7:0c
ath0: authenticated
ath0: associate with AP 00:12:a9:ce:c7:0c
ath0: RX ReassocResp from 00:12:a9:ce:c7:0c (capab=0x471 status=0 aid=1)
ath0: associated
ACPI: EC: non-query interrupt received, switching to interrupt mode


config is: http://www.patriziobassi.it/downloads/config-2.6.28

CC me i'm not subscribed

Merry xmas!

--
Patrizio Bassi
www.patriziobassi.it
http://piazzadelpopolo.patriziobassi.it
èº{.nÇ+‰·Ÿ®‰­†+%ŠËlzwm…ébëæìr¸›zX§»®w¥Š{ayºÊÚë,j­¢f£¢·hš‹àz¹®w¥¢¸ ¢·¦j:+v‰¨ŠwèjØm¶Ÿÿ¾«‘êçzZ+ƒùšŽŠÝj"ú!¶iO•æ¬z·švØ^¶m§ÿðà nÆàþY&—