Go to advanced search

by doublehp
Fri Nov 30, 2018 5:44 pm
Forum: Troubleshooting
Topic: broken filesystem, e2fsck can not fix things
Replies: 33
Views: 4072

Re: broken filesystem, e2fsck can not fix things

After meeting the issue numerous times, and read about similar issues on many forums, the root issue is: ext4 is very fragile. Very very very fragile. ext4 does not accept any powerfailure at some moments. Ext4 has other sensible issues that powerfailures; especially, on Orange pi, some files can ge...
by doublehp
Mon Nov 26, 2018 6:43 pm
Forum: General discussion
Topic: How to deal with the "logs filling up space" problem?
Replies: 16
Views: 19153

Re: How to deal with the "logs filling up space" problem?

To avoid any/many problems, always do this on new machines: - install munin (at least the node, maybe the master if you don't have any other master; save CPU with CGI) - smartctl plugin - df plugin - munin plugin - loggrep configured to scan warnings and error in all your log files - set alarms on a...
by doublehp
Wed Nov 14, 2018 2:05 pm
Forum: Troubleshooting
Topic: broken filesystem, e2fsck can not fix things
Replies: 33
Views: 4072

Re: broken filesystem, e2fsck can not fix things

Just had the issue on an rPi0 (cheapest version if there are several ones), with Sandisk Ultra 16G (red-grey); the only accessory was a HARUN HR911105A (SPI ethernet). And it was performing USB gadget for an other machine. In short, this opi0 was not using any form of serial port. The only common po...
by doublehp
Sun May 20, 2018 7:08 pm
Forum: Advanced users
Topic: Pi Zero as a USB keyboard (HID gadget)
Replies: 33
Views: 18506

Re: Pi Zero as a USB keyboard (HID gadget)

RDPUser I am doing using very complex setup involving ... netcat, screen, tcpdump and other very funky tools; my project is not stable yet, and I did not yet publish my tutorial. In short, it's PITA, but it can be done. My setup is really a huge hell. My client is a mobile phone, which connects to a...
by doublehp
Sun May 20, 2018 6:57 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: KeDei 3.5 inch 480x320 TFT lcd from ali
Replies: 232
Views: 168344

Re: KeDei 3.5 inch 480x320 TFT lcd from ali

creativityforever I have reinstalled a Kedei v6.2 last week using rpi_35_v6_1_2_3_jessie_kernel_4_4_50.rar from http://osoyoo.com/driver/ but this should also work: http://kedei.net/raspberry/v6_1/rpi_35_v6_3_stretch_kernel_4_15_18.rar from http://kedei.net/raspberry/raspberry.html No need to downl...
by doublehp
Sun May 20, 2018 5:32 pm
Forum: Troubleshooting
Topic: broken filesystem, e2fsck can not fix things
Replies: 33
Views: 4072

Re: broken filesystem, e2fsck can not fix things

No. I won't connect to that pi now to provide logs; I will explain from human memory. I was unable to find key folders in /sys; could not find any classic directory that usually describe the CPU frequency scaling (based on other pis using non KeDei ROMs). My only way to have an estimation of the CPU...
by doublehp
Thu May 17, 2018 5:21 pm
Forum: Troubleshooting
Topic: broken filesystem, e2fsck can not fix things
Replies: 33
Views: 4072

Re: broken filesystem, e2fsck can not fix things

Downclocking may produce more stable system; but, *ALL* my Pis are using the SPI, either for LCD, or 1W ... and for most SPI applications, time is critical, and most codes are finely tuned to CPU freq; so, properly coded softwares may accept small downscaling; but severe downscaling will trigger SPI...
by doublehp
Thu May 17, 2018 2:12 pm
Forum: Troubleshooting
Topic: broken filesystem, e2fsck can not fix things
Replies: 33
Views: 4072

Re: broken filesystem, e2fsck can not fix things

Please define crash. This thread is not about system hang or kernel panic or system freeze. This topic is about the storage getting corrupted and unbootable ( / getmessed up, and fsck is unable to fix it ; have to reburn the SD). I striked my first phrase because after triple check, I had been using...
by doublehp
Thu May 17, 2018 1:43 pm
Forum: Troubleshooting
Topic: module i2c missing
Replies: 7
Views: 1688

Re: module i2c missing

On a rPi v1, I also using pigpio to emulate I2C on the misc IO pins

http://abyz.me.uk/rpi/pigpio/

https://en.wikipedia.org/wiki/Raspberry_Pi
P5(6), GPIO 28 to 31.
by doublehp
Thu May 17, 2018 10:42 am
Forum: Troubleshooting
Topic: broken filesystem, e2fsck can not fix things
Replies: 33
Views: 4072

Re: broken filesystem, e2fsck can not fix things

The internal serial port is not able to work with my application. So, AMA0 can not be used. The same pi had two corruption in 6 weeks time, using the FTDI. So FTDI is not a fix for me. And internal serial port is not a solution. I am pretty sure that one pi worked with the internal port, but, maybe...
by doublehp
Sat Mar 31, 2018 7:42 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: KeDei 3.5 inch 480x320 TFT lcd from ali
Replies: 232
Views: 168344

Re: KeDei 3.5 inch 480x320 TFT lcd from ali

Start by being specific: screen version (there are over 12 Kedei versions matching 480x320 SPI TFT LCD). Then, about your rpi model and distribution. Then you want to have a look at https://github.com/torvalds/linux/tree/master/drivers/staging/fbtft https://github.com/notro/fbtft/wiki https://github...
by doublehp
Sun Mar 04, 2018 6:55 pm
Forum: Troubleshooting
Topic: broken filesystem, e2fsck can not fix things
Replies: 33
Views: 4072

Re: broken filesystem, e2fsck can not fix things

I am not going to send logrotates over email, but use a network sysloger (all local syslog can send output to a network server; it's the best way to track hard disk and NFS issues; on most hardware problems, the network card is usually the last working component; usually much longer than the video c...
by doublehp
Sat Mar 03, 2018 10:44 pm
Forum: Troubleshooting
Topic: broken filesystem, e2fsck can not fix things
Replies: 33
Views: 4072

Re: broken filesystem, e2fsck can not fix things

Filesystem crashed again with an FT232 (FTDI).
by doublehp
Wed Feb 14, 2018 3:53 pm
Forum: General discussion
Topic: Only 99% reliability with ws281* : sometimes it produces mess
Replies: 47
Views: 5005

Re: Only 99% reliability with ws281* : sometimes it produces mess

danjperron modern distributions are faster to boot than old ones; not because of CPU power, but they have redesigned the init procedure. An rpi2 with a recent raspbian is much faster than 60s. Maybe 30 or 20s, if you put your service in rc.local. You may also gain more time at power cycle by playing...
by doublehp
Sun Feb 11, 2018 6:28 pm
Forum: General discussion
Topic: Only 99% reliability with ws281* : sometimes it produces mess
Replies: 47
Views: 5005

Re: Only 99% reliability with ws281* : sometimes it produces mess

I may have found a clue about ORangePi; I am not sure yet if it will have impact, but I have good suspiscions. OrangePi0+Armbian include cpufreq; and by default, iddle system run at 240MHz; when heavu tasks start, freq grows up to 1.2GHz. I suspect this speed change to affect the topic of this threa...
by doublehp
Sun Feb 04, 2018 1:38 pm
Forum: Troubleshooting
Topic: broken filesystem, e2fsck can not fix things
Replies: 33
Views: 4072

Re: broken filesystem, e2fsck can not fix things

An other system have broken: while the system was live, I have found this in syslog (or messages, I never know): 2018-01-24T12:52:27.998410+01:00 rpi-08-locataire-42-etage-droit kernel: [86481.017530] EXT4-fs (mmcblk0p2): error count since last fsck: 4 2018-01-24T12:52:27.998469+01:00 rpi-08-locatai...
by doublehp
Fri Jan 26, 2018 10:25 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Ethernet module W5100 how to use?
Replies: 3
Views: 897

Re: Ethernet module W5100 how to use?

aBUGSworstnightmare wrote:
Fri Jan 26, 2018 10:21 am
for Pi0 it should be simpler to use a USB-to-Ethernet
The eternal stupid answer ...

... why do you think I am using a pi0 ?

BECAUSE IT HAS USB OTG PLUG FOR GADGET USE !!!
by doublehp
Thu Jan 25, 2018 8:19 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Ethernet module W5100 how to use?
Replies: 3
Views: 897

Re: Ethernet module W5100 how to use?

Same issue; after 3h of Googling, I gaveup.

https://fr.aliexpress.com/item/ENC28J60 ... 0.0.aYnpth
works just fine on rPi0.
by doublehp
Mon Jan 15, 2018 5:49 pm
Forum: Graphics, sound and multimedia
Topic: HDMI to CSI-2 via TC358743 on kernel 4.1
Replies: 496
Views: 126019

Re: HDMI to CSI-2 via TC358743 on kernel 4.1

To test HDMI, I use an HDMI2AV converter, then, an AV-USB decoder; they produce a crappy image, but they are very cheap: https://fr.aliexpress.com/item/DZLST-Mini-HD-Video-Converter-Box-HDMI-to-RCA-AV-CVSB-L-R-Video-1080P-HDMI2AV/32815095086.html?spm=a2g0s.9042311.0.0.vsKuhX https://fr.aliexpress.co...
by doublehp
Wed Jan 10, 2018 3:06 pm
Forum: General discussion
Topic: Only 99% reliability with ws281* : sometimes it produces mess
Replies: 47
Views: 5005

Re: Only 99% reliability with ws281* : sometimes it produces mess

There are many bugs in the forum API. I have fixed the links.
by doublehp
Wed Jan 10, 2018 11:09 am
Forum: General discussion
Topic: Only 99% reliability with ws281* : sometimes it produces mess
Replies: 47
Views: 5005

Re: Only 99% reliability with ws281* : sometimes it produces mess

Oh, I had not paste/crosslink it here :

Getting OrangePi Zero work with WS2811
http://www.orangepi.org/orangepibbsen// ... 318&extra=
by doublehp
Wed Jan 10, 2018 9:33 am
Forum: General discussion
Topic: Only 99% reliability with ws281* : sometimes it produces mess
Replies: 47
Views: 5005

Re: Only 99% reliability with ws281* : sometimes it produces mess

How about https://playground.arduino.cc/uploads/Main/i2c-level-shift-mosfet.png That circuit is known to not work with WS2811. I did not fully understand why, but the result is that this circuit does not respect timings, and kills high frequencies signal. Solutions have been given in the Orange lin...
by doublehp
Sun Dec 31, 2017 3:05 pm
Forum: General discussion
Topic: Only 99% reliability with ws281* : sometimes it produces mess
Replies: 47
Views: 5005

Re: Only 99% reliability with ws281* : sometimes it produces mess

What is your scheduler frequency ? zcat /proc/config.gz | grep -i CONFIG_HZ Even if you dedicate a core to a task, GPIO_SET probably calls the BCM2835 kernel driver is probably called at some point; and this will always remains subject to kernel scheduling issues. Much less than any other cases. But...
by doublehp
Sat Dec 30, 2017 6:26 pm
Forum: General discussion
Topic: Only 99% reliability with ws281* : sometimes it produces mess
Replies: 47
Views: 5005

Re: Only 99% reliability with ws281* : sometimes it produces mess

Are you up for a simple test of dynamic CPU isolation? Should only take half an hour. Honest. I have spent one hour it, and it failed. rt-tools failed on make: [ 50%] Building C object bitcalc/test/CMakeFiles/test_bitcalc.dir/__/src/bitcalc.c.o cc1: error: unrecognized command line option â-fsaniti...
by doublehp
Thu Dec 28, 2017 12:12 pm
Forum: General discussion
Topic: Only 99% reliability with ws281* : sometimes it produces mess
Replies: 47
Views: 5005

Re: Only 99% reliability with ws281* : sometimes it produces mess

Heater I have read various tutos about the CPU topic; there are at least 4 variables involved; in my use case, this one works, and does the job. maxcpus will keep some cores reserved, but without saying which ones; isolcpus is specific and states directly the one you want to keep. There are various ...

Go to advanced search