From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 23 Apr 2008 21:57:20 +0400 From: Sergey Vlasov To: sisyphus@lists.altlinux.org Message-ID: <20080423175720.GA4987@atlas.home> Mail-Followup-To: sisyphus@lists.altlinux.org References: <20080417091155.GZ9772@hell.fortress> <20080417131739.GA9772@hell.fortress> <20080418104811.GD25200@newmaster.mivlgu.local> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="G4iJoqBmSsgzjUCe" Content-Disposition: inline In-Reply-To: Subject: Re: [sisyphus] =?koi8-r?b?68HLINXT1MHOz9fJ1NggR1JVQj8=?= X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux Sisyphus discussions List-Id: ALT Linux Sisyphus discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Apr 2008 17:57:21 -0000 Archived-At: List-Archive: List-Post: --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Apr 19, 2008 at 12:05:18AM +0300, diver wrote: > =F3 =D0=CF=CD=CF=DD=D8=C0 raorn@ =D5=C4=C1=CC=CF=D3=D8 =D7=D9=D1=D3=CE=C9= =D4=D8 =DE=D4=CF grub-install =D7=D9=C4=C1=A3=D4 =CF=DB=C9=C2=CB=D5: > "The file /boot/grub/stage1 not read correctly." =C9=DA-=DA=C1 =CE=C1=CC= =C9=DE=C9=D1 =C6=C1=CA=CC=CF=D7 =D7 > =CB=CF=D2=CE=C5 =C6=D3, > =CB=CF=D4=CF=D2=D9=C8 =CB=C1=CB =D1 =D0=CF=CE=C9=CD=C1=C0 =D4=C1=CD =C2= =D9=D4=D8 =CE=C5 =C4=CF=CC=D6=CE=CF. > =FA=C1=C7=D2=D5=DA=C9=D7=DB=C9=D3=D8 =D3 LiveCD =C9 =D0=D2=C9 =D0=CF=D0= =D9=D4=CB=C5 =D5=C4=C1=CC=C9=D4=D8 =C9=C8 =DE=C5=D2=C5=DA debugfs =D0=CF=CC= =D5=DE=C1=C0: > $rm /.rnd (rm .rnd) > File not found by ext2_lookup while trying to resolve filename >=20 > $kill_file /.rnd (kill_file .rnd) > File not found by ext2_lookup >=20 > =E5=D3=D4=D8 =C4=D2=D5=C7=C9=C5 =CD=C5=D4=CF=C4=D9 =CB=C1=CB =C9=C8 =D5= =C4=C1=CC=C9=D4=D8? >=20 > fsck =CE=C1 =D2=C1=DA=C4=C5=CC =CE=C9=CB=C1=CB=C9=C8 =CF=DB=C9=C2=CF=CB = =CE=C5 =CE=C1=C8=CF=C4=C9=D4, =C9 =D7 =D2=C1=C2=CF=D4=C5 =EF=F3 =D0=D2=CF= =C2=CC=C5=CD =CE=C5 =DA=C1=CD=C5=DE=C1=C0. [...] > 881281 40755 (2) 0 0 4096 24-Jan-2006 21:37 sys > < 0> 0 (1) 0 0 0 .rnd > < 0> 0 (1) 0 0 0 .ismount-test= -file =F0=CF=C8=CF=D6=C5, =D7 =C4=C1=CE=CE=CF=CD =D3=CC=D5=DE=C1=C5 =CE=C5=D0=D2= =C1=D7 grub - =D3=D5=C4=D1 =D0=CF =CB=CF=C4=D5 ext2 =D7 =D1=C4=D2=C5, =DC=CC=C5=CD=C5=CE=D4=D9 =CB=C1=D4=C1=CC=CF=C7=C1 =D3 de->inode =3D=3D 0 = =C4=CF=CC=D6=CE=D9 =C9=C7=CE=CF=D2=C9=D2=CF=D7=C1=D4=D8=D3=D1. =EE=C1=D0= =D2=C9=CD=C5=D2, =D7=CF=D4 =CB=D5=D3=CF=CB =CB=CF=C4=C1 =C9=DA fs/ext2/dir.c:ext2_readdir(): for ( ;(char*)de <=3D limit; de =3D ext2_next_entry(de)) { if (de->rec_len =3D=3D 0) { ext2_error(sb, __FUNCTION__, "zero-length directory entry"); ext2_put_page(page); return -EIO; } if (de->inode) { int over; unsigned char d_type =3D DT_UNKNOWN; if (types && de->file_type < EXT2_FT_MAX) d_type =3D types[de->file_type]; offset =3D (char *)de - kaddr; over =3D filldir(dirent, de->name, de->name_len, (n<inode), d_type); if (over) { ext2_put_page(page); return 0; } } filp->f_pos +=3D ext2_rec_len_from_disk(de->rec_len); } =E6=D5=CE=CB=C3=C9=D1 ext2_match(), =C9=D3=D0=CF=CC=D8=DA=D5=C5=CD=C1=D1 = =D7 ext2_find_entry() =D0=D2=C9 =D0=CF=C9=D3=CB=C5 =D7 =CB=C1=D4=C1=CC=CF=C7=C5 =DC=CC=C5=CD=C5=CE=D4=C1 =D3 =DA=C1=C4=C1=CE=CE=D9= =CD =C9=CD=C5=CE=C5=CD, =D4=CF=D6=C5 =C9=C7=CE=CF=D2=C9=D2=D5=C5=D4 =D4=C1= =CB=C9=C5 =DC=CC=C5=CD=C5=CE=D4=D9: static inline int ext2_match (int len, const char * const name, struct ext2_dir_entry_2 * de) { if (len !=3D de->name_len) return 0; if (!de->inode) return 0; return !memcmp(name, de->name, len); } =F3=CC=C5=C4=CF=D7=C1=D4=C5=CC=D8=CE=CF, =C9=D3=D0=D2=C1=D7=CC=D1=D4=D8 =CE= =C1=C4=CF =CE=C5 =C6=C1=CA=CC=CF=D7=D5=C0 =D3=C9=D3=D4=C5=CD=D5, =C1 =CB=CF= =C4 =C4=CC=D1 =D2=C1=C2=CF=D4=D9 =D3 ext2 =D7 grub. =F7=CF=CF=C2=DD=C5 =D0=CF=C4=CF=C2=CE=D9=C5 =DC=CC=C5=CD=C5=CE=D4=D9 =CD=CF= =C7=D5=D4 =D0=CF=D1=D7=CC=D1=D4=D8=D3=D1 =D7 =CB=C1=D4=C1=CC=CF=C7=C5, =CE= =C1=D0=D2=C9=CD=C5=D2, =D0=D2=C9 =D5=C4=C1=CC=C5=CE=C9=C9 =C6=C1=CA=CC=C1, =DC=CC=C5=CD=C5=CE=D4 =CB=C1=D4= =C1=CC=CF=C7=C1 =C4=CC=D1 =CB=CF=D4=CF=D2=CF=C7=CF =C2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D4=CF=CD=C1=D4=C9=DE=C5=D3=CB=CF=C7=CF =DA=C1=D0=D5=D3=CB=C1 =CF= =D0=D4=C9=CD=C9=DA=C1=C3=C9=C9 =CE=C5=C4=CF=D3=D4=C1=D4=CF=DE=CE=CF). --G4iJoqBmSsgzjUCe Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFID3iAW82GfkQfsqIRAhkXAKCNWgbv2+dnfaXqtXmCsC1H61tigACeM2we 37G78QngTY/qHS8ucG+e4Lc= =7u69 -----END PGP SIGNATURE----- --G4iJoqBmSsgzjUCe--