mke2fs freezes with device-mapper device

Timur galiullintimur at ...9...
Sun Nov 25 16:39:55 CET 2012


On 23 ноября 2012 09:51:39 Stefan Kalkowski wrote:
> Hi,
> 
> thanks for detailed bug report. The problem isn't located in L4Linux nor
> in its block driver, but in the ATAPI driver. The creation of an EXT
> filesystem resulted in: the Linux kernel requesting a lot of blocks at
> once from the ATAPI driver. When the driver initiated DMA operations, it
> doesn't respect the limit of blocks that is possible to transfer via
> DMA. Thereby, the driver stucked when getting no further interrupts, and
> the Linux block-layer stucked too.
> 
> I've described this behaviour in an issue in our issue-tracker:
> 
>   https://github.com/genodelabs/genode/issues/514
> 
> To solve the problem, you might try the following patch:
> 
> 
> https://github.com/genodelabs/genode/commit/1ab32273d25646c33a69b469e8756ed7
> 84918bf0.patch
> 
> or use the staging branch of the Genode repository.
> 
> Regards
> Stefan
> 
> On 11/20/2012 11:33 AM, Timur wrote:
> > Hi!
> > mke2fs with simple block device (l4linux + atapi drv) work's correctly,
> > but if i create encrypted device with cryptsetup, open it (there device
> > mapper file created) and try to create file system (on dm-device) using
> > mke2fs  then system freezes(infinitely write to device). I found that
> > problem in fsync call at
> > unix_flush(io_channel channel) function
> > (mke2fs_source/lib/ext2fs/unix_io.c). Help me to solve this problem)
> > .run file attached
> > initrd with cryptsetup -
> > https://github.com/shomich/files/blob/master/initrd.gz
> > 
> > 
> > 
> > --------------------------------------------------------------------------
> > ---- Monitor your physical, virtual and cloud infrastructure from a single
> > web console. Get in-depth insight into apps, servers, databases, vmware,
> > SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> > Pricing starts from $795 for 25 servers or applications!
> > http://p.sf.net/sfu/zoho_dev2dev_nov
> > 
> > 
> > 
> > _______________________________________________
> > Genode-main mailing list
> > Genode-main at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/genode-main

Thanks, but I've already test it and it's doesn't work with device-mapper 
device
-- 
Galiullin Timur




More information about the users mailing list