linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* I/O errors in -test7-mm1 tree on ia64
@ 2003-10-16 18:55 Jesse Barnes
  2003-10-16 19:49 ` William Lee Irwin III
  0 siblings, 1 reply; 6+ messages in thread
From: Jesse Barnes @ 2003-10-16 18:55 UTC (permalink / raw)
  To: akpm, linux-kernel

I just compiled and booted -test7-mm1 on an Altix (I needed to create an
empty include/asm-ia64/kgdb.h to get tg3.c to compile), but I'm getting
the following errors after starting init:

NET: Registered protocol family 17
XFS mounting filesystem sdb6
VFS: Mounted root (xfs filesystem) readonly.
Freeing unused kernel memory: 432kB freed
INIT: version 2.78 booting
                        Welcome to SGI ProPack(TM) for Linux(R)
                Press 'I' to enter interactive startup.
Mounting proc filesystem:  [  OK  ]
Configuring kernel parameters:  [  OK  ]
Setting clock  (utc): Thu Oct 16 11:22:35 PDT 2003 [  OK  ]
Setting hostname margin.engr.sgi.com:  [  OK  ]
Checking root filesystem
[/sbin/fsck.xfs (1) -- /] fsck.xfs -a /dev/sdb6
[  OK  ]
Remounting root filesystem in read-write mode:  [  OK  ]
I/O error in filesystem ("sdb6") meta-data dev sdb6 block 0x7d090e       ("xlog_iodone") error 5 buf count 32768
Filesystem "sdb6": Log I/O Error Detected.  Shutting down filesystem: sdb6
Please umount the filesystem, and rectify the problem(s)
can't link lock file /etc/mtab~: Input/output error (use -n flag to override)
INIT: can't open(/etc/ioctl.save, O_WRONLY): Input/output error
INIT: can't open(/etc/ioctl.save, O_WRONLY): Input/output error
INIT: Entering runlevel: 3
INIT: cannot execute "/etc/rc.d/rc"
INIT: cannot execute "/sbin/agetty"
INIT: cannot execute "/sbin/agetty"

I don't see this when using Linus' BK tree as of a few minutes ago, and
the only changes I've made are adding the kgdb.h for ia64 and adding in
the Altix console driver.  Any ideas?  I'll try reverting some patches
and looking around a bit more.

Thanks,
Jesse

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

* Re: I/O errors in -test7-mm1 tree on ia64
  2003-10-16 18:55 I/O errors in -test7-mm1 tree on ia64 Jesse Barnes
@ 2003-10-16 19:49 ` William Lee Irwin III
  2003-10-16 20:46   ` Jesse Barnes
  0 siblings, 1 reply; 6+ messages in thread
From: William Lee Irwin III @ 2003-10-16 19:49 UTC (permalink / raw)
  To: jbarnes, akpm, linux-kernel

On Thu, Oct 16, 2003 at 11:55:05AM -0700, Jesse Barnes wrote:
> I don't see this when using Linus' BK tree as of a few minutes ago, and
> the only changes I've made are adding the kgdb.h for ia64 and adding in
> the Altix console driver.  Any ideas?  I'll try reverting some patches
> and looking around a bit more.

Well, the first thing to try is backing out invalidate_inodes-speedup.patch


-- wli

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

* Re: I/O errors in -test7-mm1 tree on ia64
  2003-10-16 19:49 ` William Lee Irwin III
@ 2003-10-16 20:46   ` Jesse Barnes
  2003-10-17 10:12     ` Jens Axboe
  0 siblings, 1 reply; 6+ messages in thread
From: Jesse Barnes @ 2003-10-16 20:46 UTC (permalink / raw)
  To: William Lee Irwin III, akpm, linux-kernel

On Thu, Oct 16, 2003 at 12:49:34PM -0700, William Lee Irwin III wrote:
> On Thu, Oct 16, 2003 at 11:55:05AM -0700, Jesse Barnes wrote:
> > I don't see this when using Linus' BK tree as of a few minutes ago, and
> > the only changes I've made are adding the kgdb.h for ia64 and adding in
> > the Altix console driver.  Any ideas?  I'll try reverting some patches
> > and looking around a bit more.
> 
> Well, the first thing to try is backing out invalidate_inodes-speedup.patch

That didn't seem to help.  Got the same errors.

Jesse

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

* Re: I/O errors in -test7-mm1 tree on ia64
  2003-10-16 20:46   ` Jesse Barnes
@ 2003-10-17 10:12     ` Jens Axboe
  2003-10-17 10:13       ` Jens Axboe
  0 siblings, 1 reply; 6+ messages in thread
From: Jens Axboe @ 2003-10-17 10:12 UTC (permalink / raw)
  To: William Lee Irwin III, akpm, linux-kernel

On Thu, Oct 16 2003, Jesse Barnes wrote:
> On Thu, Oct 16, 2003 at 12:49:34PM -0700, William Lee Irwin III wrote:
> > On Thu, Oct 16, 2003 at 11:55:05AM -0700, Jesse Barnes wrote:
> > > I don't see this when using Linus' BK tree as of a few minutes ago, and
> > > the only changes I've made are adding the kgdb.h for ia64 and adding in
> > > the Altix console driver.  Any ideas?  I'll try reverting some patches
> > > and looking around a bit more.
> > 
> > Well, the first thing to try is backing out invalidate_inodes-speedup.patch
> 
> That didn't seem to help.  Got the same errors.

--- fs/xfs/pagebuf/page_buf.c	2003-10-17 12:11:30.000000000 +0200
+++ fs/xfs/pagebuf/page_buf.c~	2003-10-17 12:11:19.000000000 +0200
@@ -1406,10 +1406,8 @@
 		int cmd = WRITE;
 		if (pb->pb_flags & PBF_READ)
 			cmd = READ;
-#if 0
 		else if (pb->pb_flags & PBF_FLUSH)
 			cmd = WRITESYNC;
-#endif
 		submit_bio(cmd, bio);
 		if (size)
 			goto next_chunk;

it was a mistake to enable barriers unconditionally on XFS when it has
no fallback logic. If you apply the above on test7-mm1, it should work
fine for you.

-- 
Jens Axboe


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

* Re: I/O errors in -test7-mm1 tree on ia64
  2003-10-17 10:12     ` Jens Axboe
@ 2003-10-17 10:13       ` Jens Axboe
  2003-10-17 22:15         ` Jesse Barnes
  0 siblings, 1 reply; 6+ messages in thread
From: Jens Axboe @ 2003-10-17 10:13 UTC (permalink / raw)
  To: William Lee Irwin III, akpm, linux-kernel

On Fri, Oct 17 2003, Jens Axboe wrote:
> On Thu, Oct 16 2003, Jesse Barnes wrote:
> > On Thu, Oct 16, 2003 at 12:49:34PM -0700, William Lee Irwin III wrote:
> > > On Thu, Oct 16, 2003 at 11:55:05AM -0700, Jesse Barnes wrote:
> > > > I don't see this when using Linus' BK tree as of a few minutes ago, and
> > > > the only changes I've made are adding the kgdb.h for ia64 and adding in
> > > > the Altix console driver.  Any ideas?  I'll try reverting some patches
> > > > and looking around a bit more.
> > > 
> > > Well, the first thing to try is backing out invalidate_inodes-speedup.patch
> > 
> > That didn't seem to help.  Got the same errors.
> 
> --- fs/xfs/pagebuf/page_buf.c	2003-10-17 12:11:30.000000000 +0200
> +++ fs/xfs/pagebuf/page_buf.c~	2003-10-17 12:11:19.000000000 +0200
> @@ -1406,10 +1406,8 @@
>  		int cmd = WRITE;
>  		if (pb->pb_flags & PBF_READ)
>  			cmd = READ;
> -#if 0
>  		else if (pb->pb_flags & PBF_FLUSH)
>  			cmd = WRITESYNC;
> -#endif
>  		submit_bio(cmd, bio);
>  		if (size)
>  			goto next_chunk;
> 
> it was a mistake to enable barriers unconditionally on XFS when it has
> no fallback logic. If you apply the above on test7-mm1, it should work
> fine for you.

Patch is reversed, you need to use -R. Funky.

-- 
Jens Axboe


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

* Re: I/O errors in -test7-mm1 tree on ia64
  2003-10-17 10:13       ` Jens Axboe
@ 2003-10-17 22:15         ` Jesse Barnes
  0 siblings, 0 replies; 6+ messages in thread
From: Jesse Barnes @ 2003-10-17 22:15 UTC (permalink / raw)
  To: Jens Axboe; +Cc: William Lee Irwin III, akpm, linux-kernel

On Fri, Oct 17, 2003 at 12:13:57PM +0200, Jens Axboe wrote:
> > --- fs/xfs/pagebuf/page_buf.c	2003-10-17 12:11:30.000000000 +0200
> > +++ fs/xfs/pagebuf/page_buf.c~	2003-10-17 12:11:19.000000000 +0200
> > @@ -1406,10 +1406,8 @@
> >  		int cmd = WRITE;
> >  		if (pb->pb_flags & PBF_READ)
> >  			cmd = READ;
> > -#if 0
> >  		else if (pb->pb_flags & PBF_FLUSH)
> >  			cmd = WRITESYNC;
> > -#endif
> >  		submit_bio(cmd, bio);
> >  		if (size)
> >  			goto next_chunk;
> > 
> > it was a mistake to enable barriers unconditionally on XFS when it has
> > no fallback logic. If you apply the above on test7-mm1, it should work
> > fine for you.
> 
> Patch is reversed, you need to use -R. Funky.

That did the trick.  Thanks.

Jesse

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

end of thread, other threads:[~2003-10-17 22:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-16 18:55 I/O errors in -test7-mm1 tree on ia64 Jesse Barnes
2003-10-16 19:49 ` William Lee Irwin III
2003-10-16 20:46   ` Jesse Barnes
2003-10-17 10:12     ` Jens Axboe
2003-10-17 10:13       ` Jens Axboe
2003-10-17 22:15         ` Jesse Barnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).