Author Topic: /var Is Empty  (Read 2262 times)

JeffElkins

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • http://
/var Is Empty
« on: May 27, 2005, 01:33:35 am »
Zaurus model: 5500
kernel version: 2.4.18-rmk7-pxa3-embedix
opie
last upgrade date: fresh install

After installing 2.5.3 I was merrily oz-ing along when I decided to shutdown. I did so and  reboot proceeded normally through the opie startup...then no opie, just a blank screen.

I docked it and luckily usb networking was up, so I ssh'd over and started opie from a console so I could read the messages. They appeared normal, but no opie.

To make a long story short, I stumbled into the /var directory and it was totally empty.
Plus, tmpfs is mounted over var multiple times.

root@collie:/# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/mtdblock4           14464     13624       840  94% /
/dev/mtdblock6           31729        18     30073   0% /media/ram
tmpfs                    15080         0     15080   0% /var
/dev/mmcda1             241145     97299    131395  43% /media/card
tmpfs                    15080         0     15080   0% /var
tmpfs                    15080         0     15080   0% /var
tmpfs                    15080         0     15080   0% /var
tmpfs                    15080         0     15080   0% /var

Of course the z is unusable. This has happened with multiple installs and two different 5500s.

Note: I just discovered that if I reboot and unmount /var the contents are recovered. So empty filesystems are being mounted over /var??

Note2: This remounting of /var is happening continually. I "fixed" things for now by tarring up /var and recreating it in /media/ram. I then commented out the tmpfs->/var mountpoint in fstab and made /var a symlink to /media/ram/var.

Note3: As expected, the "fix" didn't work
« Last Edit: May 27, 2005, 07:32:09 am by JeffElkins »

JeffElkins

  • Newbie
  • *
  • Posts: 8
    • View Profile
    • http://
/var Is Empty
« Reply #1 on: May 29, 2005, 01:57:35 am »
Whoa!

Total install killer for a 5500 and _no-one_ responds? I'd discount it as holiday-weekend blahs, but developers are responding elsewhere.

Where are the Oz-Team developers? Lardman, Mickey, whomever?

When booting a fresh install of OZ 2.5.3 my /var dir is hosed within _minutes_.

Is it that the 5500 is of no concern?

This happens on two different 5500s.

Jeff

CoreDump

  • Hero Member
  • *****
  • Posts: 713
    • View Profile
    • http://www.hentges.net
/var Is Empty
« Reply #2 on: May 29, 2005, 11:11:48 am »
I can't reproduce that here, sorry.

Are you sure that you didn't install any additional software before this happens?
Or did you apply some tweak to your OZ?

/var works as expected on my device.
Webmaster of hentges.net & Embedded Linux Developer.