Re: (BUG?) ACPI fails to suspend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Pavel Machek ha scritto:

Hi!

after:

echo shutdown > /sys/power/disk
echo disk > /sys/power/state

i get:

Could not suspend device 0000:00:0a.2: error -22

0000:00:0a.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50) 0000:00:0a.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 50)
0000:00:0a.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 51)

it's a pci usb 2.0 card. no active device plugged there.

the bad thing is that i can't suspend.
the good thing is that kernel is safe, i can still work with it, without panic or other troubles.

What happens if you try without usb2 support?
If it works, complain on usb list.

				Pavel

i'm sorry for been so late, had some problems.
however i had to remove ehci and uhci modules to get suspend and resume work.

probably it's a double usb problem i'll notice to usb devel mailing list.

i attach my dmesg
00000000100000 - 000000001fffd000 (usable)
 BIOS-e820: 000000001fffd000 - 000000001ffff000 (ACPI data)
 BIOS-e820: 000000001ffff000 - 0000000020000000 (ACPI NVS)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
511MB LOWMEM available.
On node 0 totalpages: 131069
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 126973 pages, LIFO batch:31
  HighMem zone: 0 pages, LIFO batch:1
DMI 2.0 present.
ACPI: RSDP (v000 ASUS                                  ) @ 0x000f8030
ACPI: RSDT (v001 ASUS   P2B-F    0x58582e32 MSFT 0x31313031) @ 0x1fffd000
ACPI: FADT (v001 ASUS   P2B-F    0x58582e32 MSFT 0x31313031) @ 0x1fffd080
ACPI: BOOT (v001 ASUS   P2B-F    0x58582e32 MSFT 0x31313031) @ 0x1fffd040
ACPI: DSDT (v001   ASUS P2B-F    0x00001000 MSFT 0x01000001) @ 0x00000000
Allocating PCI resources starting at 30000000 (gap: 20000000:dfff0000)
Built 1 zonelists
Kernel command line: BOOT_IMAGE=Gentoo ro root=306 quiet snd_ens1370.joystick=1 video=aty128fb:mtrr,ywrap,pmipal,accel,1024x768-16@85 splash=verbose,theme:livecd-2005.1,tty:11
Local APIC disabled by BIOS -- you can enable it with "lapic"
mapped APIC to ffffd000 (01402000)
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 32768 bytes)
Detected 501.181 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 513788k/524276k available (2553k kernel code, 9888k reserved, 722k data, 212k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 1003.20 BogoMIPS (lpj=501604)
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0387f9ff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 0387f9ff 00000000 00000000 00000000 00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
CPU serial number disabled.
CPU: After all inits, caps: 0383f9ff 00000000 00000000 00000040 00000000 00000000 00000000
mtrr: v2.0 (20020519)
CPU: Intel Pentium III (Katmai) stepping 02
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
ACPI: setting ELCR to 0200 (from 0e20)
checking if image is initramfs... it is
Freeing initrd memory: 1234k freed
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xf0720, last bus=1
PCI: Using configuration type 1
ACPI: Subsystem revision 20050902
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 *5 6 7 9 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 *9 10 11 12 14 15)
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
Boot video device is 0000:01:00.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 12 devices
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
PCI: BIOS reporting unknown device 00:50
PCI: Device 0000:00:0a.1 not found by BIOS
pnp: 00:01: ioport range 0xe400-0xe43f could not be reserved
pnp: 00:01: ioport range 0xe800-0xe80f has been reserved
pnp: 00:01: ioport range 0x294-0x297 has been reserved
PCI: Bridge: 0000:00:01.0
  IO window: d000-dfff
  MEM window: db000000-dbdfffff
  PREFETCH window: dbf00000-dfffffff
Simple Boot Flag at 0x46 set to 0x1
IA-32 Microcode Update Driver: v1.14 <[email protected]>
Limiting direct PCI/PCI transfers.
HDLC line discipline: version $Revision: 4.8 $, maxframe=4096
N_HDLC line discipline registered.
lp: driver loaded but no devices found
Real Time Clock Driver v1.12
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected an Intel 440BX Chipset.
agpgart: AGP aperture is 128M @ 0xe0000000
[drm] Initialized drm 1.0.0 20040925
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
[drm] Initialized r128 2.5.0 20030725 on minor 0: 
ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
aty128fb: Found Intel x86 BIOS ROM Image
aty128fb: Rage128 BIOS located
aty128fb: Rage128 RF AGP [chip rev 0x2] 32M 128-bit SDR SGRAM (1:1)
Console: switching to colour frame buffer device 128x48
fbsplash: console 0 using theme 'livecd-2005.1'
fbsplash: switched splash state to 'on' on console 0
fb0: ATY Rage128 frame buffer device on Rage128 RF AGP
aty128fb: Rage128 MTRR set to ON
ACPI: Power Button (FF) [PWRF]
ACPI: Power Button (CM) [PWRB]
PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP(,...)]
lp0: using parport0 (interrupt-driven).
lp0: console ready
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 1 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 9
PCI: setting IRQ 9 as level-triggered
ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
0000:00:09.0: 3Com PCI 3c905B Cyclone 100baseTx at 0xb000. Vers LK1.1.19
ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9
0000:00:0d.0: 3Com PCI 3c905C Tornado at 0x9800. Vers LK1.1.19
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 0000:00:04.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xb800-0xb807, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xb808-0xb80f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: IBM-DTLA-307030, ATA DISK drive
hdb: STORM52/1, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: IC35L060AVV207-0, ATA DISK drive
hdd: ATAPI CDROM, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 60036480 sectors (30738 MB) w/1916KiB Cache, CHS=59560/16/63, UDMA(33)
hda: cache flushes not supported
 hda: hda1 hda2 < hda5 hda6 >
hdc: max request size: 1024KiB
hdc: 120103200 sectors (61492 MB) w/1821KiB Cache, CHS=16383/255/63, UDMA(33)
hdc: cache flushes supported
 hdc: hdc1 hdc2 < hdc5 hdc6 >
hdb: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 35X CD-ROM drive, 128kB Cache, UDMA(33)
mice: PS/2 mouse device common for all mice
input: PC Speaker
Advanced Linux Sound Architecture Driver Version 1.0.10rc1 (Mon Sep 12 08:13:09 2005 UTC).
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10
input: AT Translated Set 2 keyboard on isa0060/serio0
gameport: ES137x is pci0000:00:0b.0/gameport0, io 0x200, speed 877kHz
ALSA device list:
  #0: Ensoniq AudioPCI ENS1370 at 0xa000, irq 10
NET: Registered protocol family 2
IP route cache hash table entries: 8192 (order: 3, 32768 bytes)
TCP established hash table entries: 32768 (order: 6, 262144 bytes)
TCP bind hash table entries: 32768 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 32768 bind 32768)
TCP reno registered
ip_conntrack version 2.3 (4095 buckets, 32760 max) - 256 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_recent v0.3.1: Stephen Frost <[email protected]>.  http://snowman.net/projects/ipt_recent/
arp_tables: (C) 2002 David S. Miller
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 15
Using IPI Shortcut mode
ReiserFS: hda6: found reiserfs format "3.6" with standard journal
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
ReiserFS: hda6: using ordered data mode
ReiserFS: hda6: journal params: device hda6, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda6: checking transaction log (hda6)
ReiserFS: hda6: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 212k freed
Adding 441748k swap on /dev/hdc6.  Priority:-1 extents:1 across:441748k
ReiserFS: hdc5: found reiserfs format "3.6" with standard journal
ReiserFS: hdc5: using ordered data mode
ReiserFS: hdc5: journal params: device hdc5, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hdc5: checking transaction log (hdc5)
ReiserFS: hdc5: Using r5 hash to sort names
USB Universal Host Controller Interface driver v2.3
ACPI: PCI Interrupt 0000:00:04.2[D] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9
uhci_hcd 0000:00:04.2: UHCI Host Controller
uhci_hcd 0000:00:04.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:04.2: irq 9, io base 0x0000b400
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKC] -> GSI 5 (level, low) -> IRQ 5
uhci_hcd 0000:00:0a.0: UHCI Host Controller
uhci_hcd 0000:00:0a.0: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:0a.0: irq 5, io base 0x0000a800
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:0a.1[B] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9
uhci_hcd 0000:00:0a.1: UHCI Host Controller
uhci_hcd 0000:00:0a.1: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:0a.1: irq 9, io base 0x0000a400
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
usb 1-2: new full speed USB device using uhci_hcd and address 2
ACPI: PCI Interrupt 0000:00:0a.2[C] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
ehci_hcd 0000:00:0a.2: EHCI Host Controller
ehci_hcd 0000:00:0a.2: new USB bus registered, assigned bus number 4
ehci_hcd 0000:00:0a.2: irq 11, io mem 0xda000000
ehci_hcd 0000:00:0a.2: USB 2.0 initialized, EHCI 0.95, driver 10 Dec 2004
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 4 ports detected
usb 1-2: usbfs: process 3421 (eciadsl-firmwar) did not claim interface 0 before use
usb 1-2: USB disconnect, address 2
usb 1-2: new full speed USB device using uhci_hcd and address 3
device ppp0 entered promiscuous mode
ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9
ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9
eth0: Setting promiscuous mode.
device eth0 entered promiscuous mode
eth1: Setting promiscuous mode.
device eth1 entered promiscuous mode
fbsplash: console 1 using theme 'livecd-2005.1'
fbsplash: switched splash state to 'on' on console 1
fbsplash: console 2 using theme 'livecd-2005.1'
fbsplash: switched splash state to 'on' on console 2
fbsplash: console 3 using theme 'livecd-2005.1'
fbsplash: switched splash state to 'on' on console 3
fbsplash: console 4 using theme 'livecd-2005.1'
fbsplash: switched splash state to 'on' on console 4
fbsplash: console 5 using theme 'livecd-2005.1'
fbsplash: switched splash state to 'on' on console 5
agpgart: Found an AGP 1.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 2x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 2x mode
Stopping tasks: =============================================|
Freeing memory...  -\|/-done (38970 pages freed)
usbfs 1-2:1.0: resume is unsafe!
ACPI: PCI interrupt for device 0000:00:0d.0 disabled
ACPI: PCI interrupt for device 0000:00:0a.2 disabled
Could not suspend device 0000:00:0a.2: error -22
ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9
ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9
eth1: Setting promiscuous mode.
Some devices failed to suspend
Restarting tasks... done
device ppp0 left promiscuous mode
ehci_hcd 0000:00:0a.2: remove, state 1
usb usb4: USB disconnect, address 1
Trying to free free IRQ11
ehci_hcd 0000:00:0a.2: USB bus 4 deregistered
ACPI: PCI interrupt for device 0000:00:0a.2 disabled
Stopping tasks: ========================================|
Freeing memory...  -done (14683 pages freed)
ACPI: PCI interrupt for device 0000:00:0d.0 disabled
ACPI: PCI interrupt for device 0000:00:0a.1 disabled
Could not suspend device 0000:00:0a.1: error -22
ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9
ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9
eth1: Setting promiscuous mode.
uhci_hcd 0000:00:0a.1: HC isn't running!
hub 3-0:1.0: PM: resume from 1, parent usb3 still 1
hub 3-0:1.0: hub_port_status failed (err = -113)
hub 3-0:1.0: hub_port_status failed (err = -113)
hub 3-0:1.0: activate --> -113
hub 3-0:1.0: hub_port_status failed (err = -113)
hub 3-0:1.0: hub_port_status failed (err = -113)
Some devices failed to suspend
Restarting tasks... done
uhci_hcd 0000:00:0a.1: remove, state 4
usb usb3: USB disconnect, address 1
Trying to free free IRQ9
uhci_hcd 0000:00:0a.1: USB bus 3 deregistered
ACPI: PCI interrupt for device 0000:00:0a.1 disabled
uhci_hcd 0000:00:0a.0: remove, state 1
usb usb2: USB disconnect, address 1
uhci_hcd 0000:00:0a.0: USB bus 2 deregistered
ACPI: PCI interrupt for device 0000:00:0a.0 disabled
uhci_hcd 0000:00:04.2: remove, state 1
usb usb1: USB disconnect, address 1
usb 1-2: USB disconnect, address 3
uhci_hcd 0000:00:04.2: USB bus 1 deregistered
ACPI: PCI interrupt for device 0000:00:04.2 disabled
Stopping tasks: ========================================|
Freeing memory...  -done (6067 pages freed)
ACPI: PCI interrupt for device 0000:00:0d.0 disabled
ACPI: PCI interrupt for device 0000:00:09.0 disabled
swsusp: Need to copy 12470 pages
ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9
ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9
eth0: Setting promiscuous mode.
ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LNKB] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9
ACPI: PCI Interrupt 0000:00:0d.0[A] -> Link [LNKD] -> GSI 9 (level, low) -> IRQ 9
eth1: Setting promiscuous mode.
Restarting tasks... done
agpgart: Found an AGP 1.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 2x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 2x mode

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux