From owner-freebsd-questions@FreeBSD.ORG Sat May 31 19:38:53 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 34C811065674 for ; Sat, 31 May 2008 19:38:53 +0000 (UTC) (envelope-from mlobon@ig.com.br) Received: from hs-out-0708.google.com (hs-out-0708.google.com [64.233.178.249]) by mx1.freebsd.org (Postfix) with ESMTP id D17AF8FC1B for ; Sat, 31 May 2008 19:38:52 +0000 (UTC) (envelope-from mlobon@ig.com.br) Received: by hs-out-0708.google.com with SMTP id h53so547226hsh.11 for ; Sat, 31 May 2008 12:38:52 -0700 (PDT) Received: by 10.90.67.10 with SMTP id p10mr8217783aga.81.1212260993843; Sat, 31 May 2008 12:09:53 -0700 (PDT) Received: from lobo ( [189.70.253.146]) by mx.google.com with ESMTPS id 25sm381254aga.10.2008.05.31.12.09.51 (version=SSLv3 cipher=RC4-MD5); Sat, 31 May 2008 12:09:53 -0700 (PDT) From: Mario Lobo Organization: Digiart To: freebsd-questions@freebsd.org Date: Sat, 31 May 2008 16:10:51 -0300 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200805311610.51979.mlobon@ig.com.br> Subject: 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 19:38:53 -0000 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= =20 activate the midi interface of the emu10kx driver. I know there were some=20 memory and timming problems but I wanted to experiment. So I did a csup to= =20 7_CURRENT (which is the tag I always use) then edited emu10kx to coment out= =20 the #if 0 that excludes the midi code. I took the oportunity to coment the= =20 drivers I did not need to make the kernel smaller. Recompiled and loaded=20 emu10kx from loader.conf. the Kernel crashed right after the acpi_hpet=20 driver load. But by loading emu10kx later, there was no crash and SB board= =20 worked fine. A hunch told me to save kernel.old so I moved it to kernel.good which is: =46reeBSD lobo 7.0-STABLE FreeBSD 7.0-STABLE #1: Thu May 22 18:32:28 BRT 20= 08 =20 root@lobo:/usr/src/sys/i386/compile/LOBO i386 After that I went on to make some DVD backups with k3b which ALWAYS worked= =20 fine and now, after this upgrade, k3b keeps crashing without finishing.=20 Software and device buffers usage behaved erratically, and even if it doesn= 't=20 crash, it stops in around 30% with a write error. I lost a few DVDs, since = I=20 suspected the DVD+RW may have had something to do with the problem. I=20 recompiled k3b (and the other ports around it) but results were the same. Anyway, after several unsuccessful attempts to correct the problem by=20 removing/re-adding kernel drivers, recompiles and even removing the SB boar= d,=20 I decided to move /boot/kernel to kernel.new, and copied kernel.good to=20 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 back = to=20 what it was in may/22 (kernel.good) and compare it with the current /src/sy= s=20 to see what changed that provoked this behavior. I suspect of ata and memor= y=20 handling changes but it's just a guess. I'd have to have both sources to=20 compare. So my question is: How can I get my /src/sys back to what it was in may/22? can this be done?=20 sorry for the long post and thanks =2D-=20 Mario Lobo http://www.mallavoodoo.com.br =46reeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winedows FRE= E)