Re: 2.6.24-rc4-git5: Reported regressions from 2.6.23
On Sat, Dec 08, 2007 at 02:20:01AM -0800, Andrew Morton wrote: On Sat, 8 Dec 2007 11:12:57 +0100 Andreas Mohr [EMAIL PROTECTED] wrote: ACPI Exception (exoparg2-0442): AE_AML_PACKAGE_LIMIT, Index (0) is beyond end of object [20070126] ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.PCI0.IDE0.GTF_] (Node c180b990), AE_AML_PACKAGE_LIMIT ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.PCI0.IDE0.CHN0.DRV1._GTF] (Node c180b888), AE_AML_PACKAGE_LIMIT ata1.01: _GTF evaluation failed (AE 0x300d) 037f6bb79f753c014bc84bca0de9bf98bb5ab169 ought to have fixed this? -- Matthew Garrett | [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-acpi in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: 2.6.24-rc4-git5: Reported regressions from 2.6.23
On Sat, 8 Dec 2007 11:12:57 +0100 Andreas Mohr [EMAIL PROTECTED] wrote: Hi, On Sat, Dec 08, 2007 at 01:36:31AM -0800, Andrew Morton wrote: Subject : PATA scan: ACPI Exception AE_AML_PACKAGE_LIMIT... is beyond end of object Submitter : Hans de Bruin [EMAIL PROTECTED] References: http://bugzilla.kernel.org/show_bug.cgi?id=9320 Handled-By: Robert Moore [EMAIL PROTECTED] Tejun Heo [EMAIL PROTECTED] Fu Michael [EMAIL PROTECTED] Patch : A number of other people are seeing the same thing and Tejun is putting in a blacklist of machines which cannot use libata+acpi. That patch is not yet in any git tree which I pull. AFACIT the machines kepe working OK - there's just some nasty dmesg spew. If any machines _are_ breaking then this could cause real problems and I'd prefer that we either go for a whitelist or arrange to detect the condition and fall back to non-acpi ata. Does this report now win me the lucky draw, pretty please? ;) nah, you have to cc the acpi guys to get a prize ;) Lenco, could you please take a look? Andreas, please do separately report that WOL problem too.. Our list just reached 30. STD regression rc1 - rc234, suspend fails completely, recovering is pretty much useless since HDD is DEAD from this point on anyway. Managed to capture -rc2 suspend logging via still-alive ssh session. 2.6.24-rc1 suspend/resume log, successful (well, a couple seconds delay, most likely due to well-recovered AML failure): swsusp: Marking nosave pages: 0009f000 - 0010 swsusp: Basic memory bitmaps created Syncing filesystems ... done. Freezing user space processes ... (elapsed 0.00 seconds) done. Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done. Shrinking memory... done (0 pages freed) Freed 0 kbytes in 0.02 seconds (0.00 MB/s) Suspending console(s) hub 4-0:1.0: hub_suspend usb usb4: bus suspend ehci_hcd :00:10.3: suspend root hub hub 3-0:1.0: hub_suspend usb usb3: bus suspend usb usb3: suspend_rh hub 2-0:1.0: hub_suspend usb usb2: bus suspend usb usb2: suspend_rh hub 1-0:1.0: hub_suspend usb usb1: bus suspend usb usb1: suspend_rh sd 0:0:0:0: [sda] Synchronizing SCSI cache parport_pc 00:09: disabled serial 00:08: disabled serial 00:07: disabled ACPI: PCI interrupt for device :00:11.5 disabled ACPI handle has no context! ACPI: PCI interrupt for device :00:11.1 disabled ACPI: PCI interrupt for device :00:10.3 disabled ehci_hcd :00:10.3: -- PCI D3/wakeup uhci_hcd :00:10.2: uhci_suspend ACPI: PCI interrupt for device :00:10.2 disabled uhci_hcd :00:10.2: -- PCI D3 uhci_hcd :00:10.1: uhci_suspend ACPI: PCI interrupt for device :00:10.1 disabled uhci_hcd :00:10.1: -- PCI D3 uhci_hcd :00:10.0: uhci_suspend ACPI: PCI interrupt for device :00:10.0 disabled uhci_hcd :00:10.0: -- PCI D3 ACPI: PCI interrupt for device :00:0d.0 disabled ACPI handle has no context! ACPI: PCI interrupt for device :00:0c.0 disabled ACPI handle has no context! pci_set_power_state(): :00:00.0: state=3, current state=5 swsusp: critical section: swsusp: Need to copy 51195 pages Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. evxfevnt-0079 [00] enable: System is already in ACPI mode ACPI: PCI Interrupt Link [ALKA] BIOS reported IRQ 0, using IRQ 20 ACPI: PCI Interrupt Link [ALKB] BIOS reported IRQ 0, using IRQ 21 ACPI: PCI Interrupt Link [ALKC] BIOS reported IRQ 0, using IRQ 22 ACPI: PCI Interrupt Link [ALKD] BIOS reported IRQ 0, using IRQ 23 evxfevnt-0079 [00] enable: System is already in ACPI mode ACPI: Unable to turn cooling device [c180ff60] 'off' PCI: Setting latency timer of device :00:01.0 to 64 ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[19] MMIO=[db14-db1407ff] Max Packet=[2048] IR/IT contexts=[4/8] ACPI: PCI Interrupt :00:0a.0[A] - GSI 18 (level, low) - IRQ 18 e100: eth-intel: e100_watchdog: link up, 100Mbps, full-duplex PM: Writing back config space on device :00:0d.0 at offset 1 (was 217, writing 213) ACPI: PCI Interrupt :00:0d.0[A] - GSI 19 (level, low) - IRQ 22 uhci_hcd :00:10.0: PCI D0, from previous PCI D3 ACPI: PCI Interrupt :00:10.0[A] - Link [ALKB] - GSI 21 (level, low) - IRQ 20 uhci_hcd :00:10.0: uhci_resume uhci_hcd :00:10.0: uhci_check_and_reset_hc: cmd = 0x uhci_hcd :00:10.0: Performing full reset usb usb1: root hub lost power or was reset usb usb1: suspend_rh uhci_hcd :00:10.1: PCI D0, from previous PCI D3 ACPI: PCI Interrupt :00:10.1[B] - Link [ALKB] - GSI 21 (level, low) - IRQ 20 uhci_hcd :00:10.1: uhci_resume uhci_hcd :00:10.1: uhci_check_and_reset_hc: cmd = 0x uhci_hcd :00:10.1: Performing full reset usb usb2: root hub lost power or was reset usb usb2:
Re: 2.6.24-rc4-git5: Reported regressions from 2.6.23
Hi, On Sat, Dec 08, 2007 at 02:20:01AM -0800, Andrew Morton wrote: Does this report now win me the lucky draw, pretty please? ;) nah, you have to cc the acpi guys to get a prize ;) Thought so shortly, but missed it. Andreas, please do separately report that WOL problem too.. Local setup issue only, at least this one *isn't* a 2.6.24-rc regression. ;) Our list just reached 30. Oh, so this is in fact a separate issue? Wasn't sure, couldn't do enough analysis of similar cases. Will test any (already submitted!) suggestions ASAP. Andreas Mohr - To unsubscribe from this list: send the line unsubscribe linux-acpi in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: 2.6.24-rc4-git5: Reported regressions from 2.6.23
Matthew Garrett wrote: On Sat, Dec 08, 2007 at 02:20:01AM -0800, Andrew Morton wrote: On Sat, 8 Dec 2007 11:12:57 +0100 Andreas Mohr [EMAIL PROTECTED] wrote: ACPI Exception (exoparg2-0442): AE_AML_PACKAGE_LIMIT, Index (0) is beyond end of object [20070126] ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.PCI0.IDE0.GTF_] (Node c180b990), AE_AML_PACKAGE_LIMIT ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.PCI0.IDE0.CHN0.DRV1._GTF] (Node c180b888), AE_AML_PACKAGE_LIMIT ata1.01: _GTF evaluation failed (AE 0x300d) 037f6bb79f753c014bc84bca0de9bf98bb5ab169 ought to have fixed this? I should think it should have. I think we're too aggressive about disabling the libata ACPI support, even. One of my laptop's _GTF commands on resume is a DEVICE CONFIGURATION FREEZE LOCK command, which gets rejected by the drive (maybe it worked on the original Hitachi disk, but I've upgraded it to a newer Samsung). I'd say if the drive returns command aborted on one of these, we should just ignore that command and continue to the next one without trying to retry or disabling the ACPI support entirely. -- Robert Hancock Saskatoon, SK, Canada To email, remove nospam from [EMAIL PROTECTED] Home Page: http://www.roberthancock.com/ - To unsubscribe from this list: send the line unsubscribe linux-acpi in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
[RFC, PATCH] tc1100-wmi: Add driver for HP Compaq TC1100 Tablets
Matthew - AFAICT, Ubuntu has been integrating an older version of this work since 2.6.19 (https://launchpad.net/ubuntu/+source/linux-source-2.6.19), so I'm CC'ing you on this. Jamey - CC'ing you on this because your name was on the original patch I adapted. This patch converts the old driver from 2004 over to a platform driver, based on ACPI-WMI (and consequently, stripping out all the PNP0C14 handling) and replacing the /proc interface with a simpler sysfs one. This is marked as an RFC for the rather important reason that I _don't_ have the hardware - however, this is the only other out-of-Linus-tree WMI driver I've found so far, and has already been integrated by some distributions (I believe, as well as Ubuntu, that Mandriva have added this) so I felt it was worth porting to the 'new' WMI interface (it's also easier to read than acer-wmi, so may make a nice reference driver for WMI one day). Obviously, as with acer-wmi, this patch depends on patch #1 of my ACPI WMI series: http://www.mail-archive.com/linux-acpi%40vger.kernel.org/msg10425.html What I could do with is a victim^volunteer with the hardware to work with me on testing this patch, and fixing the bugs that are probably in there (some parts of the ACPI handling in the old code were a bit tricky for me to get my head around, so I've probably reversed a few values here and there). -Carlos --- This is based on the 2004 out-of-tree work of Jamey Hicks, to add support via WMI for controlling the bluetooth and wireless on these tablets. Signed-off-by: Carlos Corbacho [EMAIL PROTECTED] --- drivers/misc/Kconfig |9 ++ drivers/misc/Makefile |1 + drivers/misc/tc1100-wmi.c | 290 + 3 files changed, 300 insertions(+), 0 deletions(-) create mode 100644 drivers/misc/tc1100-wmi.c diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index f014565..b6185e4 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig @@ -142,6 +142,15 @@ config FUJITSU_LAPTOP If you have a Fujitsu laptop, say Y or M here. +config TC1100_WMI + tristate HP Compaq TC1100 Tablet WMI Extras + depends on X86 !X86_64 + depends on ACPI + depends on ACPI_WMI + ---help--- + This is a driver for the WMI extensions (wireless and bluetooth power + control) of the HP Compaq TC1100 tablet. + config MSI_LAPTOP tristate MSI Laptop Extras depends on X86 diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile index 3da1491..51196c0 100644 --- a/drivers/misc/Makefile +++ b/drivers/misc/Makefile @@ -9,6 +9,7 @@ obj-$(CONFIG_MSI_LAPTOP) += msi-laptop.o obj-$(CONFIG_ACER_WMI) += acer-wmi.o obj-$(CONFIG_ASUS_LAPTOP) += asus-laptop.o obj-$(CONFIG_ATMEL_SSC)+= atmel-ssc.o +obj-$(CONFIG_TC1100_WMI) += tc1100-wmi.o obj-$(CONFIG_LKDTM)+= lkdtm.o obj-$(CONFIG_TIFM_CORE)+= tifm_core.o obj-$(CONFIG_TIFM_7XX1)+= tifm_7xx1.o diff --git a/drivers/misc/tc1100-wmi.c b/drivers/misc/tc1100-wmi.c new file mode 100644 index 000..f0a8bdc --- /dev/null +++ b/drivers/misc/tc1100-wmi.c @@ -0,0 +1,290 @@ +/* + * HP Compaq TC1100 Tablet WMI Extras Driver + * + * Copyright (C) 2007 Carlos Corbacho [EMAIL PROTECTED] + * Copyright (C) 2004 Jamey Hicks [EMAIL PROTECTED] + * Copyright (C) 2001, 2002 Andy Grover [EMAIL PROTECTED] + * Copyright (C) 2001, 2002 Paul Diefenbaugh [EMAIL PROTECTED] + * + * ~~ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or (at + * your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. + * + * ~~ + */ + +#include linux/kernel.h +#include linux/module.h +#include linux/init.h +#include linux/types.h +#include acpi/acpi.h +#include acpi/actypes.h +#include acpi/acpi_bus.h +#include acpi/acpi_drivers.h +#include linux/platform_device.h + +#define GUID C364AC71-36DB-495A-8494-B439D472A505 + +#define TC1100_INSTANCE_WIRELESS 1 +#define TC1100_INSTANCE_BLUETOOTH 2 + +#define TC1100_LOGPREFIX tc1100-wmi: +#define TC1100_INFO KERN_INFO TC1100_LOGPREFIX + +MODULE_AUTHOR(Jamey Hicks, Carlos Corbacho); +MODULE_DESCRIPTION(HP Compaq TC1100 Tablet WMI Extras); +MODULE_LICENSE(GPL);
Re: [RFC, PATCH] tc1100-wmi: Add driver for HP Compaq TC1100 Tablets
For reference, here's a copy of the original patch that I'm (loosly) basing the current off: http://files.strangeworlds.co.uk/linux-2.6.11-tc1100-wmi.patch (Taken from http://www.theory.bham.ac.uk/staff/schofield/linux/tc1100/ ) -Carlos -- E-Mail: [EMAIL PROTECTED] Web: strangeworlds.co.uk GPG Key ID: 0x23EE722D - To unsubscribe from this list: send the line unsubscribe linux-acpi in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [RFC, PATCH] tc1100-wmi: Add driver for HP Compaq TC1100 Tablets
I've got the appropriate hardware, but I'm short on time at the moment. I'll give it a go some time within the next couple of weeks, with luck. -- Matthew Garrett | [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-acpi in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: 2.6.24-rc4-git5: Reported regressions from 2.6.23
Robert Hancock wrote: Matthew Garrett wrote: On Sat, Dec 08, 2007 at 02:20:01AM -0800, Andrew Morton wrote: On Sat, 8 Dec 2007 11:12:57 +0100 Andreas Mohr [EMAIL PROTECTED] wrote: ACPI Exception (exoparg2-0442): AE_AML_PACKAGE_LIMIT, Index (0) is beyond end of object [20070126] ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.PCI0.IDE0.GTF_] (Node c180b990), AE_AML_PACKAGE_LIMIT ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.PCI0.IDE0.CHN0.DRV1._GTF] (Node c180b888), AE_AML_PACKAGE_LIMIT ata1.01: _GTF evaluation failed (AE 0x300d) 037f6bb79f753c014bc84bca0de9bf98bb5ab169 ought to have fixed this? I should think it should have. I think we're too aggressive about disabling the libata ACPI support, even. One of my laptop's _GTF commands on resume is a DEVICE CONFIGURATION FREEZE LOCK command, which gets rejected by the drive (maybe it worked on the original Hitachi disk, but I've upgraded it to a newer Samsung). I'd say if the drive returns command aborted on one of these, we should just ignore that command and continue to the next one without trying to retry or disabling the ACPI support entirely. Yeap, my pending patchset does exactly that. It's currently being tested by but reporters. I'll soon post the patchset. Thanks. -- tejun - To unsubscribe from this list: send the line unsubscribe linux-acpi in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
2.6.24-rc4-mm1: acpi reboots machine
Hi Andrew, Hi Len, after booting 2.6.24-rc4-mm1 (2.6.24-rc4-190-g94545ba, otoh, boots just fine) on my asus laptop, the machine reboots after claiming that Critical temperature reached (255 C). However, the degrees number is kinda hinting at 0xff all-ones field. Will try dump_stack in acpi_thermal_critical() to checkout the call path. For now here's the netconsole bootlog: [0.00] Linux version 2.6.24-rc4-mm1 ([EMAIL PROTECTED]) (gcc version 4.2.3 20071123 (prerelease) (Debian 4.2.2-4)) #7 SMP PREEMPT Sun Dec 9 08:27:26 CET 2007 [0.00] BIOS-provided physical RAM map: [0.00] BIOS-e820: - 0009fc00 (usable) [0.00] BIOS-e820: 0009fc00 - 000a (reserved) [0.00] BIOS-e820: 000e - 0010 (reserved) [0.00] BIOS-e820: 0010 - 1ff4 (usable) [0.00] BIOS-e820: 1ff4 - 1ff5 (ACPI data) [0.00] BIOS-e820: 1ff5 - 2000 (ACPI NVS) [0.00] 511MB LOWMEM available. [0.00] Zone PFN ranges: [0.00] DMA 0 - 4096 [0.00] Normal 4096 - 130880 [0.00] Movable zone start PFN for each node [0.00] early_node_map[1] active PFN ranges [0.00] 0:0 - 130880 [0.00] DMI 2.3 present. [0.00] ACPI: RSDP 000F5DF0, 0014 (r0 ACPIAM) [0.00] ACPI: RSDT 1FF4, 002C (r1 A M I OEMRSDT 6000423 MSFT 97) [0.00] ACPI: FACP 1FF40200, 0081 (r1 A M I OEMFACP 6000423 MSFT 97) [0.00] ACPI: DSDT 1FF40400, 628D (r1 1ABSP 1ABSP0011 MSFT 201) [0.00] ACPI: FACS 1FF5, 0040 [0.00] ACPI: OEMB 1FF50040, 0053 (r1 A M I OEMBIOS 6000423 MSFT 97) [0.00] ACPI: PM-Timer IO Port: 0x408 [0.00] Allocating PCI resources starting at 3000 (gap: 2000:e000) [0.00] swsusp: Registered nosave memory region: 0009f000 - 000a [0.00] swsusp: Registered nosave memory region: 000a - 000e [0.00] swsusp: Registered nosave memory region: 000e - 0010 [0.00] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129475 [0.00] Kernel command line: root=/dev/hda1 vga=0 nmi_watchdog=1 [EMAIL PROTECTED]/,@192.168.45.26/ [0.00] Found and enabled local APIC! [0.00] Enabling fast FPU save and restore... done. [0.00] Enabling unmasked SIMD FPU exception support... done. [0.00] Initializing CPU#0 [0.00] CPU 0 irqstacks, hard=c0451000 soft=c0449000 [0.00] PID hash table entries: 2048 (order: 11, 8192 bytes) [0.00] Detected 1500.114 MHz processor. [ 50.138075] Console: colour VGA+ 80x25 [ 50.138080] console [tty0] enabled [ 50.140479] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 50.140882] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 50.160065] Memory: 513364k/523520k available (2049k kernel code, 9712k reserved, 1113k data, 172k init, 0k highmem) [ 50.160147] virtual kernel memory layout: [ 50.160148] fixmap : 0xfffb5000 - 0xf000 ( 296 kB) [ 50.160150] vmalloc : 0xe080 - 0xfffb3000 ( 503 MB) [ 50.160151] lowmem : 0xc000 - 0xdff4 ( 511 MB) [ 50.160153] .init : 0xc041b000 - 0xc0446000 ( 172 kB) [ 50.160154] .data : 0xc030067f - 0xc0416ca8 (1113 kB) [ 50.160156] .text : 0xc010 - 0xc030067f (2049 kB) [ 50.160549] Checking if this processor honours the WP bit even in supervisor mode... Ok. [ 50.160705] SLUB: Genslabs=11, HWalign=64, Order=0-1, MinObjects=4, CPUs=1, Nodes=1 [ 50.220728] Calibrating delay using timer specific routine.. 3003.73 BogoMIPS (lpj=1501865) [ 50.220857] Security Framework initialized [ 50.220934] Mount-cache hash table entries: 512 [ 50.221174] CPU: L1 I cache: 32K, L1 D cache: 32K [ 50.221273] CPU: L2 cache: 1024K [ 50.221338] Intel machine check architecture supported. [ 50.221398] Intel machine check reporting enabled on CPU#0. [ 50.221459] Compat vDSO mapped to e000. [ 50.221524] Checking 'hlt' instruction... OK. [ 50.225022] SMP alternatives: switching to UP code [ 50.225766] Freeing SMP alternatives: 11k freed [ 50.225823] ACPI: Core revision 20070126 [ 50.229623] ACPI: setting ELCR to 0200 (from 0c30) [ 50.734915] CPU0: Intel(R) Pentium(R) M processor 1500MHz stepping 05 [ 50.735059] SMP motherboard not detected. [ 50.836119] Brought up 1 CPUs [ 50.836305] khelper used greatest stack depth: 3352 bytes left [ 50.836463] net_namespace: 108 bytes [ 50.837167] NET: Registered protocol family 16 [ 50.837466] ACPI: bus type pci registered [ 50.838812] PCI: PCI BIOS revision 2.10 entry at 0xf0031, last bus=2 [ 50.838872] PCI: Using configuration type 1 [ 50.838928] Setting up standard PCI