LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-05-2004, 02:29 AM   #136
DGAlexandru
LQ Newbie
 
Registered: Jan 2004
Location: Bucharest - Romania
Distribution: Slackware 9.1
Posts: 9

Rep: Reputation: 0

B.T.W. how do you apply a patch to the kernel ?
 
Old 02-05-2004, 04:50 AM   #137
snocked
Member
 
Registered: Dec 2002
Location: St. Louis, MO
Distribution: Slackware 9.1
Posts: 482

Rep: Reputation: 30
Another thing I have noticed is that I have to manually rename vmlinuz to vmlinuz.old before compiling otherwise vmlinuz is just overwritten with new kernel. But I'm still getting FATAL FAILED TO LOAD MODULE xxx errors so blah
 
Old 02-05-2004, 06:24 AM   #138
ghostwalker
Member
 
Registered: Jun 2003
Posts: 160

Rep: Reputation: 30
Patching the kernel is somewhat easy:

bzip'd files:

bzip2 -dc /dir/to/patch.gz | patch -p1

sources patch:

patch -p1 < /dir/to/patch

Walt
 
Old 02-05-2004, 02:18 PM   #139
[c0ld~fusi0n]
LQ Newbie
 
Registered: Aug 2003
Posts: 14

Rep: Reputation: 0
Hello

I did exactely what DaOne wrote in his lil' tut.
Everything went well until i tried to boot from the new (2.6.2) kernel.

The graphical console is working, the system seems to starts normal but I get a kernel panic.


Code:
VFS: Cannot open root device "001" or unknown-block(0,1)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(0,1)
and yeah, I'm new to linux ^_^ Don't hit me


thanks in advance!

so long
fusion
 
Old 02-05-2004, 07:43 PM   #140
bashrc2
Member
 
Registered: Feb 2004
Distribution: slackware 9.1
Posts: 106

Rep: Reputation: 15
Re: Hello

hi to all. im new here!

cold fusion,
in your lilo.con add

append = "root=/dev/hda2"

/dev/hda2 could be /dev/hdc8 or something
type: df
to see the partitions.

DaOne,

hello! from a fresh installed slackware 9.1, I followed every step in your tut.
copied .config from /usr/src/linux-2.4.22 to /usr/src/linux <-- symlink of /usr/src/linux-2.6.2
im using nvidia riva tnt2 and downloaded nVidia 2.6 ready drivers from: http://www.sh.nu/download/nvidia/
but i get a blank screen after i reboot.

i also followed on of the posts here that i should set y option to
CONFIG_VGA_CONSOLE=y
CONFIG_MDA_CONSOLE=m
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=m
CONFIG_PCI_CONSOLE=y
CONFIG_FONTS=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
etc.......
but i still get a blank screen.
is there something im missing???
is it the 2.6.2 version of the kernel or is the nVidia driver?

pls help.. thanks

my comp specs:
PIII 800Mhz coppermine
512 sdram
realtek 8139
c-media 8x38 5.1 channels
nvidia riva tnt2 model64
 
Old 02-06-2004, 12:03 AM   #141
[c0ld~fusi0n]
LQ Newbie
 
Registered: Aug 2003
Posts: 14

Rep: Reputation: 0
Hi

bashrc2
Thanks, but it still doesn't work. It's the same game, just the code is no longer 001, it's 801 now.
Does it matter where in lilo.conf i add the line?

so long
lil' tired fusion
 
Old 02-06-2004, 01:16 AM   #142
dawizman
Member
 
Registered: Feb 2004
Distribution: Gentoo
Posts: 119

Rep: Reputation: 15
Cold Fusion, easy problem to fix. You have to re-compile you kernel though. But this time make sure you add your filesystem.
 
Old 02-06-2004, 01:53 AM   #143
major.tom
Member
 
Registered: Jun 2003
Location: Canada
Distribution: Slackware (current); Gentoo (newbie)
Posts: 142

Rep: Reputation: 15
Cold~Fusion:

I was just compiling the 2.6.2 kernel tonite and had the same problem. It came down to having to add support for my Promise IDE controller. (It seems I keep "discovering" this.)

Double-check the ATA device section to see if yours is listed.

Good luck,

Garry
 
Old 02-06-2004, 07:25 AM   #144
[c0ld~fusi0n]
LQ Newbie
 
Registered: Aug 2003
Posts: 14

Rep: Reputation: 0
hmmm ... but, if I imported my old .config the driver should be in there, shouldn't it?

edit:

I just recompiled the kernel, rebooted and get a bank screen -_-
BIIIG THANKS to the one who mentioned to make a linux.safe and add this to lilo!!!

Heh, I'm pretty confused now, I compiled FOR SURE the ATI Radeon drivers.
With the first messed up version of the 2.6.2 kernel i got a kernel panic but the graphic console worked. Do I need to add the 'Frambuffer Console support' ?

I just want my box to run properly *sob*

regards
cf

second edit:

recompiled kernel again, got the console to work, now the kernel panic: VFS shows up again
But I found out in menuconfig there is no driver that does support my raid (it was supported in 2.4.22, just had to choose adaptec.s during installation)

Did I forget something important? As I mentioned before, still a noob ...

Last edited by [c0ld~fusi0n]; 02-06-2004 at 09:51 AM.
 
Old 02-06-2004, 10:47 AM   #145
major.tom
Member
 
Registered: Jun 2003
Location: Canada
Distribution: Slackware (current); Gentoo (newbie)
Posts: 142

Rep: Reputation: 15
Quote:
Originally posted by [c0ld~fusi0n]
recompiled kernel again, got the console to work, now the kernel panic: VFS shows up again
But I found out in menuconfig there is no driver that does support my raid (it was supported in 2.4.22, just had to choose adaptec.s during installation)

Did I forget something important? As I mentioned before, still a noob ...
Aha! I think you're almost there. adaptec.s tells me I had you look in the wrong section. Instead of ATA, check out Device Drivers/SCSI Device Support/SCSI Low-level drivers.

There are several adaptec cards in there. Just add yours and you should be golden.

Garry
 
Old 02-06-2004, 11:18 AM   #146
[c0ld~fusi0n]
LQ Newbie
 
Registered: Aug 2003
Posts: 14

Rep: Reputation: 0
Quote:
Originally posted by major.tom
Aha! I think you're almost there. adaptec.s tells me I had you look in the wrong section. Instead of ATA, check out Device Drivers/SCSI Device Support/SCSI Low-level drivers.

There are several adaptec cards in there. Just add yours and you should be golden.

Garry
I did that, but in there, my card (Adaptec SCSI RAID 2100S) is not listed (at least my search wasn't succesful). But during the installation my card was recognized and it worked great (well, let's it just worked, didn't really test if it works great).

And considering what i see flying by during the bootup there is something with the word adaptec in it.

I really hope someone can help me with this issue.

regards
cf
 
Old 02-06-2004, 02:22 PM   #147
major.tom
Member
 
Registered: Jun 2003
Location: Canada
Distribution: Slackware (current); Gentoo (newbie)
Posts: 142

Rep: Reputation: 15
Quote:
Originally posted by [c0ld~fusi0n]
I did that, but in there, my card (Adaptec SCSI RAID 2100S) is not listed (at least my search wasn't succesful). But during the installation my card was recognized and it worked great (well, let's it just worked, didn't really test if it works great).

And considering what i see flying by during the bootup there is something with the word adaptec in it.

I really hope someone can help me with this issue.

regards
cf
It's *possible* (but I'm guessing unlikely) that your card isn't supported yet. There is a generic (I think) Adaptec RAID (AACRAID). Did you try compiling/booting with that? I'm pretty sure, too, that the hd controller cannot be built as a module -- it has to be in the kernel.

Reading the text files referred to in the comments for each driver might help. Or googling. Personally, I haven't experienced this problem, but I don't have the same card.

If you want to see the boot messages, use 'dmesg' and pipe the output to a file or less/more/most.

dmesg | most

Cheers!

Garry
 
Old 02-06-2004, 04:56 PM   #148
[c0ld~fusi0n]
LQ Newbie
 
Registered: Aug 2003
Posts: 14

Rep: Reputation: 0
Quote:
Originally posted by major.tom
It's *possible* (but I'm guessing unlikely) that your card isn't supported yet. There is a generic (I think) Adaptec RAID (AACRAID). Did you try compiling/booting with that? I'm pretty sure, too, that the hd controller cannot be built as a module -- it has to be in the kernel.

Reading the text files referred to in the comments for each driver might help. Or googling. Personally, I haven't experienced this problem, but I don't have the same card.

If you want to see the boot messages, use 'dmesg' and pipe the output to a file or less/more/most.

dmesg | most

Cheers!

Garry
Thanks. Tried it but it still didn't work I still get the same bloody error message. BTW, the AAC RAID driver is experimental. The point that's confusing me is that my card worked (and still works) under 2.4.22. This makes no sense to me, the new kernel should have MORE support, not less. And my SCSI card isn't very new either.... Maybe there is a possibility to carry the module respectively the driver over from my old kernel? (Without any extreme complex procedures, I'm still new to the linux system.)

I thank you for your efforts!

regards
cf
 
Old 02-07-2004, 02:39 PM   #149
adamjaskie
Member
 
Registered: Feb 2004
Posts: 32

Rep: Reputation: 15
I cannot get the ati drivers working in 2.6.2 either. I have no problem getting to a console on boot, but when I type startx, all I get is a blank screen. I followed the same procedure I used to get them working on 2.4.21, but it does not work in 2.6.2.
 
Old 02-07-2004, 04:30 PM   #150
bashrc2
Member
 
Registered: Feb 2004
Distribution: slackware 9.1
Posts: 106

Rep: Reputation: 15
cold fusion

i got the console to work (finally)!
then i recompiled my kernel last night and got the VFS error message.

its the file system i guess.. try to enable your file system.. most filesystem are disabled by default.
 
  


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:05 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