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 09-04-2011, 09:57 PM   #1
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
Kernel 2.6.39.4 compiled but now what?


Hello guys, i followed the guide here:
http://admin-board.com/mediawiki/ind.../Debian_kernel
(obviously editing the relevant parts for the 2.6.39.4 kernel)

There is the option in boot for the new kernel in grub2, but as all the writing loads, i see in red text "fail" several times flash past and eventually, it stops at one part with no choice but to reboot.
does anybody know what i've done wrong?
Is the guide an accurate reference?

here's the last few lines:
Quote:
Starting NFS common utilities: statd failed!
Starting acpi_fakekey daemon...done.
Starting portmap daemon....
not registered: 100000 2 tcp 111 portmapper
not registered: 100000 2 udp 111 portmapper
rm: cannot remove '/var/run/portmap.state': Read-only file system
Ok, I've just typed all that from my other computer while that text was displaying on my linux computer, and after ages, it actually moved, failed to load more stuff, and put me at the text login screen.

Last edited by Knightron; 09-04-2011 at 10:06 PM.
 
Old 09-04-2011, 10:45 PM   #2
tbrand
Member
 
Registered: Jul 2006
Location: Toronto, Canada
Distribution: gentoo
Posts: 33

Rep: Reputation: 17
I don't use Debian myself but from that bit of information I see it seems to me that your file systems are being mounted read only. Try to reboot from CD, mount your hard disk root file system (/) and check the content of /(directory where root is mounted)/etc/fstab. Make sure that all automatically mounted file systems are mounted with read/write mount option.
 
Old 09-05-2011, 03:06 AM   #3
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Very odd... did you load the config from the running kernel?

It's nice to build your own kernel - but are you aware that 2.6.39 is available in backports?
 
Old 09-06-2011, 03:10 AM   #4
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465

Original Poster
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
no i wasn't, aware of that, i am yet to use backports, will this install it?
aptitude -t squeeze-backports install linux-image-2.6.39-bpo.2-amd64"

i installed debian onto a 64 bit machine but i used the i386 version, the kernel says amd64 in grub.
 
Old 09-06-2011, 05:41 AM   #5
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
http://backports-master.debian.org/Instructions/

If you installed i386 you may as well install the 686 kernel, you won't really get any benefits from running the amd64 kernel on an i386 userland.

Code:
aptitude -t squeeze-backports install linux-image-2.6.39-bpo.2-686
 
Old 09-08-2011, 02:40 AM   #6
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465

Original Poster
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
Yes! thanks, i've just got the 2.6.39 kernel installed through backports, super easy; and best of all, now suspend to ram and the correct resolution work. Just to avoide making another thread, i want to update xorg from backports too. I checked the packages in backports, and there's a package named, xorg 1:7.6+8. I ran the command, Xorg -version and the one running is 1.7.7, so i'm unsure if i'm running a later version or not.
 
Old 09-08-2011, 03:43 AM   #7
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Any particular reason why you want to update to the xorg in backports?

7.5 is in stable, 7.6 is in backports. You will effectively get the xorg version from the testing branch if you upgrade.

Rather than installing too many core packages from backports however, you may be better off just upgrading the whole system to testing...
 
Old 09-08-2011, 04:09 AM   #8
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465

Original Poster
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
The kernel and xorg were the only packages i wanted. I am running Debian on a pretty new laptop and some things aren't working perfectly; as stated earlier, the kernel upgrade fixed my resolution issues, and as for xorg, that's because when i go to enable desktop effects, (kde) it fails, and says to check my x configuration. I think that this error occures because of the older xorg. Desktop effect work out of the box in other distributions, with no third party drivers.
on another note, how do you know what version of xorg you're using? I read "Xorg -version" but it's results was 1.7.7 not, 7.5 like you say.
 
Old 09-08-2011, 04:36 AM   #9
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
You're confusing the core server version with the xorg suite version... which is understandable by the way - it's confusing as hell and I'm not going to pretend to fully understand it either...

I'm running (not relevant - but you asked...)

xserver 1.11.0-1

xorg 7.6+8


If you upgrade to either the xorg or xserver-xorg in backports you will get

xserver 1.10.4-1

xorg 7.6+8


I doubt this will solve your issues with compositing however... forget what other distros do, they mostly come pre-configured - you're running debian.

Post some outputs:

Code:
cat /etc/X11/xorg.conf
Code:
lspci | grep -i vga

Last edited by cynwulf; 09-08-2011 at 04:44 AM.
 
Old 09-08-2011, 05:35 AM   #10
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465

Original Poster
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
Oh, thanks, it does sound a bit confusing; well that clears up that mistake.
Quote:
I'm running (not relevant - but you asked...)
Ah, i couldn't phrase what i wanted to ask better, when i said "you're", i meant you're in a general term for anyone, not specifically you.

I know that many other distros do some pre-configurations, but even in slackware, which is natorious for doing no pre-configurations, desktop effects works out of the box

I don't have a xorg.conf file, and am unaware of what x configuratoin utility was put inplace to replace it.
my result of lspci |grep -i vga is
Quote:
00:02.0 VGA compatible controller: Intel Corporation Sandy Bridge Integrated Graphics Controller (rev 09)

Last edited by Knightron; 09-08-2011 at 05:37 AM.
 
Old 09-08-2011, 06:01 AM   #11
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Quote:
Originally Posted by Knightron View Post
I don't have a xorg.conf file, and am unaware of what x configuratoin utility was put inplace to replace it.
my result of lspci |grep -i vga is
There is a simple switch for the composite extension - in stable due to the versions used I'm sure it defaults to off. Slackware uses a 2.6.37 kernel if I recall correctly and probably ships newer packages and differs as to which packages are installed by default.

Your first steps should be to create a basic xorg.conf file containing the following

Code:
Section "Device"
        Identifier "card0"
        Driver     "intel"
EndSection

Section "Extensions"
        Option "Composite" "enable"
EndSection
Then

Code:
aptitude install mesa-utils libgl1-mesa-dri libgl1-mesa-glx
Restart x

Assuming you get a working display
Code:
glxinfo | grep render
If you don't get a working display

Code:
cd /etc/X11
mv xorg.conf ~xorg.conf
Restart X

Note: When I say restart X if you are running a display manager you will need to shut it down e.g.

Code:
/etc/init.d/gdm stop
Code:
/etc/init.d/kdm stop
Code:
/etc/init.d/gdm3 stop
If you're not then it's just a case of exiting from your window manager and doing "startx" again.


Personally though I think with this
Code:
00:02.0 VGA compatible controller: Intel Corporation Sandy Bridge Integrated Graphics Controller (rev 09)
you're looking at an upgrade to testing as I'm not sure if the intel driver in squeeze even supports it...

Last edited by cynwulf; 09-08-2011 at 06:52 AM.
 
Old 09-09-2011, 12:22 AM   #12
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465

Original Poster
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
Hello and thanks again for being so helpful and patient with me, Caravel. Before taking your advice, i decided to upgrade xorg first. Upgrading xorg made it possible for desktop effect to work. Thanks again, if i could i'd give you more positive ratings.
 
Old 09-09-2011, 02:47 AM   #13
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
No problem. It's interesting that just upgrading xorg fixed it, but in fact it's probably quite simply due to the newer version of xorg enabling the composite extension by default (i.e. now you have to disable it rather than enable it).
 
  


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
kernel execute file is diffternet compiled from same kernel source at different time willchen Linux - Kernel 5 01-01-2010 01:04 AM
Compiled Kernel: Kernel panic Unable to mount root fs on 08:02 pobrika Linux - Software 3 05-23-2008 02:29 PM
kernel panic while booting custom compiled 2.6.24 kernel on RHEL 4 AS samkraju Red Hat 4 02-10-2008 12:55 AM
The kernel I compiled reads my sata drives as hda even though the rpm kernel read sda abefroman Linux - Software 5 07-10-2006 04:42 PM
program compiled under kernel <=2.4 don't work under kernel 2.6 mihaimdl Linux - Software 3 11-08-2005 06:09 PM

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

All times are GMT -5. The time now is 03:40 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
Open Source Consulting | Domain Registration