Hi,

On 04/03/2014 03:47 PM, Stefan Monnier wrote:
>> Making progress, thank you,
> 
> OK, the kernel now boots (using sunxi-devel, currently), but my current
> hurdle is that it can't find my root device (which is on sda1 on the
> sata drive).
> 
> This is probably a silly error in my kernel's .config, but I can't
> figure out what's missing.  The boot log ends with:
> 
>    [    1.199004] mmcblk0: mmc0:b368  244 MiB 
>    [    1.204422]  mmcblk0: p1
>    [    1.326049] ata1.00: ATA-8: WDC WD20NPVT-00Z2TT0, 01.01A01, max UDMA/133
>    [    1.332786] ata1.00: 3907029168 sectors, multi 0: LBA48 NCQ (depth 
> 31/32)
>    [    1.340896] ata1.00: configured for UDMA/133
>    [    1.349995] scsi 0:0:0:0: Direct-Access     ATA      WDC WD20NPVT-00Z 
> 01.0 PQ: 0 ANSI: 5
>    [    1.362511] VFS: Cannot open root device "sda1" or unknown-block(0,0): 
> error -6
>    [    1.374684] Please append a correct "root=" boot option; here are the 
> available partitions:
>    [    1.388593] b300          249856 mmcblk0  driver: mmcblk
>    [    1.393994]   b301          220000 mmcblk0p1 0006ca47-01
>    [    1.399368] Kernel panic - not syncing: VFS: Unable to mount root fs on 
>    [...]
> 

It panics while it is still scanning the disk, looks like you need to add 
rootwait
to your kernel cmd line.

Regards,

Hans

> So, the SD card is properly found and its mbr partition is
> correctly parsed.  The sata drive is also found, but for some reason it
> seems that the sda device is not created (and not parsed either, of
> course).
> 
> I suspect this is not a sunxi-specific problem, but my.config clearly
> has the required bits to read block devices, parsed MBR partition
> tables, and find sata drives, and I can't find anything in the
> menuconfig which would be required to plug them together.
> 
> Any hint anyone?
> 
> 
>         Stefan
> 

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to