도와주세요!!
글 수 15,339
2004.04.22 17:31:04 (*.237.27.245)
6709
저번 답변 고맙습니다.
실제로 ramdisk 문제더군요.
MP3를 아래와같이 하니 error 가나고
DS1307 을 해도 Error 나고 하여간 PS B.D 살리기 어렵습니다.
*****MP3 문제 ****
잘 PLAY하다가 error나네요.
[root@ez-x5 /app]$ ll
-rwxrw-r-- 1 500 500 4695094 Nov 5 2000 aaa.mp3
-rwxrw-r-- 1 500 500 281974 Apr 22 2004 bbb.wav
-rwxrw-r-- 1 500 500 51186 Apr 22 2004 ccc.wav
drw-rw-rw- 1 root root 512 Jan 1 00:00 lost+found
-rwxrwxrwx 1 500 500 887919 Nov 11 2002 madplay
-rwxrwxrwx 1 500 500 12408 Sep 24 2003 mixer_test
[root@ez-x5 /app]$
[root@ez-x5 /app]$ ./madplay -o /dev/dsp aaa.mp3
MPEG Audio Decoder 0.14.2 (beta) - Copyright (C) 2000-2001 Robert Leslie
Title: 나보다 조금 더 높은 곳에...
Artist: 신승훈
error: frame 11259: lost synchronization
11259 frames decoded (0:04:54.1), +1.1 dB peak amplitude, 1764 clipped
samples
[root@ez-x5 /app]$
**************DS1307 문제 ****
커널에서 error 가나네요 .
Copy Kernel Image .....
Copy Ramdisk Image .....
Starting kernel [MARCH 303]...
Uncompressing Linux............................................ done,
booting th
e kernel.
Linux version 2.4.19-rmk7-pxa1 (root@myhost) (gcc version 3.2.1) #276
Thu Apr 22
17:28:39 KST 2004
CPU: XScale-PXA255 revision 6
Machine: WWW.FALINUX.COM EZ-X5 for PXA255 Board
Ignoring unrecognised tag 0x00000000
Memory clock: 99.53MHz (*27)
Run Mode clock: 398.13MHz (*4)
Turbo Mode clock: 398.13MHz (*1.0, inactive)
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: y initrd=0xa0800000,4M root=/dev/ram ramdisk=8192
console=
ttyS02,115200 ip0=192.168.123.171 nandparts=1,3,60
Calibrating delay loop... 397.31 BogoMIPS
Memory: 64MB = 64MB total
Memory: 59228KB available (1175K code, 247K data, 44K init)
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Using PXA255 frequency points.
Registering CPU frequency change support.
CPU clock: 398.131 MHz (99.000-400.000 MHz)
Starting kswapd
I2C: PXA algorithm module loaded.
enable_irq(11) unbalanced from c0098420
I2C: Adding PXA-I2C-Adapter.
i2c-dev.o: Registered 'PXA-I2C-Adapter' as minor 0
I2C: Scanning bus (1a)
I2C: Successfully added bus
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with no serial options enabled
ttyS00 at 0x0000 (irq = 15) is a PXA UART
ttyS01 at 0x0000 (irq = 14) is a PXA UART
ttyS02 at 0x0000 (irq = 13) is a PXA UART
mk712 device OK!
I2C: DS1307 RTC driver successfully loaded
eth0: cs8900 rev J Base 0xF1000300<6>, IRQ 44, MAC 00:A2:55:F2:26:25
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
SSP audio for EZ-X5 initialized
WM8721 DAC Initialized for EZ-X5
I2C: WM8721 driver successfully loaded
NAND device: Manufacture ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MB 3,3V)
Creating 3 MTD partitions on "NAND 64MB 3,3V":
0x00000000-0x00100000 : "EZ-X5 Kernel partition"
0x00100000-0x00400000 : "EZ-X5 Ramdisk partition"
0x00400000-0x04000000 : "EZ-X5 Data partition 0"
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 4096K
VFS: Mounted root (ext2 filesystem) readonly.
Freeing init memory: 44K
INIT: version 2.84 booting
INIT: Entering runlevel: 3
yaffs: dev is 7938 name is "1f:02"
Starting system logger: syslogd
Starting INET services: inetd
Welcome to J.D&T EZ-X5 ( www.falinux.com )
XScale(PXA255) Linux
ez-x5 login: root
[root@ez-x5 /root]$ cat /proc/driver/ds1307
Unable to handle kernel NULL pointer dereference at virtual address
00000028
mm = c00091a0 pgd = c385c000
*pgd = a3862001, *pmd = a3862001, *pte = 00000000, *ppte = 00000000
Internal error: Oops: 0
CPU: 0
pc : [] lr : [<00000000>] Not tainted
sp : c3865e58 ip : 00000001 fp : 00000000
r10: c0a59260 r9 : c0253d20 r8 : c0a15000
r7 : c3865f5c r6 : 00000c00 r5 : c014afe4 r4 : 00000000
r3 : 00000c00 r2 : 00000000 r1 : 00000040 r0 : c3865ed8
Flags: NzCv IRQs on FIQs on Mode SVC_32 Segment user
Control: 397F Table: A385C000 DAC: 00000015
Process cat (pid: 107, stack limit = 0xc3864368)
Stack: (0xc3865e58 to 0xc3866000)
5e40: 00864000
c0146510
5e60: c0055670 c003b2c8 c0a93da0 00000000 c027b360 c0a220a0 00000000
c027b8f0
5e80: c022c800 000010cc 00000000 00000000 c3865ed8 c00a8564 00000000
00000000
5ea0: 00000000 00000000 c027b8f0 c022c800 000010cc c0056758 00000000
c022c800
5ec0: c0253d20 000010cc c0a93da0 20000013 c0146534 00000101 00000000
000001d2
5ee0: c0146300 c015a130 c0146530 c3865fb0 c003b2c8 c0034928 20000013
c0146514
5f00: 00000101 00000000 000001f0 c0146300 c0253d20 c0146510 00000000
c0a15000
5f20: 00000c00 c3865f5c 00002000 c00a8804 c0a220a0 bfffdb78 00000c00
c0a15000
5f40: c005f764 c3865f58 00000000 00000000 c001b13c c00091bc 00000000
00000000
5f60: c0a59260 c0a59240 ffffffea 00000000 00002000 c3864000 bfffdb78
00000000
5f80: c0040bb4 c3865fb0 0004313c 00000003 00002000 bfffdb78 00000003
c0015784
5fa0: 4013b8bc c00155e0 00000003 c001555c 00000003 bfffdb78 00002000
00000001
5fc0: 00000003 00002000 bfffdb78 00000003 00000002 0004313c 4013b8bc
000634e0
5fe0: 400e0790 bfffdb64 000454c0 400e0794 60000010 00000003 00000000
00000000
Backtrace: no frame pointer
Code: e3a02000 e595e000 e5cd2003 e3a0c001 (e1de32b8)
Segmentation fault
[root@ez-x5 /root]$
실제로 ramdisk 문제더군요.
MP3를 아래와같이 하니 error 가나고
DS1307 을 해도 Error 나고 하여간 PS B.D 살리기 어렵습니다.
*****MP3 문제 ****
잘 PLAY하다가 error나네요.
[root@ez-x5 /app]$ ll
-rwxrw-r-- 1 500 500 4695094 Nov 5 2000 aaa.mp3
-rwxrw-r-- 1 500 500 281974 Apr 22 2004 bbb.wav
-rwxrw-r-- 1 500 500 51186 Apr 22 2004 ccc.wav
drw-rw-rw- 1 root root 512 Jan 1 00:00 lost+found
-rwxrwxrwx 1 500 500 887919 Nov 11 2002 madplay
-rwxrwxrwx 1 500 500 12408 Sep 24 2003 mixer_test
[root@ez-x5 /app]$
[root@ez-x5 /app]$ ./madplay -o /dev/dsp aaa.mp3
MPEG Audio Decoder 0.14.2 (beta) - Copyright (C) 2000-2001 Robert Leslie
Title: 나보다 조금 더 높은 곳에...
Artist: 신승훈
error: frame 11259: lost synchronization
11259 frames decoded (0:04:54.1), +1.1 dB peak amplitude, 1764 clipped
samples
[root@ez-x5 /app]$
**************DS1307 문제 ****
커널에서 error 가나네요 .
Copy Kernel Image .....
Copy Ramdisk Image .....
Starting kernel [MARCH 303]...
Uncompressing Linux............................................ done,
booting th
e kernel.
Linux version 2.4.19-rmk7-pxa1 (root@myhost) (gcc version 3.2.1) #276
Thu Apr 22
17:28:39 KST 2004
CPU: XScale-PXA255 revision 6
Machine: WWW.FALINUX.COM EZ-X5 for PXA255 Board
Ignoring unrecognised tag 0x00000000
Memory clock: 99.53MHz (*27)
Run Mode clock: 398.13MHz (*4)
Turbo Mode clock: 398.13MHz (*1.0, inactive)
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: y initrd=0xa0800000,4M root=/dev/ram ramdisk=8192
console=
ttyS02,115200 ip0=192.168.123.171 nandparts=1,3,60
Calibrating delay loop... 397.31 BogoMIPS
Memory: 64MB = 64MB total
Memory: 59228KB available (1175K code, 247K data, 44K init)
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Using PXA255 frequency points.
Registering CPU frequency change support.
CPU clock: 398.131 MHz (99.000-400.000 MHz)
Starting kswapd
I2C: PXA algorithm module loaded.
enable_irq(11) unbalanced from c0098420
I2C: Adding PXA-I2C-Adapter.
i2c-dev.o: Registered 'PXA-I2C-Adapter' as minor 0
I2C: Scanning bus (1a)
I2C: Successfully added bus
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with no serial options enabled
ttyS00 at 0x0000 (irq = 15) is a PXA UART
ttyS01 at 0x0000 (irq = 14) is a PXA UART
ttyS02 at 0x0000 (irq = 13) is a PXA UART
mk712 device OK!
I2C: DS1307 RTC driver successfully loaded
eth0: cs8900 rev J Base 0xF1000300<6>, IRQ 44, MAC 00:A2:55:F2:26:25
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
SSP audio for EZ-X5 initialized
WM8721 DAC Initialized for EZ-X5
I2C: WM8721 driver successfully loaded
NAND device: Manufacture ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MB 3,3V)
Creating 3 MTD partitions on "NAND 64MB 3,3V":
0x00000000-0x00100000 : "EZ-X5 Kernel partition"
0x00100000-0x00400000 : "EZ-X5 Ramdisk partition"
0x00400000-0x04000000 : "EZ-X5 Data partition 0"
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 4096K
VFS: Mounted root (ext2 filesystem) readonly.
Freeing init memory: 44K
INIT: version 2.84 booting
INIT: Entering runlevel: 3
yaffs: dev is 7938 name is "1f:02"
Starting system logger: syslogd
Starting INET services: inetd
Welcome to J.D&T EZ-X5 ( www.falinux.com )
XScale(PXA255) Linux
ez-x5 login: root
[root@ez-x5 /root]$ cat /proc/driver/ds1307
Unable to handle kernel NULL pointer dereference at virtual address
00000028
mm = c00091a0 pgd = c385c000
*pgd = a3862001, *pmd = a3862001, *pte = 00000000, *ppte = 00000000
Internal error: Oops: 0
CPU: 0
pc : [
sp : c3865e58 ip : 00000001 fp : 00000000
r10: c0a59260 r9 : c0253d20 r8 : c0a15000
r7 : c3865f5c r6 : 00000c00 r5 : c014afe4 r4 : 00000000
r3 : 00000c00 r2 : 00000000 r1 : 00000040 r0 : c3865ed8
Flags: NzCv IRQs on FIQs on Mode SVC_32 Segment user
Control: 397F Table: A385C000 DAC: 00000015
Process cat (pid: 107, stack limit = 0xc3864368)
Stack: (0xc3865e58 to 0xc3866000)
5e40: 00864000
c0146510
5e60: c0055670 c003b2c8 c0a93da0 00000000 c027b360 c0a220a0 00000000
c027b8f0
5e80: c022c800 000010cc 00000000 00000000 c3865ed8 c00a8564 00000000
00000000
5ea0: 00000000 00000000 c027b8f0 c022c800 000010cc c0056758 00000000
c022c800
5ec0: c0253d20 000010cc c0a93da0 20000013 c0146534 00000101 00000000
000001d2
5ee0: c0146300 c015a130 c0146530 c3865fb0 c003b2c8 c0034928 20000013
c0146514
5f00: 00000101 00000000 000001f0 c0146300 c0253d20 c0146510 00000000
c0a15000
5f20: 00000c00 c3865f5c 00002000 c00a8804 c0a220a0 bfffdb78 00000c00
c0a15000
5f40: c005f764 c3865f58 00000000 00000000 c001b13c c00091bc 00000000
00000000
5f60: c0a59260 c0a59240 ffffffea 00000000 00002000 c3864000 bfffdb78
00000000
5f80: c0040bb4 c3865fb0 0004313c 00000003 00002000 bfffdb78 00000003
c0015784
5fa0: 4013b8bc c00155e0 00000003 c001555c 00000003 bfffdb78 00002000
00000001
5fc0: 00000003 00002000 bfffdb78 00000003 00000002 0004313c 4013b8bc
000634e0
5fe0: 400e0790 bfffdb64 000454c0 400e0794 60000010 00000003 00000000
00000000
Backtrace: no frame pointer
Code: e3a02000 e595e000 e5cd2003 e3a0c001 (e1de32b8)
Segmentation fault
[root@ez-x5 /root]$