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 01-04-2004, 09:36 PM   #61
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30

black screen is usually caused by bad framebuffer (be it bad kernel, bad setting, bad graphics card, etc)

modify your lilo.conf file and remove the vga settings line, or set it to vga=normal

you can pass this option at the boot parameter (so if the option is slack, i would highlight slack and then type vga=normal)

if that doesn't work, boot with the slack recovery cd (disk 2) and make your modifications
 
Old 01-05-2004, 06:07 AM   #62
Andronik
Member
 
Registered: Sep 2003
Location: Estonia Tartu
Distribution: Debian, edition depends on what i run it, wheezy on main box.
Posts: 91

Rep: Reputation: 15
I think this is exellent thread, and should be MUST read for everybody before installation 2.6 kernels.
If you care about your time, read this first ,specially page 2 and 4 answers. and you will be quikly in working 2.6 kernel.
Maybe some moderator can post this topic for some fixed first place for some time.
 
Old 01-05-2004, 09:41 PM   #63
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Whitehat
Hey DaOne,

Good job on these guides. I would have emailed you to say this but I can't email or PM you per your choice.

Anyway. Just wanted to say nice work.

Thanks,
Whitehat
Thanks my friend...and thanks to all of the members who contributed to make this a successful guide.
 
Old 01-08-2004, 09:08 PM   #64
slackMeUp
Member
 
Registered: Nov 2003
Distribution: Slack-where?
Posts: 654

Rep: Reputation: 30
Quote:
Originally posted by DaOne
Did you run fglrxconfig?
Yes...

The problem seems to lie in the agp-gart module... when the fglrx module does not use agp-gart (the systems or internal) X works fine only without 3D.... but when I tell it to use the module then all I get is a black screen after startx.... it worked in 2.4.... also when I use the radeon driver in the same respect it also creates a black screen only with the radeon driver it locks up at the black screen.

any help?
 
Old 01-09-2004, 03:36 AM   #65
agamenon
LQ Newbie
 
Registered: Nov 2003
Distribution: Slackware 9.0
Posts: 4

Rep: Reputation: 0
Problem Patching

I try to patch kernel 2.6.0 to 2.6.1 located in /usr/src/linux-2.6.0 and a symlink named /usr/src/linux

I use
patch -p0 < patch-2.6.1

and I get diff error

root@?????:/usr/src# patch -p0 < patch-2.6.1
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru a/CREDITS b/CREDITS
|--- a/CREDITS Thu Jan 8 23:00:24 2004
|+++ b/CREDITS Thu Jan 8 23:00:24 2004
--------------------------
File to patch:

Help me
 
Old 01-09-2004, 10:22 AM   #66
hyp_spec
LQ Newbie
 
Registered: Aug 2003
Posts: 16

Rep: Reputation: 0
its patch -p1 not p0

'bzip2 -dc 2.6.1-patch.bz2 | patch -p1'

that works too!
 
Old 01-09-2004, 11:30 AM   #67
bb_matt
Member
 
Registered: Jan 2004
Distribution: Slackware 9.1
Posts: 35

Rep: Reputation: 17
Huge big thanks to everyone who wrote helpful stuff in this thread and specifically the original authour !

I've been pulling my hair out trying to get 2.6 working for Suse and Redhat, some of the numerous problems I had

Kernel Panic, Blank screen (vga issues), completely wiped out 2.4 kernel, modules issues by the ton etc. etc. etc.

Well, I finally decided to go back to good old Slackware, something I ran as a simple webserver for years and as a devbox desktop for a month or so.

Well, whada-ya-know, I got up and running with sound & network and no module errors in about 6 hours including install, thanks to some info in this thread.

The most important bit of advice once you get the kernel installed I read was about modprobe and lsmod to check if you can load a module, check if it's then loaded and after, either comment it out of rc.modules or add it - perfect !

Just another thing, if you installed slackware as I did with the bare.ide (think that's what it's called) kernel, I found the best method to install the 2.6 kernel for me was :-

Back ups (a bit extreme, but anyway) :-

The whole of your /boot folder
/etc/lilo.conf
/etc/rc.d/rc.modules
/etc/fstab

Then


make mrproper

then copy your .config if you have one - I took the 2.4.2 config file from my slackware 9.1 /boot folder

make menuconfig

I've found that it's best to leave a lot of the following as defaults at first :- character devices, file types & block devices, but as stated numerous times, make sure your partition type is compiled into the kernel

make bzImage

make modules

make modules_install

cp System.map /boot/System-2.6.0.map
cp arch/xxx/boot/bzImage /boot/vmlinuz-2.6.0
cp .config /boot/config-2.6.0
cd /boot
rm System.map config
ln --symbolic System-2.6.0.map System.map
ln --symbolic vmlinuz-2.6.0 vmlinuz
ln --symbolic config-2.6.0 config

I'm not sure whether the config file is neccessary, but I'm trying to keep the /boot folder tidy as it was for the 2.4.2 kernel install I had.

In addition, I'll link in my old kernel as vmlinuz1 in case of issues

ln --symbolic vmlinuz-2xxx vmlinuz1

Then a simple matter of editing lilo.conf, but making an additional entry to add the old kernel in and also to change the vga setting to vga=normal just in case - you can always add a decent resolution in after.

I think the biggest problem I had with Suse and Redhat was the initrd file and trying to create it.

My default slackware 9.1 doesn't have any initrd file, which is great if you ask me. Better of without it.

Slackware is just about perfect for me now, I have just about enough knowledge to get it configured.
Boots about 10 times quicker than RedHat or Suse, has a nice uncluttered Gnome menu and on a full install (2 gig) and compiles pretty much anything without all the usual dependency crap I get with Suse or Redhat.

Now all I need to do :-

get samba working (giving me grief)
get the nvidia drivers installed
try to get my usb storage pen working

And I'm good to go !
 
Old 01-09-2004, 11:58 AM   #68
lostboy
Member
 
Registered: Mar 2003
Location: Florida
Distribution: Slackware 9.1,10.1
Posts: 268

Rep: Reputation: 30
Regarding the new module tools -
DaOne - "However...I do believe that this is NOT backwards compatable. So your old kernel may not work if you install this if you are not careful...maybe someone else has more info on this."

I will tell my story.

I decided to try installing 2.6.0 (unwisely) before doing the sensible thing, which is to come here to linuxquestions and seek information. But then again, I live dangerously (not on servers, just workstations).

I got the kernel to boot just fine. But then I wanted to see if I could go back to the old 2.4.20 kernel.
For some reason the i2c modules, or the lmsensors package (not sure wich) modules got hosed. On boot I would get "Oops" messages (where there is a kernel error, and it shows contents of registers,stack, and whatnot).
To fix this, I reinstalled the i2c package, and recompiled lmsensors.I have an Asus P4B533, so I went through the process of unhiding the ASB100 chip, and lmsensors works once again.

Now to put this in perspective, all I did was boot 2.6.0, make neccesary changes, then boot 2.4.20.

What happened is the lmsensors modules worked in 2.6.0. Then they caused problems when the 2.4.20 kernel was used again.

But I can't tell if this is attributed to the new module tools used with 2.6.0.
It could also be that I used a module that I compiled with a 2.4.20 kernel. I just wanted to see if it would work in 2.6.0, and it did. But the modules may have somehow been damaged in the process, so they woul no longer function correctly with 2.4.20 kernel.

Who knows?

I should add this important note:

I am using Slackware 9.0 and not 9.1. If anyone is going to try this, don't forget to update/install these packages. You can find these listed in the "changes" file of the 2.6.0 kernel sources :

jfsutils-1.1.3
module-init-tools-0.9.14
oprofile-0.6
quota-3.09

Last edited by lostboy; 01-09-2004 at 12:53 PM.
 
Old 01-09-2004, 01:58 PM   #69
bb_matt
Member
 
Registered: Jan 2004
Distribution: Slackware 9.1
Posts: 35

Rep: Reputation: 17
Now I'm smiling !

Nvidia drivers and USB pen working after a bit of kernel tweaking.
Kernel is also pretty small at 1,13 Meg and my system has never run Linux this well or this fast. Not one single module error.

One last issue, which isn't really a biggie, the Framebuffer Lilo thing.

I still can't boot at the 1024x768 which the default 2.4.2 kernel would boot at, no matter what I try. Get the black screen and at one point, after fiddling, got a Frequency out of Range error on my Monitor

In my kernel, Drivers -> Graphics I have :-

Support for Frame Buffer devices - y
VGA 16 colour support - y
Vesa VGA graphics support - y
Nvidia Riva Support - M

Console Display Driver Support -->
Video Mode Selection Support - y
Framebuffer Console Support - y
Select Compiled in Fonts - y
VGA 8x8 Font - y
VGA 8x16 Font - y

Logo Configuration -->
everying set to y

I can live with a lower res display, but it would be nice to mess around with background pictures and stuff like that.


EDIT: oops - just checked out jymbo's info on page 2 of this thread - DOH - will try edit .config manually to add those options.

EDIT AGAIN: options are already in .config, must be something else confliction with it - perhaps the riva option as a module is causing the problem ?

Last edited by bb_matt; 01-09-2004 at 02:06 PM.
 
Old 01-11-2004, 08:24 PM   #70
salted
LQ Newbie
 
Registered: Sep 2003
Distribution: Slackware 10.0
Posts: 20

Rep: Reputation: 0
I have a quick question...really noobish as this is my first recompile, hopefully you guys can help. Everything works out great until I run /sbin/lilo. When I do that I get the following error:
Fatal: open /boot/vmlinuz.old: file or directory does not exist.

So, I try mkdir ~/vmlinuz.old and it gives me the error
Fatal: /boot/vmlinuz.old: neither a reg file or block device.

I've searched around here and haven't found anything, and google hasn't solved my problems either. Any ideas?
 
Old 01-12-2004, 03:13 PM   #71
BongFish
Member
 
Registered: Jun 2003
Location: England
Distribution: Slack 9
Posts: 141

Rep: Reputation: 15
I cured my blank screen problem by disabling boot logos - I didn't change anything else.

Last edited by BongFish; 01-12-2004 at 03:18 PM.
 
Old 01-13-2004, 01:33 AM   #72
Vincent_Vega
Member
 
Registered: Nov 2003
Location: South Jersey
Distribution: Slackware, Raspbian, Manjaro
Posts: 826

Rep: Reputation: 31
Salted:
cd /boot
cp vmlinuz vmlinuz.old
lilo should run fine now.
 
Old 01-13-2004, 10:45 AM   #73
XStorm
Member
 
Registered: Nov 2003
Distribution: Slack 10.0 / 2.6.8.1
Posts: 63

Rep: Reputation: 15
With the 2.6.0 kernel, all my old rc.firewall scripts won't start saying there's a problem with my ip tables. What should I do ?
 
Old 01-13-2004, 07:56 PM   #74
moger
Member
 
Registered: Sep 2002
Distribution: Fedora Core 3
Posts: 247

Rep: Reputation: 30
Before going from the default slackware 9.1 kernel to 2.6.1, would it be a good idea to update everything first with swaret? Since it needs updated module-init-tools, make, binutils, etc..
 
Old 01-13-2004, 10:51 PM   #75
=SlackDude=
LQ Newbie
 
Registered: Jan 2004
Posts: 2

Rep: Reputation: 0
Kernel Compile

Hey Guys First post here hope i dont look to dumb but i have followed these instructions to a T and framebuffer will not work even with it compiled in thru the kernel with both new fonts and sound live card wont load along with the usb core i copied the config of the slackware cd out of the adaptec.s dir and added smp support and framebuffer support which i thought would already been there since i used a config that had it enabled kinda lost as whats happing here some help would be aprrecaited
 
  


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
Help - Need guide on how to (re)compile kernel in 9.2 timko SUSE / openSUSE 1 02-17-2005 08:17 AM
re :kernel compile guide sh4d0w331 Slackware 1 10-02-2004 05:38 PM
Kernel re-compile guide marlor Slackware 6 08-08-2004 03:57 AM
What happened to the Newbie Compile Guide? boutrosboutros Slackware 6 07-14-2004 12:37 AM
mandrake specific kernel compile guide? e1000 Mandriva 4 01-09-2004 12:27 PM

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

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