From owner-freebsd-firewire@FreeBSD.ORG Mon Feb 15 01:53:34 2010 Return-Path: Delivered-To: freebsd-firewire@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D349E1065676 for ; Mon, 15 Feb 2010 01:53:34 +0000 (UTC) (envelope-from freebsd-firewire@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 595AA8FC08 for ; Mon, 15 Feb 2010 01:53:34 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ngq9Q-0000ig-Dt for freebsd-firewire@freebsd.org; Mon, 15 Feb 2010 02:53:28 +0100 Received: from dslb-188-103-032-236.pools.arcor-ip.net ([188.103.32.236]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Feb 2010 02:53:28 +0100 Received: from js by dslb-188-103-032-236.pools.arcor-ip.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Feb 2010 02:53:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-firewire@freebsd.org From: Julian Stecklina Date: Mon, 15 Feb 2010 02:53:03 +0100 Lines: 66 Message-ID: <87zl3b464g.fsf@tabernacle.localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-188-103-032-236.pools.arcor-ip.net User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:dyrVimDfM7Ok6eQH6tpHg2N1e9w= Sender: news Cc: freebsd-current@freebsd.org Subject: fwip -> kernel panic X-BeenThere: freebsd-firewire@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Firewire support in FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2010 01:53:35 -0000 Hello, -STABLE r203907 (amd64) reliable panics when I connect my FreeBSD box to a Linux box using Firewire and do: linux% ifconfig firewire0 up 10.0.0.1 && nc -l -p 9123 fbsd% ifconfig fwip0 up 10.0.0.2 ; echo hello | nc 10.0.0.1 9123 Details follow: kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0xffff0212 fault code = supervisor write data, page not present instruction pointer = 0x20:0xffffffff803db410 stack pointer = 0x28:0xffffff80af3d5890 frame pointer = 0x28:0xffffff80af3d58d0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = resume, IOPL = 0 current process = 0 (fw0_taskq) lock order reversal: (Giant after non-sleepable) 1st 0xffffff008520de10 lle (lle) @ /usr/src/sys/netinet/in.c:1455 2nd 0xffffffff8091ac20 Giant (Giant) @ /usr/src/sys/dev/usb/input/ukbd.c:1594 KDB: stack backtrace: Physical memory: 6128 MB #0 doadump () at pcpu.h:223 #1 0xffffffff801c702c in db_fncall (dummy1=Variable "dummy1" is not available. ) at /usr/src/sys/ddb/db_command.c:548 #2 0xffffffff801c7361 in db_command (last_cmdp=0xffffffff808ea8a0, cmd_table=Variable "cmd_table" is not available. ) at /usr/src/sys/ddb/db_command.c:445 #3 0xffffffff801c75b0 in db_command_loop () at /usr/src/sys/ddb/db_command.c:498 #4 0xffffffff801c9509 in db_trap (type=Variable "type" is not available. ) at /usr/src/sys/ddb/db_main.c:229 #5 0xffffffff803f6715 in kdb_trap (type=12, code=0, tf=0xffffff80af3d57e0) at /usr/src/sys/kern/subr_kdb.c:535 #6 0xffffffff8064c0bd in trap_fatal (frame=0xffffff80af3d57e0, eva=Variable "eva" is not available. ) at /usr/src/sys/amd64/amd64/trap.c:852 #7 0xffffffff8064cae9 in trap (frame=0xffffff80af3d57e0) at /usr/src/sys/amd64/amd64/trap.c:348 #8 0xffffffff80633e13 in calltrap () at /usr/src/sys/amd64/amd64/exception.S:224 #9 0xffffffff803db410 in callout_reset_on (c=0xffffff008520de78, to_ticks=1200000, ftn=0xffffffff8047add0 , arg=0xffffff008520de00, cpu=0) at /usr/src/sys/kern/kern_timeout.c:603 #10 0xffffffff8047bcbc in arpintr (m=0xffffff00041d8b00) at /usr/src/sys/netinet/if_ether.c:698 #11 0xffffffff80473392 in netisr_dispatch_src (proto=7, source=Variable "source" is not available. ) at /usr/src/sys/net/netisr.c:917 #12 0xffffffff8046c4cc in firewire_input (ifp=0xffffff00016cf800, m=0xffffff00041d8b00, src=Variable "src" is not available. ) at /usr/src/sys/net/if_fwsubr.c:630 #13 0xffffffff802837c1 in fwip_stream_input (xferq=0xffffff80003592a0) at /usr/src/sys/dev/firewire/if_fwip.c:858 #14 0xffffffff80281119 in fwohci_task_dma (arg=Variable "arg" is not available. ) at /usr/src/sys/dev/firewire/fwohci.c:2247 #15 0xffffffff80401891 in taskqueue_run (queue=0xffffff0003aa0380) at /usr/src/sys/kern/subr_taskqueue.c:239 #16 0xffffffff80401a1f in taskqueue_thread_loop (arg=Variable "arg" is not available. ) at /usr/src/sys/kern/subr_taskqueue.c:360 #17 0xffffffff803a6692 in fork_exit (callout=0xffffffff804019e0 , arg=0xffffff8000356898, frame=0xffffff80af3d5c80) at /usr/src/sys/kern/kern_fork.c:843 #18 0xffffffff806342ee in fork_trampoline () at /usr/src/sys/amd64/amd64/exception.S:561 -- Julian Stecklina The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners - Ernst Jan Plugge From owner-freebsd-firewire@FreeBSD.ORG Mon Feb 15 11:06:59 2010 Return-Path: Delivered-To: freebsd-firewire@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C2601065670 for ; Mon, 15 Feb 2010 11:06:59 +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 4A18C8FC19 for ; Mon, 15 Feb 2010 11:06:59 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o1FB6x4f070293 for ; Mon, 15 Feb 2010 11:06:59 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o1FB6w0K070291 for freebsd-firewire@FreeBSD.org; Mon, 15 Feb 2010 11:06:58 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 15 Feb 2010 11:06:58 GMT Message-Id: <201002151106.o1FB6w0K070291@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-firewire@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-firewire@FreeBSD.org X-BeenThere: freebsd-firewire@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Firewire support in FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2010 11:06:59 -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 kern/143623 firewire [firewire] firewire fails to attach DV camera and down o kern/139549 firewire [firewire] reconnecting a firewire disk does not cause o kern/136946 firewire [fwohci] fwohci throws an"unrecoverable error" upon re p kern/125673 firewire [firewire] [panic] FreeBSD7 panics when kldunloading f o kern/122951 firewire [firewire] video-transfer via fwcontrol triggers a pan o kern/118093 firewire [firewire] firewire bus reset hogs CPU, causing data t p kern/114646 firewire [firewire] [patch] firewire fails after suspend/resume o kern/113785 firewire [firewire] dropouts when playing DV on firewire o kern/97208 firewire [firewire] System hangs / locks up when a firewire dis o kern/74238 firewire [firewire] fw_rcv: unknown response; firewire ad-hoc w 10 problems total. From owner-freebsd-firewire@FreeBSD.ORG Tue Feb 16 03:01:00 2010 Return-Path: Delivered-To: freebsd-firewire@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28A04106566C for ; Tue, 16 Feb 2010 03:01:00 +0000 (UTC) (envelope-from seanbru@yahoo-inc.com) Received: from mrout1.yahoo.com (mrout1.yahoo.com [216.145.54.171]) by mx1.freebsd.org (Postfix) with ESMTP id F16678FC15 for ; Tue, 16 Feb 2010 03:00:59 +0000 (UTC) Received: from [127.0.0.1] (proxy8.corp.yahoo.com [216.145.48.13]) by mrout1.yahoo.com (8.13.6/8.13.6/y.out) with ESMTP id o1G2odFh012294; Mon, 15 Feb 2010 18:50:39 -0800 (PST) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=subject:from:to:cc:in-reply-to:references:content-type:date: message-id:mime-version:x-mailer:content-transfer-encoding; b=nziBOCT7pUNG/nV4vmhCfIZ7Wh31kIIMAp8owJTwIIC3JSXrDZz2e1TyC9qweJC9 From: Sean Bruno To: Julian Stecklina In-Reply-To: <87zl3b464g.fsf@tabernacle.localhost> References: <87zl3b464g.fsf@tabernacle.localhost> Content-Type: text/plain; charset="UTF-8" Date: Mon, 15 Feb 2010 18:50:39 -0800 Message-ID: <1266288639.3190.6.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.28.2 (2.28.2-1.fc12) Content-Transfer-Encoding: 7bit Cc: "freebsd-firewire@freebsd.org" Subject: Re: fwip -> kernel panic X-BeenThere: freebsd-firewire@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Firewire support in FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2010 03:01:00 -0000 On Sun, 2010-02-14 at 17:53 -0800, Julian Stecklina wrote: > Hello, > > -STABLE r203907 (amd64) reliable panics when I connect my FreeBSD box to > a Linux box using Firewire and do: > > linux% ifconfig firewire0 up 10.0.0.1 && nc -l -p 9123 > fbsd% ifconfig fwip0 up 10.0.0.2 ; echo hello | nc 10.0.0.1 9123 > > Details follow: > > kernel trap 12 with interrupts disabled > > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0xffff0212 > fault code = supervisor write data, page not present > instruction pointer = 0x20:0xffffffff803db410 > stack pointer = 0x28:0xffffff80af3d5890 > frame pointer = 0x28:0xffffff80af3d58d0 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags = resume, IOPL = 0 > current process = 0 (fw0_taskq) > lock order reversal: (Giant after non-sleepable) > 1st 0xffffff008520de10 lle (lle) @ /usr/src/sys/netinet/in.c:1455 > 2nd 0xffffffff8091ac20 Giant (Giant) @ /usr/src/sys/dev/usb/input/ukbd.c:1594 > KDB: stack backtrace: > Physical memory: 6128 MB > > #0 doadump () at pcpu.h:223 > #1 0xffffffff801c702c in db_fncall (dummy1=Variable "dummy1" is not available. > ) at /usr/src/sys/ddb/db_command.c:548 > #2 0xffffffff801c7361 in db_command (last_cmdp=0xffffffff808ea8a0, cmd_table=Variable "cmd_table" is not available. > ) at /usr/src/sys/ddb/db_command.c:445 > #3 0xffffffff801c75b0 in db_command_loop () at /usr/src/sys/ddb/db_command.c:498 > #4 0xffffffff801c9509 in db_trap (type=Variable "type" is not available. > ) at /usr/src/sys/ddb/db_main.c:229 > #5 0xffffffff803f6715 in kdb_trap (type=12, code=0, tf=0xffffff80af3d57e0) at /usr/src/sys/kern/subr_kdb.c:535 > #6 0xffffffff8064c0bd in trap_fatal (frame=0xffffff80af3d57e0, eva=Variable "eva" is not available. > ) at /usr/src/sys/amd64/amd64/trap.c:852 > #7 0xffffffff8064cae9 in trap (frame=0xffffff80af3d57e0) at /usr/src/sys/amd64/amd64/trap.c:348 > #8 0xffffffff80633e13 in calltrap () at /usr/src/sys/amd64/amd64/exception.S:224 > #9 0xffffffff803db410 in callout_reset_on (c=0xffffff008520de78, to_ticks=1200000, ftn=0xffffffff8047add0 , arg=0xffffff008520de00, cpu=0) > at /usr/src/sys/kern/kern_timeout.c:603 > #10 0xffffffff8047bcbc in arpintr (m=0xffffff00041d8b00) at /usr/src/sys/netinet/if_ether.c:698 > #11 0xffffffff80473392 in netisr_dispatch_src (proto=7, source=Variable "source" is not available. > ) at /usr/src/sys/net/netisr.c:917 > #12 0xffffffff8046c4cc in firewire_input (ifp=0xffffff00016cf800, m=0xffffff00041d8b00, src=Variable "src" is not available. > ) at /usr/src/sys/net/if_fwsubr.c:630 > #13 0xffffffff802837c1 in fwip_stream_input (xferq=0xffffff80003592a0) at /usr/src/sys/dev/firewire/if_fwip.c:858 > #14 0xffffffff80281119 in fwohci_task_dma (arg=Variable "arg" is not available. > ) at /usr/src/sys/dev/firewire/fwohci.c:2247 > #15 0xffffffff80401891 in taskqueue_run (queue=0xffffff0003aa0380) at /usr/src/sys/kern/subr_taskqueue.c:239 > #16 0xffffffff80401a1f in taskqueue_thread_loop (arg=Variable "arg" is not available. > ) at /usr/src/sys/kern/subr_taskqueue.c:360 > #17 0xffffffff803a6692 in fork_exit (callout=0xffffffff804019e0 , arg=0xffffff8000356898, frame=0xffffff80af3d5c80) > at /usr/src/sys/kern/kern_fork.c:843 > #18 0xffffffff806342ee in fork_trampoline () at /usr/src/sys/amd64/amd64/exception.S:561 > > Hrm ... fantastic! :( Looks like something is defnitely amiss in my changes. You may want to look through some of the history and start reverting things. I think that this is an endian issue. Is there any chance the linux box is 32 bit? Sean From owner-freebsd-firewire@FreeBSD.ORG Tue Feb 16 11:17:01 2010 Return-Path: Delivered-To: freebsd-firewire@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5476A1065679 for ; Tue, 16 Feb 2010 11:17:01 +0000 (UTC) (envelope-from js@alien8.de) Received: from mail.skyhub.de (cl-3117.ham-01.de.sixxs.net [IPv6:2001:6f8:900:c2c::2]) by mx1.freebsd.org (Postfix) with ESMTP id 045798FC14 for ; Tue, 16 Feb 2010 11:17:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTP id 76D001DA0E3; Tue, 16 Feb 2010 12:16:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alien8.de; s=alien8; t=1266319019; bh=/qr26jLnMHoVLHNPRClPXhqGYAkCGc7zzrdgtxc1VVw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=diH7yq+Tv6l6Mdqvdu+4gN/YGdjOTiSWusYZ3 klC9apQkYxwREbgN8gGW3tCokTvBJJsoKggbme9m7fHBMn0yRJ5WIObUNSqze5qdRL7 +n46yW7pxwU8gakteqMp6K/J94Kitw+cQlNsCpAdgjYZVRuH4HlPUjHd7Mhx0KJ7JBo = X-Virus-Scanned: Nedap ESD1 at mail.skyhub.de Received: from mail.skyhub.de ([127.0.0.1]) by localhost (door.skyhub.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id nOvvUxQnYQBS; Tue, 16 Feb 2010 12:16:59 +0100 (CET) Received: from tabernacle.localnet (unknown [IPv6:2001:6f8:10f6:200:21b:77ff:fe41:11ab]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 1093B1D9887; Tue, 16 Feb 2010 12:16:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alien8.de; s=alien8; t=1266319019; bh=/qr26jLnMHoVLHNPRClPXhqGYAkCGc7zzrdgtxc1VVw=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=diH7yq+Tv6l6Mdqvdu+4gN/YGdjOTiSWusYZ3 klC9apQkYxwREbgN8gGW3tCokTvBJJsoKggbme9m7fHBMn0yRJ5WIObUNSqze5qdRL7 +n46yW7pxwU8gakteqMp6K/J94Kitw+cQlNsCpAdgjYZVRuH4HlPUjHd7Mhx0KJ7JBo = From: Julian Stecklina To: Sean Bruno References: <87zl3b464g.fsf@tabernacle.localhost> <1266288639.3190.6.camel@localhost.localdomain> Date: Tue, 16 Feb 2010 12:16:57 +0100 In-Reply-To: <1266288639.3190.6.camel@localhost.localdomain> (Sean Bruno's message of "Mon, 15 Feb 2010 18:50:39 -0800") Message-ID: <871vglv39y.fsf@tabernacle.localhost> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "freebsd-firewire@freebsd.org" Subject: Re: fwip -> kernel panic X-BeenThere: freebsd-firewire@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Firewire support in FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2010 11:17:01 -0000 Sean Bruno writes: > Hrm ... fantastic! :( Looks like something is defnitely amiss in my > changes. You may want to look through some of the history and start > reverting things. Any change in particular that comes to mind? Otherwise, this is going to take a long time. ;) I could also upload the core file if you can get anything useful out of it. > I think that this is an endian issue. Is there any chance the linux box > is 32 bit? Yes, it is (Linux 2.6.32.3 on x86 with Juju stack). Regards, -- Julian Stecklina The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners - Ernst Jan Plugge