Go to advanced search

by asavah
Fri Aug 24, 2018 10:35 pm
Forum: General discussion
Topic: VLC with HW acceleration
Replies: 7
Views: 267

Re: VLC with HW acceleration

In your vlc source dir there will be a file - config.log.
Upload it to a pastebin-like site and post a link here (don't post the file itself here, it maybe too large), it will tell what's wrong.
by asavah
Mon Jul 30, 2018 11:26 pm
Forum: Linux Kernel
Topic: lib/raid6/neon4.c:118:1: internal compiler error: in dwarf2out_frame_debug_adjust_cfa, at dwarf2cfi.c:1078
Replies: 9
Views: 364

Re: lib/raid6/neon4.c:118:1: internal compiler error: in dwarf2out_frame_debug_adjust_cfa, at dwarf2cfi.c:1078

What's your gcc version/toolchain?

https://github.com/raspberrypi/tools/issues/52

On a side note: that ancient crap on the tools repo should be updated to match gcc/binutils version in raspbian.
by asavah
Sat Jul 28, 2018 1:15 am
Forum: Advanced users
Topic: RPI 3B+ custom kernel wlan0 issues
Replies: 3
Views: 168

Re: RPI 3B+ custom kernel wlan0 issues

epoch1970 wrote:
Fri Jul 27, 2018 4:14 pm
(On buildroot the build chain pulls the .bin file from that OpenElec repo, I'd be interested in knowing if I could get the firmware from an RPF maintained repo instead.)
https://github.com/RPi-Distro/firmware-nonfree ...
by asavah
Thu Jul 19, 2018 11:59 pm
Forum: General discussion
Topic: A new level of seasickness - Or how I learnt to stop worrying and love the new website
Replies: 66
Views: 2782

Re: A new level of seasickness

Note to self: never ever visit any raspberrypi.org pages except the forums, but even the forums got slightly screwed. The design is IMO horrible, all this colors and effects steal the focus from the actual _content_. Have anyone looked at the html source ? It's pure pain to look at. A clear example ...
by asavah
Tue Jul 03, 2018 5:15 pm
Forum: Troubleshooting
Topic: problem with lvm on raspberry pi
Replies: 7
Views: 215

Re: problem with lvm on raspberry pi

Yep, it looks like sdb has a problem. Make sure you are powering both drives with external PSUs, pi may not have enough juice to power both. apt install smartmontools smartctl -a /dev/sdb That will show if drive's firmware has detected any problems provided the drive and the enclosure support SMART ...
by asavah
Tue Jul 03, 2018 1:03 am
Forum: Troubleshooting
Topic: problem with lvm on raspberry pi
Replies: 7
Views: 215

Re: problem with lvm on raspberry pi

Anything in dmesg?
Damaged fs?

Is logical volume activated?

post the output of

Code: Select all

sudo lvscan -av
sudo blkid
by asavah
Mon Jul 02, 2018 12:16 am
Forum: Troubleshooting
Topic: problem with lvm on raspberry pi
Replies: 7
Views: 215

Re: problem with lvm on raspberry pi

> You're sure about that, for raspbian, i mean? In archlinux it would spell Both should be valid in any modern linux. man modprobe , search for underscore conversion. >Since it's not permanent, should i add it to /etc/modules ? Yep, full blown distros either have dm-mod built-in or load it early in ...
by asavah
Sun Jul 01, 2018 4:29 pm
Forum: Troubleshooting
Topic: problem with lvm on raspberry pi
Replies: 7
Views: 215

Re: problem with lvm on raspberry pi

1) modprobe dm-mod
2) don't create lvm pvs on raw devices, you need to partition the disk(s) first and set partition type to Linux LVM
by asavah
Fri Jun 29, 2018 8:44 pm
Forum: Advanced users
Topic: org.bluez.Error.AuthenticationFailed: Authentication Failed
Replies: 1
Views: 178

Re: org.bluez.Error.AuthenticationFailed: Authentication Failed

I haven't tried running your code but from a quick look it may be variable visibility scope problem.

Try declaring bus, dev_path and device_obj as global in def PairingRequest() .
by asavah
Thu Jun 21, 2018 8:52 pm
Forum: Advanced users
Topic: How to get udev ignoring GPIO states upon bootup?
Replies: 7
Views: 355

Re: How to get udev ignoring GPIO states upon bootup?

AFAIK udev does nothing to gpio pins unless explicitly told so. Here is the output from my pi3 after udev has started: | 36 | 1 | IN | GPIO.27 | 27 | 16 | | 38 | 1 | IN | GPIO.28 | 28 | 20 | | 40 | 1 | IN | GPIO.29 | 29 | 21 | The pins you see in ALT0 are used for i2s , if i2s is enabled in config.t...
by asavah
Sun Jun 17, 2018 12:17 pm
Forum: Troubleshooting
Topic: Oblogout not working
Replies: 1
Views: 128

Re: Oblogout not working

The software you are trying to use was archived (This repository has been archived by the owner. It is now read-only.) And it is probably no longer supported by the author. The software is trying to use a call to a function in PIL (Pillow) which was removed a long time ago. Either fix it yourself (t...
by asavah
Sat Jun 16, 2018 9:54 am
Forum: Advanced users
Topic: why no /proc/sys/kernel/hotplug ?
Replies: 3
Views: 383

Re: why no /proc/sys/kernel/hotplug ?

I 've told you already - there is no way to disable CONFIG_HOTPLUG (that WAS the option), they've removed the option, it does not exist any longer. It's ON. ALWAYS. You don't need to enable it. https://github.com/raspberrypi/linux/blob/rpi-4.14.y/arch/arm64/configs/bcmrpi3_defconfig Try enabling CON...
by asavah
Thu Jun 14, 2018 10:09 pm
Forum: Python
Topic: PHP not receiving POST request from python
Replies: 6
Views: 526

Re: PHP not receiving POST request from python

What scotty said is absolutely correct.
That's why I asked about testing method.

It works exactly as expected.
by asavah
Thu Jun 14, 2018 10:00 pm
Forum: Advanced users
Topic: why no /proc/sys/kernel/hotplug ?
Replies: 3
Views: 383

Re: why no /proc/sys/kernel/hotplug ?

Why do you need it? In modern systems udev handles hotplug , there is no need echoing binary path into /proc/sys/kernel/hotplug , unless you are trying to make an embedded os with eg. busybox. CONFIG_HOTPLUG is on by default and there is no way to turn it off in modern kernels, I don't remember when...
by asavah
Thu Jun 14, 2018 9:44 pm
Forum: Python
Topic: PHP not receiving POST request from python
Replies: 6
Views: 526

Re: PHP not receiving POST request from python

I don't get it - how are you testing this?
Run script in terminal and then open the page in browser?
by asavah
Tue Jun 12, 2018 10:50 pm
Forum: Python
Topic: How do I create a Loop in Python3 / tkinter
Replies: 3
Views: 371

Re: How do I create a Loop in Python3 / tkinter

First we need to get you initial values (kwhrgrad) into a list, we could do kwhrgradlist = [0.1,0.2, ....] but that's ugly and not pythonic ... Let python do the dirty work: [x / 10.0 for x in range(1, 40)] Now let's put it to work with your var; for kwhrgrad in [x / 10.0 for x in range(1, 40)]: out...
by asavah
Sun Jun 10, 2018 10:39 pm
Forum: Python
Topic: build of python 3.6 has 'lost' installed python3 dist_packages
Replies: 3
Views: 352

Re: build of python 3.6 has 'lost' installed python3 dist_packages

Also besides /usr/local path stuff do note: */dist-packages is a debian (also inherited by raspbian, ubuntu and all derivatives) thing ! Python itself and distutils are patched to support dist-packages. You can read more about this at https://wiki.debian.org/Python If you build any python version fr...
by asavah
Sun Jun 10, 2018 2:23 pm
Forum: Advanced users
Topic: MDADM RAID0 Activity lights stuck on
Replies: 1
Views: 128

Re: MDADM RAID0 Activity lights stuck on

Did you format your array with ext4? You probably are experiencing this -> http://fibrevillage.com/storage/474-ext4-lazy-init Just let it be, it'll stop at some point, pi USB is too slow for 2 big, new, probably sata3 drives. >but since I wanted it to show up as a single 8TB drive, I could not find ...
by asavah
Sun Jun 03, 2018 5:19 pm
Forum: Troubleshooting
Topic: [SOLVED] MPEG 2 License Not Working after new install
Replies: 9
Views: 306

Re: MPEG 2 License Not Working after new install

Check gpu_mem in /boot/config.txt
AFAIK codecs will "activate" with at least gpu_mem=32
by asavah
Sun Jun 03, 2018 5:14 pm
Forum: Troubleshooting
Topic: Python script if-block fail
Replies: 2
Views: 110

Re: Python script if-block fail

You use wrong "and".
In python '&' is "bitwise and" https://wiki.python.org/moin/BitwiseOperators
Use plain boolean "and".

Code: Select all

 if relay == 1 and state == 0:
by asavah
Thu May 31, 2018 7:30 pm
Forum: Troubleshooting
Topic: sendmail
Replies: 4
Views: 229

Re: sendmail

I think I gave you enough pointers so you could do your own research.
google://raspbian ssmtp
by asavah
Wed May 30, 2018 11:38 pm
Forum: Troubleshooting
Topic: sendmail
Replies: 4
Views: 229

Re: sendmail

I'm fundamentally having a problem sending to my ISP on port 143 which is what they require for incoming e-mail, but I'll hold that off for another post ... What exactly are you trying to achieve? Receive (read) mail from your inbox at ISP server? (sendmail can't do that) Or send email to another m...
by asavah
Sun May 27, 2018 1:57 pm
Forum: Python
Topic: DisplayOTron
Replies: 66
Views: 2083

Re: DisplayOTron

As the others have already said you need to learn the basics of Python before trying to jump to more advanced stuff. "This is not my way to learn" or whatever you have typed earlier is complete nonsense. No one is going to waste their time to fix every new error you are getting because you don't kno...
by asavah
Sun May 27, 2018 1:40 pm
Forum: Troubleshooting
Topic: Emergency mode: root account locked init=/bin/sh does not work
Replies: 3
Views: 289

Re: Emergency mode: root account locked init=/bin/sh does not work

try adding

Code: Select all

init=/bin/bash
note the slash before "bin"

Go to advanced search