在lsi megaraid sas 8204elp 装linux系统(未完待续)

(2009-05-06 13:24:00)

标签:

杂谈

在目前最新的linux内核中,没有8204elp的raid驱动,以至于在使用光盘安装时,找不到硬盘。

所以必须在安装时候,另外使用u盘等加载raid卡驱动

安装以后的配置相关文件

[root@asher etc]# cat modprobe.conf

alias eth0 igb

alias eth1 igb

alias scsi_hostadapter ahci

alias scsi_hostadapter1 usb-storage

alias scsi_hostadapter2 megasr

alias scsi_hostadapter3 megaraid_sas

在编译内核是出现

make[2]: warning: Clock skew detected. Your build may be

incomplete.

使用下面解决办法:

1. Are you building over an NFS volume?

2. you could do

find . -type f | xargs -n 5 touch

make clean

make

I set up my Xen config with tap:aio storage. My disk line in my

guest config is:

disk = [ 'tap:aio:/var/lib/xen/rhel5guest1.img,xvda1,w',

'tap:aio:/var/lib/xen/rhel5guest1.swap,xvda2,w' ]

Both xvda1 and xvda2 files were set up following xen.og

documentation. Attempting to boot my first guest failed on

"switchroot:mount failed". Reading more documentation and Web

posts, it looked like the error was in my initrd file. I built 3

different initrd's, excluding different combination of modules.

Here are my results for each different one:

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

# Kernel image file.

kernel = "/boot/vmlinuz-2.6.18-53.1.19.el5xen"

# Optional ramdisk.

ramdisk = "/boot/initrd-2.6.18-53.1.19.el5xen.img"

............................................

XENBUS: Device with no driver: device/vbd/51713

XENBUS: Device with no driver: device/vbd/51714

XENBUS: Device with no driver: device/vif/0

Write protecting the kernel read-only data: 445k

Red Hat nash version 5.1.19.6 starting

Mounting proc filesystem

Mounting sysfs filesystem

Creating /dev

Creating initial device nodes

Setting up hotplug.

Creating block device nodes.

Loading uhci-hcd.ko module

USB Universal Host Controller Interface driver v3.0

Loading ohci-hcd.ko module

Loading ehci-hcd.ko module

Loading jbd.ko module

Loading ext3.ko module

Loading scsi_mod.ko module

SCSI subsystem initialized

Loading sd_mod.ko module

Loading megaraid_sas.ko module

megasas: 00.00.03.10 Wed Mar 28 10:25:52 PST 2007

Loading libata.ko module

Loading ata_piix.ko module

Waiting for driver initialization.

Scanning and configuring dmraid supported devices

Creating root device.

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!

====================================================================

# Kernel image file.

kernel = "/boot/vmlinuz-2.6.18-53.1.19.el5xen"

# Optional ramdisk.

ramdisk = "/boot/initrd-2.6.18-53.1.19.el5xen-no-scsi.img"

..................................................

XENBUS: Device with no driver: device/vbd/51713

XENBUS: Device with no driver: device/vbd/51714

XENBUS: Device with no driver: device/vif/0

Write protecting the kernel read-only data: 445k

Red Hat nash version 5.1.19.6 starting

Mounting proc filesystem

Mounting sysfs filesystem

Creating /dev

Creating initial device nodes

Setting up hotplug.

Creating block device nodes.

Loading xenblk.ko module

Registering block device major 202

Loading uhci-hcd.ko module

USB Universal Host Controller Interface driver v3.0

Loading ohci-hcd.ko module

Loading ehci-hcd.ko module

Loading jbd.ko module

Loading ext3.ko module

Loading scsi_mod.ko module

SCSI subsystem initialized

Loading megaraid_sas.ko module

megasas: 00.00.03.10 Wed Mar 28 10:25:52 PST 2007

Loading xennet.ko module

netfront: Initialising virtual ethernet driver.

netfront: device eth0 has flipping receive path.

Waiting for driver initialization.

Scanning and configuring dmraid supported devices

Creating root device.

Mounting root filesystem.

kjournald starting. Commit interval 5 seconds

EXT3-fs: mounted filesystem with ordered data mode.

Setting up other filesystems.

Setting up new root fs

no fstab.sys, mounting internal defaults

Switching to new root and running init.

unmounting old /dev

unmounting old /proc

unmounting old /sys

exec of init (/sbin/init) failed!!!: No such file or

directory

Kernel panic - not syncing: Attempted to kill init!

=================================================================

# Kernel image file.

kernel = "/boot/vmlinuz-2.6.18-53.1.19.el5xen"

# Optional ramdisk.

ramdisk =

"/boot/initrd-2.6.18-53.1.19.el5xen-no-scsi-no-raid-no-lvm.img"

...........................................

XENBUS: Device with no driver: device/vbd/51713

XENBUS: Device with no driver: device/vbd/51714

XENBUS: Device with no driver: device/vif/0

Write protecting the kernel read-only data: 445k

Red Hat nash version 5.1.19.6 starting

Mounting proc filesystem

Mounting sysfs filesystem

Creating /dev

Creating initial device nodes

Setting up hotplug.

Creating block device nodes.

Loading xenblk.ko module

Registering block device major 202

Loading uhci-hcd.ko module

USB Universal Host Controller Interface driver v3.0

Loading ohci-hcd.ko module

Loading ehci-hcd.ko module

Loading jbd.ko module

Loading ext3.ko module

Loading scsi_mod.ko module

SCSI subsystem initialized

Loading megaraid_sas.ko module

megasas: 00.00.03.10 Wed Mar 28 10:25:52 PST 2007

Loading xennet.ko module

netfront: Initialising virtual ethernet driver.

netfront: device eth0 has flipping receive path.

Waiting for driver initialization.

Scanning and configuring dmraid supported devices

Creating root device.

Mounting root filesystem.

kjournald starting. Commit interval 5 seconds

EXT3-fs: mounted filesystem with ordered data mode.

Setting up other filesystems.

Setting up new root fs

no fstab.sys, mounting internal defaults

Switching to new root and running init.

unmounting old /dev

unmounting old /proc

unmounting old /sys

exec of init (/sbin/init) failed!!!: No such file or

directory

Kernel panic - not syncing: Attempted to kill init!

=============================================================

# Kernel image file.

kernel = "/boot/vmlinuz-2.6.18-53.1.19.el5xen"

# Optional ramdisk.

ramdisk = "/boot/initrd-2.6.18-53.1.19.el5xen-dell.img"

# mkinitrd -v -f --with=sd_mod --with=scsi_mod --with=megaraid_mm

--with=megaraid_sas --with=megaraid_mbox initrd-2.6.16.29-xen.img

2.6.16.29-xen

......................................

XENBUS: Device with no driver: device/vbd/51713

XENBUS: Device with no driver: device/vbd/51714

XENBUS: Device with no driver: device/vif/0

Write protecting the kernel read-only data: 445k

Red Hat nash version 5.1.19.6 starting

Mounting proc filesystem

Mounting sysfs filesystem

Creating /dev

Creating initial device nodes

Setting up hotplug.

Creating block device nodes.

Loading uhci-hcd.ko module

USB Universal Host Controller Interface driver v3.0

Loading ohci-hcd.ko module

Loading ehci-hcd.ko module

Loading jbd.ko module

Loading ext3.ko module

Loading scsi_mod.ko module

SCSI subsystem initialized

Loading sd_mod.ko module

Loading megaraid_sas.ko module

megasas: 00.00.03.10 Wed Mar 28 10:25:52 PST 2007

Loading libata.ko module

Loading ata_piix.ko module

Loading megaraid_mm.ko module

megaraid cmm: 2.20.2.7 (Release Date: Sun Jul 16 00:01:03 EST

2006)

Loading megaraid_mbox.ko module

megaraid: 2.20.5.1 (Release Date: Thu Nov 16 15:32:35 EST

2006)

Waiting for driver initialization.

Scanning and configuring dmraid supported devices

Creating root device.

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!

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

So near and yet so far. Any suggestions? Is initrd the culprit, or

perhaps something else?

Joseph McCarty

System Administrator

Sonoma County Office of Education

分享:

喜欢

0

赠金笔

加载中,请稍候......

评论加载中,请稍候...

发评论

登录名: 密码: 找回密码 注册记住登录状态

昵   称:

评论并转载此博文

发评论

以上网友发言只代表其个人观点,不代表新浪网的观点或立场。

mega raid linux,在lsi megaraid sas 8204elp 装linux系统(未完待续)相关推荐

  1. linux系统装fluent没有界面,Linux上安装ANSYS后的一些坑(未完待续)

    以ANSYS2020R2为例 问题一 fluent串行启动 (真串行,不是在启动界面选择的串行)是正常的,但是并行会挂,问题截图如下: 解决方案: 这个是Intel的问题,因为Fluent默认Inte ...

  2. C++多线程:Linux 线程通信,唤醒,互斥锁(未完待续)

    c++ multi thread message sending and notify 线程通信常用的方法有共享内存和消息传递,推荐使用消息传递. 最常用的就是管道了,可以使用匿名管道或者命名管道. ...

  3. LSI MegaRAID SAS 9260-8i数据安全测试记录

    为了保证硬盘数据安全,考虑使用raid5存储数据,虽然可以使用主板raid5,但如果是主板损坏则可能无法挽回数据,同时raid性能也较差,所以考虑采用硬件raid卡,数据安全为首要目的,性能其次.同时 ...

  4. linux引数列项目过长,Linux 命令个人总结====== 未完待续 个人认为比较重要

    Linux 命令个人总结====== 未完待续 man [功能说明]: 查看帮助 [语法格式]: man [123456789]命令.文件. [选项参数]: 数字"1"表示用户命令 ...

  5. 雨林木风linux如何安装教程,u盘安装linux图解教程m2硬盘怎么装win7系统

    重启之后正常,过一段时间又自动关机(4) 使用屏幕保护装置来保护屏幕并延长其使用周期. 显卡规格方面,微星GTX 1050Ti GAMING X 4G拥有4G DDR5显存以及128Bit位宽,而核心 ...

  6. 构建Linux根文件系统(未完待续)

          所谓制作根文件系统, 就是创建各种目录, 并且在里面创建各种文件. 比如在/bin ./sbin 目录下存放各种可执行程序, 在/etc 目录下存放配置文件, 在/lib 目录下存放库文件 ...

  7. Linux 系统编程总结 (未完待续)

    前言 我记得去年说过要讲一些干货分享给大家,Linux 系统编程是linux 驱动开发入门的条件 有人说为什么? mmap select read write open ioctl socket po ...

  8. dell10代cpu装linux,戴尔10代cpu装win7系统及bios设置|戴尔十代cpu台式机装win7

    [文章导读]戴尔台式机2020年发布的机器采用的intel 10代cpu,默认预装了win10系统,最近有很多网友想装win7,但发现改了win7后发现进不了系统,由于默认戴尔台式机安装win7有很多 ...

  9. 认识Linux系统以及Linux命令的使用(未完待续)

    1.Linux概述 1.1.什么是Linux? Linux是─种自由和开放源码的类UNIX操作系统. Linux英文解释为Linux is not Unix. 发音 读法不下10种: /li'nAks ...

最新文章

  1. 企业/团队不会做目标管理,还怎么高执行力建设2021-02-24
  2. Hadoop(十二):从源码角度分析Hadoo是如何将作业提交给集群的
  3. android 代码生成表格,AndroidExcel
  4. CRF++:一个 CRF 工具包
  5. 苏宁大战京东,这个618消费者终于薅到了真羊毛?
  6. 迁移到其他机器_有赞大数据离线集群迁移实战
  7. CoreAnimation编程指南(简介)
  8. Spark内置图像数据源初探
  9. 【英语学习】【Daily English】U04 Neighborhood L01 Anything else around?
  10. 笔记:《深入浅出统计学》第十四章:卡方分布
  11. android获取当前位置的GPS经纬度
  12. mac修改eclipse的内存配置
  13. java黄金分割点游戏_结对编程——Java实现黄金分割点游戏
  14. Renesas_based_intro
  15. 云端是一个软件平台,拥有丰富的资源。在云端使用软件,无需安装,一点,下载,直接使用。
  16. 关于野火开发板stm32f103VET(拂晓开发板)DAPCMSIS-DAP下载烧录程序失败的问题及解决
  17. 斯蒂夫·乔布斯 与苹果公司
  18. 进军IT与安全行业:推荐学习路线图
  19. 乐淘CEO毕胜:PPIC周报机制
  20. macd的python代码同花顺_同花顺MACD金叉买点主图指标公式

热门文章

  1. 深入浅出:JWT(JSON Web Token)鉴权
  2. try 在java中的含义_java中try的含义
  3. 学士后java课程内容_java学士后详细课程
  4. 機器學習基石 机器学习基石 (Machine Learining Foundations) 作业2 Q16-18 C++实现
  5. ICP互联网信息服务(仅限互联网信息服务)
  6. Apache服务器安装SSL证书
  7. 公路货运、安全如何风险感知?
  8. 41、【斯纳克图书馆管理系统】编目流程 [ 准备工作]
  9. 有没有让你相见恨晚的(高考)教辅书?
  10. AWS CloudFormation