Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Everex cloudbook



On Sat, Jun 7, 2008 at 11:03 PM, Cherry G. Mathew
<cherry.g.mathew%gmail.com@localhost> wrote:
> On Wed, Jun 4, 2008 at 6:34 PM, Cherry G. Mathew
> <cherry.g.mathew%gmail.com@localhost> wrote:
>> Hi,
>>
>> So I got myself an Everex cloudbook. (typingthis from "gOS")
>>
>> 4.0 and -current reset the machine on boot (no dmesg). Booted via grub
>> and native bootloader. I'll poke around a bit more.
>
> After a bit more poking around:
> I discovered that my USB key with a NetBSD-4.0 kernel booted well, as
> well as -current from early May. I'm fairly certain that the USB key
> boot didn't work when I tried this first. Trying to boot the same
> kernels via the grub that comes with "gOS" (which looks like some sort
> of modified ubuntu distro)
>
> Summary: booting via NetBSD's native bootloader works.
>


I observed that the boot failure described in the first email, occurs
when the power cord is plugged in.

By inserting successive loops, it appears that the switch to protected
mode in locore.S (see below) seems to be causing the reset. It smells
like a BIOS bug/acpi setup issue, but I'm a bit rusty with i386 and
short of time to debug this further. I'm happy to try
patches/suggestions though.

Cheers,
-- 
~Cherry

<snip>
    645         /*
    646          * 2. Enable paging and the rest of it.
    647          */
    648         movl    %cr0,%eax               # get control word
    649                                         # enable paging & NPX emulation
    650         orl     $(CR0_PE|CR0_PG|CR0_NE|CR0_TS|CR0_EM|CR0_MP),%eax
    651         movl    %eax,%cr0               # and let's page NOW!
    652
    653         pushl   $begin                  # jump to high mem
    654         ret
^^^^^^^^^^^^^^^^^^^^^^^


Home | Main Index | Thread Index | Old Index