From owner-freebsd-questions@FreeBSD.ORG Sat May 31 21:05:27 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91CD41065671 for ; Sat, 31 May 2008 21:05:27 +0000 (UTC) (envelope-from dominique.goncalves@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.186]) by mx1.freebsd.org (Postfix) with ESMTP id 11A1D8FC12 for ; Sat, 31 May 2008 21:05:26 +0000 (UTC) (envelope-from dominique.goncalves@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so573192fkk.11 for ; Sat, 31 May 2008 14:05:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=pYHBo5PUUc4vmgZqtliPmp4/eWjD4RELWOU4Hqq7M9g=; b=D7nRTYQmLQads78zefFFguavboR0VPjxplXnmaFcmUFlWhcDQF6UaRmSGWRm/hRd8kKVUW3ElO4Bsh9yaCFqkS5KIIiNxiRQxox9aB6gWIt7ilHRXmzpqxw+6mLUjRN03oFRKA9DJ5HwtgQqvB+AMLeIfBG/Q7omb8rGOo4BegM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=skBfVon0LBPoj0C6D1LCViQQRZgaEibXG5BBupmjrzfs0QRIl1Ir97zsQq01b0GR1uB+a1bH6kMd1XzYvAHqsUWGscWJ0RxEbXi5uX2hkV1dBHiBcwJ8gqc+k7O0GUcLB/c6KRcEYc9+aAc0YTFwsSBLdi9h3OI/HiZ7JWA3GQM= Received: by 10.78.130.14 with SMTP id c14mr2342438hud.105.1212267924736; Sat, 31 May 2008 14:05:24 -0700 (PDT) Received: by 10.78.157.5 with HTTP; Sat, 31 May 2008 14:05:24 -0700 (PDT) Message-ID: <7daacbbe0805311405k2614a519p58c4d731c3f5ef1d@mail.gmail.com> Date: Sat, 31 May 2008 23:05:24 +0200 From: "Dominique Goncalves" To: "Mario Lobo" In-Reply-To: <200805311610.51979.mlobon@ig.com.br> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200805311610.51979.mlobon@ig.com.br> Cc: freebsd-questions@freebsd.org Subject: Re: downgrading /sys/src 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, 31 May 2008 21:05:27 -0000 Hi, On 5/31/08, Mario Lobo wrote: > This may sound wierd but let me explain why. > > On last may/26, I added a Sound Blaster Live to my machine and I wanted = to > activate the midi interface of the emu10kx driver. I know there were some > memory and timming problems but I wanted to experiment. So I did a csup t= o > 7_CURRENT (which is the tag I always use) then edited emu10kx to coment o= ut > the #if 0 that excludes the midi code. I took the oportunity to coment th= e > drivers I did not need to make the kernel smaller. Recompiled and loaded > emu10kx from loader.conf. the Kernel crashed right after the acpi_hpet > driver load. But by loading emu10kx later, there was no crash and SB boa= rd > worked fine. > > A hunch told me to save kernel.old so I moved it to kernel.good which is: > FreeBSD lobo 7.0-STABLE FreeBSD 7.0-STABLE #1: Thu May 22 18:32:28 BRT 20= 08 > root@lobo:/usr/src/sys/i386/compile/LOBO i386 > > After that I went on to make some DVD backups with k3b which ALWAYS worke= d > fine and now, after this upgrade, k3b keeps crashing without finishing. > Software and device buffers usage behaved erratically, and even if it doe= sn't > crash, it stops in around 30% with a write error. I lost a few DVDs, sinc= e I > suspected the DVD+RW may have had something to do with the problem. I > recompiled k3b (and the other ports around it) but results were the same. > > Anyway, after several unsuccessful attempts to correct the problem by > removing/re-adding kernel drivers, recompiles and even removing the SB bo= ard, > I decided to move /boot/kernel to kernel.new, and copied kernel.good to > kernel and voil=E1 ! Everything went back to normal and worked fine! > > What I want to do is to make a copy of my current /src/sys, revert it bac= k to > what it was in may/22 (kernel.good) and compare it with the current /src/= sys > to see what changed that provoked this behavior. I suspect of ata and mem= ory > handling changes but it's just a guess. I'd have to have both sources to > compare. > > So my question is: How can I get my /src/sys back to what it was in may/2= 2? > can this be done? You could use the 'date=3D' option in your stable-supfile: *default release=3Dcvs tag=3DRELENG_7 date=3D20080522000000 man 1 csup for more details Hope this helps Regards. > sorry for the long post and thanks > -- > Mario Lobo > http://www.mallavoodoo.com.br > FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winedows FRE= E) > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" > --=20 There's this old saying: "Give a man a fish, feed him for a day. Teach a man to fish, feed him for life."