From owner-freebsd-firewire@FreeBSD.ORG Mon Jan 18 11:06:55 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 C0EB0106566C for ; Mon, 18 Jan 2010 11:06:55 +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 AF8798FC21 for ; Mon, 18 Jan 2010 11:06:55 +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 o0IB6tCq047516 for ; Mon, 18 Jan 2010 11:06:55 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0IB6tTr047514 for freebsd-firewire@FreeBSD.org; Mon, 18 Jan 2010 11:06:55 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 18 Jan 2010 11:06:55 GMT Message-Id: <201001181106.o0IB6tTr047514@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, 18 Jan 2010 11:06:55 -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/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 9 problems total. From owner-freebsd-firewire@FreeBSD.ORG Tue Jan 19 09:43:28 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 AC9D01065676 for ; Tue, 19 Jan 2010 09:43:28 +0000 (UTC) (envelope-from flymac@mac.com) Received: from asmtpout015.mac.com (asmtpout015.mac.com [17.148.16.90]) by mx1.freebsd.org (Postfix) with ESMTP id 897B68FC1C for ; Tue, 19 Jan 2010 09:43:26 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1 Received: from spool004.mac.com ([10.150.69.54]) by asmtp015.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTP id <0KWH00C2BK7HUY20@asmtp015.mac.com> for freebsd-firewire@freebsd.org; Tue, 19 Jan 2010 00:43:12 -0800 (PST) X-Proofpoint-Spam-Details: rule=notspam policy=default score=2 spamscore=2 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1001190008 Received: from webmail076 ([10.13.128.76]) by spool004.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTP id <0KWH003GXK7I17A0@spool004.mac.com> for freebsd-firewire@freebsd.org; Tue, 19 Jan 2010 00:42:54 -0800 (PST) X-Proofpoint-Spam-Details: rule=notspam policy=default score=1 spamscore=1 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1001190008 Date: Tue, 19 Jan 2010 09:42:54 +0100 From: Kevin Roettger To: freebsd-firewire@freebsd.org Message-id: <122773021388063697565656768835963591048-Webmail@me.com> Received: from [88.191.64.145] from webmail.me.com with HTTP; Tue, 19 Jan 2010 09:42:54 +0100 Received: from [ 88.221.192.5] from webmail.me.com with HTTP; Tue, 19 Jan 2010 09:42:54 +0100 X-Originating-IP: 88.191.64.145, 88.221.192.5 Subject: Boot from Firewire (VIA Fire II) 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, 19 Jan 2010 09:43:28 -0000 Hello, I am trying to boot from a Firewire drive using FreeBSD 8.0 on a i386 system. My motherboard is an Asus A7V8X-X and Firewire ports are provided using a VIA Fire II (VT6306) PCI card. The card works once FreeBSD is booted from internal IDE drive for example (seen as fwohci0) but I cannot boot from it. I've tried pretty much all boot possibilities in the BIOS and no luck (it doesn't even find the drive). My question is: is it possible to "bootstrap" from another source (USB stick, floppy...), load a small kernel with Firewire support to see the drive and then switch kernels to "boot again" from that FW drive? Of course It would be nice to not need the USB stick for anything once switched to the FW drive (but not mandatory). Actually, FreeBSD is already installed on this machine but using internal IDE, I'd like to remove all drives from inside the computer case and use only an external drive enclosure. Ideally I would like to keep the same drive and not reinstall (of course I assume fstab changes are needed). Many thanks for your help! Kevin From owner-freebsd-firewire@FreeBSD.ORG Wed Jan 20 05:11:57 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 03E55106566C for ; Wed, 20 Jan 2010 05:11:57 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from sopwith.solgatos.com (pool-98-108-131-15.ptldor.fios.verizon.net [98.108.131.15]) by mx1.freebsd.org (Postfix) with ESMTP id D74158FC0C for ; Wed, 20 Jan 2010 05:11:55 +0000 (UTC) Received: by sopwith.solgatos.com (Postfix, from userid 66) id 51E48B650; Sat, 16 Jan 2010 12:27:02 -0800 (PST) Received: from localhost by sopwith.solgatos.com (8.8.8/6.24) id FAA18830; Wed, 20 Jan 2010 05:04:53 GMT Message-Id: <201001200504.FAA18830@sopwith.solgatos.com> To: Kevin Roettger In-reply-to: Your message of "Tue, 19 Jan 2010 09:42:54 +0100." <122773021388063697565656768835963591048-Webmail@me.com> Date: Tue, 19 Jan 2010 21:04:53 PST From: Dieter Cc: freebsd-firewire@freebsd.org Subject: Re: Boot from Firewire (VIA Fire II) 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: Wed, 20 Jan 2010 05:11:57 -0000 > I am trying to boot from a Firewire drive using FreeBSD 8.0 on a i386 > system. My motherboard is an Asus A7V8X-X and Firewire ports are > provided using a VIA Fire II (VT6306) PCI card. > > The card works once FreeBSD is booted from internal IDE drive for example > (seen as fwohci0) but I cannot boot from it. I've tried pretty much all boot > possibilities in the BIOS and no luck (it doesn't even find the drive). I think your VIA card needs to have a "BIOS boot ROM" in order to boot from it. Alternately, if one of the FLOSS BIOSs supports your mainboard, it might be possible to add support there. I have a mainboard with the VT6307 onboard, but I don't recall seeing any mention of it (or Firewire) in the BIOS. On an unrelated note, are you able to get your VT6306 into "non-CYCLEMASTER mode"? > My question is: is it possible to "bootstrap" from another source (USB stick, > floppy...), load a small kernel with Firewire support to see the drive and then > switch kernels to "boot again" from that FW drive? Of course It would be nice > to not need the USB stick for anything once switched to the FW drive (but not > mandatory). You might be able to boot the FreeBSD boot loader from some bootable device, and have the boot loader load the kernel from a Firewire drive. See loader(8). Environment variables that look potentially useful: rootdev, bootfile, currdev. I don't know if the boot loader knows how to talk to the VIA card and load from a Firewire drive. If this doesn't work, I think you'd need most or all of /boot on the bootable device. > Actually, FreeBSD is already installed on this machine but using internal IDE, > I'd like to remove all drives from inside the computer case and use only an > external drive enclosure. Ideally I would like to keep the same drive and not > reinstall (of course I assume fstab changes are needed). If your main goal is to get the disks outside the case, you might consider eSATA. If your mainboard doesn't have SATA, you can add a SATA controller card, or use a PATA-to-SATA bridge. eSATA is a lot faster then Firewire or USB. Downside is that the cables can't be as long. From owner-freebsd-firewire@FreeBSD.ORG Wed Jan 20 09:36:18 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 EF1FF1065672 for ; Wed, 20 Jan 2010 09:36:18 +0000 (UTC) (envelope-from flymac@mac.com) Received: from asmtpout020.mac.com (asmtpout020.mac.com [17.148.16.95]) by mx1.freebsd.org (Postfix) with ESMTP id CDDCA8FC15 for ; Wed, 20 Jan 2010 09:36:18 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1 Received: from spool002.mac.com ([10.150.69.52]) by asmtp020.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTP id <0KWJ00HL5HBBWA70@asmtp020.mac.com> for freebsd-firewire@freebsd.org; Wed, 20 Jan 2010 01:36:18 -0800 (PST) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1001200019 Received: from webmail065 ([10.13.128.65]) by spool002.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTP id <0KWJ0069ZHBR8M20@spool002.mac.com> for freebsd-firewire@freebsd.org; Wed, 20 Jan 2010 01:35:52 -0800 (PST) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-1001200019 Date: Wed, 20 Jan 2010 10:35:51 +0100 From: Kevin Roettger To: freebsd-firewire@freebsd.org Message-id: <9755046264163886827980728780868960484-Webmail@me.com> In-reply-to: <39126075969453956226400070016693034694-Webmail@me.com> References: <39126075969453956226400070016693034694-Webmail@me.com> Received: from [195.160.149.36] from webmail.me.com with HTTP; Wed, 20 Jan 2010 10:35:51 +0100 Received: from [ 80.239.234.181] from webmail.me.com with HTTP; Wed, 20 Jan 2010 10:35:51 +0100 X-Originating-IP: 195.160.149.36, 80.239.234.181 Subject: Re: Boot from Firewire (VIA Fire II) 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: Wed, 20 Jan 2010 09:36:19 -0000 Hello Dieter, First off, thanks for taking the time to answer. >I think your VIA card needs to have a "BIOS boot ROM" in order to boot from it. Doesn't look so good there, it's a noname PCI card recovered from an old PC... anyhow the BIOS does not find it no matter what I choose to boot from. >Alternately, if one of the FLOSS BIOSs supports your mainboard, it might >be possible to add support there. That's a good idea, I will definitly check it out. >I have a mainboard with the VT6307 onboard, but I don't recall seeing any mention >of it (or Firewire) in the BIOS. On an unrelated note, are you able to get your >VT6306 into "non-CYCLEMASTER mode"? Indeed the BIOS does not mention Firewire at all, but I thought maybe SCSI could work since SCSI emulation is used for many things. Being not familiar with the CYCLEMASTER mode, I googled around and just tried this: saloon# fwcontrol -u 0 -f 0 send phy_config root_node=0 gap_count=-1 saloon# fwcontrol -u 0 -r After those commands, end of dmesg gives me this: fwohci0: Initiate bus reset fwohci0: fwohci_intr_core: BUS reset fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=2, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me) firewire0: bus manager 0 >You might be able to boot the FreeBSD boot loader [...] >If this doesn't work, I think you'd need most or all of /boot on the >bootable device. Thanks. This is probably the easiest way to go: boot off an USB stick with a minimal FreeBSD on it and mount the FW drive afterwards, hoping it doesn't slow down the system too much. >If your main goal is to get the disks outside the case, you might consider eSATA [...] You are definitely right, but I have a spare FW case I cannot use anymore on my Mac and I don't need very high I/O speeds. So if I can do it without buying new hardware it would be nice... :) Besides, it's a nice little challenge! Cheers Kevin