From owner-freebsd-usb@FreeBSD.ORG Fri Apr 1 14:50:54 2005 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81CF816A4CE for ; Fri, 1 Apr 2005 14:50:54 +0000 (GMT) Received: from avscan2.sentex.ca (avscan2.sentex.ca [199.212.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0E6343D54 for ; Fri, 1 Apr 2005 14:50:53 +0000 (GMT) (envelope-from mike@sentex.net) Received: from localhost (localhost.sentex.ca [127.0.0.1]) by avscan2.sentex.ca (8.12.11/8.12.11) with ESMTP id j31EopPE061689; Fri, 1 Apr 2005 09:50:51 -0500 (EST) (envelope-from mike@sentex.net) Received: from avscan2.sentex.ca ([127.0.0.1]) by localhost (avscan2.sentex.ca [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 61234-04; Fri, 1 Apr 2005 09:50:51 -0500 (EST) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by avscan2.sentex.ca (8.12.11/8.12.11) with ESMTP id j31EooEU061642; Fri, 1 Apr 2005 09:50:50 -0500 (EST) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.12.11/8.12.11) with ESMTP id j31Eogph031003; Fri, 1 Apr 2005 09:50:42 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <6.2.1.2.0.20050401093603.03253ad0@64.7.153.2> X-Mailer: QUALCOMM Windows Eudora Version 6.2.1.2 Date: Fri, 01 Apr 2005 09:50:16 -0500 To: hselasky@c2i.net From: Mike Tancsa In-Reply-To: <200504011631.51760.hselasky@c2i.net> References: <6.2.1.2.0.20050329222822.04f7c500@64.7.153.2> <200503311946.23151.hselasky@c2i.net> <6.2.1.2.0.20050331161947.047c6bf0@64.7.153.2> <200504011631.51760.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new X-Virus-Scanned: by amavisd-new at avscan2b cc: freebsd-usb@freebsd.org Subject: Re: panic: uhci_abort_xfer: not in process context (was Re: uplcom / ucom problems on RELENG_5) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2005 14:50:54 -0000 At 09:31 AM 01/04/2005, Hans Petter Selasky wrote: >What dmsg appears when you attach your device? If "ugen", then make sure you >have got "device ucom" and "device uplcom", in the kernel config file. If you >are loading "ucom"/"uplcom" from modules, make sure that those modules are >re-compiled. Else try to enable debugging and see what happens: Hi, It was showing up as a ucom device. Also, the patches no longer apply cleanly after the MFCs that were done yesterday afternoon. I also have a CURRENT box I can test against if thats easier to try against. Do you know if the patches apply cleanly on it ? Here it is on RELENG_5 as of this morning (bzcat new_usb_1_5_4.diff.bz2 | patch -N -l -d /usr/src) || echo -n Hmm... Looks like a new-style context diff to me... The text leading up to this was: -------------------------- |*** sys/i386/include/bus_at386.h.ref Wed Oct 20 21:32:58 2004 |--- sys/i386/include/bus_at386.h Sat Nov 11 11:11:00 2000 -------------------------- Patching file sys/i386/include/bus_at386.h using Plan A... Hunk #1 failed at 67. Hunk #2 succeeded at 293. Hunk #3 succeeded at 303. Hunk #4 succeeded at 329. Hunk #5 succeeded at 339. Hunk #6 succeeded at 365. Hunk #7 succeeded at 375. Hunk #8 succeeded at 421. Hunk #9 succeeded at 432. Hunk #10 succeeded at 474. Hunk #11 succeeded at 485. Hunk #12 succeeded at 527. Hunk #13 succeeded at 538. Hunk #14 succeeded at 686. Hunk #15 succeeded at 696. Hunk #16 succeeded at 722. Hunk #17 succeeded at 732. Hunk #18 succeeded at 758. Hunk #19 succeeded at 768. Hunk #20 succeeded at 815. Hunk #21 succeeded at 826. Hunk #22 succeeded at 868. Hunk #23 succeeded at 879. Hunk #24 succeeded at 921. Hunk #25 succeeded at 932. 1 out of 25 hunks failed--saving rejects to sys/i386/include/bus_at386.h.rej Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -------------------------- |*** sys/dev/usb/ukbd.c.ref Wed Nov 17 18:56:27 2004 |--- sys/dev/usb/ukbd.c Tue Feb 8 16:32:43 2005 -------------------------- Patching file sys/dev/usb/ukbd.c using Plan A... Hunk #1 succeeded at 53 (offset -1 lines). Hunk #2 succeeded at 238 (offset -1 lines). Hunk #3 succeeded at 685 (offset -1 lines). Hunk #4 succeeded at 693 (offset -1 lines). Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -------------------------- |*** sys/dev/usb/umass.c.ref Wed Nov 17 18:56:27 2004 |--- sys/dev/usb/umass.c Thu Dec 2 12:39:51 2004 -------------------------- Patching file sys/dev/usb/umass.c using Plan A... Hunk #1 succeeded at 110. Hunk #2 failed at 929. Hunk #3 succeeded at 1198 (offset 19 lines). 1 out of 3 hunks failed--saving rejects to sys/dev/usb/umass.c.rej Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -------------------------- |*** sys/dev/usb/umodem.c.ref Wed Nov 17 18:56:27 2004 |--- sys/dev/usb/umodem.c Wed Nov 17 18:07:39 2004 -------------------------- Patching file sys/dev/usb/umodem.c using Plan A... Hunk #1 succeeded at 83. Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -------------------------- |*** sys/dev/usb/uvisor.c.ref Wed Nov 17 18:56:27 2004 |--- sys/dev/usb/uvisor.c Wed Nov 17 18:08:05 2004 -------------------------- Patching file sys/dev/usb/uvisor.c using Plan A... Hunk #1 succeeded at 62. Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -------------------------- |*** sys/dev/usb/ucycom.c.ref Sat Jan 8 16:06:02 2005 |--- sys/dev/usb/ucycom.c Sat Jan 8 16:06:24 2005 -------------------------- Patching file sys/dev/usb/ucycom.c using Plan A... Hunk #1 failed at 46. 1 out of 1 hunks failed--saving rejects to sys/dev/usb/ucycom.c.rej Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -------------------------- |*** sys/dev/usb/hid.c.ref Wed Nov 17 19:57:23 2004 |--- sys/dev/usb/hid.c Wed Nov 17 19:58:38 2004 -------------------------- Patching file sys/dev/usb/hid.c using Plan A... Hunk #1 succeeded at 55. Hmm... The next patch looks like a new-style context diff to me... The text leading up to this was: -------------------------- |*** sys/dev/usb/usb_quirks.c.ref Wed Nov 17 19:59:07 2004 |--- sys/dev/usb/usb_quirks.c Wed Nov 17 19:59:20 2004 -------------------------- Patching file sys/dev/usb/usb_quirks.c using Plan A... Hunk #1 succeeded at 48. done touch /usr/src/sys/dev/usb/usbdevs touch /usr/src/sys/dev/usb2/* (([ ! -f /usr/src/sys/dev/usb/usbhid.h ] || (cat /usr/src/sys/dev/usb/usbhid.h | grep "include " > /dev/null)) && (cp /usr/src/sys/dev/usb2/usb_hid_copy.h /usr/src/sys/dev/usb/usbhid.h)) || echo -n rm -f /usr/include/dev/usb2/* || echo -n cp -v /usr/src/sys/dev/usb2/*h /usr/include/dev/usb2/ || echo -n /usr/src/sys/dev/usb2/ehci.h -> /usr/include/dev/usb2/ehci.h /usr/src/sys/dev/usb2/usb_quirks.h -> /usr/include/dev/usb2/usb_quirks.h /usr/src/sys/dev/usb2/usb_port.h -> /usr/include/dev/usb2/usb_port.h /usr/src/sys/dev/usb2/usb_hid_copy.h -> /usr/include/dev/usb2/usb_hid_copy.h /usr/src/sys/dev/usb2/usb_hid.h -> /usr/include/dev/usb2/usb_hid.h /usr/src/sys/dev/usb2/usb.h -> /usr/include/dev/usb2/usb.h /usr/src/sys/dev/usb2/uhci.h -> /usr/include/dev/usb2/uhci.h /usr/src/sys/dev/usb2/ohci.h -> /usr/include/dev/usb2/ohci.h /usr/src/sys/dev/usb2/hid.h -> /usr/include/dev/usb2/hid.h /usr/src/sys/dev/usb2/usb_subr.h -> /usr/include/dev/usb2/usb_subr.h cat /usr/src/include/Makefile | sed -e s/" dev\/usb2 "/""/g | sed -e s/"LSUBDIRS="/"LSUBDIRS= dev\/usb2 "/g > tempfile cat tempfile > /usr/src/include/Makefile cat /usr/src/sys/conf/kmod.mk | sed -e s/"@\/dev\/usb\/usbdevs -h"/"@\/dev\/usb\/usbdevs"/g | sed -e s/"@\/dev\/usb\/usbdevs -d"/"@\/dev\/usb\/usbdevs"/g > tempfile cat tempfile > /usr/src/sys/conf/kmod.mk [releng5-865]# ---Mike