Skip to contentSkip to conversation

The problem in installing the linux-2.6-xfs kernel

DISCUSSION hxsrmeng 3 participants 5 messages Sep 20, 2007

lore
Share & tools
lore

hxsrmeng

author
#0 lore raw

Hi,

When I do:
$/sbin/mkinitrd -k vmlinuz-2.6-xfs -i initrd-2.6-xfs

I got:
"
Filesystem modules:
WARNING: Couldn't open
directory /var/tmp/mkinitramfs.C23294/mnt/lib/modules/2.6.23-rc4: No
such file or directory
FATAL: Could not
open /var/tmp/mkinitramfs.C23294/mnt/lib/modules/2.6.23-rc4/modules.dep.temp for writing: No such file or directory "
So, does this mean it failed?

If I can still boot this kernel, are the file system features OK? Especially, I want to try XFS and "Concurrent Multi-File Data Streams".

Thanks in advance!

#1 lore raw
Quoted 4 lines · hxsrmeng

Hi,

When I do:
$/sbin/mkinitrd -k vmlinuz-2.6-xfs -i initrd-2.6-xfs

mkinitrd varies from distribution to distribution. I don't know what the -k and -i options do in your case.

But, this really isn't particularly on-topic for the xfs list... if you're having trouble installing a custom kernel, I'd suggest asking on a list more relevant to your distribution.

-Eric

Quoted 17 lines

I got:
"
Filesystem modules:
WARNING: Couldn't open
directory /var/tmp/mkinitramfs.C23294/mnt/lib/modules/2.6.23-rc4: No
such file or directory
FATAL: Could not
open /var/tmp/mkinitramfs.C23294/mnt/lib/modules/2.6.23-rc4/modules.dep.temp for writing: No such file or directory "
So, does this mean it failed?

If I can still boot this kernel, are the file system features OK? Especially, I want to try XFS and "Concurrent Multi-File Data Streams".

Thanks in advance!

author
#2 lore raw

Thanks.

I downloaded this distribution from the [email protected], and it is a XFS-relative kernel, so I think it should be OK for me to post this question here.

Also, as I mentioned, I am especially interested in playing with the XFS features and I am worrying whether this problem would stop me in doing that. I think the gurus who could answer this question should be here. .... Anyway, I am sorry if you think i post it to a wrong list.

Quoted 33 lines · Eric Sandeen
Quoted 4 lines · hxsrmeng

Hi,

When I do:
$/sbin/mkinitrd -k vmlinuz-2.6-xfs -i initrd-2.6-xfs

mkinitrd varies from distribution to distribution. I don't know what the -k and -i options do in your case.

But, this really isn't particularly on-topic for the xfs list... if you're having trouble installing a custom kernel, I'd suggest asking on a list more relevant to your distribution.

-Eric

Quoted 17 lines

I got:
"
Filesystem modules:
WARNING: Couldn't open
directory /var/tmp/mkinitramfs.C23294/mnt/lib/modules/2.6.23-rc4: No
such file or directory
FATAL: Could not
open /var/tmp/mkinitramfs.C23294/mnt/lib/modules/2.6.23-rc4/modules.dep.temp for writing: No such file or directory "
So, does this mean it failed?

If I can still boot this kernel, are the file system features OK? Especially, I want to try XFS and "Concurrent Multi-File Data Streams".

Thanks in advance!

#3 lore raw
Quoted 5 lines · hxsrmeng

Thanks.

I downloaded this distribution from the [email protected], and it is a XFS-relative kernel, so I think it should be OK for me to post this question here.

I am talking about the gnu/linux OS distribution that already exists on your computer (debian, red hat, mandrake, suse, ubuntu whatever). How you install a new kernel, particularly how you make an initrd, is somewhat specific to that distribution, not to the kernel itself. In other words, mkinitrd failures are not xfs related.

Quoted 4 lines

Also, as I mentioned, I am especially interested in playing with the XFS features and I am worrying whether this problem would stop me in doing that. I think the gurus who could answer this question should be here. .... Anyway, I am sorry if you think i post it to a wrong list.

If you can't boot and can't load xfs, it won't work. If you can, it will.

-Eric

#4 lore raw
In reply to hxsrmeng

Hi hxsrmeng,

Quoted 5 lines · hxsrmeng

Hi,

When I do:
$/sbin/mkinitrd -k vmlinuz-2.6-xfs -i initrd-2.6-xfs

Quoted 10 lines

I got:
"
Filesystem modules:
WARNING: Couldn't open
directory /var/tmp/mkinitramfs.C23294/mnt/lib/modules/2.6.23-rc4: No
such file or directory
FATAL: Could not
open /var/tmp/mkinitramfs.C23294/mnt/lib/modules/2.6.23-rc4/modules.dep.temp for writing: No such file or directory "
So, does this mean it failed?

Look's like your mkinitrd can't handle the way the kernel-version is set -> no working initrd is created.

Quoted 2 lines

If I can still boot this kernel, are the file system features OK?

If you don't need special modules loaded on boot from the initrd, it should be OK. If not, don't build needed drivers and features as modules.

Quoted 5 lines

Especially, I want to try XFS and "Concurrent Multi-File Data Streams".

Thanks in advance!

as Eric stated, quite off-topic and very very little info ...

- did you do a make modules_install ?
- where the modules copied to /lib/modules/2.6.23-rc4 ?
- what distro are you using, mkinitrd is totally different by distro and version!
- is your box running out of diskspace ?
- are there special settings in the distros kernel-sources Makefile ?

If you don't know answers to these questions, you'd rather use the distros kernel than trying to kernels from other sources ;-).

On SuSE -k list the kernel to use and -i the initrd to create, RedHat ( for ex. ) is totally different AFAiK!

Perhaps the maintainer of your mkinitrd can help you further.

Signature · 8 lines
Mit freundlichen Grüssen / best regards

Klaus Strebel, Dipl.-Inform. (FH), mailto:[email protected]

/"\
\ /     ASCII RIBBON CAMPAIGN
 X        AGAINST HTML MAIL
/ \