LinuxQuestions.org
Help answer threads with 0 replies.
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 05-12-2005, 06:00 PM   #16
corelover
Member
 
Registered: Jan 2005
Location: punjab,India
Distribution: core1,3, suse personal9.1,mandarke10.1
Posts: 43

Rep: Reputation: 15

Hi i was able to do make xconfig after going to / and the returning to /usr/src/linux-2.4.29

actually i am trying to get initial graphical bootup i have patched the kernel and thus through make config done the stated configurations at bootsplash.org , i just cant figure this out
please help
note :i have also copied the dir /usr/src/linux-2.4.29/kernel to /boot

"Copy the kernel to your /boot directory and make sure that you have a boot entry for it in your bootloader config."

thnx again foryour help
 
Old 05-12-2005, 06:13 PM   #17
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Did you run:
Code:
make bzImage && make modules && make modules_install
after running make xconfig?
If you did, your kernel won't be a directory, but a file called /usr/src/linux-2.4.29/arch/i386/boot/bzImage
If you didn't, run those commands that will compile your kernel.
Now copy that file and System.map with this commands:
Code:
cp /usr/src/linux-2.4.29/arch/i386/boot/bzImage /boot/vmlinuz-2.4.29-my
cp /usr/src/linux-2.4.29/System.map /boot/System.map-2.4.29-my
Now you will need to edit lilo to handle your new kernel, add this lines at the end (change the root to suit your partition configurations):
Code:
image = /boot/vmlinuz-2.4.29-my
  root = /dev/hda1
  label = Linux-2.4.29-my
  read-only
Finally, run:
Code:
/sbin/lilo -v -v
to update LILO and reboot.
 
Old 05-12-2005, 06:19 PM   #18
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally posted by reddazz
If you have never compiled a 2.6 kernel before, then take a look at this article at kerneltrap.
Well that seems to have scared off the OP
Probably a bit more than is required for a "first-timer" - that was for 2.6.0 after all.
Straight after the 2.5 era.
Better option might be the "how I do it all" sticky in this very forum. I've looked through it, and it seems eminently usable.
 
Old 05-12-2005, 07:04 PM   #19
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
I used that guide to compile my first ever custom kernel. Maybe I was more of an intermediate Linux user at that time, so I managed to work through it ok but it was a bit of a daunting experience filled with great joy at the end.
 
Old 05-13-2005, 03:05 AM   #20
alexrait1
Member
 
Registered: Jul 2003
Location: Israel
Distribution: slackware current kernel 2.6.9
Posts: 70

Rep: Reputation: 15
Quote:
Originally posted by corelover
The next patch would create the file drivers/video/fbcon-jpegdec.c,
which already exists! Assume -R? [n] y
patching file drivers/video/fbcon-jpegdec.c
The next patch would create the file drivers/video/fbcon-jpegdec.h,
which already exists! Assume -R? [n] y
patching file drivers/video/fbcon-jpegdec.h
The next patch would create the file drivers/video/fbcon-splash16.c,
which already exists! Assume -R? [n] y
patching file drivers/video/fbcon-splash16.c
The next patch would create the file drivers/video/fbcon-splash.c,
which already exists! Assume -R? [n] y
patching file drivers/video/fbcon-splash.c
The next patch would create the file drivers/video/fbcon-splash.h,
which already exists! Assume -R? [n] y
What do we do in this case?
-R means that the lines two be swapped are reversed, that is instead of file_a->file_b we do file_b->file_a
But sometimes it asks for -R and sometimes not...
How is that??
 
Old 05-13-2005, 04:20 AM   #21
Nobber
Member
 
Registered: Jun 2002
Location: Nova Scotia
Distribution: Debian (home), Kubuntu 7.04 (work)
Posts: 265

Rep: Reputation: 30
Quote:
Originally posted by db391
I do believe you need to apply 2.6.11.9 patch to a 2.6.11.8 kernel tree.
The last few 2.6.11.x patches I've used needed to be applied to the 2.6.11 tree. That's why I keep a copy of linux-2.6.11.tar.bz2 around!
 
Old 05-13-2005, 09:43 AM   #22
corelover
Member
 
Registered: Jan 2005
Location: punjab,India
Distribution: core1,3, suse personal9.1,mandarke10.1
Posts: 43

Rep: Reputation: 15
Hi gbonvehi
i did the command sequence
make bzImage && make modules && make modules_install

ake[3]: Entering directory `/usr/src/linux-2.4.29/drivers/video'
make[3]: *** No rule to make target `fbcon-splash.h', needed by `fbcon.o'. Stop.
make[3]: Leaving directory `/usr/src/linux-2.4.29/drivers/video'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.29/drivers/video'
make[1]: *** [_subdir_video] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.29/drivers'
make: *** [_dir_drivers] Error 2
bash-3.00# cd arch/i386/boot/
bash-3.00# ls
Makefile bootsect.S compressed install.sh setup.S tools video.S
bash-3.00#

is wht i get . there is no bzImage !!
Is there something wrong ?? which i might be doing ???
 
Old 05-13-2005, 10:52 AM   #23
alexrait1
Member
 
Registered: Jul 2003
Location: Israel
Distribution: slackware current kernel 2.6.9
Posts: 70

Rep: Reputation: 15
Quote:
Originally posted by Nobber
The last few 2.6.11.x patches I've used needed to be applied to the 2.6.11 tree. That's why I keep a copy of linux-2.6.11.tar.bz2 around!
So that was probably the reason the patch didn't work well...
But how do you know that? Is it written somewhere?
 
Old 05-13-2005, 11:09 AM   #24
Nobber
Member
 
Registered: Jun 2002
Location: Nova Scotia
Distribution: Debian (home), Kubuntu 7.04 (work)
Posts: 265

Rep: Reputation: 30
Quote:
Originally posted by alexrait1
So that was probably the reason the patch didn't work well...
But how do you know that? Is it written somewhere?
I believe I read it in a Linux Weekly News article at some point.
 
Old 05-13-2005, 01:45 PM   #25
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Quote:
Originally posted by corelover
Hi gbonvehi
i did the command sequence
make bzImage && make modules && make modules_install

ake[3]: Entering directory `/usr/src/linux-2.4.29/drivers/video'
make[3]: *** No rule to make target `fbcon-splash.h', needed by `fbcon.o'. Stop.
make[3]: Leaving directory `/usr/src/linux-2.4.29/drivers/video'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.29/drivers/video'
make[1]: *** [_subdir_video] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.29/drivers'
make: *** [_dir_drivers] Error 2
bash-3.00# cd arch/i386/boot/
bash-3.00# ls
Makefile bootsect.S compressed install.sh setup.S tools video.S
bash-3.00#

is wht i get . there is no bzImage !!
Is there something wrong ?? which i might be doing ???
As you can see there are errors when you're compiling. I would suggest you to get a fresh copy of the kernel sources and compile them.
Once you can get it to compile, try using the patches you wanted to use which, by the way, as you can read (in the first page of this thread) they all were skipped when you called patch.
 
Old 05-14-2005, 03:25 PM   #26
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Rep: Reputation: 32
it could be that there is no ".config" file in the /usr/src/linux-2.4.29 directory... as "make oldconfig" uses the exisiting ".config" file...
 
Old 05-15-2005, 07:46 AM   #27
Nobber
Member
 
Registered: Jun 2002
Location: Nova Scotia
Distribution: Debian (home), Kubuntu 7.04 (work)
Posts: 265

Rep: Reputation: 30
Quote:
Originally posted by corelover
i did the command sequence
make bzImage && make modules && make modules_install
Did you do

make dep

before that? It's required (right after make [old|menu|x]config) for 2.4 kernels.
 
Old 05-15-2005, 12:53 PM   #28
corelover
Member
 
Registered: Jan 2005
Location: punjab,India
Distribution: core1,3, suse personal9.1,mandarke10.1
Posts: 43

Rep: Reputation: 15
hi guys thnx for ur back up !! yes i did
make dep
but guess i will have to recompile the sources thnx for your help !!
but ill do that after my exams ! due t end at 17 th next month
thnx again guys !
 
  


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
Kernel Patch (Patch-2.6.13) ukez Linux - Hardware 4 08-30-2005 03:40 PM
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 03:59 AM
Unable to patch 2.6.11.7 kernel with Reiser4 mm patch SlackwareInAZ Slackware 9 04-26-2005 06:33 AM
debian-patch-debianlogo w/2.6.5 kernel-patch-lpp Outabux Debian 11 05-20-2004 01:21 PM
YaST Online Update + AMD kernel patch = kernel panic THX1138 Linux - General 3 10-26-2003 04:25 PM

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

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