2002-09-09 02:11:26

by Seaman Hu

[permalink] [raw]
Subject: ext3 fs boot crash [2.4.18-18]

Platform Info:

/dev/sda1 /boot ext3
/dev/sda2 / ext3
Kernel version: 2.4.18-17

Problem:
My system has initrd which contains some modules about
scsi,ext3,etc. During the boot sequence, my system
will crash sometimes(about five times crash once) when
it creates "/boot/kernel.h". Examining fs/namei.c
open_namei(), In failure turn, I found after
path_lookup(), vfs_create() will be called. however,
in vfs_create(), ext2_create() instead of
ext3_create() will be called. While in successful
turn, vfs_create() will not be called.

At the same time, I printed out inode infomation(boot
inode) after path_lookup. "after path_lookup().
nd->dentry->d_inode->i_dev:[256],
nd->dentry->d_inode->i_sb->s_dev:[2049]". here, i_dev:
(1,0) /dev/ram0 while s_dev:(8,1) /dev/sda1. why there
is inconsistent info in inode(boot inode) ?

any comments? thanks very much in advance.


Seaman



__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com


2002-09-09 11:03:37

by Stephen C. Tweedie

[permalink] [raw]
Subject: Re: ext3 fs boot crash [2.4.18-18]

Hi,

On Sun, Sep 08, 2002 at 07:16:04PM -0700, Seaman Hu wrote:

> My system has initrd which contains some modules about
> scsi,ext3,etc. During the boot sequence, my system
> will crash sometimes(about five times crash once) when
> it creates "/boot/kernel.h".

What does the crash look like when it happens?

--Stephen