[OLPC-devel] Thoughts on S3 resume.

Chris Ball cjb at mrao.cam.ac.uk
Sat Aug 5 20:12:53 EDT 2006


>> On Sat, 05 Aug 2006 17:03:23, Jim Gettys <jg at laptop.org> said:

   > What we don't know, and I want numbers as soon as possible, is
   > whether we have drivers with problems on our hardware and/or
   > drivers, and how long it takes our hardware to start executing
   > Linux code.

I'm having trouble getting into S3 on my A-test board, using the devel
image.  dmesg is attached; I'm seeing ACPI errors and /proc/acpi/sleep
doesn't exist, although the rest of /proc/acpi is intact and functional.
I booted with acpi=force into kernel 2.6.17-1.2396.fc6.

Any ideas?  If the latest images are known bad, do we know of an older
one that works?

- Chris.
-------------- next part --------------
Linux version 2.6.17-1.2396.fc6 (brewbuilder at ls20-bc2-14.build.redhat.com) (gcc version 4.1.1 20060711 (Red Hat 4.1.1-7)) #1 SMP Thu Jul 13 20:38:41 EDT 2006
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 00000000073b0000 (usable)
 BIOS-e820: 00000000073b0000 - 00000000073bffc0 (ACPI data)
 BIOS-e820: 00000000073bffc0 - 00000000073c0000 (ACPI NVS)
 BIOS-e820: 0000000040400000 - 0000000040440004 (reserved)
 BIOS-e820: 00000000f0000000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
115MB LOWMEM available.
Using x86 segment limits to approximate NX protection
On node 0 totalpages: 29616
  DMA zone: 4096 pages, LIFO batch:0
  Normal zone: 25520 pages, LIFO batch:7
DMI not present or invalid.
Using APIC driver default
ACPI: RSDP (v000 OID_00                                ) @ 0x000e9010
ACPI: RSDT (v001 AMD    RSDT_000 0x31303030 AMD  0x31303030) @ 0x073b20d0
ACPI: FADT (v001 AMD    FACP_000 0x31303030 AMD  0x31303030) @ 0x073b1fd0
ACPI: BOOT (v001 AMD    BOOT_000 0x31303030 AMD  0x31303030) @ 0x073b2060
ACPI: DBGP (v001 AMD    DBGP_000 0x31303030 AMD  0x31303030) @ 0x073b2090
ACPI: DSDT (v001 INSYDE GEODE GX 0x00001007 INTL 0x20030122) @ 0x00000000
ACPI: acpi=force override
ACPI: PM-Timer IO Port: 0x9c10
Allocating PCI resources starting at 50000000 (gap: 40440004:afbbfffc)
Detected 365.265 MHz processor.
Built 1 zonelists.  Total pages: 29616
Kernel command line: ro quiet vga=0x311 video=vesafb:ypan selinux=0 console=tty0 root=/dev/sda1 acpi=force
No local APIC present or hardware disabled
mapped APIC to ffffd000 (010f2000)
Initializing CPU#0
CPU 0 irqstacks, hard=c080b000 soft=c07eb000
PID hash table entries: 512 (order: 9, 2048 bytes)
Console: colour dummy device 80x25
Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
... MAX_LOCKDEP_SUBCLASSES:    8
... MAX_LOCK_DEPTH:          30
... MAX_LOCKDEP_KEYS:        2048
... CLASSHASH_SIZE:           1024
... MAX_LOCKDEP_ENTRIES:     8192
... MAX_LOCKDEP_CHAINS:      8192
... CHAINHASH_SIZE:          4096
 memory used by lock dependency info: 696 kB
 per task-struct memory footprint: 1200 bytes
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 109540k/118464k available (2120k kernel code, 8380k reserved, 1109k data, 240k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 734.64 BogoMIPS (lpj=1469296)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0080a13d c0c0a13d 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 0080a13d c0c0a13d 00000000 00000000 00000000 00000000 00000000
CPU: L1 I Cache: 16K (32 bytes/line), D cache 16K (32 bytes/line)
CPU: After all inits, caps: 0080a13d c0c0a13d 00000000 00000000 00000000 00000000 00000000
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 16k freed
ACPI: Core revision 20060707
ACPI: setting ELCR to 0200 (from 0c20)
CPU0: NSC Geode(TM) Integrated Processor by National Semi stepping 02
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
Brought up 1 CPUs
sizeof(vma)=84 bytes
sizeof(page)=32 bytes
sizeof(inode)=568 bytes
sizeof(dentry)=160 bytes
sizeof(ext3inode)=804 bytes
sizeof(buffer_head)=52 bytes
sizeof(skbuff)=172 bytes
checking if image is initramfs... it is
Freeing initrd memory: 1384k freed
PM: Adding info for No Bus:platform
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xff8b7, last bus=0
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
PM: Adding info for acpi:acpi
ACPI: PCI Interrupt Link [LNKA] (IRQs *11)
ACPI: PCI Interrupt Link [LNKB] (IRQs *5)
ACPI: PCI Interrupt Link [LNKC] (IRQs *10)
ACPI: PCI Interrupt Link [LNKD] (IRQs *10)
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
PM: Adding info for No Bus:pci0000:00
ACPI: Assume root bridge [\_SB_.PCI0] bus is 0
Boot video device is 0000:00:01.1
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
PM: Adding info for pci:0000:00:01.0
PM: Adding info for pci:0000:00:01.1
PM: Adding info for pci:0000:00:0f.0
PM: Adding info for pci:0000:00:0f.2
PM: Adding info for pci:0000:00:0f.3
PM: Adding info for pci:0000:00:0f.4
PM: Adding info for pci:0000:00:0f.5
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
PM: Adding info for No Bus:pnp0
PM: Adding info for pnp:00:00
PM: Adding info for pnp:00:01
PM: Adding info for pnp:00:02
ACPI Error (dsopcode-0548): Field [JK0L] at 96 exceeds Buffer [NULL] size 32 (bits) [20060707]
ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.PCI0.SBF0.MEM_._CRS] (Node c1110444), AE_AML_BUFFER_LIMIT
ACPI Error (uteval-0212): Method execution failed [\_SB_.PCI0.SBF0.MEM_._CRS] (Node c1110444), AE_AML_BUFFER_LIMIT
pnp: PnPACPI: METHOD_NAME__CRS failure for PNP0c01
PM: Adding info for pnp:00:03
PM: Adding info for pnp:00:04
pnp: PnP ACPI: found 5 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
ACPI Error (dsopcode-0548): Field [JK0L] at 96 exceeds Buffer [NULL] size 32 (bits) [20060707]
ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.PCI0.SBF0.MEM_._CRS] (Node c1110444), AE_AML_BUFFER_LIMIT
ACPI Error (uteval-0212): Method execution failed [\_SB_.PCI0.SBF0.MEM_._CRS] (Node c1110444), AE_AML_BUFFER_LIMIT
PCI: Ignore bogus resource 6 [0:0] of 0000:00:01.1
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 5, 131072 bytes)
TCP bind hash table entries: 2048 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 4096 bind 2048)
TCP reno registered
PM: Adding info for platform:pcspkr
Simple Boot Flag at 0x3f set to 0x1
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
apm: overridden by ACPI.
audit: initializing netlink socket (disabled)
audit(1154503514.296:1): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
PM: Adding info for platform:vesafb.0
vesafb: framebuffer at 0x41000000, mapped to 0xc8080000, using 1200k, total 12288k
vesafb: mode is 640x480x16, linelength=1280, pages=2
vesafb: protected mode interface info at c000:6db5
vesafb: pmi: set display start = c00c6ddc, set palette = c00c6e88
vesafb: pmi: ports = b4c3 b503 ba03 c003 c103 c403 c503 c603 c703 c803 c903 cc03 ce03 cf03 d403 d503 da03 1c03 1dac 1eac 1fac ffac 
vesafb: scrolling: ypan using protected mode interface, yres_virtual=960
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 80x30
fb0: VESA VGA frame buffer device
PM: Adding info for No Bus:pnp1
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12ac
Non-volatile memory driver v1.2
Linux agpgart interface v0.101 (c) Dave Jones
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
PM: Adding info for platform:serial8250
PM: Adding info for No Bus:isa
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
AMD5536: IDE controller at PCI slot 0000:00:0f.2
AMD5536: chipset revision 1
AMD5536: not 100% native mode: will probe irqs later
AMD5536: 0000:00:0f.2 (rev 01) UDMA100 controller
AMD5536: neither IDE port enabled (BIOS)
Probing IDE interface ide0...
Probing IDE interface ide1...
ide-floppy driver 0.99.newide
usbcore: registered new driver libusual
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
PNP: No PS/2 controller found. Probing ports directly.
PM: Adding info for platform:i8042
i8042.c: Can't read CTR while initializing i8042.
mice: PS/2 mouse device common for all mice
md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 4.39
TCP bic registered
Initializing IPsec netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
Time: tsc clocksource has been installed.
ACPI: (supports S0 S3 S5)
Freeing unused kernel memory: 240k freed
Write protecting the kernel read-only data: 393k
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:0f.5[D] -> Link [LNKD] -> GSI 10 (level, low) -> IRQ 10
PCI: Setting latency timer of device 0000:00:0f.5 to 64
ehci_hcd 0000:00:0f.5: EHCI Host Controller
ehci_hcd 0000:00:0f.5: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:0f.5: irq 10, io mem 0xefd00000
ehci_hcd 0000:00:0f.5: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
PM: Adding info for usb:usb1
PM: Adding info for No Bus:usbdev1.1_ep00
usb usb1: configuration #1 chosen from 1 choice
PM: Adding info for usb:1-0:1.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 4 ports detected
PM: Adding info for No Bus:usbdev1.1_ep81
PM: Adding info for No Bus:usbdev1.1
USB Universal Host Controller Interface driver v3.0
SCSI subsystem initialized
Initializing USB Mass Storage driver...
usb 1-2: new high speed USB device using ehci_hcd and address 3
PM: Adding info for usb:1-2
PM: Adding info for No Bus:usbdev1.3_ep00
usb 1-2: configuration #1 chosen from 1 choice
PM: Adding info for usb:1-2:1.0
PM: Adding info for No Bus:usbdev1.3_ep81
PM: Adding info for No Bus:usbdev1.3_ep02
PM: Adding info for No Bus:usbdev1.3
libusual: modprobe for usb-storage succeeded, but module is not present
usb 1-4: new high speed USB device using ehci_hcd and address 4
PM: Adding info for usb:1-4
PM: Adding info for No Bus:usbdev1.4_ep00
usb 1-4: configuration #1 chosen from 1 choice
PM: Adding info for usb:1-4:1.0
PM: Adding info for No Bus:usbdev1.4_ep02
PM: Adding info for No Bus:usbdev1.4_ep83
PM: Adding info for No Bus:usbdev1.4
scsi0 : SCSI emulation for USB Mass Storage devices
PM: Adding info for No Bus:host0
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
PM: Adding info for No Bus:target0:0:0
  Vendor: USB 2.0   Model: Flash Disk        Rev: 1100
  Type:   Direct-Access                      ANSI SCSI revision: 00
PM: Adding info for scsi:0:0:0:0
SCSI device sda: 990208 512-byte hdwr sectors (507 MB)
sda: Write Protect is off
sda: Mode Sense: 43 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 990208 512-byte hdwr sectors (507 MB)
sda: Write Protect is off
sda: Mode Sense: 43 00 00 00
sda: assuming drive cache: write through
 sda: sda1
sd 0:0:0:0: Attached scsi removable disk sda
PM: Adding info for No Bus:target0:0:1
PM: Removing info for No Bus:target0:0:1
PM: Adding info for No Bus:target0:0:2
PM: Removing info for No Bus:target0:0:2
PM: Adding info for No Bus:target0:0:3
PM: Removing info for No Bus:target0:0:3
PM: Adding info for No Bus:target0:0:4
PM: Removing info for No Bus:target0:0:4
PM: Adding info for No Bus:target0:0:5
PM: Removing info for No Bus:target0:0:5
PM: Adding info for No Bus:target0:0:6
PM: Removing info for No Bus:target0:0:6
PM: Adding info for No Bus:target0:0:7
PM: Removing info for No Bus:target0:0:7
usb-storage: device scan complete
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ACPI: PCI Interrupt 0000:00:0f.4[D] -> Link [LNKD] -> GSI 10 (level, low) -> IRQ 10
PCI: Setting latency timer of device 0000:00:0f.4 to 64
ohci_hcd 0000:00:0f.4: OHCI Host Controller
ohci_hcd 0000:00:0f.4: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:0f.4: irq 10, io mem 0xeff00000
PM: Adding info for usb:usb2
PM: Adding info for No Bus:usbdev2.1_ep00
usb usb2: configuration #1 chosen from 1 choice
PM: Adding info for usb:2-0:1.0
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 4 ports detected
PM: Adding info for No Bus:usbdev2.1_ep81
PM: Adding info for No Bus:usbdev2.1
usb 2-1: new full speed USB device using ohci_hcd and address 2
sd 0:0:0:0: Attached scsi generic sg0 type 0
PM: Adding info for usb:2-1
PM: Adding info for No Bus:usbdev2.2_ep00
usb 2-1: configuration #1 chosen from 1 choice
PM: Adding info for usb:2-1:1.0
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 4 ports detected
PM: Adding info for No Bus:usbdev2.2_ep81
PM: Adding info for No Bus:usbdev2.2
Floppy drive(s): fd0 is 1.44M
usb 2-1.1: new low speed USB device using ohci_hcd and address 3
PM: Adding info for usb:2-1.1
PM: Adding info for No Bus:usbdev2.3_ep00
usb 2-1.1: configuration #1 chosen from 1 choice
PM: Adding info for usb:2-1.1:1.0
input: Darfon USB Combo Keyboard as /class/input/input0
input: USB HID v1.00 Keyboard [Darfon USB Combo Keyboard] on usb-0000:00:0f.4-1.1
PM: Adding info for No Bus:usbdev2.3_ep81
PM: Adding info for usb:2-1.1:1.1
input: Darfon USB Combo Keyboard as /class/input/input1
input: USB HID v1.00 Device [Darfon USB Combo Keyboard] on usb-0000:00:0f.4-1.1
PM: Adding info for No Bus:usbdev2.3_ep82
PM: Adding info for No Bus:usbdev2.3
usb 2-1.2: new low speed USB device using ohci_hcd and address 4
PM: Adding info for usb:2-1.2
PM: Adding info for No Bus:usbdev2.4_ep00
usb 2-1.2: configuration #1 chosen from 1 choice
PM: Adding info for usb:2-1.2:1.0
input: Logitech Optical USB Mouse as /class/input/input2
input: USB HID v1.10 Mouse [Logitech Optical USB Mouse] on usb-0000:00:0f.4-1.2
PM: Adding info for No Bus:usbdev2.4_ep81
PM: Adding info for No Bus:usbdev2.4
usb 2-1.4: new full speed USB device using ohci_hcd and address 5
PM: Adding info for usb:2-1.4
PM: Adding info for No Bus:usbdev2.5_ep00
usb 2-1.4: configuration #1 chosen from 1 choice
PM: Adding info for usb:2-1.4:1.0
PM: Adding info for No Bus:usbdev2.5_ep81
PM: Adding info for No Bus:usbdev2.5_ep02
PM: Adding info for No Bus:usbdev2.5_ep83
PM: Adding info for No Bus:usbdev2.5
floppy0: no floppy controllers found
pegasus: v0.6.13 (2005/11/13), Pegasus/Pegasus II USB Ethernet driver
pegasus 2-1.4:1.0: eth0, ADMtek AN986 "Pegasus" USB Ethernet (evaluation board), 00:50:ba:89:25:b5
usbcore: registered new driver pegasus
Floppy drive(s): fd0 is 1.44M
floppy0: no floppy controllers found
lp: Unknown symbol parport_write
lp: Unknown symbol parport_set_timeout
lp: Unknown symbol parport_read
lp: Unknown symbol parport_register_device
lp: Unknown symbol parport_claim_or_block
lp: Unknown symbol parport_register_driver
lp: Unknown symbol parport_release
lp: Unknown symbol parport_claim
lp: Unknown symbol parport_unregister_device
lp: Unknown symbol parport_unregister_driver
lp: Unknown symbol parport_negotiate
ACPI: AC Adapter [AC] (on-line)
ACPI: Power Button (FF) [PWRF]
i2c_ec: Unknown symbol i2c_del_adapter
i2c_ec: Unknown symbol i2c_add_adapter
ibm_acpi: ec object not found
i2c_ec: Unknown symbol i2c_del_adapter
i2c_ec: Unknown symbol i2c_add_adapter
sbs: Unknown symbol acpi_get_ec_hc
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel at redhat.com
EXT3 FS on sda1, internal journal
eth0: set allmulti
eth0: set allmulti
eth0: set allmulti
eth0: set allmulti
eth0: set allmulti
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
eth0: set allmulti
eth0: set allmulti
IPv6 over IPv4 tunneling driver
eth0: set allmulti
eth0: no IPv6 routers present
-------------- next part --------------
-- 
Chris Ball   <cjb at mrao.cam.ac.uk>    <http://blog.printf.net/>


More information about the Devel mailing list