![RS232 직렬 크로스오버 케이블을 사용하여 루트로 파일을 삭제할 수 없습니다.](https://linux55.com/image/41407/RS232%20%EC%A7%81%EB%A0%AC%20%ED%81%AC%EB%A1%9C%EC%8A%A4%EC%98%A4%EB%B2%84%20%EC%BC%80%EC%9D%B4%EB%B8%94%EC%9D%84%20%EC%82%AC%EC%9A%A9%ED%95%98%EC%97%AC%20%EB%A3%A8%ED%8A%B8%EB%A1%9C%20%ED%8C%8C%EC%9D%BC%EC%9D%84%20%EC%82%AD%EC%A0%9C%ED%95%A0%20%EC%88%98%20%EC%97%86%EC%8A%B5%EB%8B%88%EB%8B%A4..png)
내 장치(CCTV 디코더)가 자동으로 다시 시작되므로 LAN 케이블을 사용하여 로그인할 수 없습니다. RS232 포트만 있고 VGA 및 키보드/USB 포트(내장형 PC)는 없습니다.
RS232 크로스오버 케이블을 연결하고 Teraterm을 사용하여 설정 모드에 들어갔습니다. 그 안에 있는 모든 파일과 디렉터리를 볼 수 있습니다. 루트로는 파일/폴더를 편집할 수 없습니다. 하지만 텔넷을 통해 일반 장치를 원격으로 편집할 수 있습니다. 나는 그 이유를 모른다.
아래는 로그입니다. 문제를 해결하도록 도와주세요.
~ # ls -l
drwxrwxrwx 2 root 0 0 Jan 1 1970 bin
drwxrwxrwx 2 root 0 0 Nov 12 2003 boot
drwxr-xr-x 2 root 0 0 Feb 7 2007 config
drwxrwxrwx 5 root 0 0 Jan 1 1970 dev
drwxrwxrwx 5 root 0 0 Feb 7 2007 etc
-rw-r--r-- 1 root 0 1157024 Jan 1 1970 h264dec_encrypt
drwxrwxrwx 4 root 0 0 Nov 16 2007 lib
lrwxrwxrwx 1 root 0 11 Nov 16 2007 linuxrc -> bin/busybox
-rw-r--r-- 1 root 0 52707 Jan 1 1970 log
drwxrwxrwx 2 root 0 0 Nov 24 2003 proc
drwxrwxrwx 2 root 0 0 Nov 16 2007 sbin
drwxr-xr-x 3 root 0 0 Nov 16 2007 snmp
-rw-r--r-- 1 root 0 23 Jan 1 1970 snmpd.log
drwxrwxrwx 2 root 0 0 Dec 16 2003 tmp
-rw-r--r-- 1 root 0 21 Jan 1 00:00 userinfo
drwxrwxrwx 6 root 0 0 Jan 1 1970 usr
drwxrwxr-x 2 root 0 0 Mar 12 2004 var
-rw-r--r-- 1 root 0 1 Nov 16 2007 ver
drwxr-xr-x 4 root 0 0 Nov 16 2007 web
~ #
U-Boot 1.0.0 (Jul 13 2009 - 10:43:14)
CPU: IBM PowerPC 405EP Rev. B at 199.999 MHz (PLB=99, OPB=49, EBC=33 MHz)
IIC Boot EEPROM disabled
PCI async ext clock used, internal PCI arbiter enabled
16 kB I-Cache 16 kB D-Cache
Board: ### No HW ID - assuming WMIA405EP
I2C: ready
DRAM: 16 MB
Memory ok!
Boot from Flash
Top of RAM usable for U-Boot at: 01000000
Reserving 194k for U-Boot at: 00fcf000
Reserving 132k for malloc() at: 00fae000
Reserving 112 Bytes for Board Info at: 00fadf90
Reserving 48 Bytes for Global Data at: 00fadf60
Setting up new stack space
Stack Pointer at: 00fadf48
New Stack Pointer is: 00fadf48
Watch dog reset
Copy Global data struct
Relocate the code
Now running in RAM - U-Boot at: 00fcf000
FLASH: Manufacture id 0
## Unknown FLASH on Bank 0 - Size = 0x00000000 = 0 MB
2 banks config
Bank 1 size 800000
Manufacture id 0
Bank 0 size 0
Resize bank 1 to 800000
8 MB
env_relocate[217] offset = 0x100f000
env_relocate[235] malloced ENV at 00fae008
default="00:11:22:12:67:20", curr="00:0F:D0:80:01:62".
PCI Autoconfig: Memory region: [80000000-9fffffff]
PCI Autoconfig: Memory region: [a0000000-bfffffff]
PCI Autoconfig: I/O region: [800000-3ffffff]
PCI Scan: Found Bus 0, Device 10, Function 0 Vendor 12d5
PCI Autoconfig: BAR 0, Mem, size=0x8000000, address=0x80000000
PCI Autoconfig: BAR 1, Mem, size=0x1000000, address=0xa0000000
In: serial
Out: serial
Err: serial
KGDB: kgdb ready
ready
U-Boot relocated to 00fcf000
### main_loop entered: bootdelay=1
### main_loop: bootcmd="bootm 0xF0000000"
Hit any key to stop autoboot: 1 0
## Booting image at f0000000 ...
Image Name: WMIA
Created: 2009-07-13 2:44:13 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 748316 Bytes = 730.8 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
## Current stack ends at 0x00FAD578 => set upper limit to 0x00800000
## cmdline at 0x007FFC00 ... 0x007FFCF2
bd address = 0x00FADF90
memstart = 0x00000000
memsize = 0x01000000
flashstart = 0xFFFC0000
flashsize = 0x00800000
flashoffset = 0x0002AF00
sramstart = 0x00000000
sramsize = 0x00000000
bootflags = 0x0000A000
procfreq = 199.999 MHz
plb_busfreq = 99.999 MHz
pci_busfreq = 24.999 MHz
ethaddr = 00:0F:D0:80:01:62
IP addr = 192.168.1.3
baudrate = 115200 bps
No initrd
## Transferring control to Linux (at address 00000000) ...
Linux version 2.4.20_mvl31-405ep_eval ([email protected]) (gcc version 3.2.1 20020930 (MontaVista)) #9 Mon Jul 13 10:43:58 CST 2009
ioremap PCLIO_BASE = 0xe7ffd000
PCI bridge regs before fixup
pmm0ma 0xe0000001
pmm0ma 0x80000000
pmm0ma 0x80000000
pmm0ma 0x0
pmm1ma 0xe0000001
pmm1ma 0xa0000000
pmm1ma 0xa0000000
pmm1ma 0x0
pmm2ma 0x0
pmm2ma 0x0
pmm2ma 0x0
pmm2ma 0x0
ptm1ms 0x80000001
ptm1la 0x0
ptm2ms 0x0
ptm2la 0x0
BUS 0, device 0, Function 0 bar 0x00000014 is 0x00000008
BUS 0, device 0, Function 0 bar 0x00000018 is 0x00000008
BUS 0, device 0, Function 0 bar 0x00000018 is 0xc0000008
PCI bridge regs after fixup
pmm0ma 0xc0000001
pmm0ma 0x80000000
pmm0ma 0x80000000
pmm0ma 0x0
pmm1ma 0x0
pmm1ma 0x0
pmm1ma 0x0
pmm1ma 0x0
pmm2ma 0x0
pmm2ma 0x0
pmm2ma 0x0
pmm2ma 0x0
ptm1ms 0x1
ptm1la 0x0
ptm2ms 0xfff00001
ptm2la 0xf0800000
Setup DMA channel: 0
Transfer width: 2^0 bytes
Setup DMA channel: 1
Transfer width: 2^0 bytes
Setup DMA channel: 2
Transfer width: 2^0 bytes
Setup DMA channel: 3
Transfer width: 2^0 bytes
ASTRI WMIA405EP Evaluation Board port Version 3
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock1 ip=192.168.1.3:192.168.1.100:192.168.1.1:255.255.255.0:WMIA405EP_1:eth0: console=ttyS1,115200 mtd_part=kernel,0x00000000,0x000C0000,rfs,0x000C0000,0x00700000,bootloader,0x007C0000,0x00040000 boardname=wmia405epV2 decoder=1
Parsing partition parameter from command line...3 partitions in total.
Console: colour dummy device 80x25
Calibrating delay loop... 199.47 BogoMIPS
Memory: 14392k available (1252k kernel code, 412k data, 96k init, 0k highmem)
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
idsel 10 pin 1
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
OCP uart ver 1.6.2 init complete
LSP Revision 1
Starting kswapd
Disabling the Out Of Memory Killer
JFFS2 version 2.1. (C) 2001, 2002 Red Hat, Inc., designed by Axis Communications AB.
i2c-core.o: i2c core module version 2.6.2 (20011118)
i2c-dev.o: i2c /dev entries driver module version 2.6.2 (20011118)
i2c-proc.o version 2.6.2 (20011118)
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xef600300 (irq = 0) is a 16550A
ttyS01 at 0xef600400 (irq = 1) is a 16550A
PPC 405 watchdog driver v0.6
IBM gpio driver version 07.25.02
GPIO #0 at 0xc2070700
loop: loaded (max 8 devices)
Reset ethernet interfaces
Reset ethernet interfaces
eth1: Cannot open interface without Link
IBM IIC driver v2.0
ibm-iic0: using fast (400 kHz) mode
physmap flash device: 800000 at f0000000
NO QRY response
cfi_cmdset_0001: Erase suspend on write enabled
Using buffer write method
Creating 3 MTD partitions on "phys_mapped_flash":
0x00000000-0x000c0000 : "kernel"
0x000c0000-0x007c0000 : "rfs"
0x007c0000-0x00800000 : "bootloader"
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
eth0: IBM EMAC: link up, 10 Mbps Half Duplex.
eth0: IBM EMAC: MAC 00:0f:d0:80:01:62.
After display status
eth0:$$$$$$$$$$$$$will config mac address
eth0:$$$$$$$$$$$$$config mac address ok
eth0:$$$$$$$$$$$$$will request irq
$$$$$$$$$$$$$request irq ok
eth0:will init rings
will enable mal chan
eth0: IBM EMAC: open completed
IP-Config: Complete:
device=eth0, addr=192.168.1.3, mask=255.255.255.0, gw=192.168.1.1,
host=WMIA405EP_1, domain=, nis-domain=(none),
bootserver=192.168.1.100, rootserver=192.168.1.100, rootpath=
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (jffs2 filesystem) readonly.
Freeing unused kernel memory: 96k init
init started: BusyBox v1.00-pre8 (2007.11.16-10:05+0000) multi-call binary
BusyBox v1.00-pre8 (2007.11.16-10:05+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
Processing /etc/profile...
Press CTRL-C to enter shell within 3 sec
KERNEL,wdt_period=15
The timeout was set to 15000000 seconds
The timeout was is 0 seconds
(재시작)
U-Boot 1.0.0 (Jul 13 2009 - 10:43:14)
CPU: IBM PowerPC 405EP Rev. B at 199.999 MHz (PLB=99, OPB=49, EBC=33 MHz)
IIC Boot EEPROM disabled
PCI async ext clock used, internal PCI arbiter enabled
16 kB I-Cache 16 kB D-Cache
Board: ### No HW ID - assuming WMIA405EP
I2C: ready
DRAM: 16 MB
Memory ok!
Boot from Flash
Top of RAM usable for U-Boot at: 01000000
Reserving 194k for U-Boot at: 00fcf000
Reserving 132k for malloc() at: 00fae000
Reserving 112 Bytes for Board Info at: 00fadf90
Reserving 48 Bytes for Global Data at: 00fadf60
Setting up new stack space
Stack Pointer at: 00fadf48
New Stack Pointer is: 00fadf48
Watch dog reset
Copy Global data struct
Relocate the code
Now running in RAM - U-Boot at: 00fcf000
FLASH: Manufacture id 0
## Unknown FLASH on Bank 0 - Size = 0x00000000 = 0 MB
2 banks config
Bank 1 size 800000
Manufacture id 0
Bank 0 size 0
Resize bank 1 to 800000
8 MB
env_relocate[217] offset = 0x100f000
env_relocate[235] malloced ENV at 00fae008
default="00:11:22:12:67:20", curr="00:0F:D0:80:01:62".
PCI Autoconfig: Memory region: [80000000-9fffffff]
PCI Autoconfig: Memory region: [a0000000-bfffffff]
PCI Autoconfig: I/O region: [800000-3ffffff]
PCI Scan: Found Bus 0, Device 10, Function 0 Vendor 12d5
PCI Autoconfig: BAR 0, Mem, size=0x8000000, address=0x80000000
PCI Autoconfig: BAR 1, Mem, size=0x1000000, address=0xa0000000
In: serial
Out: serial
Err: serial
KGDB: kgdb ready
ready
U-Boot relocated to 00fcf000
### main_loop entered: bootdelay=1
### main_loop: bootcmd="bootm 0xF0000000"
Hit any key to stop autoboot: 1 0
=> <INTERRUPT>
=> <INTERRUPT>
=> <INTERRUPT>
=> <INTERRUPT>
=>
(재시작)
U-Boot 1.0.0 (Jul 13 2009 - 10:43:14)
CPU: IBM PowerPC 405EP Rev. B at 199.999 MHz (PLB=99, OPB=49, EBC=33 MHz)
IIC Boot EEPROM disabled
PCI async ext clock used, internal PCI arbiter enabled
16 kB I-Cache 16 kB D-Cache
Board: ### No HW ID - assuming WMIA405EP
I2C: ready
DRAM: 16 MB
Memory ok!
Boot from Flash
Top of RAM usable for U-Boot at: 01000000
Reserving 194k for U-Boot at: 00fcf000
Reserving 132k for malloc() at: 00fae000
Reserving 112 Bytes for Board Info at: 00fadf90
Reserving 48 Bytes for Global Data at: 00fadf60
Setting up new stack space
Stack Pointer at: 00fadf48
New Stack Pointer is: 00fadf48
Watch dog reset
Copy Global data struct
Relocate the code
Now running in RAM - U-Boot at: 00fcf000
FLASH: Manufacture id 0
## Unknown FLASH on Bank 0 - Size = 0x00000000 = 0 MB
2 banks config
Bank 1 size 800000
Manufacture id 0
Bank 0 size 0
Resize bank 1 to 800000
8 MB
env_relocate[217] offset = 0x100f000
env_relocate[235] malloced ENV at 00fae008
default="00:11:22:12:67:20", curr="00:0F:D0:80:01:62".
PCI Autoconfig: Memory region: [80000000-9fffffff]
PCI Autoconfig: Memory region: [a0000000-bfffffff]
PCI Autoconfig: I/O region: [800000-3ffffff]
PCI Scan: Found Bus 0, Device 10, Function 0 Vendor 12d5
PCI Autoconfig: BAR 0, Mem, size=0x8000000, address=0x80000000
PCI Autoconfig: BAR 1, Mem, size=0x1000000, address=0xa0000000
In: serial
Out: serial
Err: serial
KGDB: kgdb ready
ready
U-Boot relocated to 00fcf000
### main_loop entered: bootdelay=1
### main_loop: bootcmd="bootm 0xF0000000"
Hit any key to stop autoboot: 1 0
## Booting image at f0000000 ...
Image Name: WMIA
Created: 2009-07-13 2:44:13 UTC
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 748316 Bytes = 730.8 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
## Current stack ends at 0x00FAD578 => set upper limit to 0x00800000
## cmdline at 0x007FFC00 ... 0x007FFCF2
bd address = 0x00FADF90
memstart = 0x00000000
memsize = 0x01000000
flashstart = 0xFFFC0000
flashsize = 0x00800000
flashoffset = 0x0002AF00
sramstart = 0x00000000
sramsize = 0x00000000
bootflags = 0x0000A000
procfreq = 199.999 MHz
plb_busfreq = 99.999 MHz
pci_busfreq = 24.999 MHz
ethaddr = 00:0F:D0:80:01:62
IP addr = 192.168.1.3
baudrate = 115200 bps
No initrd
## Transferring control to Linux (at address 00000000) ...
Linux version 2.4.20_mvl31-405ep_eval ([email protected]) (gcc version 3.2.1 20020930 (MontaVista)) #9 Mon Jul 13 10:43:58 CST 2009
ioremap PCLIO_BASE = 0xe7ffd000
PCI bridge regs before fixup
pmm0ma 0xe0000001
pmm0ma 0x80000000
pmm0ma 0x80000000
pmm0ma 0x0
pmm1ma 0xe0000001
pmm1ma 0xa0000000
pmm1ma 0xa0000000
pmm1ma 0x0
pmm2ma 0x0
pmm2ma 0x0
pmm2ma 0x0
pmm2ma 0x0
ptm1ms 0x80000001
ptm1la 0x0
ptm2ms 0x0
ptm2la 0x0
BUS 0, device 0, Function 0 bar 0x00000014 is 0x00000008
BUS 0, device 0, Function 0 bar 0x00000018 is 0x00000008
BUS 0, device 0, Function 0 bar 0x00000018 is 0xc0000008
PCI bridge regs after fixup
pmm0ma 0xc0000001
pmm0ma 0x80000000
pmm0ma 0x80000000
pmm0ma 0x0
pmm1ma 0x0
pmm1ma 0x0
pmm1ma 0x0
pmm1ma 0x0
pmm2ma 0x0
pmm2ma 0x0
pmm2ma 0x0
pmm2ma 0x0
ptm1ms 0x1
ptm1la 0x0
ptm2ms 0xfff00001
ptm2la 0xf0800000
Setup DMA channel: 0
Transfer width: 2^0 bytes
Setup DMA channel: 1
Transfer width: 2^0 bytes
Setup DMA channel: 2
Transfer width: 2^0 bytes
Setup DMA channel: 3
Transfer width: 2^0 bytes
ASTRI WMIA405EP Evaluation Board port Version 3
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock1 ip=192.168.1.3:192.168.1.100:192.168.1.1:255.255.255.0:WMIA405EP_1:eth0: console=ttyS1,115200 mtd_part=kernel,0x00000000,0x000C0000,rfs,0x000C0000,0x00700000,bootloader,0x007C0000,0x00040000 boardname=wmia405epV2 decoder=1
Parsing partition parameter from command line...3 partitions in total.
Console: colour dummy device 80x25
Calibrating delay loop... 199.47 BogoMIPS
Memory: 14392k available (1252k kernel code, 412k data, 96k init, 0k highmem)
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
idsel 10 pin 1
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
OCP uart ver 1.6.2 init complete
LSP Revision 1
Starting kswapd
Disabling the Out Of Memory Killer
JFFS2 version 2.1. (C) 2001, 2002 Red Hat, Inc., designed by Axis Communications AB.
i2c-core.o: i2c core module version 2.6.2 (20011118)
i2c-dev.o: i2c /dev entries driver module version 2.6.2 (20011118)
i2c-proc.o version 2.6.2 (20011118)
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xef600300 (irq = 0) is a 16550A
ttyS01 at 0xef600400 (irq = 1) is a 16550A
PPC 405 watchdog driver v0.6
IBM gpio driver version 07.25.02
GPIO #0 at 0xc2070700
loop: loaded (max 8 devices)
Reset ethernet interfaces
Reset ethernet interfaces
eth1: Cannot open interface without Link
IBM IIC driver v2.0
ibm-iic0: using fast (400 kHz) mode
physmap flash device: 800000 at f0000000
NO QRY response
cfi_cmdset_0001: Erase suspend on write enabled
Using buffer write method
Creating 3 MTD partitions on "phys_mapped_flash":
0x00000000-0x000c0000 : "kernel"
0x000c0000-0x007c0000 : "rfs"
0x007c0000-0x00800000 : "bootloader"
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
eth0: IBM EMAC: link up, 10 Mbps Half Duplex.
eth0: IBM EMAC: MAC 00:0f:d0:80:01:62.
After display status
eth0:$$$$$$$$$$$$$will config mac address
eth0:$$$$$$$$$$$$$config mac address ok
eth0:$$$$$$$$$$$$$will request irq
$$$$$$$$$$$$$request irq ok
eth0:will init rings
will enable mal chan
eth0: IBM EMAC: open completed
IP-Config: Complete:
device=eth0, addr=192.168.1.3, mask=255.255.255.0, gw=192.168.1.1,
host=WMIA405EP_1, domain=, nis-domain=(none),
bootserver=192.168.1.100, rootserver=192.168.1.100, rootpath=
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (jffs2 filesystem) readonly.
Freeing unused kernel memory: 96k init
init started: BusyBox v1.00-pre8 (2007.11.16-10:05+0000) multi-call binary
BusyBox v1.00-pre8 (2007.11.16-10:05+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
chmod: /etc/profile: Read-only file system
Processing /etc/profile...
KERNEL,wdt_period=15
The timeout was set to 15000000 seconds
The timeout was is 0 seconds
Press CTRL-C to enter shell within 3 sec
rm: unable to remove `/dev/rts_wtd': Read-only file system
mkfifo failed!
Using /lib/modules/proc_jiffies.o
Using /lib/modules/etimap.o
Loading etimap modules
packetintf:[1]Using packet interface
9600
/etc/profile: 55: cannot create /proc/sys/net/core/rmem_default: Directory nonexistent
/etc/profile: 55: cannot create /proc/sys/net/core/wmem_default: Directory nonexistent
/etc/profile: 55: cannot create /proc/sys/net/core/rmem_max: Directory nonexistent
/etc/profile: 55: cannot create /proc/sys/net/core/wmem_max: Directory nonexistent
Build date Nov 16 2007 18:05:41
RTC enable
Use codec ./h264dec_encrypt
CPU clock speed: 378
MEM clock speed: 126
/var/etidaemon.pid: Read-only file system
ETimap think device 0 has etimap c2891000 1332
etimap_ioctl called one time
Init bsp CORE speed: 378
etimap_ioctl called one time
Init bsp MEM speed: 126
etimap_ioctl called one time
eti_board(0): brd_open(): CPU: Equator Technologies, Inc. BSP-15.
eti_board(0): brd_open(): board: WMIA405EP Version 3/4 (0xf). Use StringRay settings.
No ACK from slave @ addr 0xa4 in iicTx
eti_board(0): WARNING: IIC Send failed while attempting to read EEPROM
No ACK from slave @ addr 0x70 in iicTx
eti_board(0): WARNING: IIC Write to IIC Expander failed. VCXO may be active.
No ACK from slave @ addr 0xa0 in iicTx
sizeof(bsp_argv[0]) = 32
Segmentation fault
/etc/profile: 55: cannot create /proc/etivideo0: Read-only file system
nanowm: opening frontpanel device /dev/ttys0
/etc/last_ch is accessible
Init channel:1
listening :
use setting file: /etc/rts_player.conf'
main: setting_file /etc/rts_player.conf
Openning config file /etc/rts_player.conf
OpenLogFile: log_file((null))
WmiaPlayerOpen
startPlayer(): get config
startPlayer(): set config: watchdog=1, colorsystem=1
WmiaPlayerSetConfig
WmiaPlayerSetConfig: Set Protocol to 1
WmiaPlayerSetConfig: display DateTime = 0
WmiaPlayerSetConfig: display Framerate = 0
WmiaPlayerSetConfig: color system = 1
WmiaPlayerSetConfig: display Camera Id = 0
WmiaPlayerSetConfig: camera id info X=50, Y=400, color=BLACK
WmiaPlayerSetConfig: datetime info X=450, Y=400, color=BLACK
WmiaPlayerSetConfig: frame rate info X=450, Y=40, color=BLACK
WmiaPlayerStart
WmiaPlayerStart: TsPlayerOpen
config : 0x100a6390
version: 1
profileIndication: 0
levelIndication: 1
compatibleProfiles: 0
lengthSize: 4
nrOfSps: 0
nrOfPps: 0
/dev/etivideo: No such device
G722DecWrapper: AudioDecOpen
rm: unable to remove `/dev/event': Read-only file system
TsDemuxThread pid = 61
TsDemuxReceiveThread pid = 62
/dev/dsp: No such device
Audio Disabled
: No such device
Cannot bind to named socket
Opening /dev/fifo
Command : url
Parameter : ts://239.255.3.13:31012
==================================================
73 74 61 72 74 00 aa bb cc dd 00 00 00 70 00 00
00 17 74 73 3a 2f 2f 32 33 39 2e 32 35 35 2e 33
2e 31 33 3a 33 31 30 31 32 65 6e 64 00
=================================================
45 bytes written
nxclient: retry connect attempt 1
Done
chmod: /etc/profile: Read-only file system
Password: nxclient: retry connect attempt 2
nxclient: retry connect attempt 3
nxclient: retry connect attempt 4
nxclient: retry connect attempt 5
Test Program -> Checking test mode jumper...
Not test mode.
VideoDecSetColorSystemDirect: 1
player_watchdog pid = 71
WmiaPlayerCommandRun pid = 72
nxclient: retry connect attempt 6
nxclient: retry connect attempt 7
nxclient: retry connect attempt 8
nxclient: retry connect attempt 9
nxclient: retry connect attempt 10
Couldn't connect to Nano-X server!
Password:
~ # ls -l
drwxrwxrwx 2 root 0 0 Jan 1 1970 bin
drwxrwxrwx 2 root 0 0 Nov 12 2003 boot
drwxr-xr-x 2 root 0 0 Feb 7 2007 config
drwxrwxrwx 5 root 0 0 Jan 1 1970 dev
drwxrwxrwx 5 root 0 0 Feb 7 2007 etc
-rw-r--r-- 1 root 0 1157024 Jan 1 1970 h264dec_encrypt
drwxrwxrwx 4 root 0 0 Nov 16 2007 lib
lrwxrwxrwx 1 root 0 11 Nov 16 2007 linuxrc -> bin/busybox
-rw-r--r-- 1 root 0 52754 Jan 1 1970 log
drwxrwxrwx 2 root 0 0 Nov 24 2003 proc
drwxrwxrwx 2 root 0 0 Nov 16 2007 sbin
drwxr-xr-x 3 root 0 0 Nov 16 2007 snmp
-rw-r--r-- 1 root 0 23 Jan 1 1970 snmpd.log
drwxrwxrwx 2 root 0 0 Dec 16 2003 tmp
-rw-r--r-- 1 root 0 21 Jan 1 00:00 userinfo
drwxrwxrwx 6 root 0 0 Jan 1 1970 usr
drwxrwxr-x 2 root 0 0 Mar 12 2004 var
-rw-r--r-- 1 root 0 1 Nov 16 2007 ver
drwxr-xr-x 4 root 0 0 Nov 16 2007 web
구성된 경우
~ # ifconfig
ifconfig: Warning: cannot open /proc/net/dev. Limited output.: No such file or directory
eth0 Link encap:Ethernet HWaddr 00:0F:D0:80:01:62
inet addr:192.168.159.81 Bcast:192.168.159.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:15
df
~ # df
Filesystem 1k-blocks Used Available Use% Mounted on
df: /proc/mounts: No such file or directory
~ # fdisk -l
fdisk: /proc/partitions: No such file or directory
Segmentation fault
폴리스티렌
~ # pp ss
-sh: pss: not found
목차
~ # rmdir /etc/profile
rmdir: `/etc/profile': Read-only file system
~ # ?
-sh: ?: not found
~ # I have tried to see built in commands- below are the system commands
1stRun find mkfs.minix tail
1stRunEnc free mknod tar
\[ freeramdisk mkswap telnet
add_log fsck.minix modprobe telnetd
ash ftpget more test
awk ftpput mount tftp
basename getty mv time
blockdev grep nano-X top
bunzip2 gunzip nanowm touch
busybox gzip netstat traceroute
bzcat halt nslookup true
cal head passwd tty
cat hexdump patch udhcpc
chgrp hostid pidof umount
chinit.sh hostname ping uname
chmod httpd player_ap.ppc uncompress
chown hwclock printf uniq
chroot id ps unix2dos
clear ifconfig pwd unzip
cmp ifdown reboot up_stage1.sh
cp ifup renice up_stage2.sh
cut inetd reset uptime
date init rm usleep
dd insmod rmdir uudecode
df kill rmmod uuencode
dirname killall route vi
dmesg klogd sed watch
dos2unix ln sh wc
du logger sleep wget
echo login snmpd which
egrep losetup sort who
env ls stty whoami
etidaemon lsmod su wmia_ctrl.ppc
event_handler.ppc mc_wmia_ctrl.ppc sulogin wtd
expr md5sum swapoff xargs
false mesg swapon yes
fdisk mkdev.sh sync zcat
fgrep mkdir syslogd
답변1
로그에는 "읽기 전용 파일 시스템"이라고 명시적으로 여러 번 나와 있습니다. 그렇기 때문에 파일도 삭제할 수 없습니다 root
.
답변2
파일 시스템을 fsck하고 재부팅할 수 있습니다. fsck 자동 모드의 복구할 수 없는 오류로 인해 파일 시스템이 읽기 전용으로 마운트되었을 수 있습니다.
다음을 수행하십시오.
mount
그러면 마운트된 파일 시스템과 해당 블록 장치가 표시됩니다. 다음과 같은 루트 파일 시스템을 찾습니다.
/dev/sda1 on / type ext4 (rw,noatime,errors=remount-ro,discard)
귀하의 경우 장치(예: /dev/sda1)가 다를 수 있습니다. /로 마운트된 장치의 파일 시스템을 fsck합니다.
fsck -y /dev/sda1
그리고 다시 시작하세요.
답변3
소프트웨어 이미지가 손상되었거나 하드웨어가 예기치 않게 작동하고 있습니다. 나는 어떤 명백한 이유도 볼 수 없습니다. 이는 인터넷을 통해 디버깅할 수 있는 문제가 아니므로 직접 조사해야 합니다.
재시작은 다음과 같은 원인으로 발생할 수 있습니다.
- 하드웨어 결함;
- 소프트웨어 결함(커널에 있거나 적어도 커널 버그로 인해 발생)으로 인해 재부팅이 발생합니다.
- 결함이 있는 소프트웨어(커널에 있거나 적어도 커널 결함으로 인해 발생)로 인해 감시 기한을 놓칠 수 있습니다.
파일 시스템이 읽기 전용으로 마운트되어 있으므로 파일을 수정할 수 없습니다. 가능한 이유는 다음과 같습니다.
- 파일 시스템은 읽기 전용으로 마운트되어야 합니다. try
mount -o remount,rw /
; - 파일 시스템은 시작 스크립트를 통해 읽기/쓰기로 다시 마운트해야 하지만 시작 스크립트에 오류가 있습니다.
- 오류가 감지되어 파일 시스템이 읽기 전용으로 재설정되었습니다.
더 많은 단서를 보려면 커널 로그(의 출력 dmesg
)를 확인하세요.
디버깅의 주요 방법은 다음과 같습니다.
- 부팅 로그를 알려진 양호한 장치와 비교하십시오.
- 커널 로그를 확인하십시오.
- 디버거를 사용하여 다시 시작을 프로파일링합니다.
문제를 조사하고 싶지 않으면 알려진 양호한 펌웨어 이미지를 다시 플래시하고 다시 시도하십시오.