Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo auto reboot while loading kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
dd-209
n00b
n00b


Joined: 21 Aug 2004
Posts: 28
Location: Gool, Netherlands

PostPosted: Sat Aug 21, 2004 8:59 pm    Post subject: gentoo auto reboot while loading kernel Reply with quote

I have an old pentium pro where i want to install gentoo on.
The problem is that the system automaticly reboots after selecting gentoo in the grub boot menu.

I already installed several linux gentoo systems and all those systems work perfect. I always build my own kernel.

I have no error codes because the auto reboot. I already tried to install the system for a second time with the latest version of gentoo the result is still the same.

the system:
pentium pro 166
128 MB RAM
2 X hardrive's 4 GB
2 X 3com 3c905b-tx
Back to top
View user's profile Send private message
oumpah-pah
Guru
Guru


Joined: 18 Jul 2004
Posts: 575
Location: Lausanne, Switzerland

PostPosted: Sat Aug 21, 2004 11:03 pm    Post subject: Reply with quote

Could you post your grub.conf file and your fstab ?
Back to top
View user's profile Send private message
Soat
n00b
n00b


Joined: 30 May 2004
Posts: 53
Location: Glastonbury, CT

PostPosted: Sat Aug 21, 2004 11:09 pm    Post subject: Reply with quote

I say look over the kernel config again, especially at stuff concerning processor type. If you used a config off another computer, a ton of components could be trying to be something they're not. :wink:

If you're sure everything is set, it could be some hardware failure. I would think a kernel panic would occur if it was a kernel problem, not a forced reboot. Maybe the boot partition is screwy on a certain sector. Fsck it, and if it doesn't work after that, move it to the other drive.
_________________
If at first you don't succeed, complain to the nearest linux guru.
Back to top
View user's profile Send private message
dd-209
n00b
n00b


Joined: 21 Aug 2004
Posts: 28
Location: Gool, Netherlands

PostPosted: Tue Aug 24, 2004 10:03 am    Post subject: Reply with quote

I tried to build a new kernel with 386 processor support and not with pentium pro but the problem remains.

here is also my grub.conf:

default 0
timeout 10
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux
root (hd0,0)
kernel /kernel-2.4.25-gentoo root=/dev/hda2


And this is my fstab:

/dev/hda1 /boot ext2 noauto,noatime 0 1
/dev/hda2 / ext3 noatime 0 0
/dev/hdb1 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
Back to top
View user's profile Send private message
didl
Retired Dev
Retired Dev


Joined: 09 Sep 2003
Posts: 1106
Location: Pittsburgh, PA

PostPosted: Tue Aug 24, 2004 1:47 pm    Post subject: Reply with quote

Please try replacing

dd-209 wrote:

kernel /kernel-2.4.25-gentoo root=/dev/hda2


by

Code:

kernel (hd0,0)/<fullpathname to kernel>/kernel-2.4.25-gentoo root=/dev/hda2


where <fullpathname> is the full path to the kernel image with
respect to /.
Back to top
View user's profile Send private message
oumpah-pah
Guru
Guru


Joined: 18 Jul 2004
Posts: 575
Location: Lausanne, Switzerland

PostPosted: Tue Aug 24, 2004 5:25 pm    Post subject: Reply with quote

I don't think the kernel line is wrong. In my opinion, it would rather be the title line. In my grub.conf, I have
Quote:
title Gentoo linux 2.6.8-r1
root (hd0,5)
kernel /kernel-2.6.8-gentoo-r1 root=/dev/hda7

Notice there is no equal sign between 'title' and 'Gentoo'. Maybe this is the problem.
Back to top
View user's profile Send private message
mdowney
Tux's lil' helper
Tux's lil' helper


Joined: 16 Sep 2003
Posts: 120
Location: Columbus, OH

PostPosted: Tue Aug 24, 2004 5:48 pm    Post subject: Reply with quote

Kernel Line is incorrect because you need to tell grub where to find the kernel image ( / is not valid because the kernel sets that up) which is why (hd 0,0) is required.

Title line may need the equals also, not 100% sure on that.
Back to top
View user's profile Send private message
dd-209
n00b
n00b


Joined: 21 Aug 2004
Posts: 28
Location: Gool, Netherlands

PostPosted: Tue Aug 24, 2004 7:36 pm    Post subject: Reply with quote

I looked at the grub.conf on one of my other gentoo boxes.
That grub.conf is working corectly:

title=Gentoo Linux
root (hd0,0)
kernel /kernel-2.4.25-gentoo root=/dev/hda2


I have two of those hp vectra ve5 systems. the idea was to build 2 squid proxy servers and use the super proxy script. So i can do load balacing and a proxy backup system.

I wanted to cloon the harddrives, because the systems are identical. I also installed the second system and it got the same problem. So i don't believe that the problem is caused by bad hardware.

Those vectra's are old pentium pro 166 but they have ultra ata, original they where equiped with nt4.0 there was some kind of scsi emulation driver can this be the problem. do i need scsi support???

I can also use genkernel but i want to build my own kernel to keep the system fast and light.
Back to top
View user's profile Send private message
didl
Retired Dev
Retired Dev


Joined: 09 Sep 2003
Posts: 1106
Location: Pittsburgh, PA

PostPosted: Tue Aug 24, 2004 8:57 pm    Post subject: Reply with quote

dd-209 wrote:
I looked at the grub.conf on one of my other gentoo boxes.
That grub.conf is working corectly:

title=Gentoo Linux
root (hd0,0)
kernel /kernel-2.4.25-gentoo root=/dev/hda2


Are you sure that the kernel image is in /
rather than in a separate /boot partition.
Currently your grub setup will have it look
for it in /.
Back to top
View user's profile Send private message
dd-209
n00b
n00b


Joined: 21 Aug 2004
Posts: 28
Location: Gool, Netherlands

PostPosted: Tue Aug 24, 2004 9:22 pm    Post subject: Reply with quote

root (hd0,0) is the boot partition.
That is where the kernel is located.


Tommorow i wil try to change the grub.conf.
I don't believe it will work because i already installed several gentoo boxes.
And i used on every system the same (kind) grub.conf.
all those systems work perfectly. But if it works i will let you know.
Back to top
View user's profile Send private message
mdowney
Tux's lil' helper
Tux's lil' helper


Joined: 16 Sep 2003
Posts: 120
Location: Columbus, OH

PostPosted: Tue Aug 24, 2004 10:58 pm    Post subject: Reply with quote

Here is my grub.conf if that helps, i have a similar partition scheme it looks like:

Code:
default 0
timeout 10
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Sources with AGP
root (hd0,0)
kernel (hd0,0)/kernel-2.4.20-gentoo-r7 root=/dev/hda3 hdd=ide-scsi hdc=ide-scsi vga=791
initrd (hd0,0)/initrd-2.4.20-gentoo-r7


title=Gentoo Sources default
root (hd0,0)
kernel (hd0,0)/kernel-2.4.20-gentoo-r7-old root=/dev/hda3 hdd=ide-scsi
initrd (hd0,0)/initrd-2.4.20-gentoo-r7-old
Back to top
View user's profile Send private message
dd-209
n00b
n00b


Joined: 21 Aug 2004
Posts: 28
Location: Gool, Netherlands

PostPosted: Thu Aug 26, 2004 8:31 am    Post subject: Reply with quote

I have changed the grub.conf file but with no result.

Now i'm building a kernel with genkernel.
Maybe that will do the trick...
Back to top
View user's profile Send private message
dd-209
n00b
n00b


Joined: 21 Aug 2004
Posts: 28
Location: Gool, Netherlands

PostPosted: Tue Aug 31, 2004 9:29 pm    Post subject: Reply with quote

problem solved.
I enabled scsi emulation in the kernel.
Now the kernel loads so i can configure my proxy servers.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum