From nobody@FreeBSD.org  Tue Nov 16 18:01:18 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9A74916A4FE
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 16 Nov 2004 18:01:18 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D78E143D2D
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 16 Nov 2004 18:01:14 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id iAGI1EuZ041899
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 16 Nov 2004 18:01:14 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id iAGI1EWb041898;
	Tue, 16 Nov 2004 18:01:14 GMT
	(envelope-from nobody)
Message-Id: <200411161801.iAGI1EWb041898@www.freebsd.org>
Date: Tue, 16 Nov 2004 18:01:14 GMT
From: Jim Caldwell <jcaldwell@ymcastlouis.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: IBM eServer x225 cannot boot any v5.x - endless dump scrolling in bootloader.
X-Send-Pr-Version: www-2.3

>Number:         74008
>Category:       i386
>Synopsis:       [boot] IBM eServer x225 cannot boot any v5.x - endless dump scrolling in bootloader.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-i386
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 16 18:10:25 GMT 2004
>Closed-Date:    Wed Jul 14 09:59:02 UTC 2010
>Last-Modified:  Wed Jul 14 09:59:02 UTC 2010
>Originator:     Jim Caldwell
>Release:        5.3
>Organization:
YMCA of Greater St. Louis
>Environment:
Can't get that far. Xeon 2800, 512M - IBM x225 server.
>Description:
When trying to boot from the 5.3 or 5.2.1 CD, I get as far as 'Looking for /BOOT/LOADER - Found', then continuous scrolling of 'BTX Halted' with register dumps. Gets no further at all.
>How-To-Repeat:
Try to boot a x225 with the 5.3 or 5.2.1 CD. Happens every time. It MAY only happen on Dual-CPU capable systems with only 1 CPU installed, I haven't tried it with 2 CPUs installed.
>Fix:
No idea.
>Release-Note:
>Audit-Trail:

From: jcaldwell@ymcastlouis.org
To: freebsd-gnats-submit@FreeBSD.org, jcaldwell@ymcastlouis.org
Cc:  
Subject: Re: i386/74008: IBM eServer x225 cannot boot any v5.x - endless dump
 scrolling in bootloader.
Date: Tue, 16 Nov 2004 15:48:45 -0600

 This is a multipart message in MIME format.
 --=_alternative 007799A286256F4E_=
 Content-Type: text/plain; charset="US-ASCII"
 
 Problem does NOT appear if using boot floppies. I was able to install & 
 use the system just fine if I boot from the floppies, then install from 
 the CDROM. This appears to only affect actual booting from the CDROM, 
 built from the ISO images from the ftp.freebsd.org site.
 --=_alternative 007799A286256F4E_=--

From: "Terry Sposato" <terry@sucked-in.com>
To: <bug-followup@FreeBSD.org>,
	<jcaldwell@ymcastlouis.org>
Cc:  
Subject: Re: i386/74008: IBM eServer x225 cannot boot any v5.x - endless dump scrolling in bootloader.
Date: Fri, 24 Aug 2007 13:02:08 +1000

 This is a multipart message in MIME format.
 
 ------=_NextPart_000_0001_01C7E64E.FF803BA0
 Content-Type: text/plain;
 	charset="us-ascii"
 Content-Transfer-Encoding: 7bit
 
 Hi,
 
  
 
 The same thing still occurs using FreeBSD 6.2-RELEASE on the same IBM
 eServer x225.
 
 The boot only CD and the full install CD just dump and it continuously
 scrolls and nothing escapes it.
 
  
 
 The floppies do work though.
 
  
 
 Regards,
 
  
 
 Terry
 
 http://www.sucked-in.com
 
 Have you been sucked in?
 
 ------=_NextPart_000_0001_01C7E64E.FF803BA0--
 

From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: i386/74008: IBM eServer x225 cannot boot any v5.x - endless dump
 scrolling in bootloader.
Date: Wed, 24 Oct 2007 09:03:53 +0000 (UTC)

 Hi,
 
 here it is an IBM System x3250. If booting via pxe or from
 the SATA disk attached to an mpt(4) everything is fine.
 
 Booting from a CF connected via a CF-to-PATA adaptor (the
 CDROM was disconneted) I get the following stack trace
 continously scrolling on vidconsonle. No matter what I tried
 I could not get it on comconsole where everything else appeared.
 So this is hand transcribed from a camera picture.
 
 int=0000000d  err=00000000  efl=00010046  eip=000090d8
 eax=00000011  ebx=0000e401  ecx=00000000  edx=0000f000
 esi=00000000  edi=00006459  ebp=000003e2  esp=00001800
 cs=0008  ds=0000  es=0000    fs=0000  gs=0000  ss=0010
 
 cs:eip=0f 01 15 00 97 00 00 66-ea e5 90 18 00 b1 20 8e
         d1 8e d9 8e c1 8e e1 8e-e9 48 0f 22 c0 ea fa 90
 ss:esp=0a 69 6e 74 3d 30 30 30-30 30 30 30 64 20 20 65
         72 72 3d 30 30 30 30 30-30 30 30 20 20 65 66 6c
 BTX halted
 
 
 Thinking that it only seems to happen on the PATA ports, there is also
 another PR: i386/72960: BTX halted with Promise Tx2000 Raid
 
 The IBM server here says:
 atapci0@pci0:0:31:1:    class=0x01018a card=0x03461014 chip=0x27df8086 rev=0x01 hdr=0x00
      class      = mass storage
      subclass   = ATA
 
 atapci0: <Intel ICH7 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x30a0-0x30af at device 31.1 on pci0
 ata0: <ATA channel 0> on atapci0
 ata0: [ITHREAD]
 ata1: <ATA channel 1> on atapci0
 ata1: [ITHREAD]
 
 And that's the CF card:
 ad0: 976MB <TOSHIBA THNCF1G02QG 3.00> at ata0-master PIO4
 
 (obviously I got this info after booting from mpt/disk)
 
 -- 
 Bjoern A. Zeeb                                 bzeeb at Zabbadoz dot NeT
 Software is harder than hardware  so better get it right the first time.

From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: i386/74008: IBM eServer x225 cannot boot any v5.x - endless dump
 scrolling in bootloader.
Date: Wed, 24 Oct 2007 12:58:17 +0000 (UTC)

 After some hint I have added this patch
 
 --- sys/boot/i386/btx/btx/btx.S 7 Dec 2006 22:26:51 -0000       1.38.2.2
 +++ sys/boot/i386/btx/btx/btx.S 24 Oct 2007 12:54:55 -0000
 @@ -253,6 +253,7 @@ init.9:             push $0x0                       #  general
    * Exit routine.
    */
   exit:          cli                             # Disable interrupts
 +               jmp exit
                  movl $MEM_ESP0,%esp             # Clear stack
   /*
    * Turn off paging.
 
 This will make BTX spinning after printing the first
 stack dump and thus not continously scrolling on the console.
 
 Makes it easier to hand transcribe in case you do not have
 a serial console but only vidconsole.
 
 I guess you will not be able to boot anything with this
 patched version.
 
 
 Anyway here's the very first stack dump:
 
 
 int=00000000  err=00000000  efl=00030a07  eip=00008044
 eax=0000e2c3  ebx=0000e401  ecx=000003f0  edx=0000f000
 esi=00000000  edi=00006459  ebp=000003e2  esp=000003be
 cs=e69b  ds=0040  es=0000    fs=0000  gs=0000  ss=9cf8
 cs:eip=f7 f1 a3 45 00 8b c2 59-f6 f5 0a 06 ca 00 a2 47
         00 fe c4 88 26 44 00 eb-b5 f8 c3 57 0f b6 46 18
 ss:esp=10 3f 59 64 01 00 e2 03-d0 03 01 e4 80 00 01 00
         01 20 37 08 9c 08 80 00-01 00 4f 05 1e 65 e2 64
 BTX halted
 
 
 -- 
 Bjoern A. Zeeb                                 bzeeb at Zabbadoz dot NeT
 Software is harder than hardware  so better get it right the first time.

From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To: bug-followup@FreeBSD.org
Cc: kib@freebsd.org
Subject: Re: i386/74008: IBM eServer x225 cannot boot any v5.x - endless dump
 scrolling in bootloader.
Date: Wed, 24 Oct 2007 15:36:11 +0000 (UTC)

 On Wed, 24 Oct 2007, Bjoern A. Zeeb wrote:
 
 Hi,
 
 ok, as I was told this looks like gibberish I dumped 6 lines:
 
 
 FreeBSD/i386 bootstrap loader, Revision 1.1
 (bz@xxxxxxxx.xxxxxx.xx, Wed Oct 24 15:08:42 UTC 2007)
 
 int=00000000  err=00000000  efl=00030a07  eip=00008044
 eax=0000e2c3  ebx=0000e401  ecx=000003f0  edx=0000f000
 esi=00000000  edi=00006459  ebp=000003e2  esp=000003be
 cs=e69b  ds=0040  es=0000    fs=0000  gs=0000  ss=9cf8
 cs:eip=f7 f1 a3 45 00 8b c2 59-f6 f5 0a 06 ca 00 a2 47
         00 fe c4 88 26 44 00 eb-b5 f8 c3 57 0f b6 46 18
         c1 e0 03 bf 2e 7d 03 f8-66 2e 8b 55 04 66 2e 8b
         05 5f c3 1e 8e 5e 00 8b-76 06 8b 0c 83 f9 1a 72
         27 83 f9 1e 72 0f 83 f9-4a 72 05 b9 4a 00 eb 08
         b9 1e 00 eb 03 b9 1a 00-51 56 32 c0 88 04 46 e2
 ss:esp=10 3f 59 64 01 00 e2 03-d0 03 01 e4 80 00 01 00
         01 20 37 08 9c 08 80 00-01 00 4f 05 1e 65 e2 64
         01 02 00 00 00 00 40 9d-04 00 00 00 f6 03 f6 03
         04 00 80 00 01 00 01 02-00 00 03 00 00 80 01 e4
         00 f0 00 00 00 00 c4 8c-9b e6 16 02 4e 91 00 00
         16 02 00 00 00 00 00 00-00 00 00 00 00 00 00 00
 BTX halted
 
 
 eip=... (roughly) translates to .. with inval offsets...
 
 0xffffd8a0:     div    %ecx
 0xffffd8a2:     mov    %eax,0xc28b0045
 0xffffd8a7:     pop    %ecx
 0xffffd8a8:     div    %ch
 0xffffd8aa:     or     (%esi),%al
 0xffffd8ac:     lret   $0xa200
 0xffffd8af:     inc    %edi
 0xffffd8b0:     add    %bh,%dh
 0xffffd8b2:     les    0xeb004426(%eax),%ecx
 0xffffd8b8:     mov    $0xf8,%ch
 0xffffd8ba:     ret 
 0xffffd8bb:     push   %edi
 0xffffd8bc:     movzbl 0x18(%esi),%eax
 0xffffd8c0:     shl    $0x3,%eax
 0xffffd8c3:     mov    $0xf8037d2e,%edi
 0xffffd8c8:     mov    %cs:0x4(%ebp),%dx
 0xffffd8cd:     mov    %cs:0x8e1ec35f,%ax
 0xffffd8d5:     pop    %esi
 0xffffd8d6:     add    %cl,0xc8b0676(%ebx)
 0xffffd8dc:     cmp    $0x1a,%ecx
 0xffffd8df:     jb     0xffffd908
 0xffffd8e1:     cmp    $0x1e,%ecx
 0xffffd8e4:     jb     0xffffd8f5
 0xffffd8e6:     cmp    $0x4a,%ecx
 0xffffd8e9:     jb     0xffffd8f0
 0xffffd8eb:     mov    $0x8eb004a,%ecx
 0xffffd8f0:     mov    $0x3eb001e,%ecx
 0xffffd8f5:     mov    $0x5651001a,%ecx
 0xffffd8fa:     xor    %al,%al
 0xffffd8fc:     mov    %al,(%esi,%eax,2)
 
 -- 
 Bjoern A. Zeeb                                 bzeeb at Zabbadoz dot NeT
 Software is harder than hardware  so better get it right the first time.

From: Kostik Belousov <kostikbel@gmail.com>
To: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Cc: bug-followup@freebsd.org, kib@freebsd.org
Subject: Re: i386/74008: IBM eServer x225 cannot boot any v5.x - endless dump scrolling in bootloader.
Date: Thu, 25 Oct 2007 21:03:31 +0300

 --xsILJLaVOAbiPmXa
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Wed, Oct 24, 2007 at 03:36:11PM +0000, Bjoern A. Zeeb wrote:
 > On Wed, 24 Oct 2007, Bjoern A. Zeeb wrote:
 >=20
 > Hi,
 >=20
 > ok, as I was told this looks like gibberish I dumped 6 lines:
 >=20
 >=20
 > FreeBSD/i386 bootstrap loader, Revision 1.1
 > (bz@xxxxxxxx.xxxxxx.xx, Wed Oct 24 15:08:42 UTC 2007)
 >=20
 > int=3D00000000  err=3D00000000  efl=3D00030a07  eip=3D00008044
 > eax=3D0000e2c3  ebx=3D0000e401  ecx=3D000003f0  edx=3D0000f000
 > esi=3D00000000  edi=3D00006459  ebp=3D000003e2  esp=3D000003be
 > cs=3De69b  ds=3D0040  es=3D0000    fs=3D0000  gs=3D0000  ss=3D9cf8
 > cs:eip=3Df7 f1 a3 45 00 8b c2 59-f6 f5 0a 06 ca 00 a2 47
 >        00 fe c4 88 26 44 00 eb-b5 f8 c3 57 0f b6 46 18
 >        c1 e0 03 bf 2e 7d 03 f8-66 2e 8b 55 04 66 2e 8b
 >        05 5f c3 1e 8e 5e 00 8b-76 06 8b 0c 83 f9 1a 72
 >        27 83 f9 1e 72 0f 83 f9-4a 72 05 b9 4a 00 eb 08
 >        b9 1e 00 eb 03 b9 1a 00-51 56 32 c0 88 04 46 e2
 > ss:esp=3D10 3f 59 64 01 00 e2 03-d0 03 01 e4 80 00 01 00
 >        01 20 37 08 9c 08 80 00-01 00 4f 05 1e 65 e2 64
 >        01 02 00 00 00 00 40 9d-04 00 00 00 f6 03 f6 03
 >        04 00 80 00 01 00 01 02-00 00 03 00 00 80 01 e4
 >        00 f0 00 00 00 00 c4 8c-9b e6 16 02 4e 91 00 00
 >        16 02 00 00 00 00 00 00-00 00 00 00 00 00 00 00
 > BTX halted
 >=20
 >=20
 > eip=3D... (roughly) translates to .. with inval offsets...
 >=20
 > 0xffffd8a0:     div    %ecx
 > 0xffffd8a2:     mov    %eax,0xc28b0045
 > 0xffffd8a7:     pop    %ecx
 > 0xffffd8a8:     div    %ch
 > 0xffffd8aa:     or     (%esi),%al
 > 0xffffd8ac:     lret   $0xa200
 > 0xffffd8af:     inc    %edi
 > 0xffffd8b0:     add    %bh,%dh
 > 0xffffd8b2:     les    0xeb004426(%eax),%ecx
 > 0xffffd8b8:     mov    $0xf8,%ch
 > 0xffffd8ba:     ret=20
 > 0xffffd8bb:     push   %edi
 > 0xffffd8bc:     movzbl 0x18(%esi),%eax
 > 0xffffd8c0:     shl    $0x3,%eax
 > 0xffffd8c3:     mov    $0xf8037d2e,%edi
 > 0xffffd8c8:     mov    %cs:0x4(%ebp),%dx
 > 0xffffd8cd:     mov    %cs:0x8e1ec35f,%ax
 > 0xffffd8d5:     pop    %esi
 > 0xffffd8d6:     add    %cl,0xc8b0676(%ebx)
 > 0xffffd8dc:     cmp    $0x1a,%ecx
 > 0xffffd8df:     jb     0xffffd908
 > 0xffffd8e1:     cmp    $0x1e,%ecx
 > 0xffffd8e4:     jb     0xffffd8f5
 > 0xffffd8e6:     cmp    $0x4a,%ecx
 > 0xffffd8e9:     jb     0xffffd8f0
 > 0xffffd8eb:     mov    $0x8eb004a,%ecx
 > 0xffffd8f0:     mov    $0x3eb001e,%ecx
 > 0xffffd8f5:     mov    $0x5651001a,%ecx
 > 0xffffd8fa:     xor    %al,%al
 > 0xffffd8fc:     mov    %al,(%esi,%eax,2)
 
 I said this looks like garbage due to _very_ strange combination of the
 cs and eip values. But actual code is not quite a garbage. Could you check
 the CF card geometry ?
 
 --xsILJLaVOAbiPmXa
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.4 (FreeBSD)
 
 iD8DBQFHINpyC3+MBN1Mb4gRAqLwAKC1yCTf5WGa0d8wUjmfPLTZjw4FrACg6h5K
 q3m/xPBLJdJBE5XFv8Jn4aE=
 =LuvA
 -----END PGP SIGNATURE-----
 
 --xsILJLaVOAbiPmXa--

From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To: Kostik Belousov <kostikbel@gmail.com>
Cc: bug-followup@freebsd.org, kib@freebsd.org
Subject: Re: i386/74008: IBM eServer x225 cannot boot any v5.x - endless dump
 scrolling in bootloader.
Date: Fri, 26 Oct 2007 07:24:03 +0000 (UTC)

 On Thu, 25 Oct 2007, Kostik Belousov wrote:
 
 > I said this looks like garbage due to _very_ strange combination of the
 
 Well I said "gibberish" ;-)
 
 > cs and eip values. But actual code is not quite a garbage. Could you check
 > the CF card geometry ?
 
 here is what I got from an fdisk in my console log (I'll be closer
 to the machine later today). There are no PATA options in the BIOS
 btw.
 
 parameters extracted from in-core disklabel are:
 cylinders=1985 heads=16 sectors/track=63 (1008 blks/cyl)
 
 Figures below won't work with BIOS for partitions not in cyl 1 
 parameters to be used for BIOS calculations are:
 cylinders=1985 heads=16 sectors/track=63 (1008 blks/cyl)
 
 The data for partition 1 is:
 sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
      start 32, size 1998816 (975 Meg), flag 80 (active)
          beg: cyl 0/ head 1/ sector 1;
          end: cyl 975/ head 63/ sector 32
 
 
 -- 
 Bjoern A. Zeeb                                 bzeeb at Zabbadoz dot NeT
 Software is harder than hardware  so better get it right the first time.

From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To: Kostik Belousov <kostikbel@gmail.com>
Cc: bug-followup@freebsd.org, kib@freebsd.org
Subject: Re: i386/74008: IBM eServer x225 cannot boot any v5.x - endless dump
 scrolling in bootloader.
Date: Mon, 29 Oct 2007 10:38:28 +0000 (UTC)

 ok, more info.
 
 
 Booting from PATA CD-Rom was fine. So it's booting from the CF card
 reader...
 
 IBM released yet another new BIOS which didn't seem to help.
 
                               /boot.config: -hConsoles: serial port 
 BIOS drive C: is disk0
 BIOS drive D: is disk1
 BIOS 634kB/1046336kB available memory
 
 FreeBSD/i386 bootstrap loader, Revision 1.1
 (bz@xxxxxxxx.xxxxxx.xx, Wed Oct 24 15:08:42 UTC 2007)
 
 int=00000000  err=00000000  efl=00030a07  eip=00008044
 eax=0000e2c3  ebx=0000e401  ecx=000003f0  edx=0000f000
 esi=00000000  edi=00006459  ebp=000003e2  esp=000003be
 cs=e690  ds=0040  es=0000    fs=0000  gs=0000  ss=9cf8
 cs:eip=f7 f1 a3 45 00 8b c2 59-f6 f5 0a 06 ca 00 a2 47
         00 fe c4 88 26 44 00 eb-b5 f8 c3 57 0f b6 46 18
         c1 e0 03 bf 2e 7d 03 f8-66 2e 8b 55 04 66 2e 8b
         05 5f c3 1e 8e 5e 00 8b-76 06 8b 0c 83 f9 1a 72
         27 83 f9 1e 72 0f 83 f9-4a 72 05 b9 4a 00 eb 08
         b9 1e 00 eb 03 b9 1a 00-51 56 32 c0 88 04 46 e2
 ss:esp=10 3f 59 64 01 00 e2 03-d0 03 01 e4 80 00 01 00
         01 20 37 08 9c 08 80 00-01 00 4f 05 1e 65 e2 64
         01 02 00 00 00 00 40 9d-04 00 00 00 f6 03 f6 03
         04 00 80 00 01 00 01 02-00 00 03 00 00 80 01 e4
         00 f0 00 00 00 00 c4 8c-90 e6 16 02 4e 91 00 00
         16 02 00 00 00 00 00 00-00 00 00 00 00 00 00 00
 BTX halted
 
 
 (gdb) disassemble p (p+95)
 Dump of assembler code from 0xffffd8a0 to 0xffffd8ff:
 0xffffd8a0:     div    %ecx
 0xffffd8a2:     mov    %eax,0xc28b0045
 0xffffd8a7:     pop    %ecx
 0xffffd8a8:     div    %ch
 0xffffd8aa:     or     (%esi),%al
 0xffffd8ac:     lret   $0xa200
 0xffffd8af:     inc    %edi
 0xffffd8b0:     add    %bh,%dh
 0xffffd8b2:     les    0xeb004426(%eax),%ecx
 0xffffd8b8:     mov    $0xf8,%ch
 0xffffd8ba:     ret 
 0xffffd8bb:     push   %edi
 0xffffd8bc:     movzbl 0x18(%esi),%eax
 0xffffd8c0:     shl    $0x3,%eax
 0xffffd8c3:     mov    $0xf8037d2e,%edi
 0xffffd8c8:     mov    %cs:0x4(%ebp),%dx
 0xffffd8cd:     mov    %cs:0x8e1ec35f,%ax
 0xffffd8d5:     pop    %esi
 0xffffd8d6:     add    %cl,0xc8b0676(%ebx)
 0xffffd8dc:     cmp    $0x1a,%ecx
 0xffffd8df:     jb     0xffffd908
 0xffffd8e1:     cmp    $0x1e,%ecx
 0xffffd8e4:     jb     0xffffd8f5
 0xffffd8e6:     cmp    $0x4a,%ecx
 0xffffd8e9:     jb     0xffffd8f0
 0xffffd8eb:     mov    $0x8eb004a,%ecx
 0xffffd8f0:     mov    $0x3eb001e,%ecx
 0xffffd8f5:     mov    $0x5651001a,%ecx
 0xffffd8fa:     xor    %al,%al
 0xffffd8fc:     mov    %al,(%esi,%eax,2)
 End of assembler dump.
 
 
 This looks exactly the same as with the old BIOS revision
 if I am not mistaken.
 
 -- 
 Bjoern A. Zeeb                                 bzeeb at Zabbadoz dot NeT
 Software is harder than hardware  so better get it right the first time.

From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To: Kostik Belousov <kostikbel@gmail.com>
Cc: bug-followup@freebsd.org, kib@freebsd.org
Subject: Re: i386/74008: IBM eServer x225 cannot boot any v5.x - endless dump
 scrolling in bootloader.
Date: Tue, 13 Nov 2007 08:32:20 +0000 (UTC)

 Hi,
 
 ok, as I said I had done a BIOS update mailed out that stack trace
 again.
 
 The machine was idle for one week and coming back I was not able to
 reproduce the BTX halted problem. According to the console logs I
 hadn't done anything. It had "just disappered".
 
 
 I ran into a loader problem after that but that's fixed with the
 latest changes to loader in HEAD and RELENG_7.
 
 I also found out that IBM announces a reserved EDD bit:
 bd_int13probe
    in: 13h,eax=0x4100,ebx=0x55aa
    out: eax=0x3000 ecx=0x0005
 
    CX is 0x5 but only 0x0, 0x1 and 0x2 are documented but 0x4 is not.
 
 
 -- 
 Bjoern A. Zeeb                                 bzeeb at Zabbadoz dot NeT
 Software is harder than hardware  so better get it right the first time.

From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To: Kostik Belousov <kostikbel@gmail.com>
Cc: bug-followup@freebsd.org, kib@freebsd.org
Subject: Re: i386/74008: IBM eServer x225 cannot boot any v5.x - endless dump
 scrolling in bootloader.
Date: Tue, 13 Nov 2007 11:37:47 +0000 (UTC)

 Hi,
 
 it's me again.
 
 Summary: I have two identical machines, behaving different.
           I have two machines which are both fine with a RELENG_7
           loader from Nov 7th (post jhb MFCs).
 
 Ok, unluckily there was a second identical machine like the first one.
 That second one was only tried with the good working 7 setup up to
 today.
 
 I will name the machine that I had been talking in this PR up to now
 m#1 and the second, new one, m#2.
 
 Bot machines work fine with the "new 7" loader so from now on I am
 explaining what I tried with the old one:
 
 Trying an old loader from October (where all this started) on
 
 m#1 now gives the BTX version line and a "hang" which as I now know after
      all the debugging is because the old loader is trying CHS access by
      default and not EDD. CHS does not seem to work in this setup.
      I am no way able to reproduce the BTX halted + stack trace on this
      machine even with the old original loader.
 
 m#2 gives the BTX halted + stack trace with the old original loader,
      the same thing I had seen on m#1 and am no longer able to reproduce.
 
 So the next thing tried was updating the BIOS on m#2 like it was done
 on m#1 before. reboot and direct power off and unplug (had to
 disconnect the CD-ROm and reconnect the Flash).
 
 Directly try to boot the freebsd from flash got me the same stack
 trace.
 
 I have done multiple rounds through BIOS setup + try + sometimes power
 off/unplug + coffee(not really) with no or small BIOS changes each
 time.
 
 No change to get away with the stack trace.
 
 In the end I had both machines on serial console and checked the
 (visible) BIOS settings were 1:1 identical (modulo UUID, MAC-Address
 and IPMI IP).
 
 No change. m#1 still "hung" and m#2 still gave the backtrace.
 
 I checked both LSI BIOS options to be identical and checked on serial
 console that all output was identical for both machines (modulo the
 obvious differences).
 
 No change. m#1 still "hung" and m#2 still gave the backtrace.
 
 
 I moved the loader to loader.orig on the flash and put my last debug
 loader in which both had some printfs + used EDD by default.
 
 Both m#1 and m#2 booted without a hickup. Both should the same
 register dumps that I had in.
 
 I restored the loader.orig to loader and both were back to the old
 behavior. m#1 still "hung" and m#2 still gave the backtrace.
 
 
 I last tried the up-to-date stock 7 setup on both machines and they
 were both booting fine.
 
 I am wondering if I should dd nvram to HDD and see if there are any
 obvious differences but I do not know if that's worth.
 
 In the end I have two identical IBM machines behaving differntly
 and I guess that one of my many debugging sessions or the fact that
 the machine was lying around for a week must have poked something that
 is not visible to the outside so that the stack trace went away.
 
 As said before that CHS does not work is strange but them announcing
 an inofficial EDD bit makes on wonder as well.
 
 
 Conclusion: update your loader to RELENG_7 and see if it works and
 report back.
 
 -- 
 Bjoern A. Zeeb                                 bzeeb at Zabbadoz dot NeT
 Software is harder than hardware  so better get it right the first time.
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Wed Jul 14 09:59:01 UTC 2010 
State-Changed-Why:  
Bjoern made extensive effort to this, but there were no replies since 
2007. I'd guess this had been resolved then. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=74008 
>Unformatted:
