From owner-freebsd-sparc64@FreeBSD.ORG Mon Mar 26 11:07:14 2012 Return-Path: Delivered-To: freebsd-sparc64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2A59B106566B for ; Mon, 26 Mar 2012 11:07:14 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 13D928FC08 for ; Mon, 26 Mar 2012 11:07:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2QB7DHT018401 for ; Mon, 26 Mar 2012 11:07:13 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2QB7DXV018399 for freebsd-sparc64@FreeBSD.org; Mon, 26 Mar 2012 11:07:13 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 26 Mar 2012 11:07:13 GMT Message-Id: <201203261107.q2QB7DXV018399@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-sparc64@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-sparc64@FreeBSD.org X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Mar 2012 11:07:14 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o sparc/165025 sparc64 [PATCH] zfsboot support for sparc64 o sparc/164227 sparc64 [boot] Can't boot 9.0-RELEASE/sparc64 on Blade 1500 o sparc/164226 sparc64 [cd] Data corruption on 9.0-RELEASE when reading from o sparc/162513 sparc64 mpt(4), mptutil(8) reports variable, erroneous drive i o sparc/141918 sparc64 [ehci] ehci_interrupt: unrecoverable error, controller s sparc/139134 sparc64 kernel output corruption s sparc/107087 sparc64 [hang] system is hung during boot from CD o sparc/105048 sparc64 [trm] trm(4) panics on sparc64 o sparc/104428 sparc64 [nullfs] nullfs panics on E4500 (but not E420) o sparc/71729 sparc64 printf in kernel thread causes panic on SPARC 10 problems total. From owner-freebsd-sparc64@FreeBSD.ORG Tue Mar 27 18:31:54 2012 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8B0211065674 for ; Tue, 27 Mar 2012 18:31:54 +0000 (UTC) (envelope-from pfrankymee@ymail.com) Received: from mail.flm.ro (frontline1.mediasat.ro [193.226.85.171]) by mx1.freebsd.org (Postfix) with ESMTP id 73EEE8FC14 for ; Tue, 27 Mar 2012 18:31:53 +0000 (UTC) Received: (qmail 26635 invoked by uid 512); 27 Mar 2012 21:31:49 +0300 Received: from 216.59.3.82 by mail.flm.ro (envelope-from , uid 508) with qmail-scanner-1.25-st-qms (spamassassin: 3.2.4. perlscan: 1.25-st-qms. Clear:RC:0(216.59.3.82):SA:0(4.5/5.0):. Processed in 11.041525 secs); 27 Mar 2012 18:31:49 -0000 X-Spam-Status: No, hits=4.5 required=5.0 X-Spam-Level: ++++ X-Antivirus-MYDOMAIN-Mail-From: pfrankymee@ymail.com via mail.flm.ro X-Antivirus-MYDOMAIN: 1.25-st-qms (Clear:RC:0(216.59.3.82):SA:0(4.5/5.0):. Processed in 11.041525 secs Process 26036) Received: from unknown (HELO WIN-TF1IF2F94JN) (test@flm.ro@216.59.3.82) by mail.flm.ro with SMTP; 27 Mar 2012 21:31:38 +0300 Message-ID: <02eac5ed-40995-b21d4802036111@win-tf1if2f94jn> From: "Franky Meersman" To: freebsd-sparc64@freebsd.org Date: Tue, 27 Mar 2012 11:30:30 -0700 MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Priority: 3 Subject: Re: Important Reply. X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Franky Meersman List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Mar 2012 18:31:54 -0000 Good day, My name is Franky Meersman, a senior staff and an executive of a bank here in United Kingdom. I am writing to seek your indulgence and assistance. I wish to make a transfer involving an amount of money estimated at 20,000.000.00 (Twenty Million British Pounds Sterling) and I feel strongly that you will be capable of receiving this fund into your account in your country. I am proposing to make this transfer to a designated bank account of your choice. I could not do this project alone since I am an insider in the bank. A zero account balance or a new account may be opened for this purpose. Thus, for your indulgence and support, I propose an offer of 25% of the total amount to be your compensation and commission after the transfer has been successfully concluded. reply me private (meersmanfr@ymail.com) 447045709908 Thanks and God bless. Regards Franky Meersman From owner-freebsd-sparc64@FreeBSD.ORG Fri Mar 30 13:00:25 2012 Return-Path: Delivered-To: freebsd-sparc64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 824AC106566C for ; Fri, 30 Mar 2012 13:00:25 +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 569C18FC18 for ; Fri, 30 Mar 2012 13:00:25 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2UD0PgA026964 for ; Fri, 30 Mar 2012 13:00:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2UD0PBn026963; Fri, 30 Mar 2012 13:00:25 GMT (envelope-from gnats) Date: Fri, 30 Mar 2012 13:00:25 GMT Message-Id: <201203301300.q2UD0PBn026963@freefall.freebsd.org> To: freebsd-sparc64@FreeBSD.org From: Manuel Tobias Schiller Cc: Subject: Re: sparc64/141918: [ehci] ehci_interrupt: unrecoverable error, controller halted (sparc64) X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Manuel Tobias Schiller List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Mar 2012 13:00:25 -0000 The following reply was made to PR sparc64/141918; it has been noted by GNATS. From: Manuel Tobias Schiller To: bug-followup@FreeBSD.org, bel@orel.ru Cc: Subject: Re: sparc64/141918: [ehci] ehci_interrupt: unrecoverable error, controller halted (sparc64) Date: Fri, 30 Mar 2012 14:58:07 +0200 --Sig_/VHMCV0/0GzXjMMwv0Mf__N+ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Dear all, has there been any progress on this one? I'm seeing basically the same thing with FreeBSD 9, but in my case the problem turns up when I try to mount one of my ZFS filesystems built in a RAIDZ configuration on real hard disks connected over USB. The disks are fine, and the ZFS filesystem was unexported cleanly on a different machine. You can find the kernel messages from dmesg below. I'm willing to test patches, but it might take a while, since my machine (Netra T1 AC200 with a 500 MHz CPU) is not quite that fast when recompiling kernels. Cheers, Manuel This is what I get in dmesg: da10 at umass-sim7 bus 7 scbus12 target 0 lun 0 da10: Fixed Direct Access SCSI-4 device=20 da10: 40.000MB/s transfers da10: 1907727MB (3907024896 512 byte sectors: 255H 255S/T 60084C) ### start mounting the ZFS filesystem on USB disks here, then wait; ### there is a period of insense I/O and a variable amount of time you ### have to wait before the following messages appear: ehci_interrupt: unrecoverable error, controller halted cmd=3D0x00010030 EHCI_CMD_ITC_1 EHCI_CMD_ASE EHCI_CMD_PSE sts=3D0x0000e004 EHCI_STS_ASS EHCI_STS_PSS EHCI_STS_REC EHCI_STS_PCD ien=3D0x00000037 frindex=3D0x00002746 ctrdsegm=3D0x00000000 periodic=3D0xc38cc000 async=3D0x= c2623300 port 1 status=3D0x0000180b port 2 status=3D0x00001000 port 3 status=3D0x00001000 port 4 status=3D0x00001000 ehci_dump_isoc: isochronous dump from frame 0x068: ITD(0xfffff80021621c00) at 0xc3c79c00 next=3D0xc3e78b04 status[0]=3D0x00000000; <> status[1]=3D0x00000000; <> status[2]=3D0x00000000; <> status[3]=3D0x00000000; <> status[4]=3D0x00000000; <> status[5]=3D0x00000000; <> status[6]=3D0x00000000; <> status[7]=3D0x00000000; <> bp[0]=3D0x00000000 addr=3D0x00; endpt=3D0x0 bp[1]=3D0x00000000 dir=3Dout; mpl=3D0x00 bp[2..6]=3D0x00000000,0x00000000,0x00000000,0x00000000,0x00000000 bp_hi=3D0x00000000,0x00000000,0x00000000,0x00000000, 0x00000000,0x00000000,0x00000000 SITD(0xfffff80021634b00) at 0xc3e78b00 next=3D0xc3a78302 portaddr=3D0x00000000 dir=3Dout addr=3D0 endpt=3D0x0 port=3D0x0 huba=3D0x0 mask=3D0x00000000 status=3D0x00000000 <> len=3D0x0 back=3D0x00000001, bp=3D0x00000000,0x00000000,0x00000000,0x00000000 ehci_interrupt: blocking interrupts 0x10 ugen4.2: at usbus4 (disconnected) uhub5: at uhub4, port 1, addr 2 (disconnected) ugen4.3: at usbus4 (disconnected) uhub6: at uhub5, port 1, addr 3 (disconnected) ugen4.11: at usbus4 (disconnected) umass7: at uhub6, port 3, addr 11 (disconnected) (da10:umass-sim7:7:0:0): lost device - 1 outstanding, 1 refs (da10:umass-sim7:7:0:0): oustanding 0 I get the following line when I run "uname -a" FreeBSD router.hinter.bergen2 9.0-STABLE FreeBSD 9.0-STABLE #0: Wed Mar 14 = 17:09:45 CET 2012 root@router.hinter.bergen2:/usr/obj/usr/src/sys/GENER= IC sparc64 --=20 Homepage: http://www.hinterbergen.de/mala OpenPGP: 0xA330353E (DSA) or 0xD87D188C (RSA) --Sig_/VHMCV0/0GzXjMMwv0Mf__N+ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQGcBAEBAgAGBQJPda3fAAoJEEPbVOqHHK4g5kgMAMSNl5bWjpsEddyjpp5uW3GK qSZ+QCyHuKIIV8rJvv93ny9sZ9fbbbWspzJANndlWbPBTs2uDndy5o634oyPk1H6 qMnePC5tz/T3BB/4Gb8meCxu9PnnBIoazCqPcTxEJFk0NfxbhPRTNfcRjBswxU00 BGrdcMg7EDXdc7qB6Kgm1hrI97GMsULeN5vfVAYIfOXku2NGg70mguwlAbrjpX8y H8xossfaGDh18BfipRh5WlTfUKaiAzVEZR0WKpxaOJFyNwwJXN/Ik0wa7HZtiRmb cwhK81gayzglqBdELFM9v1/v5xyCjJx2t6/KIIlShfWi9GvC2W586fqVQgrtLeZI 4Qa5IynEzShtyy8LoIL4MjMImt/Lz/Av8ffnlyhGykQVzxPj0hrob/bOyr1ietYR Zi6beNeIRsBFbTkBzLxFELxjVUWwNOIz9/+GvFsXfWWWqxebGuwPjpqbb4hj1GCD OQcu++17Z+zIxDxbHLMgFsSOe24c5FyY63Clqteo3w== =eklg -----END PGP SIGNATURE----- --Sig_/VHMCV0/0GzXjMMwv0Mf__N+-- From owner-freebsd-sparc64@FreeBSD.ORG Fri Mar 30 13:40:11 2012 Return-Path: Delivered-To: freebsd-sparc64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 201021065673 for ; Fri, 30 Mar 2012 13:40:11 +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 005FA8FC0C for ; Fri, 30 Mar 2012 13:40:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2UDeA2K065694 for ; Fri, 30 Mar 2012 13:40:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2UDeAWp065693; Fri, 30 Mar 2012 13:40:10 GMT (envelope-from gnats) Date: Fri, 30 Mar 2012 13:40:10 GMT Message-Id: <201203301340.q2UDeAWp065693@freefall.freebsd.org> To: freebsd-sparc64@FreeBSD.org From: Manuel Tobias Schiller Cc: Subject: Re: sparc64/141918: [ehci] ehci_interrupt: unrecoverable error, controller halted (sparc64) X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Manuel Tobias Schiller List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Mar 2012 13:40:11 -0000 The following reply was made to PR sparc64/141918; it has been noted by GNATS. From: Manuel Tobias Schiller To: Marius Strobl Cc: bug-followup@FreeBSD.org Subject: Re: sparc64/141918: [ehci] ehci_interrupt: unrecoverable error, controller halted (sparc64) Date: Fri, 30 Mar 2012 15:34:26 +0200 --Sig_/gHEL4HiAvrllVxQb0Mt0M=Z Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 30 Mar 2012 15:30:26 +0200 Marius Strobl wrote: > On Fri, Mar 30, 2012 at 01:00:25PM +0000, Manuel Tobias Schiller wrote: > > The following reply was made to PR sparc64/141918; it has been noted > > by GNATS. > >=20 > > From: Manuel Tobias Schiller > > To: bug-followup@FreeBSD.org, bel@orel.ru > > Cc: =20 > > Subject: Re: sparc64/141918: [ehci] ehci_interrupt: unrecoverable > > error, controller halted (sparc64) > > Date: Fri, 30 Mar 2012 14:58:07 +0200 > >=20 > > --Sig_/VHMCV0/0GzXjMMwv0Mf__N+ > > Content-Type: text/plain; charset=3DUS-ASCII > > Content-Transfer-Encoding: quoted-printable > > =20 > > Dear all, > > =20 > > has there been any progress on this one? I'm seeing basically the > > same thing with FreeBSD 9, but in my case the problem turns up when I > > try to mount one of my ZFS filesystems built in a RAIDZ configuration > > on real hard disks connected over USB. The disks are fine, and the > > ZFS filesystem was unexported cleanly on a different machine. You can > > find the kernel messages from dmesg below. > > =20 > > I'm willing to test patches, but it might take a while, since my > > machine (Netra T1 AC200 with a 500 MHz CPU) is not quite that fast > > when recompiling kernels. > > =20 >=20 > Have you given the two patches mentioned earlier in the audit-trail > of this PR a try? It's probably a good idea to additionally put > "options USB_HOST_ALIGN=3D64" into the kernel configuration file > when testing the one for usb_transfer.c. >=20 > Marius Hi Marius, ok, so you did not get feedback on those patches. I'll try to give it a try over the weekend (in between my LHCb analysis work), and I'll let you know what comes out. Manuel --=20 Homepage: http://www.hinterbergen.de/mala OpenPGP: 0xA330353E (DSA) or 0xD87D188C (RSA) --Sig_/gHEL4HiAvrllVxQb0Mt0M=Z Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQGcBAEBAgAGBQJPdbZjAAoJEEPbVOqHHK4g/jUL/1m3r5IgUZQW6g5harWd4ssU 0KPXBMDpH10ekHFlRa91eyvGATbax8xoiRhAjmiBjeBlXC6tXxD1PrDnguDnR8zA I51CPyJ+10Tkr1z3LcnSmNHF/kAro8C3b07BHXcInAURnzGPHSloPVX5/lKWmLVn 2fCsJI9r0DPNl3i0KaP/l30AVJvRqqeJAwedJzvEU6QchKyERjvjMf2pP37RTX9f Kh4yhwNLYvSm7kJPrpd1rBDkKAeXnn33JcvHlfQ776Z52Obv9wXe/XsSoS0SxTo1 KCPnfAYr6bNvdRRfDhImWkJjzmEVApoEQZc+4J/Rn5VcAv3vNH2R9oQZSlyK2I/C urRdmAJ10r+CvFV8S3IBb6uHSudYs0YTjUJf93LR7onMlabbv5EAF4Jv7uwqF2P+ 8jgO52iXppriZaB7Zq4lD/p/EQw7WrLchgEHsGz3+WNLt7T0qQe+vnW1cAyraR8T 7C4ABh3vYc1+Jyd4BM3WSBmNxU0al0aMUhlD9Ytudw== =Oa8c -----END PGP SIGNATURE----- --Sig_/gHEL4HiAvrllVxQb0Mt0M=Z-- From owner-freebsd-sparc64@FreeBSD.ORG Fri Mar 30 14:00:29 2012 Return-Path: Delivered-To: freebsd-sparc64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 325AA106564A for ; Fri, 30 Mar 2012 14:00:29 +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 039298FC12 for ; Fri, 30 Mar 2012 14:00:29 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2UE0ShU082937 for ; Fri, 30 Mar 2012 14:00:28 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2UE0S15082934; Fri, 30 Mar 2012 14:00:28 GMT (envelope-from gnats) Date: Fri, 30 Mar 2012 14:00:28 GMT Message-Id: <201203301400.q2UE0S15082934@freefall.freebsd.org> To: freebsd-sparc64@FreeBSD.org From: Marius Strobl Cc: Subject: Re: sparc64/141918: [ehci] ehci_interrupt: unrecoverable error, controller halted (sparc64) X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marius Strobl List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Mar 2012 14:00:29 -0000 The following reply was made to PR sparc64/141918; it has been noted by GNATS. From: Marius Strobl To: Manuel Tobias Schiller Cc: bug-followup@FreeBSD.org Subject: Re: sparc64/141918: [ehci] ehci_interrupt: unrecoverable error, controller halted (sparc64) Date: Fri, 30 Mar 2012 15:50:19 +0200 On Fri, Mar 30, 2012 at 03:34:26PM +0200, Manuel Tobias Schiller wrote: > On Fri, 30 Mar 2012 15:30:26 +0200 > Marius Strobl wrote: > > > On Fri, Mar 30, 2012 at 01:00:25PM +0000, Manuel Tobias Schiller wrote: > > > The following reply was made to PR sparc64/141918; it has been noted > > > by GNATS. > > > > > > From: Manuel Tobias Schiller > > > To: bug-followup@FreeBSD.org, bel@orel.ru > > > Cc: > > > Subject: Re: sparc64/141918: [ehci] ehci_interrupt: unrecoverable > > > error, controller halted (sparc64) > > > Date: Fri, 30 Mar 2012 14:58:07 +0200 > > > > > > --Sig_/VHMCV0/0GzXjMMwv0Mf__N+ > > > Content-Type: text/plain; charset=US-ASCII > > > Content-Transfer-Encoding: quoted-printable > > > > > > Dear all, > > > > > > has there been any progress on this one? I'm seeing basically the > > > same thing with FreeBSD 9, but in my case the problem turns up when I > > > try to mount one of my ZFS filesystems built in a RAIDZ configuration > > > on real hard disks connected over USB. The disks are fine, and the > > > ZFS filesystem was unexported cleanly on a different machine. You can > > > find the kernel messages from dmesg below. > > > > > > I'm willing to test patches, but it might take a while, since my > > > machine (Netra T1 AC200 with a 500 MHz CPU) is not quite that fast > > > when recompiling kernels. > > > > > > > Have you given the two patches mentioned earlier in the audit-trail > > of this PR a try? It's probably a good idea to additionally put > > "options USB_HOST_ALIGN=64" into the kernel configuration file > > when testing the one for usb_transfer.c. > > > > Marius > > Hi Marius, > > ok, so you did not get feedback on those patches. No; so far I also couldn't reproduce this problem using the on-board EHCI controllers in sun4u machines or the add-on cards I have. What controller is this? If I'm not mistaken, the T1-AC200 don't have an on-board EHCI controller. Marius From owner-freebsd-sparc64@FreeBSD.ORG Fri Mar 30 14:00:34 2012 Return-Path: Delivered-To: freebsd-sparc64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C64D91065672 for ; Fri, 30 Mar 2012 14:00:34 +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 AFE208FC15 for ; Fri, 30 Mar 2012 14:00:34 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2UE0YeE083047 for ; Fri, 30 Mar 2012 14:00:34 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2UE0Ya0083044; Fri, 30 Mar 2012 14:00:34 GMT (envelope-from gnats) Date: Fri, 30 Mar 2012 14:00:34 GMT Message-Id: <201203301400.q2UE0Ya0083044@freefall.freebsd.org> To: freebsd-sparc64@FreeBSD.org From: Marius Strobl Cc: Subject: Re: sparc64/141918: [ehci] ehci_interrupt: unrecoverable error, controller halted (sparc64) X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marius Strobl List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Mar 2012 14:00:34 -0000 The following reply was made to PR sparc64/141918; it has been noted by GNATS. From: Marius Strobl To: Manuel Tobias Schiller Cc: bug-followup@FreeBSD.org Subject: Re: sparc64/141918: [ehci] ehci_interrupt: unrecoverable error, controller halted (sparc64) Date: Fri, 30 Mar 2012 15:30:26 +0200 On Fri, Mar 30, 2012 at 01:00:25PM +0000, Manuel Tobias Schiller wrote: > The following reply was made to PR sparc64/141918; it has been noted by GNATS. > > From: Manuel Tobias Schiller > To: bug-followup@FreeBSD.org, bel@orel.ru > Cc: > Subject: Re: sparc64/141918: [ehci] ehci_interrupt: unrecoverable error, > controller halted (sparc64) > Date: Fri, 30 Mar 2012 14:58:07 +0200 > > --Sig_/VHMCV0/0GzXjMMwv0Mf__N+ > Content-Type: text/plain; charset=US-ASCII > Content-Transfer-Encoding: quoted-printable > > Dear all, > > has there been any progress on this one? I'm seeing basically the same > thing with FreeBSD 9, but in my case the problem turns up when I try to > mount one of my ZFS filesystems built in a RAIDZ configuration on real > hard disks connected over USB. The disks are fine, and the ZFS filesystem > was unexported cleanly on a different machine. You can find the kernel > messages from dmesg below. > > I'm willing to test patches, but it might take a while, since my machine > (Netra T1 AC200 with a 500 MHz CPU) is not quite that fast when > recompiling kernels. > Have you given the two patches mentioned earlier in the audit-trail of this PR a try? It's probably a good idea to additionally put "options USB_HOST_ALIGN=64" into the kernel configuration file when testing the one for usb_transfer.c. Marius From owner-freebsd-sparc64@FreeBSD.ORG Fri Mar 30 14:40:07 2012 Return-Path: Delivered-To: freebsd-sparc64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 244B91065670 for ; Fri, 30 Mar 2012 14:40:07 +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 EF9378FC0C for ; Fri, 30 Mar 2012 14:40:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q2UEe6UM020941 for ; Fri, 30 Mar 2012 14:40:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q2UEe6Nq020937; Fri, 30 Mar 2012 14:40:06 GMT (envelope-from gnats) Date: Fri, 30 Mar 2012 14:40:06 GMT Message-Id: <201203301440.q2UEe6Nq020937@freefall.freebsd.org> To: freebsd-sparc64@FreeBSD.org From: Manuel Tobias Schiller (by way of Manuel Tobias Schiller ) Cc: Subject: Re: sparc64/141918: [ehci] ehci_interrupt: unrecoverable error, controller halted (sparc64) X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Manuel Tobias Schiller List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Mar 2012 14:40:07 -0000 The following reply was made to PR sparc64/141918; it has been noted by GNATS. From: Manuel Tobias Schiller (by way of Manuel Tobias Schiller ) To: Marius Strobl Cc: Subject: Re: sparc64/141918: [ehci] ehci_interrupt: unrecoverable error, controller halted (sparc64) Date: Fri, 30 Mar 2012 16:04:13 +0200 --Sig_/39XTsa+J.jgUJ3EIpxh16o7 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 30 Mar 2012 15:50:19 +0200 Marius Strobl wrote: > On Fri, Mar 30, 2012 at 03:34:26PM +0200, Manuel Tobias Schiller wrote: > > On Fri, 30 Mar 2012 15:30:26 +0200 > > Marius Strobl wrote: > >=20 > > > On Fri, Mar 30, 2012 at 01:00:25PM +0000, Manuel Tobias Schiller > > > wrote: > > > > The following reply was made to PR sparc64/141918; it has been > > > > noted by GNATS. > > > >=20 > > > > From: Manuel Tobias Schiller > > > > To: bug-followup@FreeBSD.org, bel@orel.ru > > > > Cc: =20 > > > > Subject: Re: sparc64/141918: [ehci] ehci_interrupt: unrecoverable > > > > error, controller halted (sparc64) > > > > Date: Fri, 30 Mar 2012 14:58:07 +0200 > > > >=20 > > > > --Sig_/VHMCV0/0GzXjMMwv0Mf__N+ > > > > Content-Type: text/plain; charset=3DUS-ASCII > > > > Content-Transfer-Encoding: quoted-printable > > > > =20 > > > > Dear all, > > > > =20 > > > > has there been any progress on this one? I'm seeing basically the > > > > same thing with FreeBSD 9, but in my case the problem turns up > > > > when I try to mount one of my ZFS filesystems built in a RAIDZ > > > > configuration on real hard disks connected over USB. The disks > > > > are fine, and the ZFS filesystem was unexported cleanly on a > > > > different machine. You can find the kernel messages from dmesg > > > > below.=20 > > > > I'm willing to test patches, but it might take a while, since my > > > > machine (Netra T1 AC200 with a 500 MHz CPU) is not quite that fast > > > > when recompiling kernels. > > > > =20 > > >=20 > > > Have you given the two patches mentioned earlier in the audit-trail > > > of this PR a try? It's probably a good idea to additionally put > > > "options USB_HOST_ALIGN=3D64" into the kernel configuration file > > > when testing the one for usb_transfer.c. > > >=20 > > > Marius > >=20 > > Hi Marius, > >=20 > > ok, so you did not get feedback on those patches. >=20 > No; so far I also couldn't reproduce this problem using the on-board > EHCI controllers in sun4u machines or the add-on cards I have. What > controller is this? If I'm not mistaken, the T1-AC200 don't have an > on-board EHCI controller. >=20 > Marius Correct. These are "no-name" VIA PCI USB 2.0 controllers. In the past, I've swapped several of these (bought more than one year apart - this is what you got at the time when buying a USB controller in the area where I used to live) between the two Netra machines I administer, and it does not seems to be specific to the machine or a specific controller card (in the sense that these PCI cards run fine and without hiccups on Linux/ppc and Linux/x86). These are the kernel-messages: uhci0: port 0xc00200-0xc0021f at device 5.0 on = pci2 usbus2: on uhci0 uhci1: port 0xc00220-0xc0023f at device 5.1 on = pci2 usbus3: on uhci1 ehci0: mem 0xa000-0xa0ff at device 5.2 on p= ci2 ehci0: VIA-quirk applied usbus4: EHCI version 1.0 usbus4: on ehci0 The relevant part of "pciconf -l" is: uhci0@pci0:2:5:0: class=3D0x0c0300 card=3D0x30381106 chip=3D0x3038110= 6 rev=3D0x62 hdr=3D0x00 uhci1@pci0:2:5:1: class=3D0x0c0300 card=3D0x30381106 chip=3D0x3038110= 6 rev=3D0x62 hdr=3D0x00 ehci0@pci0:2:5:2: class=3D0x0c0320 card=3D0x31041106 chip=3D0x3104110= 6 rev=3D0x65 hdr=3D0x00 (World and kernel build for the latest 9-STABLE is on its way, first a reference kernel without patches so I know what I compare to...) Manuel --=20 Homepage: http://www.hinterbergen.de/mala OpenPGP: 0xA330353E (DSA) or 0xD87D188C (RSA) --Sig_/39XTsa+J.jgUJ3EIpxh16o7 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQGcBAEBAgAGBQJPdb1dAAoJEEPbVOqHHK4g65IL/0a+3MI5BNSieae9OpWx4NW1 vBbhNHBGt6TiJXz9ftW09SmqYXTcK0I7HBs/M4RnKWNnAjYyh+6m74XxY5ldi9bR nYE+Ts4JKmhQy2kFICT0WdfEVOTj5rYihYtRfqrKrKw49TXDux8n0EqJJCawnpRK X2ZCtDpXLateWCsVcsg1pGQd3nRWcT2A05irKWIg/hSQLeoC3Y421OrxZV/6BXKP fw4skpy5bLqWdWAj4rsW9fPEc+CQ4VQ3TkKqaOPNOiVgwCVLwO2Ruo818X1i3C7q oTRlE5dPpF7Nog8ZxzMog+QWco/CuZ3SHn3eGPZJg++UgVMeqEFl1wr2m3q9yUD9 HlflsatuHZMW9KqzO+STadC5FwSlWFqXL99DvzeXeV7JJa35CtPQRml4PBuMDZGr gWntbPz3mFVFHLmj8bLrFafgXkq9/fpL2mu/voSV6RuHBfU/GDwc0ozDEloI+Da6 cCZPAFhdJfabefFvti5l3pUFi05T1exS54uX6sDqxA== =GLuu -----END PGP SIGNATURE----- --Sig_/39XTsa+J.jgUJ3EIpxh16o7-- From owner-freebsd-sparc64@FreeBSD.ORG Sat Mar 31 02:37:53 2012 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 96087106566B for ; Sat, 31 Mar 2012 02:37:53 +0000 (UTC) (envelope-from dcrosstech@gmail.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id F2BBF8FC20 for ; Sat, 31 Mar 2012 02:37:52 +0000 (UTC) Received: by wgbds12 with SMTP id ds12so1048021wgb.31 for ; Fri, 30 Mar 2012 19:37:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=889epm2FGYz9SGaXQrvtxD9B9+vp0CSHTXyKzqcWF5k=; b=RORgKfC4Ou0WXMXM0sK5hmoYG1gckeYjskBREXmqEsTBFpz7LTFypTpLjA8TSSecnN +7EjVNJZlaLz9sdU/KzsnMIvdpTZJ6mWVxf2ElJeLirlTIon5QN1WBPtpdEU+w5iLK9g 6a3P28BMa+RD7vNOYefvBTxB/aFTK8evavaokpYDUL/ATf/+hCm3/eyc+DtmTBc5F1Hn hIbOCzkq0zZZuXeXwP5K2wV4uyX+q9sCpOzmXUU4k2LMqhhgC4NvEV3X8f2JOVyhXl/P vFKzTED1PUIyN0H3d3bPDillefxm7xUAutio/WFXFd0oe1flpKx9gI/oXo32rMSCDtrO ho5Q== MIME-Version: 1.0 Received: by 10.180.102.3 with SMTP id fk3mr2270797wib.9.1333161471804; Fri, 30 Mar 2012 19:37:51 -0700 (PDT) Received: by 10.223.78.208 with HTTP; Fri, 30 Mar 2012 19:37:51 -0700 (PDT) In-Reply-To: References: Date: Fri, 30 Mar 2012 22:37:51 -0400 Message-ID: From: David Cross To: freebsd-sparc64@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: 9.0-RELEASE, SPARC64, Ultra10, dummynet hard hang X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Mar 2012 02:37:53 -0000 Ok.. to follow up on my own question, I have tracked it down! So, the problem is an unalligned memory access in the "burst" parameter of dn_link. A printf of it on my system gives: &(p->burst)=0x0xfffff80002c48f7c burst is an uint64_t.. that isn't 64bit aligned. This raises a few questions: 1) Why isn't it being autoaligned, doesn't gcc do this (I am almost positive it does (or it should) (I have no /etc/make.conf, completely stock options) 2) Why is this causing a _deadlock_? (note kernel debugger _does_ work.. which was a boon in getting to "close" to where the problem was in the first place) 3) Since it does cause a deadlock, it means that a bus-fault handler is being called that _doesn't_ panic.. and doesn't return correctly? 4) since its not tripping a RED error, its not looping the handler. and 5) given all of the above.. what's the fix? I am modifying dn_link to be 64 bit aligned (manually).. but this feels like the wrong approach (though it will hopefully get me what I want for 'now'. -- David E. Cross On Tue, Mar 20, 2012 at 10:38 AM, David Cross wrote: > I will provide my kernel config in a second updated message, but I don't > believe it will be needed; I am reasonably sure this affects all builds. > > In short I have a SPARC Ultra10 running 9.0-RELEASE (with the > ofw_printf/ofw_panic patches obviously) running a custom kernel that has > dummynet, ipfw, and ipsec compiled into it. It has been running month+ > with no issues. Last night I did: > > ipfw pipe 1 config bw 200KByte/sec > > and then it hard hung, no response to ping, no response to console, didn't > even get it to bind to a ruleset. > > I reset it and did the same command again, same result. > > Any ideas on this? > > -- > David E. Cross