---842912328-2092114493-997342491=:10432
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hi Stephen.
>> I have an Athlon on an ASUS A7V133.
>> This machine powers off perfectly using a stock RedHat 7.1
>> kernel (2.4.2). However, it refuses to power off with 2.4.7,
>> with all APM options set correctly (including power off in real
>> mode).
>> Now for the funny part: copying the 2.4.2 apm.c to the 2.4.7 and
>> recompiling yielded a working poweroff. So *something* has been
>> broken between 2.4.2 and 2.4.7 with APM poweroff. :-)
> So, is this a pristine 2.4.2? Or is it a RH patched one? I have
> just looked at the differences in arch/i386/kernel/apm.c between
> 2.4.2 and 2.4.7. The only differences are in comments and to
> allow one more kernel command line option. i.e. there is nothing
> that should make APM behave differently.
> Could you send me a diff between the two versions of apm.c, please?
I have to admit that your comments made me wonder exactly what patches
RedHat have applied to the kernel and, as I have the 7.1 CD's to hand,
I put the 7.1 source CD in my drive and installed the relevant source
RPM therefrom. There are 227 patches listed therein, which is way too
many IMHO, and some of them clearly need to be considered for the
generic kernel.
Of the many patches theein, the enclosed TWO are the only ones that
touch apm.c so they are the patches you may need to consider. I'd
certainly be interested in your comments thereon.
Best wishes from Riley.
---842912328-2092114493-997342491=:10432
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="linux-2.4.2-sysreq-registration-0.16.patch"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.33.0108090834510.10432@infradead.org>
Content-Description: SysRQ Registration patch
Content-Disposition: attachment; filename="linux-2.4.2-sysreq-registration-0.16.patch"
ZGlmZiAtdSAtciAtLW5ldy1maWxlIGxpbnV4L0RvY3VtZW50YXRpb24vc3lz
cnEudHh0IGJyeWNlL0RvY3VtZW50YXRpb24vc3lzcnEudHh0DQotLS0gbGlu
dXgvRG9jdW1lbnRhdGlvbi9zeXNycS50eHQJRnJpIE1hciAzMCAxODo0MTox
NyAyMDAxDQorKysgYnJ5Y2UvRG9jdW1lbnRhdGlvbi9zeXNycS50eHQJRnJp
IE1hciAzMCAxOTowMzoxNCAyMDAxDQ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kNCiAg
KiAgIGJ5IEJqb3JuIEVrd2FsbCA8Ymowcm5AYmxveC5zZT4NCisgKg0KKyAq
ICAgQWRkZWQgc3lzcnEgaW50ZXJmYWNlIGZvciBkeW5hbWljIHN5c3JxICgy
MDAwKQ0KKyAqICAgQ3J1dGNoZXIgRHVubmF2YW50IDxjcnV0Y2hlckByZWRo
YXQuY29tPg0KKyAqICAgICANCiAgKi8NCiANCiAjZGVmaW5lIF9fS0VSTkVM
X1NZU0NBTExTX18NCkBAIC00Nyw2ICs1MSw3IEBADQogI2luY2x1ZGUgPGxp
bnV4L2JybG9jay5oPg0KICNpbmNsdWRlIDxsaW51eC9mcy5oPg0KICNpbmNs
dWRlIDxsaW51eC90dHkuaD4NCisjaW5jbHVkZSA8bGludXgvc3lzcnEuaD4N
CiAjaW5jbHVkZSA8YXNtL2NoZWNrc3VtLmg+DQogI2luY2x1ZGUgPGxpbnV4
L3VuaXN0ZC5oPg0KIA0KQEAgLTU1OSwzICs1NjQsMTIgQEANCiANCiBFWFBP
UlRfU1lNQk9MKHRhc2tsaXN0X2xvY2spOw0KIEVYUE9SVF9TWU1CT0wocGlk
aGFzaCk7DQorDQorLyogZHluYW1pYyBzeXNycSByZWdpc3RyYXRpb24gKi8N
CitFWFBPUlRfU1lNQk9MKGhhbmRsZV9zeXNycSk7DQorRVhQT1JUX1NZTUJP
TChfX2hhbmRsZV9zeXNycV9ub2xvY2spOw0KK0VYUE9SVF9TWU1CT0woX19z
eXNycV9sb2NrX3RhYmxlKTsNCitFWFBPUlRfU1lNQk9MKF9fc3lzcnFfdW5s
b2NrX3RhYmxlKTsNCitFWFBPUlRfU1lNQk9MKF9fc3lzcnFfZ2V0X2tleV9v
cCk7DQorRVhQT1JUX1NZTUJPTChfX3N5c3JxX3B1dF9rZXlfb3ApOw0KKw0K
---842912328-2092114493-997342491=:10432
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="linux-2.4.1-realmodepoweroff.patch"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.33.0108090834511.10432@infradead.org>
Content-Description: Real mode poweroff patch
Content-Disposition: attachment; filename="linux-2.4.1-realmodepoweroff.patch"
LS0tIGxpbnV4L2FyY2gvaTM4Ni9rZXJuZWwvYXBtLmMub3JnCVR1ZSBGZWIg
MTMgMTM6NTA6NDggMjAwMQ0KKysrIGxpbnV4L2FyY2gvaTM4Ni9rZXJuZWwv
YXBtLmMJVHVlIEZlYiAxMyAxMzo1MzoxMyAyMDAxDQpAQCAtMzQzLDYgKzM0
Myw3IEBADQogI2Vsc2UNCiBzdGF0aWMgaW50CQkJcG93ZXJfb2ZmID0gMTsN
CiAjZW5kaWYNCitzdGF0aWMgaW50CQkJcmVhbG1vZGVfcG93ZXJfb2ZmID0g
MDsNCiBzdGF0aWMgaW50CQkJZXhpdF9rYXBtZDsNCiBzdGF0aWMgaW50CQkJ
a2FwbWRfcnVubmluZzsNCiANCkBAIC02NjMsNyArNjY0LDEwIEBADQogCX0N
CiAjZW5kaWYNCiAjaWZkZWYgQ09ORklHX0FQTV9SRUFMX01PREVfUE9XRVJf
T0ZGDQotCW1hY2hpbmVfcmVhbF9yZXN0YXJ0KHBvX2Jpb3NfY2FsbCwgc2l6
ZW9mKHBvX2Jpb3NfY2FsbCkpOw0KKwlpZiAocmVhbG1vZGVfcG93ZXJfb2Zm
KQ0KKwkJbWFjaGluZV9yZWFsX3Jlc3RhcnQocG9fYmlvc19jYWxsLCBzaXpl
b2YocG9fYmlvc19jYWxsKSk7DQorCWVsc2UNCisJCSh2b2lkKSBhcG1fc2V0
X3Bvd2VyX3N0YXRlKEFQTV9TVEFURV9PRkYpOw0KICNlbHNlDQogCSh2b2lk
KSBhcG1fc2V0X3Bvd2VyX3N0YXRlKEFQTV9TVEFURV9PRkYpOw0KICNlbmRp
Zg0KQEAgLTE1NDgsNiArMTU1Miw4IEBADQogCXdoaWxlICgoc3RyICE9IE5V
TEwpICYmICgqc3RyICE9ICdcMCcpKSB7DQogCQlpZiAoc3RybmNtcChzdHIs
ICJvZmYiLCAzKSA9PSAwKQ0KIAkJCWFwbV9kaXNhYmxlZCA9IDE7DQorCQlp
ZiAoc3RybmNtcChzdHIsICJyZWFsbW9kZSIsIDgpID09IDApDQorCQkJcmVh
bG1vZGVfcG93ZXJfb2ZmID0gMTsNCiAJCWlmIChzdHJuY21wKHN0ciwgIm9u
IiwgMikgPT0gMCkNCiAJCQlhcG1fZGlzYWJsZWQgPSAwOw0KIAkJaW52ZXJ0
ID0gKHN0cm5jbXAoc3RyLCAibm8tIiwgMykgPT0gMCk7DQo=
---842912328-2092114493-997342491=:10432--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/