LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
 
LinkBack Search this Thread
Old 09-05-2005, 09:29 AM   #166
Worksman
Member
 
Registered: Sep 2004
Location: Romania
Distribution: Ubuntu, Debian, Arch Linux, Gentoo, Slackware
Posts: 171
Blog Entries: 1

Rep: Reputation: 31
This thread is ignored! Maybe it's too old!


I have the felling that this thread is too old and people can find/ignore it!
I would be just fine if some one would build a new Kernel How-to thread on compiling and resolving dependencies on modules gest so everyone could get help on compiling. Then it would be GREAT if some HACKERS would build a ALSA how-to so I CAN GET HELP TOO!!!
 
Old 09-20-2005, 12:15 PM   #167
Greg Mink
LQ Newbie
 
Registered: Sep 2005
Location: orlando
Distribution: debian
Posts: 3

Rep: Reputation: 0
I've added a sound card to an existing debian 3.1 box and it fails to work, xmms complains that /dev/dsp does not exist. I'm running the precompiled 2.6 kernel from debian, what do I do to creat the /dev/dsp and other audio devices? MAKEDEV isn't cutting it.....
 
Old 09-21-2005, 12:28 PM   #168
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, ubuntu
Posts: 1,148

Original Poster
Rep: Reputation: 54
Did you try running "alsaconf"? If you don't have alsa installed, try running "apt-get install alsa-base" then "alsaconf". Probably you don't have the module for the new soundcard because it is using the old configuration. The alsaconf script should configure the new soundcard and use the correct module unless you do not have the module for the new soundcard compiled for your kernel.
 
Old 10-10-2005, 03:22 PM   #169
jsi386
LQ Newbie
 
Registered: Oct 2004
Location: Pueblo, CO
Distribution: Debian
Posts: 10

Rep: Reputation: 0
Hi, I didn't read all the replies.. only about 4 pages worth, after your post.


I'd like to recompile aswell, but not to 2.6.7


I'm thinking more along the lines of 2.6.13.3 with the Debian Logo at boot and the small text as well


So, any help on that would be nice
 
Old 10-11-2005, 10:24 AM   #170
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, ubuntu
Posts: 1,148

Original Poster
Rep: Reputation: 54
You should be able to follow a similar procedure. You can install the latest kernel from debian unstable (2.6.11 I believe) and use the debian source for kernel 2.6.11 to patch and customize it.

If you want to install 2.6.13, you will have to patch the source with Debian patches before following the same procedure I wrote. There are no Debian pactches for 2.6.13, but you could try using the patches for 2.6.8 that are in the repository. I haven't tried this myself, so I don't know if it will work. It depends on how much the kernel source has changed from 2.6.8 to 2.6.13.

Good Luck!
 
Old 10-14-2005, 09:16 AM   #171
Matty-J
Member
 
Registered: Jun 2004
Distribution: SuSE 9.3, Debian Sarge
Posts: 65

Rep: Reputation: 15
Hey all,

I've tried following the directions to compile/install the 2.6.12 kernel from source, and am able to do everything until the make-kpkg part. I get an error saying something to the effect of "make-kpkg: command not found" (I'm at work atm, so can't give you the exact message)

Is there a special package I need for make-kpkg?

Thanks,
Matt
 
Old 10-14-2005, 11:30 AM   #172
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, ubuntu
Posts: 1,148

Original Poster
Rep: Reputation: 54
You probably need to install kernel-package:
Code:
apt-get install kernel-package
 
Old 10-15-2005, 05:50 PM   #173
ptesone
Member
 
Registered: Nov 2003
Location: USA
Distribution: Debian Sarge
Posts: 77

Rep: Reputation: 15
Unhappy

This is a great post and I've got it to work before in debian using gnome,
now I have a fresh install of debian using KDE this time,
and I do fine with these instructions upto this point:
Code:
make menuconfig
I get this error:
Code:
debian:/usr/src/linux# make menuconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/split-include
  HOSTCC  scripts/basic/docproc
  SHIPPED scripts/kconfig/zconf.tab.h
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/mconf.o
scripts/kconfig/mconf.c:91: error: static declaration of 'current_menu' follows non-static declaration
scripts/kconfig/lkc.h:63: error: previous declaration of 'current_menu' was here
make[1]: *** [scripts/kconfig/mconf.o] Error 1
make: *** [menuconfig] Error 2
has anyone else ran into this problem?
 
Old 10-15-2005, 05:59 PM   #174
debianmike
Member
 
Registered: Sep 2005
Posts: 115

Rep: Reputation: 15
If you receive some an error message rather than a build menu you should run "apt-get install libncurses5-dev"
 
Old 10-15-2005, 06:18 PM   #175
ptesone
Member
 
Registered: Nov 2003
Location: USA
Distribution: Debian Sarge
Posts: 77

Rep: Reputation: 15
libncurses5-dev is already installed. . .
 
Old 10-27-2005, 02:47 PM   #176
Javasnob
LQ Newbie
 
Registered: Sep 2005
Distribution: Arch
Posts: 19

Rep: Reputation: 0
I followed your guide to the letter, and I've tried it with the 2.6.7, 2.6.8, and 2.6.13 sources, but no matter what I do, I always get the same kernel panic (The error itself is in bold, the rest is for context):

Code:
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 424K freed
initrd-tools: 0.1.82
mount: unknown filesystem type 'devfs'
umount: devfs: not mounted
mount: unknown filesystem type 'devfs'
umount: devfs: not mounted
pivot_root: No such file or directory
/sbin/init/: 432: cannot open dev/console:  No such file
Kernel panic - not syncing: Attempted to kill init!
If anyone could offer some insight as to how I could fix this, I would appreciate it VERY much. Thanks!
 
Old 10-27-2005, 04:11 PM   #177
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, ubuntu
Posts: 1,148

Original Poster
Rep: Reputation: 54
Did you use Debian kernel sources?
 
Old 10-27-2005, 05:58 PM   #178
Javasnob
LQ Newbie
 
Registered: Sep 2005
Distribution: Arch
Posts: 19

Rep: Reputation: 0
I couldn't do make menuconfig with the Debian kernel sources:
 
Old 10-27-2005, 08:55 PM   #179
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, ubuntu
Posts: 1,148

Original Poster
Rep: Reputation: 54
You need libncurses-dev installed to do "make menuconfig". Try:
Code:
apt-get install libncurses5-dev
I think the problem you are having is because you are trying to use non-debian kernel sources with the debian initrd. Try opening synaptic and searching for "kernel-source". Right now, the full source of kernel 2.6.11 is available, and patches are available for kernel 2.6.12. If you want 2.6.12, you can manually apply the debian patches to the original kernel source from kernel.org, then proceed as I described in my original post. Good luck
 
Old 11-08-2005, 12:33 PM   #180
dookie_the-terrible
LQ Newbie
 
Registered: Nov 2005
Location: Newport Beach
Distribution: Debian 3.1
Posts: 4

Rep: Reputation: 0
Here is a good one – No ATA HD w/2.6

I run a dual boot IBM T43 laptop with XP (For work) and Deb 3.4 The T43 has ATI graphics and ATA hard disk. It took sometime to setup the graphics, but 2.4 work very well, no problems. Now there is a great new driver for the graphics, I had to upgrade to 2.6 to use it though. So I upgraded via apt-get and nada, it would no boot. In fact I messed with it so much I have ruined my Linux partition, so I decided to re-install from the base cd. So on CD boot up I choose ‘Linux26’ to get the 2.6 kernel and all looks well until its time to configure the HD. If one presses F6 there are several different option to install special hard disk controllers, however ATA is not in there. I tried all of them! Anyone got past the HD install?

I have been told one can use the SCSI drivers and disable the DMA access in the BIOS, then re-try the install, then re-enable the DMA access, but this did not work, 2.6 will not recognize the HD, DMA on or off. Any ideas will be most welcome.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Recompile drivers after upgrade? Tons of Fun Debian 4 09-11-2005 11:00 PM
recompile kernel laurentwahl Linux - Software 5 06-02-2005 03:27 PM
Another Kernel Guide 2.6.11 xaos5 Slackware 20 03-26-2005 01:49 PM
kernel recompile error (kernel panic) tombaaaaa Linux - Newbie 4 08-04-2004 05:32 PM
should i recompile after kernel upgrade? doralsoral Linux - Software 1 03-27-2004 12:50 AM


All times are GMT -5. The time now is 12:03 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration