grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NILFS2 in GRUB with blocksize=1024


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: NILFS2 in GRUB with blocksize=1024
Date: Wed, 25 Apr 2012 21:12:07 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120329 Icedove/10.0.3

Hello, with the attached script grub-fstest fails completely with
blocksize=1024 and partially with 2048. Do you have any idea why? I
tried to debug and my finding is that grub_nilfs2_read_checkpoint reads
garbage. pptr makes sense but it points inside a file instead of to the
metadata. If I load the other superblock I'm able to read empty disk
(what's there before script starts putting files). The function calls
follow as:
grub_nilfs2_mount
grub_nilfs2_load_sb
grub_nilfs2_read_last_checkpoint
grub_nilfs2_read_checkpoint
grub_nilfs2_bmap_lookup
grub_nilfs2_direct_lookup
grub_nilfs2_dat_translate
grub_nilfs2_bmap_lookup
grub_nilfs2_btree_lookup
grub_nilfs2_btree_node_lookup
grub_nilfs2_btree_node_lookup
grub_nilfs2_btree_node_lookup
<---here it's already wrong--->
grub_nilfs2_read_inode
grub_nilfs2_bmap_lookup
grub_nilfs2_direct_lookup
grub_nilfs2_dat_translate
grub_nilfs2_bmap_lookup
grub_nilfs2_btree_lookup
grub_nilfs2_btree_node_lookup
grub_nilfs2_btree_node_lookup
grub_nilfs2_btree_node_lookup

-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko

Attachment: fstest.sh
Description: application/shellscript

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]