From nobody@FreeBSD.org  Tue Mar  7 11:35:50 2006
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 F28B316A420
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  7 Mar 2006 11:35:49 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C2F5843D45
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  7 Mar 2006 11:35:49 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k27BZn2s027102
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 7 Mar 2006 11:35:49 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k27BZnnw027101;
	Tue, 7 Mar 2006 11:35:49 GMT
	(envelope-from nobody)
Message-Id: <200603071135.k27BZnnw027101@www.freebsd.org>
Date: Tue, 7 Mar 2006 11:35:49 GMT
From: patrice <patrice@idea.dnsalias.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: btx halted with a flashcard plugged
X-Send-Pr-Version: www-2.3

>Number:         94166
>Category:       kern
>Synopsis:       [boot] btx halted with a flashcard plugged
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 07 11:40:11 GMT 2006
>Closed-Date:    
>Last-Modified:  Mon May 26 11:49:35 UTC 2008
>Originator:     patrice
>Release:        6.0
>Organization:
>Environment:
FreeBSD gencf.dvp.idea 6.0-RELEASE FreeBSD 6.0-RELEASE #1: Fri Mar  3 14:24:31 C
ET 2006     root@buildcf.idea.priv:/usr/src/sys/i386/compile/MINI  i386
>Description:
Hello

I m using a fresh new install of freebsd 6.0, on sata disk.

I have a btx halted error every time i boot with a usb flashcard plugged.

BTX loader 1.00 BTX version 1.01
Consoles Internal video/keyboard
Bios drive A: is disk0

int=0000000d	err=00000000	efl=00030002	eip=00002aca
eax=00000000	ebx=00000000	ecx=00000001	edx=00000001
esi=00000000	edi=00008609	ebp=00000000	esp=000003f6

cs=f000	ds=0000	es=f000	fs=0000	gs=0000	ss=9e3b

btx halted


I have tryed with 2 different usb:
1/ 
umass0: vendor 0x13fe USB Disk 2.0, rev 2.00/1.00 addr 2
da0 at umass0-sim0 bug 0 target 0 lun 0
da0: <USB DISK 2.0 PMAP> Removable Direct Access SCSI-0 Device
da0: 40.000MB/s Transfers
da0: 240MB (492544 512 byte/sectors: 64H 32S/T 240C)

2/
umass0: vendor 0x0457 USB Mass Storage Device, rev 2.00/1.00 addr 2
da0 at umass0-sim0 bug 0 target 0 lun 0
da0: <Ut161 USB2FlashStorage 0.00> Removable Direct Access SCSI-2 Device
da0: 40.000MB/s Transfers
da0: 480MB (983808 512 byte/sectors: 64H 32S/T 480C)


USB flash plugged: BTX Halted
USB flash unplugged: freebsd boot fine

Boot order: hd, then usb hd.

i have found same probleme with release 5.3
>How-To-Repeat:
try to boot with a usb flashcard plugged.
>Fix:

>Release-Note:
>Audit-Trail:

From: User Patrice <patrice@idea.dnsalias.net>
To: bug-followup@FreeBSD.org, patrice@idea.dnsalias.net
Cc:  
Subject: Re: usb/94166: btx halted with a flashcard plugged
Date: Thu, 16 Mar 2006 11:50:33 +0100 (CET)

 Hello
 
 Is there any test i can do for helping the debugging process  ?
 (i m a windows developpers, so i cant help for debugging freebe, but i
 can if u need to recompile or test with any option some kernel/boot part)
 
 I really need to boot with usb storage coz i plan to make several PC for
 firewall and internet access, all booting from a flashcard
 
 Thx
 Patrice
 
 

From: "Mike Wesson" <mw@phatservers.net>
To: <bug-followup@FreeBSD.org>, <patrice@idea.dnsalias.net>
Cc:  
Subject: Re: usb/94166: btx halted with a flashcard plugged
Date: Fri, 11 Aug 2006 00:17:01 -0600

 Having the same issue with a USB CD drive.  Tried with FreeBSD 5.4, 5.5 and
 6.1 install CDs with the same results.
 Supermicro machine with Intel 945 chipset.  Can provide any additional
 details upon request.  Was able to boot Debian and Fedora CDs with this
 configuration without any problems.
 
 
 
 ---
 Mike Wesson
 mw@phatservers.net
 http://www.phatservers.net
  
 

From: Peter Schuller <peter.schuller@infidyne.com>
To: bug-followup@freebsd.org,
 patrice@idea.dnsalias.net
Cc:  
Subject: Re: usb/94166: btx halted with a flashcard plugged
Date: Sun, 20 Jan 2008 15:10:47 +0100

 --nextPart1312543.XZpN1zF4hv
 Content-Type: text/plain;
   charset="us-ascii"
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: inline
 
 =46WIW:
 
 I get the same error trying to boot either a USB flash stick or a USB hard=
 =20
 drive on one of my machines (a quad-core c2d). It's a FreeBSD 7 system on=20
 both, but one of the boot0cfg installed blocks come from a 7 system and the=
 =20
 other from a 6.1 or 6.2 (I do not remember which - this was months ago that=
  I=20
 initially created it).
 
 In the case of the USB flash stick, the exact same stick is bootable on my=
 =20
 ThinkPad T40p laptop.
 
 Interestingly, even though both the stick and the drive are sliced (fdisk -=
 BI=20
 device), no slice/partition (whatever you prefer) is visible when booting a=
 =20
 grub CD and tab-completing the hard drives. That is, the drives (the flash=
 =20
 stick and the USB hard drive respectively) are visible, but grub does not=20
 feel they contain a slice).
 
 Could the BTX problem be a result of whatever it is that is causing the sli=
 ces=20
 to be invisible from what I presume to be the BIOS perspective?
 
 =2D-=20
 / Peter Schuller
 
 PGP userID: 0xE9758B7D or 'Peter Schuller <peter.schuller@infidyne.com>'
 Key retrieval: Send an E-Mail to getpgpkey@scode.org
 E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org
 
 
 --nextPart1312543.XZpN1zF4hv
 Content-Type: application/pgp-signature; name=signature.asc 
 Content-Description: This is a digitally signed message part.
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.4 (FreeBSD)
 
 iD8DBQBHk1ZoDNor2+l1i30RArSjAJ0U06IVI+749WgWq/4Bi9TnH5/nvgCfWwF8
 Gz7E/o41FH+0V5Fj52ZpVmI=
 =PNH3
 -----END PGP SIGNATURE-----
 
 --nextPart1312543.XZpN1zF4hv--
Responsible-Changed-From-To: freebsd-usb->freebsd-bugs 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Mon May 26 11:49:12 UTC 2008 
Responsible-Changed-Why:  
Nothing to do with -usb mailing list 

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