netc 发表于 2011-6-2 11:00:49

arm-s3c2440移植linux-2.6.38 qt4.7.0成功 但遇到的问题Thread creation error: Res

最近刚把linux-2.6.38移植到s3c2440上 用arm-linux-gcc4.3.3交叉编译器 busybox-18.2 tslib-1.4.1 移植成功 不过移植QT4.7.0到内核时一般程序可也运行,但是用movie读文件时出现QThread::start: Thread creation error: Resource temporarily unavailable 错误 该怎么解决呢
Booting Linux ...                                                            
Copy linux kernel from 0x00200000 to 0x30008000, size = 0x00300000 ... Copy Ker.
Uncompressing Linux... done, booting the kernel.                              
Linux version 2.6.38.6-NETC (root@netcreate-Crestline-ICH8M) (gcc version 4.3.31
CPU: ARM920T revision 0 (ARMv4T), cr=c0007177                        
CPU: VIVT data cache, VIVT instruction cache                                    
Machine: SMDK2440                                                            
Memory policy: ECC disabled, Data cache writeback                              
CPU S3C2440A (id 0x32440001)                                                   
S3C24XX Clocks, Copyright 2004 Simtec Electronics                              
S3C244X: core 400.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz            
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on                           
Built 1 zonelists in Zone order, mobility grouping off.Total pages: 4064      
Kernel command line: root=/dev/mtdblock2 ro init=/bin/bash console=ttySAC0      
PID hash table entries: 64 (order: -4, 256 bytes)                              
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)                  
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)                  
Memory: 16MB = 16MB total                                                      
Memory: 12132k/12132k available, 4252k reserved, 0K highmem                  
Virtual kernel memory layout:                                                
    vector: 0xffff0000 - 0xffff1000   (   4 kB)                              
    fixmap: 0xfff00000 - 0xfffe0000   ( 896 kB)                              
    DMA   : 0xffc00000 - 0xffe00000   (   2 MB)                              
    vmalloc : 0xc1800000 - 0xf6000000   ( 840 MB)                              
    lowmem: 0xc0000000 - 0xc1000000   (16 MB)                              
    modules : 0xbf000000 - 0xc0000000   (16 MB)                              
      .init : 0xc0008000 - 0xc0022000   ( 104 kB)                              
      .text : 0xc0022000 - 0xc039a530   (3554 kB)                              
      .data : 0xc039c000 - 0xc03c4ce0   ( 164 kB)                              
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1      
NR_IRQS:85 nr_irqs:85 85                                                      
irq: clearing pending ext status 00080000                                    
irq: clearing subpending status 00000002                                       
Console: colour dummy device 80x30                                             
console enabled                                                      
Calibrating delay loop... 199.47 BogoMIPS (lpj=498688)                        
pid_max: default: 32768 minimum: 301                                          
Mount-cache hash table entries: 512                                          
CPU: Testing write buffer coherency: ok                                       
gpiochip_add: gpios 288..303 (GPIOK) failed to register                        
gpiochip_add: gpios 320..334 (GPIOL) failed to register                        
gpiochip_add: gpios 352..353 (GPIOM) failed to register                        
NET: Registered protocol family 16                                             
S3C2440: Initialising architecture                                             
S3C2440: IRQ Support                                                            
S3C24XX DMA Driver, Copyright 2003-2006 Simtec Electronics                     
DMA channel 0 at c1808000, irq 33                                             
DMA channel 1 at c1808040, irq 34                                             
DMA channel 2 at c1808080, irq 35                                             
DMA channel 3 at c18080c0, irq 36                                             
S3C244X: Clock Support, DVS off                                                
bio: create slab <bio-0> at 0                                                
SCSI subsystem initialized                                                      
usbcore: registered new interface driver usbfs                                 
usbcore: registered new interface driver hub                                    
usbcore: registered new device driver usb                                    
s3c-i2c s3c2440-i2c: slave address 0x10                                       
s3c-i2c s3c2440-i2c: bus frequency set to 97 KHz                              
s3c-i2c s3c2440-i2c: i2c-0: S3C I2C adapter                                    
Advanced Linux Sound Architecture Driver Version 1.0.23.                        
cfg80211: Calling CRDA to update world regulatory domain                        
NET: Registered protocol family 2                                             
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)                  
TCP established hash table entries: 512 (order: 0, 4096 bytes)                  
TCP bind hash table entries: 512 (order: -1, 2048 bytes)                        
TCP: Hash tables configured (established 512 bind 512)                        
TCP reno registered                                                            
UDP hash table entries: 256 (order: 0, 4096 bytes)                              
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)                        
NET: Registered protocol family 1                                             
msgmni has been set to 23                                                      
alg: No test for stdrng (krng)                                                
io scheduler noop registered (default)                                          
Console: switching to colour frame buffer device 40x30                        
fb0: s3c2410fb frame buffer device                                             
s3c2440-uart.0: ttySAC0 at MMIO 0x50000000 (irq = 70) is a S3C2440            
s3c2440-uart.1: ttySAC1 at MMIO 0x50004000 (irq = 73) is a S3C2440            
s3c2440-uart.2: ttySAC2 at MMIO 0x50008000 (irq = 76) is a S3C2440            
loop: module loaded                                                            
S3C24XX NAND Driver, (c) 2004 Simtec Electronics                              
s3c24xx-nand s3c2440-nand: Tacls=1, 10ns Twrph0=3 30ns, Twrph1=1 10ns         
s3c24xx-nand s3c2440-nand: NAND ECC disabled                                    
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-b)
NAND_ECC_NONE selected by board driver. This is not recommended !!            
Scanning device for bad blocks                                                
Bad eraseblock 681 at 0x000005520000                                          
Bad eraseblock 1417 at 0x00000b120000                                          
cmdlinepart partition parsing not available                                    
Creating 3 MTD partitions on "NAND":                                          
0x000000000000-0x000000040000 : "NETC_uboot"                                    
0x000000200000-0x000000400000 : "NETC_kernel"                                 
0x000000400000-0x00000ff80000 : "NETC_yaffs2"                                 
dm9000 Ethernet Driver, V1.31                                                
usbmon: debugfs is not available                                                
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver                        
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI                                       
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1      
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000                           
usb usb1: New USB device found, idVendor=1d6b, idProduct=0001                  
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1            
usb usb1: Product: S3C24XX OHCI                                                
usb usb1: Manufacturer: Linux 2.6.38.6-NETC ohci_hcd                           
usb usb1: SerialNumber: s3c24xx                                                
hub 1-0:1.0: USB hub found                                                      
hub 1-0:1.0: 2 ports detected                                                
usbcore: registered new interface driver usblp                                 
usbcore: registered new interface driver cdc_wdm                              
Initializing USB Mass Storage driver...                                       
usbcore: registered new interface driver usb-storage                           
USB Mass Storage support registered.                                          
usbcore: registered new interface driver libusual                              
usbcore: registered new interface driver usbserial                              
USB Serial support registered for generic                                    
usbcore: registered new interface driver usbserial_generic                     
usbserial: USB Serial Driver core                                             
USB Serial support registered for FTDI USB Serial Device                        
usbcore: registered new interface driver ftdi_sio                              
ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver                              
USB Serial support registered for GSM modem (1-port)                           
usbcore: registered new interface driver option                              
option: v0.7.2:USB Driver for GSM modems                                       
USB Serial support registered for pl2303                                       
usbcore: registered new interface driver pl2303                              
pl2303: Prolific PL2303 USB to serial adaptor driver                           
mousedev: PS/2 mouse device common for all mice                              
NETC2440 TouchScreen successfully loaded                                       
input: NETC2440 TouchScreen as /devices/virtual/input/input0                  
S3C24XX RTC, (c) 2004,2006 Simtec Electronics                                 
i2c /dev entries driver                                                      
sdhci: Secure Digital Host Controller Interface driver                        
sdhci: Copyright(c) Pierre Ossman                                             
usbcore: registered new interface driver usbhid                              
usbhid: USB HID core driver                                                   
ALSA device list:                                                            
No soundcards found.                                                         
TCP cubic registered                                                            
NET: Registered protocol family 17                                             
lib80211: common routines for IEEE802.11 drivers                              
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)                        
yaffs: dev is 32505858 name is "mtdblock2" ro                                 
yaffs: passed flags ""                                                         
VFS: Mounted root (yaffs filesystem) readonly on device 31:2.                  
Freeing init memory: 104K                                                      
Failed to execute /bin/bash.Attempting defaults...                           
hwclock: can't open '/dev/misc/rtc': No such file or directory                  
insmod: can't read '/lib/input-polldev.ko': No such file or directory         
insmod: can't read '/lib/mac80211.ko': No such file or directory               
insmod: can't read '/lib/rt2x00lib.ko': No such file or directory            
insmod: can't read '/lib/rt2x00usb.ko': No such file or directory            
insmod: can't read '/lib/rt73usb.ko': No such file or directory               
insmod: can't read '/lib/zd1211rw.ko': No such file or directory               
insmod: can't read '/lib/ov9650.ko': No such file or directory                  
/etc/init.d/rcS: line 42: net_set: Permission denied                           
/etc/rc.d/init.d/leds: line 16: led-player: not found                        
/etc/rc.d/init.d/httpd: line 16: /sbin/boa: not found                        
                                                                              
Please press Enter to activate this console. Start Qt-4.7                     
                                                                              
#                                                            
# cd opt/qt-4.7/bin/                                          
# ./movie -qws                                             
QThread::start: Thread creation error: Resource temporarily unavailable
页: [1]
查看完整版本: arm-s3c2440移植linux-2.6.38 qt4.7.0成功 但遇到的问题Thread creation error: Res