zoukankan      html  css  js  c++  java
  • 在客户公司测试遇到的问题。

    现在是一个C1362板卡通过PCIe总线连接在一台intel服务器上。
    首先制作好从PCIe启动的bootrom,制作命令如下。
    tile-mkboot  -o gx36_undisk.bootrom -c --hv-bin-dir /TileraMDE/tile/boot/ --hvc gx36.hvc vmlinux=/TileraMDE/tile/boot/vmlinux classifier=/TileraMDE/tile/boot/classifier  initramfs.cpio.gz=/TileraMDE/tile/boot/initramfs.cpio.gz
    其中gx36.hvc文件内容如下:
    otions stripe_memory=silent 
    device? comp/0 
    device? comp/1 
    device? crypto/0 
    device? crypto/1 
    device? gpio/0 
    device? i2cm/0 
    device? i2cm/1 
    device? i2cm/2 
    device? mpipe/0 
    device? mpipe/1 
    device? srom/0 
    device? trio/0 
    device? trio/1 
    device? usb_host/0 
    device? usb_host/1 
    client vmlinux 
      args TLR_NETWORK=none
    制作完成后,用如下命令启动:
    cat gx36_undisk.bootrom > /dev/tilegxpci0/boot
    启动成功。
    在用tile-monitor命令挂载主机文件系统的时候,刚开始挂载/home/hadoop目录,没有问题,但是我想把整个根目录挂载起来。所以用了如下命令。
    tile-monitor --dev gxpci0 --resume --here --root
    这个命令是在根目录时运行的,然后出现了错误。【1】是不是不能挂载根目录?
     
    然后我在串口中,用reboot命令重启了。
    # reboot
    # umount: can't open '/proc/mounts'
    The system is going down NOW!
    Sent SIGTERM to all processes
    Sent SIGKILL to all processes
    Requesting system reboot
    md: stopping all md devices.
    Restarting system.
    Client requested restart, cmd = "vmlinux", arg = "".
    Resetting chip and restarting.

    ​最终停留在这里不动了。
    我意识到可能出现问题了,于是想重新用cat gx36_undisk.bootrom > /dev/tilegxpci0/boot启动,但是出现错误提示:
    [root@data1 likeyi]# cat gx36_undisk.bootrom > /dev/tilegxpci0/boot 
    -bash: /dev/tilegxpci0/boot: No such device
    【2】然后我发现用tile-monitor 也不行,提示同样的错误。
  • 相关阅读:
    监视和调整硬件性能
    ASP.NET MVC三个重要的描述对象:ActionDescriptor
    REST in Practice
    软硬件错误的排查之道
    OMCS 多媒体连接系统
    逻辑层 vs 物理层
    深入浅出裸测之道单元测试的单元化
    简单的网络爬虫实现
    WCF返回JSON与传入JSON(普通参数或对象)
    .NET程序员的一个礼物——TypeMonster
  • 原文地址:https://www.cnblogs.com/likeyiyy/p/hhll.html
Copyright © 2011-2022 走看看