[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Sheflug] Scanner for Sale *Works with Linux*



Matt

> The situation with SuSE up to 7.3 at least is not good with 
> respect to kernel sources and headers.  SuSE kernel sources 
> are installed in /usr/src/linuxXXX; you  might think that 
> /usr/src/linux matches the sources and configuration of the 
> running kernel, but no, it contains the previous one.  
> Wherever the kernel headers are supposed to be, they are not, 
> and need to be constructed.  So, forgetting the injunction 
> NOT to use the area /usr/src/linux, and reading instructions 
> on installing new kernels from the SuSE web pages, I ran make 
> cloneconfig; make dep in the kernel source tree 
> /usr/src/linux-2.4.10.SuSE.  

I have had this problem with SUSE installs and the location of the
kernel sources. 
The last time I installed this was on SUSE 7.1. You could change the
simlink /usr/src/linux to point to the headers for your currently
running kernel. I think I had to do that on one of my installs.

> 
> Now depmod is broken and I can't proceed to installing the drivers:
> 
> radon sane-backends-1.0.8/plustek_driver# make install
> mkdir -p /lib/modules/2.4.10-4GB/misc
> install -c -m "644" pt_drv.o /lib/modules/2.4.10-4GB/misc 
> /sbin/depmod -a
> depmod: Unexpected value (20) in 
> '/lib/modules/2.4.10-4GB/kernel/drivers/ieee1394/sbp2.o' for 
> ieee1394_device_size
> 	It is likely that the kernel structure has changed, if so then
> 	you probably need a new version of modutils to handle 
> this kernel.
> 	Check linux/Documentation/Changes.
> make: *** [install] Error 255
> 
> So I now confidently anticipate major problems with my kernel 
> modules and don't see how to fix things.  No problem, one 
> might think: just re-install kernel sources and rebuild the 
> kernel and away I go.  Not so simple, because there are some 
> little modules in /lib/modules, not in the kernel sources, 
> indeed without any sources at all, that I had to put in on 
> installation of SuSE so I can use the Promise RAID chip on my 
> mobo, to which my HDDs are attached.  Maybe I can uninstall 
> and re-install the kernel-source package and get back to 
> where I started; I don't know if that will work.  And it 
> still leaves me without the plustek modules...
> 
> oh well, I guess I'll keep trying...since otherwise bad 
> things will happen...

I would avoid doing re-building and installing the whole kernel, you
might go and break
Something else and I know you have had problems with that PC and RAID
card in the past!

It's a bit difficult to give advice over e-mail when I cannot see the
machine. If it will help I will download SANE and the module to my
laptop and bring it to the meeting so that we can have a play with it
there.

Perhaps Craig might be able to give a pointer because it was Craig that
always helped me to get the scanner going when I got stuck.

James

___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.