Robert Millan wrote:
On Wed, Dec 26, 2007 at 12:26:03PM -0800, walt wrote:
...
The first machine has two ordinary PATA drives on a VIA 8235 controller
and grub2 complains that the firmware is tainted. Grub2 will use (ata1)
okay and lists all the partitions,
Nice. Is that controller in the P
On Dec 27, 2007 7:00 PM, Robert Millan <[EMAIL PROTECTED]> wrote:
> Uhm I recall seeing macros for that already:
>
> kern/i386/pc/startup.S: DATA32 ADDR32 lgdtgdtdesc
>
> I guess those are telling GAS to generate 0x66 and 0x67?
yes, adding the DATA32 ADDR32 prefix might work as well:
On Thu, Dec 27, 2007 at 11:05:53AM +0100, Robert Millan wrote:
> On Wed, Dec 26, 2007 at 12:26:03PM -0800, walt wrote:
> > Hi grub group.
> >
> > Beginning with the commits of 2007-10-31 my two Athlon machines won't
> > work properly with grub2, and I'd like to find out why.
>
> It's a known prob
On Thu, Dec 27, 2007 at 06:43:22PM +0800, Bean wrote:
> On Dec 27, 2007 5:57 PM, Robert Millan <[EMAIL PROTECTED]> wrote:
> > Why not force it with .code32 / .code16 ?
>
> No, you can't use .code32/.code16, it will not cause compile error,
> but the machine code is wrong. However, you can write it
On Dec 27, 2007 5:57 PM, Robert Millan <[EMAIL PROTECTED]> wrote:
> Why not force it with .code32 / .code16 ?
No, you can't use .code32/.code16, it will not cause compile error,
but the machine code is wrong. However, you can write it like this:
.byte 0x66, 0x67
.code32
leal0x200 + data_start
On Wed, Dec 26, 2007 at 12:26:03PM -0800, walt wrote:
> Hi grub group.
>
> Beginning with the commits of 2007-10-31 my two Athlon machines won't
> work properly with grub2, and I'd like to find out why.
It's a known problem. That's when we added the ATA driver. If you don't
include ata.mod in y
On Wed, Dec 26, 2007 at 07:13:22PM +0800, Bean wrote:
>
> It's a trick to do fast arithmetic using the 32-bit address mode, for example,
>
> leal10 (%ebx, %eax, 4) , %ecx
>
> means
>
> %ecx = %ebx + %eax * 4 + 10
Reminds me again why the i386 instruction set is such a big joke ;-)
> But s