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

Re: compiled kernel problems with ide-scsi and modversions.h



Haim Ashkenazi <haim@consonet.com> writes:
> I'm having problems with the new kernel I've compiled on woody. I've
> used the 2.4.8 source and patched it with xfs filesystem support, and
> loopback filesystem encryption support.

(2.4.8?  Do you mean 2.4.18?)

> It was compiled with make-kpkg.
>
> The problems I have are:
>
> when trying to compile the nvidia drivers it can't find 'modversions.h'.
> indeed there isn't such file in my "<kernel-source>/include/linux/"
> directory. do I have to add a patch or enable some feature so it will
> appear?

That file is normally built as part of the build process; you should
have one.  How are you trying to build the modules?  Assuming you're
using the Debian nvidia-kernel-src package, it should be enough to
unpack /usr/src/nvidia-kernel-src.tar.gz and run 'fakeroot make-kpkg
modules-image' from your kernel source tree.

> The second problem is regarding ide-scsi. I've installed wooey from the
> XFS install cd's (http://people.debian.org/~blade/XFS-Install/). it seem
> that he configured the kernel with no ide-cd support. only ide-scsi. I
> sometimes have problems with it (I have one regular cdrom and one ide
> burner), so I've enabled ide-cdrom and added append="ide-scsi=/dev/hdd"
> in '/etc/lilo.conf'. when I run 'cdrecord -scanbus' I get this output:
>
> cdrecord: No such file or directory. Cannot open SCSI driver.
> cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you
> are root.
> Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
>
> the ide-scsi module is running and the device in '/etc/lilo.conf' is
> correct. any ideas?

Are you, in fact, root?  You might also need the SCSI generic device
driver; try 'modprobe sg'.  (This also explains cdparanoia randomly
losing on SCSI-ish systems, if you run into that problem.)

-- 
David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell



Reply to: