Opened 5 years ago

Closed 4 years ago

Last modified 3 years ago

#10960 closed defect (worksforme)

[ar71xx] fstab: init script freezes, strage garbage in /mnt

Reported by: Damian Kaczkowski <damian.kaczkowski@…> Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:


root@OpenWrt:~# /etc/init.d/fstab restart
root@OpenWrt:~# /etc/init.d/fstab restart
root@OpenWrt:~# /etc/init.d/fstab restart
root@OpenWrt:~# /etc/init.d/fstab restart
root@OpenWrt:~# /etc/init.d/fstab restart
root@OpenWrt:~# /etc/init.d/fstab reload
root@OpenWrt:~# /etc/init.d/fstab stop
root@OpenWrt:~# /etc/init.d/fstab start

after reboot

BusyBox v1.19.3 (2012-02-08 02:49:09 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 ATTITUDE ADJUSTMENT (bleeding edge, r30366) ----------
  * 1/4 oz Vodka      Pour all ingredients into mixing
  * 1/4 oz Gin        tin with ice, strain into glass.
  * 1/4 oz Amaretto
  * 1/4 oz Triple sec
  * 1/4 oz Peach schnapps
  * 1/4 oz Sour mix
  * 1 splash Cranberry juice
root@OpenWrt:~# /etc/init.d/fstab restart
root@OpenWrt:~# /etc/init.d/fstab restart
root@OpenWrt:~# ls /mnt/
mtdblock0  mtdblock1  mtdblock2  mtdblock3  mtdblock4  mtdblock5
root@OpenWrt:~# cat /etc/config/fstab
config global automount
        option from_fstab 1
        option anon_mount 1

config global autoswap
        option from_fstab 1
        option anon_swap 0

config mount
        option target   /home
        option device   /dev/sda1
        option fstype   ext4
        option options  rw,sync
        option enabled  0
        option enabled_fsck 0

config swap
        option device   /dev/sda2
        option enabled  0
root@OpenWrt:~# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime,size=14760k)
tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
/dev/mtdblock3 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlayfs (rw,relatime,lowerdir=/,upperdir=/overlay)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
/dev/mtdblock2 on /mnt/mtdblock2 type squashfs (ro,relatime)

Same thing on:

Attachments (0)

Change History (5)

comment:1 Changed 5 years ago by hnyman <hannu.nyman@…>

That "strange garbage" is already mentioned in #10850

comment:2 Changed 5 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

fixed in r30501

comment:3 Changed 5 years ago by Damian Kaczkowski <damian.kaczkowski@…>

  • Resolution fixed deleted
  • Status changed from closed to reopened

The 'mtdblockX garbage' is gone, thanks. fstab script however still hangs after few restarts. Not much of a problem for me, just saying.

comment:4 Changed 4 years ago by nbd

  • Resolution set to worksforme
  • Status changed from reopened to closed

works in current versions

comment:5 Changed 3 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.