* S3 broken on a Samsung P30
@ 2004-11-04 21:50 Matthias Hentges
2004-11-10 23:18 ` Pavel Machek
0 siblings, 1 reply; 12+ messages in thread
From: Matthias Hentges @ 2004-11-04 21:50 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
[-- Attachment #1: Type: text/plain, Size: 1373 bytes --]
Hello all,
I've been trying for some time now to get S3 working on my laptop.
It suspends just fine with
echo 3 > /proc/acpi/sleep
and
echo -n mem > /sys/power/state
but it never wakes up. The screen stays dark and the keyboard
(CAPSLOCK/NUMLOCK) doesn't work. Trying to blindly execute programs in
the console also fails.
The only thing which seems to wake up is the DVD drive, which spins up
after a resume, but that's about it.
Since the display stays dark, (no back-light, totally dead) I've
connected and configured a serial console. Sadly, it appears that the
serial port doesn't wake up either....
On a resume i get 2 to 10 chars of random garbage on the serial console,
nothing else (it works perfectly when the latop is running)
I've tried "enabling" the devices in /proc/acpi/wakeup, and / or
suspending with the kernel option "init=/bin/bash", but that didn't help
either.
I've run the tests with Linux 2.6.10-rc1-mm2 because it's likely to
include the latest and greatest ACPI bk patches.
My kernel.config and other (hopefully) useful outputs are attached.
I'd really appreciate a helping hand here as S3 is a _really_ useful
feature for a laptop :)
Thanks in advance
--
Matthias Hentges
Cologne / Germany
[www.hentges.net] -> PGP welcome, HTML tolerated
ICQ: 97 26 97 4 -> No files, no URL's
My OS: Debian SID. Geek by Nature, Linux by Choice
[-- Attachment #2: config.gz --]
[-- Type: application/x-gzip, Size: 9928 bytes --]
[-- Attachment #3: dmesg.txt --]
[-- Type: text/plain, Size: 15339 bytes --]
Linux version 2.6.10-rc1-mm2 (root@mhcln03) (gcc-Version 3.3.5 (Debian 1:3.3.5-2)) #4 Thu Nov 4 21:12:35 CET 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000d8000 - 00000000000dc000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001ff70000 (usable)
BIOS-e820: 000000001ff70000 - 000000001ff7c000 (ACPI data)
BIOS-e820: 000000001ff7c000 - 000000001ff80000 (ACPI NVS)
BIOS-e820: 000000001ff80000 - 0000000020000000 (reserved)
BIOS-e820: 00000000ff800000 - 00000000ffc00000 (reserved)
BIOS-e820: 00000000fffff000 - 0000000100000000 (reserved)
511MB LOWMEM available.
On node 0 totalpages: 130928
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 126832 pages, LIFO batch:16
HighMem zone: 0 pages, LIFO batch:1
DMI present.
ACPI: RSDP (v000 PTLTD ) @ 0x000f6630
ACPI: RSDT (v001 PTLTD CooperSp 0x06040000 LTP 0x00000000) @ 0x1ff76971
ACPI: FADT (v001 INTEL ODEM 0x06040000 PTL 0x00000050) @ 0x1ff7bed2
ACPI: BOOT (v001 PTLTD $SBFTBL$ 0x06040000 LTP 0x00000001) @ 0x1ff7bfd8
ACPI: SSDT (v001 INTEL EISTRef 0x00000001 INTL 0x02002015) @ 0x1ff769a1
ACPI: DSDT (v001 INTEL ODEM 0x06040000 MSFT 0x0100000e) @ 0x00000000
ACPI: PM-Timer IO Port: 0x1008
Built 1 zonelists
Initializing CPU#0
Kernel command line: BOOT_IMAGE=2.6.10-rc1-mm2 ro root=302 console=ttyS0,9600 console=tty0
PID hash table entries: 2048 (order: 11, 32768 bytes)
Detected 1495.686 MHz processor.
Using pmtmr 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: 514324k/523712k available (2473k kernel code, 8828k reserved, 1015k data, 172k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 2965.50 BogoMIPS (lpj=1482752)
Security Framework v1.0.0 initialized
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: a7e9f9bf 00000000 00000000 00000000
CPU: After vendor identify, caps: a7e9f9bf 00000000 00000000 00000000
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 1024K
CPU: After all inits, caps: a7e9f9bf 00000000 00000000 00000040
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: Intel(R) Pentium(R) M processor 1500MHz stepping 05
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
tbget-0294: *** Info: Table [DSDT] replaced by host OS
ACPI: IRQ9 SCI: Edge set to Level Trigger.
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfd9d3, last bus=4
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20041015
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 0000:00:1f.1
PCI: Transparent bridge - 0000:00:1e.0
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGPB._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCIB._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 *5 6 7 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 *5 6 7 11 12 14 15)
ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKG] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKH] (IRQs 1 3 4 *5 6 7 11 12 14 15)
ACPI: Embedded Controller [EC0] (gpe 28)
ACPI: Power Resource [CFN1] (off)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 10 devices
PnPBIOS: Disabled by pnpacpi
PCI: Using ACPI for IRQ routing
** PCI interrupts are no longer routed automatically. If this
** causes a device to stop working, it is probably because the
** driver failed to call pci_enable_device(). As a temporary
** workaround, the "pci=routeirq" argument restores the old
** behavior. If this argument makes the device work again,
** please email the output of "lspci" to bjorn.helgaas-VXdhtT5mjnY@public.gmane.org
** so I can fix the driver.
pnp: the driver 'system' has been registered
pnp: match found with the PnP device '00:03' and the driver 'system'
Simple Boot Flag at 0x36 set to 0x1
Machine check exception polling timer started.
IA-32 Microcode Update Driver: v1.14 <tigran-DTz5qymZ9yRBDgjK7y7TUQ@public.gmane.org>
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
ACPI: AC Adapter [AC0] (on-line)
ACPI: Battery Slot [BAT1] (battery present)
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID0]
ACPI: Sleep Button (CM) [SLPB]
ACPI: Fan [FAN1] (off)
ACPI: Video Device [VGA] (multi-head: yes rom: no post: no)
ACPI: Processor [CPU0] (supports C1 C2 C3, 8 throttling states)
ACPI: Thermal Zone [THRM] (55 C)
Asus Laptop ACPI Extras version 0.29
Samsung P30 detected, supported
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12
pnp: the driver 'i8042 kdb' has been registered
pnp: match found with the PnP device '00:08' and the driver 'i8042 kdb'
PNP: PS/2 Keyboard Controller [PS2K] at I/O 0x60, 0x64, irq 1
pnp: the driver 'i8042 aux' has been registered
pnp: match found with the PnP device '00:09' and the driver 'i8042 aux'
PNP: PS/2 Mouse Controller [PS2M] at irq 12
i8042.c: Detected active multiplexing controller, rev 1.9.
serio: i8042 AUX0 port at 0x60,0x64 irq 12
serio: i8042 AUX1 port at 0x60,0x64 irq 12
serio: i8042 AUX2 port at 0x60,0x64 irq 12
serio: i8042 AUX3 port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 5
PCI: setting IRQ 5 as level-triggered
ACPI: PCI interrupt 0000:00:1f.6[B] -> GSI 5 (level, low) -> IRQ 5
pnp: the driver 'serial' has been registered
pnp: match found with the PnP device '00:06' and the driver 'serial'
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
netconsole: not configured, aborting
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller at PCI slot 0000:00:1f.1
PCI: Enabling device 0000:00:1f.1 (0005 -> 0007)
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI interrupt 0000:00:1f.1[A] -> GSI 11 (level, low) -> IRQ 11
ICH4: chipset revision 3
ICH4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x1860-0x1867, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0x1868-0x186f, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
hda: IC25N060ATMR04-0, ATA DISK drive
elevator: using anticipatory as default io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: DV-W22E, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
Probing IDE interface ide2...
ide2: Wait for ready failed before probe !
Probing IDE interface ide3...
ide3: Wait for ready failed before probe !
Probing IDE interface ide4...
ide4: Wait for ready failed before probe !
Probing IDE interface ide5...
ide5: Wait for ready failed before probe !
hda: max request size: 1024KiB
hda: 117210240 sectors (60011 MB) w/7884KiB Cache, CHS=16383/255/63, UDMA(100)
hda: cache flushes supported
hda: hda1 hda2 hda3 hda4 < hda5 hda6 >
hdc: ATAPI 24X DVD-ROM DVD-R-RAM CD-R/RW drive, 1419kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard on isa0060/serio0
Synaptics Touchpad, model: 1
Firmware: 12.6
180 degree mounted touchpad
Sensor: 18
new absolute packet format
Touchpad has extended capability bits
-> four buttons
-> multifinger detection
-> palm detection
input: SynPS/2 Synaptics TouchPad on isa0060/serio4
input: PC Speaker
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
ip_conntrack version 2.1 (4091 buckets, 32728 max) - 300 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_recent v0.3.1: Stephen Frost <sfrost-vhD3WmCyG/PR7s880joybQ@public.gmane.org>. http://snowman.net/projects/ipt_recent/
NET: Registered protocol family 1
NET: Registered protocol family 17
PM: Reading pmdisk image.
swsusp: Resume From Partition: /dev/hda3
<3>swsusp: Invalid partition type.
pmdisk: Error -22 resuming
PM: Resume from disk failed.
ACPI: (supports S0 S3 S4 S5)
ACPI wakeup devices:
LANC USB0 USB1 USB2 USB7 MODM
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 172k freed
Adding 979956k swap on /dev/hda3. Priority:-1 extents:1
EXT3 FS on hda2, internal journal
ACPI: PCI interrupt 0000:00:1f.5[B] -> GSI 5 (level, low) -> IRQ 5
PCI: Setting latency timer of device 0000:00:1f.5 to 64
intel8x0_measure_ac97_clock: measured 49450 usecs
intel8x0: clocking to 48000
8139too Fast Ethernet driver 0.9.27
ACPI: PCI interrupt 0000:02:00.0[A] -> GSI 5 (level, low) -> IRQ 5
eth0: RealTek RTL8139 at 0xe0926800, 00:00:f0:7e:bc:08, IRQ 5
eth0: Identified 8139 chip type 'RTL-8101'
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda5, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda6, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
parport_pc: Ignoring new-style parameters in presence of obsolete ones
pnp: the driver 'parport_pc' has been registered
pnp: match found with the PnP device '00:05' and the driver 'parport_pc'
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
irda_init()
NET: Registered protocol family 23
usbcore: registered new driver usbfs
usbcore: registered new driver hub
USB Universal Host Controller Interface driver v2.2
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
ACPI: PCI interrupt 0000:00:1d.0[A] -> GSI 11 (level, low) -> IRQ 11
uhci_hcd 0000:00:1d.0: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1
PCI: Setting latency timer of device 0000:00:1d.0 to 64
uhci_hcd 0000:00:1d.0: irq 11, io base 0x1800
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 5
ACPI: PCI interrupt 0000:00:1d.1[B] -> GSI 5 (level, low) -> IRQ 5
uhci_hcd 0000:00:1d.1: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2
PCI: Setting latency timer of device 0000:00:1d.1 to 64
uhci_hcd 0000:00:1d.1: irq 5, io base 0x1820
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 2
usb 1-1: new low speed USB device using uhci_hcd and address 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI interrupt 0000:00:1d.2[C] -> GSI 11 (level, low) -> IRQ 11
uhci_hcd 0000:00:1d.2: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3
PCI: Setting latency timer of device 0000:00:1d.2 to 64
uhci_hcd 0000:00:1d.2: irq 11, io base 0x1840
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
usbcore: registered new driver hiddev
input: USB HID v1.00 Mouse [Logitech USB-PS/2 Trackball] on usb-0000:00:1d.0-1
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 5
ACPI: PCI interrupt 0000:00:1d.7[D] -> GSI 5 (level, low) -> IRQ 5
ehci_hcd 0000:00:1d.7: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI Controller
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: irq 5, pci mem 0xd0000000
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 4
PCI: cache line size of 32 is not supported by device 0000:00:1d.7
ehci_hcd 0000:00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10
usb 1-1: USB disconnect, address 2
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 6 ports detected
hw_random: RNG not detected
usb 1-1: new low speed USB device using uhci_hcd and address 3
input: USB HID v1.00 Mouse [Logitech USB-PS/2 Trackball] on usb-0000:00:1d.0-1
ACPI: PCI interrupt 0000:00:1f.6[B] -> GSI 5 (level, low) -> IRQ 5
PCI: Setting latency timer of device 0000:00:1f.6 to 64
Linux Kernel Card Services
options: [pci] [cardbus] [pm]
ACPI: PCI interrupt 0000:02:01.0[A] -> GSI 5 (level, low) -> IRQ 5
Yenta: CardBus bridge found at 0000:02:01.0 [144d:c00c]
Yenta: ISA IRQ mask 0x0418, PCI irq 5
Socket status: 30000006
PCI: Enabling device 0000:02:01.1 (0000 -> 0002)
ACPI: PCI interrupt 0000:02:01.1[B] -> GSI 11 (level, low) -> IRQ 11
Yenta: CardBus bridge found at 0000:02:01.1 [144d:c00c]
Yenta: ISA IRQ mask 0x0418, PCI irq 11
Socket status: 30000006
ieee1394: Initialized config rom entry `ip1394'
ohci1394: $Rev: 1223 $ Ben Collins <bcollins-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org>
ACPI: PCI interrupt 0000:02:01.2[C] -> GSI 11 (level, low) -> IRQ 11
ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[11] MMIO=[d0201000-d02017ff] Max Packet=[2048]
ieee80211_crypt: registered algorithm 'NULL'
ipw2100: Intel(R) PRO/Wireless 2100 Network Driver, 0.59
ipw2100: Copyright(c) 2003-2004 Intel Corporation
ACPI: PCI interrupt 0000:02:02.0[A] -> GSI 5 (level, low) -> IRQ 5
ipw2100: Detected Intel PRO/Wireless 2100 Network Connection
ipw2100: eth1: Firmware 'ipw2100-1.3.fw' not available or load failed.
ipw2100: eth1: ipw2100_get_firmware failed: -2
ipw2100: eth1: Failed to power on the adapter.
ipw2100: eth1: Failed to start the firmware.
ipw2100: probe of 0000:02:02.0 failed with error -5
ieee1394: Host added: ID:BUS[0-00:1023] GUID[0000f0414010ba78]
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
nfs warning: mount version older than kernel
process `syslogd' is using obsolete setsockopt SO_BSDCOMPAT
SCSI subsystem initialized
cs: IO port probe 0x0100-0x04ff: excluding 0x4d0-0x4d7
cs: IO port probe 0x0800-0x08ff: excluding 0x800-0x807
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0a00-0x0aff: clean.
atkbd.c: Spurious ACK on isa0060/serio0. Some program, like XFree86, might be trying access hardware directly.
atkbd.c: Spurious ACK on isa0060/serio0. Some program, like XFree86, might be trying access hardware directly.
Access to /proc/cpufreq is deprecated and will be removed from (new) 2.6. kernels soon after 2005-01-01
[-- Attachment #4: lspci.txt --]
[-- Type: text/plain, Size: 1566 bytes --]
0000:00:00.0 Host bridge: Intel Corp. 82855PM Processor to I/O Controller (rev 21)
0000:00:01.0 PCI bridge: Intel Corp. 82855PM Processor to AGP Controller (rev 21)
0000:00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
0000:00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
0000:00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
0000:00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 EHCI Controller (rev 03)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 83)
0000:00:1f.0 ISA bridge: Intel Corp. 82801DBM LPC Interface Controller (rev 03)
0000:00:1f.1 IDE interface: Intel Corp. 82801DBM (ICH4) Ultra ATA Storage Controller (rev 03)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
0000:00:1f.6 Modem: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV250 5c63 [Radeon Mobility 9200 M9+] (rev 01)
0000:02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:02:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
0000:02:01.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ac)
0000:02:01.2 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 04)
0000:02:02.0 Network controller: Intel Corp. PRO/Wireless LAN 2100 3B Mini PCI Adapter (rev 04)
[-- Attachment #5: proc_interrupts.txt --]
[-- Type: text/plain, Size: 627 bytes --]
CPU0
0: 153378 XT-PIC timer
1: 203 XT-PIC i8042
2: 0 XT-PIC cascade
4: 13 XT-PIC serial
5: 573 XT-PIC Intel 82801DB-ICH4, uhci_hcd, ehci_hcd, Intel 82801DB-ICH4 Modem, yenta, eth0
7: 1 XT-PIC parport0
8: 4 XT-PIC rtc
9: 454 XT-PIC acpi
11: 3582 XT-PIC uhci_hcd, uhci_hcd, yenta, ohci1394
12: 617 XT-PIC i8042
14: 7458 XT-PIC ide0
15: 20 XT-PIC ide1
NMI: 0
ERR: 0
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: S3 broken on a Samsung P30
2004-11-04 21:50 S3 broken on a Samsung P30 Matthias Hentges
@ 2004-11-10 23:18 ` Pavel Machek
[not found] ` <20041110231802.GA1099-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
0 siblings, 1 reply; 12+ messages in thread
From: Pavel Machek @ 2004-11-10 23:18 UTC (permalink / raw)
To: Matthias Hentges; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi!
> I've been trying for some time now to get S3 working on my laptop.
> It suspends just fine with
>
> echo 3 > /proc/acpi/sleep
> and
> echo -n mem > /sys/power/state
>
> but it never wakes up. The screen stays dark and the keyboard
> (CAPSLOCK/NUMLOCK) doesn't work. Trying to blindly execute programs in
> the console also fails.
> The only thing which seems to wake up is the DVD drive, which spins up
> after a resume, but that's about it.
>
> Since the display stays dark, (no back-light, totally dead) I've
> connected and configured a serial console. Sadly, it appears that the
> serial port doesn't wake up either....
>
> On a resume i get 2 to 10 chars of random garbage on the serial console,
> nothing else (it works perfectly when the latop is running)
See recent threads of adding beeping to begining of wakeup.S. Does it
beep for you?
Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: S3 broken on a Samsung P30
[not found] ` <20041110231802.GA1099-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
@ 2004-11-12 12:51 ` Matthias Hentges
2004-11-12 16:04 ` Pavel Machek
0 siblings, 1 reply; 12+ messages in thread
From: Matthias Hentges @ 2004-11-12 12:51 UTC (permalink / raw)
To: Pavel Machek; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
[-- Attachment #1: Type: text/plain, Size: 461 bytes --]
Am Donnerstag, den 11.11.2004, 00:18 +0100 schrieb Pavel Machek:
> See recent threads of adding beeping to begining of wakeup.S. Does it
> beep for you?
No it doesn't.
I've googled for the beep patch. The one I found is attached as I'm not
sure if it is the right one.
Thanks
--
Matthias Hentges
Cologne / Germany
[www.hentges.net] -> PGP welcome, HTML tolerated
ICQ: 97 26 97 4 -> No files, no URL's
My OS: Debian SID. Geek by Nature, Linux by Choice
[-- Attachment #2: Type: text/x-patch, Size: 751 bytes --]
--- clean-mm/arch/i386/kernel/acpi/wakeup.S 2004-08-24 09:02:23.000000000 +0200
+++ linux-mm/arch/i386/kernel/acpi/wakeup.S 2004-09-07 21:15:17.000000000 +0200
@@ -11,8 +11,23 @@
#
# If physical address of wakeup_code is 0x12345, BIOS should call us with
# cs = 0x1234, eip = 0x05
-#
+#
+#define BEEP \
+ inb $97, %al; \
+ outb %al, $0x80; \
+ movb $3, %al; \
+ outb %al, $97; \
+ outb %al, $0x80; \
+ movb $-74, %al; \
+ outb %al, $67; \
+ outb %al, $0x80; \
+ movb $-119, %al; \
+ outb %al, $66; \
+ outb %al, $0x80; \
+ movb $15, %al; \
+ outb %al, $66;
+
ALIGN
.align 4096
ENTRY(wakeup_start)
@@ -20,6 +35,7 @@
wakeup_code_start = .
.code16
+ BEEP
movw $0xb800, %ax
movw %ax,%fs
movw $0x0e00 + 'L', %fs:(0x10)
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: S3 broken on a Samsung P30
2004-11-12 12:51 ` Matthias Hentges
@ 2004-11-12 16:04 ` Pavel Machek
[not found] ` <20041112160435.GC1858-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
0 siblings, 1 reply; 12+ messages in thread
From: Pavel Machek @ 2004-11-12 16:04 UTC (permalink / raw)
To: Matthias Hentges; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi!
> > See recent threads of adding beeping to begining of wakeup.S. Does it
> > beep for you?
>
> No it doesn't.
> I've googled for the beep patch. The one I found is attached as I'm not
> sure if it is the right one.
Hmm, you may want to add "jmp $" just after the beep, and apply recent
intel fixes...
Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: S3 broken on a Samsung P30
[not found] ` <20041112160435.GC1858-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
@ 2004-11-12 18:10 ` Matthias Hentges
2004-11-12 19:55 ` Pavel Machek
0 siblings, 1 reply; 12+ messages in thread
From: Matthias Hentges @ 2004-11-12 18:10 UTC (permalink / raw)
To: Pavel Machek; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Am Freitag, den 12.11.2004, 17:04 +0100 schrieb Pavel Machek:
[...]
> Hmm, you may want to add "jmp $" just after the beep, and apply recent
> intel fixes...
Adding "jmp $" right after BEEP gives me a compile error:
arch/i386/kernel/acpi/wakeup.S: Assembler messages:
arch/i386/kernel/acpi/wakeup.S:40: Error: missing or invalid immediate
expression `' taken as 0
arch/i386/kernel/acpi/wakeup.S:40: Error: suffix or operands invalid for
`jmp'
--
Matthias Hentges
Cologne / Germany
[www.hentges.net] -> PGP welcome, HTML tolerated
ICQ: 97 26 97 4 -> No files, no URL's
My OS: Debian SID. Geek by Nature, Linux by Choice
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: S3 broken on a Samsung P30
2004-11-12 18:10 ` Matthias Hentges
@ 2004-11-12 19:55 ` Pavel Machek
[not found] ` <20041112195530.GA1123-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
0 siblings, 1 reply; 12+ messages in thread
From: Pavel Machek @ 2004-11-12 19:55 UTC (permalink / raw)
To: Matthias Hentges; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi!
> [...]
> > Hmm, you may want to add "jmp $" just after the beep, and apply recent
> > intel fixes...
>
> Adding "jmp $" right after BEEP gives me a compile error:
>
> arch/i386/kernel/acpi/wakeup.S: Assembler messages:
> arch/i386/kernel/acpi/wakeup.S:40: Error: missing or invalid immediate
> expression `' taken as 0
> arch/i386/kernel/acpi/wakeup.S:40: Error: suffix or operands invalid for
> `jmp'
Okay, oops, do
1:
jmp 1b
instead.
Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: S3 broken on a Samsung P30
[not found] ` <20041112195530.GA1123-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
@ 2004-11-12 20:55 ` Matthias Hentges
2004-11-12 21:16 ` Pavel Machek
0 siblings, 1 reply; 12+ messages in thread
From: Matthias Hentges @ 2004-11-12 20:55 UTC (permalink / raw)
To: Pavel Machek; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hello Pavel,
Am Freitag, den 12.11.2004, 20:55 +0100 schrieb Pavel Machek:
[...]
>
> Okay, oops, do
>
> 1:
> jmp 1b
>
> instead.
I hope the following is correct:
[snip]
ENTRY(wakeup_start)
wakeup_code:
wakeup_code_start = .
.code16
BEEP
1:
jmp 1b
movw $0xb800, %ax
movw %ax,%fs
[/snip]
Tried again with 2.6.10-rc1-bk22 (latest ACPI patches IIRC) and the
patched wakeup.S
Still no beep :(
--
Matthias Hentges
Cologne / Germany
[www.hentges.net] -> PGP welcome, HTML tolerated
ICQ: 97 26 97 4 -> No files, no URL's
My OS: Debian SID. Geek by Nature, Linux by Choice
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: S3 broken on a Samsung P30
2004-11-12 20:55 ` Matthias Hentges
@ 2004-11-12 21:16 ` Pavel Machek
[not found] ` <20041112211659.GD1252-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
0 siblings, 1 reply; 12+ messages in thread
From: Pavel Machek @ 2004-11-12 21:16 UTC (permalink / raw)
To: Matthias Hentges; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi!
> > Okay, oops, do
> >
> > 1:
> > jmp 1b
> >
> > instead.
>
> I hope the following is correct:
>
> [snip]
> ENTRY(wakeup_start)
> wakeup_code:
> wakeup_code_start = .
> .code16
>
> BEEP
> 1:
> jmp 1b
>
> movw $0xb800, %ax
> movw %ax,%fs
> [/snip]
Yes, looks ok.
> Tried again with 2.6.10-rc1-bk22 (latest ACPI patches IIRC) and the
> patched wakeup.S
> Still no beep :(
Too bad, I do not know how to debug this further. It is possible that
those patches are not yet merged into mainline, I'm not sure, it was
something like "correcting wakeup address".
Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
^ permalink raw reply [flat|nested] 12+ messages in thread
* RE: S3 broken on a Samsung P30
@ 2004-11-12 22:11 Pallipadi, Venkatesh
[not found] ` <88056F38E9E48644A0F562A38C64FB6003569022-exJ48ZlmiLpQxe9IK+vIArfspsVTdybXVpNB7YpNyf8@public.gmane.org>
0 siblings, 1 reply; 12+ messages in thread
From: Pallipadi, Venkatesh @ 2004-11-12 22:11 UTC (permalink / raw)
To: Pavel Machek, Matthias Hentges
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
>-----Original Message-----
>From: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>[mailto:acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org] On Behalf Of
>Pavel Machek
>Sent: Friday, November 12, 2004 1:17 PM
>To: Matthias Hentges
>Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>Subject: Re: [ACPI] S3 broken on a Samsung P30
>
>Hi!
>
>> > Okay, oops, do
>> >
>> > 1:
>> > jmp 1b
>> >
>> > instead.
>>
>> I hope the following is correct:
>>
>> [snip]
>> ENTRY(wakeup_start)
>> wakeup_code:
>> wakeup_code_start = .
>> .code16
>>
>> BEEP
>> 1:
>> jmp 1b
>>
>> movw $0xb800, %ax
>> movw %ax,%fs
>> [/snip]
>
>Yes, looks ok.
>
>> Tried again with 2.6.10-rc1-bk22 (latest ACPI patches IIRC) and the
>> patched wakeup.S
>> Still no beep :(
>
>Too bad, I do not know how to debug this further. It is possible that
>those patches are not yet merged into mainline, I'm not sure, it was
>something like "correcting wakeup address".
>
Are you referring to virtual v/s physical address patch from Shaohua?
http://bugme.osdl.org/show_bug.cgi?id=3390
I think it is already there in latest acpi-test.
Thanks,
-Venki
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: S3 broken on a Samsung P30
[not found] ` <88056F38E9E48644A0F562A38C64FB6003569022-exJ48ZlmiLpQxe9IK+vIArfspsVTdybXVpNB7YpNyf8@public.gmane.org>
@ 2004-11-12 22:32 ` Pavel Machek
[not found] ` <20041112223209.GI1252-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
0 siblings, 1 reply; 12+ messages in thread
From: Pavel Machek @ 2004-11-12 22:32 UTC (permalink / raw)
To: Pallipadi, Venkatesh
Cc: Matthias Hentges, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi!
> >> Tried again with 2.6.10-rc1-bk22 (latest ACPI patches IIRC) and the
> >> patched wakeup.S
> >> Still no beep :(
> >
> >Too bad, I do not know how to debug this further. It is possible that
> >those patches are not yet merged into mainline, I'm not sure, it was
> >something like "correcting wakeup address".
> >
>
> Are you referring to virtual v/s physical address patch from Shaohua?
> http://bugme.osdl.org/show_bug.cgi?id=3390
> I think it is already there in latest acpi-test.
Yes, but Matthias is using 2.6.10-rc1-bk22. Matthias, please try patch
in above url (id=3851).
Pavel
--
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: S3 broken on a Samsung P30
[not found] ` <20041112223209.GI1252-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
@ 2004-11-13 10:53 ` Matthias Hentges
0 siblings, 0 replies; 12+ messages in thread
From: Matthias Hentges @ 2004-11-13 10:53 UTC (permalink / raw)
To: Pavel Machek
Cc: Pallipadi, Venkatesh, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hello,
Am Freitag, den 12.11.2004, 23:32 +0100 schrieb Pavel Machek:
> Hi!
>
> > >> Tried again with 2.6.10-rc1-bk22 (latest ACPI patches IIRC) and the
> > >> patched wakeup.S
> > >> Still no beep :(
> > >
> > >Too bad, I do not know how to debug this further. It is possible that
> > >those patches are not yet merged into mainline, I'm not sure, it was
> > >something like "correcting wakeup address".
> > >
> >
> > Are you referring to virtual v/s physical address patch from Shaohua?
> > http://bugme.osdl.org/show_bug.cgi?id=3390
> > I think it is already there in latest acpi-test.
>
> Yes, but Matthias is using 2.6.10-rc1-bk22. Matthias, please try patch
> in above url (id=3851).
> Pavel
cat /home/mhentges/download/sources/sleep.patch |patch -p1 --dry-run
patching file drivers/acpi/sleep/main.c
Reversed (or previously applied) patch detected! Assume -R? [n]
+root@mhcln03:/usr/src/linux
>cat /home/mhentges/download/sources/sleep.patch |patch -R -p1 --dry-run
patching file drivers/acpi/sleep/main.c
Looks like this patch is already applied in -rc1-bk22
BTW: I did an "echo 0xFFFFFFFF > debug_layer ; echo 0xFFFFFFFF >
debug_level" and entered S3. It took quiet some time to suspend with
this debug verbosity ;)
Anyways, upon wakeup, there were no messages printed to the serial
console :(
Thanks for all you help
--
Matthias Hentges
Cologne / Germany
[www.hentges.net] -> PGP welcome, HTML tolerated
ICQ: 97 26 97 4 -> No files, no URL's
My OS: Debian SID. Geek by Nature, Linux by Choice
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
^ permalink raw reply [flat|nested] 12+ messages in thread
* 2.6.7-rc2 breaks resume (was Re: S3 broken on a Samsung P30)
[not found] ` <20041112211659.GD1252-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
@ 2004-11-17 23:54 ` Matthias Hentges
0 siblings, 0 replies; 12+ messages in thread
From: Matthias Hentges @ 2004-11-17 23:54 UTC (permalink / raw)
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Hi again,
I did some more testing and found out that the P30 resumes from S3 with
kernel 2.6.1. Only the video is dead, but the notebook itself is
operational.
So i went to look for the patch that broke resume in recent kernels.
Resume works up to (and including) 2.6.7-rc1 ( patch-2.6.6-bk8-bk9.bz2 )
So the problematic code is in 2.6.7-rc2 [1] ( patch-2.6.6-bk9-final
[2] ).
As both patches are relatively huge, i have no idea of what I should
look for.
Is there a place where i can find all the individual patches which went
into 2.6.7-rc2
or patch-2.6.6-bk9-final?
Or does anyone here remember any problematic code in this specific
release?
Thanks for your time.
[1]
http://ftp.kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.7-rc2.bz2
[2]
http://ftp.kernel.org/pub/linux/kernel/v2.6/snapshots/incr/patch-2.6.6-bk9-final.bz2
--
Matthias Hentges
Cologne / Germany
[www.hentges.net] -> PGP welcome, HTML tolerated
ICQ: 97 26 97 4 -> No files, no URL's
My OS: Debian SID. Geek by Nature, Linux by Choice
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2004-11-17 23:54 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-04 21:50 S3 broken on a Samsung P30 Matthias Hentges
2004-11-10 23:18 ` Pavel Machek
[not found] ` <20041110231802.GA1099-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-11-12 12:51 ` Matthias Hentges
2004-11-12 16:04 ` Pavel Machek
[not found] ` <20041112160435.GC1858-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-11-12 18:10 ` Matthias Hentges
2004-11-12 19:55 ` Pavel Machek
[not found] ` <20041112195530.GA1123-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-11-12 20:55 ` Matthias Hentges
2004-11-12 21:16 ` Pavel Machek
[not found] ` <20041112211659.GD1252-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-11-17 23:54 ` 2.6.7-rc2 breaks resume (was Re: S3 broken on a Samsung P30) Matthias Hentges
-- strict thread matches above, loose matches on Subject: below --
2004-11-12 22:11 S3 broken on a Samsung P30 Pallipadi, Venkatesh
[not found] ` <88056F38E9E48644A0F562A38C64FB6003569022-exJ48ZlmiLpQxe9IK+vIArfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-11-12 22:32 ` Pavel Machek
[not found] ` <20041112223209.GI1252-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-11-13 10:53 ` Matthias Hentges
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox