xfs
[Top] [All Lists]

Re: XFS and Kernel 2.4.2

To: GCS <gcs@xxxxxxxxxxxxxxxx>
Subject: Re: XFS and Kernel 2.4.2
From: Russell Cattelan <cattelan@xxxxxxxxxxx>
Date: Mon, 26 Feb 2001 11:06:30 -0500
Cc: linux-xfs@xxxxxxxxxxx
References: <20010225021253.A1518@xxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
GCS wrote:

> Hello all,
>
> Anyone could make XFS with the newest kernel (2.4.2)? I tried, but the module
> support is broken. All of the modules give me unresolved symbols (even very
> basic ones like printk()).

Did you use "make  install" to install the kernel?
If not make sure you copy the file "System.map" to the /boot directory
eg.
bble[10:04am]-=>ls -l /boot/System.map*
lrwxrwxrwx    1 root     root           20 Feb 23 16:56 /boot/System.map ->
System.map-2.4.2-XFS
-rw-r--r--    1 root     root       398588 Feb 21 06:07 
/boot/System.map-2.4.1-22mdk
-rw-r--r--    1 root     root       414222 Feb 21 05:51 
/boot/System.map-2.4.1-22mdksmp
-rw-r--r--    1 root     root       441506 Feb 15 19:25 
/boot/System.map-2.4.1-XFS
-rw-rw-r--    1 root     root       434153 Feb 14 19:40 
/boot/System.map-2.4.1-XFS.old
-rw-r--r--    1 root     root       442350 Feb 23 16:53 
/boot/System.map-2.4.2-XFS
-rw-r--r--    1 root     root       442286 Feb 22 17:40 
/boot/System.map-2.4.2-XFS.old


>

> Ok, I said compile everything into the kernel, and
> so I did. I have support for XFS, but I can not use it. When I create the
> filesystem on /dev/fd0 I get:
> mkfs.xfs: warning - cannot set blocksize on block device /dev/fd0: Invalid 
> argument
> meta-data=/dev/fd0               isize=256    agcount=1, agsize=4096 blks
> data     =                       bsize=4096   blocks=360, imaxpct=25
>          =                       sunit=0      swidth=0 blks, unwritten=0
> naming   =version 2              bsize=4096
> log      =internal log           bsize=4096   blocks=1200
> realtime =none                   extsz=65536  blocks=0, rtextents=0
> mkfs.xfs: device_zero write failed: Invalid argument
>
> The last line should be a crash, as I can not mount the floppy, the good old
> message (mount: wrong fs type, ...) shows up. Check with xfs_repair:
> xfs_repair: warning - cannot set blocksize on block device /dev/fd0: Invalid 
> argument
> Phase 1 - find and verify superblock...
> bad primary superblock - filesystem mkfs-in-progress bit set !!!
>
> attempting to find secondary superblock...
> .Sorry, could not find valid secondary superblock
> Exiting now.
>
> So mkfs crash in the middle of the creation. Any workaround maybe?
> Thanks, Laszlo

--
Russell Cattelan
--
Digital Elves inc. -- Currently on loan to SGI
Linux XFS core developer.




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