From owner-freebsd-usb@FreeBSD.ORG Sat Apr 5 21:33:52 2008 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F064106566C; Sat, 5 Apr 2008 21:33:52 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from smtp-gw1.starman.ee (smtp-out3.starman.ee [85.253.0.5]) by mx1.freebsd.org (Postfix) with ESMTP id C32C68FC23; Sat, 5 Apr 2008 21:33:51 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from mx2.starman.ee (mx2.starman.ee [62.65.192.17]) by smtp-gw1.starman.ee (Postfix) with ESMTP id 268E73D88D3; Sun, 6 Apr 2008 00:33:50 +0300 (EEST) X-Virus-Scanned: by Amavisd-New at mx2.starman.ee Received: from [192.168.2.101] (pc197.host50.starman.ee [62.65.242.197]) by mx2.starman.ee (Postfix) with ESMTP id 0EBFF3F4068; Sun, 6 Apr 2008 00:33:50 +0300 (EEST) From: Andrei Kolu To: freebsd-usb@freebsd.org Date: Sun, 6 Apr 2008 00:33:50 +0300 User-Agent: KMail/1.9.7 References: <200804052236.49472.antik@bsd.ee> <200804060024.39019.antik@bsd.ee> In-Reply-To: <200804060024.39019.antik@bsd.ee> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804060033.50609.antik@bsd.ee> Cc: freebsd-stable@freebsd.org Subject: Re: USB to RS232 converter problem (prolific chip) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Apr 2008 21:33:52 -0000 On Sunday 06 April 2008 00:24:38 Andrei Kolu wrote: > On Saturday 05 April 2008 23:48:59 you wrote: > > On Sat, 5 Apr 2008, Andrei Kolu wrote: > > > I have problems using USB to RS232 converter under FreeBSD 6.3-STABLE > > > when connecting to any Cisco gear over serial link. I connect my > > > adapter to notebook and dmesg output looks like this one: > > > > > > ucom0: Prolific Technology Inc. USB-Serial Controller D, rev 1.10/4.00, > > > addr 2 > > > > > > I have also following modules loaded: > > > > > > 8 1 0xc0c17000 3540 umodem.ko# cu -l /dev/ttyU0 > > > Connected > > > > > > 9 4 0xc0c1b000 3208 ucom.ko > > > 10 1 0xc0c1f000 2f54 uplcom.ko > > > 13 1 0xc0c2f000 3384 ubsa.ko > > > > > > Now I try to connect to Cisco box: > > > > > > # cu -l /dev/ttyU0 > > > Connected > > > > Use /dev/cuaU0 instead. > > > > -Warren Block * Rapid City, South Dakota USA > > There is no difference if I connect through /dev/ttyU0 or /dev/cuaU0 and > even through ttyU1 or cuaU1 (when second serial converter is connected)- > same problem. I tried on other computer with FreeBSD 6.1 and 7.0-STABLE > snapshot from march- same results. > > Something is broken on FreeBSD side- strange thing is that when I turn > power down on cisco box and turn in on again then I see scrolling text from > cisco gear but there is no feedback to keyboard activity. How to debug this > issue? > Some progress on debugging! Just kiddin... I removed converter from USB and FreeBSD 7.0 kernel dumped following information: ucom0: ucomreadcb: IOERROR ucom0: at uhub1 port 1 (addr 2) disconnected ucom0: uplcom_set_line_status: STALLED Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address = 0xb0 fault code = supervisor read data, page not present instruction pointer = 0x8:0xffffffff80446f72 stack pointer = 0x10:0xffffffffae796a00 frame pointer = 0x10:0xffffff000172b400 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 876 (cu) trap number = 12 panic: page fault cpuid: 1 Uptime: 8m41s Physical memory: 2802 MB Dumping 126 MB: 111 95 79 63 47 31 15 Dump complete