Go to advanced search

by Bergschreck
Mon Sep 09, 2013 3:22 pm
Forum: Networking and servers
Topic: TOR 2.4
Replies: 0
Views: 521

TOR 2.4

Is the new TOR 2.4 release somewhere available for our PI?

https://blog.torproject.org/blog/new-to ... c-packages
by Bergschreck
Wed Feb 13, 2013 1:08 pm
Forum: Python
Topic: Python script as service/autorun
Replies: 4
Views: 18787

Re: Python script as service/autorun

You should make your script a daemon using python-daemon:
http://www.python.org/dev/peps/pep-3143/

Then start it through a debian init script:
http://wiki.debian.org/LSBInitScripts
by Bergschreck
Wed Jan 02, 2013 6:17 pm
Forum: Advanced users
Topic: Wearout Prevention of SD card memory
Replies: 39
Views: 57218

Re: Wearout Prevention of SD card memory

Today I tried to setup my system with a /home partition of type udf. That did not work. Accessing the udf partititon was extremely slow and throws lots of error messages like this: [ 20.013398] UDF-fs: INFO Mounting volume 'home', timestamp 2013/01/02 14:05 (1000) [ 27.650417] mmc0: missed completio...
by Bergschreck
Wed Jan 02, 2013 1:32 pm
Forum: Beginners
Topic: swap file size
Replies: 5
Views: 2355

swap file size

The latest image uses dphys-swapfile for creating a swap file dynamically. The default is 2*ramsize. On a system with 512mb ram this is 1GB for swap space. IMHO this is a waste of valuable sd card storage. Why does the default setup uses such a huge amount of swap space? IMHO swapping should be tota...
by Bergschreck
Wed Jan 02, 2013 1:20 pm
Forum: Troubleshooting
Topic: USB redux
Replies: 514
Views: 201159

Re: USB redux

$ cat /proc/cmdline dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1024 bcm2708_fb.fbheight=768 bcm2708.boardrev=0xe bcm2708.serial=0x82ff4fcb smsc95xx.macaddr=xx:xx:xx:xx:xx:xx sdhci-bcm2708.emmc_clock_freq=100000000 vc_mem.mem_base=0x1fa00000 vc_mem.mem_size=0x20000000 dwc_otg.lpm_enable=0 console=ttyAMA...
by Bergschreck
Wed Jan 02, 2013 10:14 am
Forum: Troubleshooting
Topic: USB redux
Replies: 514
Views: 201159

Re: USB redux

michaeljquinn wrote:was this at USB 2.0 speeds ? or USB 1.1 (dwc_otg.speed=1)
Where can I see that?
by Bergschreck
Wed Jan 02, 2013 9:20 am
Forum: Advanced users
Topic: Wearout Prevention of SD card memory
Replies: 39
Views: 57218

Re: Wearout Prevention of SD card memory

Sorry, I don't know. I just begin researching on this topic.
by Bergschreck
Wed Jan 02, 2013 9:09 am
Forum: Advanced users
Topic: Wearout Prevention of SD card memory
Replies: 39
Views: 57218

Re: Wearout Prevention of SD card memory

For creating a UDF filesystem you need to install the package "udftools". Then you can create the filesystem with "mkudffs" command.

Add the mount to /etc/fstab. You can use symlinks or "mount -o bind" to redirect directories to the new partition.
by Bergschreck
Wed Jan 02, 2013 7:59 am
Forum: Advanced users
Topic: Wearout Prevention of SD card memory
Replies: 39
Views: 57218

Re: Wearout Prevention of SD card memory

What about creating a second partition for data that is often written (for example /var/log) and formatting this with a filesystem that is good for flash drives? I think UDF should be a good choice, because UDF is optimized for DVD-RW and DVD-RAM which have only a limited number of write cycles.
by Bergschreck
Wed Jan 02, 2013 7:08 am
Forum: Advanced users
Topic: Wearout Prevention of SD card memory
Replies: 39
Views: 57218

Re: Wearout Prevention of SD card memory

Wikipedia has a good description how wear leveling works. USB flash drives (and I assume SD cards also) use dynamic wear leveling. This means, every time a block is rewritten, it is mapped to a different physical block of unallocated blocks. But what, if you filled your filesystem up to 100% and the...
by Bergschreck
Tue Jan 01, 2013 7:56 am
Forum: Troubleshooting
Topic: USB redux
Replies: 514
Views: 201159

Re: USB redux

It seems to me that the latest kernel and firmware have solved (some of) the problem. I have a python app that collects serial data every 250ms through a FTDI usb-serial converter from a charger. With the official Raspbian image 2012-12-16 the system was freezing after a few hours. I did rpi-update ...

Go to advanced search