lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 19 Mar 2008 16:15:23 +0100 (CET)
From:	Mikulas Patocka <mikulas@...ax.karlin.mff.cuni.cz>
To:	linux-kernel@...r.kernel.org
Subject: APM lockups since 2.6.25

Hi

I have an old notebook with APM and I am experiencing occasional APMD 
lockups after resume, with kernels 2.6.25rc1 snd 2.6.25rc3. They didn't 
happen with 2.6.24 or before.

The bug happens about once a week or so.

If you have any idea how to debug it, you can send me a test code.

The config is attached, the machine has only a text console, no windows.

Mar 19 04:03:45 gerlinda kernel: INFO: task apmd:2059 blocked for more 
than 120 seconds.
Mar 19 04:03:45 gerlinda kernel: "echo 0 > 
/proc/sys/kernel/hung_task_timeout_secs" disables this message.
Mar 19 04:03:45 gerlinda kernel: apmd          D c7af3720  2556  2059      
1
Mar 19 04:03:45 gerlinda kernel:        c7b64eb8 00000082 c78e2148 
c7af3720 c0147f50 00000002 c0268415 ffffffff
Mar 19 04:03:45 gerlinda kernel:        c0309bc0 c78e2000 00000002 
c0267c95 c7b64ee4 c0309bc4 c0309be0 c74034f8
Mar 19 04:03:45 gerlinda kernel:        c0309bc0 00000000 00000000 
00000002 c0267d9d c0309be0 c0309be0 c78e2000
Mar 19 04:03:45 gerlinda kernel: Call Trace:
Mar 19 04:03:45 gerlinda kernel:  [<c0147f50>] __writepage+0x0/0x30
Mar 19 04:03:45 gerlinda kernel:  [<c0268415>] _spin_lock_irq+0x35/0x40
Mar 19 04:03:45 gerlinda kernel:  [<c0267c95>] 
rwsem_down_failed_common+0x75/0x160
Mar 19 04:03:45 gerlinda kernel:  [<c0267d9d>] 
rwsem_down_write_failed+0x1d/0x30Mar 19 04:03:45 gerlinda kernel:  
[<c0267e16>] call_rwsem_down_write_failed+0x6/0x8
Mar 19 04:03:45 gerlinda kernel:  [<c026753c>] down_write+0x4c/0x60
Mar 19 04:03:45 gerlinda kernel:  [<c01f6e22>] device_suspend+0x22/0x280
Mar 19 04:03:45 gerlinda kernel:  [<c01f6e22>] device_suspend+0x22/0x280
Mar 19 04:03:45 gerlinda kernel:  [<c013cc42>] pm_send_all+0x62/0xc0
Mar 19 04:03:45 gerlinda kernel:  [<c88597b7>] suspend+0x37/0x140 [apm]
Mar 19 04:03:45 gerlinda kernel:  [<c885a6a4>] do_ioctl+0x144/0x170 [apm]
Mar 19 04:03:45 gerlinda kernel:  [<c0268985>] lock_kernel+0x25/0x50
Mar 19 04:03:45 gerlinda kernel:  [<c01708f8>] vfs_ioctl+0x78/0x90
Mar 19 04:03:45 gerlinda kernel:  [<c017096c>] do_vfs_ioctl+0x5c/0x2b0
Mar 19 04:03:45 gerlinda kernel:  [<c0268224>] _spin_lock+0x34/0x40
Mar 19 04:03:45 gerlinda kernel:  [<c0170bfd>] sys_ioctl+0x3d/0x70
Mar 19 04:03:45 gerlinda kernel:  [<c010305e>] syscall_call+0x7/0xb
Mar 19 04:03:45 gerlinda kernel:  =======================
Mar 19 04:03:45 gerlinda kernel: no locks held by apmd/2059.

--- the lockup happens in down_write(&pm_sleep_rwsem); in device_suspend()

loaded modules:
Module                  Size  Used by
dm_loop                12004  1
8250                   24356  2
serial_core            23096  1 8250
pcspkr                  3104  0
psmouse                40256  0
apm                    21720  1
parport_pc             36132  1
plip                   15880  0
parport                40328  2 parport_pc,plip
ide_cd_mod             36448  0
cdrom                  36416  1 ide_cd_mod
ohci_hcd               24500  0
usbcore               148624  1 ohci_hcd
nls_iso8859_2           4608  1
nls_cp852               4864  1
vfat                   13344  1
fat                    51956  1 vfat
nls_base                8000  4 nls_iso8859_2,nls_cp852,vfat,fat
dm_snapshot            19364  0
dm_mirror              29072  0
dm_mod                 59788  7 dm_loop,dm_snapshot,dm_mirror
rtc                    13468  0
unix                   29692  20

Mikulas


View attachment "gerlinda.config" of type "TEXT/PLAIN" (44015 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ