Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Linux 2.4.18 vs. alphas with symbios SCSI cards
@ 2002-03-24  6:17 Stephen Williams
  2002-03-24 16:51 ` Michal Jaegermann
  0 siblings, 1 reply; 10+ messages in thread
From: Stephen Williams @ 2002-03-24  6:17 UTC (permalink / raw)
  To: axp-list

After my recent calamity with a power failure, I have suspicions that
part of the reason I lost the /usr partition was the 2.4.18 kernel I
was running. In particular, I found that fsck under 2.4.18 seems to
manufacture more errors then really existed. It wound up trashing the
/usr partition, which was relatively large.

I come to this conclusion from some trial and error. I was able to
patch the remains of /usr back together with fsck under the RedHat
2.4.3-12 kernel, even when fsck under 2.4.18 was giving unreasonable
errors. (I killed the fsck when it started looking really bad.)

One significant difference is that the 2.4.18 kernel has a new driver
for the Symbios SCSI controller (I have an Intraserver card, which is
based on the chipset) but since it ran for a reasonably long time before
the crash without troubles, I doubt that. (The crash was caused by a
power failure.)

So I'm wondering if there is something specific to fsck's requirements
that is causing the stock 2.4.18 kernel to exhibit a bug. It's all
pretty subtle, I'm not even certain its real, but I haven't seen any
error accessing the disk, just broken contents, especially after an
fsck gone wrong.

So I guess I'm wondering if there are any known problems with the
2.4.18 kernel on alpha and the symbios driver therein.

-- 
Steve Williams                "The woods are lovely, dark and deep.
steve at icarus.com           But I have promises to keep,
steve at picturel.com         and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."

abuse@xo.com
uce@ftc.gov





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

* Re: Linux 2.4.18 vs. alphas with symbios SCSI cards
  2002-03-24  6:17 Linux 2.4.18 vs. alphas with symbios SCSI cards Stephen Williams
@ 2002-03-24 16:51 ` Michal Jaegermann
  0 siblings, 0 replies; 10+ messages in thread
From: Michal Jaegermann @ 2002-03-24 16:51 UTC (permalink / raw)
  To: axp-list

On Sat, Mar 23, 2002 at 10:17:26PM -0800, Stephen Williams wrote:
> 
> I come to this conclusion from some trial and error. I was able to
> patch the remains of /usr back together with fsck under the RedHat
> 2.4.3-12 kernel,

To be sure fsck is not a part a kernel.

> One significant difference is that the 2.4.18 kernel has a new driver
> for the Symbios SCSI controller

It is not likely that your problems lie there.  I was testing this
driver (sym2) for quite a while both on Alpha and Intel and neither
I have any complaints nor I recall any other reports of failure.  You
have a Google provided interface to linux-kernel archives and you can
quickly check that yourself.

IDE code could be a more likely candidate here but you are not using
that.

> So I'm wondering if there is something specific to fsck's requirements
> that is causing the stock 2.4.18 kernel to exhibit a bug.

There are "Current Minimal Requirements" on some elements of a user
space listed in Documenation/Changes of your kernel sources.  I assume
that all these are satisfied in your case?  They differ with kernel
versions.

> It's all
> pretty subtle, I'm not even certain its real, but I haven't seen any
> error accessing the disk, just broken contents, especially after an
> fsck gone wrong.

Although ext2 is pretty robust there are no guarantees that a file
system will survive a power failure or other similar violent incidents.
Incidents like that do happen.  Even journaling does not gives you
absolute certainity (and may have other "interesting" failure modes on
its own :-).  Yes, really messed up file system is not a pretty sight.

  Michal




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

* RE: Linux 2.4.18 vs. alphas with symbios SCSI cards
@ 2002-03-25 12:45 Heid Oliver
  2002-03-25 14:56 ` Michal Jaegermann
  0 siblings, 1 reply; 10+ messages in thread
From: Heid Oliver @ 2002-03-25 12:45 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

I got the impression during recent power failures on two machines
(2.4.19-pre kernels, one
with a qlogic, one with a symbios controller) that fsck from the RH7.1
update e2fsprogs
package (e2fsprogs-1.23 AFAIR) destroyed the filesystems. I now use the
original
e2fsprogs-1.19-5 again, and had no problems so far.
	Oliver

> -----Original Message-----
> From:	Michal Jaegermann [SMTP:michal@ellpspace.math.ualberta.ca]
> Sent:	Sunday, March 24, 2002 5:52 PM
> To:	axp-list@redhat.com
> Subject:	Re: Linux 2.4.18 vs. alphas with symbios SCSI cards
> 
> On Sat, Mar 23, 2002 at 10:17:26PM -0800, Stephen Williams wrote:
> > 
> > I come to this conclusion from some trial and error. I was able to
> > patch the remains of /usr back together with fsck under the RedHat
> > 2.4.3-12 kernel,
> 
> To be sure fsck is not a part a kernel.
> 
> > One significant difference is that the 2.4.18 kernel has a new driver
> > for the Symbios SCSI controller
> 
> It is not likely that your problems lie there.  I was testing this
> driver (sym2) for quite a while both on Alpha and Intel and neither
> I have any complaints nor I recall any other reports of failure.  You
> have a Google provided interface to linux-kernel archives and you can
> quickly check that yourself.
> 
> IDE code could be a more likely candidate here but you are not using
> that.
> 
> > So I'm wondering if there is something specific to fsck's requirements
> > that is causing the stock 2.4.18 kernel to exhibit a bug.
> 
> There are "Current Minimal Requirements" on some elements of a user
> space listed in Documenation/Changes of your kernel sources.  I assume
> that all these are satisfied in your case?  They differ with kernel
> versions.
> 
> > It's all
> > pretty subtle, I'm not even certain its real, but I haven't seen any
> > error accessing the disk, just broken contents, especially after an
> > fsck gone wrong.
> 
> Although ext2 is pretty robust there are no guarantees that a file
> system will survive a power failure or other similar violent incidents.
> Incidents like that do happen.  Even journaling does not gives you
> absolute certainity (and may have other "interesting" failure modes on
> its own :-).  Yes, really messed up file system is not a pretty sight.
> 
>   Michal
> 
> 
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list




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

* Re: Linux 2.4.18 vs. alphas with symbios SCSI cards
  2002-03-25 12:45 Heid Oliver
@ 2002-03-25 14:56 ` Michal Jaegermann
  2002-03-25 16:20   ` Mathieu MILLET
  0 siblings, 1 reply; 10+ messages in thread
From: Michal Jaegermann @ 2002-03-25 14:56 UTC (permalink / raw)
  To: axp-list

On Mon, Mar 25, 2002 at 01:45:44PM +0100, Heid Oliver wrote:

> I got the impression during recent power failures on two machines
> (2.4.19-pre kernels, one
> with a qlogic, one with a symbios controller) that fsck from the RH7.1
> update e2fsprogs
> package (e2fsprogs-1.23 AFAIR) destroyed the filesystems. I now use the
> original
> e2fsprogs-1.19-5 again, and had no problems so far.

To be sure package from current updates to 7.1 is
e2fsprogs-1.26-1.71.alpha.rpm
If it has some hidden problems or not I do not know.  Did you report
your findings on bugzilla?

If somebody plans to work with ext3 then e2fsprogs-1.19 it is not
enough.

   Michal




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

* Re: Linux 2.4.18 vs. alphas with symbios SCSI cards
  2002-03-25 14:56 ` Michal Jaegermann
@ 2002-03-25 16:20   ` Mathieu MILLET
  2002-03-25 16:25     ` Stephen Williams
  2002-03-25 19:49     ` Michal Jaegermann
  0 siblings, 2 replies; 10+ messages in thread
From: Mathieu MILLET @ 2002-03-25 16:20 UTC (permalink / raw)
  To: axp-list

Quoting Michal Jaegermann <michal@ellpspace.math.ualberta.ca>:

> On Mon, Mar 25, 2002 at 01:45:44PM +0100, Heid Oliver wrote:
> 
> > I got the impression during recent power failures on two machines
> > (2.4.19-pre kernels, one
> > with a qlogic, one with a symbios controller) that fsck from the
> RH7.1
> > update e2fsprogs
> > package (e2fsprogs-1.23 AFAIR) destroyed the filesystems. I now use
> the
> > original
> > e2fsprogs-1.19-5 again, and had no problems so far.
> 
> To be sure package from current updates to 7.1 is
> e2fsprogs-1.26-1.71.alpha.rpm
> If it has some hidden problems or not I do not know.  Did you report
> your findings on bugzilla?
> 
> If somebody plans to work with ext3 then e2fsprogs-1.19 it is not
> enough.
> 
>    Michal

    Hi everyone,

I can confirm that there is a problem with e2fsprogs from RH7.1 updates.

I get a power failure. e2fsck couldn't fix 20 GB partitions formatted in ext3
but mounted for now in ext2 (it ends up with a segfault).

I decided to delete and recreate these partitions. Now mke2fs complains with
this error when I try format with the options -c and/or -j :

--
mke2fs: Attempt to write block from filesystem resulted in short write zeroing
block xxxxxx at end of filesystem
----
is xxxxxx relevant to you ?

I tried with partition size of 10 and 20 GB.

My kernel is 2.4.17. My box is based on a AlphaPC 164LX. My harddrive is an IBM
IDE 60 GB drive.

Thanks in advance for any help.

Sincerely yours, Mathieu.

--
Mathieu MILLET
mailto:htam@nerim.net
----




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

* Re: Linux 2.4.18 vs. alphas with symbios SCSI cards
  2002-03-25 16:20   ` Mathieu MILLET
@ 2002-03-25 16:25     ` Stephen Williams
  2002-03-25 16:45       ` Mathieu MILLET
  2002-03-25 19:49     ` Michal Jaegermann
  1 sibling, 1 reply; 10+ messages in thread
From: Stephen Williams @ 2002-03-25 16:25 UTC (permalink / raw)
  To: axp-list

htam@nerim.net said:
> mke2fs: Attempt to write block from filesystem resulted in short write
> zeroing block xxxxxx at end of filesystem 

I saw exactly that error when running non-RedHat kernels. When I
booted a RedHat kernel, it worked fine.
-- 
Steve Williams                "The woods are lovely, dark and deep.
steve at icarus.com           But I have promises to keep,
steve at picturel.com         and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."

abuse@xo.com
uce@ftc.gov





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

* Re: Linux 2.4.18 vs. alphas with symbios SCSI cards
  2002-03-25 16:25     ` Stephen Williams
@ 2002-03-25 16:45       ` Mathieu MILLET
  0 siblings, 0 replies; 10+ messages in thread
From: Mathieu MILLET @ 2002-03-25 16:45 UTC (permalink / raw)
  To: axp-list

Quoting Stephen Williams <steve@icarus.com>:
> 
> htam@nerim.net said:
> > mke2fs: Attempt to write block from filesystem resulted in short write
> > zeroing block xxxxxx at end of filesystem 
> 
> I saw exactly that error when running non-RedHat kernels. When I
> booted a RedHat kernel, it worked fine.

Thanks.

Could you manage to create ext3 partitions with stock RedHat kernels and then
booting a non-RH kernel, manage to mount these partitions in ext3 ? (I don't
want to redo this last experience by using an non-journalized filesystem).

Thanks in advance for your help, Mathieu.

--
Mathieu MILLET
mailto:htam@nerim.net
----




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

* Re: Linux 2.4.18 vs. alphas with symbios SCSI cards
  2002-03-25 16:20   ` Mathieu MILLET
  2002-03-25 16:25     ` Stephen Williams
@ 2002-03-25 19:49     ` Michal Jaegermann
  2002-03-25 19:59       ` Stephen Williams
  2002-03-25 20:16       ` Stephen Williams
  1 sibling, 2 replies; 10+ messages in thread
From: Michal Jaegermann @ 2002-03-25 19:49 UTC (permalink / raw)
  To: axp-list

On Mon, Mar 25, 2002 at 05:20:36PM +0100, Mathieu MILLET wrote:
> 
> I can confirm that there is a problem with e2fsprogs from RH7.1 updates.

So again - was this reported on bugzilla?

On http://e2fsprogs.sourceforge.net/ from March 8th there is a release
1.27 of e2fsprogs made, among other things, to fix bugs which affect
mips and Alpha.  I do not know if these fixes were incorporated in the
latest version from updates.

> --
> mke2fs: Attempt to write block from filesystem resulted in short write zeroing
> block xxxxxx at end of filesystem
> ----
> is xxxxxx relevant to you ?

This sounds like a problem with an access to the last block if a number
of blocks on a disk is odd.  That likely would be a kernel fault and not
a trouble with mke2fs.

   Michal




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

* Re: Linux 2.4.18 vs. alphas with symbios SCSI cards
  2002-03-25 19:49     ` Michal Jaegermann
@ 2002-03-25 19:59       ` Stephen Williams
  2002-03-25 20:16       ` Stephen Williams
  1 sibling, 0 replies; 10+ messages in thread
From: Stephen Williams @ 2002-03-25 19:59 UTC (permalink / raw)
  To: axp-list

> --
> mke2fs: Attempt to write block from filesystem resulted in short write zeroing
> block xxxxxx at end of filesystem
> ----


michal@ellpspace.math.ualberta.ca said:
> This sounds like a problem with an access to the last block if a
> number of blocks on a disk is odd.  That likely would be a kernel
> fault and not a trouble with mke2fs.

And the 2.4.18 kernel suffers from this fault.
-- 
Steve Williams                "The woods are lovely, dark and deep.
steve at icarus.com           But I have promises to keep,
steve at picturel.com         and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."

abuse@xo.com
uce@ftc.gov





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

* Re: Linux 2.4.18 vs. alphas with symbios SCSI cards
  2002-03-25 19:49     ` Michal Jaegermann
  2002-03-25 19:59       ` Stephen Williams
@ 2002-03-25 20:16       ` Stephen Williams
  1 sibling, 0 replies; 10+ messages in thread
From: Stephen Williams @ 2002-03-25 20:16 UTC (permalink / raw)
  To: axp-list

michal@ellpspace.math.ualberta.ca said:
> So again - was this reported on bugzilla? 

Would love to, but I'm not getting a password from the server.
-- 
Steve Williams                "The woods are lovely, dark and deep.
steve at icarus.com           But I have promises to keep,
steve at picturel.com         and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."

abuse@xo.com
uce@ftc.gov





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

end of thread, other threads:[~2002-03-25 20:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-24  6:17 Linux 2.4.18 vs. alphas with symbios SCSI cards Stephen Williams
2002-03-24 16:51 ` Michal Jaegermann
  -- strict thread matches above, loose matches on Subject: below --
2002-03-25 12:45 Heid Oliver
2002-03-25 14:56 ` Michal Jaegermann
2002-03-25 16:20   ` Mathieu MILLET
2002-03-25 16:25     ` Stephen Williams
2002-03-25 16:45       ` Mathieu MILLET
2002-03-25 19:49     ` Michal Jaegermann
2002-03-25 19:59       ` Stephen Williams
2002-03-25 20:16       ` Stephen Williams

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