LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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


Closed Thread
  Search this Thread
Old 05-15-2003, 07:22 AM   #91
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58

1) Move the linux-2.4.20 directory to /usr/src with 'cp -r linux-2.4.20 /usr/src/'
2) Change to /usr/src/ with 'cd /usr/src',
3) Link linuz-2.4.20 to linux with 'ln -s linux-2.4.20 linux'
4) Change to linux with 'cd linux'
5) Print out the guide.
6) Follow the steps in the guide.

Last edited by Aussie; 05-15-2003 at 07:25 AM.
 
Old 05-15-2003, 07:27 AM   #92
Silence95
LQ Newbie
 
Registered: May 2003
Distribution: Slackware 9.0
Posts: 11

Rep: Reputation: 0
Thanks Aussie!

Quick responding too, this forum is great.

Maybe I come back later with more stupid questions
 
Old 05-15-2003, 07:33 AM   #93
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
I have a permanent net connection, and email gets checked every 15min, but I'm about to call it a night, so you might not get an answer untill the morning :-)
 
Old 05-15-2003, 10:33 AM   #94
teacup
Member
 
Registered: Mar 2003
Location: Rockford, Illinois
Distribution: Slackware Debian
Posts: 86

Rep: Reputation: 15
It says starting up X11 session manager then the screen flashes 3 times and gives the error message.

I cannot start the X server (your graphical interface) It is likely that it is not set up correctly. Would you like to view the X server output to diagnose the problem?

Can't do anything here because my keyboard doesn't work.

I was using gdm.

Quote:
And let me ask you one last thing, can you boot from the CD, without having to use floppies?
Do you mean actually get my computer running or just get to the root login with the install disk? Yes my bios supports booting from cd. If I just pressed enter at the slackware load screen I could login as root and mount my partition. I'm not entirely sure what you were asking.
 
Old 05-15-2003, 04:19 PM   #95
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
Edit your /etc/inittab and change the default runlevel to 3.
 
Old 05-15-2003, 06:19 PM   #96
teacup
Member
 
Registered: Mar 2003
Location: Rockford, Illinois
Distribution: Slackware Debian
Posts: 86

Rep: Reputation: 15
That gets me to the login prompt, but doesn't help the fact that my keyboard won't work.
 
Old 05-15-2003, 06:49 PM   #97
darksky
Member
 
Registered: May 2003
Location: USA
Distribution: FreeBSD and Slackware 10
Posts: 50

Rep: Reputation: 15
Great post! I copied and pasted it into gedit and saved it for future reference.

I'm not a newbie to Linux but I'm a newbie to Slackware and your post is VERY much appreciated!

Thanks!
Chad
 
Old 05-15-2003, 06:52 PM   #98
TheDot
Member
 
Registered: May 2003
Location: Bored-in-ME, US
Distribution: Slackware 3-10, EOF
Posts: 59

Rep: Reputation: 15
Quote:
Yes my bios supports booting from cd. If I just pressed enter at the slackware load screen I could login as root and mount my partition.
That's exactly why I was asking that, lol. I was going to suggest that, and then was going to say what Aussie said, but he beat me to it.

Sorry I didn't respond back sooner, was doing an overhaul of this system over night (my time), and was concentrating because I was doing some partition playing and didn't want to mess anything up.

As far as the keyboard goes, if you've checked your keyboard connection, LEDs come on, wiggling the cord while typing to see if it's a short, at least that would eliminate the possibilty of hardware failure.

Other than hardware-wise, I've never had a problem with a keyboard software-wise, or if I did, I certainly don't remember it. I'm taking it, you've had this keyboard working before, correct? And let me re-iterate just for a sec, according to your /etc/lilo.conf, you have a windoze partition, possibly a running windoze installation, does the keyboard work there? Or on other systems?

Let me know.

Last edited by TheDot; 05-15-2003 at 06:54 PM.
 
Old 05-15-2003, 11:16 PM   #99
teacup
Member
 
Registered: Mar 2003
Location: Rockford, Illinois
Distribution: Slackware Debian
Posts: 86

Rep: Reputation: 15
I'm replying using this very keyboard, and the keyboard worked before I tried recompiling my kernel. My keyboard works fine when I boot up windows. Thanks for consistantly replying to me.
 
Old 05-16-2003, 01:31 AM   #100
TheDot
Member
 
Registered: May 2003
Location: Bored-in-ME, US
Distribution: Slackware 3-10, EOF
Posts: 59

Rep: Reputation: 15
Question Teacup:

Quick question reply...

Desktop or laptop?

USB keyboard or ATX(aka PS/2) keyboard?
(if you're on a laptop, using the built-in keyboard, it's most likely the latter)

Have you tried booting up with the CD, hitting just enter at the prompt, mounting the drive, and changing /etc/inittab as suggested before? (this would help things a lot)

-TheDot

Last edited by TheDot; 05-16-2003 at 01:36 AM.
 
Old 05-16-2003, 11:18 AM   #101
teacup
Member
 
Registered: Mar 2003
Location: Rockford, Illinois
Distribution: Slackware Debian
Posts: 86

Rep: Reputation: 15
Quote:
Desktop or laptop?
Desktop.

Quote:
USB keyboard or ATX(aka PS/2) keyboard?
ps/2 keyboard.

Quote:
Have you tried booting up with the CD, hitting just enter at the prompt, mounting the drive, and changing /etc/inittab as suggested before? (this would help things a lot)
Yes... and it boots up to the login screen now.
 
Old 05-16-2003, 01:34 PM   #102
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Rep: Reputation: 30
first i dind't fnd the dir linux under /usr/src
secondly where shall i run make
under which directory?
sorry if they r silly but i am newbie
 
Old 05-16-2003, 09:51 PM   #103
TheDot
Member
 
Registered: May 2003
Location: Bored-in-ME, US
Distribution: Slackware 3-10, EOF
Posts: 59

Rep: Reputation: 15
Quote:
Originally posted by teacup
Yes... and it boots up to the login screen now.
And this is where it all ends, right? No logging in, no nothing, not even keys that cause LEDs to light up (Num Lock, Caps Lock) don't work, right?

Then, I have a couple things you can try, first off, boot up with the "working" kernel from the menu, if you can, and skip the next sentence. If not, just boot up the same way you did to edit /etc/inittab, but this time, run 'chroot /<mounted dir>' (obviously replacing the latter part with your directory you mounted the drive on [also, this will make running lilo much easier]).

Either way you boot up, edit your /etc/lilo.conf to match below, and then run lilo -v when you're done:
Code:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
append="kbd-reset"
boot = /dev/hda
#compact # faster, but won't work on all systems.
prompt
timeout = 50
# The following 2 lines, that I added as a little gift, are only for if
# your video card will support it.  You can always try it out later.
# VESA framebuffer console @ 1024x768x16.7M
# vga = 792
# VESA framebuffer console @ 1024x768x64k
vga = 791
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda3
label = mykernel
read-only
image = /boot/vmlinuz.old
root = /dev/hda3
label = slack_old # I changed this for safety reasons
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# DOS bootable partition config begins
other = /dev/hda1
label = Windows
table = /dev/hda
# DOS bootable partition config ends
The append="kbd-reset" line may just do the trick to getting your keyboard to work with the new kernel. I haven't been able to dig up any info as of yet on it, but found that merely by accident while looking at /usr/src/linux/Documentation/kernel-param.txt (I think that's the file name) for something for my system.

If this doesn't do it, re-boot with whichever way you got it working, chroot if you have to mount, and go through the process of recompiling your kernel, and this time... read the help stuff for whatever you're unsure about, but might have caused the keyboard malfunction. Even if you have to mount and chroot, recompiling should go ok. You may want to gzip /boot/vmlinuz.old before compiling (since this is the working one), and put it somewhere safe, like maybe on a seperate floppy.

I hope this finally fixes stuff up. Once you got everything back up and running, with recompiling, and all, then you can worry about changing /etc/inittab back to using gdm (you may even want to try kdm after everything's working again - it's pretty nice ).

BTW, I grew up in Chi-town, and had friends in Rockford.
 
Old 05-17-2003, 07:26 PM   #104
quietguy47
Member
 
Registered: Mar 2003
Location: Everett
Distribution: Slackware
Posts: 805

Rep: Reputation: 35
Taken from http://www.tldp.org/HOWTO/Kernel-HOWTO/quick_steps.html
Quote:
6. Give a unique name to your new Kernel - Edit /usr/src/linux/Makefile and change EXTRAVERSION
What do I change extraversion to?
EXTRAVERSION = what do I put here?

Last edited by quietguy47; 05-17-2003 at 07:28 PM.
 
Old 05-17-2003, 08:39 PM   #105
TheDot
Member
 
Registered: May 2003
Location: Bored-in-ME, US
Distribution: Slackware 3-10, EOF
Posts: 59

Rep: Reputation: 15
That's for if you're doing a patch or step upgrade, like going (as for example only: ) from 2.4.20 to 2.4.20.95

The 95 is what you would put if you were doing that.

Like:
VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = 20
EXTRAVERSION = 95

If you're just recompiling the same kernel, don't put anything there.

Hope that helps.
 
  


Closed Thread



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
Newbie Guide To Compiling A Kernel! DrOzz Linux - General 318 08-20-2008 05:21 AM
I'm interested in compiling a 2.6.x kernel, is this is a decent guide? Erik_the_Red Linux - Newbie 7 08-14-2005 06:03 AM
Acid Guide to compiling Kernel 2.6.10 on Slack 10.1 acidjuice Slackware 54 03-11-2005 05:16 PM
Hardware identification guide for newbies ?? massai Linux - Hardware 5 02-03-2004 08:15 AM
: Kernel compiling guide for newbies Question Anibal Slackware 6 08-01-2003 07:06 AM

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

All times are GMT -5. The time now is 10:39 PM.

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