[BusyBox] segmentation fault while mounting a jffs2 from fstab

Andrew Dixon andrew.dixon at seranoa.com
Thu Feb 28 15:20:06 UTC 2002


Hi Everyone -

I'm using BB-0.60.1 and I've seen the same problem after updating
mount.c to v0.60.2.  I'm also using Linux 2.4.16 on an MPC8260.  So
anyway, here's my problem:

I've got a flash chip that I'm mounting as an mtd device and as a jffs2
filesystem.  

#/bin/mount -t jffs2 /dev/mtdblock1 /mnt/
mtdblock_open
ok
#

and that works fine and dandy so I add it to my fstab and try again:

#cat etc/fstab 
proc		/proc	proc	defaults	0	0
/dev/mtdblock1	/mnt	jffs2	defaults	0	0
#/bin/mount /mnt/
mtdblock_open
ok
Segmentation fault
#

Now I get a seg. fault, but I can still use the device fine.  

As a third test I tried just regular old mount from my system _not_
busybox:

#/usr/bin/mount /mnt/
mtdblock_open
ok
#

And it's happy again.

Any ideas as to what's going on?

Thanks,
Andy


-- 
Andrew Dixon
Software Engineer
Seranoa Networks
978.897.3434 x231



More information about the busybox mailing list