On 5/19/2013 9:11 PM, Bruce Dubbs wrote:
> Ken Moffat wrote:
>> On Sun, May 19, 2013 at 05:22:45PM -0400, Baho Utot wrote:
>>> I have always in the past used a ext3 partition on my LFS systems. I
>>> have changed to ext4 and on boot I get errors that are saying than it
>>> had problems mounting the partition due to unsupported  options, it has
>>> EXT3-fs in the first two error messages, the third message says it uses
>>> EXT4-fs and it then mounts without error.
>>> I belive  it is coming from the kernel as it has a kernal time of [
>>> 1.568232].
>>>
>>> Is this normal for the boot to try mount the root partition with EXT3-fs
>>> twice before then using EXT4-fs?
>>>
>>    sort of.  ISTR there are config option(s) to mount ext{2,3} using
>> ext4.  On at least one of my machines I see two such messages, but
>> the first is for ext3 and the second for ext2 :
>>
>> [    1.765843] sd 0:0:0:0: [sda] Attached SCSI disk
>> [    1.792078] EXT3-fs (sda6): error: couldn't mount because of unsupported 
>> optional features (240)
>> [    1.795575] EXT2-fs (sda6): error: couldn't mount because of unsupported 
>> optional features (240)
>> [    1.818698] EXT4-fs (sda6): mounted filesystem with ordered data mode. 
>> Opts: (null)
>> [    1.821899] VFS: Mounted root (ext4 filesystem) readonly on device 8:6.
>>
>>    I can't remember when this started, and google is useless (loads of
>> references to converting *to* ext4, or for an obsolete config
>> option), but at some time the ext4 driver became able to mount ext3
>> and ext2 - if those were enabled.

Yes that is indeed what I am seeing also, I am using SATA drives,  I did 
know about the EXT4_FS mounting EXT2 and EXT3.  Maybe the fix is to drop 
the EXT[2,3]_FS and only use EXT4_FS.

> I don't see that right now, but I'm in between systems.  Right now I'm
> using a 3.8.3 kernel with:
>
> # CONFIG_EXT2_FS is not set
> CONFIG_EXT3_FS=y
> # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
> CONFIG_EXT3_FS_XATTR=y
> CONFIG_EXT3_FS_POSIX_ACL=y
> CONFIG_EXT3_FS_SECURITY=y
> CONFIG_EXT4_FS=y
> CONFIG_EXT4_USE_FOR_EXT23=y
> # CONFIG_EXT4_FS_POSIX_ACL is not set
> # CONFIG_EXT4_FS_SECURITY is not set
> # CONFIG_EXT4_DEBUG is not set
>
> But I use ext2 for /boot, ext3 for /, and ext4 for /mnt/lfs.  I also
> have one partition mounted as reiserfs.
>
>     -- Bruce

I'll have to research my kernel config, although I am using the one from 
slackware with PAE as I am building i686 right now.   I don't know what 
they have set for EXTx_FS.

I will get to that in the morning.

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to