LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 03-26-2009, 01:45 PM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
The default Lenny kernel, of stable, sucks. Alternatives from backports?


Code:
gspcav1-20071224/READ_AND_INSTALL
gspcav1-20071224/Mars-Semi/
gspcav1-20071224/Mars-Semi/mr97311.h
gspcav1-20071224/cutlog.py
rm -r -f *.o decoder/.gspcadecoder.o.cmd decoder/*.o \
        .gspca.o.cmd  *.o *.ko *.mod.* .[a-z]* core *.i \
        *.symvers *.err
make -C /lib/modules/`uname -r`/build SUBDIRS=/tmp/gspcav1-20071224 CC=cc modules
make: *** /lib/modules/2.6.26-1-686/build: No such file or directory.  Stop.
make: *** [default] Error 2
mkdir -p /lib/modules/`uname -r`/kernel/drivers/usb/media/
rm -f /lib/modules/`uname -r`/kernel/drivers/usb/media/spca5xx.ko
rm -f /lib/modules/`uname -r`/kernel/drivers/media/video/gspca.ko
install -c -m 0644 gspca.ko /lib/modules/`uname -r`/kernel/drivers/usb/media/
install: cannot stat `gspca.ko': No such file or directory
make: *** [install] Error 1
FATAL: Module gspca not found.
ERROR: Module gspca does not exist in /proc/modules
insmod: can't read './gspca.ko': No such file or directory
ls: cannot access /dev/video*: No such file or directory
chmod: cannot access `/dev/video*': No such file or directory
This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.26-1-686)
 
Old 03-26-2009, 01:55 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
I'm sorry, but I am missing the point here.....What problem are you having?
 
Old 03-26-2009, 02:16 PM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
So why not install the provided gspca module
aptitude install gspca-modules-2.6.26-1-686

or use the provided source.. (Version table: 01.00.20-1 0)
aptitude install gspca-source


Can't tell from that log snippet exactly what you are compiling from..
 
Old 03-26-2009, 02:19 PM   #4
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by farslayer View Post
So why not install the provided gspca module
aptitude install gspca-modules-2.6.26-1-686

or use the provided source.. (Version table: 01.00.20-1 0)
aptitude install gspca-source


Can't tell from that log snippet exactly what you are compiling from..
this will sure not work

to install a webcam, only experts, I mean almost no one on those forums can make a backported kernel.

It is too too far difficult

soo I proved it in 30 minutes that backported are made by genious !!

hence
Lenny kernel by default = crap
 
Old 03-26-2009, 02:23 PM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
My webcam worked by default in Lenny.. I still have no clue what you are going on about..
 
Old 03-26-2009, 02:24 PM   #6
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
OK, here we go:
soo my /etc/apt/sources.list
are:

Quote:
deb http://http.us.debian.org/debian lenny main contrib non-free
deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib
deb http://debian-multimedia.org lenny main
deb http://www.backports.org/debian lenny-backports main contrib non-free
Code:
apt-get cache search bpo linux-images
gives NOTHING


so we are in shit.

Here we go:
let's find some solutiosn

Code:
less /etc/apt/sources.list
apt-cache search linux bpo
apt-cache search  bpo
apt-get update
apt-cache search  bpo
less /etc/apt/sources.list
apt-cache search linux bpo
apt-cache search  bpo
apt-get update
apt-cache search  bpo
uname -a
ls
dpkg -i linux-image-2.6.26-bpo.1-686_2.6.26-13~bpo40+1_i386.deb
lq
ls
dpkg -i linux-headers-2.6.26-bpo.1-686_2.6.26-13~bpo40+1_i386.deb
apt-get -f install
dpkg -i linux-headers-2.6.26-bpo.1-686_2.6.26-13~bpo40+1_i386.deb
apt-get -f install
dpkg -i linux-headers-2.6.26-bpo.1-686_2.6.26-13~bpo40+1_i386.deb
wget http://www.backports.org/debian/pool/main/l/linux-2.6/ -O es
less es
grephttp  es
elinks http://www.backports.org/debian/pool/main/l/linux-2.6/ > es
less es
grephttp  es
grephttp  es | grep common | grep 686
grephttp  es | grep common
dpkg -i linux-headers-2.6.26-bpo.1-686_2.6.26-13~bpo40+1_i386.deb
grephttp  es | grep common | grep common | gr
grephttp  es | grep common | grep common | grep 13
wget http://www.backports.org/debian/pool/main/l/linux-2.6/linux-headers-2.6.26-bpo.1-common_2.6.26-13~bpo40+1_i386.deb
dpkg -i linux-headers-2.6.26-bpo.1-common_2.6.26-13~bpo40+1_i386.deb
dpkg -i linux-headers-2.6.26-bpo.1-686_2.6.26-13~bpo40+1_i386.deb
reboot
ps aux
And Wahooooo
Installation of webcam success!! As I guessed, backported kernels are better compiled

Oups... .
I am sorry, I didnt try this one:
Code:
 	So why not install the provided gspca module
aptitude install gspca-modules-2.6.26-1-686

or use the provided source.. (Version table: 01.00.20-1 0)
aptitude install gspca-source
I did the hack install before...
I wish I had, but I guess I already tried this, and it never worked.

Only backports can make my webcam working.
 
Old 03-26-2009, 02:47 PM   #7
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
I'm confused still, there are no kernels in Lenny-Backports.. at least not when I search it..
http://packages.debian.org/search?su...ds=linux-image


It looks like the Lenny kernels have been backported to etch though.. makes me wonder exactly what version of Debian you are running..
http://packages.debian.org/search?su...ds=linux-image
 
Old 03-26-2009, 03:01 PM   #8
reptiler
Member
 
Registered: Mar 2009
Location: Hong Kong
Distribution: Fedora
Posts: 184

Rep: Reputation: 42
From the log I'd say that the kernel-tree is not install. This should be quite easily fixed by running apt-get install linux-tree-2.6.26.

Quote:
Originally Posted by frenchn00b View Post
this will sure not work

to install a webcam, only experts, I mean almost no one on those forums can make a backported kernel.

It is too too far difficult
Actually it shouldn't be so hard. Sure, Debian uses some extra patches in their kernel, but in order to use a more recent kernel I think you can skip those and simply copy the configuration of the existing kernel, maybe add a few things which have been added since and you're done.
Maybe nobody did a backport yet because 2.6.26 is recent enough for users. Not everybody always needs the latest kernel.

Quote:
Originally Posted by frenchn00b View Post
soo I proved it in 30 minutes that backported are made by genious !!
Well, congratulations. You may now get yourself some ice-cream...

Quote:
Originally Posted by frenchn00b View Post
hence
Lenny kernel by default = crap
Maybe it would have worked if you would have spent a few minutes trying to solve the problem "the conventional way". Or, as has been suggested, checking if the gspca-driver is in the repository, which I can confirm from checking just a minute ago.
 
Old 03-26-2009, 03:12 PM   #9
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by farslayer View Post
I'm confused still, there are no kernels in Lenny-Backports.. at least not when I search it..
http://packages.debian.org/search?su...ds=linux-image


It looks like the Lenny kernels have been backported to etch though.. makes me wonder exactly what version of Debian you are running..
http://packages.debian.org/search?su...ds=linux-image
Lenny (I has been upgrade from etch)
 
Old 03-26-2009, 03:15 PM   #10
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by reptiler View Post
From the log I'd say that the kernel-tree is not install. This should be quite easily fixed by running apt-get install linux-tree-2.6.26.


Actually it shouldn't be so hard. Sure, Debian uses some extra patches in their kernel, but in order to use a more recent kernel I think you can skip those and simply copy the configuration of the existing kernel, maybe add a few things which have been added since and you're done.
Maybe nobody did a backport yet because 2.6.26 is recent enough for users. Not everybody always needs the latest kernel.


Well, congratulations. You may now get yourself some ice-cream...


Maybe it would have worked if you would have spent a few minutes trying to solve the problem "the conventional way". Or, as has been suggested, checking if the gspca-driver is in the repository, which I can confirm from checking just a minute ago.
ok, apologies, please to be read without deep thinking. I really Love Debian, and also its 2.6.26 kernel (crap for sure not, but for my installation not working)!

I tried loooot looot to compile well kernels as backported but never managed to do it as they did. Then bug reports said : that i am not alone in this case, and loooooot of users have problems with kernel / video and such install.
 
Old 03-26-2009, 05:37 PM   #11
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
http://www.howtoforge.com/kernel_com...on_debian_etch
http://www.tux.org/~tbr/debiankernelpkg/
Both of these talk you through manually compiling the kernel and then turning that into a deb package so it can be tracked by the ackage manager. I have compiled and installed a kernel on Debian myself so it is definitely possible and not that hard at all. use the existing .config file as your base and all the currently installed options will remain. It's then up to you to install the rest that you need.
 
  


Reply



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
How to upgrade sarge to lenny (stable)? frenchn00b Debian 10 03-25-2009 03:58 PM
Do any body knows when debian lenny become stable? wanas Debian 31 12-30-2008 08:54 PM
What happens to Etch once Lenny becomes stable? bspus Debian 4 12-07-2008 08:38 AM
Lenny stable? texasone Debian 2 08-17-2008 01:09 PM
stable+backports+couple of packages from etch kushalkoolwal Debian 1 03-03-2006 03:15 PM

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

All times are GMT -5. The time now is 04:09 PM.

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
Open Source Consulting | Domain Registration