xfs
[Top] [All Lists]

Re: RedHat 7.0 - unbootable

To: Thomas Graichen <news-innominate.list.sgi.xfs@xxxxxxxxxxxxx>
Subject: Re: RedHat 7.0 - unbootable
From: xfs@xxxxxxxxxx
Date: Sun, 1 Oct 2000 02:27:27 +0200
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <news2mail-8r5vbh$p1v$4@mate.bln.innominate.de>
References: <4.3.2.7.2.20000929114015.02aec2e0@pop.xs4all.nl> <5344.970278363@ocs3.ocs-net> <20000930233527.A926@s2y4n2c.de> <news2mail-8r5vbh$p1v$4@mate.bln.innominate.de>
Sender: owner-linux-xfs@xxxxxxxxxxx
hi

i just checked it with a vanila 2.4.0-test5. it works.

open("/", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 4
fstat64(4, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = -1 ENOSYS (Function not
implemented)
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0

seems that the xfs patch does something wrong.
or the new glibc is not fault tolerant enough. i made the ls test with my
redhat 6.2 installation on a xfs root partition. fcntl64 is not used.

open("/", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 4
fstat(4, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
brk(0x8068000)                          = 0x8068000


i just make a complete cvs checkout and will test the newest xfs kernel.

utz

btw: thanks to sgi for porting xfs to linux. i know it from irix. best
filesystem i know.



Thomas Graichen [news-innominate.list.sgi.xfs@xxxxxxxxxxxxx] wrote:
> i think a good idea would also be to compare clean 2.4.0-test5/8 and
> the xfs tree - maybe it is not really an xfs issuse and more an
> "redhat adds dozens of patches to its kernel" thing? - maybe
> the same problem also exists with clean 2.4.0 ... just an
> idea - maybe someone can try it out (have myself no 7.0
> set up so far to test it)
> 
> t
> 
> utz lehmann <xfs@xxxxxxxxxx> wrote:
> > hello
> 
> > redhat 7.0 ist unbootable with my xfs kernel (old one, cvs from 2000-08-17,
> > compiled on redhat 6.2) with the same errors.
> > the redhat 7.0 installation is on a ext2 partition.
> 
> > i have bootet the original redhat 7.0 kernel (2.2.16-22) and the xfs kernel
> > (2.4.0-test5-xfs-20000817) with "init=/bin/bash" on lilo prompt. and done
> > following:
> 
> > mount -orw,remount /
> > strace -o ls.strace-`uname -r`
> 
> > i attached both strace outputs.
> 
> > i think the xfs kernel (all 2.4.0-test5 kernels?) returns the wrong error on
> > fstat64.
> 
> > original redhat 7.0 kernel:
> > [...]
> > open("/", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 4
> > fstat(4, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> > fcntl64(4, F_SETFD, FD_CLOEXEC)         = -1 ENOSYS (Function not
> > implemented)
> > fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
> > brk(0x8059000)                          = 0x8059000
> > [...]
> 
> > xfs kernel:
> > [...]
> > open("/", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 4
> > fstat64(4, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> > fcntl64(4, F_SETFD, FD_CLOEXEC)         = -1 EFAULT (Bad address)
> > close(4)                                = 0
> > write(2, "ls: ", 4)                     = 4
> > write(2, "/", 1)                        = 1
> > write(2, ": Bad address", 13)           = 13
> > write(2, "\n", 1)                       = 1
> > close(1)                                = 0
> > _exit(1)                                = ?
> 
> 
> 
> > hope that helps.
> 
> > utz lehmann
> 
> 
> -- 
> thomas.graichen@xxxxxxxxxxxxx
> technical director                                       innominate AG
> clustering & security                                networking people
> tel: +49.30.308806-13  fax: -77                   http://innominate.de

<Prev in Thread] Current Thread [Next in Thread>