主题 : android-2.6.36内核启动信息出错 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 26391
精华: 0
发帖: 17
金钱: 85 两
威望: 17 点
贡献值: 0 点
综合积分: 34 分
注册时间: 2010-08-08
最后登录: 2011-07-04
楼主  发表于: 2011-04-13 19:57

 android-2.6.36内核启动信息出错

你好版主,我从http://android.git.kernel.org/下载到了android-2.6.36.tar.gz内核在编译都正常,可是在启动中信息中看到每个驱动都执行了两次
R_IRQS:246                                                                                                                                  
VIC @f4000000: id 0x00041192, vendor 0x41                                                                                                    
VIC @f4010000: <d 0x00041192, vendor 0x41                                                                                                    
Console: colour dummy device 80x30                                                                                                          
6>console [ttySAC0] enabled                                                                                                                  
console [ttySAC0] enabled                                                                                                                    
<6>Calibrating delay loop... Calibrating delay loop... <c>530.84 BogoMIPS (lpj=2654208)                                                      
530.84 BogoMIPS (lpj=2654208)                                                                                                                
<6>pid_max: default: 32768 minimum: 301                                                                                                      
pid_max: default: 32768 minimum: 301                                                                                                        
Mount-cache hash table entries: 512                                                                                                          
Mount-cache hash table entries: 512                                                                                                          
<6>CPU: Testing write buffer coherency: CPU: Testing write buffer coherency: ok                                                              
ok                                                                                                                                          
<6>s3c64xx_dma_init: Registering DMA channels                                                                                                
s3c64xx_dma_init: Registering DMA channels                                                                                                  
<6>s3c64xx_dma_init1: registering DMA 0 (ce808100)                                                                                          
s3c64xx_dma_init1: registering DMA 0 (ce808100)                                                                                              
<6>s3c64xx_dma_init1: registering DMA 1 (ce808120)                                                                                          
s3c64xx_dma_init1: registering DMA 1 (ce808120)                                                                                              
<6>s3c64xx_dma_init1: registering DMA 2 (ce808140)                                                                                          
s3c64xx_dma_init1: registering DMA 2 (ce808140)                                                                                              
<6>s3c64xx_dma_init1: registering DMA 3 (ce808160)                                                                                          
s3c64xx_dma_init1: registering DMA 3 (ce808160)                                                                                              
<6>s3c64xx_dma_init1: registering DMA 4 (ce808180)                                                                                          
s3c64xx_dma_init1: registering DMA 4 (ce808180)                                                                                              
<6>s3c64xx_dma_init1: registering DMA 5 (ce8081a0)                                                                                          
s3c64xx_dma_init1: registering DMA 5 (ce8081a0)                                                                                              
<6>s3c64xx_dma_init1: registering DMA 6 (ce8081c0)                                                                                          
s3c64xx_dma_init1: registering DMA 6 (ce8081c0)                                                                                              
<6>s3c64xx_dma_init1: registering DMA 7 (ce8081e0)                                                                                          
s3c64xx_dma_init1: registering DMA 7 (ce8081e0)                                                                                              
<6>PL080: IRQ 73, at ce808000                                                                                                                
PL080: IRQ 73, at ce808000                                                                                                                  
<6>s3c64xx_dma_init1: registering DMA 8 (ce80c100)                                                                                          
s3c64xx_dma_init1: registering DMA 8 (ce80c100)                                                                                              
<6>s3c64xx_dma_init1: registering DMA 9 (ce80c120)                                                                                          
s3c64xx_dma_init1: registering DMA 9 (ce80c120)                                                                                              
<6>s3c64xx_dma_init1: registering DMA 10 (ce80c140)                                                                                          
s3c64xx_dma_init1: registering DMA 10 (ce80c140)                                                                                            
<6>s3c64xx_dma_init1: registering DMA 11 (ce80c160)                                                                                          
s3c64xx_dma_init1: registering DMA 11 (ce80c160)                                                                                            
<6>s3c64xx_dma_init1: registering DMA 12 (ce80c180)                                                                                          
s3c64xx_dma_init1: registering DMA 12 (ce80c180)                                                                                            
<6>s3c64xx_dma_init1: registering DMA 13 (ce80c1a0)                                                                                          
s3c64xx_dma_init1: registering DMA 13 (ce80c1a0)                                                                                            
<6>s3c64xx_dma_init1: registering DMA 14 (ce80c1c0)                                                                                          
s3c64xx_dma_init1: registering DMA 14 (ce80c1c0)                                                                                            
<6>s3c64xx_dma_init1: registering DMA 15 (ce80c1e0)                                                                                          
s3c64xx_dma_init1: registering DMA 15 (ce80c1e0)                                                                                            
<6>PL080: IRQ 74, at ce80c000                                                                                                                
PL080: IRQ 74, at ce80c000                                                                                                                  
S3C6410: Initialising architecture                                                                                                          
S3C6410: Initialising architecture                                                                                                          
bio: create slab <bio-0> at 0                                                                                                                
bio: create slab <bio-0> at 0                                                                                                                
<6>usbcore: registered new interface driver usbfs                                                                                            
usbcore: registered new interface driver usbfs                                                                                              
<6>usbcore: registered new interface driver hub                                                                                              
usbcore: registered new interface driver hub                                                                                                
<6>usbcore: registered new device driver usb                                                                                                
usbcore: registered new device driver usb                                                                                                    
<6>s3c-i2c s3c2440-i2c.0: slave address 0x10                                                                                                
s3c-i2c s3c2440-i2c.0: slave address 0x10                                                                                                    
<6>s3c-i2c s3c2440-i2c.0: bus frequency set to 64 KHz                                                                                        
s3c-i2c s3c2440-i2c.0: bus frequency set to 64 KHz                                                                                          
<6>s3c-i2c s3c2440-i2c.0: i2c-0: S3C I2C adapter                                                                                            
s3c-i2c s3c2440-i2c.0: i2c-0: S3C I2C adapter                                                                                                
<6>s3c-i2c s3c2440-i2c.1: slave address 0x10                                                                                                
s3c-i2c s3c2440-i2c.1: slave address 0x10                                                                                                    
<6>s3c-i2c s3c2440-i2c.1: bus frequency set to 64 KHz                                                                                        
s3c-i2c s3c2440-i2c.1: bus frequency set to 64 KHz                                                                                          
<6>s3c-i2c s3c2440-i2c.1: i2c-1: S3C I2C adapter                                                                                            
s3c-i2c s3c2440-i2c.1: i2c-1: S3C I2C adapter                                                                                                
<6>ROMFS MTD (C) 2007 Red Hat, Inc.                                                                                                          
ROMFS MTD (C) 2007 Red Hat, Inc.                                                                                                            
<6>io scheduler noop registered                                                                                                              
io scheduler noop registered                                                                                                                
<6>io scheduler deadline registered                                                                                                          
io scheduler deadline registered                                                                                                            
<6>io scheduler cfq registered (default)                                                                                                    
io scheduler cfq registered (default)                                                                                                        
<6>s3c-fb s3c-fb: window 0: fb                                                                                                              
s3c-fb s3c-fb: window 0: fb                                                                                                                  
<6>Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled                                                                                  
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled                                                                                    
<6>s3c6400-uart.0: s3c2410_serial0 at MMIO 0x7f005000 (irq = 16) is a S3C6400/10                                                            
s3c6400-uart.0: s3c2410_serial0 at MMIO 0x7f005000 (irq = 16) is a S3C6400/10                                                                
<6>s3c6400-uart.1: s3c2410_serial1 at MMIO 0x7f005400 (irq = 20) is a S3C6400/10                                                            
s3c6400-uart.1: s3c2410_serial1 at MMIO 0x7f005400 (irq = 20) is a S3C6400/10                                                                
<6>s3c6400-uart.2: s3c2410_serial2 at MMIO 0x7f005800 (irq = 24) is a S3C6400/10                                                            
s3c6400-uart.2: s3c2410_serial2 at MMIO 0x7f005800 (irq = 24) is a S3C6400/10                                                                
<6>s3c6400-uart.3: s3c2410_serial3 at MMIO 0x7f005c00 (irq = 28) is a S3C6400/10                                                            
s3c6400-uart.3: s3c2410_serial3 at MMIO 0x7f005c00 (irq = 28) is a S3C6400/10                                                                
<6>brd: module loaded                                                                                                                        
brd: module loaded                                                                                                                          
<6>loop: module loaded                                                                                                                      
loop: module loaded                                                                                                                          
<6>at24 0-0050: 1024 byte 24c08 EEPROM (writable)                                                                                            
at24 0-0050: 1024 byte 24c08 EEPROM (writable)                                                                                              
<6>at24 1-0057: 16384 byte 24c128 EEPROM (writable)                                                                                          
at24 1-0057: 16384 byte 24c128 EEPROM (writable)                                                                                            
S3C24XX NAND Driver, (c) 2004 Simtec Electronics                                                                                            
S3C24XX NAND Driver, (c) 2004 Simtec Electronics                                                                                            
<6>ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver                                                                                    
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver                                                                                      
<6>s3c2410-ohci s3c2410-ohci: S3C24XX OHCI                                                                                                  
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI                                                                                                      
<6>s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1                                                                  
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1                                                                    
<6>s3c2410-ohci s3c2410-ohci: irq 79, io mem 0x74300000                                                                                      
s3c2410-ohci s3c2410-ohci: irq 79, io mem 0x74300000                                                                                        
<3>s3c2410-ohci s3c2410-ohci: init err (00000000 0000)                                                                                      
s3c2410-ohci s3c2410-ohci: init err (00000000 0000)                                                                                          
<3>ohci_hcd: can't start s3c24xx                                                                                                            
ohci_hcd: can't start s3c24xx                                                                                                                
<3>s3c2410-ohci s3c2410-ohci: startup error -75                                                                                              
s3c2410-ohci s3c2410-ohci: startup error -75                                                                                                
<6>s3c2410-ohci s3c2410-ohci: USB bus 1 deregistered                                                                                        
s3c2410-ohci s3c2410-ohci: USB bus 1 deregistered                                                                                            
<4>s3c2410-ohci: probe of s3c2410-ohci failed with error -75                                                                                
s3c2410-ohci: probe of s3c2410-ohci failed with error -75                                                                                    
<6>mice: PS/2 mouse device common for all mice                                                                                              
mice: PS/2 mouse device common for all mice                                                                                                  
S3C24XX RTC, (c) 2004,2006 Simtec Electronics                                                                                                
S3C24XX RTC, (c) 2004,2006 Simtec Electronics                                                                                                
<6>s3c-rtc s3c64xx-rtc: rtc disabled, re-enabling                                                                                            
s3c-rtc s3c64xx-rtc: rtc disabled, re-enabling                                                                                              
<6>using rtc device, s3c, for alarmsusing rtc device, s3c, for alarms<6>s3c-rtc s3c64xx-rtc: rtc core: registered s3c as rtc0                
                                                                                                                                            
s3c-rtc s3c64xx-rtc: rtc core: registered s3c as rtc0                                                                                        
<6>i2c /dev entries driver                                                                                                                  
i2c /dev entries driver                                                                                                                      
<6>sdhci: Secure Digital Host Controller Interface driver                                                                                    
sdhci: Secure Digital Host Controller Interface driver                                                                                      
<6>sdhci: Copyright(c) Pierre Ossman                                                                                                        
sdhci: Copyright(c) Pierre Ossman                                                                                                            
<6>s3c-sdhci s3c-sdhci.0: clock source 0: hsmmc (133000000 Hz)                                                                              
s3c-sdhci s3c-sdhci.0: clock source 0: hsmmc (133000000 Hz)                                                                                  
<6>s3c-sdhci s3c-sdhci.0: clock source 1: hsmmc (133000000 Hz)                                                                              
s3c-sdhci s3c-sdhci.0: clock source 1: hsmmc (133000000 Hz)                                                                                  
<6>s3c-sdhci s3c-sdhci.0: clock source 2: mmc_bus (24000000 Hz)                                                                              
s3c-sdhci s3c-sdhci.0: clock source 2: mmc_bus (24000000 Hz)                                                                                
<7>sdhci [sdhci_add_host()]: Disabling DMA as it is marked broken    
以上是我的启动信息
而用你们的36内核是没有这种状况发生的,向你请教一下,你们的android内核是从这个网站下载的吗? 还是需要修改哪些代码?每个驱动都好像执行两次是个什么状况?
^很多问题的背后都是简单的原因......
级别: 荣誉会员
UID: 34780
精华: 0
发帖: 1219
金钱: 6230 两
威望: 1246 点
贡献值: 0 点
综合积分: 2438 分
注册时间: 2010-12-21
最后登录: 2017-09-18
1楼  发表于: 2011-04-13 20:15
只是打印了两次而已, 没什么关系的
级别: 新手上路
UID: 26391
精华: 0
发帖: 17
金钱: 85 两
威望: 17 点
贡献值: 0 点
综合积分: 34 分
注册时间: 2010-08-08
最后登录: 2011-07-04
2楼  发表于: 2011-04-14 09:04

 回 1楼(911gt3) 的帖子

可是当加载驱动或在驱动里注册中断的的时候,都会执行两次,这样就会出错了
^很多问题的背后都是简单的原因......
级别: 荣誉会员
UID: 34780
精华: 0
发帖: 1219
金钱: 6230 两
威望: 1246 点
贡献值: 0 点
综合积分: 2438 分
注册时间: 2010-12-21
最后登录: 2017-09-18
3楼  发表于: 2011-04-14 09:19
没有执行两次, 只是调试被打印了两次而已
级别: 新手上路
UID: 26391
精华: 0
发帖: 17
金钱: 85 两
威望: 17 点
贡献值: 0 点
综合积分: 34 分
注册时间: 2010-08-08
最后登录: 2011-07-04
4楼  发表于: 2011-04-14 09:55
呵呵 可以请教一下 我下载下来的源码,没有经过任何改动就出现这种现象,这是什么原因造成的呢? 你们提供的内核源码是没有这种现象的,你们是从http://android.git.kernel.org/用git下载的吗?
^很多问题的背后都是简单的原因......
级别: 荣誉会员
UID: 34780
精华: 0
发帖: 1219
金钱: 6230 两
威望: 1246 点
贡献值: 0 点
综合积分: 2438 分
注册时间: 2010-12-21
最后登录: 2017-09-18
5楼  发表于: 2011-04-14 10:28
友善提供的内核源码是怎么移植的我也不太清楚
至于问题的原因, 应该和Android对标准Linux的修改有关
级别: 新手上路
UID: 26391
精华: 0
发帖: 17
金钱: 85 两
威望: 17 点
贡献值: 0 点
综合积分: 34 分
注册时间: 2010-08-08
最后登录: 2011-07-04
6楼  发表于: 2011-04-14 10:50
呵呵 可是按道理从Android官网上直接下载下来的内核不应该出现这种状况的,希望高手们能够帮我答疑解惑!!!!!!!!!
^很多问题的背后都是简单的原因......
级别: 荣誉会员
UID: 34780
精华: 0
发帖: 1219
金钱: 6230 两
威望: 1246 点
贡献值: 0 点
综合积分: 2438 分
注册时间: 2010-12-21
最后登录: 2017-09-18
7楼  发表于: 2011-04-14 10:55
你现在是需要做这方面的移植?
自由,自强,共享,共创。
级别: 论坛版主
UID: 12573
精华: 27
发帖: 8838
金钱: 46490 两
威望: 9298 点
贡献值: 27 点
综合积分: 18216 分
注册时间: 2010-01-09
最后登录: 2019-07-16
8楼  发表于: 2011-04-14 11:40
我们不对用户自己移植的程序提供支持,请使用我们提供的内核,对比查看和理解。
新手如何向我们反馈有效的信息,以便解决问题,见此贴:
http://www.arm9home.net/read.php?tid-14431.html

[注]: 此处签名链接仅为指引方向,而非解答问题本身.