lkml.org 
[lkml]   [2007]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectasus p5ld2 se, serial port gone after suspend and i8042 problems
I have an asus p5ld2 se. When I suspend the system with swsusp,
uswsusp or suspend2 (I tried everything....using kernel 2.6.17, 2.6.18
and 2.6.19, also using also in 64bit mode)..
The system works well after resume except the serial port (I use lirc
on it..) and the kernel give me the message:
ttyS0: LSR safety check engaged!

the device is gone... The ioports are present after resume, but the
irq 4 is not used anymore.
Here are technical informations.. the kernel is a stock debian amd64
kernel 2.6.18. With other kernels (32 bit) the result is the same... I
will post you other details using other kernels if you want.
In the dmesg attached you can see that pnp device 00:0b and 00:0c
which are i8042 kbd and i8042 aux failed to activate after resume.
Trying with pnpacpi=off nothing changes.. the initialization failed
messages go away, but the serial port don't work.

Before resume:
$ cat /proc/interrupts
CPU0 CPU1
0: 21231 0 IO-APIC-edge timer
1: 119 0 IO-APIC-edge i8042
4: 1 0 IO-APIC-edge serial
6: 5 0 IO-APIC-edge floppy
7: 0 0 IO-APIC-edge parport0
8: 1 0 IO-APIC-edge rtc
9: 0 0 IO-APIC-level acpi
10: 0 0 IO-APIC-edge MPU401 UART
12: 3366 0 IO-APIC-edge i8042
14: 1466 0 IO-APIC-edge ide0
58: 9158 0 IO-APIC-level libata
66: 14199 0 IO-APIC-level bttv0
169: 4251 0 IO-APIC-level nvidia
177: 1116 0 IO-APIC-level uhci_hcd:usb4, HDA Intel, eth0
217: 0 0 IO-APIC-level uhci_hcd:usb1, ehci_hcd:usb5
225: 0 0 IO-APIC-level uhci_hcd:usb2
233: 0 0 IO-APIC-level uhci_hcd:usb3
NMI: 74 37
LOC: 20983 20959
ERR: 0
MIS: 0

$ cat /proc/iomem
00000000-0009fbff : System RAM
00000000-00000000 : Crash kernel
0009fc00-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000ce1ff : Video ROM
000f0000-000fffff : System ROM
00100000-3ff9ffff : System RAM
00200000-003e2510 : Kernel code
003e2511-004ba667 : Kernel data
3ffa0000-3ffadfff : ACPI Tables
3ffae000-3ffdffff : ACPI Non-volatile Storage
3ffe0000-3fffffff : reserved
dcdf8000-dcdfbfff : 0000:00:1b.0
dcdf8000-dcdfbfff : ICH HD audio
dcdffc00-dcdfffff : 0000:00:1d.7
dcdffc00-dcdfffff : ehci_hcd
dce00000-dcefffff : PCI Bus #02
dcee0000-dceeffff : 0000:02:00.0
dceff000-dcefffff : 0000:02:00.0
dceff000-dcefffff : r8169
dcf00000-deffffff : PCI Bus #04
dcfe0000-dcffffff : 0000:04:00.0
dd000000-ddffffff : 0000:04:00.0
de000000-deffffff : 0000:04:00.0
de000000-deffffff : nvidia
dff00000-dfffffff : PCI Bus #01
dfffe000-dfffefff : 0000:01:01.0
dfffe000-dfffefff : bttv0
dffff000-dfffffff : 0000:01:01.1
e0000000-efffffff : PCI Bus #04
e0000000-efffffff : 0000:04:00.0
ffb80000-ffffffff : reserved

$ cat /proc/ioports
0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-006f : keyboard
0070-0077 : rtc
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
01f0-01f7 : ide0
0290-0297 : pnp 00:08
0330-0331 : MPU401 UART
0378-037a : parport0
037b-037f : parport0
03c0-03df : vga+
03f2-03f5 : floppy
03f6-03f6 : ide0
03f7-03f7 : floppy DIR
03f8-03ff : serial
0400-041f : 0000:00:1f.3
0400-041f : i801_smbus
0778-077a : parport0
0800-0803 : ACPI PM1a_EVT_BLK
0804-0805 : ACPI PM1a_CNT_BLK
0808-080b : ACPI PM_TMR
0810-0815 : ACPI CPU throttle
0820-0820 : ACPI PM2_CNT_BLK
0828-082f : ACPI GPE0_BLK
0cf8-0cff : PCI conf1
8000-801f : 0000:00:1d.0
8000-801f : uhci_hcd
8400-841f : 0000:00:1d.1
8400-841f : uhci_hcd
8800-881f : 0000:00:1d.2
8800-881f : uhci_hcd
9000-901f : 0000:00:1d.3
9000-901f : uhci_hcd
9400-940f : 0000:00:1f.2
9400-940f : libata
9800-9803 : 0000:00:1f.2
9800-9803 : libata
a000-a007 : 0000:00:1f.2
a000-a007 : libata
a400-a403 : 0000:00:1f.2
a400-a403 : libata
a800-a807 : 0000:00:1f.2
a800-a807 : libata
b000-bfff : PCI Bus #01
c000-cfff : PCI Bus #02
c800-c8ff : 0000:02:00.0
c800-c8ff : r8169
d000-dfff : PCI Bus #03
e000-efff : PCI Bus #04
e800-e87f : 0000:04:00.0
ffa0-ffaf : 0000:00:1f.1
ffa0-ffa7 : ide0
ffa8-ffaf : ide1

After resume:
$ cat /proc/interrupts
CPU0 CPU1
0: 444981 0 IO-APIC-edge timer
1: 4616 0 IO-APIC-edge i8042
6: 5 0 IO-APIC-edge floppy
7: 0 0 IO-APIC-edge parport0
8: 1 0 IO-APIC-edge rtc
9: 0 0 IO-APIC-level acpi
10: 0 0 IO-APIC-edge MPU401 UART
12: 46426 0 IO-APIC-edge i8042
14: 31728 0 IO-APIC-edge ide0
58: 122171 0 IO-APIC-level libata
66: 345068 0 IO-APIC-level bttv0
169: 108516 0 IO-APIC-level nvidia
177: 16535 0 IO-APIC-level uhci_hcd:usb4, HDA Intel, eth0
217: 0 0 IO-APIC-level uhci_hcd:usb1, ehci_hcd:usb5
225: 0 0 IO-APIC-level uhci_hcd:usb2
233: 0 0 IO-APIC-level uhci_hcd:usb3
NMI: 184 110
LOC: 439725 439104
ERR: 0
MIS: 0

$ cat /proc/iomem
00000000-0009fbff : System RAM
00000000-00000000 : Crash kernel
0009fc00-0009ffff : reserved
000a0000-000bffff : Video RAM area
000c0000-000ce1ff : Video ROM
000f0000-000fffff : System ROM
00100000-3ff9ffff : System RAM
00200000-003e2510 : Kernel code
003e2511-004ba667 : Kernel data
3ffa0000-3ffadfff : ACPI Tables
3ffae000-3ffdffff : ACPI Non-volatile Storage
3ffe0000-3fffffff : reserved
dcdf8000-dcdfbfff : 0000:00:1b.0
dcdf8000-dcdfbfff : ICH HD audio
dcdffc00-dcdfffff : 0000:00:1d.7
dcdffc00-dcdfffff : ehci_hcd
dce00000-dcefffff : PCI Bus #02
dcee0000-dceeffff : 0000:02:00.0
dceff000-dcefffff : 0000:02:00.0
dceff000-dcefffff : r8169
dcf00000-deffffff : PCI Bus #04
dcfe0000-dcffffff : 0000:04:00.0
dd000000-ddffffff : 0000:04:00.0
de000000-deffffff : 0000:04:00.0
de000000-deffffff : nvidia
dff00000-dfffffff : PCI Bus #01
dfffe000-dfffefff : 0000:01:01.0
dfffe000-dfffefff : bttv0
dffff000-dfffffff : 0000:01:01.1
e0000000-efffffff : PCI Bus #04
e0000000-efffffff : 0000:04:00.0
ffb80000-ffffffff : reserved

$ cat /proc/ioports
0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-006f : keyboard
0070-0077 : rtc
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
01f0-01f7 : ide0
0290-0297 : pnp 00:08
0330-0331 : MPU401 UART
0378-037a : parport0
037b-037f : parport0
03c0-03df : vga+
03f2-03f5 : floppy
03f6-03f6 : ide0
03f7-03f7 : floppy DIR
03f8-03ff : serial
0400-041f : 0000:00:1f.3
0400-041f : i801_smbus
0778-077a : parport0
0800-0803 : ACPI PM1a_EVT_BLK
0804-0805 : ACPI PM1a_CNT_BLK
0808-080b : ACPI PM_TMR
0810-0815 : ACPI CPU throttle
0820-0820 : ACPI PM2_CNT_BLK
0828-082f : ACPI GPE0_BLK
0cf8-0cff : PCI conf1
8000-801f : 0000:00:1d.0
8000-801f : uhci_hcd
8400-841f : 0000:00:1d.1
8400-841f : uhci_hcd
8800-881f : 0000:00:1d.2
8800-881f : uhci_hcd
9000-901f : 0000:00:1d.3
9000-901f : uhci_hcd
9400-940f : 0000:00:1f.2
9400-940f : libata
9800-9803 : 0000:00:1f.2
9800-9803 : libata
a000-a007 : 0000:00:1f.2
a000-a007 : libata
a400-a403 : 0000:00:1f.2
a400-a403 : libata
a800-a807 : 0000:00:1f.2
a800-a807 : libata
b000-bfff : PCI Bus #01
c000-cfff : PCI Bus #02
c800-c8ff : 0000:02:00.0
c800-c8ff : r8169
d000-dfff : PCI Bus #03
e000-efff : PCI Bus #04
e800-e87f : 0000:04:00.0
ffa0-ffaf : 0000:00:1f.1
ffa0-ffa7 : ide0
ffa8-ffaf : ide1
[unhandled content-type:application/octet-stream][unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2007-01-10 23:45    [W:0.040 / U:29.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site