Go to advanced search

by doublehp
Thu Nov 16, 2017 5:27 pm
Forum: Troubleshooting
Topic: broken filesystem, e2fsck can not fix things
Replies: 19
Views: 1268

Re: broken filesystem, e2fsck can not fix things

Most of the time, the average iddle time is 92%, and the load is 1.35. Every 5 mn, cron does heavy work, and uses over 50%. My code is not perfect, but I have done speed optimisation on the most important loops. It's not what I would call an intense work.
by doublehp
Thu Nov 16, 2017 1:14 pm
Forum: Troubleshooting
Topic: broken filesystem, e2fsck can not fix things
Replies: 19
Views: 1268

Re: broken filesystem, e2fsck can not fix things

I have had problems with other serial adapters. For this project (which is duplicated 8 times), I need very specific serial settings, to comply an old industrial standard (forgot the name), where, in short, the port needs to be 1200 baud, 7 bits, with parity, and something else inverted. I have trie...
by doublehp
Tue Nov 14, 2017 5:31 pm
Forum: Advanced users
Topic: PI3 microSD and wear leveling
Replies: 26
Views: 13820

Re: PI3 microSD and wear leveling

Ideal for Android, they mean, ideal for the external SD storage for phones. And even with this use, I had a 64GB card die in one year. ... A somewhat "narrow" interpretation, since both 'phones & tablets may have "Android apps." that can run from the external uSDHC card. (That doesn't exclude the p...
by doublehp
Tue Nov 14, 2017 5:09 pm
Forum: Advanced users
Topic: PI3 microSD and wear leveling
Replies: 26
Views: 13820

Re: PI3 microSD and wear leveling

The official answer from Transcend is: All of our flash products support wear leveling but for heavy usage it is suggest to use MLC chip based cards for better endurance. https://nl.transcend-info.com/Embedded/Essay-22 https://nl.transcend-info.com/Products/No-727 If you can find them, you can also ...
by doublehp
Tue Nov 14, 2017 4:59 pm
Forum: Troubleshooting
Topic: broken filesystem, e2fsck can not fix things
Replies: 19
Views: 1268

Re: broken filesystem, e2fsck can not fix things

# lsusb Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. Bus 001 Device 004: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB li...
by doublehp
Tue Nov 14, 2017 4:43 pm
Forum: Advanced users
Topic: PI3 microSD and wear leveling
Replies: 26
Views: 13820

Re: PI3 microSD and wear leveling

Ideal for Android, they mean, ideal for the external SD storage for phones. And even with this use, I had a 64GB card die in one year. What they don't like is to boot on uSD, and store /var/log in there. ext3 is pretty much designed to kill classic SD cards. It's pretty much urgent Raspbian moves to...
by doublehp
Fri Nov 10, 2017 3:34 pm
Forum: General discussion
Topic: ext3/4 and SD-card wear leveling
Replies: 133
Views: 40455

Re: ext3/4 and SD-card wear leveling

I have just checked.

f2fs-tools is not natively installed in Raspbian, but it's easy to install via aptitude. Kernel includes the driver so it's almost trivial to use.

F2FS supports expansion; so it's possible to create ready to install images ... that are based on F2FS, and use grow after install.
by doublehp
Sat Nov 04, 2017 11:39 pm
Forum: Troubleshooting
Topic: broken filesystem, e2fsck can not fix things
Replies: 19
Views: 1268

Re: broken filesystem, e2fsck can not fix things

ATM, the Pi is dead untill webnesday. Amazon should have delivered me a High Endurance card this morning, but, the postman was lasy, and thought he could take a day off; so delivery is delayed for mid-next-week. I have solder the capacitor in the input ceramic capa of the pi, on the 5V side. This ca...
by doublehp
Sat Nov 04, 2017 3:45 pm
Forum: Troubleshooting
Topic: broken filesystem, e2fsck can not fix things
Replies: 19
Views: 1268

Re: broken filesystem, e2fsck can not fix things

On the same rPi, the filesystem is broken again. I am getting on nerves. I had solder a huge capacitor o the supply (one chemical, and a huge ceramic); had bought a new SD card (Sandisk ultra white-grey), configured fstrim ... don't know what to do. The only external devices on this rPi are two USB-...
by doublehp
Fri Oct 13, 2017 4:40 pm
Forum: General discussion
Topic: ext3/4 and SD-card wear leveling
Replies: 133
Views: 40455

Re: ext3/4 and SD-card wear leveling

I have seen many mistakes in this thread. Most sandisk cards have 10y or lifetime waranty. But it's LIMITED WARANTY. And using their cards in an rPi is an exclusing. Phone call them, or ask on the chat ... all sandisk micro SD cards include wear levelling, but using them in rPi moves the card out of...
by doublehp
Mon Oct 09, 2017 4:46 pm
Forum: Advanced users
Topic: PI3 microSD and wear leveling
Replies: 26
Views: 13820

Re: PI3 microSD and wear leveling

I was using SDHC cards on rPi, and I am tired of burning cards every 6 months. So, I was advised to buy MMC, but I wanted to be sure they are better than SD. And I found this page. https://web.archive.org/web/20140805113601/http://www.toshiba.com/taec/Catalog/Line.do?familyid=7&lineid=900195 states:...
by doublehp
Sun Jul 23, 2017 2:43 pm
Forum: Troubleshooting
Topic: broken filesystem, e2fsck can not fix things
Replies: 19
Views: 1268

Re: broken filesystem, e2fsck can not fix things

I was overbooked these last days. I have reinstalled the rPi using a different SD, and soldered more capacitors on the PCB. Adding capacitors on a single USB male plug did not work because at boot it causes an over-current, and triggers some protection. This simple fix was impossible for me. This rP...
by doublehp
Wed Jul 05, 2017 9:24 am
Forum: Troubleshooting
Topic: broken filesystem, e2fsck can not fix things
Replies: 19
Views: 1268

Re: broken filesystem, e2fsck can not fix things

2 months later, same problem again ... problem is probably the supply. I had changed it a few weeks before first issue; happening again with same supply. badblocks was fine.
by doublehp
Sun Apr 16, 2017 8:12 pm
Forum: Troubleshooting
Topic: broken filesystem, e2fsck can not fix things
Replies: 19
Views: 1268

Re: broken filesystem, e2fsck can not fix things

You identify /dev/sdk2 not /dev/sda2. Are you trying to argue with me or make me look stupid? I was lucky to be able to run dmesg inside the machine while it was already broken; so, in some logs, it's sda2; as stated, the machine never rebooted; so, all fsck are run from an other workstation where ...
by doublehp
Tue Apr 11, 2017 9:15 am
Forum: Troubleshooting
Topic: broken filesystem, e2fsck can not fix things
Replies: 19
Views: 1268

Re: broken filesystem, e2fsck can not fix things

# mkfs -n /dev/sdf2 mke2fs 1.41.12 (17-May-2010) Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 944704 inodes, 3774464 blocks 188723 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=38...
by doublehp
Tue Apr 11, 2017 8:57 am
Forum: Troubleshooting
Topic: broken filesystem, e2fsck can not fix things
Replies: 19
Views: 1268

Re: broken filesystem, e2fsck can not fix things

E2FS is really robust and e2fsck can do a really nice job of fixing a damaged file system. But as you point out you have bad superblocks. The suggestion of using 8193 as an alternate is just a suggestion, you can get a list of all alternate superblocks with mke2fs -n /dev/sdk2, then try alternate b...
by doublehp
Mon Apr 10, 2017 7:59 pm
Forum: Troubleshooting
Topic: broken filesystem, e2fsck can not fix things
Replies: 19
Views: 1268

Re: broken filesystem, e2fsck can not fix things

Quick reply before bed. No, I suspect bad blocks; I do not have any proof; and quicj test have not found any. After the fsck I did yesterday, it did not boot. I see a kernel log, but can't read bottom of screen. sda1 (/boot) is fine; sda2 (/) is the broken one. Never heard of alternative drives. 16G...
by doublehp
Mon Apr 10, 2017 6:01 am
Forum: Troubleshooting
Topic: broken filesystem, e2fsck can not fix things
Replies: 19
Views: 1268

broken filesystem, e2fsck can not fix things

Hello. rPi 2B. 16GB Sandisk Ultra. Distro is from KeiDei (for their screens) (Raspbian modified with their kernel and video driver). After 6 months using it, and 30 days uptime, system seems not running fine; from live system I got dmesg: [ 6.965717] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) [ 7...
by doublehp
Fri Mar 24, 2017 7:18 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: KeDei 3.5 inch 480x320 TFT lcd from ali
Replies: 219
Views: 123851

Re: KeDei 3.5 inch 480x320 TFT lcd from ali

No, just some people have problems with i2c interface on sys-images from kedei. In some versions of their ROM, they had removed many critical I2C tools; then, put them back. They are disabling completely all I2C features on official I2C pins. I have found several workarounds: https://www.raspberryp...
by doublehp
Fri Feb 24, 2017 2:26 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: KeDei 3.5 inch 480x320 TFT lcd from ali
Replies: 219
Views: 123851

Re: KeDei 3.5 inch 480x320 TFT lcd from ali

Saper_2 : my issue is fixed now: https://www.raspberrypi.org/forums/viewtopic.php?f=44&t=173272 There used to be bugs in the KeDei ROMs (they had removed the I2C drivers around mid 2016, and put it back later). But I2C is still disabled on legacy pins (including ... they disabled the I2C bus on non ...
by doublehp
Mon Feb 20, 2017 5:51 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C bitbanging ?
Replies: 5
Views: 1156

Re: I2C bitbanging ?

I was 100% convienced the test would fail, and I would come back here to say you were wrong. You were right: # tail -n1 /boot/config.txt dtoverlay=i2c-gpio,i2c_gpio_sda=30,i2c_gpio_scl=31,i2c_gpio_delay_us=5 # ls /dev/i2c-3 /dev/i2c-3 # i2cdetect -y 3 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- ...
by doublehp
Fri Feb 03, 2017 9:58 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C bitbanging ?
Replies: 5
Views: 1156

Re: I2C bitbanging ?

I will try your solution tomorrow, but:
- i could not find in google a trivial tuto like the one you just gave me
- depending on how far KeDei disabled stuff in the kernel config, your solution may fail as well.

But for community archives, I will give it a try.
by doublehp
Fri Feb 03, 2017 8:42 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C bitbanging ?
Replies: 5
Views: 1156

Re: I2C bitbanging ?

Joan, thank you. It does the job. I will have to write wrappers, and change a few things, but it's in the scope of what I can do. I was very stupid; I forgot to put pullup on SCL. But even with the pullup, my code still does not work: root@rpi:~# ./i2c.sh * 0x27 : ok * 0x48 : NOPE * 0x72 : NOPE * 0x...
by doublehp
Wed Feb 01, 2017 6:06 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C bitbanging ?
Replies: 5
Views: 1156

I2C bitbanging ?

Hello. I have a few I2C probes, and they stopped working after some update. I used to use official Raspbian, but I am not trying to use a KeDei screen on my rPi-v1. http://kedei.net/raspberry/raspberry.html works fine, as long as you don't need I2C. All I2C pins seem to refuse to move, even when usi...
by doublehp
Wed Feb 01, 2017 12:54 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: KeDei 3.5 inch 480x320 TFT lcd from ali
Replies: 219
Views: 123851

Re: KeDei 3.5 inch 480x320 TFT lcd from ali

I am using the official ROMs from manufacturer: http://kedei.net/raspberry/raspberry.html it was working fine for years, untill I need I2C. Some people complained i2cdetect was not included in some versions of the software ( rpi_35_v6_0_2_jessie_kernel_4_4_11.rar ). After upgrade to rpi_35_v6_1_2_3_...

Go to advanced search