zoukankan      html  css  js  c++  java
  • Bochs安装时一些可能遇到的问题

    错误一:
    00000000000p[     ] >>PANIC<< bochsrc:10: vgaromimage directive malformed.
    1. vgaromimage: /usr/share/vgabios/vgabios.bin
    改成
    1. vgaromimage: file=/usr/share/vgabios/vgabios.bin

    问题二:

    Event type: PANIC Device: [ ] Message: dlopen failed for module 'x': file not found
    1. sudo apt-get install bochs-x

    http://blog.sina.com.cn/s/blog_71c44ef8010184ga.html

    1、bochs-bin: symbol lookup error: /usr/lib/bochs/plugins/libbx_x.so: undefined symbol: XpmCreatePixmapFromData
    错误:
    ========================================================================
    Bochs x86 Emulator 2.4.6
    Build from CVS snapshot, on February 22, 2011
    Compiled at Nov 11 2011, 09:31:18
    ========================================================================
    00000000000i[ ] LTDL_LIBRARY_PATH not set. using compile time default '/usr/lib/bochs/plugins'
    00000000000i[ ] BXSHARE not set. using compile time default '/usr/share/bochs'
    00000000000i[ ] reading configuration from bochsrc.bxrc
    00000000000i[ ] lt_dlhandle is 0x2d7b960
    00000000000i[PLGIN] loaded plugin libbx_x.so
    00000000000i[ ] installing x module as the Bochs GUI
    00000000000i[ ] using log file bochsout.txt
    bochs-bin: symbol lookup error: /usr/lib/bochs/plugins/libbx_x.so: undefined symbol: XpmCreatePixmapFromData

    最后这一条百思不得其解……居然连源文件都不能使用了……跪求大神解决……
    下面是配置文件原文(注释去掉了)

    megs: 32
    romimage: file=/usr/share/bochs/BIOS-bochs-latest
    vgaromimage: file=/usr/share/vgabios/vgabios.bin
    floppya: 1_44=a.img, status=inserted
    floppyb: 1_44=floppyb.img, status=inserted
    boot: floppy
    log: bochsout.txt
    mouse: enabled=0
    keyboard_mapping: enabled=1, map=/usr/local/share/bochs/keymaps/x11-pc-us.map

    解决:
    在终端输入 sudo apt-get install bochs-sdl 安装好后在bochs的配置文件bochsrc里面加一句display_library: sdl
     
    2、问题描述:
    关于keyboard_mapping的错误。
    使用# enable key mapping, using US layout as default.
    keyboard_mapping: enabled=1, map=/usr/share/bochs/keymaps/x11-pc-us.map
  • 相关阅读:
    (九)排序——选择
    (八)排序——冒泡
    (七)排序算法
    (六)递归
    (五)栈
    (三)队列
    (二)稀疏数组
    Nessus号称是世界上最流行的漏洞扫描程序
    meterpreter ???
    IIS网站权限设置原则
  • 原文地址:https://www.cnblogs.com/ancient/p/3202149.html
Copyright © 2011-2022 走看看