Received: from jazzhorn.ncsc.mil (mummy.ncsc.mil [144.51.88.129]) by tarius.tycho.ncsc.mil (8.13.1/8.13.1) with ESMTP id k5CFmsIG007759 for ; Mon, 12 Jun 2006 11:48:54 -0400 Received: from nf-out-0910.google.com (jazzhorn.ncsc.mil [144.51.5.9]) by jazzhorn.ncsc.mil (8.12.10/8.12.10) with ESMTP id k5CFmrZr010674 for ; Mon, 12 Jun 2006 15:48:53 GMT Received: by nf-out-0910.google.com with SMTP id o60so912670nfa for ; Mon, 12 Jun 2006 08:48:52 -0700 (PDT) Message-ID: <8c3441240606120848t31058f4axd4b553be9f07c69f@mail.gmail.com> Date: Mon, 12 Jun 2006 11:48:52 -0400 From: "Moises Mojica" To: selinux@tycho.nsa.gov Subject: Re: Kernel Panic after Kernel Upgrade In-Reply-To: <8c3441240606070823y7ff37503ub138fe627c444e57@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2067_12168779.1150127332343" References: <8c3441240606070823y7ff37503ub138fe627c444e57@mail.gmail.com> Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov ------=_Part_2067_12168779.1150127332343 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi Stephen, Thank you for your response on this issue. Can you point me to an official seLinux document that I can use to learn more about how seLinux works and how to create/modify the policy and upgrad= e the policy toolchain? --Moises On 6/7/06, Moises Mojica wrote: > > Hi, > > > > I have a newly installed version of SELinux (2.6..9-34.EL) which works > fine but I also have a need to develop an NATH323 gatekeeper solution an= d > in order to accomplish this I must upgrade the kernel to 2.6.16.20 and > enable the NATH323 module but after compiling and installing the new kern= el > I am unable to boot from it do to a kernel panic. > > > > I followed the steps outlined in the document at > http://nath323.sourceforge.net/ but still I can only boot from the > original kernel (2.6.9-34.EL). > > > > What am I missing? Can someone assist? > > > > > > *Kernel Panic Message:* > > > > Ext3-fs: mounted filesystem with ordered data mode. > > Switching to new root. > > Enforcing mode requested but no policy loaded. Halting now. > > Kernel panic - not syncing: Attempted to kill init! > > > > *grub.conf:* > > > > # grub.conf generated by anaconda > > # > > # Note that you do not have to rerun grub after making changes to this > file > > # NOTICE: You have a /boot partition. This means that > > # all kernel and initrd paths are relative to /boot/, eg. > > # root (hd0,0) > > # kernel /vmlinuz-version ro root=3D/dev/VolGroup00/LogVol00 > > # initrd /initrd-version.img > > #boot=3D/dev/sda > > default=3D1 > > timeout=3D5 > > splashimage=3D(hd0,0)/grub/splash.xpm.gz > > hiddenmenu > > title Red Hat Enterprise Linux ES (2.6.16.20) > > root (hd0,0) > > kernel /vmlinuz-2.6.16.20 ro root=3D/dev/VolGroup00/LogVol00 > > initrd /initrd-2.6.16.20.img > > title Red Hat Enterprise Linux ES (2.6.9-34.EL) > > root (hd0,0) > > kernel /vmlinuz-2.6.9-34.EL ro root=3D/dev/VolGroup00/LogVol00 > > initrd /initrd-2.6.9-34.EL.img > > [root@gnugk ~]# > > > -- > Mois=E9s Mojica, Jr. > Sr. Systems Engineer III, R&D > > GlowPoint, Inc. > 973-391-2041 Office > 201-736-6316 Mobile > 781-839-3085 Video > > "It's not the strongest of the species, nor the most intelligent, > that survive; it's the one most responsive to change." > ------=_Part_2067_12168779.1150127332343 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Hi  Stephen,
 
Thank you for your response on this issue.
 
Can you point me to an official seLinux document that I can use to lea= rn more about how seLinux works and how to create/modify the policy and upg= rade the policy toolchain?
 
--Moises


 
On 6/7/06, M= oises Mojica <moises.moji= ca@gmail.com> wrote:
Hi,

 

I have a newly installed version of SELin= ux (2.6..9-34.EL) which works fine but I also  have a need to develop an NATH323 gatekeeper solution and in order t= o accomplish this I must upgrade the kernel to 2.6.16.20 and enable the NATH323 module but after compiling and installing = the new kernel I am unable to boot from it do to a kernel panic.

 

I followed the steps outlined in the docu= ment at http://nath323.sourceforge.net/ but still I can only boot from the original kernel (2.6.9-34.EL= ).

 

What am I missing? Can someone assist?<= /p>

 

 

Kernel Panic Message:

 

Ext3-fs: mounted filesystem= with ordered data mode.

Switching to new root.

Enforcing mode requested bu= t no policy loaded. Halting now.

Kernel panic - not syncing:= Attempted to kill init!

 

grub.conf:

 

# grub.conf generated by an= aconda

#

# Note that you do not have= to rerun grub after making changes to this file

# NOTICE:  You have a = /boot partition.  This means that

#    &n= bsp;     all kernel and initrd paths are relative to /b= oot/, eg.

#    &n= bsp;     root (hd0,0)

#    &n= bsp;     kernel /vmlinuz-version ro root=3D/dev/VolGrou= p00/LogVol00

#    &n= bsp;     initrd /initrd-version.img

#boot=3D/dev/sda

default=3D1

timeout=3D5

splashimage=3D(hd0,0)/grub/= splash.xpm.gz

hiddenmenu

title Red Hat Enterprise Li= nux ES ( 2.6.16.20)

    &nb= sp;   root (hd0,0)

    &nb= sp;   kernel /vmlinuz- 2.6.16.20 ro root=3D/dev/VolGroup00/LogVol00

    &nb= sp;   initrd /initrd-2.6.16.20.img

title Red Hat Enterprise Li= nux ES (2.6.9-34.EL)

    &nb= sp;   root (hd0,0)

    &nb= sp;   kernel /vmlinuz-2.6.9-34.EL ro root=3D/dev/VolGroup00/LogVo= l00

    &nb= sp;   initrd /initrd-2.6.9-34.EL.img

[root@gnugk ~]#

<= /div>
 

--
Mois=E9s Mojica, Jr.
Sr. Systems Engineer III, R&D =

GlowPoint, Inc.
973-391-2041 Office
201-736-6316 Mobile
7= 81-839-3085 Video

"It's not the strongest of the species, nor t= he most intelligent,=20
that survive; it's the one most responsive to change."

------=_Part_2067_12168779.1150127332343-- -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.