LeRoy Cressy on Wed, 17 Apr 2002 14:00:17 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] kernel won't boot


If you had not changed the default runlevel or anyone else has done it I
think the logs will help the most.  Also try building the kernel for an
i386 and work up from there.  It might be the processor that is giving
you trouble.

This is what you should see from beginning of dmesg:

Linux version 2.4.16 (leroy@patches-place) (gcc version 2.95.4 20011006
(Debian 
prerelease)) #3 Thu Dec 13 20:39:08 EST 2001
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000001fffd000 (usable)
 BIOS-e820: 000000001fffd000 - 000000001ffff000 (ACPI data)
 BIOS-e820: 000000001ffff000 - 0000000020000000 (ACPI NVS)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
On node 0 totalpages: 131069
zone(0): 4096 pages.
zone(1): 126973 pages.
zone(2): 0 pages.
Kernel command line: auto BOOT_IMAGE=Linux ro root=801
Initializing CPU#0
Detected 400.917 MHz processor.

The first line tells you what linux version and etc, but your original
post indicated that the machine wasn't even going this far and rebooting
after a `s' appeared. This seems to indicate that somewhere in the very
beginning of the binary kernel code there is a reboot instruction

Samantha's problem is interesting since it seems that the kernel is
sending a reboot instruction to the machine   I found the following in
arch/i386/kernel/process.c of the kernel source code.  

        /* Write zero to CMOS register number 0x0f, which the BIOS POST
           routine will recognize as telling it to do a proper reboot. 
(Well
           that's what this book in front of me says -- it may only
apply to
           the Phoenix BIOS though, it's not clear).  At the same time,
           disable NMIs by setting the top bit in the CMOS address
register,
           as we're about to do peculiar things to the CPU.  I'm not
sure if
           `outb_p' is needed instead of just `outb'.  Use it to be on
the
           safe side.  (Yes, CMOS_WRITE does outb_p's. -  Paul G.)
         */

I think that Samatha would be wise to write to the kernel people for
help.


Samantha Samuel wrote:
> 
> > Since it is possible to boot using the old kernel...I wonder what the
> > logs show. ???
> 
> I am not I know the logs you are referring to....where can I find them?
> 
> Also someone mentioned that its possible the new kernel is defaulting to
> runlevel 6, where can I find this file to tweak and not default to run
> level 6?
> 
> Samantha
> 
> ______________________________________________________________________
> Philadelphia Linux Users Group       -      http://www.phillylinux.org
> Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
> General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug

-- 
Rev. LeRoy D. Cressy   mailto:leroy@lrcressy.com   /\_/\
                       http://lrcressy.com        ( o.o )
                       Phone:  215-535-4037        > ^ <

Jesus saith unto him, I am the way, the truth, and the life: 
no man cometh unto the Father, but by me. (John 14:6)

______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug