LinuxQuestions.org
Help answer threads with 0 replies.
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 03-13-2006, 01:03 AM   #31
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53

make is the same as make bzImage and make modules. The diffrenece between 2.4 and 2.6 is taht you don't need to make dep.
 
Old 03-13-2006, 01:03 PM   #32
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
If I may ask one more question regarding compiling the new kernel.....As I mentioned, when I tried to boot the new kernel, it would not boot but when straight to a black screen and froze, no processor or hard drive activity.

The question I want to ask is this: When in menuconfig, during the processor selection I chose the AMD64/Opteron (which is what I have AMD64 3400+). During compilation and make everything seemed OK, but I am wondering choosing support for the AMD64 meant that the kernel was looking for 64 bit software and didn't find it or some other conflict in the regard.

If this is a silly question, please pardon it, but I am not sure how to resolve an unbootable kernel.

Any thoughts greatly appreciated.

Bob
 
Old 03-13-2006, 02:57 PM   #33
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Did you compile framebuffer support into the kernel? Black screen is usual problem with not compiling it.
I don't have a 64 bit processor, but I believe that this couldn't cause the problem because 64 bit processors should be compatible with 32 bit software.
 
Old 03-13-2006, 03:21 PM   #34
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Thank you for replying. I do not recall seeing an option to compile framebuffer support in menuconfig. Is it possible to configure the kernel again or do I have to remove it, dowmload it again and start over? If I have to remove it, what is the command line syntax?

Thanks again,

Bob
 
Old 03-13-2006, 03:32 PM   #35
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Open your kernel directory in /usr/src/kernel-version, backup your config file, then run make clean and make menuconfig again. You don't have to remove kernel source, make clean cleans compiled things from your source directory. Then run make bzImage and copy your new kernel into boot directory. Add new entry in lilo.conf for this kernel and run lilo. That's all.
 
Old 03-13-2006, 04:02 PM   #36
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
I will try that now...Thanks again for your help. Hope it works this time.

Bob
 
Old 03-13-2006, 07:49 PM   #37
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 115Reputation: 115
rkrishna:
Symlinks have nothing to do with security. What matters is the permisions on the actual device. Symlinks only serve as mnemonics so that users don't have to know that /dev/hdc is the cdrom drive. Most of the time, it is referenced by the mount point anyway.

Usage of the CD is dependent on physical access. There is no security measure that can defend against an attack based off of physical access.

Please stop using unreadable AOLspeak as well.

Last edited by tuxdev; 03-13-2006 at 07:53 PM.
 
Old 03-13-2006, 08:45 PM   #38
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 68
Quote:
Originally Posted by odevans
I don't believe that newer kernels need the /boot/System.map link, in the same way that /usr/src/linux is no longer required to point to one's current kernel source.
I beleive you are correct in your assumtions that the newer kernels may not require those files/symlinks, but some software still does...Or at least, it makes it alot easier for me to type when compiling wlan-ng, for instance, '/usr/src/linux' rather than '/usr/src/downloaded/kernels/linux-2.6.15'......

Sometimes, keeping the old conventions can help stave off a BAD headache...lol

So, also, is the 'make && make modules_install' as compared to 'make bzImage && make modules && make modules_install' argument. I prefer to just type 'make && make modules_install' then copy the .config, System.map and bzImage to /boot.

Just my two cents
 
Old 03-13-2006, 09:14 PM   #39
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
Good point there cwwwilson, I've tried software that looks in /usr/src/linux that would balk if it wasn't there (unlike wlan-ng which is good enough to let you specify a location).

The only reason I use "make bzImage && make modules" as opposed to just "make" is that "make" builds a bunch of other things too (outlined in "make help"). As I said before, seems everybody has their own particular way of doing it. Eh, to-may-to / to-mah-to I guess .
 
Old 03-14-2006, 01:27 AM   #40
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
I followed, these instructions, I believe to the letter. Somehow, I have altered the boot records and the system no longer boots to either kernel. If (a big if) I am able to restore it somehow without a complete reinstall, I concede that I am not quite ready to tackle building a new kernel. I will need a lot more understanding of whole process, and, if something like this happens again, I will at least be able to boot into the original.

Thanks for your help.

Bob
 
Old 03-14-2006, 01:36 AM   #41
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
I suggested make bzImage only because command make modules was not necessary. They already were built and installed.
 
  


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
Mandrake10.1 Installation & external DVD RW Hardware recognition & pipseeking Mandriva 0 05-15-2005 07:02 AM
recognition Kane2002 General 7 01-24-2005 03:44 PM
Does tour distro has good enough hardware recognition?, Tell me! carrie Linux - Distributions 0 10-11-2004 01:54 AM
usb recognition peda Linux - Hardware 2 10-08-2004 09:10 AM
Recognition where due... jong357 Linux From Scratch 0 01-19-2004 10:52 PM

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

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