xfs
[Top] [All Lists]

Re: RedHat 7.0 - unbootable

To: linux-xfs@xxxxxxxxxxx
Subject: Re: RedHat 7.0 - unbootable
From: utz@xxxxxxxxxx
Date: Sat, 30 Sep 2000 23:40:17 +0200
In-reply-to: <20000930233527.A926@xxxxxxxxxx>
References: <4.3.2.7.2.20000929114015.02aec2e0@xxxxxxxxxxxxx> <5344.970278363@xxxxxxxxxxxx> <20000930233527.A926@xxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
sorry forgot the attachments...


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

Attachment: ls.strace-2.2.16-22.gz
Description: Binary data

Attachment: ls.strace-2.4.0-test5-xfs-20000817.gz
Description: Binary data

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