public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Ext2-fs error
@ 2000-12-06 21:50 mkloppstech
  0 siblings, 0 replies; 19+ messages in thread
From: mkloppstech @ 2000-12-06 21:50 UTC (permalink / raw)
  To: linux-kernel

The EXT2-fs errors I recently reported for test11 seem to be gone with
test12-pre5. At least I couldn't reproduce the error, neither with
overcommit_memory turned on nor off; maybe the error was due to
turning on write cache of my hard disk.

The error was a wrong reading of directory lengths and inode nnumbers:
The file system seemed to read the inode numbers not as supposed to do:
xxxx|xxxx|xxxx|xxxx|xxxx
     rrrr

but like this:
xxxx|xxxx|xxxx|xxxx|xxxx
 rrr_r
The message was:

Dec  4 13:04:19 john kernel: EXT2-fs error (device ide0(3,3)): ext2_readdir: bad entry in directory #280596: rec_len % 4 != 0 - offset=0, inode=68583844, rec_len=13758, name_len=0
Dec  4 15:38:07 john kernel: EXT2-fs error (device ide0(3,3)): ext2_readdir: bad entry in directory #280596: rec_len % 4 != 0 - offset=0, inode=33188, rec_len=3591, name_len=0
Dec  4 15:38:07 john kernel: EXT2-fs error (device ide0(3,3)): ext2_readdir: bad entry in directory #659481: directory entry across
blocks - offset=0, inode=33188, rec_len=2536, name_len=0
Dec  4 15:39:38 john kernel: EXT2-fs error (device ide0(3,3)): ext2_readdir: bad entry in directory #280596: rec_len % 4 != 0 - offset=0, inode=33188, rec_len=3591, name_len=0
Dec  4 15:39:38 john kernel: EXT2-fs error (device ide0(3,3)): ext2_readdir: bad entry in directory #659481: directory entry across
blocks - offset=0, inode=33188, rec_len=2536, name_len=0

Mirko Kloppstech
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

* EXT2-fs error
@ 2001-02-22  7:02 Mohammad A. Haque
  2001-02-22  8:10 ` Andreas Dilger
  0 siblings, 1 reply; 19+ messages in thread
From: Mohammad A. Haque @ 2001-02-22  7:02 UTC (permalink / raw)
  To: Linux Kernel

I got the following after compiling/rebooting into 2.4.2 and forcing a
fsck.

EXT2-fs error (device ide0(3,3)): ext2_readdir: bad entry in directory
#508411: rec_len is smaller than minimal - offset=0, inode=0, rec_len=0,
name_len=0
EXT2-fs error (device ide0(3,3)): ext2_readdir: bad entry in directory
#508411: rec_len is smaller than minimal - offset=0, inode=0, rec_len=0,
name_len=0

Possibly the result of the 'silent' bug in 2.4.1?

-- 

=====================================================================
Mohammad A. Haque                              http://www.haque.net/
                                               mhaque@haque.net

  "Alcohol and calculus don't mix.             Project Lead
   Don't drink and derive." --Unknown          http://wm.themes.org/
                                               batmanppc@themes.org
=====================================================================



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

* Re: EXT2-fs error
  2001-02-22  7:02 Mohammad A. Haque
@ 2001-02-22  8:10 ` Andreas Dilger
  2001-02-22 14:58   ` Mohammad A. Haque
  0 siblings, 1 reply; 19+ messages in thread
From: Andreas Dilger @ 2001-02-22  8:10 UTC (permalink / raw)
  To: Mohammad A. Haque; +Cc: Linux Kernel

Mohammad A. Haque writes:
> I got the following after compiling/rebooting into 2.4.2 and forcing a
> fsck.

Did fsck complain?  If not, then it is a 2.4.2 kernel/driver bug, possibly
not reading any data from disk (the below errors are generated from a zero
filled directory block).

> EXT2-fs error (device ide0(3,3)): ext2_readdir: bad entry in directory
> #508411: rec_len is smaller than minimal - offset=0, inode=0, rec_len=0,
> name_len=0
> EXT2-fs error (device ide0(3,3)): ext2_readdir: bad entry in directory
> #508411: rec_len is smaller than minimal - offset=0, inode=0, rec_len=0,
> name_len=0

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

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

* Re: EXT2-fs error
  2001-02-22  8:10 ` Andreas Dilger
@ 2001-02-22 14:58   ` Mohammad A. Haque
  0 siblings, 0 replies; 19+ messages in thread
From: Mohammad A. Haque @ 2001-02-22 14:58 UTC (permalink / raw)
  To: Andreas Dilger; +Cc: Linux Kernel

Well, here's the whole situtation...

Compiled 2.4.2 and reboot forcing fsck. No errors.

Tried mounting a cd image via loopback to see if loopback was working
again. Mount hangs. Reboot command stalled waiting for filesystems to
unmount. Force with alt-sysreq-<s,u,b>. Booted w/o any errors. Restart
forcing fsck and this time fsck needs to clear some inodes.

Once I am rebooted again, I went to reinstall some rpms for files I saw
fsck complain about and I get these errors.


On Thu, 22 Feb 2001, Andreas Dilger wrote:

> Did fsck complain?  If not, then it is a 2.4.2 kernel/driver bug, possibly
> not reading any data from disk (the below errors are generated from a zero
> filled directory block).
>
> > EXT2-fs error (device ide0(3,3)): ext2_readdir: bad entry in directory
> > #508411: rec_len is smaller than minimal - offset=0, inode=0, rec_len=0,
> > name_len=0
> > EXT2-fs error (device ide0(3,3)): ext2_readdir: bad entry in directory
> > #508411: rec_len is smaller than minimal - offset=0, inode=0, rec_len=0,
> > name_len=0

-- 

=====================================================================
Mohammad A. Haque                              http://www.haque.net/
                                               mhaque@haque.net

  "Alcohol and calculus don't mix.             Project Lead
   Don't drink and derive." --Unknown          http://wm.themes.org/
                                               batmanppc@themes.org
=====================================================================


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

* Re: EXT2-fs error
  2001-02-23 19:12 EXT2-fs error Ian Wehrman
@ 2001-02-23 11:46 ` John Heil
  2001-02-23 19:26 ` Alan Cox
  1 sibling, 0 replies; 19+ messages in thread
From: John Heil @ 2001-02-23 11:46 UTC (permalink / raw)
  To: Ian Wehrman; +Cc: mhaque, adilger, linux-kernel

On Fri, 23 Feb 2001, Ian Wehrman wrote:

> Date: Fri, 23 Feb 2001 13:12:05 -0600
> From: Ian Wehrman <ian@wehrman.com>
> To: mhaque@haque.net, adilger@turbolinux.com, linux-kernel@vger.kernel.org
> Subject: Re: EXT2-fs error
> 
> Mohammad A. Haque <mhaque@haque.net> wrote:
> > I got the following after compiling/rebooting into 2.4.2 and forcing a
> > fsck.
> > 
> > EXT2-fs error (device ide0(3,3)): ext2_readdir: bad entry in directory
> > #508411: rec_len is smaller than minimal - offset=0, inode=0, rec_len=0,
> > name_len=0
> > EXT2-fs error (device ide0(3,3)): ext2_readdir: bad entry in directory
> > #508411: rec_len is smaller than minimal - offset=0, inode=0, rec_len=0,
> > name_len=0
> > 
> > Possibly the result of the 'silent' bug in 2.4.1?
> 
> you are not the only one who found this bug. immediately after booting 2.4.2 i
> received dozens of these errors, resulting in _major_ filesystem corruption.

In contrast perhaps, 2.4.1-ac19 seems clean so far in this regard after
having some different but equivalently bad corruption in 2.4.1-final.  


> after a half hour of fsck'ing i managed to bring the machine back into a usable
> state, but there are still many files and directories around the fs that have
> the wrong uid/gid associated with them, as well as incorrect file type,
> permissions, etc. i'm not using any unusual hardware, and haven't had any
> other recent issues like this. let me know if i can provide further information,
> or test patches. 
> 
> thanks,
> ian wehrman 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 

-----------------------------------------------------------------
John Heil
South Coast Software
Custom systems software for UNIX and IBM MVS mainframes
1-714-774-6952
kerndev@sc-software.com
johnhscs@sc-software.com
http://www.sc-software.com
-----------------------------------------------------------------


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

* Re: EXT2-fs error
  2001-02-23 19:26 ` Alan Cox
@ 2001-02-23 11:50   ` John Heil
  2001-02-24 11:02   ` A E Lawrence
  1 sibling, 0 replies; 19+ messages in thread
From: John Heil @ 2001-02-23 11:50 UTC (permalink / raw)
  To: Alan Cox; +Cc: ian, mhaque, adilger, linux-kernel

On Fri, 23 Feb 2001, Alan Cox wrote:

> Date: Fri, 23 Feb 2001 19:26:17 +0000 (GMT)
> From: Alan Cox <alan@lxorguk.ukuu.org.uk>
> To: ian@wehrman.com
> Cc: mhaque@haque.net, adilger@turbolinux.com, linux-kernel@vger.kernel.org
> Subject: Re: EXT2-fs error
> 
> > > Possibly the result of the 'silent' bug in 2.4.1?
> > 
> > you are not the only one who found this bug. immediately after booting 2.4.2 i
> > received dozens of these errors, resulting in _major_ filesystem corruption.
> > after a half hour of fsck'ing i managed to bring the machine back into a usable
> 
> Had you been running 2.4.1 before that ?

I had, and received a bit different corruption involving inode and block
bitmap errors rather than directories... ac19 seems so far to have solved
it.


> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 

-----------------------------------------------------------------
John Heil
South Coast Software
Custom systems software for UNIX and IBM MVS mainframes
1-714-774-6952
kerndev@sc-software.com
johnhscs@sc-software.com
http://www.sc-software.com
-----------------------------------------------------------------


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

* Re: EXT2-fs error
@ 2001-02-23 19:12 Ian Wehrman
  2001-02-23 11:46 ` John Heil
  2001-02-23 19:26 ` Alan Cox
  0 siblings, 2 replies; 19+ messages in thread
From: Ian Wehrman @ 2001-02-23 19:12 UTC (permalink / raw)
  To: mhaque, adilger, linux-kernel

Mohammad A. Haque <mhaque@haque.net> wrote:
> I got the following after compiling/rebooting into 2.4.2 and forcing a
> fsck.
> 
> EXT2-fs error (device ide0(3,3)): ext2_readdir: bad entry in directory
> #508411: rec_len is smaller than minimal - offset=0, inode=0, rec_len=0,
> name_len=0
> EXT2-fs error (device ide0(3,3)): ext2_readdir: bad entry in directory
> #508411: rec_len is smaller than minimal - offset=0, inode=0, rec_len=0,
> name_len=0
> 
> Possibly the result of the 'silent' bug in 2.4.1?

you are not the only one who found this bug. immediately after booting 2.4.2 i
received dozens of these errors, resulting in _major_ filesystem corruption.
after a half hour of fsck'ing i managed to bring the machine back into a usable
state, but there are still many files and directories around the fs that have
the wrong uid/gid associated with them, as well as incorrect file type,
permissions, etc. i'm not using any unusual hardware, and haven't had any
other recent issues like this. let me know if i can provide further information,
or test patches. 

thanks,
ian wehrman 

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

* Re: EXT2-fs error
  2001-02-23 19:12 EXT2-fs error Ian Wehrman
  2001-02-23 11:46 ` John Heil
@ 2001-02-23 19:26 ` Alan Cox
  2001-02-23 11:50   ` John Heil
  2001-02-24 11:02   ` A E Lawrence
  1 sibling, 2 replies; 19+ messages in thread
From: Alan Cox @ 2001-02-23 19:26 UTC (permalink / raw)
  To: ian; +Cc: mhaque, adilger, linux-kernel

> > Possibly the result of the 'silent' bug in 2.4.1?
> 
> you are not the only one who found this bug. immediately after booting 2.4.2 i
> received dozens of these errors, resulting in _major_ filesystem corruption.
> after a half hour of fsck'ing i managed to bring the machine back into a usable

Had you been running 2.4.1 before that ?

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

* Re: EXT2-fs error
  2001-02-23 19:26 ` Alan Cox
  2001-02-23 11:50   ` John Heil
@ 2001-02-24 11:02   ` A E Lawrence
  2001-02-24 16:59     ` Alan Cox
  1 sibling, 1 reply; 19+ messages in thread
From: A E Lawrence @ 2001-02-24 11:02 UTC (permalink / raw)
  To: Alan Cox; +Cc: ian, mhaque, adilger, linux-kernel

Alan Cox wrote:
> 
> > > Possibly the result of the 'silent' bug in 2.4.1?
> >
> > you are not the only one who found this bug. immediately after booting 2.4.2 i
> > received dozens of these errors, resulting in _major_ filesystem corruption.
> > after a half hour of fsck'ing i managed to bring the machine back into a usable
> 
> Had you been running 2.4.1 before that ?

I have seen similar problems on stock 2.4.2 a machine which has not run
2.4.1.

ael
-- 
Dr A E Lawrence

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

* Re: EXT2-fs error
  2001-02-24 11:02   ` A E Lawrence
@ 2001-02-24 16:59     ` Alan Cox
  2001-02-24 22:30       ` A E Lawrence
  2001-02-25 17:58       ` Mike Brown
  0 siblings, 2 replies; 19+ messages in thread
From: Alan Cox @ 2001-02-24 16:59 UTC (permalink / raw)
  To: A E Lawrence; +Cc: Alan Cox, ian, mhaque, adilger, linux-kernel

> I have seen similar problems on stock 2.4.2 a machine which has not run
> 2.4.1.

What disk controllers ? We really need that sort of info in order to see the
pattern in the odd reports of corruption we get


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

* Re: EXT2-fs error
  2001-02-24 16:59     ` Alan Cox
@ 2001-02-24 22:30       ` A E Lawrence
  2001-02-24 23:08         ` A E Lawrence
  2001-02-25 17:58       ` Mike Brown
  1 sibling, 1 reply; 19+ messages in thread
From: A E Lawrence @ 2001-02-24 22:30 UTC (permalink / raw)
  To: Alan Cox; +Cc: ian, mhaque, adilger, linux-kernel

Alan Cox wrote:
> 
> > I have seen similar problems on stock 2.4.2 a machine which has not run
> > 2.4.1.
> 
> What disk controllers ? We really need that sort of info in order to see the
> pattern in the odd reports of corruption we get

Sorry:-

00:07.1 IDE interface: VIA Technologies, Inc. VT82C586 IDE [Apollo] (rev
10) (prog-if 8a [Master SecP PriP])
	Flags: bus master, medium devsel, latency 32
	I/O ports at d000
	Capabilities: [c0] Power Management version 2

With dma enabled. If this is a known problem on this chipset, that may
be the explanation.

ael
-- 
A E Lawrence

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

* Re: EXT2-fs error
  2001-02-24 22:30       ` A E Lawrence
@ 2001-02-24 23:08         ` A E Lawrence
  2001-02-25 20:52           ` A E Lawrence
  0 siblings, 1 reply; 19+ messages in thread
From: A E Lawrence @ 2001-02-24 23:08 UTC (permalink / raw)
  To: Alan Cox, ian, mhaque, adilger, linux-kernel

A E Lawrence wrote:
> 
> Alan Cox wrote:
> >
> > > I have seen similar problems on stock 2.4.2 a machine which has not run
> > > 2.4.1.
> >
> > What disk controllers ? We really need that sort of info in order to see the
> > pattern in the odd reports of corruption we get

Problems have just started to show up under 2.2.18, so it is likely that
the hardware has become flakey. Bit of a coincidence, unless it is a
side effect of upgrading one of the packages for 2.4.2 :-( or a damaged
library.

So you had better discount this report. Apologies.

Adrian 
-- 
A E Lawrence

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

* Re: EXT2-fs error
  2001-02-25 20:52           ` A E Lawrence
@ 2001-02-25 13:53             ` John Heil
  0 siblings, 0 replies; 19+ messages in thread
From: John Heil @ 2001-02-25 13:53 UTC (permalink / raw)
  To: A E Lawrence; +Cc: Alan Cox, ian, mhaque, adilger, linux-kernel

On Sun, 25 Feb 2001, A E Lawrence wrote:
> A E Lawrence wrote:
> > 
> > A E Lawrence wrote:
> > >
> > > Alan Cox wrote:
> > > >
> > > > > I have seen similar problems on stock 2.4.2 a machine which has not run
> > > > > 2.4.1.
> > > >
> > > > What disk controllers ? We really need that sort of info in order to see the
> > > > pattern in the odd reports of corruption we get
> > 
> > Problems have just started to show up under 2.2.18, so it is likely that
> > the hardware has become flakey. Bit of a coincidence, unless it is a
> > side effect of upgrading one of the packages for 2.4.2 :-( or a damaged
> > library.
> > 
> > So you had better discount this report. Apologies.
> 
> Now investigated: the hardware has not changed. Rather the corruption
> under 2.2.18 only happens when hdparm -d1 is executed. I guess that is
> well reported, but I had forgotten if I ever knew :-(
> 
> In contrast 2.4.2 corruptions happen whether dma is explicitly turned on
> by hdparm or not.
> 
> [IDE interface: VIA Technologies, Inc. VT82C586 IDE [Apollo] (rev 10)]
> 

The corruption I got seemed to be non-chipset related.

The 2.4.1 corruption I experienced spanned 2.2.14 (RH 6.2)... 

The 2.4.1 IDE support was in an ALI 1535 south bridge in a Crusoe based
embedded system...  

00:0f.0 IDE interface: Acer Laboratories Inc. [ALi] M5229 IDE (rev c3)
(prog-if b4)
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
	Latency: 64 (500ns min, 1000ns max)
	Interrupt: pin A routed to IRQ 0
	Region 0: I/O ports at 01f0 [size=16]
	Region 1: I/O ports at 03f4
	Region 2: I/O ports at 0170 [size=8]
	Region 3: I/O ports at 0374
	Region 4: I/O ports at 1400 [size=16]
	Capabilities: [60] Power Management version 2
		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

Disk was...

/dev/hdb:

 Model=HITACHI_DK23AA-60, FwRev=00XEA0A0, SerialNo=F77166
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
 RawCHS=12416/15/63, TrkSize=36477, SectSize=579, ECCbytes=4
 BuffType=3(DualPortCache), BuffSize=512kB, MaxMultSect=16, MultSect=off
 DblWordIO=no, OldPIO=2, DMA=yes, OldDMA=2
 CurCHS=12416/15/63, CurSects=142606515, LBA=yes, LBAsects=11733120
 tDMA={min:120,rec:120}, DMA modes: sword0 sword1 sword2 mword0 mword1
mword2 
 IORDY=yes, tPIO={min:400,w/IORDY:120}, PIO modes: mode3 mode4 
 UDMA modes: mode0 mode1 *mode2 mode3 mode4 


When the above system couldn't adequately repair itself,
I fsck'd it on the following....

2.2.14-5.0 RH 6.2 desktop PII w PIIX4 IDE...
 
00:07.1 IDE interface: Intel Corporation 82371AB PIIX4 IDE (rev 01)
(prog-if 80 [Master])
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
	Latency: 64 set
	Region 4: I/O ports at 1460

Initially, the  2.2.14  RH 6.2 had e2fsprogs 1.18, but I ugraded it to 
e2fsck 1.19,  thinking that might be the problem but it did _not_ help.

The 2 systems, both with e2fsck 1.19, would do fsck repairs 
after the other had touched it. It seemed impossible to keep it 
error free.  

This cross-system disk transfering was error free in 2.4.0-test10-pre3. 

2.4.1-final was the first post 2.4.0-final kernel after t10p3, that
saw any significant activity.

I've since upgraded the RH to 2.2.18 and the embedded to -ac19.

So far, no more problems but I still haven't used the ac19's disk  
on 2.2.18 very much yet but it will have to happen soon... 
I am a bit gun-shy of it still.

I didn't/don't have much time to spend on this and I'm hoping ac19
is bug free is this regard... but I'm interested in how this 
turns out.  

My guess was that I may have hit the bug Russel King fixed for his ARM
system.  IRC, that fix hit the -ac tree from Linus's 2.4.2-pre2. 


-----------------------------------------------------------------
John Heil
South Coast Software
Custom systems software for UNIX and IBM MVS mainframes
1-714-774-6952
johnhscs@sc-software.com
http://www.sc-software.com
-----------------------------------------------------------------


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

* Re: EXT2-fs error
  2001-02-24 16:59     ` Alan Cox
  2001-02-24 22:30       ` A E Lawrence
@ 2001-02-25 17:58       ` Mike Brown
  1 sibling, 0 replies; 19+ messages in thread
From: Mike Brown @ 2001-02-25 17:58 UTC (permalink / raw)
  To: Alan Cox; +Cc: A E Lawrence, ian, mhaque, adilger, linux-kernel

On Sat, 24 Feb 2001, Alan Cox wrote:

>> I have seen similar problems on stock 2.4.2 a machine which has not run
>> 2.4.1.
>
>What disk controllers ? We really need that sort of info in order to see the
>pattern in the odd reports of corruption we get
>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at  http://www.tux.org/lkml/
>

I also just ran into the ext2 bug:

Feb 25 06:27:05 morpheus kernel: EXT2-fs error (device ide0(3,1)):
ext2_readdir:
 directory #881700 contains a hole at offset 0
Feb 25 06:27:05 morpheus kernel: Remounting filesystem read-only

I had been running 2.4.1 before upgrading to 2.4.2.  My machine had been
up with 2.4.1 for 13 days, then i added a system fan, then it was up for
another 8 days after that with no problems.

Up with 2.4.2 for about a day and I ran into the above ext2 error.  I also
have the VIA Apollo chipset:

00:07.1 IDE interface: VIA Technologies, Inc. VT82C586 IDE [Apollo] (rev 10) (prog-if 8a [Master SecP PriP])
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 set
        Region 4: I/O ports at d000 [size=16]
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- AuxPwr- DSI- D1- D2- PME-
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

Also, during boot phase I had been manually running:

/sbin/hdparm -d1 /dev/hda

To turn on DMA on my primary disk since the 2.2.x series didn't turn this
on by default.  /dev/hda is a Western Digital:

Feb 25 12:35:37 morpheus kernel: hda: WDC WD273BA, ATA DISK drive
Feb 25 12:35:37 morpheus kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Feb 25 12:35:37 morpheus kernel: hda: 53464320 sectors (27374 MB) w/1961KiB Cache, CHS=3328/255/63


Let me know if there is any other information I can provide.  I also have
a notebook which as been running 2.4.2 without trouble for a few days.
This notebook has an Intel IDE controller.  Seems to me like this is a VIA
Apollo bug......  Thanks.


-Michael F. Brown, UMass Lowell Computer Science

phone:  (978) 934-5354
email:  mbrown@cs.uml.edu

int *x; while (1) { x = (int *) malloc (sizeof (int)); }


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

* Re: EXT2-fs error
  2001-02-24 23:08         ` A E Lawrence
@ 2001-02-25 20:52           ` A E Lawrence
  2001-02-25 13:53             ` John Heil
  0 siblings, 1 reply; 19+ messages in thread
From: A E Lawrence @ 2001-02-25 20:52 UTC (permalink / raw)
  To: Alan Cox, ian, mhaque, adilger, linux-kernel

A E Lawrence wrote:
> 
> A E Lawrence wrote:
> >
> > Alan Cox wrote:
> > >
> > > > I have seen similar problems on stock 2.4.2 a machine which has not run
> > > > 2.4.1.
> > >
> > > What disk controllers ? We really need that sort of info in order to see the
> > > pattern in the odd reports of corruption we get
> 
> Problems have just started to show up under 2.2.18, so it is likely that
> the hardware has become flakey. Bit of a coincidence, unless it is a
> side effect of upgrading one of the packages for 2.4.2 :-( or a damaged
> library.
> 
> So you had better discount this report. Apologies.

Now investigated: the hardware has not changed. Rather the corruption
under 2.2.18 only happens when hdparm -d1 is executed. I guess that is
well reported, but I had forgotten if I ever knew :-(

In contrast 2.4.2 corruptions happen whether dma is explicitly turned on
by hdparm or not.

[IDE interface: VIA Technologies, Inc. VT82C586 IDE [Apollo] (rev 10)]

ael
-- 
A E Lawrence

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

* EXT2-fs error
@ 2001-03-30  3:06 khromy
  2001-03-30  6:57 ` Rogier Wolff
  2001-03-30 13:49 ` Dale E Martin
  0 siblings, 2 replies; 19+ messages in thread
From: khromy @ 2001-03-30  3:06 UTC (permalink / raw)
  To: linux-kernel

Linux vingeren.girl 2.4.3-pre7 #5 Mon Mar 26 23:33:59 EST 2001 i686 unknown

EXT2-fs error (device ide2(33,3)): ext2_free_blocks: bit already cleared for block 1048576
EXT2-fs error (device ide2(33,3)): ext2_free_blocks: bit already cleared for block 1048576

^
I got the following while rm -rf'ing my mozilla cvs checkout.  Deadly or not deadly?

-- 
L1:	khromy		;khromy(at)khromy.lnuxlab.net

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

* Re: EXT2-fs error
  2001-03-30  3:06 khromy
@ 2001-03-30  6:57 ` Rogier Wolff
  2001-04-02 23:13   ` Alan Cox
  2001-03-30 13:49 ` Dale E Martin
  1 sibling, 1 reply; 19+ messages in thread
From: Rogier Wolff @ 2001-03-30  6:57 UTC (permalink / raw)
  To: khromy; +Cc: linux-kernel

khromy wrote:
> Linux vingeren.girl 2.4.3-pre7 #5 Mon Mar 26 23:33:59 EST 2001 i686 unknown
> 
> EXT2-fs error (device ide2(33,3)): ext2_free_blocks: bit already cleared for block 1048576
> EXT2-fs error (device ide2(33,3)): ext2_free_blocks: bit already cleared for block 1048576
> 
> ^
> I got the following while rm -rf'ing my mozilla cvs checkout.  Deadly or not deadly?

Highly deadly. 

Your disk is dropping bits, or, more likely, your RAM. This is very,
very bad.

Can you compile 100 kernes without error?

				Roger. 

-- 
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
* There are old pilots, and there are bold pilots. 
* There are also old, bald pilots. 

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

* Re: EXT2-fs error
  2001-03-30  3:06 khromy
  2001-03-30  6:57 ` Rogier Wolff
@ 2001-03-30 13:49 ` Dale E Martin
  1 sibling, 0 replies; 19+ messages in thread
From: Dale E Martin @ 2001-03-30 13:49 UTC (permalink / raw)
  To: khromy; +Cc: linux-kernel

> Linux vingeren.girl 2.4.3-pre7 #5 Mon Mar 26 23:33:59 EST 2001 i686 unknown
> 
> EXT2-fs error (device ide2(33,3)): ext2_free_blocks: bit already cleared for block 1048576
> EXT2-fs error (device ide2(33,3)): ext2_free_blocks: bit already cleared for block 1048576
> 
> ^
> I got the following while rm -rf'ing my mozilla cvs checkout.  Deadly or not deadly?

Are you running with a Buslogic SCSI card?  2.4.x (x < 3 - pre something)
has a problem with them.  I was seeing exactly these sorts of errors before
I went to 2.4.3 pre-8.

Later,
	Dale
-- 
Dale E. Martin, Clifton Labs, Inc.
Senior Computer Engineer
dmartin@cliftonlabs.com
http://www.cliftonlabs.com
pgp key available

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

* Re: EXT2-fs error
  2001-03-30  6:57 ` Rogier Wolff
@ 2001-04-02 23:13   ` Alan Cox
  0 siblings, 0 replies; 19+ messages in thread
From: Alan Cox @ 2001-04-02 23:13 UTC (permalink / raw)
  To: Rogier Wolff; +Cc: khromy, linux-kernel

> > I got the following while rm -rf'ing my mozilla cvs checkout.  Deadly or not deadly?
> 
> Highly deadly. 
> 
> Your disk is dropping bits, or, more likely, your RAM. This is very,
> very bad.

if it was 2.2 I'd believe it. 2.4 is still showing these kind of problems in
software on many VIA chipset athlon boards and under extreme loads on other
boxes too.

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

end of thread, other threads:[~2001-04-02 23:12 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-23 19:12 EXT2-fs error Ian Wehrman
2001-02-23 11:46 ` John Heil
2001-02-23 19:26 ` Alan Cox
2001-02-23 11:50   ` John Heil
2001-02-24 11:02   ` A E Lawrence
2001-02-24 16:59     ` Alan Cox
2001-02-24 22:30       ` A E Lawrence
2001-02-24 23:08         ` A E Lawrence
2001-02-25 20:52           ` A E Lawrence
2001-02-25 13:53             ` John Heil
2001-02-25 17:58       ` Mike Brown
  -- strict thread matches above, loose matches on Subject: below --
2001-03-30  3:06 khromy
2001-03-30  6:57 ` Rogier Wolff
2001-04-02 23:13   ` Alan Cox
2001-03-30 13:49 ` Dale E Martin
2001-02-22  7:02 Mohammad A. Haque
2001-02-22  8:10 ` Andreas Dilger
2001-02-22 14:58   ` Mohammad A. Haque
2000-12-06 21:50 Ext2-fs error mkloppstech

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