Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Support for Large Single Files in Linux 3.0?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
kdvgent
Guru
Guru


Joined: 29 Sep 2004
Posts: 352
Location: Belgium

PostPosted: Sun Aug 14, 2011 8:21 pm    Post subject: Support for Large Single Files in Linux 3.0? Reply with quote

Tried today to install gentoo on my computer (done this already various times on this and other computers).

Worked with gentoo-sources-3.0.1 and the root partition has an ext4 filesystem. After configuring the kernel (based on Pappy's seed - of course with support for the ext4 filesystem), I rebooted and got a kernel panic with the message that the root partition could not be accessed because of unsupported optional features.

Searching the Internet, I learned that this error comes from the fact that I had not set CONFIG_LSF to yes in the kernel. Made that error already in the past, hence I thought that is easy - follow the ext4 article in the Gentoo wiki.

But if was unable to find under "Enable the block layer" (menuconfig) the option "Support for Large single files". It does not seem to be there any more. And no "CONFIG_LSF is not set" in my .config file neither.

Again searching the Internet, I found (http://cateee.net/lkddb/web-lkddb/LSF.html) that CONFIG_LSF existed in the linux versions 2.6.17 to 2.6.28. linux version 3.0 is not mentioned (although the website seems to be up to date as other parameters mention version 3.0.

My question: is this support for large single files now standard (then I do not see why I get the kernel panic), or can I find it somewhere else when using "make menuconfig". Or should I play save and start again, using ext3 for my root partition (I will never in the near or mid-term future have files bigger than 2 TB)?

At present, I have no access to the computer (hardware problem) and hence cannot provide additional information but I would love to have some hints for when my hardware problems are solved.

Many thanks in advance.
Back to top
View user's profile Send private message
rndusr
Guru
Guru


Joined: 04 Dec 2005
Posts: 392

PostPosted: Sun Aug 14, 2011 10:10 pm    Post subject: Reply with quote

Are you sure that it tries to mount the partition as ext4? If you have CONFIG_EXT4_USE_FOR_EXT23=y, try disabling that.
_________________
If you've got nothing nice to say, you're probably not alone...
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Mon Aug 15, 2011 2:26 am    Post subject: Reply with quote

Quote:
... the root partition could not be accessed because of unsupported optional features.

Does not sound like a real error message.
For more help please post more of boot messages.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Mon Aug 15, 2011 4:28 am    Post subject: Reply with quote

Did you build ext4 into the kernel? This is necessary in order to mount an ext4 root filesystem, unless you are using an initrd which can load the ext4 module.

An excerpt of my dmesg output:

Code:
sd 0:0:0:0: [sda] Attached SCSI disk
TuxOnIce: No image found.
PM: Checking hibernation image partition swap:/dev/sda:0xdd9c000
PM: Hibernation image not present or could not be loaded.
registered taskstats version 1
EXT3-fs (sda): error: couldn't mount because of unsupported optional features (240)
EXT2-fs (sda): error: couldn't mount because of unsupported optional features (240)
EXT4-fs (sda): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext4 filesystem) readonly on device 8:0.

_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
kdvgent
Guru
Guru


Joined: 29 Sep 2004
Posts: 352
Location: Belgium

PostPosted: Mon Aug 15, 2011 9:09 am    Post subject: Thanks for all suggestions Reply with quote

Thanks for all the suggestions until now.

As I said in my original message, I have not access to the computer at present, hence I cannot give additional information.

Hypnos, I obviously have build ext4 support in the kernel

Jaglover, I was working from memory but the exact error message was the one mentioned by Hypnos for EXT3-fs and EXT2-fs but then for EXT4-fs (where Hypnos has another, much nicer message.

Is one of you running kernel version 3.0 or 3.0.1?

Regards,
Back to top
View user's profile Send private message
Hypnos
Advocate
Advocate


Joined: 18 Jul 2002
Posts: 2889
Location: Omnipresent

PostPosted: Mon Aug 15, 2011 9:24 am    Post subject: Reply with quote

Try the CONFIG_LBDAF key.
_________________
Personal overlay | Simple backup scheme
Back to top
View user's profile Send private message
kdvgent
Guru
Guru


Joined: 29 Sep 2004
Posts: 352
Location: Belgium

PostPosted: Mon Aug 15, 2011 11:06 am    Post subject: Thanks Hypnos - I'll try Reply with quote

Thanks - I'll try as soon as my hardware is functioning again.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum