Go to advanced search

by Gene1934
Tue Jul 09, 2019 6:20 am
Forum: Advanced users
Topic: Swap file and partition in Raspbian!
Replies: 5
Views: 773

Re: Swap file and partition in Raspbian!

The problem with that will be the eventual destruction of the sd card even if you use a 64GB card on a 7GB used system. The application its running keeps both its configs and its work files on the sd card, and I will likely do yet another smaller partition on one of the ssd's which will reduce the w...
by Gene1934
Sat Jul 06, 2019 7:53 pm
Forum: Advanced users
Topic: Swap file and partition in Raspbian!
Replies: 5
Views: 773

Re: Swap file and partition in Raspbian!

There is a considerable advantage, and all you need is a decent ssd with a swap partition allocated, and an entry in the /etc/fstab that looks something like this: PARTUUID=000ba889-02 none swap sw 0 0 Replace the PARTUUID number with the correct one obtained from blkid after plugging in the drive w...
by Gene1934
Sun Jun 30, 2019 11:30 pm
Forum: Advanced users
Topic: New RT (Real Time) kernel branch
Replies: 66
Views: 26887

Re: New RT (Real Time) kernel branch

I just last week got around to using the guysoft RealtimePi converter to generate an installable version of stretch-full to a pi-3b that is running a big old Sheldon lathe using linuxcnc. That kernel still doesn't know anything about the pi's video engines so its still a framebuffer that runs close ...
by Gene1934
Tue Oct 23, 2018 3:03 pm
Forum: Troubleshooting
Topic: Can G-Code sender apps communicate through GPIO pins?
Replies: 1
Views: 428

Re: Can G-Code sender apps communicate through GPIO pins?

Basically,no, when your "without any other hardware" constraint is applied. With that removed, interface cards designed for the spi bus become available, but by the time you've enough hardware collected to use the spi bus at quite amazing speeds, you'll have around $250 invested in that hardware. An...
by Gene1934
Tue Oct 23, 2018 10:17 am
Forum: Troubleshooting
Topic: Any new news on linuxcnc on PI3
Replies: 8
Views: 11818

Re: Any new news on linuxcnc on PI3

Using an rpi3b for linuxcnc, you will need a mesa 7i90HD interface card, and 3 ea 7i42TA's The 7i42TA's are protection for the 7i90HD as its a 3.3 volt max logic level card, and trying to feed it a 5 volt for logic one will blow that pin. You will need to make up 3 ea 50 pin cables to connect from t...
by Gene1934
Sun Sep 09, 2018 3:51 pm
Forum: Troubleshooting
Topic: keyboard/mouse preferences not saved over a reboot
Replies: 0
Views: 237

keyboard/mouse preferences not saved over a reboot

rpi3b, updated raspian jessie, pinned kernel because its running a realtime app called linuxcnc This kernel : 4.4.4-rt9-v7+ #7 SMP PREEMPT RT and its matching lib are pinned so keeping it uptodate won't destroy my ability to run linuxcnc, which is a very time sensitive app. Its boots, runs anything ...
by Gene1934
Thu Jul 05, 2018 7:34 pm
Forum: Troubleshooting
Topic: fstab confusion on r-pi-3b, jessie install
Replies: 4
Views: 411

Re: fstab confusion on r-pi-3b, jessie install

obviously I must have done something right now, it does NOT show up in /etc/mtab, but htop now reports a definitely large swap, and I have started a kernel build just to get an idea if the pi is even capable of completing the job if it has enough swap, which is why I wanted it on spinning rust. Than...
by Gene1934
Thu Jul 05, 2018 5:38 pm
Forum: Troubleshooting
Topic: fstab confusion on r-pi-3b, jessie install
Replies: 4
Views: 411

Re: fstab confusion on r-pi-3b, jessie install

Thank you. using PARTUUID as reported by blkid, worked except its report as ext4, not swap. I could have sworn I had gparted do a mkswap on that partition. From a cat /etc/mtab: /dev/sda2 /media/pi/105d56ad-c48a-4159-a6f2-e8193bb21a3a ext4 rw,nosuid,nodev,relatime,stripe=8191,data=ordered 0 0 So as ...
by Gene1934
Thu Jul 05, 2018 4:37 pm
Forum: Troubleshooting
Topic: fstab confusion on r-pi-3b, jessie install
Replies: 4
Views: 411

fstab confusion on r-pi-3b, jessie install

Whats the magic potion for use in the fstab, to mount a spinning rust swap plugged to a usb-2 port on a pi-3b?
by Gene1934
Tue Jun 26, 2018 12:02 am
Forum: Advanced users
Topic: New RT (Real Time) kernel branch
Replies: 66
Views: 26887

Re: New RT (Real Time) kernel branch

Ping!

Cheers Gene1934;
by Gene1934
Mon Jun 25, 2018 12:43 am
Forum: Advanced users
Topic: New RT (Real Time) kernel branch
Replies: 66
Views: 26887

Re: New RT (Real Time) kernel branch

I have git pulled the zip of the kernel being announced here, but there is not a sufficiently new versions of things such as sphinx available to a jessie install, so I can't build the pddfdocs to serve as a quide while building it on jessie installed on a pi3b. Where can I find a copy of sphinx-1.3 ...
by Gene1934
Thu Jun 22, 2017 2:07 pm
Forum: Troubleshooting
Topic: .pref file acknowledged, but ignored
Replies: 0
Views: 311

.pref file acknowledged, but ignored

Greetings; Because the application needs at least an tr-preempt kernel, I have created, in /etc/apt/preferences.d, a "pin" file: pi@picncsheldon:~ $ cd /etc/apt/preferences.d pi@picncsheldon:/etc/apt/preferences.d $ ls kernel.pref <---- pi@picncsheldon:/etc/apt/preferences.d $ containing the current...
by Gene1934
Tue May 23, 2017 10:46 pm
Forum: Raspberry Pi OS
Topic: Now no stuff on xscreen.
Replies: 0
Views: 287

Now no stuff on xscreen.

Now I have a blank x screen with a moving mouse pointer when I move the mouse . This after I had tried to do a "sudo fbset -depth 24". I've found that after a reboot, it is back to 16, but I have to right click and select a terminal from that popup menu before I can do anything else. The anything el...
by Gene1934
Tue May 23, 2017 5:27 pm
Forum: Raspberry Pi OS
Topic: US keyboard, cannot get single or doble quotes
Replies: 3
Views: 707

Re: US keyboard, cannot get single or doble quotes

yes those all worked, just the quotes failed. First key left of Enter. But that is now fixed. Q: Why cannot a sudo session of raspi-config write to stuff in /etc/default? I always wind up hand editing both locale and keyboard. But now, after trying to run "sudo fbset -depth 24", I have no x except a...
by Gene1934
Tue May 23, 2017 3:05 pm
Forum: Raspberry Pi OS
Topic: US keyboard, cannot get single or doble quotes
Replies: 3
Views: 707

US keyboard, cannot get single or doble quotes

I've got a raspi just about running, but one last problem. Every US character on the top row works fine, but the quote key, immediately left of the enter key is still in some sort of a compose mode, in that nothing happens when you press it, repeatedly even. But then type another key, and the screen...
by Gene1934
Sun May 14, 2017 6:07 pm
Forum: Troubleshooting
Topic: RPI3 stopped booting after upgrade
Replies: 4
Views: 966

Re: RPI3 stopped booting after upgrade

I've had this same problem, won't boot after kernel upgrade. I also have a very frustrating bit of spi failure, which prevents the running of the software this whole project was built for, but the failure comes and goes. LinuxCNC has its own requirements, needing an rt-preempt kernel in order to run...
by Gene1934
Fri May 05, 2017 3:33 am
Forum: General discussion
Topic: 05/02/2017 update linuxcnc bricked sd card
Replies: 28
Views: 3129

Re: 05/02/2017 update linuxcnc bricked sd card

Fake / broken SD card? brand new PNY's. Samsung seems to be the same with their class 10. That claimed 85 is read, not write. Thanks runboy93 Cheers, gene In the FWIW dept, the dd session finally finished, reporting a write speed of 860kb/sec on a SamSung class 10 card. I took it out and booted the...
by Gene1934
Fri May 05, 2017 12:07 am
Forum: General discussion
Topic: 05/02/2017 update linuxcnc bricked sd card
Replies: 28
Views: 3129

Re: 05/02/2017 update linuxcnc bricked sd card

runboy93 wrote:Fake / broken SD card?
brand new PNY's. Samsung seems to be the same with their class 10. That claimed 85 is read, not write.

Thanks runboy93

Cheers, gene
by Gene1934
Thu May 04, 2017 11:26 pm
Forum: General discussion
Topic: 05/02/2017 update linuxcnc bricked sd card
Replies: 28
Views: 3129

Re: 05/02/2017 update linuxcnc bricked sd card

I'm wondering whether or not a simple "sync" command after the upgrade would eliminate this issue? Maybe something to test :) That's something I always do after a dd operation if I am in a hurry, but the ext# drivers will take care of that if the file is closed in not more than 5 seconds anyway. Th...
by Gene1934
Thu May 04, 2017 5:00 pm
Forum: General discussion
Topic: 05/02/2017 update linuxcnc bricked sd card
Replies: 28
Views: 3129

Re: 05/02/2017 update bricked sd card

This isn't a bricked card, it's just a broken OS installation, since the cards are still working. They just have rubbish on them. Do you get as far as being able to do a dmesg? No, that last single blink of the led about 1 second after power is applied is the end, no video, probably no tty if it wa...
by Gene1934
Thu May 04, 2017 3:16 pm
Forum: General discussion
Topic: 05/02/2017 update linuxcnc bricked sd card
Replies: 28
Views: 3129

Re: 05/02/2017 update bricked sd card

are the broken cards really broken - i.e. you cannot format them or anything ? No problem reading or writing to them in a card reader, none of them has ever gone read-only. fsck's are happy too, but they will not boot the pi. I've dd cloned the one card I have left in a non-updated state, which boo...
by Gene1934
Thu May 04, 2017 10:31 am
Forum: General discussion
Topic: 05/02/2017 update linuxcnc bricked sd card
Replies: 28
Views: 3129

Re: 05/02/2017 update bricked sd card

because linuxcnc is under active development? Fresh buildbot output is available 3 to 5 times a week, when the buildbot is up It was down yesterday,. Humm, what if I comment out all the jessie stuff in my sources.list. I could, but the idea is to run uptodate stuff, finding crap this before it bites...
by Gene1934
Thu May 04, 2017 10:05 am
Forum: General discussion
Topic: 05/02/2017 update linuxcnc bricked sd card
Replies: 28
Views: 3129

Re: 05/02/2017 update bricked sd card

1) get a fresh sdcard 2) download the latest jessie 3) boot that 4) sudo sh -c 'apt-get Update && apt-get dist-upgrade -y' 5) reboot; is everything OK ? Because I'm running a locked kernel version, 4.4.4-rt9-v7+ I can't use the latest jessie without massaging the config.txt to specify that kernel v...
by Gene1934
Thu May 04, 2017 12:20 am
Forum: General discussion
Topic: 05/02/2017 update linuxcnc bricked sd card
Replies: 28
Views: 3129

Re: 05/02/2017 update bricked sd card

Some one above asked how I was powering the pi. It and a mesa 7i90 interface card share a 5 volt, 4 amp supply. Solid as a rock at 5.08 volts. Might be 50 mv of noise, partially from the separately powered motor drivers. Coupling is by an rpspi bus driver that runs at 32 megabaud between the pi and ...
by Gene1934
Wed May 03, 2017 7:13 pm
Forum: General discussion
Topic: 05/02/2017 update linuxcnc bricked sd card
Replies: 28
Views: 3129

Re: 05/02/2017 update bricked sd card

unplugging the drive didn't make it work, so I unplugged the radio buttons for the keyboard and mouse, so nothing is plugged into any of the 4 ports on the end of the card. And I'm rebooting it again. Didn't make any diff. What editor can I use that WILL delete the final 0x000a on that config.txt fi...

Go to advanced search