From owner-freebsd-questions@FreeBSD.ORG Sat Nov 21 19:15:07 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B06F010656A8 for ; Sat, 21 Nov 2009 19:15:07 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id 876B28FC20 for ; Sat, 21 Nov 2009 19:15:07 +0000 (UTC) Received: by pwj15 with SMTP id 15so2935498pwj.3 for ; Sat, 21 Nov 2009 11:15:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=hQr18fOPT3Cvt9WEkp3s/4EFrQwh/UZ2CYjxkrgPQnE=; b=wGKyJUne1d0NYK+IlVi083eR62C/Xy30o4PVfz9qTiYOa30g/+2NebP2PlljezPv4I mRSzh0CRTFOi/KYS3goF9+RnV45GowoSKyphXaY4P87Ewl/oz1kmmMd8h3fUxH5HJHeI nnlhzP3dZ0N6rkCkmxfrbcOHSJkhc3Gsc99B8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=HuQ/IO2xrz0b7khqfaUiIufUKE36JADGKThOFl82/an0eQX/Tk4eXS8cGY/QweAoyd NDeNuDURNFIUcmg0hHZGMgeDP65QuA2v5F3mKmJJgaAmQxP6McDGELVUIrCPjurat2K3 wSj3iySyGwiNqtjpp+eFSqso/emo3Fur4Jnb0= MIME-Version: 1.0 Received: by 10.115.134.40 with SMTP id l40mr4470347wan.41.1258830907011; Sat, 21 Nov 2009 11:15:07 -0800 (PST) In-Reply-To: <4B083083.4000907@onetel.com> References: <4B083083.4000907@onetel.com> Date: Sat, 21 Nov 2009 12:15:06 -0700 Message-ID: From: Tim Judd To: Chris Whitehouse Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Questions Subject: Re: device hint -> disable firewire or sbp driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Nov 2009 19:15:07 -0000 On 11/21/09, Chris Whitehouse wrote: > Tim Judd wrote: >> Any way via tunables, environment, sysctl or device hints that one can >> disable firewire on the install medium of recent (7.2 and newer) >> Install CD/DVDs? >> >> more than one person is having problems with kernel panics on startup >> due to firewire, and I can't google my way out of this one. >> >> >> >> Any advice from the pros? >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > Tim, > > I've got one of the affected motherboards if this is the problem you mean: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=136327 > > The things that have worked for me are disabling firewire in the BIOS > and using a GENERIC kernel or building a kernel with device sbp disabled > and having firewire enabled in the BIOS. See though, the guys coming to FreeBSD from $another-OS gets a panic from the install medium, which isn't speaking very well of our quality. I got caught with this because the guy I was helping online had an amd64-capable system, to which I don't. I can't build a install CD or kernel to help him. I have a PCI firewire card that runs sbp, but the livecd doesn't panic when i was booting from it. I tried all sorts of disabling hints, tried to go upstream (see it's dependencies and disable it's dependencies) and it still gave me a sbp when the system finished booting. Thought about asking him to run the memstick and disabling it from there, but he still can't get past it booting to tweak anything. He didn't have an option to disable firewire in the BIOS, and there was no bios update from Sony for his Vaio. I got stuck, and it started to wear thin that we have such a major panic on install CDs. My mentality is to offer disk, cd and network support in the kernel on the install CD/DVDs, but the generic kernel that's installed has everything. If others would like to offer suggestions, I'm still open for them. > > hint.sbp.0.disabled="1" in /boot/device.hints with GENERIC kernel - > still get a panic > > sbp_load="YES" in /boot/loader.conf with sbp disabled in the kernel - > get panic. > > It seems ok to kldload sbp after the system is up, ie the machine > doesn't panic, but I don't have anything firewire to test with. > > Would it be an option to have sbp disabled by default in the install > CD's? Those without the problem can put sbp_load in loader.conf, those > with the problem will have to kldload it later but at least they will be > able to install. > > FreeBSD eco.config 8.0-RC2 FreeBSD 8.0-RC2 #1: Thu Oct 29 14:04:02 GMT > 2009 root@eco.config:/usr/obj/usr/src/sys/GENERIC_NO_SBP i386 > > > Chris >