LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-19-2005, 04:10 PM   #16
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49

You cannot use the sources.list configuration above. Each flavour has packages that have certain dependencies on differing libraries and compilers. You might get away with using certain packages from one of the other flavours but often not. You must stick to one flavour.
You have a custom kernel and must get the source from whoever compiled that kernel or you must install a new kernel. They should have the source else they wouldn't have been able to compile that kernel.
 
Old 04-19-2005, 04:47 PM   #17
Mr Smokin Joe
LQ Newbie
 
Registered: Mar 2005
Distribution: Debian
Posts: 28

Original Poster
Rep: Reputation: 15
Well, the original sources.list is:

Code:
deb http://ftp.us.debian.org/debian/ stable main non-free contrib
deb-src http://ftp.us.debian.org/debian/ stable main non-free contrib
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb-src http://non-us.debian.org/debian-non-US stable/non-US main contrib non-f
ree

deb http://security.debian.org/ stable/updates main contrib non-free
If it's not that I guess I gotta do some research on the CF Debian provided.

Thanks much

EDIT: I just found this
http://www.ece.tufts.edu/~jchow/download.html
Sounds like it may have what I need

Joe

Last edited by Mr Smokin Joe; 04-19-2005 at 04:48 PM.
 
Old 04-19-2005, 07:52 PM   #18
Mr Smokin Joe
LQ Newbie
 
Registered: Mar 2005
Distribution: Debian
Posts: 28

Original Poster
Rep: Reputation: 15
Anyone know if something like this would work:

ftp://oz.embeddedarm.com/linux/

Joe

EDIT: Ok, I've checked it out, and the ts8 module contains the kernel version that I have:

2.4.26-vrs1-cirrus-1-2-1-ts8

I'm just not sure if I should point my sources.list to the website or to tar it into /usr/src/ and follow the previous instructions to get this webcam to work.

Joe

Last edited by Mr Smokin Joe; 04-19-2005 at 08:01 PM.
 
Old 04-19-2005, 09:50 PM   #19
Mr Smokin Joe
LQ Newbie
 
Registered: Mar 2005
Distribution: Debian
Posts: 28

Original Poster
Rep: Reputation: 15
I guess I dont have access to the actual internet through my SBC. I have an IP only viewable from the LAN and I can't ping outside computers. Anyone know how I can get to the next step?

Joe
 
Old 04-20-2005, 01:30 AM   #20
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
I am puzzled about the hardware you are using and why this kernel version. What kind of laptop is this? Is it an X86 system?
 
Old 04-20-2005, 01:52 AM   #21
Mr Smokin Joe
LQ Newbie
 
Registered: Mar 2005
Distribution: Debian
Posts: 28

Original Poster
Rep: Reputation: 15
I'm actually using this SBC: http://www.embeddedx86.com/epc/ts7200-spec-h.html

Running the 2.4.26-vrs1-cirrus-1-2-1-ts8 version from a 256mb compact flash.

I've come upon a few readings mentioning the source is in /usr/src/linux/ however it was mentioned how debian doesn't typically have their source there (correct me if i'm wrong). But I just want to find the xconfig/menuconfig/oldconfig files. I've downloaded the .tar file which contains these such modules, however I dont know if I should proceed to put them on.

Joe

EDIT: Anyway, I seem to find problems compiling with my /lib/modules/version/kernel/build/... directories. Once I hit build it all goes down and that's where everything seems to go wrong. I'm curious to know if there's a way to 'reconstruct' this build directory...

When I do it:
Code:
ts7200:/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8# ls -l build
lrwxrwxrwx    1 root     root           31 Mar 16  2005 build -> /home/joff/ts-7200/dist/linux24
Tell me what you think. The link also doesn't exist on my compact flash memory.

Joe

Last edited by Mr Smokin Joe; 04-20-2005 at 02:01 AM.
 
Old 04-20-2005, 02:35 AM   #22
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Debian does put kernel source in /usr/src. /usr/src/linux is part of the source. It may be worth trying to install kernel-source-2.4.26 and then try a make from there. The other possibility is to get the kernel headers for this kernel and put them in /usr/include and then point the make process at the /usr/include/linux.
 
Old 04-20-2005, 05:09 PM   #23
Mr Smokin Joe
LQ Newbie
 
Registered: Mar 2005
Distribution: Debian
Posts: 28

Original Poster
Rep: Reputation: 15
I checked out my /usr/include/linux/ and it seems like everything is there that I need. I guess I make the target of the make /usr/include/linux/ and see what happens. Thanks

Joe

EDIT: Within the makefile for the driver set (spca5xx):

Code:
KERNEL_VERSION = `uname -r`
KERNELDIR := /lib/modules/$(KERNEL_VERSION)/build
Should I change that to point to where all my kernel information is? (/usr/include/linux) or are there some options I should set when I make that I should know about?


Last edited by Mr Smokin Joe; 04-20-2005 at 05:35 PM.
 
Old 04-20-2005, 08:54 PM   #24
Mr Smokin Joe
LQ Newbie
 
Registered: Mar 2005
Distribution: Debian
Posts: 28

Original Poster
Rep: Reputation: 15
Ok, I made some changes to the makefile where I changed the original line posted earlier to

Code:
KINCLUDE = /usr/include
About to make it, but unfortunately it says to
Code:
make dep
So I'm trying to update dependencies, however I can't seem to get it to work without it creating an error:

Code:
ts7200:/usr/include# make dep
make: *** No rule to make target `dep'.  Stop.
Any help is appreciated.

Joe
 
Old 04-21-2005, 01:42 AM   #25
ahz
Member
 
Registered: Oct 2004
Posts: 58

Rep: Reputation: 15
Quote:
Originally posted by Mr Smokin Joe
Code:
ts7200:~# uname -r
2.4.26-vrs1-cirrus-1-2-1-ts8
So the wisest thing would be to find the kernel source and install do the /usr/src directory?
Be careful when changing the kernel on the TS-7200. I believe Technologic patched the kernel to make several things work.

There is a TS-7200 manual on TS's web site. Also check out the TS-7200 group on Yahoo: http://groups.yahoo.com/group/ts-7000/
 
Old 04-21-2005, 01:52 AM   #26
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
I have had a detailed look at the make file and these lines I think are the problem for you;

KERNELDIR := /lib/modules/$(KERNEL_VERSION)/build

because it relates to this (lower down);

KINCLUDE = /lib/modules/$(KERNEL_VERSION)/build/include

I have checked my file directories and I have my header files in /usr/src and then I have a soft link from /lib/modules/<kernel_version>/build to the header files in /usr/src. This is what the script is expecting. You need the header files because the second line above points to ..../include which is /usr/include. Unfortunately other lines refer again to this and I don't see any other way around this.
 
Old 04-21-2005, 03:23 AM   #27
Mr Smokin Joe
LQ Newbie
 
Registered: Mar 2005
Distribution: Debian
Posts: 28

Original Poster
Rep: Reputation: 15
It is rather odd, because if you look at some code I posted previously:
Code:
ts7200:/lib/modules/2.4.26-vrs1-cirrus-1-2-1-ts8# ls -l build
lrwxrwxrwx    1 root     root           31 Mar 16  2005 build -> /home/joff/ts-7200/dist/linux24
It points to a non-existant directory. Should I just change the link to point to /usr/local/ (where /usr/local/include/ and all the header files are contained on my system)?

Would that fix something? Unfortunately, while it probably didn't need another post, I now need to find modified videodev modules or something of the sort because the spca5xx drivers require the videodev module... Not sure how to get around this fact.

Joe
 
Old 04-21-2005, 11:19 AM   #28
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
You can try doing a soft link for /lib/modules/<kernel_version>/build to /usr/include. The videodev modules may be available in the kernel modules and you can then install them.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ALSA drivers not working for my Creative Labs SBLIVE! 24Bit card... Please Help!!! TheCowboy Linux - Hardware 2 03-04-2005 02:25 AM
Trouble getting Creative Labs SB Audigy LS to work. (no such device) fbred Linux - Hardware 11 01-22-2005 09:16 PM
Drivers for a LexMark 510 Serise....? and a Creative Labs LIVe 24Bit! HELP! TheCowboy Linux - Hardware 2 01-02-2005 01:58 AM
Creative Labs E-MU 1820m ramowl Linux - Hardware 1 07-17-2004 03:59 PM
Creative Labs SB Live unkind Debian 2 12-02-2003 10:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration