lkml.org 
[lkml]   [2003]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 2.5.69-mm5: reverting i8259-shutdown.patch
From
Date
On Sat, 2003-05-17 at 22:35, Zwane Mwaikambo wrote:
> On Sat, 17 May 2003, Felipe Alfaro Solana wrote:
>
> > The machine is a NEC (Packard Bell) Chrom@. Could an lspci be of
> > interest?
>
> Hmm perhaps /var/log/dmesg, also can you try this ugly patch?
>
> Index: linux-2.5.69-mm6/drivers/acpi/hardware/hwsleep.c
> ===================================================================
> RCS file: /build/cvsroot/linux-2.5.69/drivers/acpi/hardware/hwsleep.c,v
> retrieving revision 1.1.1.1
> diff -u -p -B -r1.1.1.1 hwsleep.c
> --- linux-2.5.69-mm6/drivers/acpi/hardware/hwsleep.c 6 May 2003 12:20:11 -0000 1.1.1.1
> +++ linux-2.5.69-mm6/drivers/acpi/hardware/hwsleep.c 17 May 2003 20:33:20 -0000
> @@ -306,7 +306,7 @@ acpi_enter_sleep_state (
> * still read the right value. Ideally, this entire block would go
> * away entirely.
> */
> - acpi_os_stall (10000000);
> + /* acpi_os_stall (10000000); */
>
> status = acpi_hw_register_write (ACPI_MTX_DO_NOT_LOCK, ACPI_REGISTER_PM1_CONTROL,
> sleep_enable_reg_info->access_bit_mask);
> Index: linux-2.5.69-mm6/drivers/acpi/sleep/poweroff.c
> ===================================================================
> RCS file: /build/cvsroot/linux-2.5.69/drivers/acpi/sleep/poweroff.c,v
> retrieving revision 1.1.1.1
> diff -u -p -B -r1.1.1.1 poweroff.c
> --- linux-2.5.69-mm6/drivers/acpi/sleep/poweroff.c 6 May 2003 12:20:12 -0000 1.1.1.1
> +++ linux-2.5.69-mm6/drivers/acpi/sleep/poweroff.c 17 May 2003 20:35:11 -0000
> @@ -15,6 +15,7 @@ acpi_power_off (void)
> printk("%s called\n",__FUNCTION__);
> acpi_enter_sleep_state_prep(ACPI_STATE_S5);
> ACPI_DISABLE_IRQS();
> + printk("%s:%d\n", __FUNCTION__, __LINE__);
> acpi_enter_sleep_state(ACPI_STATE_S5);
> }
>
With the previous patch applied, I can't make the kernel to printk
anything interesting after "Halting the computer". Now, I can't even see
the "acpi_power_off" message I was seen before.

Attached is "/var/log/dmesg" of a 2.5.69-mm6 kernel.
Thanks!

[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.054 / U:0.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site