FreeBSD stable 9 with options vimage -> kernel panic

I need help please... I updated source of kernel from "release 9.1" to "stable 9", and then add "options vimage" in: /usr/src/sys/amd64/conf/GENERIC rebuild and install kernel, then reboot but "panic kernel" happen.

What I am wrong?


sorry en my bad english
 
Never edit GENERIC, copy the file to another name and edit that one. Also don't forget to modify the "indent" line.

When you say you updated the kernel, did you also update the rest?
 
Really, I copy GENERIC file and I try add
Code:
nooptions  SCTP
options    VIMAGE
and only
Code:
options VIMAGE
the same happen ... panic kernel

I update kernel 10-Jan-2013
 
yes.

i buildworld, buildkernel, installkernel, restart and installworld

Do you think I should do this again?
 
Is strange you got a kernel panic using 9-STABLE, anyway I dunno if you followed a tutorial. If you have not done before, it is time to read now. If you are still having problems, please, show your kernel configuration file, maybe you do not added some lines needed to build well.
 
idexbsd said:
Really, I copy GENERIC file and I try add
Code:
nooptions  SCTP
options    VIMAGE
and only
Code:
options VIMAGE
the same happen ... panic kernel

I update kernel 10-Jan-2013

For future reference, try something like this instead of copying the GENERIC file:
/usr/srs/sys/<arch>/conf/MYKERNEL:
Code:
include GENERIC
ident MYKERNEL

nooptions SCTP
options VIMAGE

It has no impact on the end result, but it does make things easier to maintain.
 
I don't understand, I buildworld, installwolrd and restart

Then I have followed the suggestions of "Savagedlight" and I create file:
Code:
include GENERIC

ident           IKERNEL
 
nooptions       SCTP        
options         VIMAGE
device          epair
device          if_bridge

options         NULLFS
but again "panic kernel"
 
There is a way to check why this happens? I do not know, I can think of checking the files in the folder /var/crash.

Please, I need your help.
 
The same, in the file GENERIC, I comment "SCTP"
Code:
#options SCTP
and in my file IKERNEL only add:
Code:
include GENERIC

ident           IKERNEL
 
        
options         VIMAGE
device          epair
device          if_bridge

options         NULLFS
again "panic kernel"
 
Test this configuration, if you get a kernel panic, you should take a look at the freebsd-virtualization mailing list to ask for help.

Code:
include GENERIC
 
cpu             I686_CPU
ident           JAILKERNEL
 
# Virtual networking for jail
options         VIMAGE
device          epair
device          if_bridge
 
# The nullFS to mount local directory
options         NULLFS

Since 8.0-CURRENT after enabling support for VIMAGE kernel builds with one active image. If all goes well, seems that SCTP need add minor fixes. In principle can work VIMAGE and SCTP together. But you have a problem with this issue.
 
I installed in a new partition FreeBSD 9.1-RELEASE and I rebuilt the kernel with the following configuration:
Code:
cpu             HAMMER
ident           JAILKERNEL
 
# Virtual networking for jail
options         VIMAGE
device          epair
device          if_bridge
 
# The nullFS to mount local directory
options         NULLFS
I've done the same thing: buildworld, buildkernel, installkernel and installworld

But the same thing has happened.

I do not understand I can be doing wrong.

In the machine con FreeBSD 9.1-STABLE I have this
Code:
idex# uname -a
FreeBSD idex.idexbsd.com 9.1-STABLE FreeBSD 9.1-STABLE #6 r245640M: Fri Jan 18 18:44:16 PET 2013     root@:/usr/obj/usr/src/sys/IKERNEL  amd64
 
It's hard to believe that a default installation, where I only to add parameters to the VIMAGE this does not work, because as I repeat, I only added the elements that are described above.

Or this "kernel panic" is because the FreeBSD release 9.1 does not support the VIMAGE
 
idexbsd said:
It's hard to believe that a default installation, where I only to add parameters to the VIMAGE this does not work, because as I repeat, I only added the elements that are described above.

Or this "kernel panic" is because the FreeBSD release 9.1 does not support the VIMAGE

VIMAGE is still a highly experimental feature.
 
I wonder if the network card isn't supported properly for VIMAGE... seems that the OP has done all the right things, and if it's still panicking then I'd start thinking hardware. I have an Atheros card with 3 antennae and it will panic my system hardcore as soon as hostapd starts. It doesn't not matter the RELENG either, STABLE, RELEASE, 8/9/10... doesn't matter. I never have figured out why either, but anyways, let's have a look at the network card information. Paste the output of ifconfig -a please.

PS, yes I know RELENG 10 is not RELEASE yet, but I think the idea is still clear ;-)
 
Back
Top