Re: [PATCH]X86:reboot.c Add some dmi entries to pci_reboot_dmi_table.

From: Justin P. Mattock
Date: Tue Jun 01 2010 - 16:17:34 EST


On 06/01/2010 01:07 PM, Matthew Garrett wrote:
On Tue, Jun 01, 2010 at 01:06:17PM -0700, Justin P. Mattock wrote:

nope.. here is what I get:
./reboot
Segmentation fault (core dumped)

Sorry, put

iopl(3);

before the outb.



still craps out.
this is what the code looks like now:

#include <sys/io.h>

int main() {
iopl(3);
outb(6, 0xcf9);
return 0;
}
(hopefully done right).

as for the acpidump, I seem
to be hitting some error trying
to dissemble it, so I just grabbed my copy from:
https://bugzilla.kernel.org/show_bug.cgi?id=14483

what/where might I be looking for, for this reboot
port in the *.dsl?

Justin P. Mattock
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/