Brown, Len | 1 Apr 10:13 2006
Picon

acpi_thread_id = acpi_os_get_thread_id()

Bob,
with the new type acpi_thread_id, it seems that the thread_id grows from
32-bits
to 64-bits on a 64-bit mahcine.

acpi_os_get_thread_id() currently returns task.pid on Linux,
a 32-bit integer on both 32 and 64-bit machines.

So if acpi_os_get_thread_id() is called at interrupt level,
its return value is meaningless.

Linux doesn't define ACPI_MUTEX_DEBUG, and looks like it never will.

Is it possible to delete the concept of acpi_os_get_thread_id()?
I'm wondering at the moment if the right thing isn't to do this:

#define acpi_os_get_thread_id() (0)

thanks,
-Len
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Erik Slagter | 1 Apr 12:04 2006

OOPS 2.6.16 and 2.6.16-git14

> I get a kernel OOPS using 2.6.16 and 2.6.16-git14, I was using 2.6.14.2
> before without the problem.
> 
> The OOPS happens when doing either
> 
> echo "3" > /proc/acpi/sleep
> 
> or
> 
> echo "mem" > /sys/power/state
> 
> As I have a laptop without serial ports, I'd have to write down the
> oops, so please forgive that I didn't write down ALL the output, I think
> I have the most important stuff, though.
> 
> Please note that it also happens when mentioned modules are not linked
> in and that I enabled the kernel read-only pages option (although that
> doesn't seem to be related).
> 
> I am not subscribed, so please CC.

Currently I cannot reproduce this, this may have to do with:

 - moved pl2303 adapter from one usb2 hub to another because kernel
barfed about it and that solved the barfing
 - compiled various versions of the kernel so many times, I lost track
of the exact config
 - different usb hub and perifs at home and at work.

As soon as I can reproduce the issue, I'll file a proper bug report
(Continue reading)

Nigel Cunningham | 1 Apr 14:24 2006
Picon

Compilation warnings in the current git tree.

Hi all.

Previous comment not-withstanding, there are some issues I found with current git. Apologies to anyone
wrongly cc'd :)

Hope this helps.

Regards,

Nigel

WARNING: vmlinux: 'strlen' exported twice. Previous export was in vmlinux
WARNING: drivers/acpi/processor.o - Section mismatch: reference to .init.data: from .text between
'acpi_processor_power_init' (at offset 0x2449) and 'acpi_processor_power_exit'
WARNING: drivers/scsi/sd_mod.o - Section mismatch: reference to .exit.text: from .rodata after '' (at
offset 0x0)
WARNING: drivers/scsi/sd_mod.o - Section mismatch: reference to .exit.text: from .rodata after '' (at
offset 0x8)
WARNING: drivers/scsi/sd_mod.o - Section mismatch: reference to .exit.text: from .rodata after '' (at
offset 0x10)
WARNING: drivers/scsi/sd_mod.o - Section mismatch: reference to .exit.text: from .rodata after '' (at
offset 0x18)
WARNING: drivers/scsi/sd_mod.o - Section mismatch: reference to .exit.text: from .rodata after '' (at
offset 0x20)
WARNING: drivers/scsi/sd_mod.o - Section mismatch: reference to .exit.text: from .rodata after '' (at
offset 0x28)
WARNING: drivers/scsi/sd_mod.o - Section mismatch: reference to .exit.text: from .rodata after '' (at
offset 0x30)
WARNING: drivers/scsi/sd_mod.o - Section mismatch: reference to .exit.text: from .rodata after '' (at
offset 0x38)
(Continue reading)

M ROBERT Bertrand | 1 Apr 15:17 2006
Picon

ACPI for Kernel 2.6.16

Hello, 

Hello, I would like to know when would be available the patch ACPI for the 
version 2.6.16.1 of kernel GNU / LINUX?
Can the patch for the version 2.6.16 RC1 work on my version?
I thank you beforehand.

Bye
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Michael J. Kidd | 1 Apr 18:58 2006

Help with Averatec C3500

Hello all,
 I have an Averatec C3500 Convertible Tablet PC.  With the initial bios 
version that ships with the unit, USB and PCMCIA both work fine in 
linux.  However, there is a terrible keyboard lag and dropped keys.  The 
follow-on bios revisions fixed the keyboard issues, but caused USB and 
PCMCIA to both stop working.  Note: All devices continue to operate fine 
in Windows.  I'm posting this here in hopes that someone will take 
interest in this issue ( there are several others trying to use linux on 
these laptops. )  I've captured dmesg output after enabling 
CONFIG_USB_DEBUG and CONFIG_PCMCIA_DEBUG in the kernel config, and the 
output from lspci -vvxxx, as well as the DSDT output from both the 
original BIOS ( USB working / Keyboard not ) and the latest BIOS 
revision ( USB Not working / Keyboard works great ).

The link for all this captured data is: http://www.linuxkidd.com/c3500   
I've detailed the machine hardware, running kernel, etc.. as well as 
linked to all the above described captures.

After posting the above request to the linux-usb list, Alan Stern 
responded with:
----------------------------------------------------------------------
According to the log, the I/O memory mappings for the USB and PCMCIA
controllers aren't getting set up. It's not a USB or PCMCIA issue at all;
you should ask for help on the PCI and ACPI mailing lists.
----------------------------------------------------------------------

So, here I am...

If there's anything else I can provide to assist in troubleshooting,
Please ask!  I'd really like to get this working.
(Continue reading)

Adrian Bunk | 2 Apr 00:16 2006
Picon

Re: [PATCH -mm] acpi: fix memory_hotplug externs

On Tue, Mar 28, 2006 at 11:46:55AM -0800, Randy.Dunlap wrote:
> From: Randy Dunlap <rdunlap <at> xenotime.net>
> 
> Spell CONFIG option correctly so that externs work.
> Fixes these warnings:
> drivers/acpi/acpi_memhotplug.c:248: warning: implicit declaration of function 'add_memory'
> drivers/acpi/acpi_memhotplug.c:312: warning: implicit declaration of function 'remove_memory'
> 
> Signed-off-by: Randy Dunlap <rdunlap <at> xenotime.net>
> ---
>  linsrc/linux-2616-mm2/include/linux/memory_hotplug.h |    2 +-
>  1 files changed, 1 insertion(+), 1 deletion(-)
> 
> --- rddunlap.orig/linsrc/linux-2616-mm2/include/linux/memory_hotplug.h
> +++ rddunlap/linsrc/linux-2616-mm2/include/linux/memory_hotplug.h
>  <at>  <at>  -105,7 +105,7  <at>  <at>  static inline int __remove_pages(struct 
>  }
>  
>  #if defined(CONFIG_MEMORY_HOTPLUG) || defined(CONFIG_ACPI_HOTPLUG_MEMORY) \
> -	|| defined(CONFIG_ACPI_MEMORY_HOTPLUG_MODULE)
> +	|| defined(CONFIG_ACPI_HOTPLUG_MEMORY_MODULE)
>  extern int add_memory(u64 start, u64 size);
>  extern int remove_memory(u64 start, u64 size);
>  #endif

What about simply offering the prototypes unconditionally?

cu
Adrian

(Continue reading)

Brown, Len | 2 Apr 00:25 2006
Picon

acpi test branch -- history rebase

Folks,
Please nuke your local copy of my acpi test branch before you pull it again.
I needed to check in modified versions of some of the patches and the will
conflict with the original versions.

thanks,
-Len
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Randy.Dunlap | 2 Apr 02:08 2006
Picon

Re: [PATCH -mm] acpi: fix memory_hotplug externs

On Sun, 2 Apr 2006 00:16:41 +0200 Adrian Bunk wrote:

> On Tue, Mar 28, 2006 at 11:46:55AM -0800, Randy.Dunlap wrote:
> > From: Randy Dunlap <rdunlap <at> xenotime.net>
> > 
> > Spell CONFIG option correctly so that externs work.
> > Fixes these warnings:
> > drivers/acpi/acpi_memhotplug.c:248: warning: implicit declaration of function 'add_memory'
> > drivers/acpi/acpi_memhotplug.c:312: warning: implicit declaration of function 'remove_memory'
> > 
> > Signed-off-by: Randy Dunlap <rdunlap <at> xenotime.net>
> > ---
> >  linsrc/linux-2616-mm2/include/linux/memory_hotplug.h |    2 +-
> >  1 files changed, 1 insertion(+), 1 deletion(-)
> > 
> > --- rddunlap.orig/linsrc/linux-2616-mm2/include/linux/memory_hotplug.h
> > +++ rddunlap/linsrc/linux-2616-mm2/include/linux/memory_hotplug.h
> >  <at>  <at>  -105,7 +105,7  <at>  <at>  static inline int __remove_pages(struct 
> >  }
> >  
> >  #if defined(CONFIG_MEMORY_HOTPLUG) || defined(CONFIG_ACPI_HOTPLUG_MEMORY) \
> > -	|| defined(CONFIG_ACPI_MEMORY_HOTPLUG_MODULE)
> > +	|| defined(CONFIG_ACPI_HOTPLUG_MEMORY_MODULE)
> >  extern int add_memory(u64 start, u64 size);
> >  extern int remove_memory(u64 start, u64 size);
> >  #endif
> 
> What about simply offering the prototypes unconditionally?

duh, yes, that should be OK AFAIK.  Could you do that?
(Continue reading)

Brown, Len | 2 Apr 04:07 2006
Picon

RE: [patch 20/26] ACPI should depend on, not select PCI

applied.

thanks,
-Len 

>-----Original Message-----
>From: akpm <at> osdl.org [mailto:akpm <at> osdl.org] 
>Sent: Tuesday, March 28, 2006 5:04 PM
>To: Brown, Len
>Cc: linux-acpi <at> vger.kernel.org; akpm <at> osdl.org; bunk <at> stusta.de
>Subject: [patch 20/26] ACPI should depend on, not select PCI
>
>
>From: Adrian Bunk <bunk <at> stusta.de>
>
>ACPI should depend on, not select PCI.
>
>Otherwise, illegal configurations like X86_VOYAGER=y, PCI=y are
>possible.
>
>This patch also fixes the options select'ing ACPI to also select PCI.
>
>Signed-off-by: Adrian Bunk <bunk <at> stusta.de>
>Cc: "Brown, Len" <len.brown <at> intel.com>
>Signed-off-by: Andrew Morton <akpm <at> osdl.org>
>---
>
> arch/ia64/Kconfig    |    1 +
> arch/x86_64/Kconfig  |    1 +
> drivers/acpi/Kconfig |    3 +--
(Continue reading)

Brown, Len | 2 Apr 04:12 2006
Picon

RE: [patch 01/26] git-acpi: uniprocessor compile fixes

applied.
thanks,
-Len 

>-----Original Message-----
>From: akpm <at> osdl.org [mailto:akpm <at> osdl.org] 
>Sent: Tuesday, March 28, 2006 5:03 PM
>To: Brown, Len
>Cc: linux-acpi <at> vger.kernel.org; akpm <at> osdl.org; Pallipadi, Venkatesh
>Subject: [patch 01/26] git-acpi: uniprocessor compile fixes
>
>
>From: Andrew Morton <akpm <at> osdl.org>,
>      Venkatesh Pallipadi <venkatesh.pallipadi <at> intel.com>
>
>cpu_online_map doesn't exist if !CONFIG_SMP.
>
>This path is rather lame and it'd be nice to fix it better.
>
>Cc: Venkatesh Pallipadi <venkatesh.pallipadi <at> intel.com>
>Cc: Len Brown <len.brown <at> intel.com>
>Signed-off-by: Andrew Morton <akpm <at> osdl.org>
>---
>
> arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c       |    4 ++++
> arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c |    4 ++++
> 2 files changed, 8 insertions(+)
>
>diff -puN 
>arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.c~git-acpi-up-fix 
(Continue reading)


Gmane