Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 May 2008 16:10:51 -0300
From:      Mario Lobo <mlobon@ig.com.br>
To:        freebsd-questions@freebsd.org
Subject:   downgrading /sys/src
Message-ID:  <200805311610.51979.mlobon@ig.com.br>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805311610.51979.mlobon>