LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-29-2004, 08:04 PM   #1
sarti
LQ Newbie
 
Registered: Aug 2004
Location: Guatemala
Distribution: Debian Etch
Posts: 8

Rep: Reputation: 0
Unhappy My rebuilded kernel doesn't work in SuSE 9.0


Hi, I've been rebuilding the kernel for about 4 times and none of them have worked.
The problem is when I try to start it in grub, the option is there "Test kernel (2.6.7)" but when i highlight it and select it, it just shows me the path that i put of the bzImage and the vmlinux and stop. It just do nothing .

The last time I rebuilded I did the following:
I downloaded the patch bootsplash-3.1.4-2.6.7-rc3.diff from the official page of bootsplash.
I added the patch:
patch p1</pathtopatch/bootsplash-3.1.4-2.6.7-rc3.diff
I belived it worked because it didn't showed me any errors.
Then the classic commands to rebuild:
make xconfig
The things I was supposed to check:
Device Drivers -----> Graphics Support----->Bootsplash Configuration----->Bootup splash screen

but Bootup splash screen never showed up, the option Bootsplash Configuration didn`t had any options inside of it.

so... I continued.

I also compiled into the kernel:
File systems -----> Reiserfs support
File systems -----> ext3 journalling file system support
File systems -----> kernel automounter support

make bzImage
make modules
make modules_install

then I copied the required files to /boot
cp /usr/src/linux-2.6.7/arch/i386/boot/bzImage /boot/bzImage-2.6.7
cp /usr/src/linux-2.6.7/System.map /boot/System.map-2.6.7

I made the initial RAM Disk:
mkinitrd -k bzImage-2.6.7 -i initrd.img-2.6.7
it showed me this message:
Root device: /dev/hda2 (mounted on / as reiserfs)
Module list: reiserfs
Kernel version: 2.6.7 (i386)
Kernel image: /boot/bzImage-2.6.7
Initrd image: /boot/initrd.img-2.6.7
Shared libs: lib/i686/libc.so.6 lib/ld-2.3.2.so
Cannot determine dependencies of module reiserfs. Is modules.dep up to date?
Modules:
none
Bootsplash: SuSE (1024x768)

after that I edited the file /boot/grub/menu.lst adding the following lines:

title Test Kernel (2.6.7)
kernel (hd0,1)/boot/bzImage-2.6.7 root=/dev/hda2 vga=0x317 splash=silent desktop showopts
initrd (hd0,1)/boot/initrd.img-2.6.7

At the end, when I try to start the new kernel from Grub, it showed me a black screen where nothing happends, even the light of the hd was off.

Whats wrong???
 
Old 08-29-2004, 08:48 PM   #2
amfoster
Member
 
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 36
Start off with
make mrproper

If you do not specify to use the current .config you always get a generic .config to start with. That is where your problem is probably stemming from. After make mrproper, issue the command
zcat /proc/config.gz > /usr/src/linux/.config

Then do the make xconfig and pick what you are building in or taking out.
After you save, you do not need to run all the steps you did. The 2.6 kernel merely requires that you do...
make
make modules_install
then you can finish up with
make install

I would suggest you copy the entire /boot directory as a backup before you even begin.
in case you have problems again.
 
Old 08-31-2004, 05:37 PM   #3
sarti
LQ Newbie
 
Registered: Aug 2004
Location: Guatemala
Distribution: Debian Etch
Posts: 8

Original Poster
Rep: Reputation: 0
Unhappy naaaaa....

I did what you said(lot easier); but still my screen is black with no movemente at all, I think the loading of the kernel doesn't start.
Could this be a problem with the things I have to compile as a module or inside the kernel???
I have a compaq presario 700 laptop:
980MHz Duron Processor
18GB Toshiba HD
256MB RAM Memory
S3_TwisterK Graphic Card
Integrated Sound Max Card
Realtek RT8139 Network card
Synapsis Touchpad
Toshiba DVD-ROM
All of this works fine with suse 9.0 professional.
If I compile the kernel with the option as a module:
File systems -----> Reiserfs support
it doesn't show me that error when I run "make install" or "mkinitrd -k bzImage-2.6.7 -i initrd-2.6.7":
Cannot determine dependencies of module reiserfs. Is modules.dep up to date?
Modules:
none
but still it doesn't work!!!
 
Old 08-31-2004, 09:15 PM   #4
amfoster
Member
 
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 36
Without recompiling, just as a test, try starting the system by passing a parameter like

linux acpi=no
It may seem to be completely unrelated, but it is possible that this may work. I had a similar problem until I tried not using acpi or apm

I think you should try that before any "Major Brain surgery".
 
Old 09-02-2004, 04:58 PM   #5
sarti
LQ Newbie
 
Registered: Aug 2004
Location: Guatemala
Distribution: Debian Etch
Posts: 8

Original Poster
Rep: Reputation: 0
It worked!!! thanks.
I think the problem was resolved by acpi=off, I added it in grub and now it works!!!
There are still some little problems though (it shows no boot messages at startup, no sound, the mouse got crazy, I don't know what acpi means...) but that is another thread...
 
  


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
SUSE 9.2, Wifi doesn't work, after kernel update malcontent SUSE / openSUSE 2 12-21-2004 08:46 AM
Kernel 2.4.27 on Suse 9.1 Pro - mouse doesn't work rocketdude SUSE / openSUSE 2 11-11-2004 10:01 AM
How I got Nvidia 6111, Kernel 2.6.X, Suse 9.1, AMDx86 to work Thoreau Linux - Hardware 1 10-30-2004 12:36 PM
Getting Linksys WUSB11 ver. 2.5 NIC to work in Suse 9.1 without building the kernel? kaosyan Linux - Wireless Networking 1 08-16-2004 11:58 AM
modprobing kernel doesn't work for SuSE 9.0 bladepdx Linux - Newbie 11 05-30-2004 09:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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