LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-20-2007, 10:54 AM   #16
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Rep: Reputation: 30

'xconfig' and 'menuconfig' are not commands, they're make directives

do this:
Code:
cd /usr/src/linux-X.Y.Z
make mrproper             # for a 2.6 kernel
make xconfig
you _shouldn't_ be root for compiling your kernel or the modules, only for installing/copying.

hth

<edit> sorry the 'cd <directory>' can be to wherever you extracted the kernel source.
 
Old 06-20-2007, 12:39 PM   #17
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,644

Rep: Reputation: 145Reputation: 145
Quote:
Originally Posted by bioe007
you _shouldn't_ be root for compiling your kernel or the modules, only for installing/copying.
Of course you're right. Some months ago I had my kernel source tree screwed up and had to call make xconfig/menuconfig as root. Bad habit from that time.
 
Old 06-26-2007, 08:14 PM   #18
underworld288
Member
 
Registered: Sep 2006
Distribution: slackware, ubuntu, and kubuntu
Posts: 35

Original Poster
Rep: Reputation: 15
i tried the how to posted at the top of the page and I got it all done its just when i boot into the new vmlinuz file i get a blank screen. I have noticed in the how to it doesn't mention make depend. Wasn't I supposed to do that command sometime in the compile process?
 
Old 06-26-2007, 10:45 PM   #19
underworld288
Member
 
Registered: Sep 2006
Distribution: slackware, ubuntu, and kubuntu
Posts: 35

Original Poster
Rep: Reputation: 15
ok maybe its my lilo.conf file here is how it is setup as of now...

Code:
boot="/dev/hda"
lba32
prompt
timeout="300"
root=/dev/hda2
vga="773"
default=linux

image="/boot/vmlinuz"
        label="linux"
        root="/dev/hda2"
        read-only

image="/boot/vmlinuz.old"
        label="linux.old"
        root="/dev/hda2"
        read-only
the linux image is the newly compiled kernel btw

Last edited by underworld288; 06-26-2007 at 10:47 PM.
 
Old 06-26-2007, 11:24 PM   #20
bioe007
Member
 
Registered: Apr 2006
Location: lynnwood, wa - usa
Distribution: archlinux
Posts: 654

Rep: Reputation: 30
you only do make dep for 2.4 kernels, not required for 2.6+

the blank screen seems like a framebuffer issue. (i.e. something not quite compiled in right)

try commenting out the vga= line:

Code:
boot="/dev/hda"
lba32
prompt
timeout="300"
root=/dev/hda2
#vga="773"
default=linux

image="/boot/vmlinuz"
        label="linux"
        root="/dev/hda2"
        read-only

image="/boot/vmlinuz.old"
        label="linux.old"
        root="/dev/hda2"
        read-only
then run /sbin/lilo, and reboot. you'll likely be greeted by the ugly 40 column console, all that means is you custom kernel config didn't quite get the framebuffer options correct.

btw- here is an alternate way to do the vga= argument:
Code:
boot="/dev/hda"
lba32
prompt
timeout="300"
root=/dev/hda2
#vga="773"
default=linux

image="/boot/vmlinuz"
        label="linux"
        root="/dev/hda2"
        vga=normal
        read-only

image="/boot/vmlinuz.old"
        label="linux.old"
        root="/dev/hda2"
        vga=773
        read-only
this method gives you control over which kernel is booting into which mode. (to some extent anyway)

hopefully booting into your vmlinuz.old still works OK for you and you can modify lilo.conf from there.

another thing the "digital hermit" guide doesnt tell you (cause its distrospefic) is to change your 'rc.modules' link (in /etc/rc.d/) whenever you change kernel versions you should make a 'new' rc.modules-2.X.YY.Z file to insmod any kernel modules you know you want loaded at boot time.

but that is a bit of a distraction, look into the framebuffer support (easiest way is either to live with the ugly console, or compile your fb support into the kernel)
 
Old 06-27-2007, 08:14 AM   #21
underworld288
Member
 
Registered: Sep 2006
Distribution: slackware, ubuntu, and kubuntu
Posts: 35

Original Poster
Rep: Reputation: 15
alright, finally, I got it working.

thanks to all
 
  


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
Why can't I compile this kernel module? (kernel: 2.6.8-powerpc Debian sarge) Lannix Linux - Hardware 5 05-01-2007 12:29 PM
How to restore out-of-box kernel settings if my kernel compile fails? brgr88 Slackware 8 04-18-2006 06:51 AM
upgraded kernel, won't let me compile kernel once Suspend2 patches are applied microsoft/linux Linux - Laptop and Netbook 3 10-02-2005 02:37 PM
Kernel Problems. Howto Compile a new kernel from 4.2 with backwards compatibility ? ShoCkwave Linux - General 2 06-19-2004 06:02 AM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 01:40 PM

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

All times are GMT -5. The time now is 04:46 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