problem with Gcc version on LiveCD

Support and queries relating to third party Live CDs and DVD, VM images and other packaged distributions
Post Reply
pbisiac
Posts: 2
Joined: Mon Mar 21, 2005 9:52 am

problem with Gcc version on LiveCD

Post by pbisiac »

Hi, I just installed LiveCD 1.19.5 on an EPIA M10000 MB. All seemed to go fine. Later, I tried to get my Creative Webcam Notebook working, first of all I would make a check with xawtv.
I cannot see /dev/video0, even if I create it when I launch xawtv I get errors. I guess xawtv should run even if I don't have any webcam attached !
Now to the Creative Webcam: I downloaded the spca5xx driver and compiled/installed it. When I do modprobe I get a message about "bad driver format".
As I can see, the kernel was compiled with a C compiler older than the GCC version on the distro, so the module compiled from spurce is incompatible with the current kernel.
I then tried to recompile the kernel. I did make menuconfig, make dep, make bzImage, moved the new kernel in /boot, ran LILO, made make modules and make modules_install.
Bad luck ! When I reboot, I get a series of error about incompatibility of "new" modules, like not everithing got compiled.
Maybe I am doing something wrong with the kernel compilation ? I used to work with RedHat.

Any suggestion/help ?

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

Post by rdmelin »

You've discovered a flaw in the LiveCD installation. :)

It may be easiest to reinstall from the livecd to get your system working again. I'm not sure what went wrong with your kernel recompile. The steps you mention look correct.

I used a kernel from the Mandrake development tree, not realizing they had changed gcc versions. You can compile the spca5xx driver again and it will work fine if you install it with "modprobe -f"


If this becomes an irritation you can either install a Mandrake 10.0 stock kernel, or download the tmb kernel source rpm from 10.1 and rebuild it for 10. I believe your environment is pretty well set up to do this painlessly.

Installing new kernels with rpm on Mandrake is fairly simple. Your old kernel will remain the default, and a new option will appear in the boot menu.

Best regards,

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

Post by rdmelin »

BTW don't worry about the lack of /dev/video0. When the driver for your cam is loaded devfsd will create it.
Post Reply