TI中文支持网
TI专业的中文技术问题搜集分享网站

DM365显示insmod: cannot insert 'edmak.ko': File exists (-1): File exists 是什么原因,求高手

Loading from NAND 1GiB 3,3V 8-bit, offset 0x400000
   Image Name:   Linux-2.6.18_pro500-davinci_evm-
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2010384 Bytes =  1.9 MB
   Load Address: 80008000
   Entry Point:  80008000
## Booting kernel from Legacy Image at 80700000 …
   Image Name:   Linux-2.6.18_pro500-davinci_evm-
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2010384 Bytes =  1.9 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum … OK
   Loading Kernel Image … OK                                                  
OK                                                                              
                                                                                
Starting kernel …                                                             
                                                                                
Uncompressing Linux…………………………………………………….
Linux version 2.6.18_pro500-davinci_evm-arm_v5t_le (root@ubuntu) (gcc �..�.� 4.2
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177                   
Machine: DaVinci DM365 EVM                                                      
Memory policy: ECC disabled, Data cache writeback                               
DaVinci DM0365 variant 0x8                                                      
PLL0: fixedrate: 24000000, commonrate: 121500000, vpssrate: 243000000           
PLL0: vencrate_sd: 27000000, ddrrate: 243000000 mmcsdrate: 121500000            
PLL1: armrate: 297000000, voicerate: 20482758, vencrate_hd: 74250000            
CPU0: D VIVT write-back cache                                                   
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets            
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets              
Built 1 zonelists.  Total pages: 17920                                          
Kernel command line: mem=70M console=ttyS0,115200n8 root=/dev/mtdblock3 rw rootl
TI DaVinci EMAC: kernel boot params Ethernet address: 00:40:01:2B:64:60         
PID hash table entries: 512 (order: 9, 2048 bytes)                              
Clock event device timer0_0 configured with caps set: 07                        
Console: colour dummy device 80×30                                              
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)                  
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)                    
Memory: 70MB = 70MB total                                                       
Memory: 66492KB available (3445K code, 704K data, 192K init)                    
Security Framework v1.0.0 initialized                                           
Capability LSM initialized                                                      
Mount-cache hash table entries: 512                                             
CPU: Testing write buffer coherency: ok                                         
NET: Registered protocol family 16                                              
MUX: initialized SPI0_SCLK                                                      
MUX: initialized SPI0_SDO)                                                      
MUX: initialized SPI0_SDI                                                       
MUX: initialized SPI0_SDENA0                                                    
DaVinci: 104 gpio irqs                                                          
MUX: initialized GPIO20                                                         
MUX: initialized I2C_SCL                                                        
DM365 IPIPE initialized in Continuous mode                                      
Generic PHY: Registered new driver                                              
ch0 default output "COMPOSITE", mode "PAL"                                      
VPBE Encoder Initialized                                                        
LogicPD encoder initialized                                                     
Avnetlcd encoder initialized                                                    
lr430lcd encoder initialized                                                    
dm365_afew_hw_init                                                              
SCSI subsystem initialized                                                      
usbcore: registered new driver usbfs                                            
usbcore: registered new driver hub                                              
NET: Registered protocol family 2                                               
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)                  
TCP established hash table entries: 4096 (order: 2, 16384 bytes)                
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)                        
TCP: Hash tables configured (established 4096 bind 2048)                        
TCP reno registered                                                             
VFS: Disk quotas dquot_6.5.1                                                    
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)                      
squashfs: version 3.1 (2006/08/19) Phillip Lougher                              
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.                           
yaffs Dec 30 2012 12:31:01 Installing.                                          
SGI XFS with no debug enabled                                                   
Initializing Cryptographic API                                                  
io scheduler noop registered                                                    
io scheduler anticipatory registered (default)                                  
davincifb davincifb.0: dm_osd0_fb: 720x576x16@0,0 with framebuffer size 4050KB  
davincifb davincifb.0: dm_vid0_fb: 0x0x16@0,0 with framebuffer size 1224KB      
davincifb davincifb.0: dm_osd1_fb: 720x576x4@0,0 with framebuffer size 810KB    
davincifb davincifb.0: dm_vid1_fb: 0x0x16@0,0 with framebuffer size 1224KB      
DAVINCI-WDT: DaVinci Watchdog Timer: heartbeat 60 sec                           
facedetect major#: 253, minor# 0                                                
facedetect driver registered                                                    
imp serializer initialized                                                      
davinci_previewer initialized                                                   
davinci_resizer initialized                                                     
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled       
serial8250.0: ttyS0 at MMIO map 0x1c20000 mem 0xfbc20000 (irq = 40) is a 16550Aserial8250.0: ttyS1 at MMIO map 0x1d06000 mem 0xfbd06000 (irq = 41) is a 16550ARAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize           
Davinci EMAC MII Bus: probed                                                    
MAC address is 02:00:10:00:00:00                                                
TI DaVinci EMAC Linux version updated 4.0                                       
netconsole: not configured, aborting                                            
Linux video capture interface: v2.00                                            
vpfe_init                                                                       
starting ccdc_reset…<7>                                                       
End of ccdc_reset…<5>vpfe_probe                                               
vpfe ccdc capture vpfe ccdc capture.1: vpif_register_decoder: decoder = MT9T001vpfe ccdc capture vpfe ccdc capture.1: vpif_register_decoder: decoder = MT9P031TVP514X : nummber of channels = 1                                               
vpfe ccdc capture vpfe ccdc capture.1: vpif_register_decoder: decoder = TVP514XTrying to register davinci display video device.                                
layer=c0583600,layer->video_dev=c0583760                                        
Trying to register davinci display video device.                                
layer=c0583400,layer->video_dev=c0583560                                        
davinci_init:DaVinci V4L2 Display Driver V1.0 loaded                            
vpfe ccdc capture vpfe ccdc capture.1: vpif_register_decoder: decoder = TVP7002af major#: 250, minor# 0                                                        
AF Driver initialized                                                           
aew major#: 249, minor# 0                                                       
AEW Driver initialized                                                          
i2c /dev entries driver                                                         
nand_davinci nand_davinci.0: Using 4-bit hardware ECC                           
NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V 8-bit)
2 NAND chips detected                                                           
Creating 5 MTD partitions on "nand_davinci.0":                                  
0x00000000-0x00780000 : "bootloader"                                            
0x00780000-0x00800000 : "params"                                                
0x00800000-0x00c00000 : "kernel"                                                
0x00c00000-0x20c00000 : "filesystem1"                                           
0x20c00000-0x80000000 : "filesystem2"                                           
nand_davinci nand_davinci.0: hardware revision: 2.3                             
dm_spi.0: davinci SPI Controller driver at 0xc481e000 (irq = 42) use_dma=0      
mice: PS/2 mouse device common for all mice                                     
davinci-mmc davinci-mmc.0: Supporting 4-bit mode                                
davinci-mmc davinci-mmc.0: Using DMA mode                                       
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50.
ASoC version 0.13.1                                                             
CQ0093 Voice Codec 0.1                                                          
asoc: cq93vc <-> davinci-vcif mapping ok                                        
ALSA device list:                                                               
  #0: On-chip voice codec (cq93vc)                                              
IPv4 over IPv4 tunneling driver                                                 
TCP bic registered                                                              
NET: Registered protocol family 1                                               
NET: Registered protocol family 17                                              
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)                         
Time: timer0_1 clocksource has been installed.                                  
Clock event device timer0_0 configured with caps set: 08                        
Switched to high resolution mode on CPU 0                                       
IP-Config: Complete:                                                            
      device=eth0, addr=192.168.1.3, mask=255.255.255.0, gw=192.168.1.1,        
     host=192.168.1.3, domain=, nis-domain=(none),                              
     bootserver=192.168.1.103, rootserver=192.168.1.103, rootpath=              
yaffs: dev is 32505859 name is "mtdblock3"                                      
yaffs: Attempting MTD mount on 31.3, "mtdblock3"                                
block 8 is bad                                                                  
VFS: Mounted root (yaffs2 filesystem).                                          
Freeing init memory: 192K                                                       
INIT: Entering runlevel: 3                                                      
Starting internet superserver: inetd.                                           
CMEMK module: built on Dec 21 2009 at 16:50:01                                  
  Reference Linux version 2.6.18                                                
  File /home/realtimedsp/workdir/dm365/dvsdk_2_10_01_18/linuxutils_2_24_02/packc
ioremap_nocache(0x85000000, 50331648)=0xc5000000                                
allocated heap buffer 0xc5000000 of size 0x134000                               
cmem initialized 20 pools between 0x85000000 and 0x88000000                     
CMEM Range Overlaps Kernel Physical – allowing overlap                          
CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x84600000)             
ioremap_nocache(0x1000, 28672)=0xc4888000                                       
no remaining memory for heap, no heap created for memory block 1                
cmem initialized 1 pools between 0x1000 and 0x8000                              
IRQK module: built on Dec 21 2009 at 16:50:08                                   
  Reference Linux version 2.6.18                                                
  File /home/realtimedsp/workdir/dm365/dvsdk_2_10_01_18/linuxutils_2_24_02/packc
irqk initialized                                                                
EDMAK module: built on Dec 21 2009 at 16:50:06                                  
  Reference Linux version 2.6.18                                                
  File /home/realtimedsp/workdir/dm365/dvsdk_2_10_01_18/linuxutils_2_24_02/packc
Starting demo                                                                   
DavinciDisplay DavinciDisplay.1: Before finishing with S_FMT:                   
layer.pix_fmt.bytesperline = 736,                                               
 layer.pix_fmt.width = 720,                                                     
 layer.pix_fmt.height = 576,                                                    
 layer.pix_fmt.sizeimage =635904                                                
                                                                                
MontaVista(R) DavinciDisplay DavinciDisplay.1: pixfmt->width = 720,             
 layer->layer_info.config.line_length= 736                                      
Linux(R) Professional Edition 5.0.0 (0801921)                                   
                                                                                
192.168.1.3 login: MUX: initialized GPIO40                                      
davinci_resizer davinci_resizer.2: RSZ_G_CONFIG:0:1:108                         
davinci_previewer davinci_previewer.2: ipipe_set_preview_config                 
davinci_previewer davinci_previewer.2: ipipe_set_preview_config                 
vpfe ccdc capture vpfe ccdc capture.1: IMP chained                              
vpfe ccdc capture vpfe ccdc capture.1: Resizer present                          
vpfe ccdc capture vpfe ccdc capture.1: hpitch = 720, vpitch = 576, bpp = 1      
vpfe ccdc capture vpfe ccdc capture.1: hpitch = 720, vpitch = 576, bpp = 1      
Starting ccdc_config_ycbcr…<7>                                                
starting ccdc_reset…<7>                                                       
End of ccdc_reset…<7>                                                         
Starting ccdc_setwin…<7>ipipe_set_resizer, resizer – A enabled                
killall -9 encodedecode                                                         
Login incorrect                                                                 
192.168.1.3 login: root                                                         
                                                                                
                                                                                
Welcome to MontaVista(R) Linux(R) Professional Edition 5.0.0 (0801921).         
                                                                                
login[654]: root login on 'console'                                             
# cd /opt/dvsdk/dm365 

# ./loadmodules_sd.sh

 Unable to handle kernel paging request at virtual address bf004ad0              
pgd = c1450000                                                                  
[bf004ad0] *pgd=8142b011, *pte=00000000, *ppte=00000000                         
Internal error: Oops: 7 [#1]                                                    
Modules linked in: dm365mmap edmak irqk                                         
CPU: 0                                                                          
PC is at do_ioctl+0x28/0x98                                                     
LR is at vfs_ioctl+0x2c4/0x2ec                                                  
pc : [<c00ae174>]    lr : [<c00ae4a8>]    Not tainted                           
sp : c1721f28  ip : c1721f48  fp : c1721f44                                     
r10: 00000000  r9 : c1720000  r8 : c12ed440                                     
r7 : 00000003  r6 : 00000004  r5 : 421e6994  r4 : c12ed440                      
r3 : bf004aac  r2 : 421e6994  r1 : 00000004  r0 : c12ed440                      
Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  Segment user                        
Control: 5317F                                                                  
Table: 81450000  DAC: 00000015                                                  
Process encodedecode (pid: 671, stack limit = 0xc1720258)                       
Stack: (0xc1721f28 to 0xc1722000)                                               
1f20:                   c14082d8 c12ed440 00000003 421e6994 c1721f74 c1721f48   
1f40: c00ae4a8 c00ae15c c0099524 c00c6fcc 00000000 00000000 421e6994 00000004   
1f60: c12ed440 c1720000 c1721fa4 c1721f78 c00ae534 c00ae1f4 0000012a 00000001   
1f80: c1720000 42d59710 002a55b0 0012ebb8 00000036 c0038f88 00000000 c1721fa8   
1fa0: c0038de0 c00ae4e0 42d59710 002a55b0 00000003 00000004 421e6994 0012e6f0   
1fc0: 42d59710 002a55b0 0012ebb8 00000036 42b87000 00000000 0012d240 421e6a24   
1fe0: 421e6bac 421e6990 000addd8 4028f27c 20000010 00000003 00000000 00000000   
Backtrace:                                                                      
[<c00ae14c>] (do_ioctl+0x0/0x98) from [<c00ae4a8>] (vfs_ioctl+0x2c4/0x2ec)      
 r6 = 421E6994  r5 = 00000003  r4 = C12ED440                                    
[<c00ae1e4>] (vfs_ioctl+0x0/0x2ec) from [<c00ae534>] (sys_ioctl+0x64/0x8c)      
 r9 = C1720000  r8 = C12ED440  r6 = 00000004  r5 = 421E6994                     
 r4 = 00000000                                                                  
[<c00ae4d0>] (sys_ioctl+0x0/0x8c) from [<c0038de0>] (ret_fast_syscall+0x0/0x2c) r8 = C0038F88  r7 = 00000036  r6 = 0012EBB8  r5 = 002A55B0                     
 r4 = 42D59710                                                                  
Code: e3530000 e1a06001 e1a05002 0a000017 (e593c024)                            
 irqk unregistered                                                              
rsz_set_output_address 0                                                        
rsz_set_output_address 0                                                        
rsz_set_output_address 0                                                        
CMEMK module: built on Dec 21 2009 at 16:50:01                                  
  Reference Linux version 2.6.18                                                
  File /home/realtimedsp/workdir/dm365/dvsdk_2_10_01_18/linuxutils_2_24_02/packc
ioremap_nocache(0x85000000, 50331648)=0xc5000000                                
allocated heap buffer 0xc5000000 of size 0x134000                               
cmem initialized 20 pools between 0x85000000 and 0x88000000                     
CMEM Range Overlaps Kernel Physical – allowing overlap                          
CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x84600000)             
ioremap_nocache(0x1000, 28672)=0xc4888000                                       
no remaining memory for heap, no heap created for memory block 1                
rsz_set_output_address 0                                                        
cmem initialized 1 pools between 0x1000 and 0x8000                              
IRQK module: built on Dec 21 2009 at 16:50:08                                   
  Reference Linux version 2.6.18                                                
  File /home/realtimedsp/workdir/dm365/dvsdk_2_10_01_18/linuxutils_2_24_02/packc
irqk initialized                                                                
insmod: cannot insert 'edmak.ko': File exists (-1): File exists            

chao ren1:

如果  不出现 insmod: cannot insert 'edmak.ko': File exists (-1): File exists 错误,

下面接着进行 encodedecode 就会显示 段错误,求高手指点,操作步骤是按照TI官方的步骤来操作的,但是单独进行编码 和解码都正常,我怀疑是不是encodedecode的程序有问题,一般产生段错误的原因都是指针引起的

赞(0)
未经允许不得转载:TI中文支持网 » DM365显示insmod: cannot insert 'edmak.ko': File exists (-1): File exists 是什么原因,求高手
分享到: 更多 (0)