kernel panic while booting new kernel

kernel panic while booting new kernel

Post by Carsten Huet » Tue, 25 Jul 2000 04:00:00



Hello,

after compiling a new kernel i get the following error while booting

npx0: INT 16 interface
de0: enabling 10baseT port

Fatal trap 12: page fault while in kernel mode
fault virtual adress    = 0x58
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc02019ff
stack pointer           = 0x10:0xc02e4f84
frame pointer           = 0x10:0xc02e4f88
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 0 ()
interrupt mask          =
trap number             = 12
panic: page fault
Automatic reboot in 15 seconds...

What's wrong with my kernel config file?
Any hints?

TIA
C.

--
Carsten Huettl

 
 
 

kernel panic while booting new kernel

Post by Nick Hilliar » Tue, 25 Jul 2000 04:00:00



> instruction pointer     = 0x8:0xc02019ff
[...]
> What's wrong with my kernel config file?

If you run "nm /kernel | sort", and find out which function the address
"c02019ffc" is in, it should give you some idea what the kernel is doing when
it's panicking.

Which version of FreeBSD are you running, and what does your kernel config file
look like?

Nick

 
 
 

kernel panic while booting new kernel

Post by Carsten Huet » Tue, 25 Jul 2000 04:00:00



>If you run "nm /kernel | sort", and find out which function the address
>"c02019ffc" is in, it should give you some idea what the kernel is doing when
>it's panicking.

bash-2.03# nm /kernel | grep c02019
c0201928 T cninit
c02019b0 T cninit_finish
c0201928 t gcc2_compiled.

???

Quote:

>Which version of FreeBSD are you running, and what does your kernel config file
>look like?

I am runing fbsd 3.4
and I have for the first trial only edited the copied GENERIC file
without anything from LINT

It is my 2. trial to compile a kernel. Before starting to compile the
kernel I deleted the old compilation directory. Is there anything else
I have to delete or make propper something from make depend or...?

C.

--
Carsten Huettl

 
 
 

kernel panic while booting new kernel

Post by Nick Hilliar » Tue, 25 Jul 2000 04:00:00



> bash-2.03# nm /kernel | grep c02019
> c0201928 T cninit
> c02019b0 T cninit_finish
> c0201928 t gcc2_compiled.

Looks like something to do with console initialisation.

Quote:> It is my 2. trial to compile a kernel. Before starting to compile the
> kernel I deleted the old compilation directory. Is there anything else
> I have to delete or make propper something from make depend or...?

To rebuild your kernel, type:

: # config <kernel file name>
: # cd ../../compile/<kernel file name>
: # make depend
: # make
: # make install

Can you post your config file?  It's possible that there's just a mistake in it.

Nick

 
 
 

1. Problems when boot new kernel 2.5.66 kernel panic

Hi my name is Jesus Delgado from Mexico City:

  I need help for resolve this problems, compile kernel 2.5.66 in rh 8, update
my lvm to lvm2 utils, devmapper, modutil 2.4.24, when try to boot with new
kernel recive this messages:

   VFS: Cannot open root device "rootvg/lvol1" or unknown-block(0,0)
   Please append a coorect "root=" boot option
   kernel panic
   VFS= Unable to mount fs on unknown-block(0,0).

   In my new kernel the modules this into kernel not how modules.

   In kernel 2.4.20 the boot OK with LVM

   Help please.

   Regards

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Trantor T160

3. Help to boot new kernel with grub -delited the old kernel before tried the new one

4. Visio Users: check out DIA

5. kernel panic on a 2.2.5 kernel new compile

6. Interoperating with Solaris 2.5 NIS+ and Redhat 4.1

7. New Kernel error: Kernel panic

8. samba: using diff user name

9. Kernel Panic for the new kernel

10. compiling ANY new kernel gives "Kernel Panic"...HELP!

11. New Kernel error: Kernel panic

12. RH 2.4.7 kernel panic: How to get a new kernel on there?

13. Kernel Panic: Can't mount root - after building new kernel