Hi!

I tried to protect the /-partition to prevent any changes if the system
switched off without a correct shutdown.

For this, I implemented the following before I save anything:

system("mount -o remount,rw,sync /");

right after the file was created and the settings should be saved, I use

system("mount -o remount,ro /");

Nevertheless if I call it directly via system-command or if I use a
.sh-script which just contains that commands I receive the following kernel
message:

Unable to handle kernel NULL pointer derefence at virtual address 00000000
pgd = c6c94000
[00000000] *pgd=00000000
Internal error: Oops: 5 [#1]
Modules linked in: dsklinkk cmemk
CPU: 0
PC is at PMGR_MSGQ_close ....

I use Kernel 2.6.10_mvl401

Any idea how I could prevent that?

Thanks in advance,



Stefan


PS: If this results in a double post, please execuse me. I send it the first
time from another email-adress which wasn't registered.
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to