질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

USB 관련 오류 해결 부탁드립니다.

작성자 정보

  • 이재규 작성
  • 작성일

컨텐츠 정보

본문

안녕하십니까?

이번에 제가 근무중인 회사에서 S3C2800을 사용한 보드를 제작했습니다.

리눅스 커널 2.4.26 버전을 사용하였구요 USB Host Controller는
VIA VT6212L을 사용하였습니다.
제작한 보드 60 대 중 30가 아래와 같은 메시지를 랜덤(평균 1분에 1회)하게 출력합니다.

USB와 관련된 회로를 재땜해보아도 소용없구요..

host/usb-uhci.c: interrupt, status 28, frame# 322
host/usb-uhci.c: Host controller halted, trying to restart.

위와 같은 메시지가 나와도 보드가 정상적으로 동작하면 상관없는데 올려놓은
Application을 실행하면 잠시 후 아래와 같은 메시지를 출력하면서 뻗어 버립니다.

Backtrace:
Function entered at [<c008b974>] from [<c0072f5c>]
r4 = C08144C0
Function entered at [<c0072ef4>] from [<c0053210>]
r6 = 00000003 r5 = 00000007 r4 = C0042D40
Function entered at [<c0053190>] from [<c0053970>]
r7 = 0000000B r6 = C366E000 r5 = C366E000 r4 = C000E420
Function entered at [<c0053898>] from [<c0059940>]
Function entered at [<c005987c>] from [<c00491d4>]
r8 = C366FF04 r7 = C366FFB0 r6 = C375A14C r5 = 0000000B
r4 = C366E000
Function entered at [<c0048f00>] from [<c00455dc>]
Code: e92dd810 e24cb004 e1a0c000 e59c3008 (e5930008)
Alignment trap: not handling ldm with s-bit set
Alignment trap: not handling instruction a8c0fb53 at [<c03893ac>]
Unhandled fault: alignment exception (0x803) at 0x6000003b
pgd = c2d04000
[6000003b] *pgd=00000000, *pmd = 00000000
Internal error: Oops: 0
CPU: 0
pc : [<c03893b0>] lr : [<c004d62c>] Tainted: P
sp : c2c5ff4c ip : a0000013 fp : c2c5ff7c
r10: 00000000 r9 : c2c5e000 r8 : c00456e4
r7 : 00000033 r6 : c0220884 r5 : c2c5ff4c r4 : 00018f35
r3 : 00000000 r2 : 00000015 r1 : c2c5e000 r0 : 60000013
Flags: nZCv IRQs on FIQs on Mode SVC_32 Segment user
Control: 4000317F Table: 0AD04000 DAC: 00000015
Process jpegsrv (pid: 81, stack limit = 0xc2c5e374)
Stack: (0xc2c5ff4c to 0xc2c60000)
ff40: 00000000 00000000 00018f35 c2c5e000 c004d198
ff60: c2c5e000 c2c5e000 c2c5ff80 00000000 c2c5ffa4 c2c5ff80 c0059404 c004d21c
ff80: 00000000 1dcd6500 000f4240 0007a120 bffffdf8 000000a2 00000000 c2c5ffa8
ffa0: c0045540 c00592bc 000f4240 c0046124 bffffcd4 00000000 00000000 00ec82e0
ffc0: 000f4240 0007a120 bffffdf8 00000014 000080c0 00076f24 00000000 bffffcf0
ffe0: bffffcf4 bffffcd4 0001be48 00038ae4 80000010 bffffcd4 72656d61 35312d61
Backtrace:
Function entered at [<c004d20c>] from [<c0059404>]
r7 = 00000000 r6 = C2C5FF80 r5 = C2C5E000 r4 = C2C5E000
Function entered at [<c00592ac>] from [<c0045540>]
r7 = 000000A2 r6 = BFFFFDF8 r5 = 0007A120 r4 = 000F4240
Code: 00080100 01000406 03171008 a8c0fb53 (0000010a)



아래는 부팅 메시지 입니다.


Starting kernel
...
Uncompressing Linux.............................................................
......... done, booting the kernel.
Linux version 2.4.26-vrs1-sm3 (root@DEXTA) (gcc version 2.95.3 20010315 (release
)) #26 Thu Feb 22 16:36:30 PHT 2007
CPU: Arm920Tid(wb) revision 0
Machine: SOLO6000-R4V
Check bootloader parameter Magic Value [00000005]
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/ram mem=64M hdc=ide-scsi ip=10.10.10.225:10.10.10
.124:10.10.10.1:255.255.255.0:nDVR:eth0:off video_type=ntsc mtdparts=phys:128k@0
k(bootloader),128k@128k(boot_param),640k@256k(fpga),1536k@896k(kernel),3072k@307
2k(rootfs),13312k@6144k(myfs)
Calibrating delay loop... 79.87 BogoMIPS
Memory: 64MB = 64MB total
Memory: 59408KB available (1765K code, 306K data, 236K 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: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
CPU: Testing write buffer: pass
POSIX conformance testing by UNIFIX
PCI: bus0: Fast back to back transfers disabled
PCI: Via IRQ fixup for 00:0d.0, from 29 to 13
PCI: Via IRQ fixup for 00:0d.1, from 29 to 13
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Journalled Block Device driver loaded
devfs: v1.12c (20020818) Richard Gooch (
rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS version 1.0, (C) 1999, 2000 Axis Communications AB
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
i2c-core.o: i2c core module version 2.6.1 (20010830)
i2c-dev.o: i2c /dev entries driver module version 2.6.1 (20010830)
ttyS%d0 at MMIO 0xd0170000 (irq = 19) is a S3C2800
ttyS%d1 at MMIO 0xd0180000 (irq = 20) is a S3C2800
pty: 256 Unix98 ptys configured
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
8139too Fast Ethernet driver 0.9.26
eth0: RealTek RTL8139 at 0xc487e000, 00:a2:55:f2:26:20, IRQ 29
SCSI subsystem driver Revision: 1.00
physmap flash device: 2000000 at 0
Physically mapped flash: Found 1 x16 devices at 0x1000000 in 16-bit mode
cfi_cmdset_0001: Erase suspend on write enabled
Using buffer write method
Using command line partition definition
Creating 6 MTD partitions on "Physically mapped flash":
0x00000000-0x00020000 : "bootloader"
0x00020000-0x00040000 : "boot_param"
0x00040000-0x000e0000 : "fpga"
0x000e0000-0x00260000 : "kernel"
0x00300000-0x00600000 : "rootfs"
0x00600000-0x01300000 : "myfs"
blkmtd: error: missing `device' name

usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
ehci_hcd 00:0d.2: VIA Technologies, Inc. USB 2.0
ehci_hcd 00:0d.2: irq 29, pci mem c6881100
usb.c: new USB bus registered, assigned bus number 1
ehci_hcd 00:0d.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
Manufacturer: Linux 2.4.26-vrs1-sm3 ehci_hcd
Product: VIA Technologies, Inc. USB 2.0
SerialNumber: 00:0d.2
hub.c: USB hub found
hub.c: 4 ports detected
host/usb-uhci.c: $Revision: 1.275 $ time 16:37:29 Feb 22 2007
host/usb-uhci.c: High bandwidth mode enabled
host/usb-uhci.c: USB UHCI at I/O 0x6400, IRQ 29
host/usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
Product: USB UHCI Root Hub
SerialNumber: 6400
hub.c: USB hub found
hub.c: 2 ports detected
host/usb-uhci.c: USB UHCI at I/O 0x6420, IRQ 29
host/usb-uhci.c: Detected 2 ports
hub.c: port 2 over-current change
usb.c: new USB bus registered, assigned bus number 3
Product: USB UHCI Root Hub
SerialNumber: 6420
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: port 3 over-current change
host/usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
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 4096 bind 4096)
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
IP-Config: Complete:
device=eth0, addr=10.10.10.225, mask=255.255.255.0, gw=10.10.10.1,
host=nDVR, domain=, nis-domain=(none),
bootserver=10.10.10.124, rootserver=10.10.10.124, rootpath=
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.97 (double precision)
hub.c: port 4 over-current change
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 3072K
VFS: Mounted root (ext2 filesystem).
Mounted devfs on /dev
Freeing init memory: 236K
INIT: version 2.84 booting
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
INIT: Entering runlevel: 3
Mounting FileSystem


혹시 이런 현상을 경험해 보신 분이나 해결책을 알고 계신 분의 도움을 꼭 좀 부탁드립니다.

모두 즐거운 하루 되십시오~ ^^

관련자료

댓글 1

nazu님의 댓글

  • nazu
  • 작성일
메시지를..
plugin 시작부터 봐야하지 않을까요?
halting 부분만 있는것 같은데..

중간에 뭔가 에러가 있어서 다운된건 확실한듯 합니다만..

status를 잘따져가며, 확인바랍니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,138 명
  • 현재 강좌수 :  36,196 개
  • 현재 접속자 :  487 명