[BusyBox 0000764]: e2fsprogs is not working in 1.1.0

bugs at busybox.net bugs at busybox.net
Thu Mar 9 02:44:21 UTC 2006


A NOTE has been added to this issue. 
====================================================================== 
http://busybox.net/bugs/view.php?id=764 
====================================================================== 
Reported By:                Hyun
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   764
Category:                   Other
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             03-01-2006 19:10 PST
Last Modified:              03-08-2006 18:44 PST
====================================================================== 
Summary:                    e2fsprogs is not working in 1.1.0
Description: 
all program from e2fsprogs(e2label, e2fsck, mke2fs) is not working in PPC.
I`m using ppc-405. and, crosscompiled busybox.

but, new version of busybox(1.1.0) does not read existing ext2 superblock.
so, I make new filesystem with mke2fs(from 1.1.0). but, it cannot be
mounted(kernel refuse).

after mkfs, e2label can read label successfully. but, cannot mount.

[relook400 /]$ e2label /dev/ide/host0/bus0/target0/lun0/part3
DG_DB1
[relook400 /]$ mount /dev/ide/host0/bus0/target0/lun0/part3 /var/data -t
ext2
VFS: Can't find ext2 filesystem on dev hda3.
mount: Mounting /dev/ide/host0/bus0/target0/lun0/part3 on /var/data
failed: Invalid argument
[relook400 /]$

is it endian problem ?
====================================================================== 

---------------------------------------------------------------------- 
 bwhissel - 03-08-06 09:11  
---------------------------------------------------------------------- 
busybox implementation of mkfs.ext2/mkfs.ext3 also fails on x86 systems
when building filesystems > 2050 Mbytes.  (Discovered while using GParted
LiveCD distro 0.2.2-1) 

---------------------------------------------------------------------- 
 vapier - 03-08-06 13:42  
---------------------------------------------------------------------- 
uhh, did you enable LFS ?  ive created ext partitions on 32bit arm machines
that were over 200gigs and i didnt have any trouble 

---------------------------------------------------------------------- 
 bwhissel - 03-08-06 14:14  
---------------------------------------------------------------------- 
Thanks for the tip: I've passed that back to the GParted LiveCD distro
folks. 

---------------------------------------------------------------------- 
 Hyun - 03-08-06 18:22  
---------------------------------------------------------------------- 
do you mean CONFIG_LFS?

below is a part of my .config file that was used to build.

#
# Build Options
#
# CONFIG_STATIC is not set
CONFIG_LFS=y
USING_CROSS_COMPILER=y
CROSS_COMPILER_PREFIX="powerpc-405-linux-gnu-"
EXTRA_CFLAGS_OPTIONS=""
# CONFIG_FEATURE_SUSv2 is not set
# CONFIG_FEATURE_SUSv2_OBSOLETE is not set

and, it has CONFIG_LFS.
ARM is running under BIG Endian? I don`t have experience on ARM chip. 

---------------------------------------------------------------------- 
 vapier - 03-08-06 18:44  
---------------------------------------------------------------------- 
Hyun: my LFS thing was not geared at you ... there is a known issue with
e2fsprogs and big endian hosts in busybox 1.1.0 ... my arm test was with
little endian

you should grab the latest nightly snapshot and see if it works any better
for you 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-01-06 19:10  Hyun           New Issue                                    
03-01-06 19:10  Hyun           Status                   new => assigned     
03-01-06 19:10  Hyun           Assigned To               => BusyBox         
03-08-06 09:11  bwhissel       Note Added: 0001173                          
03-08-06 13:42  vapier         Note Added: 0001174                          
03-08-06 14:14  bwhissel       Note Added: 0001175                          
03-08-06 18:22  Hyun           Note Added: 0001176                          
03-08-06 18:44  vapier         Note Added: 0001177                          
======================================================================




More information about the busybox-cvs mailing list