as4 [root@undefined ~]# cat mbox cat: mbox: Input/output error [root@undefined ~]# top 'vt100': unknown terminal type. [root@undefined ~]# vi a bus error 不知是咋了,没改过配置,之前有做过一次盘底扫描,换了一根数据线,然后就这样了
by greysky-zfj - Linux系统管理 - 2007-10-30 13:11:58 阅读(3876) 回复(4)
各位大侠,小弟最近在学习linux下的编程,在进行一个mmap实验程序的时候,出现了bus error这个错误,百思不得其解,望各位大侠指教:
// receiver.c
#include
#ln -s /dev/fb/0 /dev/fb0 #./fluidlauncher -qws 板子上老是提示 Alignment trap: fluidlauncher (715) PC=0x40b1c74c Instr=0xe58a3000 Address=0x00046089 FSR 0x813 bus error Demo, Example里面只能跑起来一个例子(shapedclock),其他的都这个提示, 希望有经验的哥们给予帮助。
用人家厂商提供的驱动程序和测试例子,测试pci的NT驱动,运行用户态程序的时候提示bus error,现在不能确定是不是硬件问题。 情况是这样的: (1)驱动程序使用dma_alloc_coherent()分配了一段内存,执行完打印如下: Allocated physical memory... CPU Phys Addr: 0xbfccb000 bus Phys Addr: 0x3fe05000 Kernel VA : 0xffccb000 Size : 1000 bytes (2)用mmap()函数将该内存映射到用户空...
[root@localhost log]# tail -f messages Dec 20 04:05:30 localhost kernel: ata2.00: cmd a0/01:00:00:00:00/00:00:00:00:00/a0 tag 0 cdb 0x4a data 8 in Dec 20 04:05:30 localhost kernel: res 51/50:03:00:00:00/00:00:00:00:00/a0 Emask 0x20 (host bus error) Dec 20 04:05:31 localhost kernel: ata2.00: configured for UDMA/33 Dec 20 04:05:31 localhost kernel: ata2: EH complete Dec 20 04:05:46 localhos...
# pkgadd -d ./top-3.5.1-sol9-sparc-local\r\nbus error - core dumped\r\n\r\n这是怎么回事?