Tiny Core Base > Raspberry Pi

Removing SDCARD results in segmentation fault

<< < (2/4) > >>

Rich:
Hi patrikg
He wants to run Firefox without the SD card plugged in.
That means all extensions that get loaded must be in RAM
so he can unmount the device and unplug it. He currently
needs more RAM than he has.

patrikg:
Hi @Rich

Okey, i think picore also setup'ping swap zram default.
You can disable that maybe to increase some memory,
with kernel command line arg NOZSWAP
An you could aslo try to change the gpu mem size to lover in the config.txt file, with out losing the gpu(head)

Paul_123:
I don’t see a pi2b having enough memory to do this.

segfault:

--- Quote from: Paul_123 on July 07, 2024, 09:31:59 PM ---I don’t see a pi2b having enough memory to do this.

--- End quote ---

This has been my fear, but I'm pretty bold person so I'm willing to give it a try  8) ;)
--- Quote from: patrikg on July 07, 2024, 03:11:22 PM --- No space left on device.
Did you forget to expand the partision.
Or is it you memory size to small.
http://tinycorelinux.net/6.x/armv6/releases/README

--- End quote ---

I have increased the partition, but I think the error occurs because I'm just pulling the SDCARD physically without even unmounting it first.  :o


--- Quote from: patrikg on July 07, 2024, 04:42:39 PM ---You can disable that maybe to increase some memory,
with kernel command line arg NOZSWAP
An you could aslo try to change the gpu mem size to lover in the config.txt file, with out losing the gpu(head)

--- End quote ---

Great! I'll try this!

segfault:
Logged in with SSH I ran "tc-ab" and used the Tree dependency list view and wrote down all the dep to firefox. After removing the duplicate .tcz deps from the list, I added them to copy2fs.lst. I added noswap and nozswap to /mnt/mmcblk0p1/cmdline.txt.

After having removed all other extensions from copy2fs.lst and onboot.lst, save for TC, firefox and the dependencies firefox had, I rebooted and tarted firefox. Then running "free -m" told me there is still 585 left available of a total of 922 (swap was 0),

Removing the SDCARD still results in firefox crashing after a while. Clicking the firefox icon re-launches firefox even after SDCARD have been physically removed.

From what I gather, there is still memory left, but also there are files open on /mnt/mmcblk0p2.

Any ideas on how I should proceed? Maybe try to create a tombstone / crash dump and look for filedescriptors or something, to learn what code is trying to access the SDCARD?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version