我在嵌入式系统上安装了 Linux。没有图形系统,但仍然有图形错误。例如,如果我输入: ifconfig eth2 hw ether 00:0e:8c:d0:59:d2 我会看到: ifconfig eth2 hw etherhw0:0e:8c:d0:59:c:d 如果我输入 Enter,它会接受我输入的命令,所以这只是显示的问题。当我通过 SSH 登录时,一切都很好。
好像左边 7 个空格的字符是镜像的,如果我输入相同的字符,它总是显示相同的内容,但请注意,如果我输入其他内容,如“012345678901234567989”,则显示的正是该内容。
而且该问题并不特定于 ifconfig,例如它也发生在“tail -f /var/log/sysl”中,它显示为“tailf -f /var/log/sysl o”,但是当我继续输入时,额外的“o”消失了。
如果我输入“tail -f /var/log/messages”,一切正常
感觉这种事情只发生在有效命令上,而不会发生在我输入的随机内容上。这与之前使用的命令无关,但我仍然怀疑存在某种自动完成问题
有人知道吗,可能是什么原因造成的,或者应该去哪里查看?
lspci 的输出:
00:00.0 Host bridge: Intel Corporation 3100 Chipset Memory I/O Controller Hub
00:00.1 Unassigned class [ff00]: Intel Corporation 3100 DRAM Controller Error Reporting Registers
00:01.0 System peripheral: Intel Corporation 3100 Chipset Enhanced DMA Controller
00:02.0 PCI bridge: Intel Corporation 3100 Chipset PCI Express Port A
00:03.0 PCI bridge: Intel Corporation 3100 Chipset PCI Express Port A1
00:1c.0 PCI bridge: Intel Corporation 631xESB/632xESB/3100 Chipset PCI Express Root Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 631xESB/632xESB/3100 Chipset PCI Express Root Port 2 (rev 01)
00:1d.0 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB Controller #2 (rev 01)
00:1d.7 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset EHCI USB2 Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c9)
00:1f.0 ISA bridge: Intel Corporation 631xESB/632xESB/3100 Chipset LPC Interface Controller (rev 01)
00:1f.2 IDE interface: Intel Corporation 631xESB/632xESB/3100 Chipset SATA IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 631xESB/632xESB/3100 Chipset SMBus Controller (rev 01)
02:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
03:01.0 Network controller: Siemens Nixdorf AG Device 4003 (rev 02)
03:01.1 Unassigned class [ff00]: Siemens Nixdorf AG Device 4003 (rev 02)
03:02.0 Ethernet controller: Siemens Nixdorf AG Device 4047 (rev 01)
03:03.0 Ethernet controller: National Semiconductor Corporation DP83815 (MacPhyter) Ethernet Controller
03:04.0 Unassigned class [ff00]: Siemens Nixdorf AG Device 4057 (rev 01)
04:00.0 PCI bridge: Texas Instruments XIO2000(A)/XIO2200(A) PCI Express-to-PCI Bridge (rev 03)
05:00.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 44)
06:00.0 PCI bridge: Texas Instruments XIO2000(A)/XIO2200(A) PCI Express-to-PCI Bridge (rev 03)
07:00.0 VGA compatible controller: Silicon Motion, Inc. SM720 Lynx3DM (rev c1)
07:01.0 USB Controller: NEC Corporation USB (rev 43)
07:01.1 USB Controller: NEC Corporation USB (rev 43)
07:01.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
整个程序运行在 Intel Core 2 Duo U2500 上,我使用 bash,但 sh 表现出同样的行为