Re: [CentOS] Kernel panic - not syncing: Attempted to kill init! after installation of Driver Diskette for enabling Onboard RAID Controller Chipset

2011-07-18 Thread Kaushal Shriyan
On Fri, Jul 15, 2011 at 11:47 AM, John R Pierce pie...@hogranch.com wrote:
 On 07/14/11 10:56 PM, Kaushal Shriyan wrote:
 I have HP DL 180 G6 2U Rack Server with HP Smart Array Controller Card
 B110i Onboard SATA Controller Chipset. This server has 4 * 500 GB SATA
 HDD have configured RAID 1+0 and it shows Single Logical Drive of 940
 GB Hard Disk in the RAID BIOS.

 the SmartArray 110i is simply Intel Matrix fake raid.  The hardware is
 purely basic plain SATA JBOD, but the BIOS and driver implement the raid
 behind the systems back.

 Configure the BIOS for AHCI native SATA, and use linux native raid.  See
 http://wiki.centos.org/HowTos/SoftwareRAIDonCentOS5?highlight=%28RAID%29


 --
 john r pierce                            N 37, W 122
 santa cruz ca                         mid-left coast

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


Hi Again,

I did some changes, i just created two partitions / and swap using the
Anaconda Installer, it worked fine after loading boot loader GRUB and
then after it stopped at Kernel Panic.

device—mapper: dm—raid15: initialized v0.25941
Waiting for driver initialization
Scanning and configuring dnraid supported devices
Trying to resume from (LABEL=SWAP-sda2)
Unable to access resume device (L‘*wmVgW_¢;1iZ)
Creating root device.
Hounting root filesystem.
EXT3—fs error (device sdc1) : ext3_check_descriptors: Block bitmap for group 296
not in group (block 231211688)!
EXT3~fs1 group descriptors corrupted!
mount: error mounting /dev/root on /sysroot as ext3: Invalid argument
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Suitching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
suitchrootr mount failed: No such file or directory
Kernel panic — not syncing: Attempted to kill init!

Please suggest further. is there a way to create customized initrd for
this default kernel available on CentOS 5.6

Thanks and Regards,

Kaushal
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Kernel panic - not syncing: Attempted to kill init! after installation of Driver Diskette for enabling Onboard RAID Controller Chipset

2011-07-18 Thread Kaushal Shriyan
On Mon, Jul 18, 2011 at 6:59 PM, Kaushal Shriyan
kaushalshri...@gmail.com wrote:
 On Fri, Jul 15, 2011 at 11:47 AM, John R Pierce pie...@hogranch.com wrote:
 On 07/14/11 10:56 PM, Kaushal Shriyan wrote:
 I have HP DL 180 G6 2U Rack Server with HP Smart Array Controller Card
 B110i Onboard SATA Controller Chipset. This server has 4 * 500 GB SATA
 HDD have configured RAID 1+0 and it shows Single Logical Drive of 940
 GB Hard Disk in the RAID BIOS.

 the SmartArray 110i is simply Intel Matrix fake raid.  The hardware is
 purely basic plain SATA JBOD, but the BIOS and driver implement the raid
 behind the systems back.

 Configure the BIOS for AHCI native SATA, and use linux native raid.  See
 http://wiki.centos.org/HowTos/SoftwareRAIDonCentOS5?highlight=%28RAID%29


 --
 john r pierce                            N 37, W 122
 santa cruz ca                         mid-left coast

 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


 Hi Again,

 I did some changes, i just created two partitions / and swap using the
 Anaconda Installer, it worked fine after loading boot loader GRUB and
 then after it stopped at Kernel Panic.

 device—mapper: dm—raid15: initialized v0.25941
 Waiting for driver initialization
 Scanning and configuring dnraid supported devices
 Trying to resume from (LABEL=SWAP-sda2)
 Unable to access resume device (L‘*wmVgW_¢;1iZ)
 Creating root device.
 Hounting root filesystem.
 EXT3—fs error (device sdc1) : ext3_check_descriptors: Block bitmap for group 
 296
 not in group (block 231211688)!
 EXT3~fs1 group descriptors corrupted!
 mount: error mounting /dev/root on /sysroot as ext3: Invalid argument
 Setting up other filesystems.
 Setting up new root fs
 setuproot: moving /dev failed: No such file or directory
 no fstab.sys, mounting internal defaults
 setuproot: error mounting /proc: No such file or directory
 setuproot: error mounting /sys: No such file or directory
 Suitching to new root and running init.
 unmounting old /dev
 unmounting old /proc
 unmounting old /sys
 suitchrootr mount failed: No such file or directory
 Kernel panic — not syncing: Attempted to kill init!

 Please suggest further. is there a way to create customized initrd for
 this default kernel available on CentOS 5.6

 Thanks and Regards,

 Kaushal


Hi Again,

I have read this on the forums and it explained as below.

Probably need to get that module into your initrd. The computer, upon
booting, loads a kernel image and an initial ramdisk. the latter is a
compressed filesystem image that the bootloader just maps into memory,
and it holds a number of kernel modules and helper programs for the
kernel you are booting. if it does not contain the kernel module
that's driving your RAID controller, the kernel won't ever be able to
recognize your disk array, because it
lacks the proper driver for it that's why the initrd's helper programs
are panicking - they are trying to mount a crucial filesystem from a
device which just isn't there it cannot continue, and bails with a
big, fat error

Somehow need to include the driver you loaded from the USB thumb drive
during installation during booting your system (most probably from
within
the initrd) . probably need to get that module into the initrd.

Please guide/suggest further.

Regards,

Kaushal
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Kernel panic - not syncing: Attempted to kill init! after installation of Driver Diskette for enabling Onboard RAID Controller Chipset

2011-07-18 Thread Ljubomir Ljubojevic
Kaushal Shriyan wrote:
 On Mon, Jul 18, 2011 at 6:59 PM, Kaushal Shriyan
 kaushalshri...@gmail.com wrote:
 On Fri, Jul 15, 2011 at 11:47 AM, John R Pierce pie...@hogranch.com wrote:
 Configure the BIOS for AHCI native SATA, and use linux native raid.  See
 http://wiki.centos.org/HowTos/SoftwareRAIDonCentOS5?highlight=%28RAID%29

 Hi Again,

 I did some changes, i just created two partitions / and swap using the
 Anaconda Installer, it worked fine after loading boot loader GRUB and
 then after it stopped at Kernel Panic.

 device—mapper: dm—raid15: initialized v0.25941
 Waiting for driver initialization
 Scanning and configuring dnraid supported devices
 Trying to resume from (LABEL=SWAP-sda2)
 Unable to access resume device (L‘*wmVgW_¢;1iZ)
 Creating root device.
 Hounting root filesystem.
 EXT3—fs error (device sdc1) : ext3_check_descriptors: Block bitmap for group 
 296
 not in group (block 231211688)!
 EXT3~fs1 group descriptors corrupted!
 mount: error mounting /dev/root on /sysroot as ext3: Invalid argument
 Setting up other filesystems.
 Setting up new root fs
 setuproot: moving /dev failed: No such file or directory
 no fstab.sys, mounting internal defaults
 setuproot: error mounting /proc: No such file or directory
 setuproot: error mounting /sys: No such file or directory
 Suitching to new root and running init.
 unmounting old /dev
 unmounting old /proc
 unmounting old /sys
 suitchrootr mount failed: No such file or directory
 Kernel panic — not syncing: Attempted to kill init!

 Please suggest further. is there a way to create customized initrd for
 this default kernel available on CentOS 5.6

 Thanks and Regards,

 Kaushal

 
 Hi Again,
 
 I have read this on the forums and it explained as below.
 
 Probably need to get that module into your initrd. The computer, upon
 booting, loads a kernel image and an initial ramdisk. the latter is a
 compressed filesystem image that the bootloader just maps into memory,
 and it holds a number of kernel modules and helper programs for the
 kernel you are booting. if it does not contain the kernel module
 that's driving your RAID controller, the kernel won't ever be able to
 recognize your disk array, because it
 lacks the proper driver for it that's why the initrd's helper programs
 are panicking - they are trying to mount a crucial filesystem from a
 device which just isn't there it cannot continue, and bails with a
 big, fat error
 
 Somehow need to include the driver you loaded from the USB thumb drive
 during installation during booting your system (most probably from
 within
 the initrd) . probably need to get that module into the initrd.
 
 Please guide/suggest further.
 
You were suggested to use SOFTWARE LINUX RAID = mdraid, not to attempt 
to install driver for your RAID.

1. Have you set your RAID controller to AHCI mode?

2. Have you created Software RAID partitions and then created EXT4 
partitions on top of the Software RAID (mdraid)?

-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Kernel panic - not syncing: Attempted to kill init! after installation of Driver Diskette for enabling Onboard RAID Controller Chipset

2011-07-15 Thread John R Pierce
On 07/14/11 10:56 PM, Kaushal Shriyan wrote:
 I have HP DL 180 G6 2U Rack Server with HP Smart Array Controller Card
 B110i Onboard SATA Controller Chipset. This server has 4 * 500 GB SATA
 HDD have configured RAID 1+0 and it shows Single Logical Drive of 940
 GB Hard Disk in the RAID BIOS.

the SmartArray 110i is simply Intel Matrix fake raid.  The hardware is 
purely basic plain SATA JBOD, but the BIOS and driver implement the raid 
behind the systems back.

Configure the BIOS for AHCI native SATA, and use linux native raid.  See 
http://wiki.centos.org/HowTos/SoftwareRAIDonCentOS5?highlight=%28RAID%29


-- 
john r pierceN 37, W 122
santa cruz ca mid-left coast

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Kernel panic - not syncing: Attempted to kill init! after installation of Driver Diskette for enabling Onboard RAID Controller Chipset

2011-07-14 Thread Kaushal Shriyan
Hi,

I have HP DL 180 G6 2U Rack Server with HP Smart Array Controller Card
B110i Onboard SATA Controller Chipset. This server has 4 * 500 GB SATA
HDD have configured RAID 1+0 and it shows Single Logical Drive of 940
GB Hard Disk in the RAID BIOS. Have created driver diskette using dd
command to enable this controller card to the CentOS 5.6 x86_64 arch
and it shows HP LOGICAL VOLUME of size 940 GB by the Anaconda
installer to load CentOS 5.6 on these server.

Below are the steps to enable driver diskette from HP
(http://h2.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?swItem=MTX-253be2baaf684954a55b6680adlang=encc=usidx=1mode=4;)

gunzip hpahcisr-1.2.6-7.rhel5.x86_64.dd.gz
dd if=hpahcisr-1.2.6-7.rhel5.x86_64.dd of=/dev/sdb (USB Flash Drive)

CentOS 5.6 Installation Procedure :- Boot up the System using DVD
containing CentOS 5.6 and type linux dd blacklist=ahci and then it
asks for load driver diskette and then point it to the USB Flash Drive
which contains the SATA Controller driver image. The driver gets
loaded during the installation and after OS Installation is complete
and then reboot it fails and says Error 21: Selected disk does not
exist and when i edit grub grub root (hd0,0) and press b to boot it
works fine and later I get the below message on the Console with
Kernel Panic.

Mounting root filesystem.
mount: could not find filesystem '/dev/root'
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Kernel panic - not syncing: Attempted to kill init!

Am i missing anything? Please suggest/guide.

Regards,

Kaushal
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos