嵌入式开发者社区

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

作者: gaocaimary    时间: 2014-8-14 11:34
标题: 内核编译去掉USB驱动出现启动不了的问题
启动现象如下# f; a0 \9 D) m, f2 M! H) B9 j  J2 d
[    1.601224] Read MAC addr from SPI Flash: ff:ff:ff:ff:ff:ff
3 k; z9 V) U7 k: m" @[    1.608128] spi_davinci spi_davinci.1: Controller at 0xfef0e000
: i, }( I9 T' _6 v) l  H! w1 P- n1 r[    1.665922] davinci_mdio davinci_mdio.0: davinci mdio revision 1.5: l- F* r$ n; [( {6 i$ w% m; f
[    1.765823] davinci_mdio davinci_mdio.0: timed out waiting for user access0 D- y) v) s) u& c0 j0 O( m9 R
[    1.773673] davinci_mdio: probe of davinci_mdio.0 failed with error -5
; w2 J" e% R9 _2 V3 R[    1.782316] _regulator_get: spi1.1 supply vcc not found, using dummy regulator
9 ]7 U9 l7 f/ {1 V[    1.790613] ads7846 spi1.1: touchscreen, irq 145
. S, }3 c5 q  d1 g[    1.796961] input: ADS7846 Touchscreen as /devices/platform/spi_davinci.1/spi_master/spi1/spi1.1/input/input0
+ b0 M8 b' V' x8 }! b& k[    1.811665] omap_rtc omap_rtc: rtc core: registered omap_rtc as rtc07 z/ j$ t. Z9 h
[    1.818481] omap_rtc: RTC power up reset detected+ p5 A/ A3 U8 {6 ?
[    1.824103] i2c /dev entries driver
5 K5 x/ {7 o# i2 x1 |0 o+ b" w[    1.831084] lirc_dev: IR Remote Control driver registered, major 2534 G3 w2 N8 j4 W
[    1.837971] IR NEC protocol handler initialized
  V9 v5 _& C( Y) \5 ~[    1.842583] IR RC5(x) protocol handler initialized. g/ V6 n; R) |
[    1.847554] IR RC6 protocol handler initialized. |( ~. L( C& @2 }. w7 i$ K
[    1.852136] IR JVC protocol handler initialized
  M2 R1 v& }: U( U, y[    1.856796] IR Sony protocol handler initialized
7 H/ w; |" e- Q, f& O[    1.861480] IR RC5 (streamzap) protocol handler initialized' W2 @; t% j/ P$ U7 U/ b
[    1.867170] IR SANYO protocol handler initialized+ P, b: W2 t- b' _. }, Q
[    1.871935] IR MCE Keyboard/mouse protocol handler initialized% g0 V1 O. W% r+ i& k1 O! [
[    1.877882] IR LIRC bridge handler initialized/ `0 [" }5 C, e- o* W
[    1.882369] Linux video capture interface: v2.00
. z: I" _  Y- M" q! p1 ?5 ?  G( {[    1.888722] watchdog watchdog: heartbeat 60 sec# Z/ q5 Y% C/ W+ @" R. z, m
[    1.895285] cpuidle: using governor ladder
( A+ G8 ~* r+ P* D% J[    1.900118] cpuidle: using governor menu
; f! Q' B" p8 ]! [4 d& U# p[    1.907499] davinci_mmc davinci_mmc.0: Using DMA, 4-bit mode4 i/ V+ p! |& W: ~
[    1.918396] TCP cubic registered
9 G$ g% Q- J) u% q[    1.921694] NET: Registered protocol family 177 w8 {( E& c! O; I
[    1.927113] _regulator_get: deviceless supply cvdd not found, using dummy regulator
5 f7 V+ H0 a; [5 M/ d[    1.942633] console [netcon0] enabled
0 f7 U( D2 |/ D- R/ `[    1.946844] netconsole: network logging started
2 s1 G6 p& V. a7 e3 z) y0 p9 w[    1.951985] davinci_emac davinci_emac.1: using random MAC addr: 72:9d:29:ed:bd:8d1 q" F: ~; l; j0 Q3 j
[    1.971301] omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
; Q# m3 d* f) k[    1.981557] Root-NFS: no NFS server address
' x/ q; v& R+ X7 `3 D  y[    1.985997] VFS: Unable to mount root fs via NFS, trying floppy.
# L$ `/ }% i( C3 k[    1.993259] VFS: Cannot open root device "mmcblk0p2" or unknown-block(2,0)2 w  _+ b/ U) ^, Q
[    2.000512] Please append a correct "root=" boot option; here are the available partitions:# ^+ R' d) `: V* c  o+ k
[    2.009218] 1f00             128 mtdblock0  (driver?)
! R% ?6 }" D- _8 f' C0 q[    2.014571] 1f01             512 mtdblock1  (driver?)
" R  @+ w9 F! f$ |6 L7 h[    2.020016] 1f02             512 mtdblock2  (driver?)
6 u% y8 ]/ H4 \7 w, ?  h: `[    2.025353] 1f03            4096 mtdblock3  (driver?)
1 ]0 ~- T' G& H- j" X[    2.030825] 1f04          519040 mtdblock4  (driver?)* {, `5 w$ L, K1 ?
[    2.036225] 1f05              64 mtdblock5  (driver?)) c! I$ O4 Y. R* L
[    2.041536] 1f06             512 mtdblock6  (driver?)! n- ^/ |4 ~. x# w$ L5 Y  B( \4 T7 k
[    2.046904] 1f07              64 mtdblock79 t/ c. z" j! d& y. s
[    2.051053] mmc0: host does not support reading read-only switch. assuming write-enable.
; V( _/ q+ W1 }- I) s  K9 |9 }# K[    2.059503]  (driver?)4 q4 K4 W3 {+ m$ u/ E2 E4 B2 @0 X
[    2.061933] 1f08            2560 mtdblock8  (driver?)
- q( }# G. C; z* e[    2.067289] 1f09            4096 mtdblock9: ^' }; r2 x: i* M
[    2.071638] mmc0: new high speed SDHC card at address 1234
  M1 [! g% N+ ?/ |2 n. H* K[    2.077485]  (driver?)' z+ _0 i/ n& F% Q  q  r, ~$ l- ]
[    2.079916] 1f0a              64 mtdblock10  (driver?)
0 v/ v3 |, u5 W6 B7 K& d( c. S# I9 E[    2.085120] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
2 j. ~  K: i! e% j9 u( N                                                                                                                                          
! A/ g( L6 |# O& Z然后串口就没有反应了,紧急求助
+ \( Z1 r9 U% c7 v' k9 k0 L; }# U# m6 X, y

作者: teddy    时间: 2014-8-14 17:20
    2.051053] mmc0: host does not support reading read-only switch. assuming write-enable.
/ P6 B9 w/ U, d7 u( h[    2.059503]  (driver?)" x& \/ s6 m% s" ?* C
您的问题,可能是sd的wp管脚被lock了,请检查一下sd卡,跟usb驱动应该无关的。, a! C8 e4 G' G& n- f/ u. T+ X





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