Re: EXT2-fs error in 2.4.0

2001-01-10 Thread Petri Kaukasoina

On Wed, Jan 10, 2001 at 12:04:28PM -0700, Andreas Dilger wrote:
> Decoding the first few words to hex, then ASCII gives
> sts.pte_spinlock
> #define pgtable_cache_size  (pgt_quicklists.pgtable_cache_sz)
> #define pgd_
> 
> and I it continues.  The defines are from include/asm-sparc/pgalloc.h
> and it is possible the first few words are out-of-order frees of indirect
> blocks or something.  In any case, were you just untarring a 2.4 kernel
> tree at the time of this problem?  That would be a bad thing, since it
> would point to a bug still in the 2.4.0 kernel.
> 
> Alternately, were you just rm -r an old kernel tree?  Is it possible you
> have not fsck'd this filesystem since running one of 2.4.0-test10 through
> 2.4.0-test12 (or maybe even test13)?  In this case, it is possible that
> the filesystem was corrupted with the older kernels, but you just didn't
> notice it if it was in an unused kernel tree.

It was a file system where I do not work much, so after looking the time
stamps of the directories and studying bash_history I am now rather sure
what I was doing then: 'rm -rf linux-2.2.19pre7'. But it was not exactly an
old kernel tree because I had built it only today morning while running
2.4.0. (It was not an old tree just patched today but I untarred it fresh
from a 2.2.18 tar ball and patched and compiled it after that). The box had
been running 2.4.0 continuously since Sunday 7 Jan and I rebooted it today
afternoon only after I had seen the fs error messages. Until Sunday I was
using only 2.2 kernels. Before Sunday and 2.4.0 the file system was last fscked
on Saturday the 6th because of a power loss!

I did once try some 2.4.0-test kernel on this box but it was a long time ago
(I don't remember which exact version number the kernel had). It seemed to
start up ok then but after starting netscape and moving its windows it hung
and I had to power reset the box and of course it fscked immediately. But it
was a long time ago and after that I have only used 2.2 kernels.

Hmm. It surely seems 2.4.0 is to blame here, I'm afraid.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: EXT2-fs error in 2.4.0

2001-01-10 Thread Andreas Dilger

You write:
> Got these in 2.4.0. Sorry if it's a known problem: I haven't been following
> the list very closely. This is a 100 MHz pentium and the kernel was compiled
> with gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release). After
> booting to 2.2.latest.latest fsck did its fscking without telling anything.
> 
> Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): 
>ext2_free_blocks: Freeing blocks not in datazone - block = 779318387, count = 1 
> Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): 
>ext2_free_blocks: Freeing blocks not in datazone - block = 1600484464, count = 1 
> Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): 
>ext2_free_blocks: Freeing blocks not in datazone - block = 1852403827, count = 1 
> Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): 
>ext2_free_blocks: Freeing blocks not in datazone - block = 1801678700, count = 1 

Decoding the first few words to hex, then ASCII gives
sts.pte_spinlock
#define pgtable_cache_size  (pgt_quicklists.pgtable_cache_sz)
#define pgd_

and I it continues.  The defines are from include/asm-sparc/pgalloc.h
and it is possible the first few words are out-of-order frees of indirect
blocks or something.  In any case, were you just untarring a 2.4 kernel
tree at the time of this problem?  That would be a bad thing, since it
would point to a bug still in the 2.4.0 kernel.

Alternately, were you just rm -r an old kernel tree?  Is it possible you
have not fsck'd this filesystem since running one of 2.4.0-test10 through
2.4.0-test12 (or maybe even test13)?  In this case, it is possible that
the filesystem was corrupted with the older kernels, but you just didn't
notice it if it was in an unused kernel tree.

The sequence of events leading to this bug would help a great deal...

Cheers, Andreas
-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/   -- Dogbert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



EXT2-fs error in 2.4.0

2001-01-10 Thread Petri Kaukasoina

Got these in 2.4.0. Sorry if it's a known problem: I haven't been following
the list very closely. This is a 100 MHz pentium and the kernel was compiled
with gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release). After
booting to 2.2.latest.latest fsck did its fscking without telling anything.

Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 779318387, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1600484464, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1852403827, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1801678700, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1680017961, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1852401253, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1735401573, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1818386804, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1633902437, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1600481379, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1702521203, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 538976288, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1881677856, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1902081127, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1801677173, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1953720684, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1735405171, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1818386804, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1633902437, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1600481379, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 170490483, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1717920803, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 543518313, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1600415600, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1751343459, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1769168741, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 151610746, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1952935976, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1769304415, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1768713059, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 779318387, count = 1 
Jan 10 16:28:22 

EXT2-fs error in 2.4.0

2001-01-10 Thread Petri Kaukasoina

Got these in 2.4.0. Sorry if it's a known problem: I haven't been following
the list very closely. This is a 100 MHz pentium and the kernel was compiled
with gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release). After
booting to 2.2.latest.latest fsck did its fscking without telling anything.

Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 779318387, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1600484464, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1852403827, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1801678700, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1680017961, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1852401253, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1735401573, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1818386804, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1633902437, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1600481379, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1702521203, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 538976288, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1881677856, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1902081127, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1801677173, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1953720684, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1735405171, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1818386804, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1633902437, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1600481379, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 170490483, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1717920803, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 543518313, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1600415600, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1751343459, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1769168741, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 151610746, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1952935976, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1769304415, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 1768713059, count = 1 
Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): ext2_free_blocks: 
Freeing blocks not in datazone - block = 779318387, count = 1 
Jan 10 16:28:22 

Re: EXT2-fs error in 2.4.0

2001-01-10 Thread Andreas Dilger

You write:
 Got these in 2.4.0. Sorry if it's a known problem: I haven't been following
 the list very closely. This is a 100 MHz pentium and the kernel was compiled
 with gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release). After
 booting to 2.2.latest.latest fsck did its fscking without telling anything.
 
 Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): 
ext2_free_blocks: Freeing blocks not in datazone - block = 779318387, count = 1 
 Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): 
ext2_free_blocks: Freeing blocks not in datazone - block = 1600484464, count = 1 
 Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): 
ext2_free_blocks: Freeing blocks not in datazone - block = 1852403827, count = 1 
 Jan 10 16:28:22 elektroni kernel: EXT2-fs error (device ide0(3,3)): 
ext2_free_blocks: Freeing blocks not in datazone - block = 1801678700, count = 1 

Decoding the first few words to hex, then ASCII gives
sts.pte_spinlock
#define pgtable_cache_size  (pgt_quicklists.pgtable_cache_sz)
#define pgd_

and I it continues.  The defines are from include/asm-sparc/pgalloc.h
and it is possible the first few words are out-of-order frees of indirect
blocks or something.  In any case, were you just untarring a 2.4 kernel
tree at the time of this problem?  That would be a bad thing, since it
would point to a bug still in the 2.4.0 kernel.

Alternately, were you just rm -r an old kernel tree?  Is it possible you
have not fsck'd this filesystem since running one of 2.4.0-test10 through
2.4.0-test12 (or maybe even test13)?  In this case, it is possible that
the filesystem was corrupted with the older kernels, but you just didn't
notice it if it was in an unused kernel tree.

The sequence of events leading to this bug would help a great deal...

Cheers, Andreas
-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/   -- Dogbert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: EXT2-fs error in 2.4.0

2001-01-10 Thread Petri Kaukasoina

On Wed, Jan 10, 2001 at 12:04:28PM -0700, Andreas Dilger wrote:
 Decoding the first few words to hex, then ASCII gives
 sts.pte_spinlock
 #define pgtable_cache_size  (pgt_quicklists.pgtable_cache_sz)
 #define pgd_
 
 and I it continues.  The defines are from include/asm-sparc/pgalloc.h
 and it is possible the first few words are out-of-order frees of indirect
 blocks or something.  In any case, were you just untarring a 2.4 kernel
 tree at the time of this problem?  That would be a bad thing, since it
 would point to a bug still in the 2.4.0 kernel.
 
 Alternately, were you just rm -r an old kernel tree?  Is it possible you
 have not fsck'd this filesystem since running one of 2.4.0-test10 through
 2.4.0-test12 (or maybe even test13)?  In this case, it is possible that
 the filesystem was corrupted with the older kernels, but you just didn't
 notice it if it was in an unused kernel tree.

It was a file system where I do not work much, so after looking the time
stamps of the directories and studying bash_history I am now rather sure
what I was doing then: 'rm -rf linux-2.2.19pre7'. But it was not exactly an
old kernel tree because I had built it only today morning while running
2.4.0. (It was not an old tree just patched today but I untarred it fresh
from a 2.2.18 tar ball and patched and compiled it after that). The box had
been running 2.4.0 continuously since Sunday 7 Jan and I rebooted it today
afternoon only after I had seen the fs error messages. Until Sunday I was
using only 2.2 kernels. Before Sunday and 2.4.0 the file system was last fscked
on Saturday the 6th because of a power loss!

I did once try some 2.4.0-test kernel on this box but it was a long time ago
(I don't remember which exact version number the kernel had). It seemed to
start up ok then but after starting netscape and moving its windows it hung
and I had to power reset the box and of course it fscked immediately. But it
was a long time ago and after that I have only used 2.2 kernels.

Hmm. It surely seems 2.4.0 is to blame here, I'm afraid.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/