public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.5.0 breakage even with fix?
@ 2001-11-24  0:54 Petr Vandrovec
  2001-11-24  0:13 ` Alexander Viro
  2001-11-24  0:23 ` Andreas Dilger
  0 siblings, 2 replies; 7+ messages in thread
From: Petr Vandrovec @ 2001-11-24  0:54 UTC (permalink / raw)
  To: viro; +Cc: linux-kernel

Hi Al,
  I'm now running 2.5.0 with fix you posted - and now during dselect
run I received:

Unpacking replacement manpages ...
EXT2-fs error (device ide0(3,3)): ext2_check_page: bad entry in directory
  #3801539: unaligned directory entry - offset=0, inode=1801675088,
  rec_len=26465, name_len=101
Remounting filesystem read-only
rm: cannot remove directory `/var/lib/dpkg/tmp.ci': Read-only file system
...

and system is obviously unusable. I'll probably reboot and run fsck again.
If someone can show me how I can dump contents of some inode by number
(and not by name) in debugfs, I can look into inode itself... I found
only 'ncheck', to convert number to name, and this is running and running...

System was running 2.5.0 without patch for some time, but I followed
your guidelines for rebooting:

fuser -k /
sync
mount -o remount,ro /
sync
reboot

After reboot fsck was NOT run, so it is possible that there
might be some corruption - but I ran fsck on my non-root partition
after boot, and it did not show any problems.
                                        Thanks,
                                                    Petr Vandrovec
                                                    vandrove@vc.cvut.cz
                                                    
                                                    

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: 2.5.0 breakage even with fix?
@ 2001-11-24  1:05 Petr Vandrovec
  0 siblings, 0 replies; 7+ messages in thread
From: Petr Vandrovec @ 2001-11-24  1:05 UTC (permalink / raw)
  To: viro; +Cc: linux-kernel

On 24 Nov 01 at 0:54, viro@math.psu.edu wrote:
> Hi Al,
>   I'm now running 2.5.0 with fix you posted - and now during dselect
> run I received:
> 
> Unpacking replacement manpages ...
> EXT2-fs error (device ide0(3,3)): ext2_check_page: bad entry in directory
>   #3801539: unaligned directory entry - offset=0, inode=1801675088,
>   rec_len=26465, name_len=101
> Remounting filesystem read-only
> rm: cannot remove directory `/var/lib/dpkg/tmp.ci': Read-only file system

Well, ncheck finished.

debugfs: stat /var/lib/dpkg/tmp.ci
Inode: 3801539  Type: directory  Mode: 0755  Flags: 0x0  Generation: 537829
User:     0   Group:   0    Size: 4096
File ACL: 0   Directory ACL: 0
Links: 2  Blockcount: 8
Fragment: Address: 0   Number: 0   Size: 0
ctime: 0x3bfede00 -- Sat Nov 24 00:38:40 2001
atime: dtto
mtime: dtto
BLOCKS:
(0):7603845
TOTAL: 1

debugfs: cat /var/lib/dpkg/tmp.ci
Package: diff
Version: 2.7-28
Section: base
Priority: required
Architecture: i386
...

It does not look like a directory to me. Unfortunately, as we
do not have coherent /dev/hda3 cache, I have no idea how to read
real contents of /var/lib/dpkg/tmp.ci, but
ls -l /var/lib/dpkg/tmp.ci/ reemited error message about
ext2-fs error, so I think that it is real problem, and my tmp.ci directory
contains some file contents instead. And I'm 100% sure that
/var/lib/dpkg/tmp.ci was created with patched kernel :-(
                                            Petr Vandrovec
                                            vandrove@vc.cvut.cz
                                            

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-11-24 23:15 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-24  0:54 2.5.0 breakage even with fix? Petr Vandrovec
2001-11-24  0:13 ` Alexander Viro
2001-11-24 23:05   ` Robert Boermans
2001-11-24 23:03     ` Alexander Viro
2001-11-24 23:14       ` Jeff Merkey
2001-11-24  0:23 ` Andreas Dilger
  -- strict thread matches above, loose matches on Subject: below --
2001-11-24  1:05 Petr Vandrovec

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox