Re: [Yaffs] problem mounting yaffs2 : No such device or addr…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Vitaly Wool
Date:  
To: Richard Genoud
CC: yaffs
Subject: Re: [Yaffs] problem mounting yaffs2 : No such device or address
On 3/21/07, Richard Genoud <> wrote:
> I trace the code, and it seems that it's a problem with getting the
> partitioning information.
> I'm going to search in this way.
>
> here's the trace I get :
> mount -tyaffs2 /dev/mtdblock0 /mnt/mtd0
>   into yaffs2_read_super_mtd
>     into get_sb_bdev
>       into open_bdev_excl
>         into do_open
> ->       get_gendisk : kobj_lookup returned NULL   <-
>         do_open : get_gendisk error
>       open_bdev_excl : blkdev_get error
>     open_bdev_excl error : IS_ERR(bdev) = -6
>   get_sb_bdev result=-6

>
> mount: Mounting /dev/mtdblock0 on /mnt/mtd0 failed: No such device or address


Can you please post your .config here? First of all, I'd check that
MTD block device support is enabled at all.

Vitaly