xfs
[Top] [All Lists]

Re: latest xfs source does not build / crash when mounting floppy (auto)

To: cattelan@xxxxxxxxxxx
Subject: Re: latest xfs source does not build / crash when mounting floppy (auto)
From: Philipp Baer <ph_baer@xxxxxxx>
Date: Tue, 18 Apr 2000 11:03:41 +0200
Cc: linux-xfs@xxxxxxxxxxx
References: <Pine.SOL.4.10.10004171408240.3568-100000@ribbit.CS.Berkeley.EDU> <38FB812C.EAD536B7@sgi.com> <14587.35504.996144.26996Q@gibble.americas.sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
cattelan@xxxxxxxxxxx wrote:
> 
> At Mon, 17 Apr 2000 14:25:00 -0700,
> Rajagopal Ananthanarayanan <ananth@xxxxxxx> wrote:
> >
> >
> > Kip Macy wrote:
> > >
> > > make -C xfs modules
> > > make[2]: Entering directory 
> > > `/usr/src/SGI/checkout2/linux-2.3-xfs/linux/fs/xfs'
> > > gcc -D__KERNEL__ -I/usr/src/SGI/checkout2/linux-2.3-xfs/linux/include 
> > > -Wall -Wst
> > > rict-prototypes -O2 -pipe   -DCPU=686 -march=i686 -fno-strict-aliasing 
> > > -DMODULE
> > > -DMODVERSIONS -include 
> > > /usr/src/SGI/checkout2/linux-2.3-xfs/linux/include/linux/
> > > modversions.h -g3 -Wno-unused  -Wno-unknown-pragmas -Wno-parentheses 
> > > -Wno-uninit
> > > ialized -I./linux -I./pseudo-inc -I. -D_KERNEL -funsigned-char   
> > > -DEXPORT_SYMTAB
> > >  -c xfs_log_recover.c
> > > In file included from xfs_buf.h:47,
> > >                  from xfs_log_recover.c:46:
> > > pseudo-inc/sys/buf.h:331: conflicting types for `bread'
> > > /usr/src/SGI/checkout2/linux-2.3-xfs/linux/include/linux/fs.h:1046: 
> > > previous dec
> > > laration of `bread'
> > > pseudo-inc/sys/buf.h:339: conflicting types for `brelse'
> > > /usr/src/SGI/checkout2/linux-2.3-xfs/linux/include/linux/fs.h:1034: 
> > > previous dec
> > > laration of `brelse'
> >
> >
> > One workaround for this problem (until its fixed properly)
> > is to turn ON CONFIG_PAGE_BUF_META ...
> Actually CONFIG_PAGE_BUF_META is the correct thing to do anyways.
> We swatshed a couple more bugs in the pagebuf meta data path.
> 
> Support for buf_t metat data will be removed at some point.
> 
> I think I know where the problem started... I'll fix it.

Hi, I'm new to this mailinglist. I just started watching the
activities of this project, because it is really very annoying
to wait for an fsck to finish...!!! <g>

Yesterday, I checked out the current source-tree. After extracting
the XFS changes from linux-2.3-xfs and applying it to the
linux-2.3.99pre5 tree (and fixing some incompatibilities), I faced
the same problem mentioned above.


I think, this line caused the error:

--- xfs_os_defs.h ---
#ifdef NEED_FS_H
# include <linux/fs.h>
#endif
--- xfs_os_defs.h ---

When I undefine NEED_FS_H, the sources compile without any problems.
(bread() and brelse() are declared differently in fs.h (buffer_head))


As you can see in the subject line, there might be another (more or
less) critical problem: When I try to mount my floppy - the xfs-drivers
are compiled into the kernel - my system is halted (fstab: filesystem: 
auto).
I'll have to do this one more time to get the errormessage, but has
anybody seen this problem before?


So long,
ciao, phb <ph_baer@xxxxxxx>

Btw.:  Is anybody interested in the 2.3.99pre5-XFS-Patch? I am no
kernel-
  hacker/good programmer! I even don't know, if everything works, but it
  compiles... ;-)))


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