Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 May 2008 23:05:24 +0200
From:      "Dominique Goncalves" <dominique.goncalves@gmail.com>
To:        "Mario Lobo" <mlobon@ig.com.br>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: downgrading /sys/src
Message-ID:  <7daacbbe0805311405k2614a519p58c4d731c3f5ef1d@mail.gmail.com>
In-Reply-To: <200805311610.51979.mlobon@ig.com.br>
References:  <200805311610.51979.mlobon@ig.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On 5/31/08, Mario Lobo <mlobon@ig.com.br> 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."



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