嵌入式开发者社区

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

作者: gaocaimary    时间: 2014-8-14 11:33
标题: 内核编译去掉USB驱动出现启动不了的问题
我在创龙提供的Linux3.3的内核上,在Device driver选项中去掉USB驱动,结果在启动的过程中出现了 ( Z% j4 d( q( @6 C
[    1.601224] Read MAC addr from SPI Flash: ff:ff:ff:ff:ff:ff4 ^# m0 Y- t% d5 u+ ^/ Y$ \8 ?
[    1.608128] spi_davinci spi_davinci.1: Controller at 0xfef0e000
% n: I* p% D7 N* Q' k[    1.665922] davinci_mdio davinci_mdio.0: davinci mdio revision 1.51 u; ~; q( t/ A- B* f
[    1.765823] davinci_mdio davinci_mdio.0: timed out waiting for user access
; ?: x/ [# _( |- d[    1.773673] davinci_mdio: probe of davinci_mdio.0 failed with error -5/ {9 ]7 ^' d- J) C
[    1.782316] _regulator_get: spi1.1 supply vcc not found, using dummy regulator
% |' O8 A3 w8 v; A7 O% G+ j[    1.790613] ads7846 spi1.1: touchscreen, irq 145
4 R- p5 F1 ^( E# s, R% s[    1.796961] input: ADS7846 Touchscreen as /devices/platform/spi_davinci.1/spi_master/spi1/spi1.1/input/input0
6 H' ]' ]1 ~4 C[    1.811665] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc0
! Q( J" i2 b9 S: l[    1.818481] omap_rtc: RTC power up reset detected5 A+ l& ]- R6 E! \' M! v' U
[    1.824103] i2c /dev entries driver9 N' r; c( H3 ~
[    1.831084] lirc_dev: IR Remote Control driver registered, major 253( l5 U% ]* X& r& Y* v) G
[    1.837971] IR NEC protocol handler initialized. o1 I6 J+ a- f& \. V7 Q
[    1.842583] IR RC5(x) protocol handler initialized
2 r+ i5 u. b+ K: P$ t! L& i[    1.847554] IR RC6 protocol handler initialized" u+ w% N5 ~" H
[    1.852136] IR JVC protocol handler initialized8 s7 K* D* ?" R: r' P! Z
[    1.856796] IR Sony protocol handler initialized! ~# w; o( r) V0 t
[    1.861480] IR RC5 (streamzap) protocol handler initialized. c& |  Z! h2 g7 W/ S( o
[    1.867170] IR SANYO protocol handler initialized3 Y) {# q' w8 Y' A1 |. f' `
[    1.871935] IR MCE Keyboard/mouse protocol handler initialized0 k% }6 Q- _# \& @4 ^& k8 O
[    1.877882] IR LIRC bridge handler initialized3 n+ _) p2 [! p+ h8 i9 |+ A8 h
[    1.882369] Linux video capture interface: v2.003 T6 Y" ?0 y* X$ P0 w6 l7 _
[    1.888722] watchdog watchdog: heartbeat 60 sec. s3 f' J( j6 E, q; s+ l/ Y/ e
[    1.895285] cpuidle: using governor ladder
! j0 X0 Y7 r3 d% J[    1.900118] cpuidle: using governor menu
9 t! ~- j9 D6 P9 H( i2 Q[    1.907499] davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode
# V1 w4 ?% d( @# U7 E  ?2 ][    1.918396] TCP cubic registered) ~; N: D8 \+ M; p% T  @) [
[    1.921694] NET: Registered protocol family 17
; t$ N' H8 o* h9 p3 ?* E9 B[    1.927113] _regulator_get: deviceless supply cvdd not found, using dummy regulator' A# V* m) X! t9 H
[    1.942633] console [netcon0] enabled2 ]6 A  v- X. `- W0 ]% o
[    1.946844] netconsole: network logging started" }6 ]9 K* [3 J& Y6 b+ D
[    1.951985] davinci_emac davinci_emac.1: using random MAC addr: 72:9d:29:ed:bd:8d
. e$ f1 k$ l+ B[    1.971301] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)5 {% x+ i/ ]6 q! p9 ~
[    1.981557] Root-NFS: no NFS server address
2 m+ f6 G9 I' b! o  _3 _' {[    1.985997] VFS: Unable to mount root fs via NFS, trying floppy.
7 S/ Q) D  L! w0 u! t[    1.993259] VFS: Cannot open root device "mmcblk0p2" or unknown-block(2,0)
! ]2 j* e4 z- S5 U+ I" z' |$ X+ @3 q[    2.000512] Please append a correct "root=" boot option; here are the available partitions:
2 Y4 Y! M- P! B7 F1 i[    2.009218] 1f00             128 mtdblock0  (driver?)
2 j( L# d! z, @" l$ o[    2.014571] 1f01             512 mtdblock1  (driver?)& q$ V4 v: U0 r4 g1 [, m
[    2.020016] 1f02             512 mtdblock2  (driver?)
. B# U( F5 b3 e5 t, y[    2.025353] 1f03            4096 mtdblock3  (driver?)* y- v1 N! L. [6 {$ Q! \7 |
[    2.030825] 1f04          519040 mtdblock4  (driver?)$ B6 V- S; \6 H! m+ g% _
[    2.036225] 1f05              64 mtdblock5  (driver?)
; ^/ P4 I  z, b3 Y, H" s4 j3 s[    2.041536] 1f06             512 mtdblock6  (driver?)* p5 V0 V4 g3 q* b: P
[    2.046904] 1f07              64 mtdblock7
4 \& @5 g1 y/ @% M) ~) j5 c[    2.051053] mmc0: host does not support reading read-only switch. assuming write-enable.
( y; o$ f9 B; F/ b9 T[    2.059503]  (driver?)
3 h- e! Y+ ~9 k" l! \6 s/ }[    2.061933] 1f08            2560 mtdblock8  (driver?)
/ j" [1 W/ g) {+ n  D; R6 B[    2.067289] 1f09            4096 mtdblock9
4 X- N- u. j( M9 w8 h. m( u" c: F[    2.071638] mmc0: new high speed SDHC card at address 1234. z) `, U" y* }/ {; @/ c
[    2.077485]  (driver?)
1 O% [1 J- ^2 q- z6 f; F( Q+ h[    2.079916] 1f0a              64 mtdblock10  (driver?)% Z3 W" G. G- E% s+ P" t4 D
[    2.085120] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
+ ~! m5 g/ P0 [, e1 [$ Y6 E                                                                                                                                          
  w( Q$ y+ c. E1 ]去掉I2C驱动后也会出现同样的问题,请各位高手指教
1 `6 ~5 m: O  I
) s  u1 Q9 M. r* y




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