lkml.org 
[lkml]   [2010]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH]X86:reboot.c Add some dmi entries to pci_reboot_dmi_table.
    On 06/01/2010 03:43 PM, Justin P. Mattock wrote:
    > On 06/01/2010 02:29 PM, Matthew Garrett wrote:
    >> On Tue, Jun 01, 2010 at 02:26:01PM -0700, Justin P. Mattock wrote:
    >>> On 06/01/2010 02:12 PM, Matthew Garrett wrote:
    >>>> some level. How about the following (again, run as root):
    >>>>
    >>>> #include<sys/io.h>
    >>>>
    >>>> int main() {
    >>>> iopl(3);
    >>>> outb(0xfe, 0x64);
    >>>> return 0;
    >>>> }
    >>>>
    >>
    >> So, just to be clear, you run this as root and it immediately returns
    >> you to the prompt? This seems unlikely.
    >
    > yep.. with the above code
    > I (save to a file) then
    > non-root gcc reboot.c -o reboot
    > then su
    > ./reboot
    > just bake to the command prompt

    Can you post the FACP section of the acpidump output from this machine?

    >
    >>
    >>> ahh!! I see now:
    >>> grep 0x64 *.dsl
    >>
    >> No, that's unrelated.
    >>
    >
    > alright!!
    >
    > Justin P. Mattock



    \
     
     \ /
      Last update: 2010-06-02 07:13    [W:0.047 / U:30.692 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site