7.1 new install halts on BTX error

Gavin Atkinson gavin at FreeBSD.org
Wed Feb 25 04:13:03 PST 2009


On Thu, 2009-01-29 at 12:13 +0900, David Adam wrote:
> I upgraded my 7.0 system to 7.1-RELEASE with freebsd-update only to find 
> that it no longer boots correctly, instead crashing with a BTX backtrace. 
> If I break to the loader prompt and use 'ls /boot', I also get a 
> backtrace.
> 
> A new install of 7.1 on this hardware using a separate SCSI card and drive 
> array also leads to a BTX backtrace. I have copied this below as the first 
> (most repeatable) error and also included the other problems.
> 
> A fresh install of 7.0 works fine. FreeSBIE 1.0, based on FreeBSD 5.3, 
> also boots fine and will happily list the contents of the original drive's 
> /boot in the loader, although refuses to load the kernel. The FreeBSD 7.1 
> install CD also boots and allows me to install over FTP.

A patch has just gone into HEAD which may fix this problem.  If you want
to test it, it's at
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/boot/i386/btx/btx/btx.S.diff?r1=1.47;r2=1.48
and should apply cleanly.

Thanks,

Gavin


> I have run into BTX problems on this machine before under -CURRENT (see 
> http://lists.freebsd.org/pipermail/freebsd-current/2008-October/089460.html
> ). Dmesg from 7.0 in 
> http://www.freebsd.org/cgi/query-pr.cgi?prp=125769-1-txt&n=/patch.txt
> 
> A new install of 7.1-RELEASE on separate disks leads to this backtrace:
> int=0000000d  err=00001840  efl=00010207  eip=00000511
> eax=04551364  ebx=00000000  ecx=00495cae  edx=00495cae
> esi=00000009  edi=00000001  ebp=00000000  esp=00495cae
> cs=002b  ds=0033  es=0033    fs=0033  gs=0033  ss=0033
> cs:eip=17 00 00 00 00 00 00 0c-00 00 00 00 00 00 00 b9
>        ae 5c 49 00 00 00 00 b9-ae 5c 49 00 00 00 00 c8
> ss:esp=43 18 3c 01 74 08 3c 04-0f 85 e4 00 00 00 0f b6
>        43 19 88 86 94 00 00 00-c7 46 30 00 00 00 00 3c
> 
> BTX error on boot with the 7.0 partition that has been upgraded to 7.1:
> 
> int=0000000d  err=00000000  efl=00010a92  eip=00000430
> eax=ffffff4c  ebx=00006c94  ecx=00000001  edx=00000080
> esi=00000001  edi=ffff9416  ebp=00000000  esp=0008f8b4
> cs=002b  ds=0033  es=002b    fs=0033  gs=0033  ss=0033
> cs:eip=6c 7f 94 48 00 00 00 00-0f af c1 47 00 00 00 00
>        00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
> ss:eip=2b 00 00 00 33 00 00 00-00 0c 04 00 5f ad 08 04
>        00 00 00 00 0f 00 00 00-00 00 00 00 24 1c 06 00
> BTX halted
> 
> If I break to the loader prompt and try 'ls /boot', I get this backtrace:
> 
> int=00000006  err=00000000  efl=00010203  eip=00040c08
> eax=000000c6  ebx=00000008  ecx=eb000000  edx=000000c6
> esi=00000004  edi=000000c2  ebp=00000000  esp=0008f8b4
> cs=002b  ds=0033  es=002b    fs=0033  gs=0033  ss=0033
> cs:eip=8f 49 40 00 94 49 00 cb-00 00 04 00 00 00 fc 07
>        80 00 00 00 04 00 00 00-94 49 00 00 00 00 00 00
> ss:eip=00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
>        00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
> BTX halted
> 
> Any thoughts or suggestions? I will stay on 7.0 for now but have a fairly 
> large supply of spare drives so I can test new installs if required.
> 
> Thanks,
> 
> David Adam
> zanchey at ucc.gu.uwa.edu.au
> 
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"


More information about the freebsd-stable mailing list