compile last kernel

Support and queries relating to third party Live CDs and DVD, VM images and other packaged distributions
Post Reply
User avatar
davide
Posts: 78
Joined: Mon Mar 22, 2004 1:04 am
Location: Italy

compile last kernel

Post by davide »

as you can read from this thread
http://www.zoneminder.com/forums/viewtopic.php?t=3413
I have a problem with bttv.
Ross suggested to boot with noapic and pci=noacpi I think to solve irq problems. I hope this work but i'd like to update the kernel to 2.6.6 because as you can read from http://www.kernel.org/pub/linux/kernel/ ... eLog-2.6.6
<akpm@osdl.org>
[PATCH] v4l: bttv driver update

From: Gerd Knorr <kraxel@bytesex.org>

This patch updates the bttv driver. Changes:

(1) several card-specific tweaks.
(2) make software vs. hardware i2c configurable per TV card.
(3) reinitialize image parameters after chip reset.
(4) make bttv quite by default on frame drops.
(5) new insmod option: "debug_latency=1" to enable frame drop
debug messages.

bttv is quite sensitive to irq latencies, especially when capturing both
video and vbi. There are several reports about problems due to this, I don't
see that on my machines through. (5) dumps a stracktrace if the driver
thinks the frame drop is is caused by high latencies as experiment, lets see
whenever that helps ...
new kernel should restore images after a chip reset and make bttv give zmc good images even after a Sync Failure..

Can you help me updating the kernel? I tryed before but without success on LiveCD1.17.0 installation.
Any link to a procedure to follow for safely update a 2.6.3 to 2.6.6?

thanks,
User avatar
rdmelin
Posts: 863
Joined: Wed Oct 29, 2003 2:23 pm
Location: Ellensburg, WA USA

Post by rdmelin »

I would certainly not discourage you from building your own kernel from source, as it is a very educational process. That said, it is by far easier to simply snag a 2.6.6 kernel from Mandrake's development tree (Cooker) and install it. Just download and do "rpm -ivh kernel...rpm" It will create a new entry in lilo.conf and leave your old kernel as a fallback option.
You can download from here:
ftp://ftp.nluug.nl/mirror/os/Linux/dist ... rake/RPMS/
or any Mandrake development mirror.
If bandwidth and disk space are not an issue, I would suggest also installing the matching kernel-source RPM. Since Cooker is always changing, the same version kernel source may not be available later. If the kernel works well for you, you may want the source so that you can build third party modules, etc.
User avatar
davide
Posts: 78
Joined: Mon Mar 22, 2004 1:04 am
Location: Italy

Post by davide »

thank you Ross, I'll start with the easy way for now.
wkstill
Posts: 30
Joined: Thu Jul 22, 2004 7:13 pm
Location: CLW,FL
Contact:

Post by wkstill »

doh..

ok, a) i getting segfaults after initing swap volume, so, i pulled my capture card, it loads, so i am thinking I try kernal update, however, I can't find the RPM for the new kernal?? I only see 2.4.x on that ftp site, and better locations? or am looking at it wrong ? b) i installed the bootloader on the mbr on hda and on reboot no bootloader ? anyway to just installing the bl?

--
mb: asus a7n8x-e, 1g ram, 320gig hd on sata raid, 20gig on hda on primary ide., capture card: voxtechnologies ivc-200 w/Conexant FusionTM 878A x 4
User avatar
rdmelin
Posts: 863
Joined: Wed Oct 29, 2003 2:23 pm
Location: Ellensburg, WA USA

Post by rdmelin »

My best guess about the bootloader is that you selected the mbr and then clicked "Next" instead if the "Install" button. Maybe so? I have only done that about a dozen times. The simplest solution is to run the install again.

I am currently using a 2.6.7 kernel from "Cooker" and will probably use it on the next version of the livecd. You can find it here:
ftp://ftp.sunet.se/pub/Linux/distributi ... trib/i586/

The one I am using is kernel-tmb-2.6.7-2.tmb.3mdk-1-1mdk.i586.rpm

If you would try it and let me know how it works for you I would appreciate it.

Best regards,
Ross
wkstill
Posts: 30
Joined: Thu Jul 22, 2004 7:13 pm
Location: CLW,FL
Contact:

Post by wkstill »

hmm.. I did hit "Install", but i try again, now install "Hangs" when i hit install...

also, on my 'crash' with the 4 ch card installed, it only does it with /dev/hda in the machine, if i remove the card or hda it runs?

Maybe something with the nForce2 IDE channels?/ pci conflicts?
wkstill
Posts: 30
Joined: Thu Jul 22, 2004 7:13 pm
Location: CLW,FL
Contact:

Post by wkstill »

ok, lilo install crash was do to one of the hd's was used on a XP system, and wanted me to press 'n'

after i manual ran lilo , and re-installed it worked..

now, upgrade kernal & get onboard eth0 going, and i re-insert the capture card.
wkstill
Posts: 30
Joined: Thu Jul 22, 2004 7:13 pm
Location: CLW,FL
Contact:

Post by wkstill »

woohooo working :-)

now, for me to beat the piss out of it and stuff..
Post Reply