2002-03-28 22:06:18

by Christian Schoenebeck

[permalink] [raw]
Subject: power off

(please cc me)

Hi everybody!

I've got a problem with a machine (using an Asus SP98AGP-X mainboard) that
doesn't want to power off since moving from 2.2.x to 2.4.x kernel. As I
haven't found any other solution, can I simply replace the new apm.c by the
old one from 2.2.x or just a part of the unit or would that be fatal?

PLEASE HELP ME WITH THIS!

Thanks in advance,

Christian Schoenebeck


2002-03-28 22:52:33

by Anton Altaparmakov

[permalink] [raw]
Subject: Re: power off

Hi,

You mell well find that you just need to upgrade your userspace utilities
to make it work. For me, using the exact same kernel!!! but a different
distro makes the difference between the computer just sitting there when I
shutdown -h now or actually powering off...

In this particular case I just moved from SuSE 7.2 to Mandrake 8.1 and
suddenly poweroff worked. (Note I used my custom kernel in both cases
which I just copied from the old install onto the new one.)

Having said all that some versions of 2.4 kernels have broken shutdown so
it would help if you said which kernel version you are using...

Cheers,

Anton


On Thu, 28 Mar 2002, Christian Schoenebeck wrote:

> (please cc me)
>
> Hi everybody!
>
> I've got a problem with a machine (using an Asus SP98AGP-X mainboard) that
> doesn't want to power off since moving from 2.2.x to 2.4.x kernel. As I
> haven't found any other solution, can I simply replace the new apm.c by the
> old one from 2.2.x or just a part of the unit or would that be fatal?
>
> PLEASE HELP ME WITH THIS!
>
> Thanks in advance,
>
> Christian Schoenebeck
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

Best regards,

Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Linux NTFS maintainer / WWW: http://linux-ntfs.sf.net/
ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/

2002-03-29 01:21:03

by Christian Schoenebeck

[permalink] [raw]
Subject: Re: power off

Es geschah am Donnerstag, 28. M?rz 2002 23:29 als Alan Cox schrieb:
> Try both 16 and 32bit power off options when building the kernel - and make
> sure you have apm enabled. It may well be only one of the two works on
> your box

What do you mean with 16/32 bit option - couldn't find anything about that or
do you mean realmode_power_off? If yes, I already tried that (and of your
course I also enabled apm).

2002-03-29 01:21:03

by Christian Schoenebeck

[permalink] [raw]
Subject: Re: power off

(please cc me)

Es geschah am Donnerstag, 28. M?rz 2002 23:52 als Anton Altaparmakov schrieb:
> You mell well find that you just need to upgrade your userspace utilities
> to make it work. For me, using the exact same kernel!!! but a different
> distro makes the difference between the computer just sitting there when I
> shutdown -h now or actually powering off...

I'm using latest Debian Woody - up to date packages, so I don't think that
should be the problem.

> Having said all that some versions of 2.4 kernels have broken shutdown so
> it would help if you said which kernel version you are using...

First I used 2.2.19pre17 and everything was fine, now unfortunately I had to
move to 2.4.x and tried 2.4.17 and now 2.4.7 (both Debian customized). Of
course I enabled apm ("apm=on" kernel parameter and also "Enable PM at boot
time"). As this didn't work, I also tried "User real mode APM...", "Allow
Interrupts..." and I tried ACPI instead. All didn't work!

So is there anything else I can do?

> On Thu, 28 Mar 2002, Christian Schoenebeck wrote:
> > (please cc me)
> >
> > Hi everybody!
> >
> > I've got a problem with a machine (using an Asus SP98AGP-X mainboard)
> > that doesn't want to power off since moving from 2.2.x to 2.4.x kernel.
> > As I haven't found any other solution, can I simply replace the new apm.c
> > by the old one from 2.2.x or just a part of the unit or would that be
> > fatal?
> >
> > PLEASE HELP ME WITH THIS!
> >
> > Thanks in advance,
> >
> > Christian Schoenebeck

2002-04-02 15:55:50

by Xavier Bestel

[permalink] [raw]
Subject: Re: power off

le jeu 28-03-2002 ? 23:04, Christian Schoenebeck a ?crit :
> (please cc me)
>
> Hi everybody!
>
> I've got a problem with a machine (using an Asus SP98AGP-X mainboard) that
> doesn't want to power off since moving from 2.2.x to 2.4.x kernel. As I
> haven't found any other solution, can I simply replace the new apm.c by the
> old one from 2.2.x or just a part of the unit or would that be fatal?

I have to boot my 2.4 kernels with apm=power-off