Installation Problem
Hi, I am attempting to install the new 2.4-based SELinux at Redhat9.0. But when I finished the installation I found I couldn't reboot the Redhat9.0 any longer while I can boot with the SELinux kernel. When I boot with the Redhat9.0 kernel I got the following error message:
------------------------------------------------------------------------------------------------------------------------------------------------------
attempt to access beyond end of device
03:09: rw=0, want=xxxxxxxxxx,limit=xxxxxxxxxx
kernel panic: No init found ,Try passing init=option to kernel
------------------------------------------------------------------------------------------------------------------------------------------------------
my harddisk statistics is below:
---------------------------------------------------------------------------------------------------------------------------------------------------------
Disk /dev/hda: 40.9 GB, 40982151168 bytes
255 heads, 63 sectors/track, 4982 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System /dev/hda1 * 1 634 5092573+ b Win95 FAT32 /dev/hda2 635 4982 34925310 f Win95 Ext'd (LBA) /dev/hda5 1688 2550 6932016 7 HPFS/NTFS /dev/hda6 2551 3825 10241406 b Win95 FAT32 /dev/hda7 3826 4982 9293571 b Win95 FAT32 /dev/hda8 635 647 104359+ 83 Linux /dev/hda9 648 1622 7831656 83 Linux /dev/hda10 1623 1687 522081 82 Linux swap
Partition table entries are not in disk order
------------------------------------------------------------------------------------------------------------------------------------------------------------
my grub.conf is listed too
-----------------------------------------------------------------------------------------------------------------------------------------------------------
# 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,7) # kernel /vmlinuz-version ro root=/dev/hda9 # initrd /initrd-version.img #boot=/dev/hda default=1 timeout=10 splashimage=(hd0,7)/grub/splash.xpm.gz title Red Hat Linux (2.4.20-8) root (hd0,7) kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ initrd /initrd-2.4.20-8.img title SELinux (2.4.21) root (hd0,7) kernel /bzImage-2.4 ro root=LABEL=/ initrd /initrd-2.4.21.img title DOS rootnoverify (hd0,0) chainloader +1 -------------------------------------------------------------------------------------------------------------------------------------------------------------------
Is it a hardware trouble? How can I boot my Redhat 9.0 again? Thanks!
SELinux uses extended attributes for file security contexts. We (and others) have encountered problems booting unmodified 2.4 kernels after assigning extended attributes to the root filesystem.
A 2.4 kernel with the Extended Attribute patch applied will boot. The kernel source that you are using for SELinux has the EA patch, so you can use it to make a non-SELinux kernel.
Quoted 62 lines · lky
Hi, I am attempting to install the new 2.4-based SELinux at Redhat9.0. But when I finished the installation I found I couldn't reboot the Redhat9.0 any longer while I can boot with the SELinux kernel. When I boot with the Redhat9.0 kernel I got the following error message:
------------------------------------------------------------------------------------------------------------------------------------------------------
attempt to access beyond end of device
03:09: rw=0, want=xxxxxxxxxx,limit=xxxxxxxxxx
kernel panic: No init found ,Try passing init=option to kernel
------------------------------------------------------------------------------------------------------------------------------------------------------my harddisk statistics is below:
---------------------------------------------------------------------------------------------------------------------------------------------------------
Disk/dev/hda: 40.9 GB, 40982151168 bytes
255 heads, 63 sectors/track, 4982 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytesDevice Boot Start End Blocks Id System /dev/hda1 * 1 634 5092573+ b Win95 FAT32 /dev/hda2 635 4982 34925310 f Win95 Ext'd (LBA) /dev/hda5 1688 2550 6932016 7 HPFS/NTFS /dev/hda6 2551 3825 10241406 b Win95 FAT32 /dev/hda7 3826 4982 9293571 b Win95 FAT32 /dev/hda8 635 647 104359+ 83 Linux /dev/hda9 648 1622 7831656 83 Linux /dev/hda10 1623 1687 522081 82 Linux swapPartition table entries are not in disk order
------------------------------------------------------------------------------------------------------------------------------------------------------------my grub.conf is listed too
-----------------------------------------------------------------------------------------------------------------------------------------------------------
# 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,7) # kernel /vmlinuz-version ro root=/dev/hda9 # initrd /initrd-version.img #boot=/dev/hda default=1 timeout=10 splashimage=(hd0,7)/grub/splash.xpm.gz title Red Hat Linux (2.4.20-8) root (hd0,7) kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ initrd /initrd-2.4.20-8.img title SELinux (2.4.21) root (hd0,7) kernel /bzImage-2.4 ro root=LABEL=/ initrd /initrd-2.4.21.img title DOS rootnoverify (hd0,0) chainloader +1 -------------------------------------------------------------------------------------------------------------------------------------------------------------------Is it a hardware trouble? How can I boot my Redhat 9.0 again? Thanks!
Signature · 7 lines
James Carter <[email protected]> National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Absolutely right! Thanks a lot!
Quoted 8 lines
SELinux uses extended attributes for file security contexts. We (and others) have encountered problems booting unmodified 2.4 kernels after assigning extended attributes to the root filesystem.
A 2.4 kernel with the Extended Attribute patch applied will boot. The kernel source that you are using for SELinux has the EA patch, so you can use it to make a non-SELinux kernel.
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 4 lines · lky
Hi, I am attempting to install the new 2.4-based SELinux at Redhat9.0. But when I finished the installation I found I couldn't reboot the Redhat9.0 any longer while I can boot with the SELinux kernel. When I boot with the Redhat9.0 kernel I got the following error message:
I am under the impression that this kernel bug (as described by James Carter) has not yet been correctly tracked down and fixed.
Discussing this matter with James Morris and Stephen Tweedie off-list may be beneficial, it would be good if this bug could be fixed before 2.4.23...
I suggest discussing it off-list as Stephen may require more information about your system than you are willing to provide in a public forum.
Signature · 10 lines
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/~russell/ My home page -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.