From owner-freebsd-stable@FreeBSD.ORG Thu Mar 26 21:47:12 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 309E1106566B for ; Thu, 26 Mar 2009 21:47:12 +0000 (UTC) (envelope-from pj@smo.de) Received: from ilk.de (mx-out27.ilk.de [194.121.104.27]) by mx1.freebsd.org (Postfix) with ESMTP id ADE498FC15 for ; Thu, 26 Mar 2009 21:47:11 +0000 (UTC) (envelope-from pj@smo.de) Received: from bologna.intern.smo.de (pool44.ka.ilk.net [212.86.194.44]) by ilk.de (8.13.4/8.13.4/ilk-relay) with ESMTP id n2QLl8r9009906; Thu, 26 Mar 2009 22:47:08 +0100 Received: from [192.168.153.208] (herdubreid.intern.smo.de [192.168.153.208]) by bologna.intern.smo.de (8.13.8+Sun/8.13.8) with ESMTP id n2QLktvW004716; Thu, 26 Mar 2009 22:46:55 +0100 (CET) Message-ID: <49CBF85F.90705@smo.de> Date: Thu, 26 Mar 2009 22:49:19 +0100 From: Philipp Ost User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.13) Gecko/20090125 X-Accept-Language: de, en-us, en MIME-Version: 1.0 To: Ronald Klop References: <20090326130634.GA36270@owl.midgard.homeip.net> <49CB8FAC.4080505@icyb.net.ua> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, Andriy Gapon Subject: Re: remote debug over usb vs. old serial cable? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2009 21:47:12 -0000 Ronald Klop wrote: > On Thu, 26 Mar 2009 15:22:36 +0100, Andriy Gapon wrote: > >> on 26/03/2009 15:06 Erik Trulsson said the following: >> >>> On Thu, Mar 26, 2009 at 01:56:13PM +0100, Ronald Klop wrote: >>> >>>> Hello, >>>> >>>> In the past I could catch a panic during boot via a serial cable >>>> connected >>>> to another computer. >>>> My new computer only has USB-ports and ethernet. What kind of cable >>>> do I >>>> need now to do remote debugging? >>>> The old computer also has usb, so I think the connection should be >>>> in that >>>> corner. >>>> They all run 7-STABLE. >>> >>> >>> USB won't work for that purpose. It requires far too much kernel >>> support to >>> be useful after a panic. >> >> >> Erik, >> in fact, there is a special USB (EHCI) mode for such purposes: >> http://www.coreboot.org/EHCI_Debug_Port >> >> But that requires some special HW in addition to SW support which our >> doesn't have. >> >> BTW, Ronald, it is possible that you might have a serial header on >> motherboard >> which is not connected to any traditional port. > > > Is that this sio0 one? > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 > sio0: type 8250 or not responding > sio0: [FILTER] > sio1: configured irq 3 not in bitmap of probed irqs 0 > sio1: port may not be enabled Yes. Mine (onboard) is recognized in a similar fashion: sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled It actually is enabled and working... > I am going to open my computer tonight to see what is in there. You want to look out for a 10 pin connector -- they usually look like jumper connectors (I don't know the correct word in english, in german it's called "Pfostenstecker"). It's even possible that it's there, but not connected in any way -- consult the manual of your mainboard to be sure. Regards, Philipp