嵌入式开发者社区

标题: 内核编译去掉USB驱动出现启动不了的问题 [打印本页]

作者: gaocaimary    时间: 2014-8-14 11:33
标题: 内核编译去掉USB驱动出现启动不了的问题
我在创龙提供的Linux3.3的内核上,在Device driver选项中去掉USB驱动,结果在启动的过程中出现了 2 s& s; N2 Z( d  Z" F& z: I
[    1.601224] Read MAC addr from SPI Flash: ff:ff:ff:ff:ff:ff
! \3 A8 Q7 d# ]) w, K+ m[    1.608128] spi_davinci spi_davinci.1: Controller at 0xfef0e000. D. {) e  A. r" i7 D( {1 m) n' u
[    1.665922] davinci_mdio davinci_mdio.0: davinci mdio revision 1.52 e# H5 R9 A; u+ X8 Y
[    1.765823] davinci_mdio davinci_mdio.0: timed out waiting for user access
- A$ |3 t+ U; p( i2 P$ a  W[    1.773673] davinci_mdio: probe of davinci_mdio.0 failed with error -5
+ ]8 H! X' e7 p[    1.782316] _regulator_get: spi1.1 supply vcc not found, using dummy regulator
6 }1 s8 J& ?& f: H* R[    1.790613] ads7846 spi1.1: touchscreen, irq 1458 l  Y. l( u+ G' g6 U; W$ [
[    1.796961] input: ADS7846 Touchscreen as /devices/platform/spi_davinci.1/spi_master/spi1/spi1.1/input/input0
$ n$ i# |- ?1 c4 F[    1.811665] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0* [1 _: g( P% g- Y) M
[    1.818481] omap_rtc: RTC power up reset detected, p; a$ e5 s0 @# t; a1 `2 E' P
[    1.824103] i2c /dev entries driver2 {/ m8 t% Q1 g* z  k  h
[    1.831084] lirc_dev: IR Remote Control driver registered, major 253: F9 H- y1 B; M5 L: O3 H  ]
[    1.837971] IR NEC protocol handler initialized3 E" l# E* H. a5 f
[    1.842583] IR RC5(x) protocol handler initialized6 m- h4 o8 F* B$ `% {3 n
[    1.847554] IR RC6 protocol handler initialized
+ ~( s; \4 Y+ j[    1.852136] IR JVC protocol handler initialized* v1 i, \0 l* b8 v% @/ _+ r4 M- X$ J
[    1.856796] IR Sony protocol handler initialized* {. ~/ t; R, N1 X1 |7 n
[    1.861480] IR RC5 (streamzap) protocol handler initialized
9 f5 z" W+ G9 u; Z[    1.867170] IR SANYO protocol handler initialized
' b+ ?* z  Z7 m. U2 w3 r! i# @[    1.871935] IR MCE Keyboard/mouse protocol handler initialized+ n$ O/ S1 n+ w- A
[    1.877882] IR LIRC bridge handler initialized
' f! j2 f2 l. l9 ]+ \- q[    1.882369] Linux video capture interface: v2.00" o% t: i. E7 U0 l
[    1.888722] watchdog watchdog: heartbeat 60 sec7 r3 ?: p4 O$ i8 ]6 @4 w
[    1.895285] cpuidle: using governor ladder& e9 ]+ f! g6 {! N9 D
[    1.900118] cpuidle: using governor menu7 v0 p2 t% q' P- i- S8 }
[    1.907499] davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode6 r/ I5 M8 l# L; Z: L/ v! e% l
[    1.918396] TCP cubic registered
. Q6 K- E9 e, V- @0 |! A7 V[    1.921694] NET: Registered protocol family 17. G$ D( `, B. F+ p7 A
[    1.927113] _regulator_get: deviceless supply cvdd not found, using dummy regulator
% K* t& C7 j0 {6 i( d[    1.942633] console [netcon0] enabled
( t9 {" e8 d3 G. E5 x8 `1 D[    1.946844] netconsole: network logging started
- ~0 O+ k' k2 Z: G# x4 y[    1.951985] davinci_emac davinci_emac.1: using random MAC addr: 72:9d:29:ed:bd:8d
' y8 a+ W8 f  t5 d[    1.971301] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)0 J1 c" F; }' m
[    1.981557] Root-NFS: no NFS server address
+ d- F0 v/ V, b' j: S9 I[    1.985997] VFS: Unable to mount root fs via NFS, trying floppy.- o7 v+ }( J1 r, H) ~
[    1.993259] VFS: Cannot open root device "mmcblk0p2" or unknown-block(2,0)
% _2 u2 F8 r$ H/ o) d6 B[    2.000512] Please append a correct "root=" boot option; here are the available partitions:& Z$ Q$ A/ j& U
[    2.009218] 1f00             128 mtdblock0  (driver?)
/ U: {9 w# _- o* D$ z[    2.014571] 1f01             512 mtdblock1  (driver?)
( j; y$ J* x( A[    2.020016] 1f02             512 mtdblock2  (driver?)( Z% k# G3 i# {  J$ \7 K3 s/ O
[    2.025353] 1f03            4096 mtdblock3  (driver?)- i! J6 i  u7 i: s$ E, T1 [; w
[    2.030825] 1f04          519040 mtdblock4  (driver?)# A  }2 k/ g" T0 [
[    2.036225] 1f05              64 mtdblock5  (driver?)1 P/ u# z- Y/ o' C  S! {3 T
[    2.041536] 1f06             512 mtdblock6  (driver?)
' V) u4 L8 I1 P, P+ o[    2.046904] 1f07              64 mtdblock73 |. E' e5 n4 f
[    2.051053] mmc0: host does not support reading read-only switch. assuming write-enable./ t! m+ ]+ e0 B8 A! O& @2 v( _8 e
[    2.059503]  (driver?)
! b7 @# V7 c7 J6 t; _- B[    2.061933] 1f08            2560 mtdblock8  (driver?)2 ~8 V  f6 }- ?, e# ?
[    2.067289] 1f09            4096 mtdblock9
9 v3 t* u( O& [4 g! p* }[    2.071638] mmc0: new high speed SDHC card at address 1234
6 U( ]5 ]7 e4 N! H8 _[    2.077485]  (driver?)& a* s' |! B6 a+ q
[    2.079916] 1f0a              64 mtdblock10  (driver?)
* O$ {: u9 h$ w[    2.085120] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
. n% P3 M. g# p  M% r" J1 d                                                                                                                                          
2 ]: R) M! x  J' A# b1 E去掉I2C驱动后也会出现同样的问题,请各位高手指教- M1 X4 u1 n1 n9 x3 @9 `) @
+ H' \, |3 l+ q





欢迎光临 嵌入式开发者社区 (https://www.51ele.net/) Powered by Discuz! X3.4