Re: Weird Problem
Joerg Albert <[email protected]>
| Newsgroups | gmane.linux.drivers.at76c503a.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Mark,
On Sun, 15 Aug 2004, Mark Sansome wrote:
> > cat include/linux/version.h
>
>
> [root@localhost SOURCES]# cd /usr/src/linux-2.6.7*
> [root@localhost linux-2.6.7-1.494.2.2]# pwd
> /usr/src/linux-2.6.7-1.494.2.2
>
> [root@localhost linux-2.6.7-1.494.2.2]# cat include/linux/version.h
> cat: include/linux/version.h: No such file or directory
>
> [root@localhost linux-2.6.7-1.494.2.2]# locate version.h | grep 2.6.7
> /usr/src/linux-2.6.7-1.494.2.2/arch/i386/math-emu/version.h
> /usr/src/linux-2.6.7-1.494.2.2/drivers/net/sk98lin/h/skversion.h
> /usr/src/linux-2.6.7-1.494.2.2/drivers/scsi/qla2xxx/qla_version.h
> /usr/src/linux-2.6.7-1.494.2.2/fs/xfs/linux-2.6/xfs_version.h
> /usr/src/linux-2.6.7-1.494.2.2/include/linux/dvb/version.h
> /usr/src/linux-2.6.7-1.494.2.2/include/pcmcia/version.h
> /usr/src/linux-2.6.7-1.494.2.2/include/sound/version.h
> /lib/modules/2.6.7-1.494.2.2/build/include/linux/dvb/version.h
> /lib/modules/2.6.7-1.494.2.2/build/include/linux/version.h
> /lib/modules/2.6.7-1.494.2.2/build/include/pcmcia/version.h
> /lib/modules/2.6.7-1.494.2.2/build/include/sound/version.h
> [root@localhost linux-2.6.7-1.494.2.2]#
>
> Ummm - which one do you want?
If the fix worked for you, your kernel seems to identify itself internally
as >= 2.6.8 - good.
Anyhow, your kernel source seems to be unconfigured (wonder how
you could get the driver compiled?). To configure it:
- find the config file describing the running kernel (look at "uname -a"
output) - I guess its in /boot, called something like
config*2.6.7-1.494.2.2*
- copy it into /usr/src/linux-2.6.7-1.494.2.2/.config
- cd /usr/src/linux-2.6.7-1.494.2.2; make oldconfig
- If the last command didn't create
/usr/src/linux-2.6.7-1.494.2.2/include/linux/version.h
call "make" there and abort it shortly afterwards.
/Jörg