Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
03-13-2006, 01:03 AM
|
#31
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
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.
|
|
|
03-13-2006, 01:03 PM
|
#32
|
Senior Member
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526
Original Poster
Rep:
|
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
|
|
|
03-13-2006, 02:57 PM
|
#33
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
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.
|
|
|
03-13-2006, 03:21 PM
|
#34
|
Senior Member
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526
Original Poster
Rep:
|
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
|
|
|
03-13-2006, 03:32 PM
|
#35
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
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.
|
|
|
03-13-2006, 04:02 PM
|
#36
|
Senior Member
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526
Original Poster
Rep:
|
I will try that now...Thanks again for your help. Hope it works this time.
Bob
|
|
|
03-13-2006, 07:49 PM
|
#37
|
Senior Member
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012
Rep: 
|
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.
|
|
|
03-13-2006, 08:45 PM
|
#38
|
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Rep:
|
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 
|
|
|
03-13-2006, 09:14 PM
|
#39
|
Member
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246
Rep:
|
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  .
|
|
|
03-14-2006, 01:27 AM
|
#40
|
Senior Member
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526
Original Poster
Rep:
|
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
|
|
|
03-14-2006, 01:36 AM
|
#41
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
I suggested make bzImage only because command make modules was not necessary. They already were built and installed.
|
|
|
All times are GMT -5. The time now is 06:59 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|