Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 17 Oct 2002 19:33:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 17 Oct 2002 19:33:09 -0400 Received: from rwcrmhc52.attbi.com ([216.148.227.88]:34208 "EHLO rwcrmhc52.attbi.com") by vger.kernel.org with ESMTP id ; Thu, 17 Oct 2002 19:33:04 -0400 Content-Type: text/plain; charset="us-ascii" From: Eric Altendorf Reply-To: EricAltendorf@orst.edu To: Kernel Mailing List Subject: Bug: swsusp in 2.5.42: oops on attempted suspend following a successful susp/resume Date: Thu, 17 Oct 2002 16:36:10 -0700 User-Agent: KMail/1.4.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200210171636.10097.EricAltendorf@orst.edu> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 12674 Lines: 342 [1.] One line summary of the problem: Oops on 2nd, 3rd, etc, swsusp attempts [2.] Full description of the problem/report: Initial swsusp works; subsequent attempts fail, abort back to resumed state, cause an oops and kill the process that invoked the swsusp. [3.] Keywords (i.e., modules, networking, kernel): Swsusp, sleep, acpi [4.] Kernel version (from /proc/version): Linux version 2.5.42 (root@dhcp-364-114) (gcc version 2.95.3 20010315 (release)) #1 Sat Oct 12 01:28:50 PDT 2002 [5.] Output of Oops.. message (if applicable) with symbolic information resolved (see Documentation/oops-tracing.txt) Two examples follow. I wasn't able to resolve the symbolic info as for some reason /proc/ksysms was missing (don't know why; it's there on my 2.5.25 kernel). If someone needs it, please email me directly and I'll go mess around with the kernel some more to try to figure it out. Oct 17 01:47:47 localhost kernel: Unable to handle kernel paging request at virtual address 080a35f0 Oct 17 01:47:47 localhost kernel: printing eip: Oct 17 01:47:47 localhost kernel: 080a35f0 Oct 17 01:47:47 localhost kernel: *pde = 03915067 Oct 17 01:47:47 localhost kernel: *pte = 00000000 Oct 17 01:47:47 localhost kernel: Oops: 0004 Oct 17 01:47:47 localhost kernel: CPU: 0 Oct 17 01:47:47 localhost kernel: EIP: 0023:[<080a35f0>] Not tainted Oct 17 01:47:47 localhost kernel: EFLAGS: 00010246 Oct 17 01:47:47 localhost kernel: eax: 00000000 ebx: 00000009 ecx: 00000000 edx: 080c9a80 Oct 17 01:47:47 localhost kernel: esi: 080c9a80 edi: 00000001 ebp: bffff118 esp: bffff0ec Oct 17 01:47:47 localhost kernel: ds: 002b es: 002b ss: 002b Oct 17 01:47:47 localhost kernel: Process bash (pid: 1783, threadinfo=c39ba000 task=cc21f8e0) Oct 17 01:47:47 localhost kernel: <6>note: bash[1783] exited with preempt_count 1 After one successful swsusp and resume, subsequent swsusp attempts Oct 17 01:52:34 localhost kernel: Unable to handle kernel paging request at virtual address 400120a0 Oct 17 01:52:34 localhost kernel: printing eip: Oct 17 01:52:34 localhost kernel: 40006cbc Oct 17 01:52:34 localhost kernel: *pde = 0cc1b067 Oct 17 01:52:34 localhost kernel: *pte = 0cb12065 Oct 17 01:52:34 localhost kernel: Oops: 0007 Oct 17 01:52:34 localhost kernel: CPU: 0 Oct 17 01:52:34 localhost kernel: EIP: 0023:[<40006cbc>] Not tainted Oct 17 01:52:34 localhost kernel: EFLAGS: 00010246 Oct 17 01:52:34 localhost kernel: eax: 00000000 ebx: 400124c0 ecx: 080518bb edx: 07a9d367 Oct 17 01:52:34 localhost kernel: esi: 400126d0 edi: 00000519 ebp: bffff03c esp: bfffef44 Oct 17 01:52:34 localhost kernel: ds: 002b es: 002b ss: 002b Oct 17 01:52:34 localhost kernel: Process bash (pid: 1046, threadinfo=ccc1e000 task=cceed380) Oct 17 01:52:34 localhost kernel: <6>note: bash[1046] exited with preempt_count 1 [6.] A small shell script or example program which triggers the problem (if possible) [7.] Environment [7.1.] Software (add the output of the ver_linux script here) If some fields are empty or look unusual you may have an old version. Compare to the current minimal requirements in Documentation/Changes. Linux dhcp-364-114 2.5.42 #1 Sat Oct 12 01:28:50 PDT 2002 i686 unknown Gnu C Attempting to call wrong gcc! Gnu make 3.79.1 util-linux 2.11n mount 2.11n modutils 2.4.14 e2fsprogs 1.27 reiserfsprogs 3.x.0j pcmcia-cs 3.1.22 PPP 2.4.1 isdn4k-utils 3.1pre1 Linux C Library 2.2.5 Dynamic linker (ldd) 2.2.5 Procps 2.0.7 Net-tools 1.60 Console-tools 0.3.3 Sh-utils 2.0.11 [7.2.] Processor information (from /proc/cpuinfo): processor : 0 vendor_id : GenuineTMx86 cpu family : 6 model : 4 model name : Transmeta(tm) Crusoe(tm) Processor TM5600 stepping : 3 cpu MHz : 597.547 cache size : 512 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr cx8 sep cmov mmx longrun lrti bogomips : 1146.88 [7.3.] Module information (from /proc/modules): [7.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem) 0000-001f : dma1 0020-003f : pic1 0040-005f : timer 0060-006f : keyboard 0080-008f : dma page reg 00a0-00bf : pic2 00c0-00df : dma2 00f0-00ff : fpu 01f0-01f7 : ide0 03c0-03df : vga+ 03f6-03f6 : ide0 0cf8-0cff : PCI conf1 1000-10ff : Acer Laboratories Inc. [ALi] M5451 PCI AC-Link Controller Audio Device 1000-10ff : ALI 5451 4000-40ff : PCI CardBus #01 4400-44ff : PCI CardBus #01 edb0-edbf : Acer Laboratories Inc. [ALi] M5229 IDE edc0-edff : Intel Corp. 82557/8/9 [Ethernet Pro 100] edc0-edff : e100 ee00-ee3f : Acer Laboratories Inc. [ALi] M7101 PMU ef00-ef1f : Acer Laboratories Inc. [ALi] M7101 PMU 00000000-0009fbff : System RAM 0009fc00-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c0000-000c7fff : Video ROM 000e0000-000effff : Extension ROM 000f0000-000fffff : System ROM 00100000-0ef5bfff : System RAM 00100000-002dfca3 : Kernel code 002dfca4-00396107 : Kernel data 0ef5c000-0ef5ffff : reserved 0ef60000-0ef6ffff : ACPI Tables 0ef70000-0f06ffff : reserved 10000000-10000fff : Acer Laboratories Inc. [ALi] M5451 PCI AC-Link Controller Audio Device 10001000-10001fff : Toshiba America Info Systems ToPIC95 PCI to Cardbus Bridge with ZV Support 10400000-107fffff : PCI CardBus #01 10800000-10bfffff : PCI CardBus #01 dfdfe000-dfdfefff : Acer Laboratories Inc. [ALi] USB 1.1 Controller dfe00000-dfefffff : Intel Corp. 82557/8/9 [Ethernet Pro 100] dfe00000-dfefffff : e100 dffff000-dfffffff : Intel Corp. 82557/8/9 [Ethernet Pro 100] dffff000-dfffffff : e100 e0000000-e7ffffff : S3 Inc. 86C270-294 Savage/IX-MV efd00000-efdfffff : Transmeta Corporation LongRun Northbridge ffe00000-ffffffff : reserved [7.5.] PCI information ('lspci -vvv' as root) 00:00.0 Host bridge: Transmeta Corporation LongRun Northbridge (rev 01) Subsystem: Transmeta Corporation: Unknown device 0295 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR+ TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- Reset- 16bInt+ PostWrite+ 16-bit legacy interface ports at 0001 00:14.0 USB Controller: Acer Laboratories Inc. [ALi] USB 1.1 Controller (rev 03) (prog-if 10 [OHCI]) Subsystem: Toshiba America Info Systems: Unknown device 0004 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR-