From owner-freebsd-questions@FreeBSD.ORG Sat Nov 21 22:17:40 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 A3FB61065672 for ; Sat, 21 Nov 2009 22:17:40 +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 77EFA8FC0C for ; Sat, 21 Nov 2009 22:17:40 +0000 (UTC) Received: by pwj15 with SMTP id 15so2986673pwj.3 for ; Sat, 21 Nov 2009 14:17:40 -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=PUIfEg8VZpFBlSPBcaste1CdqyLAmbxNCTwpbDuGF/0=; b=stC9D2WpmNHxE+2e9IGUWr6mdEmk10xlRdafo+a1fHf0rqntQo8a6/xds2e7ZCJ4M+ MMCr8NynpWCK2YyADD6/mVQb98YbJl/mrFB2O5mlGAbbPrBfs0nGEboy7nEgcgyWB5uK 0pHql1Z+0yMD8yysyd6O3T0kisaoij1tDd9uQ= 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=TTos2z87xsMU4elpFRI+CG7EnuTNQKwxovB1dDZISGkCJ0o3Hjt8v29u8Dqj5u6iYK m46cgr09OvVp/ZP3LCLZaVKpRYrfGl86EdPvrMp4fQQ8StCrf9dzDN1/t8uDMHqJexpf B0FtP3+mOBS7OVnAMbuUgCojPSRdEh+0t5AfM= MIME-Version: 1.0 Received: by 10.114.86.11 with SMTP id j11mr4746132wab.73.1258841860023; Sat, 21 Nov 2009 14:17:40 -0800 (PST) In-Reply-To: <25ff90d60911211202s325a4f18u116626beb355ab8d@mail.gmail.com> References: <4B083083.4000907@onetel.com> <25ff90d60911211202s325a4f18u116626beb355ab8d@mail.gmail.com> Date: Sat, 21 Nov 2009 15:17:39 -0700 Message-ID: From: Tim Judd To: David Horn Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Questions , Chris Whitehouse 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 22:17:40 -0000 On 11/21/09, David Horn wrote: > On Sat, Nov 21, 2009 at 2:15 PM, Tim Judd wrote: >> 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. > > As per svn and cvs: > > r199112 | kensmith | 2009-11-09 16:39:42 -0500 (Mon, 09 Nov 2009) | 11 lines > Changed paths: > M /stable/8/sys/amd64/conf/GENERIC > M /stable/8/sys/i386/conf/GENERIC > M /stable/8/sys/ia64/conf/GENERIC > M /stable/8/sys/powerpc/conf/GENERIC > M /stable/8/sys/sparc64/conf/GENERIC > > Comment out the sbp(4) entry for GENERIC config files that contain it. > There are known issues with this driver that are beyond what can be > fixed for 8.0-RELEASE and the bugs can cause boot failure on some systems. > It's not clear if it impacts all systems and there is interest in getting > the problem fixed so for now just comment it out instead of remove it. > > Commit straight to stable/8, this is an 8.0-RELEASE issue. Head was left > alone so work on it can continue there. > > Reviewed by: Primary misc. architecture maintainers (marcel, marius) > > Looks like sbp(4) is disabled on the 8.0 branch already. And if I'm reading the SVN commit right, it went to -STABLE (aka RELENG_8) but not head (aka "."). It still won't fix all of FreeBSD 7 install mediums, right? or is that "to come", maybe in 7.3? Also, if I'm reading the commit right, 8.0-RELEASE is going to have sbp(4) enabled in GENERIC too. Can someone make sure I'm reading that right? > > --Dave >