Go to advanced search

by Robi_G1
Thu Sep 05, 2019 3:34 pm
Forum: Troubleshooting
Topic: Kernel Panic When Booting from 64GB SD Card
Replies: 6
Views: 143

Re: Kernel Panic When Booting from 64GB SD Card

pcmanbob wrote:
Thu Sep 05, 2019 3:19 pm
Robi_G1 wrote:
Thu Sep 05, 2019 2:17 pm

Having tried 3 different, brand-new SD cards, this seems unlikely. I did a single pass check for bad sectors on two of the cards, and they both passed with no faults.
What software did you use to test your SD cards ?
Rufus (3.5.1497)
by Robi_G1
Thu Sep 05, 2019 2:17 pm
Forum: Troubleshooting
Topic: Kernel Panic When Booting from 64GB SD Card
Replies: 6
Views: 143

Re: Kernel Panic When Booting from 64GB SD Card

B.Goode wrote:
Thu Sep 05, 2019 1:27 pm
I would be inclined to suspect that your 64Gb card is partially faulty or failing
Having tried 3 different, brand-new SD cards, this seems unlikely. I did a single pass check for bad sectors on two of the cards, and they both passed with no faults.
by Robi_G1
Thu Sep 05, 2019 1:10 pm
Forum: Troubleshooting
Topic: Kernel Panic When Booting from 64GB SD Card
Replies: 6
Views: 143

Re: Kernel Panic When Booting from 64GB SD Card

I've since tried a Buster image instead of Stretch, and it boots just fine. Very strange. Is this a known issue with Stretch?
by Robi_G1
Thu Sep 05, 2019 12:47 pm
Forum: Troubleshooting
Topic: Kernel Panic When Booting from 64GB SD Card
Replies: 6
Views: 143

Kernel Panic When Booting from 64GB SD Card

As per title, when I try booting from a 64GB SD card, the attached error message comes up, and the systems hangs indefinitely. I've read through the boot sticky on this forum, and have tried reformatting the drive as FAT32 after wiping the drive and removing all the partitions (although that shouldn...
by Robi_G1
Mon Jul 22, 2019 9:25 am
Forum: Advanced users
Topic: Problems exporting an NFS share
Replies: 5
Views: 252

Re: Problems exporting an NFS share

Have you considered iscsi for the "NFS server" pi's? Each presents a disk to the "head" pi and only NFS export from the "head". Haven't played with iscsi before, and while what you've suggested sounds just like the kind of simultaneously elegant and messy thing I love, it's impossible to guarantee ...
by Robi_G1
Thu Jul 18, 2019 3:59 pm
Forum: Advanced users
Topic: Problems exporting an NFS share
Replies: 5
Views: 252

Re: Problems exporting an NFS share

After much faffing, I ended up with a working but incredibly unreliable solution that would (and did) fail more than 1/2 the time the system was reset. Workarounds involved changes to /etc/exports (completely futile), changes to /etc/fstab to try to tell systemd to wait (each attempt just changed th...
by Robi_G1
Thu Jul 18, 2019 8:26 am
Forum: Advanced users
Topic: Problems exporting an NFS share
Replies: 5
Views: 252

Problems exporting an NFS share

I've got a project where several pi's run NFS servers and export a directory (one each). Another pi then mounts these directories, and exports them on its own NFS server. A laptop then mounts these over direct wifi connection to the 'head' pi. The idea being that the laptop only has to make one conn...
by Robi_G1
Thu Jul 04, 2019 1:09 pm
Forum: Camera board
Topic: Way of Detecting Bad Frame on MIPI Line?
Replies: 3
Views: 484

Re: Way of Detecting Bad Frame on MIPI Line?

rawcam ignores all the errors and silently resets them. bcm2835-unicam does likewise, but you could amend the driver to do differently - https://github.com/raspberrypi/linux/blob/rpi-4.19.y/drivers/media/platform/bcm2835/bcm2835-unicam.c#L642 Following on from that advice, I've read half the Debain...
by Robi_G1
Wed Jun 26, 2019 3:51 pm
Forum: Troubleshooting
Topic: Can't compile BCM2835-unicam
Replies: 0
Views: 86

Can't compile BCM2835-unicam

This leads on from this topic https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=243204&p=1483047#p1483047 but to refrain from going off-topic, have made a new topic here. I'm trying to make the bcm2835 driver here: https://github.com/raspberrypi/linux/tree/rpi-4.19.y/drivers/media/platform/bcm...
by Robi_G1
Fri Jun 21, 2019 3:51 pm
Forum: Camera board
Topic: Way of Detecting Bad Frame on MIPI Line?
Replies: 3
Views: 484

Re: Way of Detecting Bad Frame on MIPI Line?

Thanks, that's my Monday filled up nicely.
by Robi_G1
Fri Jun 21, 2019 10:30 am
Forum: Camera board
Topic: Way of Detecting Bad Frame on MIPI Line?
Replies: 3
Views: 484

Way of Detecting Bad Frame on MIPI Line?

Hi all, I'm using raspiraw on a project, and have a MIPI splitter MUXing 2 cameras to the pi. The cameras are triggered off of an external signal, but for a yet to be diagnosed reason, the cameras will sometimes trigger themselves, with the tail-end of this spurious data appearing at the pi when the...
by Robi_G1
Wed May 15, 2019 3:45 pm
Forum: Camera board
Topic: Raspiraw stuttering
Replies: 12
Views: 513

Re: Raspiraw stuttering

Update:
Wrote a super-simple python script to move all files from /dev/shm to SD card every seconds. 5 minutes in and things appear to be going well.

It's been a full day of learning. Thanks for the help.
by Robi_G1
Wed May 15, 2019 3:21 pm
Forum: Camera board
Topic: Raspiraw stuttering
Replies: 12
Views: 513

Re: Raspiraw stuttering

Good news and bad news. Good news: I can now save all the files I like. Bad news: Once I fill RAM (~188MB on the Pi Zero), all the files saved are empty. So I have ~450 files of 407kB (good), then a few 1000 files of 0B (not good). So it looks like swap space isn't being used. I tried with 600 image...
by Robi_G1
Wed May 15, 2019 12:44 pm
Forum: Camera board
Topic: Raspiraw stuttering
Replies: 12
Views: 513

Re: Raspiraw stuttering

I'm sure there is a way of defining parameters for /dev/shm when it gets created during the boot process, but I don't know where it is. You can change it "on the fly" like this sudo mount -o remount,nr_inodes=1000000 /dev/shm which will give you a lot of inodes to play with. Hmm, I think you can pu...
by Robi_G1
Wed May 15, 2019 11:15 am
Forum: Camera board
Topic: Raspiraw stuttering
Replies: 12
Views: 513

Re: Raspiraw stuttering

I think you have your answer! It looks that way. Thanks to the both of you for the fast replies and assistance. Is there a way to change inode rate when installing Raspbian like there is in Debian with it's “standard”, “news”, “largefile”, "largefile4” options? Or could I install raspbian normally,...
by Robi_G1
Wed May 15, 2019 9:24 am
Forum: Camera board
Topic: Raspiraw stuttering
Replies: 12
Views: 513

Re: Raspiraw stuttering

What does

Code: Select all

df -i /dev/shm
show?

I get a total of 125022 on a recent Raspbian Stretch install. <snip>
Well this is interesting...
55479 inodes, of which 55478 are free.
by Robi_G1
Wed May 15, 2019 8:39 am
Forum: Camera board
Topic: Raspiraw stuttering
Replies: 12
Views: 513

Re: Raspiraw stuttering

File limit appears to be confirmed. The addition of 31 files / folders to /dev/shm resulted in 55447 images saved, summing to 55478. So If there's a way of removing this artificial (at least it looks that way) limit, then that immediately solves everything. On my list of TODOs for today is: * Post o...
by Robi_G1
Wed May 15, 2019 7:56 am
Forum: Camera board
Topic: Raspiraw stuttering
Replies: 12
Views: 513

Raspiraw stuttering

I've been playing around with Raspiraw and an 'unsupported' sensor, and have so far successfully got 640x480 raw images out of it. The problem is that during records, every x amount of time (can be 10s, can be 1s, appears to be random) I get a stutter of maybe 1/2 a second (again, it varies). This p...

Go to advanced search