Go to advanced search

by unixcommando
Tue Apr 11, 2017 3:25 pm
Forum: Troubleshooting
Topic: broken filesystem, e2fsck can not fix things
Replies: 33
Views: 7374

Re: broken filesystem, e2fsck can not fix things

This is an rPi forum: sda2 is always /, and it have been resized by resize2fs. You identify /dev/sdk2 not /dev/sda2. Are you trying to argue with me or make me look stupid? Not a great idea for someone looking for help. Would resize2fs put backups at the same place as mkfs ? if no ... useless. Wort...
by unixcommando
Tue Apr 11, 2017 2:42 pm
Forum: Beginners
Topic: Run MySQL on Pi
Replies: 4
Views: 1913

Re: Run MySQL on Pi

Disk issues can be resolved by using an external drive like a WD Pi drive. The 314 drive is inexpensive at about $40. I ran a plex server on a 1T pi drive until I ran out of space. Blazingly fast compared to running on an SD card.

-Bob
by unixcommando
Tue Apr 11, 2017 2:37 pm
Forum: Troubleshooting
Topic: Online LED
Replies: 4
Views: 1168

Re: Online LED

After testing the above solution I found that it does work. Sort of. It has an interesting side effect that I'm not yet clear about whether is a problem or not. Reboot works just fine, but if I do a halt or shutdown -h it shuts down the OS, extinguishes the LED, but doesn't power off the Pi. After t...
by unixcommando
Tue Apr 11, 2017 12:23 am
Forum: Troubleshooting
Topic: Online LED
Replies: 4
Views: 1168

Re: Online LED

Very nice, thank you. Works like a charm. It does turn the LED on earlier than I wanted, but it does keep it asserted until power off so given the choice I'll take the light coming on earlier, at least I'll have confidence the OS is down and the SD card is closed before I power off the device. Thank...
by unixcommando
Mon Apr 10, 2017 6:09 pm
Forum: Advanced users
Topic: Question about a Pi project...
Replies: 9
Views: 1137

Re: Question about a Pi project...

Your best bet would be to write your own boot loader that can read a key from another USB device you provide, then ship both the SD card and the USB key together. Of course you'd have to make the key unreadable from another device so that could be a problem. Then comes the other issue which is GNU C...
by unixcommando
Mon Apr 10, 2017 4:56 pm
Forum: Beginners
Topic: Is this a Good Project for an "Advanced Rookie"--Python/GPIO
Replies: 6
Views: 1035

Re: Is this a Good Project for an "Advanced Rookie"--Python/

Before you begin this buy a book on electricity and electronics and read it from cover to cover. You'll want to know things like voltage drops, resistance, capacitance, and how transistors work. I say this because you're going into more complicated territory than just running a hat or bonnet, or dri...
by unixcommando
Mon Apr 10, 2017 3:07 pm
Forum: Troubleshooting
Topic: Raspbian file system corruption?
Replies: 1
Views: 724

Re: Raspbian file system corruption?

Unlikely, Raspbian uses standard Unix file systems that have been tested over millions, possibly billions of run hours. If there's an issue it's most likely due to your storage which you don't identify. Consumer level SD cards are not meant to be tremendously robust, they're designed to be used to t...
by unixcommando
Mon Apr 10, 2017 2:46 pm
Forum: Troubleshooting
Topic: broken filesystem, e2fsck can not fix things
Replies: 33
Views: 7374

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 bl...
by unixcommando
Mon Apr 10, 2017 2:18 pm
Forum: Troubleshooting
Topic: Online LED
Replies: 4
Views: 1168

Online LED

Hello, I'm working a project where I'm going to have a Pi Zero running in a headless stand alone configuration. Since I won't have a monitor and won't be online I need a way to insure that my Pi is shutdown before it's powered off. The first part is easy, I have a momentary switch I have configured ...
by unixcommando
Sat Mar 25, 2017 11:24 pm
Forum: Troubleshooting
Topic: MPR121 on Pi 3B
Replies: 1
Views: 254

Re: MPR121 on Pi 3B

Thanks to those who looked at my post, even though nobody replied. I was able to solve this on my own.

The tutorial for the MPR121 overlooks a step. The missing step is to enable i2c which is performed via raspi-config. Once I enabled i2c and rebooted the MPR121 responds as expected.

-Bob
by unixcommando
Sat Mar 25, 2017 9:13 pm
Forum: Troubleshooting
Topic: MPR121 on Pi 3B
Replies: 1
Views: 254

MPR121 on Pi 3B

Greetings, Has anyone been successful in getting an MRP121 to work with the Pi 3b? I didn't read the fine print when I ordered it and just assumed it would work with the 3b, but so far no luck, I get an error that it can't find /dev/i2c1 which is true as no such device exists. I've found some pages ...
by unixcommando
Sat Feb 18, 2017 11:36 pm
Forum: Advanced users
Topic: Multi PV LVM Mirror
Replies: 0
Views: 431

Multi PV LVM Mirror

Greetings, One of my Pi's I use as a Plex server which has turned out fantastic. Since I have over 800 films stored on about 2T of storage I found it impractical to try and use a traditional backup scheme, so I mirrored 2 4T disks. This works really well, I feel confident I have storage integrity sh...
by unixcommando
Mon Jan 16, 2017 8:47 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: HDMI To VGA and Avocent DSR8035
Replies: 5
Views: 1789

Re: HDMI To VGA and Avocent DSR8035

WooHoo Success!!! It's taken quite a bit of trial and error on this, but I finally have a solution. My Avocent DS8035 is pretty old and covers 2 generations of hardware. I had been trying the newer dongles, the DRSAVIQ-USB2 which as the name suggests supports USB 1 and USB 2. I could not get these t...
by unixcommando
Mon Jan 02, 2017 5:09 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: HDMI To VGA and Avocent DSR8035
Replies: 5
Views: 1789

Re: HDMI To VGA and Avocent DSR8035

Look for a high quality powered hdmi->vga converter, it may work. The un-powered converters are far less likely to work. The first one I used was powered, hard to know about quality, I think it cost $14 as opposed to the $6 yo $8 I paid for the others which were all supposed to be pi compatible and...
by unixcommando
Tue Dec 13, 2016 5:37 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: HDMI To VGA and Avocent DSR8035
Replies: 5
Views: 1789

Re: HDMI To VGA and Avocent DSR8035

Well, I'm guessing there is no solution for me. I've tried everything I can think of. I've made nearly every configuration change that can be made, and I've tried several HDMI to VGA converters with no change. My best guess is that the power output simply is too low from any Pi converter. I've found...
by unixcommando
Sun Dec 04, 2016 7:21 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: HDMI To VGA and Avocent DSR8035
Replies: 5
Views: 1789

HDMI To VGA and Avocent DSR8035

Greetings, I'm a new convert to the world of Raspberry Pi and a huge fan. I have a couple Pi 3Bs and a couple of Pi Zeros I'm playing with. I'm a Unix Sys Admin by trade so I'm pretty comfortable with Rasbian as it's very similar to Ubuntu machines I use at work. Like at work, I want console to my P...

Go to advanced search