Re: AMD 780G chipset major issues 3/3 (btx)

From: Jung-uk Kim <jkim_at_FreeBSD.org>
Date: Mon, 13 Apr 2009 19:16:39 -0400
On Monday 13 April 2009 06:36 pm, Jung-uk Kim wrote:
> On Monday 13 April 2009 01:05 pm, John Baldwin wrote:
> > On Wednesday 08 April 2009 3:37:38 pm Diego Depaoli wrote:
> > > On Tue, Apr 7, 2009 at 4:26 PM, John Baldwin <jhb_at_freebsd.org>
>
> wrote:
> > > > On Monday 06 April 2009 5:02:53 pm Diego Depaoli wrote:
> > > >> And finally...
> > > >> if I enable ahci in bios the system won't boot  with btx
> > > >> halted. Ctrl+alt+del is the only allowed action.
> > > >>
> > > >> Yes... it's a low cost motherboard, but I'm a bit confused.
> > > >
> > > > What OS release are you running?
> > >
> > > 8.0-CURRENT FreeBSD 8.0-CURRENT #19: Sun Apr  5 02:25:34 CEST
> > > 2009 FreeBSD version 800074
> >
> > Very odd, can you get a copy of the BTX fault output?
>
> As I said earlier, I have a similar board and this is what I got:
>
> int=0000000d  err=00000000  efl=00030002  eip=000001b1
> eax=00000011  ebx=00000002  ecx=00009d82  edx=0009dbc8
> esi=000003f0  edi=00000368  ebp=000003a8  esp=00000362
> cs=cf00  ds=0040  es=1400    fs=0000  gs=0000  ss=9d82
> cs:eip=2e 0f 01 16 7d 00 0f 20-c0 0c 01 0f 22 c0 eb 00
>        b8 08 00 8e d8 8e c0 8e-d0 66 2e a1 54 00 66 8b
> ss:esp=3f 00 c0 96 00 00 11 00-00 00 00 14 40 00 02 2f
>        46 00 02 00 00 00 f0 03-00 00 a8 03 00 00 94 03
>
> The following is the disassembled code:
>
>    0:   2e 0f 01 16             lgdtl  %cs:(%esi)
>    4:   7d 00                   jge    0x6
>    6:   0f 20 c0                mov    %cr0,%eax
>    9:   0c 01                   or     $0x1,%al
>    b:   0f 22 c0                mov    %eax,%cr0
>    e:   eb 00                   jmp    0x10
>   10:   b8 08 00 8e d8          mov    $0xd88e0008,%eax
>   15:   8e c0                   mov    %eax,%es
>   17:   8e d0                   mov    %eax,%ss
>   19:   66 2e a1 54 00 66 8b    mov    %cs:0x8b660054,%ax

Ouch, the following should be more likely disassembly:

   0:   2e 0f 01 16 7d 00       lgdtl  %cs:0x7d
   6:   0f 20 c0                mov    %cr0,%ax
   9:   0c 01                   or     $0x1,%al
   b:   0f 22 c0                mov    %ax,%cr0
   e:   eb 00                   jmp    0x10
  10:   b8 08 00                mov    $0x08,%ax
  13:   8e d8                   mov    %ax,%ds
  15:   8e c0                   mov    %ax,%es
  17:   8e d0                   mov    %ax,%ss
  19:   66 2e a1 54 00          mov    %cs:0x54,%ax

Jung-uk Kim
Received on Mon Apr 13 2009 - 21:16:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:46 UTC