Welcome! Log In Create A New Profile

Advanced

EXT2-fs (sda1): warning: mounting ext3 filesystem as ext2

Posted by DonCharisma 
EXT2-fs (sda1): warning: mounting ext3 filesystem as ext2
October 14, 2014 02:39PM
I'm getting this in my dmesg :

[   25.630061] EXT2-fs (sda1): warning: mounting ext3 filesystem as ext2


Anyone know how to fix it ? I have searched, quite a lot of Google, and in the forum, didn't find an answer, yet ...

It's mounted in fstab, like so :

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
/dev/root      /               ext3    noatime,errors=remount-ro 0 1

My fw_printenv has

sata_boot=ide reset; mw 0x800000 0 1; ext2load ide 0:1 0x800000 /boot/uImage; if  ext2load ide 0:1 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi

Which could be the issue ... not sure though, as this thread indicates ext3load doesn't work - http://forum.doozan.com/read.php?2,5775,6152#msg-6152

Hardware is GoFlex Net, running 3.3 davygravy kernel Debian Wheezy. And /dev/sda1 is hard disc partition ext3 formatted ...

Cheers

DC

Don Charisma ... because anything is possible with Charisma

My blog - http://DonCharisma.org
Our commercial site - http://DonCharisma.com
Re: EXT2-fs (sda1): warning: mounting ext3 filesystem as ext2
October 14, 2014 02:46PM
What do you have in fw_printenv for:


usb_rootfstype

or

rootfstype

?
Re: EXT2-fs (sda1): warning: mounting ext3 filesystem as ext2
October 14, 2014 03:56PM
DonCharisma Wrote:
-------------------------------------------------------
> I'm getting this in my dmesg :
>
>
> [   25.630061] EXT2-fs (sda1): warning: mounting
> ext3 filesystem as ext2
>
>
>
> Anyone know how to fix it ? I have searched, quite
> a lot of Google, and in the forum, didn't find an
> answer, yet ..
>
> It's mounted in fstab, like so :
>
>
> # <file system> <mount point>   <type>  <options> 
>      <dump>  <pass>
> /dev/root      /               ext3   
> noatime,errors=remount-ro 0 1
>
>
> My fw_printenv has
>
>
> sata_boot=ide reset; mw 0x800000 0 1; ext2load ide
> 0:1 0x800000 /boot/uImage; if  ext2load ide 0:1
> 0x1100000 /boot/uInitrd; then bootm 0x800000
> 0x1100000; else bootm 0x800000; fi
>
>
> Which could be the issue ... not sure though, as
> this thread indicates ext3load doesn't work -
> http://forum.doozan.com/read.php?2,5775,6152#msg-6
> 152
>
> Hardware is GoFlex Net, running 3.3 davygravy
> kernel Debian Wheezy. And /dev/sda1 is hard disc
> partition ext3 formatted ...
>
> Cheers
>
> DC

If you have netconsole or serial console: remove the rootfs type parameter in the bootargs. A "newer" kernel will figure it out. Warning: try this only in serial or net console and dont save your envs until after booting successfully.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: EXT2-fs (sda1): warning: mounting ext3 filesystem as ext2
October 15, 2014 04:19AM
@Frederick Grayson ...

fw_printenv | grep rootfstype

gives :
rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params
ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params
usb_rootfstype=ext2
usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params

(full fw_printenv is attached in a file

@bodhi, thanks dude, I'll try that on my netconsole, could you let me know roughly what I need to type or point me in the right direction ... booting/uboot/kernels isn't my strong suit just yet :D

Cheers

DC
Attachments:
open | download - fw_printenv.txt (2.7 KB)
Re: EXT2-fs (sda1): warning: mounting ext3 filesystem as ext2
October 15, 2014 08:25AM
Do this and it will be solved:

fw_setenv usb_rootfstype ext3
Re: EXT2-fs (sda1): warning: mounting ext3 filesystem as ext2
October 16, 2014 04:01PM
@Frederick Grayson confirmed working :D ... however ...

removing that arg all together works too ... also tested booting off of USB ext2 flash, that boots as well :D ... only thing I didn't test was booting off a ext3 flash as I don't have one ...

I'm using "U-Boot 2011.12 (Apr 18 2012 - 23:08:20)"

@bodhi ... the windows version of netcat ("v1.11 NT www.rodneybeede.com") is interruptible with the enter key on the count down (for information) :D

I typed :

setenv usb_rootfstype ext3

to set to ext3 on the first boot ...

and then on second boot :

setenv usb_rootfstype

to remove the paramter, then

boot

More for other's than you, I know you know how to do this :D

I now have this on my SATA boot in dmesg :

[   35.735820] EXT3-fs (sda1): mounted filesystem with ordered data mode
...
[   43.924880] EXT3-fs (sda1): using internal journal


Cheers

DC

Don Charisma ... because anything is possible with Charisma

My blog - http://DonCharisma.org
Our commercial site - http://DonCharisma.com
Re: EXT2-fs (sda1): warning: mounting ext3 filesystem as ext2
October 18, 2014 07:15AM
Along with "setenv" you must enter "saveenv" (save to nand), otherwise changes will be forgotten on next boot.



Edited 3 time(s). Last edit at 10/18/2014 07:17AM by jst818.
Re: EXT2-fs (sda1): warning: mounting ext3 filesystem as ext2
October 19, 2014 03:47AM
They were forgotten, I think that was the point though ... to test it first, confirm working then write to the NAND ... next boot I did a fw_setenv in Debian ...

I don't have a serial cable setup, so anything I do to the NAND I do with extreme caution :D Netsoncole works well, but it won't save me from every NAND "mistake" ...

Cheers

DC

Don Charisma ... because anything is possible with Charisma

My blog - http://DonCharisma.org
Our commercial site - http://DonCharisma.com
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: