Kernel Hangs after detecting USB

Rui Araújo
I compiled a kernel from buserror's git repository but it hangs after
detecting usb without any error... 

mmc0: new SD card at address 0002
mmcblk0: mmc0:0002 00000 1.88 GiB 
 mmcblk0:
s3c2410-rtc s3c2410-rtc: setting system clock to 2150-06-11 20:48:51 UTC
(1399299635)
 p1 p2
Waiting for root device /dev/mtcblk0p2...
usb 1-1: new full speed USB device using s3c2410-ohci and address 2
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected


Any ideas?

Rui Araújo
Using the kernel from FriendlyARM, I got this message: 


VFS: Cannot open root device "mtcblk0p2" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available
partitions:
1f00             256 mtdblock0 (driver?)
1f01             128 mtdblock1 (driver?)
1f02            5120 mtdblock2 (driver?)
1f03          125568 mtdblock3 (driver?)
1f04          131072 mtdblock4 (driver?)
b300         1974272 mmcblk0 driver: mmcblk
  b301           49010 mmcblk0p1
  b302         1925080 mmcblk0p2
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(2,0)
Backtrace: 
[<c0035270>] (dump_backtrace+0x0/0x10c) from [<c03958f0>]
(dump_stack+0x18/0x1c)
 r7:c04c6440 r6:c0503ed0 r5:c39dc000 r4:c3823f40
[<c03958d8>] (dump_stack+0x0/0x1c) from [<c0395940>] (panic+0x4c/0x134)
[<c03958f4>] (panic+0x0/0x134) from [<c0008e9c>]
(mount_block_root+0x178/0x234)
 r3:00000000 r2:c383f9ec r1:c3823f40 r0:c0453720
[<c0008d24>] (mount_block_root+0x0/0x234) from [<c0009008>]
(mount_root+0xb0/0xf4)
[<c0008f58>] (mount_root+0x0/0xf4) from [<c0009144>]
(prepare_namespace+0xf8/0x190)
 r7:c05038a0 r6:c0021808 r5:c0021808 r4:c0021818
[<c000904c>] (prepare_namespace+0x0/0x190) from [<c00084c0>]
(kernel_init+0xf0/0x124)
 r7:00000000 r6:c00200dc r5:c00205d4 r4:c00205d4
[<c00083d0>] (kernel_init+0x0/0x124) from [<c004d1a4>] (do_exit+0x0/0x62c)
 r7:00000000 r6:00000000 r5:00000000 r4:00000000


which is very strange since my boot args are:
bootargs=console=ttySAC0,115200 root=mtcblk0p2 rw ip=off init=/bin/sh
mini2440=1tb rootfstype=ext3 rootdelay=10

mizch
> bootargs=[..] root=mtcblk0p2

There's no device of this name in the list of available partitions.  Use
mmcblk0p2 which is probably what you meant.

Rui Araújo
I already corrected that but I still get the same message.


Waiting 10sec before mounting root device...
s3c-sdi s3c2440-sdi: running at 16875kHz (requested: 25000kHz).
s3c-sdi s3c2440-sdi: running at 16875kHz (requested: 25000kHz).
mmc0: new SD card at address 0002
mmcblk0: mmc0:0002 00000 1.88 GiB (ro)
 mmcblk0:
 p1 p2
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "mmcblk0p2" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available
partitions:
1f00             256 mtdblock0 (driver?)
1f01             128 mtdblock1 (driver?)
1f02            5120 mtdblock2 (driver?)
1f03          125568 mtdblock3 (driver?)
b300         1974272 mmcblk0 driver: mmcblk
  b301           49010 mmcblk0p1
  b302         1925080 mmcblk0p2
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(2,0)