From owner-freebsd-usb@FreeBSD.ORG Tue Aug 14 03:00:14 2007 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B32F016A41B for ; Tue, 14 Aug 2007 03:00:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 90E0413C461 for ; Tue, 14 Aug 2007 03:00:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7E30E1B011417 for ; Tue, 14 Aug 2007 03:00:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7E30EAf011416; Tue, 14 Aug 2007 03:00:14 GMT (envelope-from gnats) Date: Tue, 14 Aug 2007 03:00:14 GMT Message-Id: <200708140300.l7E30EAf011416@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Khairil Yusof Cc: Subject: Re: usb/105186: USB 2.0/ehci on FreeBSD 6.2-PRE/AMD64 crashes box X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Khairil Yusof List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Aug 2007 03:00:14 -0000 The following reply was made to PR usb/105186; it has been noted by GNATS. From: Khairil Yusof To: bug-followup@FreeBSD.org, ohartman@zedat.fu-berlin.de Cc: Subject: Re: usb/105186: USB 2.0/ehci on FreeBSD 6.2-PRE/AMD64 crashes box Date: Tue, 14 Aug 2007 10:20:36 +0800 I tried it with the new usb driver. More concerned with stability. RELEASE 6.2 AMD64 - stock ehci driver, it will just reboot. - stock ohci driver, more stable, but eventually under heavy IO it will crash and reboot. - usb4bsd ohci driver + atausb, stable, no errors. - usb4bsd ehci driver + umass, it will hang - usb4bsd ehci driver + atausb, it will hang, but recover after g_vfs timeout The following are the results of usb4bsd ehci driver + atausb when it hangs: afd0: FAILURE - WRITE_BIG ABORTED COMMAND asc=0x00 ascq=0x00 g_vfs_done():afd0s1d[WRITE(offset=436027670528, length=32768)]error = 5 afd0: FAILURE - WRITE_BIG ABORTED COMMAND asc=0x00 ascq=0x00 g_vfs_done():afd0s1d[WRITE(offset=436027670528, length=32768)]error = 5 afd0: FAILURE - WRITE_BIG ABORTED COMMAND asc=0x00 ascq=0x00 g_vfs_done():afd0s1d[WRITE(offset=444420308992, length=114688)]error = 5 afd0: FAILURE - WRITE_BIG ABORTED COMMAND asc=0x00 ascq=0x00 g_vfs_done():afd0s1d[WRITE(offset=436027670528, length=32768)]error = 5 afd0: FAILURE - WRITE_BIG ABORTED COMMAND asc=0x00 ascq=0x00 afd0: FAILURE - WRITE_BIG ABORTED COMMAND asc=0x00 ascq=0x00 g_vfs_done():afd0s1d[WRITE(offset=444421619712, length=114688)]error = 5 afd0: FAILURE - WRITE_BIG ABORTED COMMAND asc=0x00 ascq=0x00 g_vfs_done():afd0s1d[WRITE(offset=444421619712, length=114688)]error = 5 afd0: FAILURE - WRITE_BIG ABORTED COMMAND asc=0x00 ascq=0x00 g_vfs_done():afd0s1d[WRITE(offset=444421619712, length=114688)]error = 5 afd0: FAILURE - WRITE_BIG ABORTED COMMAND asc=0x00 ascq=0x00 afd0: FAILURE - WRITE_BIG ABORTED COMMAND asc=0x00 ascq=0x00 g_vfs_done():afd0s1d[WRITE(offset=444421619712, length=114688)]error = 5 afd0: FAILURE - WRITE_BIG ABORTED COMMAND asc=0x00 ascq=0x00 afd0: FAILURE - WRITE_BIG ABORTED COMMAND asc=0x00 ascq=0x00 g_vfs_done():afd0s1d[WRITE(offset=444421619712, length=114688)]error = 5 afd0: FAILURE - WRITE_BIG ABORTED COMMAND asc=0x00 ascq=0x00 afd0: FAILURE - WRITE_BIG ABORTED COMMAND asc=0x00 ascq=0x00 g_vfs_done():afd0s1d[WRITE(offset=444421619712, length=114688)]error = 5 afd0: FAILURE - WRITE_BIG ABORTED COMMAND asc=0x00 ascq=0x00 afd0: FAILURE - WRITE_BIG ABORTED COMMAND asc=0x00 ascq=0x00 g_vfs_done():afd0s1d[WRITE(offset=444421619712, length=114688)]error = 5 afd0: FAILURE - WRITE_BIG ABORTED COMMAND asc=0x00 ascq=0x00 afd0: FAILURE - WRITE_BIG ABORTED COMMAND asc=0x00 ascq=0x00 g_vfs_done():afd0s1d[WRITE(offset=444421619712, length=114688)]error = 5 afd0: FAILURE - WRITE_BIG ABORTED COMMAND asc=0x00 ascq=0x00 afd0: FAILURE - WRITE_BIG ABORTED COMMAND asc=0x00 ascq=0x00 g_vfs_done():afd0s1d[WRITE(offset=444421619712, length=114688)]error = 5 afd0: FAILURE - WRITE_BIG ABORTED COMMAND asc=0x00 ascq=0x00 afd0: FAILURE - WRITE_BIG ABORTED COMMAND asc=0x00 ascq=0x00 g_vfs_done():afd0s1d[WRITE(offset=444421619712, length=114688)]error = 5 afd0: FAILURE - WRITE_BIG ABORTED COMMAND asc=0x00 ascq=0x00 afd0: FAILURE - WRITE_BIG ABORTED COMMAND asc=0x00 ascq=0x00 g_vfs_done():afd0s1d[WRITE(offset=444421619712, length=114688)]error = 5 afd0: FAILURE - WRITE_BIG ABORTED COMMAND asc=0x00 ascq=0x00 afd0: FAILURE - WRITE_BIG ABORTED COMMAND asc=0x00 ascq=0x00 g_vfs_done():afd0s1d[WRITE(offset=444421619712, length=114688)]error = 5 afd0: FAILURE - WRITE_BIG ABORTED COMMAND asc=0x00 ascq=0x00 Relevant (I think) dmesg details: CPU: AMD Athlon(tm) 64 Processor 3000+ (999.72-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0xf4a Stepping = 10 Features=0x78bfbff AMD Features=0xe0500800 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0 x4000-0x400f at device 2.5 on pci0 ata0: on atapci0 ata1: on atapci0 ohci0: mem 0xea124000-0xea124fff irq 20 at device 3.0 on pci0 usb0: SMM does not respond, resetting usb0: on ohci0 ohci1: mem 0xea120000-0xea120fff irq 21 at device 3.1 on pci0 usb1: SMM does not respond, resetting usb1: on ohci1 ohci2: mem 0xea121000-0xea121fff irq 22 at device 3.2 on pci0 usb2: SMM does not respond, resetting usb2: on ohci2 ehci0: mem 0xea122000-0xea122fff irq 23 at d evice 3.3 on pci0 usb3: EHCI version 1.0 usb3: on ehci0 sis0: port 0xe000-0xe0ff mem 0xea123000-0xea123fff irq 19 at device 4.0 on pci0 usb0: 12MBps Full Speed USB v1.0 uhub0: uhub0: 3 ports with 3 removable, self powered usb1: 12MBps Full Speed USB v1.0 uhub1: uhub1: 3 ports with 3 removable, self powered usb2: 12MBps Full Speed USB v1.0 uhub2: uhub2: 2 ports with 2 removable, self powered usb3: 480MBps High Speed USB v2.0 uhub3: uhub3: 8 ports with 8 removable, self powered atausb0: atausb0: using SCSI over Bulk-Only ata2: on atausb0 afd0: 476940MB at ata2-master USB2 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00 afd0: FAILURE - PREVENT_ALLOW ILLEGAL REQUEST asc=0x24 ascq=0x00