View Issue Details
230 [Bananian Linux] General tweak unable to reproduce 2017-01-09 11:39 2017-01-09 11:39
packetflow  
 
low  
new 16.04  
open  
none    
none  
   
Report 0000068: did disable OTG as default, but no documentation available how to get it enabled again
In 0000068 the OTG support was disabled by default. Currently there is no documentation how to revert it back that the OTG is enabled again.
There are no notes attached to this issue.





View Issue Details
229 [Bananian Linux] General minor always 2017-01-03 12:59 2017-01-03 13:00
Matthias  
 
normal  
new 16.04  
open  
none    
none  
   
Missing libpam-systemd (required by policykit-1)
I want to install the package hplip but the package libpam-systemd is not installable.
aptitude install hplip
root@bananabackup ~ # uname -a
Linux bananabackup 4.4.34-bananian #2 SMP Fri Nov 25 14:31:28 UTC 2016 armv7l GNU/Linux
root@bananabackup ~ # cat /etc/bananian_version
160401
root@bananabackup ~ # aptitude install hplip
Die folgenden NEUEN Pakete werden zusätzlich installiert:
  hplip hplip-data{a} libdbus-glib-1-2{a} libexif12{a} libgd3{a} libgphoto2-6{a} libgphoto2-port10{a} libhpmud0{a} libieee1284-3{a} libltdl7{a} libpci3{a} libperl5.20{a}
  libpolkit-agent-1-0{a} libpolkit-backend-1-0{a} libpolkit-gobject-1-0{a} libpython-stdlib{a} libpython2.7-minimal{a} libpython2.7-stdlib{a} libsane{a} libsane-common{a}
  libsane-hpaio{a} libsensors4{a} libsnmp-base{a} libsnmp30{a} libv4l-0{a} libv4lconvert0{a} libvpx1{a} libwebp5{a} libwebpdemux1{a} libwebpmux1{a} libxpm4{a} mime-support{a}
  policykit-1{ab} printer-driver-hpcups{a} python{a} python-dbus{a} python-dbus-dev{a} python-gobject-2{a} python-imaging{a} python-minimal{a} python-pexpect{a} python-pil{a}
  python-reportlab{a} python-reportlab-accel{a} python2.7{a} python2.7-minimal{a}
Die folgenden Pakete werden EMPFOHLEN, aber NICHT installiert:
  file libgphoto2-l10n libsane-extras printer-driver-postscript-hp python-renderpm sane-utils
0 Pakete aktualisiert, 46 zusätzlich installiert, 0 werden entfernt und 0 nicht aktualisiert.
22,2 MB an Archiven müssen heruntergeladen werden. Nach dem Entpacken werden 60,8 MB zusätzlich belegt sein.
Die folgenden Pakete haben verletzte Abhängigkeiten:
 policykit-1 : Hängt ab von: libpam-systemd ist aber nicht installierbar.
Die folgenden Aktionen werden diese Abhängigkeiten auflösen:

     Beibehalten der folgenden Pakete in ihrer aktuellen Version:
1) hplip [Nicht installiert]
2) policykit-1 [Nicht installiert]



Diese Lösung akzeptieren? [Y/n/q/?] q
Alle Anstrengungen, diese Abhängigkeiten aufzulösen, aufgegeben.
Abbruch.
aptitude install hplip 16,94s user 0,48s system 6% cpu 4:15,82 total
1 root@bananabackup ~ # aptitude show libpam-systemd :(
Keine aktuelle Version oder Installationskandidat für libpam-systemd gefunden
Paket: libpam-systemd
Zustand: nicht installiert
Multi-Arch: same
Version: 230-7~bpo8+2
Priorität: optional
Bereich: admin
Verwalter: Debian systemd Maintainers <pkg-systemd-maintainers@lists.alioth.debian.org>
Architektur: armhf
Unkomprimierte Größe: 251 k
Hängt ab von: libc6 (>= 2.17), libgcc1 (>= 1:4.4.0), libpam0g (>= 0.99.7.1), libselinux1 (>= 1.32), systemd (= 230-7~bpo8+2), libpam-runtime (>= 1.0.1-6), dbus, systemd-shim (>=
               8-2) | systemd-sysv
Beschreibung: system and service manager - PAM module
 This package contains the PAM module which registers user sessions in the systemd control group hierarchy for logind.
 
 If in doubt, do install this package.
 
 Packages that depend on logind functionality need to depend on libpam-systemd.
Homepage: http://www.freedesktop.org/wiki/Software/systemd [^]

aptitude show libpam-systemd 5,53s user 0,32s system 99% cpu 5,888 total
root@bananabackup ~ #
Notes
(0000399)
Matthias   
2017-01-03 13:00   
root@bananabackup ~ # cat /etc/apt/sources.list
deb http://ftp.de.debian.org/debian/ [^] jessie main non-free contrib
deb-src http://ftp.de.debian.org/debian/ [^] jessie main non-free contrib

deb http://security.debian.org/ [^] jessie/updates main contrib non-free
deb-src http://security.debian.org/ [^] jessie/updates main contrib non-free
deb http://ftp.debian.org/debian [^] jessie-backports main

root@bananabackup ~ # cat /etc/apt/sources.list.d/bananian.list
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# Use bananian-update to get the latest release!
deb http://dl.bananian.org/packages/ [^] 1604 main





View Issue Details
228 [Bananian Linux] Kernel minor always 2016-12-30 17:14 2016-12-30 17:14
oguska  
 
normal  
new Kernel 4.3  
open  
none    
none  
   
Mainline kernel 4.4.34 ax209 values
Mainline kernel 4.4.34 with 16.04, can't get any data from pmu ax209

We can get a patch to the kernel until a proper driver.
Please check

[WIP] sysfs entries for axp20x mfd driver
For mainline kernel 4.4+
Main purpose of this patch is creating sysfs interface to get information from AXP202/209 PMU until proper power driver is implemented in mainline kernel.
https://github.com/zador-blood-stained/axp209-sysfs-interface [^]
There are no notes attached to this issue.





View Issue Details
227 [Bananian Linux] Hardware feature always 2016-12-27 07:23 2016-12-27 07:23
lambdaman  
 
normal  
new 16.04  
open  
none    
none  
   
Lost Support for /dev/cedar_dev
When I run bananian-config in 15.04 (wheezy) I can enable accelerated graphics, which makes the /dev/cedar_dev device become available. Bananian 16.04 does not allow this option, instead asking me about the mainline kernel. This report requests that the accelerated graphics option be added to 16.04.
Start with a fresh bananian 16.04 install. Run bananian-config. Observe that the option to enable accelerated graphics is not present.
Commit a419ed8 in https://github.com/Bananian/bananian [^] removed the part of bananian-config that used to prompt me to enable accelerated graphics.
There are no notes attached to this issue.





View Issue Details
226 [Bananian Linux] Kernel crash always 2016-10-27 03:00 2016-11-23 06:45
Stricted  
 
normal  
new  
open  
none    
none  
   
gpio seems to be broken on banana pi
on my banana pi i have the strange problem that gpio is broken after updating the kernel to 4.4.26
on fbtft i get this output
[ 189.505982] fb_ili9340 spi0.0: fbtft_request_gpios: gpio_request_one('reset'=27) failed with -517
so i tried to confirm that with wiringPi and there i get some strange results
root@bananapi:~# gpio export 17 out
gpio: Warning: File not present: /sys/class/gpio/gpio17/edge

so it seems that the gpio support on the 4.4.26 is broken, on the 3.4.112 kernel everything is working as expected
 
Notes
(0000397)
Stricted   
2016-10-27 03:12   
sry forgot one console output in my report
root@bananapi:~# gpio edge 17 out
gpio: Unable to open GPIO edge interface for pin 17: Permission denied
(0000398)
holleywebw   
2016-11-23 06:45   
Delivery Time:
In-stock orders are shipped within maximum 2 working days after the payments are entered to our account. Nornal order need 5-7 days to arrange the production line. We ship from Monday till Friday. Orders submitted on Saturdays, Sundays and certain enounced holidays will be processed the next working day.
The average delivery time is two or three weeks depending on delivery company and destination address.

Shipment Cost:
They are calculated due to the order amount.
How to Minimize the Number of Shipments:
If items you have ordered are available from several stocks, please, do not hesitate to contact our sales managers. We will do our best to group the ordered items into the fewest shipments possible. Depending on the availability of the items you're purchasing, you might have to wait a bit longer for your order to ship, but you'll save money on shipping.

Tracking Your Package:
As soon as your order is paid, Holleyweb will ship the ordered items to you by means of the delivery company you've selected. Our manager will send you an e-mail with the tracking or delivery confirmation number of your package, enabling you to track the parcel all its way to you. The logged customer can track the package directly from hisher account page on Holleyweb.com. For this purpose you should enter Order History section and click on delivery confirmation number of the shipped package in question. Alternatively you can track your package directly from the website of the respective delivery company*.
* This option may not be supported by all delivery companies.
If you would like to check whether your order has been already shipped, please use Invoice Tracking service on your account page.**
** Please note that a buyer may track the delivery at least in 1-2 days after obtaining the tracking number. This happens due to package registration policy adopted by delivery companies and should not make customers worried about their orders.
https://www.holleyweb.com/bubble-soccer-c-898.html/ [^]





View Issue Details
225 [Bananian Linux] Kernel minor always 2016-10-26 20:44 2016-10-26 20:45
hbehrendt  
Nico  
normal  
assigned 16.04  
open  
none    
none  
   
Kernel 4.4.x drbd Module
für die zukünftigen Kernels wäre die Aktivierung des Moduls drbd hilfreich.
 Ich bin gerade am experimentieren mit den drbd, da glusterfs sehr hohe
 Systemlasten verursacht. Zudem bieten sie die Bananas als "Home" Cluster
 geradezu an
Load Module drbd
There are no notes attached to this issue.





View Issue Details
206 [Bananian Linux] Kernel minor have not tried 2016-04-26 08:16 2016-10-26 19:54
vengador  
Nico  
high  
assigned 16.04  
open  
none    
none  
   
SATA HDD not being detected up on Banana Pro - workaround available, see comments!
After Update from 15.08 with kernel 4.3.3 to 16.04 the hdd connected via sata is not being detected and doesn't show up under /dev/.
Before the update die hdd worked fine. It still spins up but doesn't show up.
From what I read on that site it could be an issue with uboot: http://forum.armbian.com/index.php/topic/691-banana-pro-testers-wanted-sata-drive-not-working-on-some-boards/page-1 [^]
Notes
(0000365)
Nico   
2016-04-26 14:23   
Please install the package "u-boot-pro-bananian":
aptitude install u-boot-pro-bananian

and reboot
(0000366)
vengador   
2016-04-26 14:31   
Thank you, this solved the issue!
(0000390)
Nico   
2016-07-14 14:28   
This needs to be documented before the next release, which will use 4.x as the default kernel.
(0000395)
eddy551   
2016-09-30 18:59   
Hey. I have the same problem with my banana pro. 16.04 with kernel 3.4.111 is fine, but after updating to kernel 4.4.7, fdisk doesn't show my hdd on the sata port. Even with the u-boot-pro-bananian patched, I got no success. Could you please help me?





View Issue Details
181 [Bananian Linux] Kernel feature always 2015-12-22 10:42 2016-10-24 16:55
ilvipero  
Nico  
low  
resolved 15.08  
fixed  
none    
none  
   
bananian Kernel compilation for TC/QoS
I am testing Traffic Shaping/Control on bananian (BPI-R1 Hardware) and it seems some prerequisite kernel options are missing.
It would be very good to have those enabled by default in future releases.

Adding 2 sources for reference:
http://www.tldp.org/HOWTO/html_single/Traffic-Control-HOWTO/#s-kernel [^]
http://shorewall.net/traffic_shaping.htm#Kernel [^]
According to config-3.4.108-bananian, the options are not included in default kernel.
config-3.4.108-bananian (101,123) 2015-12-22 10:42
https://dev.bananian.org/file_download.php?file_id=13&type=bug
Notes
(0000389)
Nico   
2016-07-14 14:25   
https://github.com/Bananian/linux-bananapi/commit/5c0dfc71258b99b553a96eff2280baef7bc5bf85 [^]
(0000396)
Nico   
2016-10-24 16:55   
This has been backported to Bananian 16.04 using kernel linux-image-3.4.112-bananian 16.04.03 released 2016-10.22.





View Issue Details
224 [Bananian Linux] Kernel feature always 2016-10-06 20:59 2016-10-06 20:59
Pasiu  
 
normal  
new  
open  
none    
none  
   
bananian Kernel compilation for TC/QoS - imq
I am testing Traffic Shaping/Control on bananian (BPI-R1 Hardware). I tried to shape upstream and downstream traffic.
I noticed that pseudo-driver for the intermediate queue device is missing. Could this be added to default kernel compilation?

Information what should be added can be found here:
https://github.com/imq/linuximq/tree/master/kernel/v3.x [^]
https://github.com/imq/linuximq/wiki/FAQ [^]

Currently only egress shaping is possible. IMQ gives the possibility to shape ingress traffic.

There are no notes attached to this issue.





View Issue Details
222 [Bananian Linux] Kernel feature always 2016-08-26 16:29 2016-09-15 09:49
thd042  
 
normal  
new 16.04  
open  
none    
none  
   
No analog sound for BananaPi M2
No module available for the 4.4 line kernels that enable sound output over the analog 3.5mm jack.
modprobe snd-soc-core
cat /proc/asound/cards gives:
--- no soundcards ---
Headless server without keyboard, but that should have no impact.
Testet on 4.4.10. and 4.4.14
Notes
(0000393)
mmoll   
2016-09-12 22:19   
Not sure if that also applies to the M2, but in http://lkml.iu.edu/hypermail/linux/kernel/1607.3/03925.html [^] Allwinner A10 support (so I guess this is at least relevant for A20 based boards) went in to 4.8 mainline.
(0000394)
thd042   
2016-09-15 09:49   
Probably doesn't help. M2 has a A31 CPU. Allegedly there is somwhere a module written for an older kernel, but I did not manage to find it. Looks like the B-PI M2 is somethjing one should avoid.





View Issue Details
223 [Bananian Linux] (No Category) feature N/A 2016-08-27 10:38 2016-08-27 10:38
rugk  
 
normal  
new  
open  
none    
none  
   
Include grsecurity patches?
Have you ever thought about including some grsecurity patches to strengthen the security of the kernel?

https://grsecurity.net/ [^]
There are no notes attached to this issue.





View Issue Details
221 [Bananian Linux] General minor always 2016-08-09 20:29 2016-08-20 11:48
FrankM  
 
normal  
new 16.04  
open  
none    
none  
   
shutdown don't work
BananaPro with 16.04. Linux bananapro 3.4.111 (fresh installation)

When i enter "shutdown -h now", BananaPro shutdown and than BPPro make's a reboot.

Notes
(0000391)
FrankM   
2016-08-14 11:34   
On BananaPi with 16.04 it's work.
(0000392)
FrankM   
2016-08-20 11:48   
Tested it on two other BananaPro without any problems. Looks that this bug is hardware related.
Please close this bug report.





View Issue Details
220 [Bananian Linux] General minor always 2016-07-26 22:52 2016-07-26 22:52
Matthias  
 
normal  
new 16.04  
open  
none    
none  
   
Installation of package firmware-linux-free not possible
I need the file carl9170-1.fw and want to install firmware-linux-free but it's not possible.

My workaround:
cp /var/cache/apt/archives/firmware-linux-free_3.3_all.deb .
dpkg-deb -x firmware-linux-free_3.3_all.deb workaround
cp -i workaround/lib/firmware/carl9170-1.fw /lib/firmware/
Install package firmware-linux-free
root@banane:~# aptitude install firmware-linux-free
Die folgenden NEUEN Pakete werden zusätzlich installiert:
  firmware-linux-free
0 Pakete aktualisiert, 1 zusätzlich installiert, 0 werden entfernt und 0 nicht aktualisiert.
19,1 kB an Archiven müssen heruntergeladen werden. Nach dem Entpacken werden 90,1 kB zusätzlich belegt sein.
Holen: 1 http://ftp.de.debian.org/debian/ [^] jessie/main firmware-linux-free all 3.3 [19,1 kB]
19,1 kB wurden in 26 s heruntergeladen (719 B/s)
Vormals nicht ausgewähltes Paket firmware-linux-free wird gewählt.
(Lese Datenbank ... 51926 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../firmware-linux-free_3.3_all.deb ...
Entpacken von firmware-linux-free (3.3) ...
dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/firmware-linux-free_3.3_all.deb (--unpack):
 Versuch, »/lib/firmware/keyspan_pda/xircom_pgs.fw« zu überschreiben, welches auch in Paket linux-firmware-image 16.04.02 ist
Fehler traten auf beim Bearbeiten von:
 /var/cache/apt/archives/firmware-linux-free_3.3_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package. Trying to recover:
                                                    
There are no notes attached to this issue.





View Issue Details
219 [Bananian Linux] Kernel feature always 2016-07-17 14:42 2016-07-17 14:42
mmn  
 
normal  
new 16.04  
open  
none    
none  
   
Provide kernel source packages in the bananian repository
Please provide linux-source packages for the bananian kernel images (4.x), or alternatively, deb-src archive with the kernel sources.
Building additional kernel modules which are not included in the stock bananian kernel is unnecessarily painful without the kernel source package.
I wanted to build the snd_seq module which is not compiled in the bananian stock kernel (4.4.14).
There are no notes attached to this issue.





View Issue Details
212 [Bananian Linux] Kernel trivial always 2016-05-31 17:42 2016-07-14 14:32
smoe  
Nico  
low  
assigned 16.04  
open  
none    
none  
   
Kernel 4.x misses batman-adv module
Kernel 3.4.x featured it. Nico requested in a reply to a PM that I please provide this bug report.

modprobe batman-adv
With a few additionally installed packages that official project binaries compile just nicely, it is only for the inconsistency with the other machines in the network that one wants the same version.
There are no notes attached to this issue.





View Issue Details
216 [Bananian Linux] Hardware feature have not tried 2016-07-03 17:02 2016-07-14 14:31
dl5rcw  
Nico  
high  
assigned  
open  
none    
none  
   
Support Banana Pi M3 Hardware
The Banana Pi M3 is out on the market. Bananian is up to the M2 and works very nice. Upgrading existing ideas to the more powerful hardware is currently not possible, but highly desired.
There are no notes attached to this issue.





View Issue Details
218 [Bananian Linux] Kernel minor N/A 2016-07-14 14:30 2016-07-14 14:30
Nico  
Nico  
normal  
assigned 16.04  
open  
none    
none  
   
Use Linux 4.x as the default kernel
With our next release we will switch to mainline 4.x Linux kernel as the preinstalled default.

Sunxi 3.4 will still be available in the repository.
There are no notes attached to this issue.





View Issue Details
215 [Bananian Linux] Kernel minor always 2016-06-23 16:02 2016-07-13 06:38
gmueller  
Nico  
normal  
resolved  
fixed  
none    
none  
   
Add traffic control support
If building a router or for other use cases (limit upload) traffic control is required.
https://github.com/raspberrypi/linux/issues/61 [^]
Notes
(0000386)
gmueller   
2016-06-23 16:13   
Actually, the priority and severity should be increased.
E.g. trickle does not work in my case: limit the total upload of incoming (!) ssh connections.
(0000387)
gmueller   
2016-06-23 16:15   
(edited on: 2016-07-13 06:38)
This is a duplicate of 0000181
Sorry!






View Issue Details
217 [Bananian Linux] Kernel major always 2016-07-05 10:02 2016-07-07 06:45
Spanni26  
Nico  
high  
resolved 16.04  
duplicate  
none    
none  
   
Kernel 4.4.10: Sata not working on Banana Pro
After installing the kernel 4.4.10 the SSD on the sata port ist not longer recognized, SSD works fine after uninstalling the new kernel.
apt-get install linux-image-4.4.10-bananian linux-firmware-image-4.4.10-bananian
Notes
(0000388)
Spanni26   
2016-07-05 10:20   
Found https://dev.bananian.org/view.php?id=206 [^]
Can be closed





View Issue Details
214 [Bananian Linux] Kernel minor N/A 2016-06-20 09:07 2016-06-20 09:07
gmueller  
 
normal  
new 16.04  
open  
none    
none  
   
Add TOMOYO Linux support
TOMOYO Linux ist eine SELInux / AppArmor Alternative, die einfacher zu benutzen und einzurichten ist.
http://tomoyo.osdn.jp/index.html.en [^]
-
There are no notes attached to this issue.





View Issue Details
188 [Bananian Linux] Network major always 2016-02-12 08:39 2016-06-20 08:38
banedos  
Nico  
high  
resolved 15.08  
no change required  
none    
none  
   
Can't connect through ssh
My laptop: win7, auto ip in ethernet Lan
Banana pi.
Tried with raspbian for banana pi - works fine.
Tried with bananian(1508) - got trouble(also 1504 doesn't work(edited uEnv.txt)):
Ping bananapi - node unavailable
Ssh(via putty) - connection refused
Write bananian1508 image to SD card
Open sd card in explorer on laptop(laptop ethernet ip - ip=169.254.144.166
Edit boot.cmd:(add ip=169.254.144.14)
edit line 9: setenv bootargs console=ttyS0,115200 console=tty0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline ip=169.254.144.14 rootwait
edit line 17 setenv bootargs console=ttyS0,115200 console=tty0 console=tty1 sunxi_g2d_mem_reserve=0 sunxi_ve_mem_reserve=0 hdmi.audio=EDID:0 disp.screen0_output_mode=EDID:1680x1050p60 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline ip=169.254.144.14 rootwait

Connect bananapi to laptop via ethernet cable
Insert SdCard into bananapi
PowerOn bananapi

Notes
(0000324)
Nico   
2016-02-19 21:08   
Please verify when using DHCP.

Your Putty version?
(0000325)
banedos   
2016-02-21 18:45   
Putty version: 0.66

Bananian 1508 also doesn't work with DHCP router :(


Finally it works with bananian 1504 with DHCP router and win7 laptop. (I edited not only uEnv.txt, but also uEnv.txt.video-acc-off and uEnv.txt.video-acc-on)
(0000338)
Nico   
2016-03-20 22:06   
we cannot reproduce the issue. Neither with 15.08 nor with 15.04.

DHCP works fine and SSH also.
(0000379)
banedos   
2016-05-08 03:29   
I found this in TTL log:
"Warning - bad CRC, using default environment"
So does it mean that uEnv configs doesn't work?

Also I still can't get it to work.
How you modified uEnv.txt or loader script?
(0000380)
Nico   
2016-05-08 10:46   
See http://www.denx.de/wiki/view/DULG/WarningBadCRCUsingDefaultEnvironment [^]

Please connect a display and verify:
- you have a valid ip address
- sshd is running and listening on port 22
- ssh host keys are generated (check for /etc/ssh/ssh_host_*)
- try verbose mode (ssh -v ip, or check putty logs when using windows
- try ssh localhost and ssh ip on Bananian

Please set your ip adress using the Debian way (/etc/network/interfaces) and it will work.
Using boot.cmd/uEnv.txt for this is not tested at all in Bananian. (btw: have you recompiled boot.src after changing boot.cmd?)

I will close this ticket again.
(0000385)
banedos   
2016-06-20 04:18   
For all other users - this is trouble with SD card. Just change it and everything will be okay.





View Issue Details
213 [Bananian Linux] Kernel minor always 2016-06-06 15:00 2016-06-06 15:00
bpim2  
 
normal  
new 16.04  
open  
none    
none  
   
Banana Pi M2 Image should enable input events for acpid to get the power switch working
Log message from acpid

# acpid -d
Deprecated /proc/acpi/event was not found. Trying netlink and the input layer...
acpid: cannot open input layer
inotify fd: 4
acpid: inotify_add_watch() failed: No such file or directory (2)
RTNETLINK1 answers: No such file or directory
acpid: error talking to the kernel via netlink
netlink opened successfully
acpid: starting up with netlink and the input layer
parsing conf file /etc/acpi/events/button_power
acpid: 1 rule loaded
acpid: waiting for events: event logging is off
There are no notes attached to this issue.





View Issue Details
186 [Bananian Linux] (No Category) crash always 2016-01-23 13:30 2016-05-14 11:04
tahder  
Nico  
high  
resolved 15.08  
unable to reproduce  
none    
none  
   
Keeps rebooted once USB drive is attached
My Banana Pi M2 keeps rebooted after login once you attach a USB drive formatted to NTFS (not tested to other filesystem).

As per observation, once you attach too the USB drive before turning ON the banana pi it will have the same issue.
1. Connect/Attach USB drive (not beside the gigabit ethernet port, as not working)
2. Turn on the banana pi
3. Login
4. will reboot

But no issue if:
1. Turn on the banana pi and then login
2. Connect the USB, but if reboot then same issue above.
Bananian Linux for Banana Pi M2 - 2015-12-23
Linux bananapi 4.3.3-bananian 0000006 SMP Wed Dec 23 13:21:58 UTC 2015 armv7l GNU/Linux


Disk /dev/mmcblk0: 7.4 GiB, 7969177600 bytes, 15564800 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0c<remove>

Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 2048 43007 40960 20M 83 Linux
/dev/mmcblk0p2 43008 15564799 15521792 7.4G 83 Linux

Disk /dev/sda: 4.6 TiB, 5000947302400 bytes, 1220934400 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: <remove>

Device Start End Sectors Size Type
/dev/sda1 6 32773 32768 128M EFI System
/dev/sda2 48640 523903487 523854848 2T Microsoft basic data
/dev/sda3 523903488 964933631 441030144 1.7T Microsoft basic data
/dev/sda4 964933888 1220933887 256000000 976.6G Microsoft basic data


DMESG log (mmcblk0p2 as it keeps rebooting, which system advise to check the disk)
Remove the USD drive, upon booting

[ 6.025809] usb 1-1.3: Manufacturer: Logitech
[ 6.050477] input: Logitech USB Receiver as /devices/platform/soc@01c00000/1c1a000.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:046D:C52E.0001/input/input0
[ 6.134931] hid-generic 0003:046D:445523.0001: input: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-1c1a000.usb-1.3/input0
[ 6.164912] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
[ 6.165676] input: Logitech USB Receiver as /devices/platform/soc@01c00000/1c1a000.usb/usb1/1-1/1-1.3/1-1.3:1.1/0003:046D:C52E.0002/input/input1
[ 6.224922] hid-generic 0003:046D:C52E.0002: input: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-1c1a000.usb-1.3/input1
[ 6.302157] EXT4-fs (mmcblk0p2): warning: mounting unchecked fs, running e2fsck is recommended
[ 6.324827] usb 1-1.4: new high-speed USB device number 4 using ehci-platform
[ 6.487252] usb 1-1.4: New USB device found, idVendor=1058, idProduct=107c
[ 6.506782] usb 1-1.4: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[ 6.526671] usb 1-1.4: Product: Elements 107C
[ 6.543479] usb 1-1.4: Manufacturer: Western Digital
[ 6.560827] usb 1-1.4: SerialNumber: <remove>
[ 6.580401] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[ 6.599366] scsi host0: usb-storage 1-1.4:1.0
[ 6.997853] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 7.013673] usbcore: registered new interface driver uas
[ 7.215632] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50
[ 7.609381] Adding 524284k swap on /swapfile1. Priority:-1 extents:3 across:622588k SSFS
[ 7.631604] scsi 0:0:0:0: Direct-Access WD Elements 107C 1065 PQ: 0 ANSI: 6
[ 7.659190] sd 0:0:0:0: [sda] Spinning up disk...
[ 7.678291] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 7.775307] EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:758: group 2, block bitmap and bg descriptor inconsistent: 17923 vs 17928 free clusters
[ 7.802187] EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:758: group 3, block bitmap and bg descriptor inconsistent: 18639 vs 18640 free clusters
[ 7.828973] EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:758: group 4, block bitmap and bg descriptor inconsistent: 28905 vs 28906 free clusters
[ 8.449572] random: nonblocking pool is initialized
[ 8.684833] ..
[ 10.138179] EXT4-fs error (device mmcblk0p2): mb_free_blocks:1454: group 5,
[ 10.157646] inode 46: block 174080:freeing already freed block (bit 10240); block bitmap corrupt.
[ 10.177936] EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:758: group 5, block bitmap and bg descriptor inconsistent: 9018 vs 9019 free clusters
[ 10.233502] RX IPC Checksum Offload disabled
[ 10.250934] No MAC Management Counters available
[ 10.704829] .
[ 11.384029] usb 1-1.4: USB disconnect, device number 4
[ 11.714815] .ready
[ 11.736579] sd 0:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=0x01 driverbyte=0x00
[ 11.764762] sd 0:0:0:0: [sda] Sense not available.
[ 11.796457] sd 0:0:0:0: [sda] Write Protect is off
[ 11.814246] sd 0:0:0:0: [sda] Mode Sense: 00 00 00 00
[ 11.814328] sd 0:0:0:0: [sda] No Caching mode page found
[ 11.832638] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 11.852896] sd 0:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=0x01 driverbyte=0x00
[ 11.875325] sd 0:0:0:0: [sda] Sense not available.
[ 11.893342] sd 0:0:0:0: [sda] Attached SCSI disk
[ 12.215141] sun7i-dwmac 1c30000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 16.766025] EXT4-fs error (device mmcblk0p2): ext4_lookup:1584: inode #11591: comm dhclient-script: deleted inode referenced: 48
[ 16.837269] EXT4-fs error (device mmcblk0p2): ext4_lookup:1584: inode #11591: comm mv: deleted inode referenced: 48
[ 16.960312] EXT4-fs error (device mmcblk0p2): ext4_lookup:1584: inode #11591: comm ntp: deleted inode referenced: 48
[ 17.027537] EXT4-fs error (device mmcblk0p2): ext4_lookup:1584: inode #11591: comm ntp: deleted inode referenced: 48
[ 18.788242] EXT4-fs error (device mmcblk0p2): ext4_lookup:1584: inode #11591: comm ntp: deleted inode referenced: 48
[ 19.221619] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 21.315844] EXT4-fs error (device mmcblk0p2): ext4_mb_generate_buddy:758: group 0, block bitmap and bg descriptor inconsistent: 23514 vs 23492 free clusters


Notes
(0000384)
Nico   
2016-05-14 11:04   
unable to reproduce using Bananain 16.04.
So i guess Linux 4.4 and/or U-Boot 2016.03 fixed the problem





View Issue Details
192 [Bananian Linux] General minor always 2016-03-02 17:39 2016-05-14 10:33
mokami  
Nico  
normal  
assigned 15.04  
open  
none    
none  
   
Bananian-update throws ssl-error
Same as https://dev.bananian.org/view.php?id=97 [^]
Run bananian-update
https://www.ssllabs.com/ssltest/analyze.html?d=dl.bananian.org [^] works but takes over two minutes for each server. Is that normal?

provider: COX (USA)
ipv6: no
home network
no proxy

OUTPUT:
cat /etc/bananian_version
150401
root@seshat ~ # date
Wed Mar 2 11:37:19 EST 2016
root@seshat ~ # bananian-update

---------------------------------------------------------------------------------
Welcome to bananian-update!

This script upgrades your Bananian installation.

For news and updates check: http://www.bananian.org [^]

Don't panic, you will be asked to confirm before applying any updates!

---------------------------------------------------------------------------------
receiving/updating public key...

gpg: requesting key 24BFF712 from hkp server keys.gnupg.net
gpg: key 24BFF712: "Nico Isenbeck (Bananian Linux) <download@bananian.org>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1

---------------------------------------------------------------------------------
downloading latest upgrade from dl.bananian.org... (this might take a while)

  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: http://curl.haxx.se/docs/sslcerts.html [^]

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: http://curl.haxx.se/docs/sslcerts.html [^]

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.

---------------------------------------------------------------------------------
verifying signature...

gpg: can't open `/tmp/tmp.SI6ZKCJ2MP/update.tar.gz.asc'
gpg: verify signatures failed: file open error

invalid signature. exiting!
Notes
(0000329)
mokami   
2016-03-03 15:10   
Fixed by updating stale .pem file like this:

cd
wget http://curl.haxx.se/ca/cacert.pem [^]
echo cacert /root/cacert.pem >> ~/.curlrc

Should these be autoupdated in the future?
(0000382)
Nico   
2016-05-14 10:33   
We are not able to reproduce the issue with Bananian 15.04.
Make sure you have "ca-certificates" installed.





View Issue Details
211 [Bananian Linux] Kernel major always 2016-05-04 15:42 2016-05-09 11:12
simonsilvalauinger  
Nico  
normal  
assigned 16.04  
open  
none    
none  
   
btrfs kernel module und 4.4.7 missing
Hello everybody,
mounting a btrfs partition using kernel 4.4.7 under bananian 16.04 results in an "mount: unknown filesystem type 'btrfs'" error message.
Consulting "lsmod" uncovered that the kernel module btrfs was not loaded. A "grep btrfs /lib/modules/4.4.7-bananian/modules.builtin" tells me that the module should be builtin, but the given directory "kernel/fs/btrfs/btrfs.ko" which is (I think) located under "/lib/modules/4.4.7-bananian/" is absent.
How can this solved?

Regards
Simon Silva Lauinger
Assume that /dev/sda1 is an btrfs partition:
$ mount /mnt/ /dev/sda1
Notes
(0000378)
simonsilvalauinger   
2016-05-04 15:44   
(edited on: 2016-05-04 15:45)
Please correct at "Steps To Reproduce" the mount line to "$ mount /dev/sda1 /mnt/"

(0000381)
Nico   
2016-05-09 11:12   
btrfs is compiled in, no module required.

Please provide:
cat /proc/filesystems | grep btrfs
uname -a





View Issue Details
210 [Bananian Linux] General major always 2016-04-30 12:41 2016-05-02 06:48
gordon  
Nico  
high  
assigned 16.04  
open  
none    
none  
   
Unable to use USB OTG port as another normal USB port on Linux 4.4
I was using the USB OTG port as normal USB port before upgrade, since BPI only got two USB port.
But now under linux kernal 4.4 I was unable to use USB OTG port as another normal USB.
1. Upgrade from bananian 15.08 + kernal 3.4 to 16.04 + kernal 4.4.
2. Install the u-boot-pro-bananian as the FAQ section mentioned.
3. Reboot.
I'm a programer as well, please advise if that's possible to enable USB OTG port on linux kernal 4.4.
The uas & docker support comes with 4.x kernal is very useful to me, so I prefer not to downgrade to 3.4 kernal.
There are no notes attached to this issue.





View Issue Details
209 [Bananian Linux] General minor always 2016-04-28 21:57 2016-04-30 10:59
racoon  
Nico  
normal  
resolved 16.04  
no change required  
none    
none  
   
Samba and Kernel 3.4.x issue with Bananian 16.4
Since one week I use Bananian 16.4. Previously, I used version 15.4 with Debian 7.

Samba with Debian 7 (Linux Kernel 3.4) works perfectly. But since using Bananian 16.4 (Debian 8 and Kernel 3.4) I have problems to connect to the shares from a Windows client.

In the log files of Samba I found, that Samba have problems to connect to the ports:
 open_socket_in(): setsockopt: SO_REUSEPORT = true on port 137 failed with error = Protocol not available
open_socket_in(): setsockopt: SO_REUSEPORT = true on port 445 failed with error = Protocol not available

I found that SO_REUSEPORT is supported the first time in Kernel 3.9. So I installed the Mainline Kernel 4.x and now Samba works again without problems. The error messages disappears.

Is it possible to upgrade to Kernel 3.16 as did Debian? Because I missing the sunxi-ir module in 4.x... :-)
Notes
(0000373)
racoon   
2016-04-29 13:13   
Okay, I was wrong. It seems that the Samba server has yet another problem, because it still takes several seconds until I can log on to the server.

I'm sorry for the inconvenience.
(0000374)
Nico   
2016-04-30 10:09   
So I can close this bug report?
(0000375)
racoon   
2016-04-30 10:52   
Yes, please.





View Issue Details
204 [Bananian Linux] Userland minor N/A 2016-04-25 21:13 2016-04-26 14:49
marshel  
 
low  
new 16.04  
open  
none    
none  
   
bananian-config useful scripts
the bananian-config is great for starting a new project but the options are limited.

Some new options could be make available so users could have options like:
- set up the new kernel or keep the old
- set up the "raspbian-esque"
- set up the wi-fi (on the boards that supports it) as a AP or as a client
- set up a static ip and a alternative dhcp one.
- set up and install compiling stuff (make, kernel headers, etc)
- set up a CIFS/SAMBA shares and as client
- set up a easy server for admin, like webmin, OMS, openNAS or simillar

Could this be installed via the repositorie on aptitude as a task?
or could be an alternative like tasksel?
Notes
(0000367)
marshel   
2016-04-26 14:49   
https://github.com/igorpecovnik/Debian-micro-home-server [^]

 It has the sources to armbian scripts, in which possesses scripts that could be forked and worked on.





View Issue Details
205 [Bananian Linux] Network minor always 2016-04-25 21:17 2016-04-26 14:24
marshel  
Nico  
high  
resolved 16.04  
no change required  
none    
none  
   
SFTP over SSH off
Some useful way to change files between system is FTP.
SSH allows SFTP to send files between any system to Raspbian.

I recommend to let it installed on future revisions since is secure, use resources only when accessed and is a handy tool.
Notes
(0000363)
marshel   
2016-04-25 21:18   
sorry i misspelled bananian for raspbian.
(0000364)
marshel   
2016-04-25 21:22   
please close. the SFTP is already on... I made a mistake.





View Issue Details
203 [Bananian Linux] Network major always 2016-04-24 13:14 2016-04-25 05:12
don  
 
high  
new 15.08  
open  
none    
none  
   
WiFi range on BPI-R1 Extremely limited (less than 5 metres)
Hardware - BPI-R1
Version - 150801
Uname - Linux BPI-R1 3.4.108-bananian #2 SMP PREEMPT Thu Aug 13 06:08:25 UTC 2015 armv7l GNU/Linux
hostapd - hostapd-rtl 2.4-4 armhf IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator

The onboard Realtek RTL8192CU WiFi with driver (rtl8192cu) using hostapd-rtl only has a range of 5 metres.

The wlan0 is also dropping a lot of packets. The range is the biggest issue and since the driver does not allow me to adjust the txpower (to something like 20), I can't see if i can improve the range.

Running the following command every 2 seconds shows - iwconfig wlan0 ; ifconfig wlan0

wlan0 IEEE 802.11bgn ESSID:"BPIR1" Nickname:"<WIFI@REALTEK>"
          Mode:Master Frequency:2.472 GHz Access Point: AC:A2:13:5C:AB:AC
          Bit Rate:144 Mb/s Sensitivity:0/0
          Retry:off RTS thr:off Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=30/100 Signal level=-86 dBm Noise level=0 dBm
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:0 Missed beacon:0

wlan0 Link encap:Ethernet HWaddr ac:a2:13:5c:ab:ac
          inet addr:192.168.108.254 Bcast:192.168.108.255 Mask:255.255.255.0
          inet6 addr: fe80::aea2:13ff:fe5c:abac/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:21302 errors:0 dropped:7377 overruns:0 frame:0
          TX packets:38941 errors:0 dropped:1 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2954808 (2.8 MiB) TX bytes:55604293 (53.0 MiB)

wlan0 IEEE 802.11bgn ESSID:"BPIR1" Nickname:"<WIFI@REALTEK>"
          Mode:Master Frequency:2.472 GHz Access Point: AC:A2:13:5C:AB:AC
          Bit Rate:144 Mb/s Sensitivity:0/0
          Retry:off RTS thr:off Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=95/100 Signal level=-65 dBm Noise level=0 dBm
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:0 Missed beacon:0

wlan0 Link encap:Ethernet HWaddr ac:a2:13:5c:ab:ac
          inet addr:192.168.108.254 Bcast:192.168.108.255 Mask:255.255.255.0
          inet6 addr: fe80::aea2:13ff:fe5c:abac/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:21756 errors:0 dropped:7451 overruns:0 frame:0
          TX packets:39956 errors:0 dropped:1 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3002613 (2.8 MiB) TX bytes:57172761 (54.5 MiB)


wlan0 IEEE 802.11bgn ESSID:"BPIR1" Nickname:"<WIFI@REALTEK>"
          Mode:Master Frequency:2.472 GHz Access Point: AC:A2:13:5C:AB:AC
          Bit Rate:144 Mb/s Sensitivity:0/0
          Retry:off RTS thr:off Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=99/100 Signal level=-73 dBm Noise level=0 dBm
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:0 Missed beacon:0

wlan0 Link encap:Ethernet HWaddr ac:a2:13:5c:ab:ac
          inet addr:192.168.108.254 Bcast:192.168.108.255 Mask:255.255.255.0
          inet6 addr: fe80::aea2:13ff:fe5c:abac/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:22293 errors:0 dropped:7629 overruns:0 frame:0
          TX packets:41200 errors:0 dropped:1 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3084468 (2.9 MiB) TX bytes:58756384 (56.0 MiB)
BPI-R1
Bananian 15.08.01
bananian-config (set to BPI-R1)
apt-get update
apt-get upgrade
apt-get install hostapd-rtl

Then surf youtube and watch the connection drop when between 3 to 5 metres from the device.
This is a significant problem when the BPI-R1 has 2 built in antennas and is supposed to be similar to a router.
Notes
(0000362)
don   
2016-04-25 05:12   
The same issue occurs under the new 3.4.111 kernel





View Issue Details
202 [Bananian Linux] Network major always 2016-04-19 13:23 2016-04-24 18:32
don  
Nico  
high  
feedback 15.08  
reopened  
none    
none  
   
Can't connect more than 5 devices in AP mode
Operating System - 150801
Hardware - BananaPi-M1+
Hostapd Package:
rc hostapd 1:2.3-1+deb8u3 armhf IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator
ii hostapd-ap6210 2.4-5 armhf IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator

Using the above hardware and software in AP mode, only 5 devices can connect to the AP. Any other devices trying to connect are unable to connect.
Configure the hardware and software in AP mode. Only 5 devices can connect successfully to the AP. The 6th device onwards will not be able to connect.
BPI-WiFi-hostapd-dump.txt (278,028) 2016-04-19 13:23
https://dev.bananian.org/file_download.php?file_id=14&type=bug
Notes
(0000360)
Nico   
2016-04-19 15:28   
not fixable, see 0000129
(0000361)
don   
2016-04-24 18:32   
Is this issue fixed on newer kernels such as 4.3.3 or will this problem remain unsolved?





View Issue Details
195 [Bananian Linux] Userland minor have not tried 2016-03-25 09:53 2016-04-15 21:02
Nico  
Nico  
normal  
resolved 16.04  
fixed  
none    
none 16.04  
  16.04  
add 16.04 release to bananian-update
add 16.04 as a new release for the update procedure
Notes
(0000359)
Nico   
2016-04-15 21:02   
https://github.com/Bananian/bananian/commit/1c9afed7172a1f1847dcc4472d8ff16481f10712 [^]





View Issue Details
197 [Bananian Linux] Kernel feature N/A 2016-03-25 09:55 2016-04-15 18:17
Nico  
Nico  
normal  
resolved 16.04  
fixed  
none    
none 16.04  
  16.04  
provide Linux 4.4.x packages
add Linux kernel 4.4.x packages to the Bananian repository.
Notes
(0000347)
Nico   
2016-03-25 09:56   
There will be a kernel metapackage for Linux 4.4.x providing the latest version.
(0000358)
Nico   
2016-04-15 18:17   
Updated to Linux 4.4.7:
https://github.com/Bananian/bananian/commit/29c396ceb8ecab1f6875fd8890815e77849cdbb4 [^]





View Issue Details
201 [Bananian Linux] Kernel minor always 2016-04-15 17:52 2016-04-15 18:11
fibnika  
Nico  
normal  
resolved 15.08  
no change required  
none    
none  
   
Only one CPU core available (Kernel 3.4.108)
root@bananapi ~ # cat /proc/cpuinfo
Processor : ARMv7 Processor rev 4 (v7l)
processor : 0
BogoMIPS : 1195.38

processor : 1
BogoMIPS : 1199.69

Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 4

Hardware : sun7i
Revision : 0000
Serial : 0642539d514848488048578816516643
root@bananapi ~ # uname -a
Linux bananapi 3.4.108-bananian #2 SMP PREEMPT Thu Aug 13 06:08:25 UTC 2015 armv7l GNU/Linux
Notes
(0000355)
Nico   
2016-04-15 17:59   
Please provide "nproc" output.
(0000356)
fibnika   
2016-04-15 18:08   
root@bananapi ~ # nproc
2
(0000357)
Nico   
2016-04-15 18:11   
Then everything is fine, this is known behavior on kernel 3.4.x.
In "htop" you will also see both cores.





View Issue Details
124 [Bananian Linux] Userland minor always 2015-04-10 01:46 2016-04-03 09:23
jekader  
Nico  
low  
resolved 15.04  
fixed  
none    
none 16.04  
  16.04  
package bananian-update as a .deb file
As a repo was added to 15.04 it is a good idea to move all packages to it and avoid any manually built and unmanaged files

This issue is created to track packaging and including bananian-update
# which bananian-update
/usr/local/bin/bananian-update
#  dpkg -S /usr/local/bin/bananian-update
dpkg-query: no path found matching pattern /usr/local/bin/bananian-update
I think some thought must be given to the whole update process. Running shell scripts off the internet is not the best option in my opinion, especially when such tools as APT are available.
Ideally it should be possible to update with plain APT. bananian-update can be left for novice users.
Notes
(0000208)
Nico   
2015-04-10 14:18   
That is exactly the plan with the repository. See related tickets for more information.
(0000209)
jekader   
2015-04-10 15:12   
Good to hear that it's part of the plan. I think having a bug open for each individual package is useful to visualize the scope and progress better.

With bananian-update I think it would be best to leave it for user space modifications (config files, etc) and move all actual package updates to be handled by apt.





View Issue Details
196 [Bananian Linux] Userland minor have not tried 2016-03-25 09:53 2016-04-03 09:23
Nico  
Nico  
normal  
resolved 16.04  
fixed  
none    
none 16.04  
  16.04  
update Debian packages and clean up before release
Final commands to clean up the system before release:
aptitude update && aptitude upgrade
aptitude clean
>/root/.zsh_history
>/root/.zdirs

/root/.ssh
/var/log
/tmp

/lib/modules

set /etc/bananian_version

clear unused space:
cat /dev/zero > /mnt/big_zero ; sync; rm /mnt/big_zero


update repository
enable kernel hook script
Notes
(0000354)
Nico   
2016-04-03 09:23   
updated to Debian 8.4
https://github.com/Bananian/etc/commit/ba54013d742f92ac849a50566fbeb1ff77cce0e5 [^]





View Issue Details
12 [Bananian Linux] General feature have not tried 2014-09-02 11:15 2016-04-02 10:29
Nico  
Nico  
normal  
resolved  
fixed  
none    
none 16.04  
  16.04  
Kernel Update Script and other stuff as an apt repository
See topic, would it be possible to add that stuff to a repository?
Reason why I'm asking this is because I currently have a working banana pi "cluster" up and running which is based on a vanilla debian testing/unstable and is managed via puppet.

I have no intention to ever flash a whole system to the pi, where someone else made some "undocumented" configs or changes.

But an apt overlay providing bpi specific libraries / kernel would be cool.

This would also benefit everyone who rather likes to have ubuntu as a base, but automatic kernel updates and hw libs.

http://forum.lemaker.org/3372-1-1-kernel_update_script_and_other_stuff_as_an_apt_repository_.html [^]
Notes
(0000053)
Nit   
2014-10-12 01:20   
(edited on: 2014-10-13 13:58)
In fact, it would be very nice to have deb package for kernel install/update and have the update script in a dpkg pre install or post install script.
Il would also be very nice to have kernel headers in that repository to allow automatic recompilation of custom kernel modules using dkms.

Note that I did not achieve to completly build a working package for the current bananian kernel headers : the scripts (/usr/src/linux-headers-3.4.90+/scripts) are not compile to arm but x86-64 but the rest is fine. I think it is related to that bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=563376 [^]

(0000169)
Nico   
2015-03-09 11:57   
(edited on: 2015-03-09 13:37)
The repository is now set up.
For details check: http://dl.bananian.org/packages/ [^]

(0000172)
Nico   
2015-03-09 19:14   
We will now start moving everything to the repository starting with OMD (https://www.bananian.org/omd [^]) und Linux kernel headers.
(0000175)
stelmik   
2015-03-09 23:52   
(edited on: 2015-03-09 23:52)
When I try to compile my module I get error:
     In file included from /usr/src/linux-headers-3.4.104+/arch/arm/include/asm/domain.h:14:0,
                     from /usr/src/linux-headers-3.4.104+/arch/arm/include/asm/thread_info.h:28,
                     from include/linux/thread_info.h:53,
                     from include/linux/preempt.h:9,
                     from include/linux/spinlock.h:50,
                     from include/linux/seqlock.h:29,
                     from include/linux/time.h:8,
                     from include/linux/stat.h:60,
                     from include/linux/module.h:10,
                     ........:
    /usr/src/linux-headers-3.4.104+/arch/arm/include/asm/barrier.h:41:27: fatal error: mach/barriers.h: No such file or directory
    compilation terminated.

(0000176)
Nico   
2015-03-10 06:33   
Which kernel version are you using? Try this one:
https://dl.bananian.org/kernel-snapshots/linux-bananapi-ffbf0bdf5a07d720e9b9e3136eb4db9ba9f16271.zip [^]

The Bananian 15.01 kernel is not compatible to the actual kernel headers deb!
(0000180)
stelmik   
2015-03-10 23:46   
OK. I used your kernel snapshot (3.4.104+ #4 SMP PREEMPT Thu Mar 5 11:25:28 CET 2015 armv7l GNU/Linux) on Banana Pro and I got the same error.
(0000181)
Nico   
2015-03-11 14:33   
(edited on: 2015-03-11 14:49)
We updated our kernel headers package.
Can you please update using our testing repository or by direct download: http://dl.bananian.org/packages/pool/main/l/linux-upstream/linux-headers-3.4.104+_1.2_armhf.deb [^]

Is the error fixed?

edit: updated the package again

(0000182)
stelmik   
2015-03-11 15:03   
I used package from direct link. I removed old and installed your 1.2_armhf (before I have 1.0_armhf).

Now I get simplier error:

scripts/basic/fixdep: 1: scripts/basic/fixdep: Syntax error: end of file unexpected (expecting ")")
(0000183)
Nico   
2015-03-11 15:51   
Please navigate to /usr/src/linux-headers-3.4.104+ and run "make scripts" (build-essential needs to be installed)

Is it working now?
(0000184)
stelmik   
2015-03-11 16:13   
Solved. It's working. Thanks!
(0000206)
Nico   
2015-04-08 06:44   
for kernel, headers and firmware see 0000103
Fixed in Bananian 15.04. All other binaries, libraries, .. will be packaged in the next release





View Issue Details
200 [Bananian Linux] Kernel minor have not tried 2016-03-30 21:57 2016-03-30 21:58
Nico  
Nico  
normal  
resolved Kernel 4.3  
fixed  
none    
none 16.04  
  16.04  
enable audio on Linux 4.x
Audio needs to be enabled on Linux 4.4.x.
Notes
(0000353)
Nico   
2016-03-30 21:58   
enabled for Banana Pi and Pro:
https://github.com/Bananian/bananian/commit/a96acbc1b6d3f9d842a63c1cad8775516e35855e [^]





View Issue Details
198 [Bananian Linux] Hardware minor have not tried 2016-03-25 10:05 2016-03-25 15:06
Nico  
Nico  
normal  
resolved 15.08  
fixed  
none    
none 16.04  
  16.04  
bananian-hardware does not work on Linux 4.x
bananian-hardware was made for Linux 3.4 booting with script.bin. This is the reason why you can't enable wifi on Pro with this tool when running the mainline kernel.

We need to rework bananian-hardware to include newer kernel vesions.
Notes
(0000352)
Nico   
2016-03-25 15:06   
On Linux 4.x bananian-hardware shows a list of available u-boot packages to intall.

https://github.com/Bananian/bananian/commit/36db37b0fc159d895a81e8c635f0e09b4e34c5ed [^]





View Issue Details
199 [Bananian Linux] Userland minor N/A 2016-03-25 12:39 2016-03-25 12:40
Nico  
Nico  
normal  
resolved 15.08  
fixed  
none    
none 16.04  
  16.04  
Introduce "bananian-settings" to replace all entries in /etc/rc.local
Bananian 16.04 will introduce a init script called "bananian-settings" to replace all Bananian specific entries in /etc/rc.local
Notes
(0000351)
Nico   
2016-03-25 12:40   
https://github.com/Bananian/bananian/commit/d2396db054085e4b0079d1d7517f694893b511eb [^]





View Issue Details
152 [Bananian Linux] Kernel feature always 2015-08-23 09:41 2016-03-25 11:41
FrankM  
Nico  
normal  
resolved 15.08  
fixed  
none    
none 16.04  
  16.04  
Switch between kernel 3.x and 4.x
Please create the possibility to switch between kernel 3.x and 4.x in bananian-config.

"Mainline Kernel (4.x) is currently enabled. Do you want to disable it? (y/N)"

Atm when i disabled 4.x, the kernel will not be removed. So when i will test 4.x again i must remove kernel before i can install 4.x again.
Notes
(0000350)
Nico   
2016-03-25 11:41   
bananian-config will now ask to remove mainline kernel packages when you disable the mainline kernel.

See: https://github.com/Bananian/bananian/commit/1a8a44182ac6d5a77a5c36db0e55f1943bdc544b [^]





View Issue Details
182 [Bananian Linux] Network minor always 2015-12-22 12:07 2016-03-25 10:07
ywoody  
Nico  
normal  
resolved Kernel 4.3  
fixed  
none    
none 16.04  
  16.04  
WIFI driver ap6210 not found under Kernel 4.3
Cannot load ap6210 driver either by modprobe ap6210 or add 'ap6210' to /etc/modules.

Hardware: BPI M1+
modprobe ap6210

or

add 'ap6210' to /etc/modules
1 root@bananapi ~ # uname -r :(
4.3.3-bananian
root@bananapi ~ # dpkg -l | grep u-boot
ii u-boot-bananian 15.08.03 armhf Uboot loader for Bananian Linux
root@bananapi ~ # modprobe ap6210
modprobe: FATAL: Module ap6210 not found.
1 root@bananapi ~ #
Notes
(0000316)
Nico   
2015-12-25 11:24   
In Linux 4.x you have to use 'brcmfmac' and replace the default u-boot (which is for Banana Pi without Wifi).
All these changes will be integrated in our next major release.

For the meantime you can use the following workaround:
aptitude update
aptitude purge u-boot-bananian
aptitude install u-boot-pro-bananian

This will remove the default u-boot and install u-boot for Banana Pro, which should also work for M1+.

Please note: Our u-boot package contains a firmware file not related to u-boot as a workaround because it is missing in our kernel package.
(0000349)
Nico   
2016-03-25 10:07   
FAQ updated. See https://www.bananian.org/faq [^]

For hardware selection for kernel 4.x has been moved into a new issue: https://dev.bananian.org/view.php?id=198 [^]





View Issue Details
194 [Bananian Linux] Kernel minor have not tried 2016-03-19 17:13 2016-03-25 09:56
Nico  
Nico  
normal  
resolved 16.04  
fixed  
none    
none 16.04  
  16.04  
Update Kernel 3.4.x
Update Linux kernel 3.4.x to the latest available version (3.4.111)
Notes
(0000332)
Nico   
2016-03-19 17:14   
(edited on: 2016-03-25 09:21)
Linux 3.4.109: https://github.com/Bananian/linux-bananapi/commit/abbef9c8853de433da50ef82c00650ffec39cf44 [^]
Linux 3.4.110: https://github.com/Bananian/linux-bananapi/commit/78db4ba09523e3a734c139ba1aacd9be206fe3c3 [^]

(0000346)
Nico   
2016-03-25 09:20   
Linux 3.4.111: https://github.com/Bananian/linux-bananapi/commit/82c7ca4c8a3b2cf13489b6bc51a2ddfd057a237e [^]
(0000348)
Nico   
2016-03-25 09:56   
There will be a kernel metapackage for Linux 3.4.x providing the latest version.





View Issue Details
167 [Bananian Linux] Kernel feature N/A 2015-09-06 11:12 2016-03-25 09:55
Nico  
Nico  
normal  
resolved Kernel 4.2  
fixed  
none    
none Kernel 4.2  
  Kernel 4.2  
provide Linux 4.2 packages
add Linux kernel 4.2 packages to the Bananian repository for Bananian 15.08
Notes
(0000285)
Nico   
2015-09-11 11:12   
jessie|main|armhf: linux-firmware-image-4.2.0-bananian 15.08.02
jessie|main|armhf: linux-headers-4.2.0-bananian 15.08.02
jessie|main|armhf: linux-image-4.2.0-bananian 15.08.02





View Issue Details
134 [Bananian Linux] Userland minor have not tried 2015-07-12 10:17 2016-03-25 09:53
Nico  
Nico  
normal  
resolved 15.08  
fixed  
none    
none 15.08  
  15.08  
update Debian packages and clean up before release
Final commands to clean up the system before release:
aptitude update && aptitude upgrade
aptitude clean
>/root/.zsh_history
>/root/.zdirs

/root/.ssh
/var/log
/tmp

/lib/modules

set /etc/bananian_version

clear unused space:
cat /dev/zero > /mnt/big_zero ; sync; rm /mnt/big_zero


update repository
enable kernel hook script
There are no notes attached to this issue.





View Issue Details
135 [Bananian Linux] Userland minor have not tried 2015-07-12 10:18 2016-03-25 09:53
Nico  
Nico  
normal  
resolved 15.08  
fixed  
none    
none 15.08  
  15.08  
add 15.08 release to bananian-update
add 15.08 as a new release for the update procedure
There are no notes attached to this issue.





View Issue Details
174 [Bananian Linux] Kernel minor always 2015-10-19 17:56 2016-03-25 09:35
Matthias  
Nico  
normal  
assigned 15.08  
open  
none    
none  
   
Support for linux-uvc webcams (Kernel 4.2.0)
I want to use my webcam (UVC Camera) with the kernel 4.2. (It worked with linux-image-3.4.104-bananian)

Please activate the Linux USB Video Class (UVC) driver. Thanks a lot! :)
There are no notes attached to this issue.





View Issue Details
160 [Bananian Linux] (No Category) minor have not tried 2015-08-27 10:48 2016-03-25 09:34
Thomas Kaiser  
Nico  
normal  
assigned  
open  
none    
none  
   
[RfE] Better update procedure
Please provide better bananian-update handling.

a) put a simple file online that contains all releases of Bananian

b) modify all existing update.sh scripts to check the last line of the aforementioned file to get a clue whether a user tries to skip intermediate Bananian updates (since people always misunderstand 'never change a running system' https://www.faq-o-matic.net/2008/02/20/never-change-a-running-system-bullshit/ [^]

c) create an update FAQ mentioning this fact that bananian-update will NOT update to the latest release but instead to the next. Put all the warnings from inside update.sh online for each individual release

d) provide better error handling inside update.sh -- always check exit status of relevant commands like mount, mv, cp and so on
There are no notes attached to this issue.





View Issue Details
73 [Bananian Linux] General minor always 2014-12-07 09:40 2016-03-25 09:32
guest  
Nico  
low  
assigned 14.11  
open  
none    
none  
   
bananian uses zsh shell. New users get bash shell
Upon creating a new user,the default shell will be bash.
That can be changed of course with chsh.
However, if bananian defaults to zsh  it would be better IMHO to add zsh as a default to /etc/adduser.conf.

So 
# The DSHELL variable specifies the default login shell on your
# system.
DSHELL=/bin/bash

should be changed to
# The DSHELL variable specifies the default login shell on your
# system.
DSHELL=/bin/szh
use the useradd <some user> command
Notes
(0000105)
hvdwolf   
2014-12-07 09:48   
(edited on: 2014-12-09 11:32)
Sorry. Did not pay attention to be able to log issues anonymous.
Just registered as user hvdwolf

Edit 2014-12-9: This also requires that files .zshrc and probably .zcompdump are
copied from /root to /etc/skel to make it possible to simply populate a users folder.

Also add the following 2 lines to /etc/login.defs:
# Create users home directory
CREATE_HOME yes

In /etc/default/useradd:
Change "SHELL=/bin/sh"  to "SHELL=/bin/zsh"
Change "#HOME=/home" to "HOME=/home" to enable this setting

(0000108)
hvdwolf   
2014-12-14 09:03   
Additional request:

Please add to the /etc/skel/.profile file the following lines:

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
    PATH="$HOME/bin:$PATH"
fi

It makes it possible to run scripts (shell, python) or compiled programs
without interfering with the system setup or even breaking the packaging system.





View Issue Details
55 [Bananian Linux] Kernel minor have not tried 2014-10-11 12:04 2016-03-25 09:19
Matthias  
Nico  
normal  
resolved 14.09  
fixed  
none    
none 16.04  
  16.04  
Division by zero in kernel. (3.4.90+)
There are divisions by zero if my banana pi is a little bit busy. (For example transfers with rsync)

cat /proc/version
Linux version 3.4.90+ (root@nico-desktop) (gcc version 4.8.2 (Ubuntu/Linaro 4.8.2-16ubuntu4) ) #1 SMP PREEMPT Fri Sep 12 18:13:45 CEST 2014
dmesg output:

[Sa Okt 11 11:49:03 2014] Division by zero in kernel.
[Sa Okt 11 11:49:03 2014] [<c0015018>] (unwind_backtrace+0x0/0x134) from [<c02c7658>] (Ldiv0+0x8/0x10)
[Sa Okt 11 11:49:03 2014] [<c02c7658>] (Ldiv0+0x8/0x10) from [<c00e7944>] (vmpressure_work_fn+0x6c/0x180)
[Sa Okt 11 11:49:03 2014] [<c00e7944>] (vmpressure_work_fn+0x6c/0x180) from [<c004c74c>] (process_one_work+0x12c/0x3b0)
[Sa Okt 11 11:49:03 2014] [<c004c74c>] (process_one_work+0x12c/0x3b0) from [<c004cd24>] (worker_thread+0x158/0x394)
[Sa Okt 11 11:49:03 2014] [<c004cd24>] (worker_thread+0x158/0x394) from [<c0051300>] (kthread+0x90/0x94)
[Sa Okt 11 11:49:03 2014] [<c0051300>] (kthread+0x90/0x94) from [<c000f438>] (kernel_thread_exit+0x0/0x8)
[Sa Okt 11 11:49:03 2014] Division by zero in kernel.
[Sa Okt 11 11:49:03 2014] [<c0015018>] (unwind_backtrace+0x0/0x134) from [<c02c7658>] (Ldiv0+0x8/0x10)
[Sa Okt 11 11:49:03 2014] [<c02c7658>] (Ldiv0+0x8/0x10) from [<c00e7958>] (vmpressure_work_fn+0x80/0x180)
[Sa Okt 11 11:49:03 2014] [<c00e7958>] (vmpressure_work_fn+0x80/0x180) from [<c004c74c>] (process_one_work+0x12c/0x3b0)
[Sa Okt 11 11:49:03 2014] [<c004c74c>] (process_one_work+0x12c/0x3b0) from [<c004cd24>] (worker_thread+0x158/0x394)
[Sa Okt 11 11:49:03 2014] [<c004cd24>] (worker_thread+0x158/0x394) from [<c0051300>] (kthread+0x90/0x94)
[Sa Okt 11 11:49:03 2014] [<c0051300>] (kthread+0x90/0x94) from [<c000f438>] (kernel_thread_exit+0x0/0x8)
Notes
(0000058)
Nico   
2014-10-19 12:38   
Can you reproduce the errors with Raspbian and/or Lubuntu?

I can't reproduce the error on my system.
(0000060)
Mayk   
2014-10-21 18:39   
Hello Matthias and Nico,

I confirm this bug is in current raspian:

[23635.931454] Division by zero in kernel.
[23635.943126] [<c0015018>] (unwind_backtrace+0x0/0x134) from [<c02c7658>] (Ldiv0+0x8/0x10)
[23635.951197] [<c02c7658>] (Ldiv0+0x8/0x10) from [<c00e7944>] (vmpressure_work_fn+0x6c/0x180)
[23635.959973] [<c00e7944>] (vmpressure_work_fn+0x6c/0x180) from [<c004c74c>] (process_one_work+0x12c/0x3b0)
[23635.967975] [<c004c74c>] (process_one_work+0x12c/0x3b0) from [<c004cd24>] (worker_thread+0x158/0x394)
[23635.974955] [<c004cd24>] (worker_thread+0x158/0x394) from [<c0051300>] (kthread+0x90/0x94)
[23635.982761] [<c0051300>] (kthread+0x90/0x94) from [<c000f438>] (kernel_thread_exit+0x0/0x8)
[23635.985780] Division by zero in kernel.
[23635.992973] [<c0015018>] (unwind_backtrace+0x0/0x134) from [<c02c7658>] (Ldiv0+0x8/0x10)
[23636.000425] [<c02c7658>] (Ldiv0+0x8/0x10) from [<c00e7958>] (vmpressure_work_fn+0x80/0x180)
[23636.009082] [<c00e7958>] (vmpressure_work_fn+0x80/0x180) from [<c004c74c>] (process_one_work+0x12c/0x3b0)
[23636.017467] [<c004c74c>] (process_one_work+0x12c/0x3b0) from [<c004cd24>] (worker_thread+0x158/0x394)
[23636.024636] [<c004cd24>] (worker_thread+0x158/0x394) from [<c0051300>] (kthread+0x90/0x94)
[23636.032114] [<c0051300>] (kthread+0x90/0x94) from [<c000f438>] (kernel_thread_exit+0x0/0x8)

It happened under medium to heavy load while binary-comparing two massive directory trees plus occasional mounting/unmounting of an nfs share. I'm not sure what triggered it, the filesystem I was running the compare from is btrfs,
(0000089)
Nico   
2014-11-20 09:00   
Can you please test with the upcoming 14.11 release?
(0000110)
Matthias   
2014-12-17 22:07   
Hello guys!

I can still confirm this bug in the release 14.11. This time I was copying files with rsync from A to B.

A = DD-Image (ext4) encrypted with dm-crypt on a real ext4 partition (extended USB drive)
B = DD-Image (btrfs) encrypted with dm-crypt on a real ext4 partition (extended USB drive)

cat /proc/version
Linux version 3.4.104+ (root@nico-desktop) (gcc version 4.8.2 (Ubuntu/Linaro 4.8.2-16ubuntu4) ) #3 SMP PREEMPT Wed Nov 19 08:28:34 CET 2014

cat /etc/bananian_version 
141101


dmesg output:

[Mi Dez 17 18:08:42 2014] Division by zero in kernel.
[Mi Dez 17 18:08:42 2014] [<c0015058>] (unwind_backtrace+0x0/0x134) from [<c02c8c18>] (Ldiv0+0x8/0x10)
[Mi Dez 17 18:08:42 2014] [<c02c8c18>] (Ldiv0+0x8/0x10) from [<c00e7fe0>] (vmpressure_work_fn+0x6c/0x180)
[Mi Dez 17 18:08:42 2014] [<c00e7fe0>] (vmpressure_work_fn+0x6c/0x180) from [<c004c7d4>] (process_one_work+0x12c/0x3b0)
[Mi Dez 17 18:08:42 2014] [<c004c7d4>] (process_one_work+0x12c/0x3b0) from [<c004cdac>] (worker_thread+0x158/0x394)
[Mi Dez 17 18:08:42 2014] [<c004cdac>] (worker_thread+0x158/0x394) from [<c0051388>] (kthread+0x90/0x94)
[Mi Dez 17 18:08:42 2014] [<c0051388>] (kthread+0x90/0x94) from [<c000f478>] (kernel_thread_exit+0x0/0x8)
[Mi Dez 17 18:08:42 2014] Division by zero in kernel.
[Mi Dez 17 18:08:42 2014] [<c0015058>] (unwind_backtrace+0x0/0x134) from [<c02c8c18>] (Ldiv0+0x8/0x10)
[Mi Dez 17 18:08:42 2014] [<c02c8c18>] (Ldiv0+0x8/0x10) from [<c00e7ff4>] (vmpressure_work_fn+0x80/0x180)
[Mi Dez 17 18:08:42 2014] [<c00e7ff4>] (vmpressure_work_fn+0x80/0x180) from [<c004c7d4>] (process_one_work+0x12c/0x3b0)
[Mi Dez 17 18:08:42 2014] [<c004c7d4>] (process_one_work+0x12c/0x3b0) from [<c004cdac>] (worker_thread+0x158/0x394)
[Mi Dez 17 18:08:42 2014] [<c004cdac>] (worker_thread+0x158/0x394) from [<c0051388>] (kthread+0x90/0x94)
[Mi Dez 17 18:08:42 2014] [<c0051388>] (kthread+0x90/0x94) from [<c000f478>] (kernel_thread_exit+0x0/0x8)
(0000121)
Nico   
2015-01-02 11:40   
This has to be fixed upstream. I am not a kernel developer, sorry.
(0000243)
Matthias   
2015-05-04 12:09   
Hello!

This bug is still annoying me. Where can I report it? Is it really a problem of the vanilla kernel (kernel.org)?


cat /proc/version
Linux version 3.4.104-bananian (root@bananapi) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP PREEMPT Mon Apr 6 18:25:40 UTC 2015


cat /etc/bananian_version
150401


dmesg output:
[Sa Mai  2 22:58:13 2015] Division by zero in kernel.
[Sa Mai  2 22:58:13 2015] [<c0014e78>] (unwind_backtrace+0x0/0x138) from [<c02ccb58>] (Ldiv0+0x8/0x10)
[Sa Mai  2 22:58:13 2015] [<c02ccb58>] (Ldiv0+0x8/0x10) from [<c00e4c50>] (vmpressure_work_fn+0x60/0x174)
[Sa Mai  2 22:58:13 2015] [<c00e4c50>] (vmpressure_work_fn+0x60/0x174) from [<c004b034>] (process_one_work+0x118/0x388)
[Sa Mai  2 22:58:13 2015] [<c004b034>] (process_one_work+0x118/0x388) from [<c004b648>] (worker_thread+0x16c/0x36c)
[Sa Mai  2 22:58:13 2015] [<c004b648>] (worker_thread+0x16c/0x36c) from [<c004fc34>] (kthread+0x84/0x90)
[Sa Mai  2 22:58:13 2015] [<c004fc34>] (kthread+0x84/0x90) from [<c000f4dc>] (kernel_thread_exit+0x0/0x8)
[Sa Mai  2 22:58:13 2015] Division by zero in kernel.
[Sa Mai  2 22:58:13 2015] [<c0014e78>] (unwind_backtrace+0x0/0x138) from [<c02ccb58>] (Ldiv0+0x8/0x10)
[Sa Mai  2 22:58:13 2015] [<c02ccb58>] (Ldiv0+0x8/0x10) from [<c00e4c64>] (vmpressure_work_fn+0x74/0x174)
[Sa Mai  2 22:58:13 2015] [<c00e4c64>] (vmpressure_work_fn+0x74/0x174) from [<c004b034>] (process_one_work+0x118/0x388)
[Sa Mai  2 22:58:13 2015] [<c004b034>] (process_one_work+0x118/0x388) from [<c004b648>] (worker_thread+0x16c/0x36c)
[Sa Mai  2 22:58:13 2015] [<c004b648>] (worker_thread+0x16c/0x36c) from [<c004fc34>] (kthread+0x84/0x90)
[Sa Mai  2 22:58:13 2015] [<c004fc34>] (kthread+0x84/0x90) from [<c000f4dc>] (kernel_thread_exit+0x0/0x8)
[Mo Mai  4 03:04:55 2015] Division by zero in kernel.
[Mo Mai  4 03:04:55 2015] [<c0014e78>] (unwind_backtrace+0x0/0x138) from [<c02ccb58>] (Ldiv0+0x8/0x10)
[Mo Mai  4 03:04:55 2015] [<c02ccb58>] (Ldiv0+0x8/0x10) from [<c00e4c50>] (vmpressure_work_fn+0x60/0x174)
[Mo Mai  4 03:04:55 2015] [<c00e4c50>] (vmpressure_work_fn+0x60/0x174) from [<c004b034>] (process_one_work+0x118/0x388)
[Mo Mai  4 03:04:55 2015] [<c004b034>] (process_one_work+0x118/0x388) from [<c004b648>] (worker_thread+0x16c/0x36c)
[Mo Mai  4 03:04:55 2015] [<c004b648>] (worker_thread+0x16c/0x36c) from [<c004fc34>] (kthread+0x84/0x90)
[Mo Mai  4 03:04:55 2015] [<c004fc34>] (kthread+0x84/0x90) from [<c000f4dc>] (kernel_thread_exit+0x0/0x8)
[Mo Mai  4 03:04:55 2015] Division by zero in kernel.
[Mo Mai  4 03:04:55 2015] [<c0014e78>] (unwind_backtrace+0x0/0x138) from [<c02ccb58>] (Ldiv0+0x8/0x10)
[Mo Mai  4 03:04:55 2015] [<c02ccb58>] (Ldiv0+0x8/0x10) from [<c00e4c64>] (vmpressure_work_fn+0x74/0x174)
[Mo Mai  4 03:04:55 2015] [<c00e4c64>] (vmpressure_work_fn+0x74/0x174) from [<c004b034>] (process_one_work+0x118/0x388)
[Mo Mai  4 03:04:55 2015] [<c004b034>] (process_one_work+0x118/0x388) from [<c004b648>] (worker_thread+0x16c/0x36c)
[Mo Mai  4 03:04:55 2015] [<c004b648>] (worker_thread+0x16c/0x36c) from [<c004fc34>] (kthread+0x84/0x90)
[Mo Mai  4 03:04:55 2015] [<c004fc34>] (kthread+0x84/0x90) from [<c000f4dc>] (kernel_thread_exit+0x0/0x8)
(0000244)
Nico   
2015-05-05 11:59   
Raspbian seems to have the same problem so I would start testing to reproduce the problem with the mainline kernel 3.4.x from kernel.org

If there is a problem too, report it to the mainline kernel, otherwise it looks like a sunxi problem and you have to report it to linux-sunxi.org
(0000256)
Nico   
2015-07-12 20:42   
closed again because we can't fix it.
(0000345)
Nico   
2016-03-25 09:19   
https://github.com/Bananian/linux-bananapi/commit/4ed9b51fe95e00c882ba10659b1d828fee0f2ba5 [^]
https://github.com/Bananian/linux-bananapi/commit/4f1825f7c3753ccb7bde67967051b1f3bd15f71f [^]





View Issue Details
193 [Bananian Linux] Hardware crash always 2016-03-12 16:17 2016-03-20 22:31
mokami  
Nico  
normal  
resolved Kernel 4.2  
not fixable  
none    
none  
   
wifi hardware dies under load
Upgraded from 3.4 -> 4.2 which changed me to brcmfmac for internal wifi.
Wifi was (mostly) stable before.
Now I can't keep it up for > 10min with minimal traffic as client or AP.

Fails with:
[ 109.336188] sunxi-mmc 1c12000.mmc: smc 1 err, cmd 53, RD DTO !!
[ 109.342442] sunxi-mmc 1c12000.mmc: data error, sending stop command

Similar to:
http://comments.gmane.org/gmane.comp.hardware.netbook.arm.sunxi/15620 [^]

From the link:
"Yes this is a known problem with broadcom sdio wifi on sunxi devices and
upstream kernels. Arend van Spriel from broadcom is looking into this."

Use 4.2
Attach to AP
wait

So far there is no progress i have been able to find.


Trying to remove the .ko looks like it crashes the kernel but it is really just hanging for a short time. After which reloading module does not fix anything. The hardware can not be reset or reinited.

One user said he booted 3.4 then booted 4.2 and this solved his issues. Might be that some register is not getting inited properly.
Notes
(0000344)
Nico   
2016-03-20 22:31   
Sorry, but this has to be fixed upstream. Please use Linux 3.4.x if you require stable wifi.





View Issue Details
189 [Bananian Linux] Network minor always 2016-02-14 01:48 2016-03-20 22:27
banana_md  
Nico  
normal  
assigned 15.08  
open  
none    
none  
   
hostapd-rtl lacks ifupdown-script and doc/example
hostapd-rtl is not a drop-in replacement for hostapd, as it lacks the ifupdown-script
and its linking to /etc/network/... of the latter, so the information in /etc/default/hostapd
about starting at boot time is void.
Also, there is no documentation or commented full example config like upstream.
If hostapd is installed: apt-get remove --purge hostapd

apt-get install hostapd-rtl
uncomment DEAMON_CONF ... in /etc/default/hostapd
reboot
-> hostapd is not started automatically at boot
My dirty workaround:
apt-get install hostapd
apt-get install hostapd-rtl
-> This will replace hostapd, but leaves the scripts and linkage in place, so it works
There are no notes attached to this issue.





View Issue Details
185 [Bananian Linux] General feature N/A 2016-01-18 09:54 2016-03-20 22:24
sooperior  
Nico  
none  
resolved Kernel 4.3  
won't fix  
none    
none  
   
Merge with Armbian
I've been for a while checking armbian.com and... somehow I feel you are duplicating work.
I would like to suggest that you merge and join forces with armbian, they have more updates and features and you have better knowledge of banana pi platform.

To my opinion that will be a win-win deal
Notes
(0000343)
Nico   
2016-03-20 22:24   
We won't merge with Armbian. Igor is doing great work for all the ARM boards but we think users should have the choice/alternative to use Bananian.

Bananian is the more conservative distribution build with stability and reliability in mind.
We know about business customers using Bananian in their products and rely on our work and support.





View Issue Details
101 [Bananian Linux] Kernel minor always 2015-01-18 11:12 2016-03-20 22:17
chris303  
Nico  
normal  
resolved 15.01  
unable to reproduce  
none    
none  
   
ftdi usb to serial adapter stops working after some time
after 30mins to 60mins ftdi usb to serial adapter stops working without any output in dmesg; unloading usbserial und ftdi modul und reload does not help - only reboot helps; in my case the adapter is used every 90secs to read out an external device - in error state, no communication is possible - you can write on the port but can't get any response - adapter was succesfully checked on a raspberry - don't know if this is only a 15.01 / bananian issue
There are no notes attached to this issue.





View Issue Details
92 [Bananian Linux] Network major always 2015-01-09 05:50 2016-03-20 22:12
guest  
Nico  
urgent  
resolved  
unable to reproduce  
none    
none  
   
lan port speed issue in banana pi router board
We are experimenting with banana-pi router board loaded with default Bananian Linux image. I observed that packet throughput on the vlan configured as the lan interface is limited to 10Mbps speed.

Indeed for the port mapped to vlan102 ( treated as the lan ), it shows the speed 10baseT

root# swconfig dev eth0 port 4 get link
port:4 link:up speed:10baseT full-duplex auto

whereas for the port mapped to vlan101 ( treated as the wan), it shows the speed 1000baseT as expected.

root # swconfig dev eth0 port 3 get link
port:3 link:up speed:1000baseT full-duplex auto

we tried to manually override the speed, but it fails.

# swconfig dev eth0 port 4 set link "speed:1000baseT full-duplex"
failed

Is there any fix available for this issue?

Following link talks about the patch for generic support for port speed/link advertisement control in openwrt
lists.openwrt.org/piperm ... -August/016520.html

Is there any similar fix available for bananian linux source?

Given below is bananian linux version that we run.
# uname -a
Linux 3.4.104+ 0000014 SMP PREEMPT Thu Dec 4 07:48:02 UTC 2014 armv7l GNU/Linux
Notes
(0000137)
guest   
2015-01-09 06:44   
full link is: https://lists.openwrt.org/pipermail/openwrt-devel/2012-August/016520.html [^]
(0000341)
Nico   
2016-03-20 22:12   
unable to reproduce or fixed in the meantime. closed





View Issue Details
169 [Bananian Linux] Network major always 2015-10-04 10:03 2016-03-20 22:07
skazy  
Nico  
normal  
resolved 15.08  
unable to reproduce  
none    
none  
   
VLAN assignment to switch ports broken
Under 15.08, assigning a port to a vlan does not work correctly; it seems to assign everything to the first port mentioned in if-pre-up.d/swconfig.
- Split up network in different vlans (as in the example in if-pre-up.d/swconfig, also tested with other port assignments)
- modify network/interfaces addordingly, dhcp or static, does not matter
- reboot

Every vlan is now on the very same physical port despite the fact that swconfig dev eth0 show mentions the correct port assignments.
Notes
(0000308)
Nico   
2015-12-22 10:07   
I can't reproduce the issue.

Could you please retry with latest U-Boot (apt-get update && apt-get upgrade).

Our Kernel 4.3.3 has now also support for the Banana Pi R1. Can you reproduce the issue with this kernel?
(0000339)
Nico   
2016-03-20 22:07   
No feedback, closed.





View Issue Details
183 [Bananian Linux] Hardware trivial always 2015-12-25 10:21 2016-03-20 18:21
HenrikW  
Nico  
low  
resolved Kernel 4.3  
fixed  
none    
none 16.04  
  16.04  
update FAQ, pmutemp and soctemp related to Kernel 4.x (original title: disable green LED)
execute: 'echo none > /sys/class/leds/green\:ph24\:led1/trigger'

zsh: datei oder Verzeichnis nicht gefunden: /sys/class/leds/green:ph24:led1/trigger

Kernel 4.3.3

FAQ:
https://www.bananian.org/faq [^]

Q: Can the green blinking LED be disabled?
A: Yes, execute: 'echo none > /sys/class/leds/green\:ph24\:led1/trigger'. To make it permanent add this command to /etc/rc.local
execute: 'echo none > /sys/class/leds/green\:ph24\:led1/trigger'

zsh: datei oder Verzeichnis nicht gefunden: /sys/class/leds/green:ph24:led1/trigger

Kernel 4.3.3
Notes
(0000317)
Nico   
2015-12-25 11:36   
soctemp and pmutemp are also broken on Linux 4.x:

root@bananapi ~ # soctemp
modprobe: FATAL: Module sunxi-dbgreg not found.
/usr/local/bin/soctemp: line 16: /sys/devices/virtual/misc/sunxi-dbgreg/rw/write: No such file or directory
/usr/local/bin/soctemp: line 17: /sys/devices/virtual/misc/sunxi-dbgreg/rw/write: No such file or directory
/usr/local/bin/soctemp: line 18: /sys/devices/virtual/misc/sunxi-dbgreg/rw/write: No such file or directory
/usr/local/bin/soctemp: line 19: /sys/devices/virtual/misc/sunxi-dbgreg/rw/write: No such file or directory
/usr/local/bin/soctemp: line 22: /sys/devices/virtual/misc/sunxi-dbgreg/rw/read: No such file or directory
approx. -144.7°C

root@bananapi ~ # pmutemp
/usr/local/bin/pmutemp: line 5: /sys/devices/platform/sunxi-i2c.0/i2c-0/0-0034/temp1_input: No such file or directory
approx. °C
(0000337)
Nico   
2016-03-20 18:21   
'soctemp' has been replaced and 'pmutemp' will now show an error message on Linux 4.x.
The FAQ has been updated.

https://github.com/Bananian/bananian/commit/421e65c32664c985e9106bce399699d1777bb41c [^]





View Issue Details
166 [Bananian Linux] General minor have not tried 2015-09-05 12:19 2016-03-20 12:55
Nico  
Nico  
normal  
resolved 16.04  
fixed  
none    
none 16.04  
  16.04  
Update U-Boot
U-Boot in Bananian 15.08.01 is buggy with newer kernels (4.x).
The Bananian image needs to be upgraded to jessie|main|armhf: u-boot-bananian 15.08.02 or later.
Notes
(0000336)
Nico   
2016-03-20 12:55   
On sun7i (Banana Pi and Pro) U-Boot will be 2016.01 (see https://github.com/Bananian/bananian/commit/c9b7ea4aa5760fd8d56f09f4efe952ad908a6673 [^])
On Banana Pi M2 U-Boot will be 2016.03





View Issue Details
176 [Bananian Linux] Kernel minor always 2015-11-14 19:00 2016-03-19 20:02
rodrigoaguilera  
Nico  
normal  
resolved  
fixed  
none    
none 16.04  
  16.04  
Removing 4.2 kernel packages result in unbootable system
Just to be curious I installed the new kernel packages

apt-get install linux-image-4.2.0-bananian linux-firmware-image-4.2.0-bananian

Everything booted fine but when I found out I had no video I wanted to go back to kernel 3.4.

I uninstalled what I previously installed.

apt-get remove linux-image-4.2.0-bananian linux-firmware-image-4.2.0-bananian

But the system didn't boot.
I mounted the SD card and removed uImage-nex and I'm back at 3.4

Maybe is possible to remove that file when uninstalling.

Notes
(0000320)
Matthias   
2016-01-06 23:34   
Same problem with linux-image-4.3.3-bananian. I wanted to return to kernel linux-image-4.2.0-bananian. A note in the FAQ would be useful :)
(0000321)
Nico   
2016-01-07 06:38   
Yes, the problem is known with all 4.x kernel versions and will be fixed with the next release.
For the meantime use "bananian-config" to go back to kernel 3.4.x.

To switch between 4.x kernels use "aptitude reinstall linux-image-4.x-bananian"

Is there any reason to go back to 4.2 after using 4.3.3?
(0000322)
Matthias   
2016-01-07 15:16   
After I removed the kernel 4.3.3 with aptitude, my Banana Pi still booted the kernel 4.3.3 but network and a USB keyboard were not working. (I think aptitude removed the modules)

First I thought my Banana Pi is not booting anymore because I couldn't login with ssh. But I was wrong. The Banana Pi is still booting but the system is not working fully because simply the kernel file isn't enough for a running system.

So, I mounted the SD-Card with my Linux computer and removed the file uImage-next. After that my Banana Pi booted the old kernel 3.4.* and I could reinstall the kernel 4.2.0:

aptitude reinstall linux-image-4.2.0-bananian

I switched back to 4.2 because I wanted to compare the crypto performance between kernel 4.2.0 and kernel 4.3.3.
(0000335)
Nico   
2016-03-19 20:02   
https://github.com/Bananian/etc/commit/f5b08d1a6eeeb67258a64d3d104d16bb2edd2733 [^]





View Issue Details
157 [Bananian Linux] Userland minor always 2015-08-25 15:03 2016-03-19 18:11
raschid  
Nico  
low  
resolved 15.08  
fixed  
none    
none 16.04  
  16.04  
rsyslog spams logs many "rsyslogd-2007: action 'action 17' suspended" messages
Since the jessie/15.08 update the syslog (/var/log/syslog), rsyslog logs a high number of this log entries:
       "rsyslogd-2007: action 'action 17' suspended"

This appears to be a somewhat known issues, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742113 [^]

The issue is related to the default rsyslog.conf rule for logging to /dev/xconsole.

see /var/log/syslog
Suggested fix for bananian:
disable xconsole logging by commenting out xconsole rules in /etc/rsyslog.conf as part of bananian setup:

--- /etc/rsyslog.conf.orig 2012-03-15 13:39:12.000000000 +0100
+++ /etc/rsyslog.conf 2014-04-15 12:47:11.000000000 +0200
@@ -115,7 +115,7 @@
 # NOTE: adjust the list below, or you'll go crazy if you have a reasonably
 # busy site..
 #
-daemon.*;mail.*;\
- news.err;\
- *.=debug;*.=info;\
- *.=notice;*.=warn |/dev/xconsole
+#//#daemon.*;mail.*;\
+#//# news.err;\
+#//# *.=debug;*.=info;\
+#//# *.=notice;*.=warn |/dev/xconsole
Notes
(0000334)
Nico   
2016-03-19 18:11   
https://github.com/Bananian/etc/commit/334fcecac04fd3899633719f0df19bdb39fd5363 [^]





View Issue Details
184 [Bananian Linux] Kernel major always 2016-01-09 21:27 2016-03-19 18:05
Nico  
Nico  
normal  
resolved 15.08  
fixed  
none    
none 16.04  
  16.04  
HDMI output turns off on inactivity
HDMI output seems to turn off if the screen stays unchanged for an amount of time. Only returns on reboot.

Most probably related to sunxi kernel 3.4. The following workaround helps:

/etc/kbd/config:
BLANK_TIME=0
BLANK_DPMS=off
POWERDOWN_TIME=0
Notes
(0000323)
jmartin   
2016-01-28 08:18   
When using X the display still turns off if the workaround is used.

I added the following:
/etc/X11/Xsession.d/90x11-common_xset:
xset dpms force on
xset s off

This seems to work at least some of the time (possibly not with fbturbo, haven't tested too much).
(0000333)
Nico   
2016-03-19 18:05   
https://github.com/Bananian/etc/commit/5b3d721fd94cefa9ead3336b64076afadeeee1da [^]





View Issue Details
175 [Bananian Linux] Kernel feature always 2015-11-13 19:37 2016-03-19 17:14
rodrigoaguilera  
Nico  
normal  
resolved 15.08  
fixed  
none    
none 16.04  
  16.04  
Support for 8 channels hdmi
I purchased a banana pi in the hope that I can connect it to my AV receiver and get a 7.1 output and set up a pulseadio sound server over the network.

Currently I can only get two channels over any of the audio interfaces available.

I would like to integrate this patch into bananian.

https://groups.google.com/forum/#!topic/linux-sunxi/wa_agwKP-io [^]
I'm willing to test the patch but I have never compiled a linux kernel or a full bananian image.
I can make a PR with the patch if needed.
Any help is appreciated.
Notes
(0000294)
rodrigoaguilera   
2015-11-15 14:08   
I managed to compile a kernel with the patch and everything works.

I created a pull request against linux-bananapi
https://github.com/Bananian/linux-bananapi/pull/6 [^]

I'm a bit confused about the efforts to get a20 mainlined so I don't know how to get this patch upstream.
(0000295)
Nico   
2015-11-17 18:16   
Thank you, will be in our next kernel.
(0000331)
Nico   
2016-03-19 17:14   
https://github.com/Bananian/linux-bananapi/commit/c6ec5003faed995304582ccec74d29221e84a8a8 [^]





View Issue Details
190 [Bananian Linux] General minor N/A 2016-02-23 09:04 2016-02-24 10:03
deejayq  
 
normal  
new Kernel 4.2  
open  
none    
none  
   
modules for wireless usb adapters (zd1211rw) and usb 3g modems are missing
after apt-get install linux-firmware-image-4.2.0-bananian linux-image-4.2.0-bananian i realized i could not use my wireless usb adapter zd1211rw and my android phone with usb tethering.
Notes
(0000326)
HenrikW   
2016-02-23 13:37   
(edited on: 2016-02-23 13:40)
update to 4.3.3
known error (ID): 172 --> resolved

(0000327)
deejayq   
2016-02-24 10:03   
zd1211rw is missing even in 4.3.3





View Issue Details
187 [Bananian Linux] General major N/A 2016-01-28 14:20 2016-02-08 16:28
Haxy  
 
high  
new 15.08  
open  
none    
none  
   
Disable serial console option in bananian-config
I noticed I have several /sbin/agetty threads running on my BananaPi.
I don't need serial console so please add option to bananian-config to disable serial console.
I don't know how to do that manualy now.
There are no notes attached to this issue.





View Issue Details
139 [Bananian Linux] Kernel feature always 2015-07-20 07:43 2015-12-25 14:44
sinuswave  
Nico  
normal  
resolved 15.04  
duplicate  
none    
none  
   
Add rtc modules
There are serveral extension boards having real time clock hardware on board. In example http://busware.de/tiki-index.php?page=PIG_OW. [^] However the "drivers" are not compiled into the kerenl or compiled as modules. Please enable them to be compiled as modules by default.
From /proc/config.gz on Linux bananapi 3.4.104-bananian

#
# RTC interfaces
#
CONFIG_RTC_INTF_SYSFS=y
CONFIG_RTC_INTF_PROC=y
CONFIG_RTC_INTF_DEV=y
# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
# CONFIG_RTC_DRV_TEST is not set

#
# I2C RTC drivers
#
# CONFIG_RTC_DRV_DS1307 is not set
# CONFIG_RTC_DRV_DS1374 is not set
# CONFIG_RTC_DRV_DS1672 is not set
# CONFIG_RTC_DRV_DS3232 is not set
# CONFIG_RTC_DRV_MAX6900 is not set
# CONFIG_RTC_DRV_RS5C372 is not set
# CONFIG_RTC_DRV_ISL1208 is not set
# CONFIG_RTC_DRV_ISL12022 is not set
# CONFIG_RTC_DRV_X1205 is not set
# CONFIG_RTC_DRV_PCF8563 is not set

....
Notes
(0000319)
Nico   
2015-12-25 14:44   
Please use our mainline 4.x kernel packages.





View Issue Details
108 [Bananian Linux] Kernel feature always 2015-02-24 18:51 2015-12-25 14:43
brandonburg  
Nico  
normal  
resolved 15.01  
fixed  
none    
none  
   
Kernel module rtc-ds1307 for the extremely accurate DS3231 RTC chip is missing
The kernel module "rtc-ds1307" is missing.

This driver is necessary for the extremely accurate I2C-integrated
DS3231 RTC chip. This chip provides an accurate time source for systems that are not connected to the internet. Most RTC chips are not that accurate and provide no reliable time source.

It should also be mentioned that NTP is no longer secure and its usage implies security issues (see http://www.golem.de/news/openbsd-sichere-uhrzeit-mit-ntp-und-https-1502-112370.html [^] [German language]). The DS3231 can be used as an alternative solution.

Another good reason for the "rtc-ds1307" kernel module:
The support of RTC modules helps to preserve the Banana Pi product warranty. It is not neccesary to solder a battery on the PCB. Some users have no soldering equipment.

DS3231
Accuracy ±2ppm from 0°C to +40°C
Accuracy ±3.5ppm from -40°C to +85°C
[ppm - parts per million]

Very tiny plug-in modules are already available for the Raspberry Pi. These modules can also be used on the Banana Pi on CON3 header (pins 1, 3, 5, 7):
http://forum.lemaker.org/thread-4276-1-1-my_humble_experience_with_rtc_and_bananapi.html [^]
/sbin/modprobe rtc-ds1307
Hint: It is possible to bend up the supercapacitor/battery on most DS3231 RTC modules, so that the supercapacitor/battery does not collide with pins on J12 header on the Banana Pi. Alternatively, insulating tape may also help to keep the supercapacitor/battery on the module away from the J12 pin header.

Functional check of DS3231 RTC module after module insertion without kernel driver:
/usr/bin/watch -n 0,4 "i2cget -y 2 0x68 0; i2cget -y 2 0x68 1; i2cget -y 2 0x68 2"
(requires: apt-get install i2c-tools )

DS3231 data sheet: http://datasheets.maxim-ic.com/en/ds/DS3231.pdf [^]
Notes
(0000288)
sinuswave   
2015-10-05 19:57   
The upstream kernel package 4,2 has ds1307 module supprt.
(0000318)
Nico   
2015-12-25 14:43   
Please use our mainline 4.x kernel packages.





View Issue Details
180 [Bananian Linux] Security minor have not tried 2015-12-22 09:10 2015-12-23 15:02
ywoody  
Nico  
normal  
resolved Kernel 4.3  
fixed  
none    
none Kernel 4.3  
  Kernel 4.3  
Allwinner Security System is not loaded under Kernel 4.3
Tried the stock setup or added sun4i-ss to /etc/modules. The SS modules seems not loaded correctly and not register to /proc/crypto.

Also, seems under Kernel 4.3, the algif_skcipher is not loaded. (also tried added algif_skcipher to /etc/modules). So when run cryptsetup benchmark it failed.


According to:

http://sunxi.montjoie.ovh/ [^]

we should see the sunxi_ss (or sun4i-ss or sun4i_ss) in /proc/crypto.
"sun4i-ss" >> /etc/modules
reboot
dmesg
cat /etc/modules
apt-get install cryptsetup
cryptsetup benchmark

root@bananapi ~ # lsmod
Module Size Used by
algif_rng 1522 0
af_alg 4666 1 algif_rng
dm_crypt 16841 0
dm_mod 82724 1 dm_crypt
realtek 2455 0
dwmac_sunxi 2175 0
evdev 10078 0
sun4i_ts 3798 0
nvmem_sunxi_sid 2359 0
nvmem_core 7587 1 nvmem_sunxi_sid
sun4i_ss 14978 0
phy_sun4i_usb 7410 4
extcon 8900 1 phy_sun4i_usb



root@bananapi ~ # dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.3.3-bananian (root@bananian-build) (gcc version 4.9.2 (Debian 4.9.2-10) ) #4 SMP Mon Dec 21 02:26:21 UTC 2015
[ 0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: Banana Pi BPI-M1
[ 0.000000] cma: Reserved 16 MiB at 0x7e800000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] On node 0 totalpages: 260119
[ 0.000000] free_area_init_node: node 0, pgdat c0bc6b00, node_mem_map eef01000
[ 0.000000] Normal zone: 1710 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 194560 pages, LIFO batch:31
[ 0.000000] HighMem zone: 65559 pages, LIFO batch:15
[ 0.000000] PERCPU: Embedded 13 pages/cpu @eeecd000 s23744 r8192 d21312 u53248
[ 0.000000] pcpu-alloc: s23744 r8192 d21312 u53248 alloc=13*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 258409
[ 0.000000] Kernel command line: console=ttyS0,115200 console=tty0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 1001444K/1040476K available (8579K kernel code, 700K rwdata, 2272K rodata, 512K init, 320K bss, 22648K reserved, 16384K cma-reserved, 245852K highmem)
[ 0.000000] Virtual kernel memory layout:
    vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    vmalloc : 0xf0000000 - 0xff000000 ( 240 MB)
    lowmem : 0xc0000000 - 0xef800000 ( 760 MB)
    pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
      .text : 0xc0008000 - 0xc0aa1224 (10853 kB)
      .init : 0xc0aa2000 - 0xc0b22000 ( 512 kB)
      .data : 0xc0b22000 - 0xc0bd1310 ( 701 kB)
       .bss : 0xc0bd4000 - 0xc0c2422c ( 321 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] Architected cp15 timer(s) running at 24.00MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000019] Switching to timer-based delay loop, resolution 41ns
[ 0.000392] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000578] clocksource: hstimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns
[ 0.000779] Console: colour dummy device 80x30
[ 0.001357] console [tty0] enabled
[ 0.001396] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.001436] pid_max: default: 32768 minimum: 301
[ 0.001602] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001631] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.002388] Initializing cgroup subsys io
[ 0.002457] Initializing cgroup subsys memory
[ 0.002519] Initializing cgroup subsys devices
[ 0.002549] Initializing cgroup subsys freezer
[ 0.002578] Initializing cgroup subsys net_cls
[ 0.002603] Initializing cgroup subsys perf_event
[ 0.002665] CPU: Testing write buffer coherency: ok
[ 0.003075] /cpus/cpu@0 missing clock-frequency property
[ 0.003118] /cpus/cpu@1 missing clock-frequency property
[ 0.003145] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.003242] Setting up static identity map for 0x400082c0 - 0x40008318
[ 0.005093] Brought up 1 CPUs
[ 0.005139] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.005160] CPU: All CPU(s) started in SVC mode.
[ 0.005995] devtmpfs: initialized
[ 0.014353] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4
[ 0.014819] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.015805] xor: measuring software checksum speed
[ 0.110040] arm4regs : 1243.600 MB/sec
[ 0.210101] 8regs : 794.400 MB/sec
[ 0.310161] 32regs : 771.200 MB/sec
[ 0.310183] xor: using function: arm4regs (1243.600 MB/sec)
[ 0.310357] pinctrl core: initialized pinctrl subsystem
[ 0.311676] NET: Registered protocol family 16
[ 0.312882] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.313578] cpuidle: using governor ladder
[ 0.313618] cpuidle: using governor menu
[ 0.320143] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.320307] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.500772] raid6: int32x1 gen() 126 MB/s
[ 0.670788] raid6: int32x1 xor() 91 MB/s
[ 0.840879] raid6: int32x2 gen() 168 MB/s
[ 1.011231] raid6: int32x2 xor() 104 MB/s
[ 1.181139] raid6: int32x4 gen() 167 MB/s
[ 1.351541] raid6: int32x4 xor() 113 MB/s
[ 1.521724] raid6: int32x8 gen() 166 MB/s
[ 1.691587] raid6: int32x8 xor() 107 MB/s
[ 1.691608] raid6: using algorithm int32x2 gen() 168 MB/s
[ 1.691628] raid6: .... xor() 104 MB/s, rmw enabled
[ 1.691648] raid6: using intx1 recovery algorithm
[ 1.691996] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe
[ 1.692081] reg-fixed-voltage usb2-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe
[ 1.692916] reg-fixed-voltage gmac-3v3: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/gmac_power_pin@0, deferring probe
[ 1.693511] SCSI subsystem initialized
[ 1.693918] libata version 3.00 loaded.
[ 1.694285] usbcore: registered new interface driver usbfs
[ 1.694388] usbcore: registered new interface driver hub
[ 1.694483] usbcore: registered new device driver usb
[ 1.694655] media: Linux media interface: v0.10
[ 1.694736] Linux video capture interface: v2.00
[ 1.694863] pps_core: LinuxPPS API ver. 1 registered
[ 1.694888] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 1.694944] PTP clock support registered
[ 1.697257] clocksource: Switched to clocksource arch_sys_counter
[ 1.755757] simple-framebuffer 7f817000.framebuffer: framebuffer at 0x7f817000, 0x7e9000 bytes, mapped to 0xf0800000
[ 1.755824] simple-framebuffer 7f817000.framebuffer: format=x8r8g8b8, mode=1920x1080x32, linelength=7680
[ 1.792489] Console: switching to colour frame buffer device 240x67
[ 1.828201] simple-framebuffer 7f817000.framebuffer: fb0: simplefb registered!
[ 1.839038] NET: Registered protocol family 2
[ 1.839968] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 1.840274] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 1.840578] TCP: Hash tables configured (established 8192 bind 8192)
[ 1.840851] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 1.841087] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 1.841556] NET: Registered protocol family 1
[ 1.842223] RPC: Registered named UNIX socket transport module.
[ 1.842415] RPC: Registered udp transport module.
[ 1.842552] RPC: Registered tcp transport module.
[ 1.842689] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.843642] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[ 1.845178] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 1.857883] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.860122] NFS: Registering the id_resolver key type
[ 1.860351] Key type id_resolver registered
[ 1.860477] Key type id_legacy registered
[ 1.861369] Key type cifs.idmap registered
[ 1.861864] fuse init (API version 7.23)
[ 1.863172] JFS: nTxBlock = 7951, nTxLock = 63614
[ 1.874379] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[ 1.882647] bounce: pool size: 64 pages
[ 1.882920] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 1.883328] io scheduler noop registered
[ 1.883468] io scheduler deadline registered (default)
[ 1.883679] io scheduler cfq registered
[ 1.886647] sun7i-a20-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 1.953260] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 1.956811] console [ttyS0] disabled
[ 1.977213] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 42, base_baud = 1500000) is a U6_16550A
[ 2.765101] console [ttyS0] enabled
[ 2.792360] 1c28c00.serial: ttyS1 at MMIO 0x1c28c00 (irq = 43, base_baud = 1500000) is a U6_16550A
[ 2.825175] 1c29c00.serial: ttyS2 at MMIO 0x1c29c00 (irq = 44, base_baud = 1500000) is a U6_16550A
[ 2.843524] loop: module loaded
[ 2.847124] Loading iSCSI transport class v2.0-870.
[ 2.917323] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP
[ 2.933501] ahci-sunxi 1c18000.sata: SSS flag set, parallel bus scan disabled
[ 2.949254] ahci-sunxi 1c18000.sata: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[ 2.966949] ahci-sunxi 1c18000.sata: flags: ncq sntf stag pm led clo only pio slum part ccc
[ 2.985517] scsi host0: ahci-sunxi
[ 2.998261] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 31
[ 3.016967] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[ 3.035594] tun: Universal TUN/TAP device driver, 1.6
[ 3.049930] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 3.066057] PPP generic driver version 2.4.2
[ 3.079778] PPP BSD Compression module registered
[ 3.093505] PPP Deflate Compression module registered
[ 3.107471] PPP MPPE Compression module registered
[ 3.121067] NET: Registered protocol family 24
[ 3.134242] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.149557] ehci-platform: EHCI generic platform driver
[ 3.164043] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 3.179256] ohci-platform: OHCI generic platform driver
[ 3.193889] usbcore: registered new interface driver usb-storage
[ 3.208930] ftdi_elan: driver ftdi-elan
[ 3.222288] usbcore: registered new interface driver ftdi-elan
[ 3.238603] sunxi-rtc 1c20d00.rtc: rtc core: registered rtc-sunxi as rtc0
[ 3.254625] sunxi-rtc 1c20d00.rtc: RTC enabled
[ 3.268192] i2c /dev entries driver
[ 3.281914] axp20x 0-0034: AXP20x variant AXP209 found
[ 3.303623] input: axp20x-pek as /devices/platform/soc@01c00000/1c2ac00.i2c/i2c-0/0-0034/axp20x-pek/input/input0
[ 3.323278] axp20x-regulator axp20x-regulator: regulators node not found
[ 3.341809] axp20x 0-0034: AXP20X driver loaded
[ 3.357424] IR NEC protocol handler initialized
[ 3.370987] IR RC5(x/sz) protocol handler initialized
[ 3.384947] IR RC6 protocol handler initialized
[ 3.398296] IR JVC protocol handler initialized
[ 3.411478] IR Sony protocol handler initialized
[ 3.424713] IR SANYO protocol handler initialized
[ 3.437975] IR Sharp protocol handler initialized
[ 3.451129] IR MCE Keyboard/mouse protocol handler initialized
[ 3.465451] IR XMP protocol handler initialized
[ 3.479409] ata1: SATA link down (SStatus 0 SControl 300)
[ 3.493826] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 3.511171] sunxi-mmc 1c0f000.mmc: No vqmmc regulator found
[ 3.526051] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[ 3.577547] sunxi-mmc 1c0f000.mmc: base:0xf055a000 irq:27
[ 3.592595] ledtrig-cpu: registered to indicate activity on CPUs
[ 3.607629] usbcore: registered new interface driver usbhid
[ 3.621764] usbhid: USB HID core driver
[ 3.635112] ipip: IPv4 over IPv4 tunneling driver
[ 3.649190] Initializing XFRM netlink socket
[ 3.663014] NET: Registered protocol family 10
[ 3.677553] NET: Registered protocol family 17
[ 3.690607] NET: Registered protocol family 15
[ 3.703535] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 3.724919] can: controller area network core (rev 20120528 abi 9)
[ 3.739917] NET: Registered protocol family 29
[ 3.753122] 8021q: 802.1Q VLAN Support v1.8
[ 3.766000] Key type dns_resolver registered
[ 3.789341] cpu cpu0: running cpufreq without cooling device: -38
[ 3.803795] Registering SWP/SWPB emulation handler
[ 3.817898] registered taskstats version 1
[ 3.833993] zswap: zpool zbud not available, using default zbud
[ 3.848481] zpool: no driver for type zbud
[ 3.860768] zswap: zbud zpool not available
[ 3.872960] zswap: pool creation failed
[ 3.888093] Btrfs loaded
[ 3.900086] Key type encrypted registered
[ 3.920497] vcc3v0: disabling
[ 3.931405] vcc5v0: disabling
[ 3.942032] usb1-vbus: disabling
[ 3.952780] usb2-vbus: disabling
[ 3.963438] gmac-3v3: disabling
[ 3.976671] Waiting for root device /dev/mmcblk0p2...
[ 4.014634] mmc0: host does not support reading read-only switch, assuming write-enable
[ 4.039574] mmc0: new high speed SDHC card at address 59b4
[ 4.054121] mmcblk0: mmc0:59b4 NCard 14.7 GiB
[ 4.068293] mmcblk0: p1 p2
[ 4.109712] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
[ 4.125576] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 4.163661] devtmpfs: mounted
[ 4.175490] Freeing unused kernel memory: 512K (c0aa2000 - c0b22000)
[ 5.493150] systemd-udevd[198]: starting version 215
[ 5.567880] random: udevd urandom read with 6 bits of entropy available
[ 5.919512] ehci-platform 1c14000.usb: EHCI Host Controller
[ 5.933177] ehci-platform 1c14000.usb: new USB bus registered, assigned bus number 1
[ 5.964600] sun4i-ss 1c15000.crypto-engine: no reset control found
[ 5.980546] sun4i-ss 1c15000.crypto-engine: Die ID 0
[ 5.993474] sun4i-ss 1c15000.crypto-engine: Fail to register md5
[ 6.007410] sun4i-ss: probe of 1c15000.crypto-engine failed with error -22
[ 6.209000] ehci-platform 1c14000.usb: irq 28, io mem 0x01c14000
[ 6.297586] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00
[ 6.311920] sun7i-dwmac 1c50000.ethernet: no reset control found
[ 6.325736] Ring mode enabled
[ 6.336434] No HW DMA feature register supported
[ 6.341099] Normal descriptors
[ 6.359569] TX Checksum insertion supported
[ 6.435500] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 6.450405] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 6.465599] usb usb1: Product: EHCI Host Controller
[ 6.478416] usb usb1: Manufacturer: Linux 4.3.3-bananian ehci_hcd
[ 6.492547] usb usb1: SerialNumber: 1c14000.usb
[ 6.756559] libphy: stmmac: probed
[ 6.768240] eth0: PHY ID 001cc915 at 0 IRQ POLL (stmmac-0:00) active
[ 6.782731] eth0: PHY ID 001cc915 at 1 IRQ POLL (stmmac-0:01)
[ 6.875624] hub 1-0:1.0: USB hub found
[ 6.927490] hub 1-0:1.0: 1 port detected
[ 6.981014] ehci-platform 1c1c000.usb: EHCI Host Controller
[ 6.994903] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2
[ 7.116119] ehci-platform 1c1c000.usb: irq 32, io mem 0x01c1c000
[ 7.178526] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[ 7.237685] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 7.252708] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 7.268006] usb usb2: Product: EHCI Host Controller
[ 7.281000] usb usb2: Manufacturer: Linux 4.3.3-bananian ehci_hcd
[ 7.295324] usb usb2: SerialNumber: 1c1c000.usb
[ 7.537055] hub 2-0:1.0: USB hub found
[ 7.588731] hub 2-0:1.0: 1 port detected
[ 7.640051] ohci-platform 1c14400.usb: Generic Platform OHCI controller
[ 7.654893] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 3
[ 7.674126] ohci-platform 1c14400.usb: irq 29, io mem 0x01c14400
[ 7.755000] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[ 7.769934] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 7.785133] usb usb3: Product: Generic Platform OHCI controller
[ 7.799002] usb usb3: Manufacturer: Linux 4.3.3-bananian ohci_hcd
[ 7.813006] usb usb3: SerialNumber: 1c14400.usb
[ 7.895272] hub 3-0:1.0: USB hub found
[ 7.908150] hub 3-0:1.0: 1 port detected
[ 7.922426] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[ 7.937762] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 4
[ 7.971866] ohci-platform 1c1c400.usb: irq 33, io mem 0x01c1c400
[ 8.047580] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[ 8.047589] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 8.047595] usb usb4: Product: Generic Platform OHCI controller
[ 8.047601] usb usb4: Manufacturer: Linux 4.3.3-bananian ohci_hcd
[ 8.047606] usb usb4: SerialNumber: 1c1c400.usb
[ 8.049781] hub 4-0:1.0: USB hub found
[ 8.050145] hub 4-0:1.0: 1 port detected
[ 9.213264] EXT4-fs (mmcblk0p2): warning: mounting unchecked fs, running e2fsck is recommended
[ 9.235026] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 10.156795] device-mapper: uevent: version 1.0.3
[ 10.180618] device-mapper: ioctl: 4.33.0-ioctl (2015-8-18) initialised: dm-devel@redhat.com
[ 10.672254] Adding 524284k swap on /swapfile1. Priority:-1 extents:3 across:622588k SSFS
[ 11.065142] NET: Registered protocol family 38
[ 12.641645] RX IPC Checksum Offload disabled
[ 12.654529] No MAC Management Counters available
[ 18.627711] sun7i-dwmac 1c50000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 23.277541] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 44.271185] random: nonblocking pool is initialized

root@bananapi ~ # cryptsetup benchmark
# Tests are approximate using memory only (no storage IO).
PBKDF2-sha1 84020 iterations per second
PBKDF2-sha256 58514 iterations per second
PBKDF2-sha512 26859 iterations per second
PBKDF2-ripemd160 79921 iterations per second
PBKDF2-whirlpool 6514 iterations per second
# Algorithm | Key | Encryption | Decryption
     aes-cbc 128b N/A N/A
 serpent-cbc 128b N/A N/A
 twofish-cbc 128b N/A N/A
     aes-cbc 256b N/A N/A
 serpent-cbc 256b N/A N/A
 twofish-cbc 256b N/A N/A
     aes-xts 256b N/A N/A
 serpent-xts 256b N/A N/A
 twofish-xts 256b N/A N/A
     aes-xts 512b N/A N/A
 serpent-xts 512b N/A N/A
 twofish-xts 512b N/A N/A
Required kernel crypto interface not available.
Ensure you have algif_skcipher kernel module loaded.
cryptsetup benchmark 9.26s user 0.01s system 98% cpu 9.395 total
Notes
(0000302)
ywoody   
2015-12-22 09:20   
(edited on: 2015-12-22 09:46)
Hardware: BPI M1+

1 root@bananapi ~ # dpkg -l | grep u-boot :(
ii u-boot-bananian 15.08.01 armhf Uboot loader for Bananian Linux

Looking like i am on older u-boot, will update the u-boot to 2015.10 and re-try. WIll update the note once tested.

(0000306)
Nico   
2015-12-22 10:03   
The module 'algif_skcipher' is missing because of:
# CONFIG_CRYPTO_USER_API_SKCIPHER is not set
(0000307)
Nico   
2015-12-22 10:04   
The sun4i_ss module is loaded by default without adding it to /etc/modules.

root@bananapi ~ # lsmod | grep ss
sun4i_ss 14978 0
(0000310)
ywoody   
2015-12-22 10:48   
algif_skcipher is loaded by default on 3.4.108 bananian kernel. Is there a way to load it? Tried "algif_skcipher" >> /etc/modules, and didnt seem to load.

Regarding, sun4i_ss, here is the tested result again after the uboot and kernel update, didn't seem to see any hardware crypto accelerator listed under /proc/crypto.


root@bananapi ~ # dpkg -l | grep u-boot
ii u-boot-bananian 15.08.03 armhf Uboot loader for Bananian Linux
root@bananapi ~ # uname -r
4.3.3-bananian
root@bananapi ~ # cat /proc/crypto | grep 'name\|driver\|module\|cipher\|type'
name : cbc(aes)
driver : cbc(aes-generic)
module : kernel
type : blkcipher
name : hmac(sha256)
driver : hmac(sha256-generic)
module : kernel
type : shash
name : jitterentropy_rng
driver : jitterentropy_rng
module : kernel
type : rng
name : stdrng
driver : drbg_nopr_hmac_sha256
module : kernel
type : rng
name : stdrng
driver : drbg_nopr_hmac_sha512
module : kernel
type : rng
name : stdrng
driver : drbg_nopr_hmac_sha384
module : kernel
type : rng
name : stdrng
driver : drbg_nopr_hmac_sha1
module : kernel
type : rng
name : stdrng
driver : drbg_pr_hmac_sha256
module : kernel
type : rng
name : stdrng
driver : drbg_pr_hmac_sha512
module : kernel
type : rng
name : stdrng
driver : drbg_pr_hmac_sha384
module : kernel
type : rng
name : stdrng
driver : drbg_pr_hmac_sha1
module : kernel
type : rng
name : stdrng
driver : ansi_cprng
module : kernel
type : rng
name : lzo
driver : lzo-generic
module : kernel
type : compression
name : crc32c
driver : crc32c-generic
module : kernel
type : shash
name : deflate
driver : deflate-generic
module : kernel
type : compression
name : ecb(arc4)
driver : ecb(arc4)-generic
module : kernel
type : blkcipher
name : arc4
driver : arc4-generic
module : kernel
type : cipher
name : aes
driver : aes-generic
module : kernel
type : cipher
name : des3_ede
driver : des3_ede-generic
module : kernel
type : cipher
name : des
driver : des-generic
module : kernel
type : cipher
name : sha224
driver : sha224-generic
module : kernel
type : shash
name : sha256
driver : sha256-generic
module : kernel
type : shash
name : sha1
driver : sha1-generic
module : kernel
type : shash
name : md5
driver : md5-generic
module : kernel
type : shash
name : md4
driver : md4-generic
module : kernel
type : shash
name : digest_null
driver : digest_null-generic
module : kernel
type : shash
name : compress_null
driver : compress_null-generic
module : kernel
type : compression
name : ecb(cipher_null)
driver : ecb-cipher_null
module : kernel
type : blkcipher
name : cipher_null
driver : cipher_null-generic
module : kernel
type : cipher
(0000311)
ywoody   
2015-12-22 11:02   
From 4.3 Kernel source /drivers/crypto/sunxi-ss/sun4i-ss-core.c, we should see the driver name below listed /proc/crypto if the SS is loaded.


130 root@bananapi /home # cat sun4i-ss-core.c | grep driver :(
                .cra_driver_name = "md5-sun4i-ss",
                .cra_driver_name = "sha1-sun4i-ss",
        .cra_driver_name = "cbc-aes-sun4i-ss",
        .cra_driver_name = "ecb-aes-sun4i-ss",
        .cra_driver_name = "cbc-des-sun4i-ss",
        .cra_driver_name = "ecb-des-sun4i-ss",
            .cra_driver_name = "cbc-des3-sun4i-ss",
            .cra_driver_name = "ecb-des3-sun4i-ss",
static struct platform_driver sun4i_ss_driver = {
    .driver = {
module_platform_driver(sun4i_ss_driver);
root@bananapi /home #
(0000312)
ywoody   
2015-12-22 11:15   
After doing more research on Allwinner A20 and Kernel 4.3 find there is a path needed for Kernel 4.3:

https://bugzilla.kernel.org/show_bug.cgi?id=107281 [^]
http://forum.armbian.com/index.php/topic/404-stable-vs-mainline-for-next/ [^]

Hope these info can help.
(0000313)
Nico   
2015-12-23 10:26   
Thanks for the patch! Seems to work for me:
root@bananian-build ~/bananian (git)-[master] # cat /proc/crypto | grep sun4
driver : ecb-des3-sun4i-ss
module : sun4i_ss
driver : cbc-des3-sun4i-ss
module : sun4i_ss
driver : ecb-des-sun4i-ss
module : sun4i_ss
driver : cbc-des-sun4i-ss
module : sun4i_ss
driver : ecb-aes-sun4i-ss
module : sun4i_ss
driver : cbc-aes-sun4i-ss
module : sun4i_ss
driver : sha1-sun4i-ss
module : sun4i_ss
driver : md5-sun4i-ss
module : sun4i_ss
(0000314)
Nico   
2015-12-23 10:27   
https://github.com/Bananian/bananian/commit/99eaf7ee5b13b6c9323ef601af8f0e6433885299 [^]

There will be a new revision of our linux-image-4.3.3 package (15.08.04)
(0000315)
Nico   
2015-12-23 15:01   
fixed with:
jessie|main|armhf: linux-firmware-image-4.3.3-bananian 15.08.04
jessie|main|armhf: linux-headers-4.3.3-bananian 15.08.04
jessie|main|armhf: linux-image-4.3.3-bananian 15.08.04





View Issue Details
59 [Bananian Linux] Kernel major always 2014-10-27 19:28 2015-12-22 10:08
machello  
Nico  
high  
assigned 14.09  
open  
none    
none  
   
VLAN packet loss
I'm using tvheadend in a VLAN trunking setup. I keep getting "continuity counter errors", meaning tvheadend is missing pieces of the stream. This is not a performance issue: I tried tuning the tcp-ip buffers and even assigning eth0 to its own cpu. No difference. I know the sunxi kernel code logs every VLAN frame. But I've removed that line from gmac_desc.c. The only way I can make the problem go away is by disabling VLAN. After that, no more conitinuity counter errors. Therefore I suspect something is wrong with the network stack and that it's actually losing packets when in VLAN mode.

BTW, there may be a bigger problem with the network code, because I've also seen tvheadend lose the entire stream: "no transponder availiable for subscription". No apparent reason. I've seen this both with and without VLAN. But I've only seen this on 2 occassions and am not able to reproduce it.
Vconfig:
add to eth0:
eth0.1 with vlan-id 1
eth0.2 with vlan id-2

TVheadend:
Configure IPTV streams
Add an entry to the recorder

Wait for "continuity counter error". Sometimes it happens immediately, sometimes it takes some time. To speed things up:

run iperf (for "best" results use banana pi as the server, i.e. iperf -s)
Notes
(0000210)
jekader   
2015-04-10 15:28   
Is this still an issue? If yes than:
* What's the hardware used?
* Can you reproduce it with plain iperf when playing with different MTU value?
* What's between your clients and the server? Are they connected directly to the bpi?
* are there any drops listed in "ethtool -S eth0" output?

Just want to avoid situations when it's MTU fault due to increased frame size thanks to the VLAN header.
(0000211)
machello   
2015-04-10 20:19   
It's not an issue anymore because I bought a USB ethernet adapter: ASIX AX88772. And for extra fault tolerance I increaded the rmem_max and rmem_default buffer sizes. After that, no more packets dropped and hence no more continiutiy counter errors. Of course this means the issue with the internal ethernet driver of the Banana Pi is still there.
(0000309)
Nico   
2015-12-22 10:08   
Could you please check if the problem also exists with the latest mainline kernel?

To install Kernel 4.3.3:
apt-get install linux-image-4.3.3-bananian





View Issue Details
179 [Bananian Linux] Kernel minor always 2015-12-22 08:59 2015-12-22 09:43
ywoody  
Nico  
normal  
resolved Kernel 4.3  
duplicate  
none    
none  
   
Only one CPU is loaded on Kernel 4.3
By using nproc and htop only one CPU is showed, from dmesg it show only one of the cpu is loaded.
run nproc or htop.
root@bananapi ~ # dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.3.3-bananian (root@bananian-build) (gcc version 4.9.2 (Debian 4.9.2-10) ) #4 SMP Mon Dec 21 02:26:21 UTC 2015
[ 0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: Banana Pi BPI-M1
[ 0.000000] cma: Reserved 16 MiB at 0x7e800000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] On node 0 totalpages: 260119
[ 0.000000] free_area_init_node: node 0, pgdat c0bc6b00, node_mem_map eef01000
[ 0.000000] Normal zone: 1710 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 194560 pages, LIFO batch:31
[ 0.000000] HighMem zone: 65559 pages, LIFO batch:15
[ 0.000000] PERCPU: Embedded 13 pages/cpu @eeecd000 s23744 r8192 d21312 u53248
[ 0.000000] pcpu-alloc: s23744 r8192 d21312 u53248 alloc=13*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 258409
[ 0.000000] Kernel command line: console=ttyS0,115200 console=tty0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 1001444K/1040476K available (8579K kernel code, 700K rwdata, 2272K rodata, 512K init, 320K bss, 22648K reserved, 16384K cma-reserved, 245852K highmem)
[ 0.000000] Virtual kernel memory layout:
    vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    vmalloc : 0xf0000000 - 0xff000000 ( 240 MB)
    lowmem : 0xc0000000 - 0xef800000 ( 760 MB)
    pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
      .text : 0xc0008000 - 0xc0aa1224 (10853 kB)
      .init : 0xc0aa2000 - 0xc0b22000 ( 512 kB)
      .data : 0xc0b22000 - 0xc0bd1310 ( 701 kB)
       .bss : 0xc0bd4000 - 0xc0c2422c ( 321 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] Architected cp15 timer(s) running at 24.00MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000019] Switching to timer-based delay loop, resolution 41ns
[ 0.000392] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000578] clocksource: hstimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns
[ 0.000779] Console: colour dummy device 80x30
[ 0.001357] console [tty0] enabled
[ 0.001396] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.001436] pid_max: default: 32768 minimum: 301
[ 0.001602] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001631] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.002388] Initializing cgroup subsys io
[ 0.002457] Initializing cgroup subsys memory
[ 0.002519] Initializing cgroup subsys devices
[ 0.002549] Initializing cgroup subsys freezer
[ 0.002578] Initializing cgroup subsys net_cls
[ 0.002603] Initializing cgroup subsys perf_event
[ 0.002665] CPU: Testing write buffer coherency: ok
[ 0.003075] /cpus/cpu@0 missing clock-frequency property
[ 0.003118] /cpus/cpu@1 missing clock-frequency property
[ 0.003145] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.003242] Setting up static identity map for 0x400082c0 - 0x40008318
[ 0.005093] Brought up 1 CPUs
[ 0.005139] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.005160] CPU: All CPU(s) started in SVC mode.
[ 0.005995] devtmpfs: initialized
[ 0.014353] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4
[ 0.014819] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.015805] xor: measuring software checksum speed
[ 0.110040] arm4regs : 1243.600 MB/sec
[ 0.210101] 8regs : 794.400 MB/sec
[ 0.310161] 32regs : 771.200 MB/sec
[ 0.310183] xor: using function: arm4regs (1243.600 MB/sec)
[ 0.310357] pinctrl core: initialized pinctrl subsystem
[ 0.311676] NET: Registered protocol family 16
[ 0.312882] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.313578] cpuidle: using governor ladder
[ 0.313618] cpuidle: using governor menu
[ 0.320143] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.320307] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.500772] raid6: int32x1 gen() 126 MB/s
[ 0.670788] raid6: int32x1 xor() 91 MB/s
[ 0.840879] raid6: int32x2 gen() 168 MB/s
[ 1.011231] raid6: int32x2 xor() 104 MB/s
[ 1.181139] raid6: int32x4 gen() 167 MB/s
[ 1.351541] raid6: int32x4 xor() 113 MB/s
[ 1.521724] raid6: int32x8 gen() 166 MB/s
[ 1.691587] raid6: int32x8 xor() 107 MB/s
[ 1.691608] raid6: using algorithm int32x2 gen() 168 MB/s
[ 1.691628] raid6: .... xor() 104 MB/s, rmw enabled
[ 1.691648] raid6: using intx1 recovery algorithm
[ 1.691996] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe
[ 1.692081] reg-fixed-voltage usb2-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe
[ 1.692916] reg-fixed-voltage gmac-3v3: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/gmac_power_pin@0, deferring probe
[ 1.693511] SCSI subsystem initialized
[ 1.693918] libata version 3.00 loaded.
[ 1.694285] usbcore: registered new interface driver usbfs
[ 1.694388] usbcore: registered new interface driver hub
[ 1.694483] usbcore: registered new device driver usb
[ 1.694655] media: Linux media interface: v0.10
[ 1.694736] Linux video capture interface: v2.00
[ 1.694863] pps_core: LinuxPPS API ver. 1 registered
[ 1.694888] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 1.694944] PTP clock support registered
[ 1.697257] clocksource: Switched to clocksource arch_sys_counter
[ 1.755757] simple-framebuffer 7f817000.framebuffer: framebuffer at 0x7f817000, 0x7e9000 bytes, mapped to 0xf0800000
[ 1.755824] simple-framebuffer 7f817000.framebuffer: format=x8r8g8b8, mode=1920x1080x32, linelength=7680
[ 1.792489] Console: switching to colour frame buffer device 240x67
[ 1.828201] simple-framebuffer 7f817000.framebuffer: fb0: simplefb registered!
[ 1.839038] NET: Registered protocol family 2
[ 1.839968] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 1.840274] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 1.840578] TCP: Hash tables configured (established 8192 bind 8192)
[ 1.840851] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 1.841087] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 1.841556] NET: Registered protocol family 1
[ 1.842223] RPC: Registered named UNIX socket transport module.
[ 1.842415] RPC: Registered udp transport module.
[ 1.842552] RPC: Registered tcp transport module.
[ 1.842689] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.843642] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[ 1.845178] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 1.857883] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.860122] NFS: Registering the id_resolver key type
[ 1.860351] Key type id_resolver registered
[ 1.860477] Key type id_legacy registered
[ 1.861369] Key type cifs.idmap registered
[ 1.861864] fuse init (API version 7.23)
[ 1.863172] JFS: nTxBlock = 7951, nTxLock = 63614
[ 1.874379] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[ 1.882647] bounce: pool size: 64 pages
[ 1.882920] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 1.883328] io scheduler noop registered
[ 1.883468] io scheduler deadline registered (default)
[ 1.883679] io scheduler cfq registered
[ 1.886647] sun7i-a20-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 1.953260] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 1.956811] console [ttyS0] disabled
[ 1.977213] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 42, base_baud = 1500000) is a U6_16550A
[ 2.765101] console [ttyS0] enabled
[ 2.792360] 1c28c00.serial: ttyS1 at MMIO 0x1c28c00 (irq = 43, base_baud = 1500000) is a U6_16550A
[ 2.825175] 1c29c00.serial: ttyS2 at MMIO 0x1c29c00 (irq = 44, base_baud = 1500000) is a U6_16550A
[ 2.843524] loop: module loaded
[ 2.847124] Loading iSCSI transport class v2.0-870.
[ 2.917323] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP
[ 2.933501] ahci-sunxi 1c18000.sata: SSS flag set, parallel bus scan disabled
[ 2.949254] ahci-sunxi 1c18000.sata: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[ 2.966949] ahci-sunxi 1c18000.sata: flags: ncq sntf stag pm led clo only pio slum part ccc
[ 2.985517] scsi host0: ahci-sunxi
[ 2.998261] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 31
[ 3.016967] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[ 3.035594] tun: Universal TUN/TAP device driver, 1.6
[ 3.049930] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 3.066057] PPP generic driver version 2.4.2
[ 3.079778] PPP BSD Compression module registered
[ 3.093505] PPP Deflate Compression module registered
[ 3.107471] PPP MPPE Compression module registered
[ 3.121067] NET: Registered protocol family 24
[ 3.134242] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.149557] ehci-platform: EHCI generic platform driver
[ 3.164043] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 3.179256] ohci-platform: OHCI generic platform driver
[ 3.193889] usbcore: registered new interface driver usb-storage
[ 3.208930] ftdi_elan: driver ftdi-elan
[ 3.222288] usbcore: registered new interface driver ftdi-elan
[ 3.238603] sunxi-rtc 1c20d00.rtc: rtc core: registered rtc-sunxi as rtc0
[ 3.254625] sunxi-rtc 1c20d00.rtc: RTC enabled
[ 3.268192] i2c /dev entries driver
[ 3.281914] axp20x 0-0034: AXP20x variant AXP209 found
[ 3.303623] input: axp20x-pek as /devices/platform/soc@01c00000/1c2ac00.i2c/i2c-0/0-0034/axp20x-pek/input/input0
[ 3.323278] axp20x-regulator axp20x-regulator: regulators node not found
[ 3.341809] axp20x 0-0034: AXP20X driver loaded
[ 3.357424] IR NEC protocol handler initialized
[ 3.370987] IR RC5(x/sz) protocol handler initialized
[ 3.384947] IR RC6 protocol handler initialized
[ 3.398296] IR JVC protocol handler initialized
[ 3.411478] IR Sony protocol handler initialized
[ 3.424713] IR SANYO protocol handler initialized
[ 3.437975] IR Sharp protocol handler initialized
[ 3.451129] IR MCE Keyboard/mouse protocol handler initialized
[ 3.465451] IR XMP protocol handler initialized
[ 3.479409] ata1: SATA link down (SStatus 0 SControl 300)
[ 3.493826] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 3.511171] sunxi-mmc 1c0f000.mmc: No vqmmc regulator found
[ 3.526051] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[ 3.577547] sunxi-mmc 1c0f000.mmc: base:0xf055a000 irq:27
[ 3.592595] ledtrig-cpu: registered to indicate activity on CPUs
[ 3.607629] usbcore: registered new interface driver usbhid
[ 3.621764] usbhid: USB HID core driver
[ 3.635112] ipip: IPv4 over IPv4 tunneling driver
[ 3.649190] Initializing XFRM netlink socket
[ 3.663014] NET: Registered protocol family 10
[ 3.677553] NET: Registered protocol family 17
[ 3.690607] NET: Registered protocol family 15
[ 3.703535] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 3.724919] can: controller area network core (rev 20120528 abi 9)
[ 3.739917] NET: Registered protocol family 29
[ 3.753122] 8021q: 802.1Q VLAN Support v1.8
[ 3.766000] Key type dns_resolver registered
[ 3.789341] cpu cpu0: running cpufreq without cooling device: -38
[ 3.803795] Registering SWP/SWPB emulation handler
[ 3.817898] registered taskstats version 1
[ 3.833993] zswap: zpool zbud not available, using default zbud
[ 3.848481] zpool: no driver for type zbud
[ 3.860768] zswap: zbud zpool not available
[ 3.872960] zswap: pool creation failed
[ 3.888093] Btrfs loaded
[ 3.900086] Key type encrypted registered
[ 3.920497] vcc3v0: disabling
[ 3.931405] vcc5v0: disabling
[ 3.942032] usb1-vbus: disabling
[ 3.952780] usb2-vbus: disabling
[ 3.963438] gmac-3v3: disabling
[ 3.976671] Waiting for root device /dev/mmcblk0p2...
[ 4.014634] mmc0: host does not support reading read-only switch, assuming write-enable
[ 4.039574] mmc0: new high speed SDHC card at address 59b4
[ 4.054121] mmcblk0: mmc0:59b4 NCard 14.7 GiB
[ 4.068293] mmcblk0: p1 p2
[ 4.109712] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
[ 4.125576] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 4.163661] devtmpfs: mounted
[ 4.175490] Freeing unused kernel memory: 512K (c0aa2000 - c0b22000)
[ 5.493150] systemd-udevd[198]: starting version 215
[ 5.567880] random: udevd urandom read with 6 bits of entropy available
[ 5.919512] ehci-platform 1c14000.usb: EHCI Host Controller
[ 5.933177] ehci-platform 1c14000.usb: new USB bus registered, assigned bus number 1
[ 5.964600] sun4i-ss 1c15000.crypto-engine: no reset control found
[ 5.980546] sun4i-ss 1c15000.crypto-engine: Die ID 0
[ 5.993474] sun4i-ss 1c15000.crypto-engine: Fail to register md5
[ 6.007410] sun4i-ss: probe of 1c15000.crypto-engine failed with error -22
[ 6.209000] ehci-platform 1c14000.usb: irq 28, io mem 0x01c14000
[ 6.297586] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00
[ 6.311920] sun7i-dwmac 1c50000.ethernet: no reset control found
[ 6.325736] Ring mode enabled
[ 6.336434] No HW DMA feature register supported
[ 6.341099] Normal descriptors
[ 6.359569] TX Checksum insertion supported
[ 6.435500] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 6.450405] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 6.465599] usb usb1: Product: EHCI Host Controller
[ 6.478416] usb usb1: Manufacturer: Linux 4.3.3-bananian ehci_hcd
[ 6.492547] usb usb1: SerialNumber: 1c14000.usb
[ 6.756559] libphy: stmmac: probed
[ 6.768240] eth0: PHY ID 001cc915 at 0 IRQ POLL (stmmac-0:00) active
[ 6.782731] eth0: PHY ID 001cc915 at 1 IRQ POLL (stmmac-0:01)
[ 6.875624] hub 1-0:1.0: USB hub found
[ 6.927490] hub 1-0:1.0: 1 port detected
[ 6.981014] ehci-platform 1c1c000.usb: EHCI Host Controller
[ 6.994903] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2
[ 7.116119] ehci-platform 1c1c000.usb: irq 32, io mem 0x01c1c000
[ 7.178526] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[ 7.237685] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 7.252708] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 7.268006] usb usb2: Product: EHCI Host Controller
[ 7.281000] usb usb2: Manufacturer: Linux 4.3.3-bananian ehci_hcd
[ 7.295324] usb usb2: SerialNumber: 1c1c000.usb
[ 7.537055] hub 2-0:1.0: USB hub found
[ 7.588731] hub 2-0:1.0: 1 port detected
[ 7.640051] ohci-platform 1c14400.usb: Generic Platform OHCI controller
[ 7.654893] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 3
[ 7.674126] ohci-platform 1c14400.usb: irq 29, io mem 0x01c14400
[ 7.755000] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[ 7.769934] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 7.785133] usb usb3: Product: Generic Platform OHCI controller
[ 7.799002] usb usb3: Manufacturer: Linux 4.3.3-bananian ohci_hcd
[ 7.813006] usb usb3: SerialNumber: 1c14400.usb
[ 7.895272] hub 3-0:1.0: USB hub found
[ 7.908150] hub 3-0:1.0: 1 port detected
[ 7.922426] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[ 7.937762] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 4
[ 7.971866] ohci-platform 1c1c400.usb: irq 33, io mem 0x01c1c400
[ 8.047580] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[ 8.047589] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 8.047595] usb usb4: Product: Generic Platform OHCI controller
[ 8.047601] usb usb4: Manufacturer: Linux 4.3.3-bananian ohci_hcd
[ 8.047606] usb usb4: SerialNumber: 1c1c400.usb
[ 8.049781] hub 4-0:1.0: USB hub found
[ 8.050145] hub 4-0:1.0: 1 port detected
[ 9.213264] EXT4-fs (mmcblk0p2): warning: mounting unchecked fs, running e2fsck is recommended
[ 9.235026] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 10.156795] device-mapper: uevent: version 1.0.3
[ 10.180618] device-mapper: ioctl: 4.33.0-ioctl (2015-8-18) initialised: dm-devel@redhat.com
[ 10.672254] Adding 524284k swap on /swapfile1. Priority:-1 extents:3 across:622588k SSFS
[ 11.065142] NET: Registered protocol family 38
[ 12.641645] RX IPC Checksum Offload disabled
[ 12.654529] No MAC Management Counters available
[ 18.627711] sun7i-dwmac 1c50000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 23.277541] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 44.271185] random: nonblocking pool is initialized
Notes
(0000301)
ywoody   
2015-12-22 09:20   
Hardware: BPI M1+
(0000303)
Nico   
2015-12-22 09:34   
Please provide output of:
dpkg -l | grep u-boot
(0000304)
ywoody   
2015-12-22 09:40   
(edited on: 2015-12-22 09:43)
1 root@bananapi ~ # dpkg -l | grep u-boot :(
ii u-boot-bananian 15.08.01 armhf Uboot loader for Bananian Linux



Is this the new 2015.10 uboot? If not, how to update it? Thx.

(0000305)
Nico   
2015-12-22 09:43   
Please run 'apt-get update && apt-get upgrade' to get the latest U-Boot version (package version: 15.08.02 or later) which fixes this bug.





View Issue Details
178 [Bananian Linux] General minor random 2015-12-21 10:42 2015-12-21 10:55
Nico  
Nico  
normal  
resolved Kernel 4.3  
fixed  
none    
none Kernel 4.3  
  Kernel 4.3  
Rebooting fails with u-boot-bananian 15.08.02
Sometimes rebooting fails with kernel 4.3 and u-boot-bananian 15.08.02.

There are no problems with mainline u-boot 2015.10 and we will update our package to this version.
Notes
(0000300)
Nico   
2015-12-21 10:55   
https://github.com/Bananian/bananian/commit/e17d3d5bb0f032358ac03176cd14666bb75afb0c [^]





View Issue Details
159 [Bananian Linux] Website minor have not tried 2015-08-26 06:36 2015-12-20 23:13
Nico  
Nico  
normal  
resolved  
fixed  
none    
none  
   
provide a RSS feed for the news page
A RSS feed would make it easier to follow the development.
Notes
(0000271)
Nico   
2015-08-26 15:15   
Call for testing: https://www.bananian.org/news.rss [^]
(0000272)
FrankM   
2015-08-26 19:49   
I add the feed..





View Issue Details
168 [Bananian Linux] Kernel minor always 2015-09-22 18:29 2015-12-20 23:11
martinD  
Nico  
normal  
resolved 15.08  
fixed  
none    
none Kernel 4.3  
  Kernel 4.3  
kernel 4.1.5 and 4.2: evdev debug module "evbug" loaded by default
Since kernel 4.1.5 the module "evbug" is loaded automagically at boot time.
This causes every event on an input device (e.g. a USB keyboard) logged in the kernel log, which spams the system logs

/var/log/kern.log
/var/log/syslog

with 3 lines of text for every key pressed on the keyboard.

I cannot find out why this module is loaded automatically. I can only see it did not exist with kernel 3.4.108.



Short solution:
~ # rmmod evbug

Mid-Term solution:
~ # echo "blacklist evbug" >/etc/modprobe.d/ev-debug-blacklist.conf


Notes
(0000299)
Nico   
2015-12-20 23:11   
https://github.com/Bananian/bananian/commit/ef4a52d4e1d399f127e7078f8c04e603a6e811d8 [^]





View Issue Details
172 [Bananian Linux] Kernel major always 2015-10-06 01:07 2015-12-20 23:06
xnyle  
Nico  
high  
resolved Kernel 4.2  
fixed  
none    
none Kernel 4.3  
  Kernel 4.3  
Kernel 4.x is missing USB network driver modules
In my case the asix driver is missing for a second usb network interface.

In general there are currently no modules compiled/provider in kernel/drivers/net
Notes
(0000291)
xnyle   
2015-10-06 01:10   
err, ... compiled/provided in kernel/drivers/net/usb
(0000292)
xnyle   
2015-10-06 01:15   
BTW, does anyone have a link to a resource describing how to patch / cross-compile mainline kernel 4.x?
(0000293)
schneckchen   
2015-10-06 08:31   
In my case some media modules are missing (DVB). I think all 4.x kernel images are affected.

It seems that a lot of modules are missing:

root@bananapi ..odules/3.4.108-bananian/kernel/drivers # ls
block char gpu hid i2c md mfd mmc net pps regulator spi staging tty usb watchdog bluetooth cpufreq gsensor hwmon input media misc mtd parport ptp scsi ssb target uio video

root@bananapi ..odules/4.1.5-bananian/kernel/drivers # ls
bcma block bluetooth cdrom char cpufreq extcon gpio hid hwmon input leds md mfd misc net power regulator rtc scsi ssb staging tty usb video w1





View Issue Details
177 [Bananian Linux] Kernel minor always 2015-12-20 22:59 2015-12-20 23:00
Nico  
Nico  
normal  
resolved Kernel 4.2  
fixed  
none    
none Kernel 4.3  
  Kernel 4.3  
b53 driver missing in Kernel 4.x
The b53 driver is missing in Kernel 4.x and networking on the Banana Pi R1 is broken.
Notes
(0000298)
Nico   
2015-12-20 23:00   
added driver: https://github.com/Bananian/bananian/blob/master/kernel/4.3.3/patches/0002-b53_switch_driver.patch [^]





View Issue Details
46 [Bananian Linux] Kernel minor have not tried 2014-10-01 10:46 2015-12-20 22:55
guest  
Nico  
low  
resolved 14.09  
fixed  
none    
none Kernel 4.3  
  Kernel 4.3  
Allwinner Security System Cryptographic Accelerator
A20 SOC has a hardware cryptographic accelerator called Security System which support AES/MD5/SHA1/DES/3DES/PRNG algorithms. This would help scp/sftp transfer
Notes
(0000043)
guest   
2014-10-01 10:51   
http://forum.lemaker.org/5937-1-1-very_slow_transfer_and_100_cpu_load.html [^]
(0000049)
guest   
2014-10-08 00:26   
Is there actually a stable patch yet? The latest patch I found on mailinglists is v4 from July. And the comments to this patch look like it's not ready/safe for production use yet (have a look at the comments, especially to part 3/3):
https://lkml.org/lkml/2014/7/12/67 [^]
(0000064)
guest   
2014-10-23 23:50   
There is a new version 5 of the patch available. It looks better, but there are still suggestions for further improvement.
(0000065)
guest   
2014-10-23 23:50   
Forgot the link http://lists.infradead.org/pipermail/linux-arm-kernel/2014-October/295267.html [^]
(0000086)
Nico   
2014-11-19 06:47   
We want to provide a very stable Banana Pi as. Because of this we will wait until the next patch version and postpone the integration to our next main release.
(0000207)
sooperior   
2015-04-08 08:32   
I couldn't find it, but it seems this driver has been updated recently
http://lists.infradead.org/pipermail/linux-arm-kernel/2015-March/331068.html [^]
(0000246)
sooperior   
2015-05-25 12:20   
Another update, from May
https://groups.google.com/forum/#!topic/linux-sunxi/ojKaE80B-eg [^]
(0000297)
Nico   
2015-12-20 22:49   
Enabled (as a module) in Kernel 4.3





View Issue Details
170 [Bananian Linux] Network major always 2015-10-05 20:16 2015-12-20 22:42
sinuswave  
Nico  
high  
resolved Kernel 4.2  
fixed  
none    
none  
   
dhcp on eth0 not working
when starting up a clean 15.08 with kernel 4.2 upstream package eth0 does not do dhcp auto configuration
Clean 15.08 image
install 4.3 upstream image
dhclient is not runnung
Notes
(0000289)
sinuswave   
2015-10-05 20:43   
It seams to happen sometimes.
(0000290)
sinuswave   
2015-10-05 22:04   
It seems the following did the trick:

sed -i 's/auto eth0/allow-hotplug eth0/' /etc/network/interfaces
(0000296)
Nico   
2015-12-20 22:42   
see workaround in the second comment.





View Issue Details
173 [Bananian Linux] Kernel major always 2015-10-12 22:10 2015-10-12 22:10
sinuswave  
 
normal  
new Kernel 4.2  
open  
none    
none  
   
ttyS2 not working
The second serial is not working
- create a new sdcard using 15.08
- run bananian-config and set type
- install 4.2 kernel image
running bananian pro
There are no notes attached to this issue.





View Issue Details
171 [Bananian Linux] General feature N/A 2015-10-06 00:10 2015-10-06 00:10
xnyle  
 
normal  
new 15.08  
open  
none    
none  
   
Improve handling / packaging of upgrade scipts and additions
So I finally "upgraded" my own Debian testing/sid to bananian.

It wasn't straightforward, cause I didn't find a documentation about that so I had to scrape all necessary infos from the various scipts. Well, wasn't that hard either.

What still could be improved to make it easier for ppl like me who want to maintain their own vanilla debian but still would like to use the tools and kernel:

1. package the remaining things that are not already in a deb (scipts in /usr/local)

2. also package the upgrade itself, so then you would simply have to apt-get install bananian-upgrade and call bananian-upgrade which then ask you if you would like to install bananian-local-additions-16.whatever and uninstall bananian-local-additions-15.whatever

3. make the ssh config changes optional, please DONT ever fiddle with those things without asking. I'd rather like to trust the ssh package maintainer doing the right thing

4. make the upgrade script accept stretch/sid as Debian version (same behaviour as with jessie, should simply look for sid, as stretch will change to whatever is next)

The goal should be that you could do the following in the future:

format SD-Card
debootstrap Debian on second partition
dd uboot & copy kernel on first partition (which you would simply steal from the debs, or maybe it could be a seperate download on the download page)
add gpg key manually and bananian sources.list
boot, install the debs from bananian repo and then basically have an upgradeable bananian version but without any modifications (like ssh keys, default users and so on)
There are no notes attached to this issue.





View Issue Details
161 [Bananian Linux] Network minor always 2015-08-27 23:10 2015-09-17 07:22
dumischbaenger  
Nico  
normal  
assigned 15.08  
reopened  
none    
none  
   
iw does not work
I use Bananian on my BPI-R1. I would like to configure my WLAN interface, but when I enter

> iw list

I get the following answer

> nl80211 not found.

Notes
(0000280)
Nico   
2015-09-05 12:11   
for AP mode use "hostapd-rtl", for client configuration follow this guide: https://wiki.debian.org/WiFi/HowToUse#Command_Line [^]
(0000281)
dumischbaenger   
2015-09-08 07:46   
That was not the point. I have hostapd up and running. Now I want to reduce tx power but iw does not work.
(0000287)
dumischbaenger   
2015-09-17 07:22   
Perhaps you can explain the hostapd/driver situation?

Both the Driver for the BPI-R1 WLAN interface and hostapd that ship with debian are broken and therefore bananian comes with the driver from https://github.com/dz0ny/rt8192cu [^] and hostapd from https://github.com/jekader/hostapd-rtl. [^]

Unfortunately rt8192cu does not support the nl80211 interface.

Am I right?

On the other hand side I'm quite sure that OpenWrt, which I tried first, offered me the possibility to adjust tx power. At least the webinterface listed it.





View Issue Details
153 [Bananian Linux] Website minor always 2015-08-23 10:06 2015-09-11 19:50
Tina  
Nico  
normal  
resolved  
fixed  
none    
none  
   
Mobile Version
Page doesn`t work correct on mobile devices (can`t choose submenu items and website is not responsive)
Notes
(0000286)
Nico   
2015-09-11 19:50   
The submenu bug has been fixed by integrating DoubleTapToGo.js
See http://osvaldas.info/drop-down-navigation-responsive-and-touch-friendly [^] for details.





View Issue Details
164 [Bananian Linux] Kernel feature always 2015-09-02 01:34 2015-09-11 11:13
Matthias  
Nico  
normal  
resolved 15.08  
fixed  
none    
none Kernel 4.2  
  Kernel 4.2  
Support for blktrace (Kernel 4.1.5)
root@banana:/tmp/blktrace# blktrace /dev/mmcblk0p2 --stopwatch=120 --output=sdcard
BLKTRACESETUP(2) /dev/mmcblk0p2 failed: 25/Inappropriate ioctl for device
Thread 0 failed open /sys/kernel/debug/block/(null)/trace0: 2/No such file or directory
FAILED to start thread on CPU 0: 1/Operation not permitted

root@banana:~# uname -a
Linux banana 4.1.5-bananian #1 SMP Thu Aug 13 08:43:08 UTC 2015 armv7l GNU/Linux

Is it possible to activate CONFIG_BLK_DEV_IO_TRACE in the kernel?
Notes
(0000282)
Nico   
2015-09-10 11:03   
https://github.com/Bananian/bananian/commit/9ba50cc2c5d7a4082cef31c6a2f8a08882e51859 [^]





View Issue Details
162 [Bananian Linux] Kernel feature always 2015-08-29 18:22 2015-09-11 11:13
Matthias  
Nico  
normal  
resolved 15.08  
fixed  
none    
none Kernel 4.2  
  Kernel 4.2  
Support for iotop (Kernel 4.1.5)
root@banana:~# iotop
Could not run iotop as some of the requirements are not met:
- Linux >= 2.6.20 with
  - I/O accounting support (CONFIG_TASKSTATS, CONFIG_TASK_DELAY_ACCT, CONFIG_TASK_IO_ACCOUNTING)

root@banana:~# zcat /proc/config.gz | egrep "(CONFIG_TASKSTATS|CONFIG_TASK_DELAY_ACCT|CONFIG_TASK_IO_ACCOUNTING)"
# CONFIG_TASKSTATS is not set

root@banana:~# uname -a
Linux banana 4.1.5-bananian #1 SMP Thu Aug 13 08:43:08 UTC 2015 armv7l GNU/Linux
Notes
(0000274)
Nico   
2015-08-30 10:22   
will be done with the next kernel release
(0000283)
Nico   
2015-09-10 11:03   
https://github.com/Bananian/bananian/commit/20e4cff37f8f14ef96f1947b69c8607d4d8adefe [^]





View Issue Details
155 [Bananian Linux] Kernel feature N/A 2015-08-23 11:00 2015-09-11 11:13
FrankM  
Nico  
normal  
resolved 15.08  
fixed  
none    
none Kernel 4.2  
  Kernel 4.2  
Docker support
Please add docker support kernel images.
Notes
(0000279)
Nico   
2015-09-05 12:05   
This feature will not be available for the 3.4.x sunxi kernel:
"A 3.10 Linux kernel is the minimum requirement for Docker. Kernels older than 3.10 lack some of the features required to run Docker containers. These older versions are known to have bugs which cause data loss and frequently panic under certain conditions.

The latest minor version (3.x.y) of the 3.10 (or a newer maintained version) Linux kernel is recommended. Keeping the kernel up to date with the latest minor version will ensure critical kernel bugs get fixed."
https://docs.docker.com/installation/binaries/#check-kernel-dependencies [^]
(0000284)
Nico   
2015-09-10 11:06   
info: reading kernel config from /proc/config.gz ...

Generally Necessary:
- cgroup hierarchy: properly mounted [/sys/fs/cgroup]
- CONFIG_NAMESPACES: enabled
- CONFIG_NET_NS: enabled
- CONFIG_PID_NS: enabled
- CONFIG_IPC_NS: enabled
- CONFIG_UTS_NS: enabled
- CONFIG_DEVPTS_MULTIPLE_INSTANCES: enabled
- CONFIG_CGROUPS: enabled
- CONFIG_CGROUP_CPUACCT: enabled
- CONFIG_CGROUP_DEVICE: enabled
- CONFIG_CGROUP_FREEZER: enabled
- CONFIG_CGROUP_SCHED: enabled
- CONFIG_CPUSETS: enabled
- CONFIG_MEMCG: enabled
- CONFIG_MACVLAN: enabled
- CONFIG_VETH: enabled
- CONFIG_BRIDGE: enabled
- CONFIG_BRIDGE_NETFILTER: enabled (as module)
- CONFIG_NF_NAT_IPV4: enabled (as module)
- CONFIG_IP_NF_FILTER: enabled (as module)
- CONFIG_IP_NF_TARGET_MASQUERADE: enabled (as module)
- CONFIG_NETFILTER_XT_MATCH_ADDRTYPE: enabled (as module)
- CONFIG_NETFILTER_XT_MATCH_CONNTRACK: enabled (as module)
- CONFIG_NF_NAT: enabled (as module)
- CONFIG_NF_NAT_NEEDED: enabled
- CONFIG_POSIX_MQUEUE: enabled

Optional Features:
- CONFIG_MEMCG_KMEM: enabled
- CONFIG_MEMCG_SWAP: enabled
- CONFIG_MEMCG_SWAP_ENABLED: enabled
- CONFIG_BLK_CGROUP: enabled
- CONFIG_IOSCHED_CFQ: enabled
- CONFIG_BLK_DEV_THROTTLING: enabled
- CONFIG_CGROUP_PERF: enabled
- CONFIG_CGROUP_HUGETLB: missing
- CONFIG_NET_CLS_CGROUP: missing
- CONFIG_CGROUP_NET_PRIO: missing
- CONFIG_CFS_BANDWIDTH: enabled
- CONFIG_FAIR_GROUP_SCHED: enabled
- CONFIG_RT_GROUP_SCHED: enabled
- CONFIG_EXT3_FS: missing
- CONFIG_EXT3_FS_XATTR: missing
- CONFIG_EXT3_FS_POSIX_ACL: missing
- CONFIG_EXT3_FS_SECURITY: missing
    (enable these ext3 configs if you are using ext3 as backing filesystem)
- CONFIG_EXT4_FS: enabled
- CONFIG_EXT4_FS_POSIX_ACL: enabled
- CONFIG_EXT4_FS_SECURITY: enabled
- Storage Drivers:
  - "aufs":
    - CONFIG_AUFS_FS: missing
  - "btrfs":
    - CONFIG_BTRFS_FS: enabled
  - "devicemapper":
    - CONFIG_BLK_DEV_DM: enabled (as module)
    - CONFIG_DM_THIN_PROVISIONING: enabled (as module)
  - "overlay":
    - CONFIG_OVERLAY_FS: enabled (as module)
  - "zfs":
    - /dev/zfs: missing
    - zfs command: missing
    - zpool command: missing





View Issue Details
163 [Bananian Linux] Kernel major always 2015-08-30 13:51 2015-09-05 12:19
Matthias  
Nico  
normal  
resolved 15.08  
fixed  
none    
none  
   
Only one CPU core available (Kernel 4.1.5)
root@banana:~# cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 50.52
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 4

Hardware : Allwinner sun7i (A20) Family
Revision : 0000
Serial : 0000000000000000

root@banana:~# uname -a
Linux banana 4.1.5-bananian #1 SMP Thu Aug 13 08:43:08 UTC 2015 armv7l GNU/Linux
Maybe a wrong u-boot configuration:
http://www.lemaker.org/forum.php?mod=viewthread&tid=17368 [^]
Notes
(0000275)
Nico   
2015-09-02 06:45   
Thank you for reporting! We will check and verify this within the next days.
(0000276)
Nico   
2015-09-04 13:43   
I can confirm this bug. It is definitely U-Boot related.
We will provide new packages within the next days which will automatically be installed when you execute apt-get update && apt-get upgrade
(0000278)
Nico   
2015-09-05 11:57   
fixed with: jessie|main|armhf: u-boot-bananian 15.08.02

https://github.com/Bananian/bananian/commit/c2b273af105b9bfdb27806769cbb342ab5b3b945 [^]

run "apt-get update && apt-get upgrade" to get the new U-Boot.





View Issue Details
156 [Bananian Linux] Network minor always 2015-08-23 14:42 2015-09-04 15:47
FrankM  
Nico  
normal  
resolved 15.08  
fixed  
none    
none  
   
hostapd on bananapro
The debian hostapd package isn't working on bananapro. Please provide a custom package for bananian.
Notes
(0000273)
Nico   
2015-08-27 16:41   
The source has been released on GitHub: https://github.com/Bananian/hostapd-ap6210 [^]

Packages for the Bananian repository will follow (15.04 and 15.08).
(0000277)
Nico   
2015-09-04 15:47   
Run "apt-get update && apt-get install hostapd-ap6210" to get it.





View Issue Details
165 [Bananian Linux] Kernel tweak N/A 2015-09-02 19:53 2015-09-02 19:53
nocri  
 
normal  
new  
open  
none    
none  
   
Modulize sunxi-CODEC
It would be nicer if the sound card driver (sunxi-CODEC) would be module and not hard compiled into kernel. That way unloading or blacklisting it would be possible.

CONFIG_SOUND_SUNXI=m
CONFIG_SND_SUNXI_SOC_CODEC=m
CONFIG_SND_SUNXI_SOC_HDMIAUDIO=m
CONFIG_SND_SUNXI_SOC_SPDIF=m
There are no notes attached to this issue.





View Issue Details
154 [Bananian Linux] General minor always 2015-08-23 10:10 2015-08-26 15:06
Tina  
Nico  
normal  
resolved 15.08  
not fixable  
none    
none  
   
Keyboard configuration warning
When changing keyboard with bananian-config the following warning appears:

Your current keyboard layout is 'de'. Do you want to change it? (y/N) y

Configuring keyboard layout...

update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
[ ok ] Setting preliminary keymap...done.

 
Notes
(0000270)
Nico   
2015-08-26 08:35   
This is a upstream Debian bug and can't be fixed by us.
It is triggered by executing "dpkg-reconfigure keyboard-configuration".

Because this is just a warning I will now close this bug report.





View Issue Details
158 [Bananian Linux] Website minor have not tried 2015-08-26 06:34 2015-08-26 08:21
Nico  
Nico  
normal  
resolved  
fixed  
none    
none  
   
Website: Banana Pi M3 is missing on hardware overview
The Banana Pi M3 is not listed in the hardware overview: https://www.bananian.org/hardware [^]
There are no notes attached to this issue.





View Issue Details
120 [Bananian Linux] Userland minor have not tried 2015-04-04 15:38 2015-08-18 18:21
aspeed  
Nico  
normal  
resolved  
duplicate  
none    
none  
   
hostapd from official debian repo on BPI-R1 don't work (need rtl8188 patches)
Please add in Bananian repository (http://dl.bananian.org/packages/ [^]) patched version hostapd:
https://github.com/jekader/hostapd-rtl [^]
There are no notes attached to this issue.





View Issue Details
151 [Bananian Linux] Hardware major always 2015-08-14 21:27 2015-08-16 21:20
Nico  
Nico  
normal  
resolved 15.08  
fixed  
none    
none 15.08  
  15.08  
LCD support is broken with mainline U-Boot 2015.07
With mainline u-boot 2015.07 it is not possible to use the LCD display connected to CON2.

u-boot-sunxi works fine.
Notes
(0000268)
Nico   
2015-08-14 21:31   
(edited on: 2015-08-14 22:27)
The latest mainline U-Boot 2015.10-rc1-00597-gbbc1b99 works fine with both, sunxi 3.4 and mainline kernel.

We will switch to this version, with no default settings for LCD.

1.) On sunxi you can enable LCD with FEX.

2.) On mainline you have to recompile U-Boot with these settings:
CONFIG_VIDEO_LCD_MODE="x:1024,y:600,depth:24,pclk_khz:55000,le:100,ri:170,up:10,lo:15,hs:50,vs:10,sync:3,vmode:0"
CONFIG_VIDEO_LCD_POWER="PH12"
CONFIG_VIDEO_LCD_BL_EN="PH8"
CONFIG_VIDEO_LCD_BL_PWM="PB2"
CONFIG_VIDEO_LCD_BL_PWM_ACTIVE_LOW=n
CONFIG_VIDEO_LCD_PANEL_LVDS=y

See https://linux-sunxi.org/LCD#Bulk_automatic_conversion_of_all_FEX_files_from_the_sunxi-boards_repository [^]

(0000269)
Nico   
2015-08-16 21:20   
Updated to U-Boot 2015.10-rc1-00655-g632093b





View Issue Details
149 [Bananian Linux] Kernel minor have not tried 2015-08-13 14:56 2015-08-14 21:27
Nico  
Nico  
normal  
resolved 15.08  
fixed  
none    
none 15.08  
  15.08  
prepare for mainline Kernel 4.x
There will be a Linux mainline kernel 4.1.5 in the Bananian repository starting with release 15.08.

For mainline support we need to:
1.) Upgrade U-Boot to 2015.07 (mainline U-Boot)
2.) Switch from uEnv.txt to boot.cmd/scr
3.) adjust the Bananian kernel postinst hook script
4.) remove uENV.txt settings from bananian-config
5.) patch our sunxi kernel (3.4.x) for mainline U-Boot
Notes
(0000266)
Nico   
2015-08-13 14:58   
1.) https://github.com/Bananian/u-boot/releases/tag/v2015.07 [^]
2.) https://github.com/Bananian/bananian/commit/4a9d29b8f42933c18cf20cd8ef3243f6d9294a4a [^]
3.) https://github.com/Bananian/bananian/commit/99d3adae463158f8c627cde902f0fbf13cfcd04c [^]
4.) https://github.com/Bananian/bananian/commit/a419ed842eb58cac2c70521aca600454c19b84ea [^]
(0000267)
Nico   
2015-08-13 15:04   
5.) see http://linux-sunxi.org/Mainline_U-Boot#Unrecognized.2Funsupported_machine_ID [^]
https://github.com/Bananian/linux-bananapi/commit/5a49904a48d217b12d966dd49335277bf0f1e742 [^]
https://github.com/Bananian/linux-bananapi/commit/dc4ae97f6e55b9afb2f58d14ddd83d51f99dac2b [^]
https://github.com/Bananian/linux-bananapi/commit/2e2eab5da8aede648b6cbd461b3418421304a7bf [^]
https://github.com/Bananian/linux-bananapi/commit/bbaeb228e19bca77fc966857c3de256aacfd99d4 [^]
https://github.com/Bananian/linux-bananapi/commit/a547d18644f41871f26882c6d495b3e6c49b3581 [^]





View Issue Details
146 [Bananian Linux] General minor N/A 2015-08-08 13:33 2015-08-08 19:39
Nico  
Nico  
normal  
resolved 15.08  
fixed  
none    
none 15.08  
  15.08  
Keep SysVinit instead of systemd
We decided not to switch to systemd and keep SysVinit instead in the default image.

If you prefer systemd, remove /etc/apt/preferences.d/systemd and install the required packages. Bananian will also work fine with systemd.

Steps to replace systemd with sysvinit can be found here:
http://without-systemd.org/wiki/index.php/How_to_remove_systemd_from_a_Debian_jessie/sid_installation [^]
Notes
(0000265)
Nico   
2015-08-08 19:39   
bananian-update will ask the user to keep systemd or switch back to SysVinit





View Issue Details
127 [Bananian Linux] General minor have not tried 2015-04-26 11:28 2015-08-08 15:09
jekader  
Nico  
low  
resolved 15.04  
fixed  
none    
none 15.08  
  15.08  
RFE: rebase Bananian to Debian 8
As Debian 8 (Jessie) was released[1], this request is to rebase Bananian to this major version.

[1] https://lists.debian.org/debian-devel-announce/2015/03/msg00016.html [^]
Notes
(0000231)
Nico   
2015-04-26 11:31   
We are already working on that topic but there is no release date yet.

See:
https://twitter.com/tryvann/status/592220416392986624 [^] and https://twitter.com/tryvann/status/592221327970414592 [^]
(0000232)
jekader   
2015-04-26 11:39   
Great to hear that you're already considering a port. I can help with testing on my BPI-R1 if needed.
In general it should be pretty straightforward as the image is minimal. Not much was changed in userspace (systemd can be excluded if it acts funny for some reason) and Bananian ships its own kernel.





View Issue Details
106 [Bananian Linux] Kernel crash random 2015-02-04 07:15 2015-08-08 15:08
lmsilva  
Nico  
high  
resolved 15.01  
fixed  
none    
none 15.08  
  15.08  
Request to patch Realtek driver for 8192cu / 8188cu devices
I've been having some random crashes in my BPI-R1 and, after looking into it, I suspect the problem is related with the realtek drivers that ship with bananapi.

My system was stable and, after installing hostapd (as described here http://forum.lemaker.org/thread-13017-1-1-setting_up_wlan0_as_an_access_point_in_bpi_r1.html [^]), I started experiencing random crashes.

Today, as I looked deeper into it, I found these two git repos:
- this includes a patch to hostapd, so it supports the realtek wifi hardware on the BPI-R1
https://github.com/pritambaral/hostapd-rtl871xdrv [^]
- and then I found this other repo, where they have updated realtek drivers, based on some official drivers released by Realtek several years ago:
https://github.com/dz0ny/rt8192cu [^]

According to the repo's readme:
"The in-tree kernel drivers for these devices do not work so the official realtek drivers have to be used. Gladly, these were released as GPL code so we can publish them freely. Unfortunately, they have some issues with 64bit machines so this repository contains the fixes to make them work."

They do not claim official support but, knowing that the official drivers that ship with the kernel are broken, it might be a good idea to look into this.
Hard to reproduce...but...try and install hostapd on a BPI-R1 (as described here http://forum.lemaker.org/thread-13017-1-1-setting_up_wlan0_as_an_access_point_in_bpi_r1.html [^]) and use the device as an access point!
A few minutes / hours later, the system with crash with no apparent reason.
I'll gladly work with you guys and try out these drivers but I don't think I can do it without your help (seeing I do not have access to Bananian's linux headers).
hostapd_1.0-3+deb7u2_armhf.deb (405,940) 2015-03-10 15:22
https://dev.bananian.org/file_download.php?file_id=7&type=bug
wpa_1.0-3+deb7u2.debian.tar.gz (106,405) 2015-03-10 17:00
https://dev.bananian.org/file_download.php?file_id=8&type=bug
wpa_1.0-3+deb7u2.dsc (1,597) 2015-03-10 17:00
https://dev.bananian.org/file_download.php?file_id=9&type=bug
wpa_1.0-3+deb7u2_source.changes (1,298) 2015-03-10 17:00
https://dev.bananian.org/file_download.php?file_id=10&type=bug
wpa_1.0.orig.tar.gz (1,973,926) 2015-03-10 17:00
https://dev.bananian.org/file_download.php?file_id=11&type=bug
Notes
(0000177)
pludikovsky   
2015-03-10 15:23   
I have made an attempt to integrate the RealTek sources for 0.8 into the 1.0 Debian package.
So far it compiles & hostapd starts, but I haven't tested it beyond that yet. The package is attached to this ticket, sources available on request.
(0000178)
Nico   
2015-03-10 16:24   
Thank you. Please provide sources. We won't integrate anything without complete sources.
(0000179)
pludikovsky   
2015-03-10 17:02   
Attached the requested source files, which should be everything required to build the package(s).
(0000186)
jekader   
2015-03-28 17:16   
I want to note that I also applied the realtek patchset against hostapd-2.4

the sources are here:
https://github.com/jekader/hostapd-rtl [^]

the Debian package is named hostapd-rtl and conflicts with "normal" hostapd to avoid confusion for users.
(0000189)
Nico   
2015-04-01 19:30   
great work, thank you jekader! I've just forked your repository on GitHub
(0000190)
lmsilva   
2015-04-01 19:40   
You guys are awesome, thank you so much for working on this :o)
(0000264)
Nico   
2015-08-08 15:08   
The package will be in the Bananian 15.08 repository:
jessie|main|armhf: hostapd-rtl 2.4-4





View Issue Details
118 [Bananian Linux] Userland minor always 2015-03-28 17:33 2015-08-08 14:50
jekader  
Nico  
normal  
resolved 15.01  
fixed  
none    
none 15.08  
  15.08  
package swconfig as a .deb file
swconfig is part of bananian yet it is not in the repository and the binaries are not part of any package.

This issue is created to track packaging and including this into bananian (and eventually debian)
root@bananapi:~# which swconfig
/usr/local/bin/swconfig
root@bananapi:~# dpkg -S /usr/local/bin/swconfig
dpkg-query: no path found matching pattern /usr/local/bin/swconfig
Notes
(0000192)
Nico   
2015-04-04 13:45   
all packaging will be done within the next release.
15.04 will only introduce the repository.
(0000198)
jekader   
2015-04-04 14:10   
I can help with packaging if needed. First I think we should streamline the build a bit - put all sources into the same repo and adjust build scripts so that "make install" is enough to produce the binary.

When that's done making a deb manifest is very easy.
(0000199)
Nico   
2015-04-04 14:12   
If you like to, feel free!
This would really help us for the next release :)
(0000200)
jekader   
2015-04-04 14:23   
(edited on: 2015-04-04 14:24)
I will try. Looking at the build script in [1] it really looks like ideally we should port the utility from OpenWRT's "libnl-tiny" to debian's full "libnl" Netlink Suite.

By the way, are the kernel sources/headers available in babanian's repo? I would prefer having proper kernel headers to build swconfig instead of cloning the whole OpenWRT repo just to grab a header file from it.

[1] https://github.com/Bananian/bananian/blob/master/scripts/build-swconfig.sh [^]

(0000202)
jekader   
2015-04-04 16:42   
(edited on: 2015-04-04 16:43)
I started to look into this and so far it looks like it's fairly painless to use libnl-3.

I want by the same approach you did by cloning the upstream repo and removing UCI-related stuff.

Then I just did two things:
1) install the libs:
apt-get install libnl-genl-3-dev libnl-3-dev
2) reference them in the Makefile
-CFLAGS = -O2 -g -I ../src
+CFLAGS = -O2 -g -I /usr/include/libnl3/
-LIBS=-lnl -lnl-genl
+LIBS=-lnl-3 -lnl-genl-3

after this the binary builds with debian's libraries:

jekader@bpi:~/openwrt/package/network/config/swconfig/src$ make
cc -O2 -g -I /usr/include/libnl3/ -c -o cli.o cli.c
cc -O2 -g -I /usr/include/libnl3/ -c -o swlib.o swlib.c
cc  -o swconfig cli.o swlib.o -lnl-3 -lnl-genl-3
jekader@bpi:~/openwrt/package/network/config/swconfig/src$ ./swconfig 
swconfig list
swconfig dev <dev> [port <port>|vlan <vlan>] (help|set <key> <value>|get <key>|load <config>|show)


Need to test the result a bit and then I'll be off to packaging

(0000203)
jekader   
2015-04-04 22:00   
(edited on: 2015-04-04 22:01)
Packaged the binary:
https://github.com/jekader/swconfig [^]

The repo is basically a clone of openwrt's repo so it's a bit huge. However I wanted to preserve change history so this is the price for it.

Testers are welcome :) Hopefully the README is clear enough.

(0000263)
Nico   
2015-08-08 14:50   
Thank you jekader!





View Issue Details
145 [Bananian Linux] Network minor random 2015-08-08 13:26 2015-08-08 13:28
Nico  
Nico  
normal  
resolved 15.04  
fixed  
none    
none 15.08  
  15.08  
When SSH host key generation gets interrupted SSH is broken
When the SSH host key generation gets interrupted to whatever reason they won't be (re)generated next boot and SSH will be broken
Notes
(0000262)
Nico   
2015-08-08 13:28   
If the host key generation gets interrupted the key files are empty and SSH won't start.

Our script will now check if all required host files are existing and non-zero size.

https://github.com/Bananian/etc/commit/58899bc39fe828686e2f4d5c1bc14d6a77e950ec [^]





View Issue Details
138 [Bananian Linux] General minor N/A 2015-07-12 20:09 2015-08-08 13:19
Nico  
Nico  
normal  
resolved 15.08  
fixed  
none    
none 15.08  
  15.08  
create repository for jessie
The repository for jessie need to be created and kernel and heades must be available in the repository.



The information needs to be added to the readme file: http://dl.bananian.org/packages/README.txt [^]
There are no notes attached to this issue.





View Issue Details
144 [Bananian Linux] Security minor N/A 2015-08-08 13:04 2015-08-08 13:19
Nico  
Nico  
normal  
resolved 15.08  
fixed  
none    
none 15.08  
  15.08  
Adjust the SSH (sshd_config) configuration for Debian Jessie
Adjust the SSH configuration based on https://bettercrypto.org/ [^] for Debian Jessie (OpenSSH 6.7)
Notes
(0000259)
Nico   
2015-08-08 13:08   
Enabled ED25519 host key:
sshd_config:
HostKey /etc/ssh/ssh_host_ed25519_key

/etc/rc.local:
https://github.com/Bananian/etc/commit/995da6dee20745b88629f8b3cba9118559ddc347 [^]
https://github.com/Bananian/etc/commit/58899bc39fe828686e2f4d5c1bc14d6a77e950ec [^]

New defaults for Ciphers, MACs and KexAlgorithms:
https://github.com/Bananian/etc/commit/9dc665374288de05c636accd0abfc5b9912b8970 [^]





View Issue Details
143 [Bananian Linux] General major always 2015-08-08 12:57 2015-08-08 13:19
Nico  
Nico  
normal  
resolved 15.04  
fixed  
none    
none 15.08  
  15.08  
expanding the filesystem does not work on Debian 8/Jessie
/dev/root is no longer existing in Debian 8 and raspi-config, which is used to expand the filesystem relies on that.
Notes
(0000258)
Nico   
2015-08-08 13:01   
fixed by:
1.) Patching raspi-config to use /dev/disk/by-label/root:
https://github.com/Bananian/raspi-config/commit/f18514b4484fa441bbddca6bb609d726e776fa50 [^]
Thank you bcroston (https://github.com/bcroston [^]) for proving the patch.

2.) correct the PART_START calculation in raspi-config:
https://github.com/Bananian/raspi-config/commit/3d1276f6ecb2c5ee14d4f3876c2adf2e999ab043 [^]

3.) add a label (root) to /dev/mmcblk0p2 by executing:
e2label /dev/mmcblk0p2 root





View Issue Details
137 [Bananian Linux] Userland major always 2015-07-12 20:05 2015-08-08 13:17
Nico  
Nico  
normal  
resolved 15.04  
fixed  
none    
none  
   
raspi-config fails to expand the root filesystem
raspi-config fails to expand the root filesystem on Debian Jessie because /dev/root is missing.
Notes
(0000251)
Nico   
2015-07-12 20:06   
https://github.com/Bananian/raspi-config/commit/f18514b4484fa441bbddca6bb609d726e776fa50 [^]
https://github.com/Bananian/raspi-config/commit/3d1276f6ecb2c5ee14d4f3876c2adf2e999ab043 [^]





View Issue Details
133 [Bananian Linux] Kernel minor N/A 2015-06-03 09:02 2015-08-08 13:14
strontium  
Nico  
normal  
resolved 15.04  
fixed  
none    
none 15.08  
  15.08  
enable CONFIG_BLK_DEV_THROTTLING in the kernel
CONFIG_BLK_DEV_THROTTLING is currentlty not set in the kernel configuration. THis means that you can't use cgroups blkio-controller to throttle hard drive access for specific processes as described here http://www.mjmwired.net/kernel/Documentation/cgroups/blkio-controller.txt#66 [^]

Please enable it with the next update.
grep CONFIG_BLK_DEV_THROTTLING /boot/config-3.4.104-bananian
Notes
(0000252)
Nico   
2015-07-12 20:35   
commit 822eccf6700130ee6d5e004f4ce5cdf74cee825c





View Issue Details
141 [Bananian Linux] Userland major always 2015-08-07 06:32 2015-08-08 13:11
Nico  
Nico  
normal  
resolved 15.04  
fixed  
none    
none 15.08  
  15.08  
Lost colors and command prompt in zsh shell after update
The colors and command prompt of the zsh shell are now gone after dist-update of bananian from wheezy to jessie and to
Bananian 15.04 r01. Is there a way to get the colors and the old command prompt back?
Notes
(0000260)
Nico   
2015-08-08 13:10   
Moved the grml configuration back to /root/.bashrc
/etc/skel/.zshrc is now also the grml default file

This is basically a revert of https://dev.bananian.org/view.php?id=122 [^] which was a bad idea..
(0000261)
Nico   
2015-08-08 13:11   
For details on the grml zsh config visit: https://grml.org/zsh/ [^]





View Issue Details
122 [Bananian Linux] Userland minor have not tried 2015-04-07 10:59 2015-08-08 13:10
Nico  
Nico  
normal  
resolved 15.04  
fixed  
none    
none 15.04  
  15.04  
zsh configuration
move /root/.zshrc to /etc/zsh/zshrc to globally enable the grml zsh configuration

"touch /etc/skel/.zshrc" to avoid zsh-newuser-install
There are no notes attached to this issue.





View Issue Details
142 [Bananian Linux] Kernel minor N/A 2015-08-08 12:54 2015-08-08 12:55
Nico  
Nico  
normal  
resolved 15.08  
fixed  
none    
none 15.08  
  15.08  
Update Linux Kernel to 3.4.108
Update the Bananian Kernel to the latest 3.4.x version
There are no notes attached to this issue.





View Issue Details
129 [Bananian Linux] Hardware major always 2015-04-28 18:55 2015-07-14 10:21
cmdann  
Nico  
high  
resolved 15.04  
not fixable  
none    
none  
   
Banana Pro Access Point only allows 5
When using the Banana Pro with Bananian Linux, and enabling the Pro as a wireless access point you are unable to allow more than 5 clients to connect. This topic has been discussed in detail on the Lemaker forums. The issue has been identified by the dev team in the thread with a link to the GitHub repo for the project. I have also opened a ticket on their project. The issue has been identified and reproduced by LeMaker. As soon as this fix is implemented we need to get this into Bananian as soon as possible. 

http://forum.lemaker.org/thread-15297-1-1-banana_pro_ap.html [^]

https://github.com/LeMaker/linux-sunxi/tree/lemaker-3.4/drivers/net/wireless/ap6210 [^]

1. Install Bananian
2. Configure for the Banana Pro
3. Install dhcp server
4. install hostapd
5. connect to device as a client
6. watch as 6th client is rejected
The issue has been identified by the developer team at LeMaker. The issue has also been verified by the team to me that this is not a hardware issue, but is a driver issue. They have stated they are working on the issue right now, we will want to get this added to this project as soon as possible.
Notes
(0000235)
Omega   
2015-04-28 20:18   
I'm wondering, is there any way that perhaps Bananian can collaborate with LeMaker, sunxi and any others to ensure a fix makes it into the distribution?
(0000236)
Nico   
2015-04-28 20:44   
We are in continuous contact with LeMaker about several topics. If there is a fix, we will implement it.
(0000237)
cmdann   
2015-04-28 20:45   
Thanks Nico, I have been told they are looking at it right now, it has been identified as a driver issue as opposed to a hardware issue so hopefully soon we will have this fix.
(0000238)
Omega   
2015-04-28 20:45   
Awesome!  I think cmdann has already done a lot of legwork too.  Hopefully we can head this off before more people have issues with it. :)
(0000245)
cmdann   
2015-05-14 02:18   
I was given this driver: https://drive.google.com/file/d/0B-lsDmEO_xDKZXNZQWNiTFcwYWs/view?usp=sharing [^]

Can we try adding it to Bananian? If you tell me how I can test it out myself but I have to admit I am not very experienced doing this.
(0000247)
Omega   
2015-05-26 04:15   
@Nico -- Were you able to review cmdann's files yet by any chance?
(0000248)
cmdann   
2015-06-08 04:58   
Hey guys not trying to be a bother but I would be happy to help however I can with this if you can point me in the right direction, even testing if you like I have access to the boards just let me know.
(0000257)
Nico   
2015-07-14 07:04   
This is a limitation/bug in the Linux firmware for the ap6210 device and I got a statement from Lemaker that it is not fixable.

The Android firmware does not have this problem but does not work in Linux.





View Issue Details
86 [Bananian Linux] General feature always 2015-01-04 16:24 2015-07-12 20:41
guest  
Nico  
normal  
resolved 14.11.02  
won't fix  
none    
none  
   
shutdown using the power button?
Is it possible to shutdown the system using the power button?

See https://groups.google.com/forum/#!topic/cubieboard/eNWzeyDSDYc [^]
Notes
(0000141)
Nico   
2015-01-11 14:55   
(edited on: 2015-01-11 14:56)
Install acpid:

    aptitude install acpid

Create the following files:

1.) /etc/acpi/events/button_power:

    event=button/power
    action=/etc/acpi/shutdown.sh

2.) /etc/acpi/shutdown.sh:

    #!/bin/bash
    shutdown -h now

Make shutdown.sh executable:

    chmod +x /etc/acpi/shutdown.sh

Restart acpid (ignore error messages..):

    /etc/init.d/acpid restart

Press power button and the Banana Pi will shutdown (or whatever you define in shutdown.sh)!

(0000142)
FrankM   
2015-01-11 15:59   
(edited on: 2015-01-11 16:04)
tested and works on BananaPro & BananaPI

(0000255)
Nico   
2015-07-12 20:41   
This can be used as a small howto but we won't integrate this feature.

Bananian is a very small minimal installation and we don't really need this.





View Issue Details
35 [Bananian Linux] Kernel feature have not tried 2014-09-18 18:52 2015-07-12 20:40
Nico  
Nico  
normal  
resolved 14.09  
not fixable  
none    
none  
   
XFS support (CONFIG_XFS_FS=y)
set CONFIG_XFS_FS=y to enable XFS filesystem support
Notes
(0000033)
guest   
2014-09-19 21:18   
Please note that a few years ago XFS was unstable on ARM, that's maybe why it's not enabled by default. I did not find a recent link but at least you know.
(0000034)
Nico   
2014-09-19 21:19   
We will check before integrating, thank you!
(0000048)
guest   
2014-10-07 09:53   
(edited on: 2014-10-07 09:56)
Some informations as well as a workaround available here http://forum.lemaker.org/redirect.php?goto=findpost&ptid=4437&pid=31367&fromuid=33332 [^]

And a file system to test with is still available: wget "http://www.splack.org/~jason/projects/xfs-arm-corruption/problemimage.xfs" [^]

(0000213)
philipp   
2015-04-14 13:56   
Hello,

what's the reason for the postponement of the XFS feature?
I have compiled the XFS module for myself in Bananian 15.01 and it's working without problems for 2-3 month now.

I could do some tests of the XFS module if needed.
(0000214)
Nico   
2015-04-14 14:18   
We need a confirmation that the above mentioned bug is no longer a problem.
(0000215)
philipp   
2015-04-17 10:57   
Ok, i have downloaded the problemimage.xfs and will test it with a fresh install and a fresh build of the xfs module.

I will report the results, but it will take a few days.
(0000233)
philipp   
2015-04-27 19:54   
Hello,

no good news.
I have built a new kernel under a fresh install (15.04) like described in http://forum.lemaker.org/thread-2657-1-1-.html [^] .
I mounted the problemimage.xfs file and get immediately the expected error messages:

[ 1375.132549] SGI XFS with ACLs, security attributes, large block/inode numbers, no debug enabled <--- module loaded
[ 1441.794594] XFS (loop0): Mounting Filesystem <--- mounted problemimage
[ 1441.858520] XFS (loop0): Ending clean mount
[ 1459.331968] e973a000: 58 46 53 42 00 00 10 00 00 00 00 00 00 00 f0 d3 XFSB............
[ 1459.350326] XFS (loop0): Internal error xfs_da_do_buf(2) at line 2129 of file fs/xfs/xfs_da_btree.c. Caller 0xbf05f7d0 <--- ls in the problemimage
[ 1459.350340]
[ 1459.371978] [<c0014e78>] (unwind_backtrace+0x0/0x138) from [<bf031228>] (xfs_corruption_error+0x54/0x70 [xfs])
[ 1459.381367] [<bf031228>] (xfs_corruption_error+0x54/0x70 [xfs]) from [<bf05f72c>] (xfs_da_do_buf+0x608/0x634 [xfs])
[ 1459.390512] [<bf05f72c>] (xfs_da_do_buf+0x608/0x634 [xfs]) from [<bf05f7d0>] (xfs_da_read_buf+0x28/0x30 [xfs])
[ 1459.400282] [<bf05f7d0>] (xfs_da_read_buf+0x28/0x30 [xfs]) from [<bf064c84>] (xfs_dir2_leaf_getdents+0x30c/0x944 [xfs])
[ 1459.417717] [<bf064c84>] (xfs_dir2_leaf_getdents+0x30c/0x944 [xfs]) from [<bf061a8c>] (xfs_readdir+0xe0/0xec [xfs])
[ 1459.426333] [<bf061a8c>] (xfs_readdir+0xe0/0xec [xfs]) from [<bf031894>] (xfs_file_readdir+0x40/0x50 [xfs])
[ 1459.434375] [<bf031894>] (xfs_file_readdir+0x40/0x50 [xfs]) from [<c00f6f98>] (vfs_readdir+0x7c/0xa0)
[ 1459.441650] [<c00f6f98>] (vfs_readdir+0x7c/0xa0) from [<c00f70d0>] (sys_getdents64+0x5c/0xb4)
[ 1459.449255] [<c00f70d0>] (sys_getdents64+0x5c/0xb4) from [<c000e9c0>] (ret_fast_syscall+0x0/0x30)
[ 1459.454939] XFS (loop0): Corruption detected. Unmount and run xfs_repair

On my production image i have built the modules with -O0, that Version is working. But with the default settings it's not :-(
So i canot recommend using xfs.


tobias
(0000234)
Nico   
2015-04-27 21:06   
Thank you for testing!
(0000254)
Nico   
2015-07-12 20:40   
won't be integrated. See https://dev.bananian.org/view.php?id=35#c233 [^]





View Issue Details
132 [Bananian Linux] Kernel minor always 2015-05-19 13:26 2015-07-12 20:36
soltek57  
Nico  
normal  
resolved 15.04  
no change required  
none    
none  
   
Kerner error
May 19 02:40:05 BananaPi kernel: [ 4639.208253] 0x75b
May 19 02:40:20 BananaPi kernel: [ 4654.538665] 0x756
May 19 02:40:36 BananaPi kernel: [ 4670.067568] 0x751
May 19 02:40:51 BananaPi kernel: [ 4685.567710] 0x756
May 19 02:41:07 BananaPi kernel: [ 4700.975484] 0x755
May 19 02:41:22 BananaPi kernel: [ 4716.533242] 0x754
May 19 02:41:38 BananaPi kernel: [ 4732.093268] 0x74e
May 19 02:41:53 BananaPi kernel: [ 4747.702321] 0x74d
May 19 02:42:09 BananaPi kernel: [ 4763.165436] 0x75c
May 19 02:42:24 BananaPi kernel: [ 4778.450745] 0x755
May 19 02:42:39 BananaPi kernel: [ 4793.854279] 0x750
May 19 02:42:55 BananaPi kernel: [ 4809.408983] 0x74f
May 19 02:43:11 BananaPi kernel: [ 4824.973656] 0x74f
May 19 02:43:26 BananaPi kernel: [ 4840.556304] 0x74b
May 19 02:43:42 BananaPi kernel: [ 4856.190224] 0x74c
May 19 02:43:57 BananaPi kernel: [ 4871.639775] 0x74b
May 19 02:44:13 BananaPi kernel: [ 4886.926384] 0x750
May 19 02:44:28 BananaPi kernel: [ 4902.328745] 0x756
May 19 02:44:44 BananaPi kernel: [ 4917.919475] 0x74e
May 19 02:44:59 BananaPi kernel: [ 4933.493875] 0x750
May 19 02:45:15 BananaPi kernel: [ 4949.139471] 0x74e
May 19 02:45:30 BananaPi kernel: [ 4964.709924] 0x74e
May 19 02:45:46 BananaPi kernel: [ 4980.332926] 0x74d
May 19 02:46:01 BananaPi kernel: [ 4995.697873] 0x752
May 19 02:46:17 BananaPi kernel: [ 5011.030315] 0x756
May 19 02:46:32 BananaPi kernel: [ 5026.444692] 0x74f
May 19 02:46:48 BananaPi kernel: [ 5042.670373] 0x74f
May 19 02:47:04 BananaPi kernel: [ 5058.237946] 0x74f
May 19 02:47:19 BananaPi kernel: [ 5073.794234] 0x74e
May 19 02:47:35 BananaPi kernel: [ 5089.351019] 0x74e
May 19 02:47:51 BananaPi kernel: [ 5104.907392] 0x749
May 19 02:48:06 BananaPi kernel: [ 5120.378383] 0x75d
May 19 02:48:21 BananaPi kernel: [ 5135.690516] 0x755
May 19 02:48:37 BananaPi kernel: [ 5151.101510] 0x751
May 19 02:48:52 BananaPi kernel: [ 5166.656986] 0x74b
May 19 02:49:08 BananaPi kernel: [ 5182.215463] 0x752
May 19 02:49:23 BananaPi kernel: [ 5197.800582] 0x74d
May 19 02:49:39 BananaPi kernel: [ 5213.350069] 0x750
May 19 02:49:55 BananaPi kernel: [ 5228.967976] 0x74d
May 19 02:50:10 BananaPi kernel: [ 5244.414288] 0x754
May 19 02:50:25 BananaPi kernel: [ 5259.701895] 0x753
May 19 02:50:41 BananaPi kernel: [ 5275.120686] 0x752
May 19 02:50:56 BananaPi kernel: [ 5290.615112] 0x74c
May 19 02:51:12 BananaPi kernel: [ 5305.946266] 0x754
May 19 02:51:27 BananaPi kernel: [ 5321.409148] 0x753
May 19 02:51:43 BananaPi kernel: [ 5336.973637] 0x750
May 19 02:52:14 BananaPi kernel: [ 5367.989897] 0x753
May 19 02:52:29 BananaPi kernel: [ 5383.408122] 0x754
May 19 02:52:45 BananaPi kernel: [ 5398.975527] 0x74c
May 19 02:53:00 BananaPi kernel: [ 5414.600506] 0x74b
May 19 02:53:16 BananaPi kernel: [ 5430.168402] 0x74b
May 19 02:53:31 BananaPi kernel: [ 5445.738136] 0x74b
May 19 02:53:47 BananaPi kernel: [ 5461.313335] 0x74f
May 19 02:54:02 BananaPi kernel: [ 5476.799393] 0x74b
May 19 02:54:18 BananaPi kernel: [ 5492.133767] 0x752
May 19 02:54:33 BananaPi kernel: [ 5507.586885] 0x753
May 19 02:54:49 BananaPi kernel: [ 5523.151675] 0x74d
May 19 02:55:04 BananaPi kernel: [ 5538.707576] 0x74d
May 19 02:55:20 BananaPi kernel: [ 5554.280774] 0x74f
May 19 02:55:35 BananaPi kernel: [ 5569.832894] 0x74b
May 19 02:56:07 BananaPi kernel: [ 5601.186804] 0x75b
May 19 02:56:22 BananaPi kernel: [ 5616.522911] 0x75b
May 19 02:56:37 BananaPi kernel: [ 5631.817490] 0x756
May 19 02:56:53 BananaPi kernel: [ 5647.108015] 0x759
May 19 02:57:08 BananaPi kernel: [ 5662.472373] 0x752
May 19 02:57:24 BananaPi kernel: [ 5678.053674] 0x750
May 19 02:57:39 BananaPi kernel: [ 5693.683555] 0x74d
May 19 02:57:55 BananaPi kernel: [ 5709.247444] 0x74f
May 19 02:58:10 BananaPi kernel: [ 5724.717734] 0x754
May 19 02:58:26 BananaPi kernel: [ 5740.007121] 0x754
May 19 02:58:41 BananaPi kernel: [ 5755.411617] 0x74b
May 19 02:58:57 BananaPi kernel: [ 5770.989084] 0x74e
May 19 02:59:12 BananaPi kernel: [ 5786.611938] 0x74f
May 19 02:59:28 BananaPi kernel: [ 5802.182546] 0x753
May 19 02:59:43 BananaPi kernel: [ 5817.756447] 0x74b
May 19 02:59:59 BananaPi kernel: [ 5833.328967] 0x74e
Notes
(0000253)
Nico   
2015-07-12 20:36   
"soctemp" generates these kind of logmessages.
If you are not using it, please provide some more details.





View Issue Details
136 [Bananian Linux] Userland minor random 2015-07-12 20:04 2015-07-12 20:04
Nico  
Nico  
normal  
resolved 15.04  
fixed  
none    
none 15.08  
  15.08  
error handling in "soctemp"
sometimes "soctemp" fails due to unknown reason and shows wrong values.
Catch the error and show a message.
Notes
(0000250)
Nico   
2015-07-12 20:04   
https://github.com/Bananian/bananian/commit/43ab40f6e6a2152a71f8de39d1dd2f8d4ab943fa [^]





View Issue Details
116 [Bananian Linux] Userland minor have not tried 2015-03-09 19:51 2015-07-12 10:18
Nico  
Nico  
normal  
resolved 15.04  
fixed  
none    
none 15.04  
  15.04  
add 15.04 release to bananian-update
add 15.04 as a new release for the update procedure
There are no notes attached to this issue.





View Issue Details
115 [Bananian Linux] Userland minor have not tried 2015-03-09 19:50 2015-07-12 10:17
Nico  
Nico  
normal  
resolved 15.04  
fixed  
none    
none 15.04  
  15.04  
update Debian packages and clean up before release
Final commands to clean up the system before release:
aptitude update && aptitude upgrade
aptitude clean
>/root/.zsh_history
>/root/.zdirs

/root/.ssh
/var/log
/tmp

/lib/modules

set /etc/bananian_version

clear unused space:
cat /dev/zero > /mnt/big_zero ; sync; rm /mnt/big_zero


update repository
There are no notes attached to this issue.





View Issue Details
128 [Bananian Linux] Hardware crash always 2015-04-27 16:16 2015-06-23 15:52
trubardix  
Nico  
normal  
assigned 15.04  
open  
none    
none  
   
hdparm -Y /dev/sda shuts down disk drive and removes /dev/sda
if a drive connected to the sata port shuts down, it is no longer accessible. Even /dev/sda will be removed. In 15.01 every thing works well. After upgrading to 15.04 this error occures.The same happens to me, if the drive goes to idle time out.
Trying to access the "lost" device gives error messages (file system not accessible).
The only fix I found is to pull the power cord. A reboot does not "fix" the problem. To me it looks like a bug in the power control of the Sata interface. But I don't really know.
Any fix possible? Or I am just stupid?

Thanks,

Trubardix
hdparm -Y /dev/sda
Notes
(0000249)
trubardix   
2015-06-23 15:52   
Will there be any changes in the near future? I have not found a fix yet
Trubardix





View Issue Details
131 [Bananian Linux] Security major always 2015-04-30 16:50 2015-05-01 10:22
cerebrux  
Nico  
high  
resolved 15.04  
no change required  
none    
none  
   
SHA1 and SHA256 do not match the downloaded image
The downloaded latest image has a different sha1sum and sha256sum from the one that http://dl.bananian.org/releases/SHA1SUMS [^] and http://dl.bananian.org/releases/SHA256SUMS [^] gives. Thus this is an indication of either corrupt downloadable image or compromised images on the server.
I downloaded in 2 different ways (Firefox and wget) the image on 2 different machines (my laptop and my remote VPS) .
1) wget http://dl.bananian.org/releases/bananian-latest.zip [^]
2) unzip bananian-latest.zip
3) sha1sum bananian-1504.img
4) sha256sum bananian-1504.img SHA1: 03abfde53239082f2ed66196100714bc4c73cee1
SHA256 25796bc7e7a68a99fc7206f6ec55bdb5e13cfcdd33baeaf6c6fadc6f0ac876fc
the above values do not match the ones that are reported on the source server
Screenshot from 2015-04-30 17:48:28.png (22,683) 2015-04-30 16:50
https://dev.bananian.org/file_download.php?file_id=12&type=bug
png
Notes
(0000240)
cerebrux   
2015-04-30 21:54   
(edited on: 2015-04-30 22:44)
I think this report that I made is partially invalid because the website http://www.lemaker.org/resources/9-39/banana_pi_quick_start_guide.html [^] mentions :
"Verify if the hash key of the zip file is the same as shown on the downloads page (optional).
sha1sum [path]/[imagename]
This will print out a long hex number which should match the "SHA-1" line for the MicroSD image you have downloaded"


The last part was the reason that I was confused me. I checked the sha1 and sha256 of the image file (as mentioned in the last part) and not the zip file.
Now I rechecked the zip file instead and it is valid and matches the hashsum of the website.
So please make this bug report that I made invalid but make it more clear that the check should be on the zip file NOT the extracted image

(0000242)
Nico   
2015-05-01 10:22   
(edited on: 2015-05-01 10:22)
In the SHASUM files you can see the filename next to the hashes. So I think it should be clear enough.

http://dl.bananian.org/releases/SHA256SUMS [^]






View Issue Details
130 [Bananian Linux] Hardware feature always 2015-04-30 05:14 2015-05-01 00:20
cmdann  
 
normal  
new 15.04  
open  
none    
none  
   
Orange Pi 2 / Mini support
I have just recieved the Orange Pi 2 and Orange Pi 2 mini. I would love to see Bananian support for these boards.

http://www.orangepi.org/orangepi2/ [^]
http://www.orangepi.org/orangepimini2/ [^]
Never works.
I am willing to help with testing the hardware on the physical boards for development. 
Notes
(0000239)
Nico   
2015-04-30 08:25   
"Currently, there is no sunxi support available yet. No livesuite tool has been made available either."
http://linux-sunxi.org/H3 [^]

I've also received one of those devices but due to lack of sunxi support we are currently not able to support the platform.
(0000241)
cmdann   
2015-05-01 00:20   
Hmm, hopefully there is support added soon. I haven't been able to do anything with these boards yet haha. 

- Dan





View Issue Details
9 [Bananian Linux] General feature have not tried 2014-09-02 10:55 2015-04-28 20:45
Nico  
Nico  
normal  
assigned  
open  
none    
none  
   
SATA installer
provide an option to install Bananian to SATA (optional)
Notes
(0000051)
Thomas Kaiser   
2014-10-10 12:28   
You should use 'parted -a optimal' to ensure proper partition alignment when bananian-config provides partitioning also. 

parted -s /dev/sda mklabel gpt
SectorCount=$(parted -s /dev/sda unit s print | awk -F": " '/^Disk \/dev\/sda/ {print $2}' | tr -d 's')
LastUsableSector=$(( ${SectorCount} / 2048 ))
parted -s /dev/sda --align optimal unit s mkpart primary ext4 2048 $(( ${LastUsableSector} * 2048 ))

A check with 'parted -s /dev/sda unit s print' should show first sector 2048. While this might waste some disk space it will ensure proper alignment (performance loss when done wrong) for almost all sorts of disks (advanced format, traditional and SSDs). Of course in some rare situations this might fail: http://h10025.www1.hp.com/ewfrf/wc/document?cc=de&lc=de&dlc=de&docname=c03479326 [^]

When /sys/block/sda/queue/rotational returns 0 then 'discard' should be added to the mount options in /etc/fstab to enable TRIM support for SSDs.
(0000052)
Thomas Kaiser   
2014-10-10 13:49   
Oops, I just learned that the aforementioned 'rule of thumb' does not apply to each and every SSD, especially the one I use here with the BananaPi (Samsung Evo 840 120G). This SSD has an Erase Block Size of 1536KiB. Sectors: 3072 (512 * 3072 = 1572864 = 1024 * 1536)

And so I end up with these optimal settings:

LastUsableSector=$(( ${SectorCount} / 3072 ))
parted -s /dev/sda --align optimal unit s mkpart primary ext4 3072 $(( ${LastUsableSector} * 3072 ))
mkfs.ext4 -b 4096 -E stride=2,stripe-width=384 /dev/sda1

The performance seems to be the same (no wonder since the BananaPi's SATA implementation is the bottleneck here). So I withdraw from my former suggestion and would leave partitioning up to the user ;-)
(0000157)
Nico   
2015-02-01 09:08   
There is a first version available provided by hirnwunde. Thank you!
https://github.com/hirnwunde/bananian-rootfsmover [^]





View Issue Details
126 [Bananian Linux] General feature always 2015-04-21 16:03 2015-04-22 15:19
Omega  
 
normal  
new  
open  
none    
none  
   
Provide a way to inspect what hardware Bananian is running on
Currently there's no hard & fast way to find out what type of hardware bananian is currently running on.

It would be nice if there was an entry in /proc or /sys that I could cat to get the current hardware.  Ideally these names would line up with fex names.
(feature request)
Notes
(0000216)
Nico   
2015-04-21 16:05   
Hey,
that was our first idea behind "bananian-hardware" but we did not find any reliable method to determine the board Bananian is running on.

Any ideas?
(0000217)
Omega   
2015-04-21 16:07   
(edited on: 2015-04-21 16:08)
Well, the issue is that bananian-hardware is interactive, so I can't automate the setup.

I would hope the device itself should have some kind of metadata available (set during manufacturing/production) that we can inspect non-interactively.

(0000218)
Nico   
2015-04-21 16:10   
(edited on: 2015-04-21 16:11)
Sorry, I did not tell the whole story.
Because we were not able to find a automatic solution we decided to build bananian-hardware interactively.

It would be really nice to have a non-interactive tool determining then hardware and then setting the corresponding fex configuration.

(0000219)
Omega   
2015-04-21 16:25   
Are you able to talk to lemaker etc.. to see if they populate anything in the device that can be exposed by the kernel?
(0000220)
Nico   
2015-04-21 16:33   
We already talked with them about that topic (before the 15.01 release) and they had no idea what could be used for this.
(0000221)
Omega   
2015-04-21 16:35   
Haha, sounds like we need an upstream fix! ;)
(0000222)
Thomas Kaiser   
2015-04-21 21:01   
There's something that is 'populated in the device'. Simply ship a script.bin with AP6181 enabled, issue modprobe on the first run, exchange script.bin, modify /etc/bananian_platform and you're done. :-)
(0000223)
Nico   
2015-04-21 21:21   
And what about the R1?
(0000224)
Omega   
2015-04-21 21:35   
(edited on: 2015-04-21 21:37)
Thomas: I don't think you understand, I need to identify the hardware specifically, not via an assumption based on behaviour.

Outside of what you're saying not really seeming like a solution to my concern here, it also seems like a hack...

(0000225)
Thomas Kaiser   
2015-04-22 07:46   
@Nico: The R1 has a totally different Ethernet PHY (BCM53125). And all the boards Bananian supports feature none or different Wi-Fi chips. Enable USB, ship with lsusb and you can have a look for RTL8192CU or RTL8188ETV to get a clue whether it's R1 or Orange Pi.

@Omega: Seems you fail to understand that there's nothing else than the Wi-Fi chip you can rely on when you have a look at the hardware. Since hardware requires software (drivers and board inilialisation) all you can do is to try to detect them. If you (or Nico) assures that prerequisits are appropriate (enabled wifi/SDIO in script.bin and the necessary kernel module built) you're able to detect whether you're running on Banana Pro/M1+ -- otherwise not.

BTW. Igor's hardware script is also a nice attempt to get a clue on which board you're running: https://github.com/igorpecovnik/lib/blob/next/scripts/armhwinfo [^] (but I haven't checked whether relying on the presence of eg. LEDs using sysfs doesn't depend on script.bin/dtb)
(0000226)
Omega   
2015-04-22 13:41   
Thomas, I don't fail to understand that, it just isn't a suitable option.  What would be ideal is if this detection was offered as part of bananian instead of requiring user space workarounds.

Forcing people to implement various detections will result in a custom solution every time.  If the OS facilitated it (without requiring someone to explicitly choose what device they're running on, which is basically manual), then the community would have a consistent baseline and source for inferring the hardware their code is running on.

This is definitely something that belongs in the Bananian project and not replicated hundreds of times (and possibly wrong) across every project or repository as a workaround.
(0000227)
Omega   
2015-04-22 13:44   
(edited on: 2015-04-22 13:45)
Your example of Igor's script proves my point perfectly.

There is no "Banana Pro" in Igor's list.  Even though the OS supports it, this is just another maintenance nightmare dumped onto users/implementers because the OS doesn't offer a facility.

Ultimately the OS is the *only* trustable authority because only it will know which devices it has shipped with support for and will maintain the correct (and consistent!) detections and string names for such.

(0000228)
Thomas Kaiser   
2015-04-22 14:35   
That's the exact reason I suggested a feature request here. And maybe Nico will accept the RfE and implement it sometimes in the future. Or not.

If you want to deal with the problem in the meantime it's still as easy as outlined many times before: Only use a recent Bananian version and ship with a fex/script.bin that has support for wifi/SDIO as required for Pro/M1+ and test the exit code of 'modprobe ap6210' and act upon that.

And BTW: All Nico/Bananian can do is to implement the exact same 'hack' as outlined above and adjust the contents of /etc/bananian_platform as a simple hint and script.bin to fully activate all hardware features present on the specific boards.

Due to the way hardware initialisation works on sunxi you always depend on a few blocks on the SD-card interpreted by u-boot (the contents of fex/script.bin or dts/dtb stuff) and if these change for whatever reason then both hardware detection as well as useage will fail. 
(0000229)
Omega   
2015-04-22 14:39   
(edited on: 2015-04-22 14:40)
Yeah and it's definitely less of (or not at all) a hack if it's maintained by Bananian.  If ever there is an update to the OS that adds support for a new platform, that is the first and best opportunity to update the device database and come up with a new string for it.

It will also have the benefit of unifying the community on the platform names before everyone gets some crazy idea of what they should be.


Note: I do however have a crazy idea to suggest, which is that the device names should-look-like-this, no spaces.  If that's a potential risk in scripting (subtraction operator), underscores are fine.

(0000230)
Thomas Kaiser   
2015-04-22 15:19   
Regarding 'unifying the community on the platform names before everyone gets some crazy idea of what they should be': You should keep in mind that there is something like a sunxi community covering all Allwinner devices. You can get an idea how many devices these are by looking at the appropriate fex files: https://github.com/linux-sunxi/sunxi-boards/tree/master/sys_config [^] or dts/dtb support in mainline kernel (see below)

Bananian runs on a very small number of A20 based boards and can't even be considered _the_ OS of Bananas. I for example switched to Igor's image (or to be more precise his 'build system') months ago since for my use cases mainline kernel makes much more sense and utilising his build system (completely creating a useable OS distribution including u-boot and all stuff necessary) I've been able to get a fully blown Wheezy image for my LinkSprite pcDuino3 nano by simply extending his build scripts and patching two source files months before official integration into mainline.

If you want to consolidate names you would've to address this at the sunxi community level. So please have a look at the names of the fex files (rather inconsistent) or better the dts/dtb names (since kernel 3.4 used by Bananian won't support the more recent boards): https://github.com/mripard/linux/blob/sunxi-next/arch/arm/boot/dts/Makefile [^] (section CONFIG_MACH_SUN7I if you're just interested in sunxi/A20)





View Issue Details
125 [Bananian Linux] Userland minor always 2015-04-13 16:29 2015-04-13 20:19
sooperior  
Nico  
normal  
resolved 15.04  
fixed  
none    
none  
   
.zshrc.local executed twice
I have a small script in home/user/.zshrc.local to be executed after every login, as recommended by zsh documentation
However after upgrading to 15.04, this script is executed twice
Create .zshrc.local in your home directory
write some script on it (e.g. echo Hi)
Login (e.g. via ssh)

Executed twice
Hi
Hi
Notes
(0000212)
Nico   
2015-04-13 20:19   
In the updater you choose not to clear the /root/.zshrc, right?

If you haven't changed the default config, do it right now!

> /root/.zshrc


This should fix your problem. If not, reopen.





View Issue Details
103 [Bananian Linux] Kernel minor always 2015-01-24 21:33 2015-04-08 06:43
sooperior  
Nico  
normal  
resolved 15.01  
fixed  
none    
none 15.04  
  15.04  
Missing headers for 3.4.x kernel
When trying to compile kernel modules, I have noticed that available linux headers are not matching kernel version number, therefore not being possible to safely compile
uname -r
apt-cache search linux-headers
missing headers.jpg (44,529) 2015-01-24 21:33
https://dev.bananian.org/file_download.php?file_id=5&type=bug
jpg
Notes
(0000154)
sooperior   
2015-01-28 08:44   
Sorry, I meant 3.4 not 3.14 version
(0000173)
Nico   
2015-03-09 19:21   
Starting with Bananian 15.04 we have our own repository including linux-headers-XXX packages.
(0000185)
Nico   
2015-03-12 08:00   
For testing please add this line to your sources.list:
deb http://dl.bananian.org/packages/ [^] testing main


Install the headers:
aptitude update && aptitude install linux-headers-3.4.104+
(0000194)
Nico   
2015-04-04 14:00   
Users reported some problems with the headers provided. We will check.
Additionally we need a Bananian kernel versioning schema.
(0000205)
Nico   
2015-04-08 06:42   
New packages are in testing:
testing|main|armhf: linux-firmware-image 15.04.01
testing|main|armhf: linux-headers-3.4.104-bananian 15.04.01
testing|main|armhf: linux-image-3.4.104-bananian 15.04.01





View Issue Details
121 [Bananian Linux] Userland minor have not tried 2015-04-05 10:32 2015-04-05 10:34
Nico  
Nico  
normal  
resolved  
fixed  
none    
none 15.04  
  15.04  
set BANANIAN_PLATFORM variable in bananian-update
$BANANIAN_PLATFORM is used to set the correct script.bin while updating
Notes
(0000204)
Nico   
2015-04-05 10:34   
https://github.com/Bananian/bananian/commit/8b501398c2d01cad1a38e7db23d2f9fc087aafdb [^]





View Issue Details
80 [Bananian Linux] Kernel trivial always 2014-12-29 01:56 2015-04-04 14:39
guest  
Nico  
normal  
resolved 14.11.02  
not fixable  
none    
none  
   
The USB Client port only works as a HOST not OTG port
The USB client port does not work as an OTG port with g_mass_storage according to: http://www.linux-usb.org/gadget/file_storage.html [^]
The USB client port is always acting as a ordinary HOST port when using an OTG cable an plugging in a USB stick.
Connecting the BananaPi to a Windows PC results in no device found, but the following output in dmesg:


[   86.631328] sd 2:0:0:0: [sda] Attached SCSI removable disk
[  108.515479] WRN:L2728(drivers/usb/sunxi_usb/udc/sw_udc.c):ERR: usb device is not active
[  108.523868] usb open backing file: /dev/sda, 0xeeb99800
[  108.530182] g_mass_storage gadget: Mass Storage Function, version: 2009/09/11
[  108.541530] g_mass_storage gadget: Number of LUNs=1
[  108.550433]  lun0: LUN: removable file: /dev/sda
[  108.562358] ep_matches, wrn: endpoint already claimed, ep(0xc08f406c, 0xbf02528c, ep1-bulk)
[  108.568320] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
[  108.581626] g_mass_storage gadget: userspace failed to provide iSerialNumber
[  108.593200] g_mass_storage gadget: g_mass_storage ready
[  108.602686] WRN:L2762(drivers/usb/sunxi_usb/udc/sw_udc.c):ERR: usb device is not active

1. Boot
2. Run bananian-config to ensure that OTG is enabled
3. Reboot
4. Try to enter OTG mode. Plug a USB stick in the HOST port and run:
Command: modprobe g_mass_storage file=/dev/sda
5. Command line says g_mass_storage is ready, but nothing happens when connected to anoter PC (Windows host)
Notes
(0000201)
Nico   
2015-04-04 14:39   
g_mass_storage seems to be broken in the sunxi 3.4.x kernel sources.
OTG is configured to work as host only.





View Issue Details
69 [Bananian Linux] (No Category) minor always 2014-12-02 12:21 2015-04-04 14:10
pandel  
Nico  
normal  
resolved 14.11  
no change required  
none    
none  
   
Keyboard layout change only working for xterm (SSH), not linux (TTY)
Keyboard layout change doesn't have any effect for keyboard connected via USB.
Steps to reproduce:
- write current 14.11 image to SD
- connect local HDMI and Keyboard, power up
- (work on local keyboard!) login, start bananian-config, reconfigure from "us" to whatever (let's say "de")

Now check german umlauts on local keyboard <-> connect via SSH (putty) and check umlauts again. First shouldn't work, second does.

I compared "set | less" and the only thing: different env vars PATH and TERM
TTY:
TERM=linux
SSH:
TERM=xterm
PATH= (has /usr/binX11 additionally)
Totally correct so far I guess.

What I also tried:
- I reconnected the USB keyboard to another USB port.
- the whole proceudre via dpkg-reconfigure console-data / keyboard-configuration

Nothing helped...
Notes
(0000102)
pandel   
2014-12-02 16:35   
(edited on: 2014-12-02 16:37)
Strange. If I don't start bananian-config from the command prompt, but from a simple script file, then it works instantaneously with the locally installed USB keyboard.

(0000112)
guest   
2014-12-22 11:58   
loadkeys de-latin1-nodeadkeys.kmap.gz
will solve the problem.
loadkeys de will change y an z but is not enough for the german umlauts.
(0000149)
pandel   
2015-01-16 18:18   
Many thanks! That's working fine.
(0000197)
Nico   
2015-04-04 14:10   
When conntecting remotely via SSH you have to set the keyboard in the SSH client (=the PC you use to connect to your Banana Pi)





View Issue Details
54 [Bananian Linux] Kernel feature have not tried 2014-10-10 11:43 2015-04-04 14:07
Thomas Kaiser  
Nico  
low  
resolved 14.09  
won't fix  
none    
none  
   
CONFIG_TOUCHSCREEN_EGALAX=m
Please set CONFIG_TOUCHSCREEN_EGALAX=m with the next release. This module is necessary to drive the USB controller of this 7"/1024x600 LCD touchscreen controller: http://www.pollin.de/shop/suchergebnis.html?S_TEXT=120+964&log=internal [^]
Notes
(0000196)
Nico   
2015-04-04 14:07   
won't be changed because it is no official Banana Pi part, sorry!





View Issue Details
119 [Bananian Linux] Hardware minor have not tried 2015-04-01 10:57 2015-04-04 14:01
Nico  
Nico  
normal  
resolved 15.04  
fixed  
none    
none 15.04  
  15.04  
support Banana Pi M1+
add hardware support for the new Banana Pi M1+
Notes
(0000187)
Nico   
2015-04-01 11:14   
Banana Pro fex configuration works for BPI M1+ Wifi
(0000193)
Nico   
2015-04-04 13:56   
Sinovoip was not able to provide a fex configuration so far and I found none on the internet. So we will use the BananaPro config, which seems to work fine.
(0000195)
Nico   
2015-04-04 14:01   
If a fex config is provided we will switch. Otherwise using the Banana Pro one.





View Issue Details
100 [Bananian Linux] General minor have not tried 2015-01-18 11:06 2015-04-04 13:34
chris303  
Nico  
normal  
resolved 15.01  
fixed  
none    
none 15.04  
  15.04  
ttyS4 und usbc0 overlapping in fex (Banana Pro)
ttyS4 can't be enabled because the Ports are overlapping with usbc0

the following Change works for me (for ttyS4 - usbc0 NOT TESTED)

[uart_para4]
uart_used = 1
uart_port = 4
uart_type = 2
uart_tx = port:PH04<4><1><default><default>
uart_rx = port:PH05<4><1><default><default>

[usbc0]
usb_used = 1
usb_port_type = 2
usb_detect_type = 1
usb_id_gpio = port:PH03<0><1><default><default>
usb_det_vbus_gpio = port:PH26<0><0><default><default>
usb_drv_vbus_gpio = port:PB09<1><0><default><0>
usb_restrict_gpio =
usb_host_init_state = 0
usb_restric_flag = 0
usb_restric_voltage = 3550000
usb_restric_capacity = 5

Original usbc0 from 15.01:

[usbc0]
usb_used = 1
usb_port_type = 2
usb_detect_type = 1
usb_id_gpio = port:PH04<0><1><default><default>
usb_det_vbus_gpio = "axp_ctrl"
usb_drv_vbus_gpio = port:PB09<1><0><default><0>
usb_ac_enable_gpio = port:PH05<1><0><default><0> # <<<< overlap !!!
usb_restrict_gpio = 0
usb_host_init_state = 0
usb_restric_flag = 0
usb_restric_voltage = 3550000
usb_restric_capacity = 5
Notes
(0000191)
Nico   
2015-04-04 13:34   
https://github.com/Bananian/fex/commit/b0f6a5d0f5774b8a4b0895639cd9e28cdf65c8ef [^]
https://github.com/Bananian/fex/commit/cc8609c0fc7a41140491ac6fe8f10bcc4369945b [^]





View Issue Details
38 [Bananian Linux] General minor always 2014-09-20 00:05 2015-04-01 16:48
guest  
Nico  
low  
resolved 14.09  
fixed  
none    
none 15.04  
  15.04  
Attempt to change keyboard layout through bananian-config on an headless installation fails silently
Using bananian-config over SSH on an headless installation (no keyboard attached) to change the keyboard layout, does not result in any noticable change. Yet, there are no error messages either.

You just get this:
>> Your current keyboard layout is 'us'. Do you want to change it? (y/n) y

>> Configuring keyboard layout...

>> [ ok ] Setting preliminary keymap...done.

There is no error indicated, but if you run bananian-config again, you see the keyboard layout hasn't changed (still showing 'us').
1) Run bananian-config over ssh on an installation with no keyboard attached. Enter y when asked if you want to change the keyboard layout.

2) Repeat the same to confirm, the keyboard layout hasn't changed.
Notes
(0000113)
guest   
2014-12-22 12:05   
managed to change keyboard-layout to german with:

loadkeys de-latin1-nodeadkeys.kmap.gz
(0000158)
Qaxi   
2015-02-25 15:57   
read "man savecon" --save option
/etc/init.d/console-setup is ran with --save, /etc/init.d/keyboard-setup is not

we should run bananian-config this way

--- /usr/local/bin/bananian-config.old 2010-01-01 06:45:37.759801604 +0100
+++ /usr/local/bin/bananian-config 2010-01-01 06:46:23.129801627 +0100
@@ -75,7 +75,7 @@
 if [ "$CHANGE" = "y" ]; then {
         echo -e "\nConfiguring keyboard layout... \n"
     dpkg-reconfigure --priority=high keyboard-configuration
- /etc/init.d/keyboard-setup restart
+ /bin/setupcon --save
     echo -e ""
 } fi
(0000160)
Nico   
2015-02-27 10:01   
Thank you for the diff/fix! :)
Will test it later
(0000188)
Nico   
2015-04-01 16:48   
https://github.com/Bananian/bananian/commit/d9e9656332df3f97da48c1d5e80fe40f94d7cd54 [^]





View Issue Details
45 [Bananian Linux] General feature have not tried 2014-09-30 13:40 2015-03-09 19:54
guest  
Nico  
normal  
resolved 14.09  
fixed  
none    
none 15.04  
  15.04  
rsyslog: do not sync to the disk immediately
see comment 2 https://dev.bananian.org/view.php?id=45#c47 [^]
Notes
(0000046)
gtz   
2014-10-05 16:14   
Instead of adding a new package, that's not in the Debian repository, why not switch to busybox-syslogd instead.
You get a circular buffer for the syslog messages, that's 128k in size (default) and no writes to the SD card.
(0000047)
guest   
2014-10-06 07:25   
I see why some people want this. But storing logs in a ramdisk essentially means if your system his down due to a power outage etc, you lose all your logs.  The smarter way to increase the life time of the sd card in my opinion is to change the default rsyslog configuration and add a minus  sign at the beginning of each path which means all changes to the log file are not synced to the disk immediately but during the sync intervals of your filesystem. If you wish you can increase the sync interval too. This way you only lose the last seconds or minutes of a log depending on your sync interval. Plus, you don't need any additional packages.
(0000127)
Nico   
2015-01-02 14:30   
Thank you guest for suggesting this. Sound fine for me and will be in the next release.
(0000174)
Nico   
2015-03-09 19:35   
(edited on: 2015-03-09 19:53)
diff --git a/rsyslog.conf-old b/rsyslog.conf-new
index 0e33f48..82de57c 100644
--- a/rsyslog.conf-old
+++ b/rsyslog.conf-new
@@ -58,9 +58,9 @@ $IncludeConfig /etc/rsyslog.d/*.conf
 #
 # First some standard log files. Log by facility.
 #
-auth,authpriv.* /var/log/auth.log
+auth,authpriv.* -/var/log/auth.log
 *.*;auth,authpriv.none -/var/log/syslog
-#cron.* /var/log/cron.log
+#cron.* -/var/log/cron.log
 daemon.* -/var/log/daemon.log
 kern.* -/var/log/kern.log
 lpr.* -/var/log/lpr.log
@@ -73,13 +73,13 @@ user.* -/var/log/user.log
 #
 mail.info -/var/log/mail.info
 mail.warn -/var/log/mail.warn
-mail.err /var/log/mail.err
+mail.err -/var/log/mail.err
 
 #
 # Logging for INN news system.
 #
-news.crit /var/log/news/news.crit
-news.err /var/log/news/news.err
+news.crit -/var/log/news/news.crit
+news.err -/var/log/news/news.err
 news.notice -/var/log/news/news.notice
 
 #






View Issue Details
90 [Bananian Linux] Userland minor have not tried 2015-01-08 11:43 2015-03-09 19:51
Nico  
Nico  
normal  
resolved  
fixed  
none    
none 15.01  
  15.01  
add 15.01 release to bananian-update
add 15.01 as a new release for the update procedure
There are no notes attached to this issue.





View Issue Details
91 [Bananian Linux] Userland minor have not tried 2015-01-08 11:44 2015-03-09 19:50
Nico  
Nico  
normal  
resolved  
fixed  
none    
none 15.01  
  15.01  
update Debian packages and clean up before release
Final commands to clean up the system before release:
aptitude update && aptitude upgrade
aptitude clean
>/root/.zsh_history

/root/.ssh
/var/log
/tmp

set /etc/bananian_version

clear unused space:
cat /dev/zero > /mnt/big_zero ; sync; rm /mnt/big_zero
There are no notes attached to this issue.





View Issue Details
114 [Bananian Linux] Userland minor have not tried 2015-03-09 18:50 2015-03-09 18:53
Nico  
Nico  
normal  
resolved 15.04  
fixed  
none    
none 15.04  
  15.04  
add the Bananian repository to sources.list
add the Bananian repository to sources.list to provide kernel headers (and other packages)
There are no notes attached to this issue.





View Issue Details
34 [Bananian Linux] General minor have not tried 2014-09-17 22:47 2015-03-09 17:12
Nico  
Nico  
normal  
resolved 14.08  
fixed  
none    
none 15.04  
  15.04  
disable ext4 journaling
journaling should be disabled...
http://blogofterje.wordpress.com/2012/01/14/optimizing-fs-on-sd-card/ [^]
Notes
(0000029)
guest   
2014-09-18 01:42   
Does this change only affect the rootfs or all mounted ext4 filesystems? I would still like to use journaling for externally mounted drives (non-rootfs).

Can users enablie journaling again if they wish to? (E.g. by editing /etc/fstab.)
(0000030)
Nico   
2014-09-18 08:23   
This will only affect the root filesystem.

Backwards compatibility is very important to us. We will discuss this and try to find a solution for all users. Maybe it can be integrated in 'bananian-config'
(0000032)
guest   
2014-09-19 21:11   
Please make it non mandatory.

I'm using my banana pi with a SSD and journaling is interesting to keep.

Thanks.
(0000100)
guest   
2014-11-26 09:39   
It's just matter of default settings. It can be modified both ways with just one command. I believe most installations (dd) are made on SD cards.

It's basicly non-graceful shutdown resistance (I use without journal and didn't notice problems after a few instant power offs) vs. shorter SD card lifetime.
(0000171)
Nico   
2015-03-09 17:12   
ext4 journaling disabled for SD card in Bananian 15.04.
This will NOT be changed in existing installations!





View Issue Details
58 [Bananian Linux] General tweak have not tried 2014-10-26 20:04 2015-03-09 17:07
guest  
Nico  
normal  
resolved 14.09  
fixed  
none    
none 15.04  
  15.04  
Image doesn't fit on (every) 2GB SD card
I allow myself to copy forum member "Sob", see http://forum.lemaker.org/thread-3477-1-3-required_sd_card_size.html [^] for reference.

"Version 14.09 image (2 032 664 576 bytes) is clearly larger than 2GB (1000-based bytes). And some cards marked as 2GB are even smaller. For example some of my spare ones (older SanDisks) are only 1 977 614 336 bytes and I guess that some even smaller might exist."

Solution: further reduce image size to around  1 900 000 000 bytes to make it fit every 2GB SD card
Notes
(0000170)
Nico   
2015-03-09 17:07   
re-sized the image file to 1,9 GB





View Issue Details
97 [Bananian Linux] General minor always 2015-01-14 21:51 2015-03-09 08:45
hblockx  
Nico  
normal  
resolved  
fixed  
none    
none 15.04  
  15.04  
Bananian-update throws ssl-error (wrong date/time)
root@bananapi ~ # bananian-update
---------------------------------------------------------------------------------
Welcome to bananian-update!




This script upgrades your Bananian installation.


For news and updates check: http://www.bananian.org [^]


Don't panic, you will be asked to confirm before applying any updates!




---------------------------------------------------------------------------------
receiving/updating public key...




gpg: requesting key 24BFF712 from hkp server keys.gnupg.net
gpg: key 24BFF712: "Nico Isenbeck (Bananian Linux) <download@bananian.org>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1


---------------------------------------------------------------------------------
downloading latest upgrade from dl.bananian.org... (this might take a while)




  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: http://curl.haxx.se/docs/sslcerts.html [^]




curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: http://curl.haxx.se/docs/sslcerts.html [^]




curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.




---------------------------------------------------------------------------------
verifying signature...


gpg: can't open `/tmp/tmp.YTd3bp8BzB/update.tar.gz.asc'
gpg: verify signatures failed: file open error
just update
Notes
(0000146)
Nico   
2015-01-14 22:29   
I can't reproduce.

Works some on IPv4 and IPv6.
Please povide us some more details on your network infrastructure.

Are the following commands work:
curl -6 dl.bananian.org
curl -4 dl.bananian.org

SSL seems to be working fine, see:
https://www.ssllabs.com/ssltest/analyze.html?d=dl.bananian.org [^]
(0000147)
hblockx   
2015-01-14 23:17   
they work for me...
(0000148)
Nico   
2015-01-15 06:48   
You have to provide some more information then:
- provider?
- IPv6 enabled?
- home or company network?
- proxy?
- if possible, delete all private files, make a image and upload it for testing.

If you need a FTP account, let me know.
(0000150)
Geldaril   
2015-01-17 22:02   
I had the same problem when starting with bananian on my new BPi-R1. The cause is rather simple:

After a startup the clock is not set correctly. I could not figure out why but the ntpd takes a very long time until the local clock is modified.

So when trying the bananian-update right after installation the certs are not (yet) vaild an this error is thrown.

Maybe a good idea is a simple script to set the date/time of the box. Maybe the relase-date of the banian-version could be used as "check if older then --> set to".
(0000151)
Nico   
2015-01-17 22:05   
Thank you Geldaril, good explanation and solution. Will be integrated in the next release.
(0000163)
Nico   
2015-03-04 22:42   
(edited on: 2015-03-04 22:43)
fake-hwclock seems to be a program for this:

https://packages.debian.org/wheezy/fake-hwclock [^]

(0000168)
Nico   
2015-03-09 08:45   
added fake-hwclock





View Issue Details
113 [Bananian Linux] Hardware minor have not tried 2015-03-07 07:43 2015-03-09 08:42
Nico  
Nico  
normal  
resolved 15.04  
fixed  
none    
none 15.04  
  15.04  
add support for Orange Pi
Bananian 15.04 will include the fex/bin file for Orange Pi
https://github.com/Bananian/fex/tree/master/OrangePi [^]
Notes
(0000167)
Nico   
2015-03-09 08:42   
https://github.com/Bananian/fex/commit/f44340e944922d479d47a8023c0b595e103771ba [^]





View Issue Details
98 [Bananian Linux] Hardware major always 2015-01-17 22:21 2015-03-07 07:45
Geldaril  
Nico  
normal  
resolved 15.01  
fixed  
none    
none 15.04  
  15.04  
BPi-R1: Power on SATA not sufficient for HDD
Some people (including me) tried to use a normal HDD on the BPi-R1 and failed. After some testing and discussion we found out: The "on board mounted" SATA connecter (BPi-R1) does not provide enough power.

At first this sounds like a hardware bug, but what some guy found out (detail at http://bananapi.com/index.php/forum/general/391-why-the-sata-disk-doesnt-work-on-bpi-r1?start=6#1262 [^]):

The power supply for the onboard SATA connector is controlled over one pin of the A20. And this pin is set to "input-mode" after booting bananian.

The script.bin (or better script.fex) contains some parameters for SATA-configuration and there is indeed an option "sata_power_en" which might control the power supply for the SATA-port.

In the normal bananian "script.bin/fex" this option is empty. The sunxi-wiki (see http://linux-sunxi.org/Fex_Guide#.5Bsata_para.5D [^]) sets this option to sata_power_en = port:PB08<1><default><default><0>, but this does not work on BPi-R1.

This problem might affect other distros too.

So two questions:
1) Do you (anybody) know to what value is options has to be set?
2) Can this be integrated into the default bananian image?
* Connect HDD (not SSD) to the BPi-R1
* Turn on (and boot bananian)
Notes
(0000152)
Nico   
2015-01-17 22:27   
Very interesting!

If course this will be integrated into Bananian if someone figures out what the correct settings are.
(0000153)
Geldaril   
2015-01-20 19:36   
Thanks a lot to the guys in the bananapi.com-forum! They found the right solution.

In the script.fex-file just change
[sata_para]
sata_used = 1
sata_power_en =

to
[sata_para]
sata_used = 1
sata_power_en = port:PB03<1><default><default><0>

and SATA-power works as expected.

Little howto for those who want to try right now can be found in the forum:
http://bananapi.com/index.php/forum/general/391-why-the-sata-disk-doesnt-work-on-bpi-r1?start=12#1317 [^]

Please comment if anybody still has problems after this change.

I don't know if this is also important for other banana pi boards?
(0000166)
Nico   
2015-03-05 14:02   
https://github.com/Bananian/fex/commit/4f500abd617fb1ecb35e0ff92d9f45f09d289091 [^]





View Issue Details
111 [Bananian Linux] Kernel major always 2015-03-05 13:43 2015-03-07 07:44
Nico  
Nico  
normal  
resolved 15.01  
fixed  
none    
none 15.04  
  15.04  
ft5x_ts: Touchscreen does not work reliable (i2c)
Display is working, touch function not.
1.) Add ft5x_ts to /etc/modules
2.) Reboot
[ 7.732857] ===========================ft5x_ts_init=====================
[ 7.746036] ctp_fetch_sysconfig_para.
[ 7.762683] ctp_fetch_sysconfig_para: after: ctp_twi_addr is 0x38, dirty_addr_buf: 0x38. dirty_addr_buf[1]: 0xfffe
[ 7.781101] ctp_fetch_sysconfig_para: ctp_twi_id is 3.
[ 7.794691] ctp_fetch_sysconfig_para: screen_max_x = 1024.
[ 7.808582] ctp_fetch_sysconfig_para: screen_max_y = 600.
[ 7.822154] ctp_fetch_sysconfig_para: revert_x_flag = 0.
[ 7.835670] ctp_fetch_sysconfig_para: revert_y_flag = 0.
[ 7.849540] ctp_fetch_sysconfig_para: exchange_x_y_flag = 0.
[ 7.866722] ft5x_ts_init: after fetch_sysconfig_para: normal_i2c: 0x38. normal_i2c[1]: 0xfffe
[ 7.884589] ctp_init_platform_resource: tp_reset request gpio fail!
[ 7.900203] ctp_init_platform_resource: No power port feature present.
[ 7.911999] ctp_wakeup.
[ 7.967971] incomplete xfer (0x20)
[ 7.970359] incomplete xfer (0x20)
[ 7.972764] incomplete xfer (0x20)
[ 7.975121] incomplete xfer (0x20)
Notes
(0000164)
Nico   
2015-03-05 13:47   
https://github.com/Bananian/linux-bananapi/commit/ffbf0bdf5a07d720e9b9e3136eb4db9ba9f16271 [^]





View Issue Details
112 [Bananian Linux] Kernel minor have not tried 2015-03-05 13:50 2015-03-05 13:51
Nico  
Nico  
normal  
resolved 15.01  
fixed  
none    
none 15.04  
  15.04  
merge LeMaker kernel sources
merge LeMakers latest kernel with our sources.
https://github.com/LeMaker/linux-sunxi [^]
Notes
(0000165)
Nico   
2015-03-05 13:51   
https://github.com/Bananian/linux-bananapi/commit/90a53c7bd75eb59bc7312eaad2424f9149aed674 [^]





View Issue Details
109 [Bananian Linux] Kernel major always 2015-02-26 10:52 2015-03-05 13:43
sgei  
Nico  
urgent  
resolved  
no change required  
none    
none 14.11  
   
ft5x_ts Touchtreiber funktioniert nicht: Änderung in ft5x_ts.c nötig
Hallo,

um die neuen Touch-Displays von Lemaker nutzen zu können, muss der Kernel mit dem geänderten Treiber ft5x_ts.c neu übersetzt werden.

Siehe: https://github.com/LeMaker/linux-sunxi/commit/4f0ec88add366b2b6ef31580517302b6d98a1d2e [^]

Im Moment geht zwar das Display, aber nicht der Touch.
Notes
(0000162)
Nico   
2015-03-04 22:39   
Der Patch ist bereits seit Bananian 14.11 enthalten.

https://github.com/Bananian/linux-bananapi/commit/4f0ec88add366b2b6ef31580517302b6d98a1d2e [^]





View Issue Details
110 [Bananian Linux] General major always 2015-02-26 23:51 2015-02-27 11:12
felix29  
Nico  
urgent  
resolved  
won't fix  
none    
none  
   
Need urgently to reduce SD Card img file it takes much tooooo long for backups
Hello,
asking friends who have same problems, but no functioning solution found on the internet!
Problem
Had a first installation of the bananian to a 32 GB SD card (to have enough space) turned out later that it only has disadvantages while saving images.
In the meantime I have all the needed files on a SSD drive and the bananian only uses about 2GB.
The backups of images takes very very long. It always saves the total of 32 GB (which is useless) and far too big!!
No solution on the internet was found by 3 independent persons with the same issue.
Script files like autosizer.sh do not work.
So please help urgently how to downsize the image file, so I can load it on a 4GB SD card and have a faster backup of the system.
thanks in advance
felix
#!/bin/bash
# Automatic Image file resizer
# Written by SirLagz
strImgFile=$1

#if [[ ! $(whoami) =~ “root” ]]; then
#echo “”
#echo “**********************************”
#echo “*** This should be run as root ***”
#echo “**********************************”
#echo “”
#exit
#fi

if [[ -z $1 ]]; then
echo “Usage: ./autosizer.sh ”
exit
fi

#if [[ ! -e $1 || ! $(file $1) =~ “x86″ ]]; then
#echo “Error : Not an image file, or file doesn’t exist”
#exit
#fi

partinfo=`parted -m $1 unit B print`
partnumber=`echo “$partinfo” | grep ext4 | awk -F: ‘ { print $1 } ‘`
partstart=`echo “$partinfo” | grep ext4 | awk -F: ‘ { print substr($2,0,length($2)-1) } ‘`
loopback=`losetup -f –show -o $partstart $1`
e2fsck -f $loopback
minsize=`resize2fs -P $loopback | awk -F': ‘ ‘ { print $2 } ‘`

# Modified minsize calc by Kevin Rattai
#
# original minsize produces 0bytes on partition, calculated as:
# minsize=`echo “$minsize+1000″ | bc`
#
# New minsize calc produces 10% minsize as available space
minsize=`echo “($minsize+($minsize*0.1))/1″ | bc`

resize2fs -p $loopback $minsize
sleep 1
losetup -d $loopback
partnewsize=`echo “$minsize * 4096″ | bc`
newpartend=`echo “$partstart + $partnewsize” | bc`
part1=`parted $1 rm 2`
part2=`parted $1 unit B mkpart primary $partstart $newpartend`
endresult=`parted -m $1 unit B print free | tail -1 | awk -F: ‘ { print substr($2,0,length($2)-1) } ‘`
truncate -s $endresult $1
Does not work for bananian but seems to work for RasPi
Notes
(0000161)
Nico   
2015-02-27 11:12   
This script is not supported by Bananian and we won't fix this.
Please ask upstream to support Bananian images too.

You could try to resize the image manually, check: http://softwarebakery.com/shrinking-images-on-linux [^]





View Issue Details
107 [Bananian Linux] General minor always 2015-02-23 17:28 2015-02-27 09:42
dupeplay  
Nico  
high  
resolved 15.01  
won't fix  
none    
none  
   
Cant rotate display..
My Banana Pro (Raspbian OS installed) 
i've been trying to rotate my screen to 90 degree or 270 degree...

Please advise
Notes
(0000159)
Nico   
2015-02-27 09:42   
Our focus is to provide a headless Linux system for Banana Pi. At the moment we have other, more important issues. But feel free to post if you found a solution.





View Issue Details
16 [Bananian Linux] General minor have not tried 2014-09-02 18:46 2015-02-21 21:41
guest  
Nico  
normal  
resolved 14.08  
fixed  
none    
none 14.09  
  14.09  
reduce the image size < 2 GB
I'm wondering, why Bananian image requires 4GB SD card. The actual amount of contained data is only about 300MB (not counting swap file, which is IMHO useless by default anyway). It could easily fit even on 512MB card. Lets say it's extreme, but with 1GB, after installing few additional things, there would still be enough space left, which would be sufficient for many uses.
Wouldn't it be better to have smaller default image? It would not hurt anyone with larger cards, because it can be easily expanded. And it would help people with smaller cards (I sure have several of them laying around and I don't think that I'm alone).
http://forum.lemaker.org/3477-1-1-required_sd_card_size.html [^]
Notes
(0000002)
Nico   
2014-09-03 21:39   
image fits now on a 2 GB SD card





View Issue Details
99 [Bananian Linux] General feature N/A 2015-01-18 01:05 2015-02-01 09:05
ManuelOrtega  
Nico  
normal  
resolved 15.01  
not fixable  
none    
none  
   
SATA PMP Support
It would be apreciated to include SATA PMP Support by default or at least an easy way to switch it on/off.
Actually the only way to activate the PMP support is to recompile the kernel.
Notes
(0000156)
Nico   
2015-02-01 09:05   
Check this post in the Lemaker forum:
http://forum.lemaker.org/forum.php?mod=redirect&goto=findpost&ptid=3402&pid=61467&fromuid=4727 [^]

Quote:
"Currently the kernel needs a little patch for PMP functionality to work. And if patched in this way it's not possible to use a directly connected SATA disk. This won't change in kernel 3.4.x (that is what Lubuntu currently uses)."

This is why we won't change this as long as we use kernel 3.4.x.
Kernel >= 3.19.x will support this.





View Issue Details
104 [Bananian Linux] Userland major always 2015-01-26 09:49 2015-02-01 08:59
miavbe  
Nico  
high  
resolved 15.01  
no change required  
none    
none  
   
gcc doesn't find the files, and It doesn't work.
The source code:

#include <stdio.h>
void main()
{
 printf("Hello World!!");
}
produces the result not able to find stdio.h and neither crt1.o and crti.o
Img installed and done "bananian-config" and "bananian-update"
I installed gcc following:

#apt-get install gcc

After this, I created a directory and with nano put the source code I mentioned before, getting the results I said.
As You can see, if the source code is:
 
main()
{

}

There are files gcc doesn't find
Screenshot - 260115 - 09:44:55.png (101,527) 2015-01-26 09:49
https://dev.bananian.org/file_download.php?file_id=6&type=bug
png
Notes
(0000155)
Nico   
2015-02-01 08:59   
This is not a bug. You need to install 'libc-dev' too.
To avoid such problems install 'build-essential' to get a complete build environment.





View Issue Details
105 [Bananian Linux] Userland minor always 2015-01-31 19:11 2015-02-01 08:53
iwl  
Nico  
normal  
resolved 15.01  
duplicate  
none    
none  
   
No Keyboard Setup in bananian-config
There is no Keyboard Setup in bananian-config nothing happens when choosen, nothing in raspi-config either.
There are no notes attached to this issue.





View Issue Details
102 [Bananian Linux] Hardware minor have not tried 2015-01-20 23:59 2015-01-21 08:00
Thomas Kaiser  
Nico  
normal  
resolved 15.01  
duplicate  
none    
none  
   
Enable SATA power on BPi-R1
According to this thread http://bananapi.com/index.php/forum/general/391?start=12 [^] SinoVoip's fex file is wrong regarding SATA power. It should read

sata_power_en = port:PB03<1><default><default><0>

instead.
There are no notes attached to this issue.





View Issue Details
96 [Bananian Linux] (No Category) minor always 2015-01-12 21:30 2015-01-13 06:36
guest  
Nico  
normal  
resolved 15.01  
no change required  
none    
none  
   
bananapro hardware selected but wlan hardware not recognized
bananapro hardware selected but wlan hardware not recognized
Notes
(0000144)
FrankM   
2015-01-12 22:25   
Add 'ap6210' to /etc/modules to enable WiFi. When you have done this, reboot and your wlan works.
(0000145)
Nico   
2015-01-13 06:36   
Thank you Frank!

See https://www.bananian.org/hardware#banana_pro [^] and/or https://www.bananian.org/faq [^]





View Issue Details
95 [Bananian Linux] (No Category) minor always 2015-01-11 17:59 2015-01-11 19:18
guest  
Nico  
normal  
resolved 15.01  
duplicate  
none    
none  
   
Reconfiguring the keyboard offers no choices
Reconfiguring the keyboard via "bananian-config" or "dpkg-reconfigure keyboard-configuration" does not enter any configuration dialogs. (on ssh via Kitty or serial console as well).

Regards,
   Heinz
Notes
(0000143)
guest   
2015-01-11 18:03   
Oops. duplicate of https://dev.bananian.org/view.php?id=38, [^] sorry.





View Issue Details
89 [Bananian Linux] General crash always 2015-01-08 08:50 2015-01-11 14:37
guest  
Nico  
urgent  
resolved 14.11.02  
unable to reproduce  
none    
none  
   
apt-get causes a system crash
Using apt-get (for example apt-get install wpasupplicant wireless-tools or something else) shuts down system and after during boot system shuts down in 2-3 sec.
I have no idea
tested versions 14.11 and 14.11.02
hw: banana pi-m1
problem is with using expand root partition and without expand

banana pi is new, not for second hand
Notes
(0000133)
guest   
2015-01-08 11:23   
problem is width Micro 150M USB WiFi Adapter, if is modul pluged in, system random crashed
(0000134)
Nico   
2015-01-08 11:41   
Which power supply do you use?
Try another one please. Sounds like a problem with your power adapter and/or the Wifi device.
(0000140)
Nico   
2015-01-11 14:37   
No feedback, closed. Please reopen if required.





View Issue Details
88 [Bananian Linux] General block have not tried 2015-01-06 21:42 2015-01-11 14:36
guest  
Nico  
normal  
resolved 14.11.02  
no change required  
none    
none  
   
Kernel don't boot.
Kernel panic: Try to kill cpu1:failed
The system partition can't mount and chroot.
" mount: wrong fs type, bad option, bad superblock on /dev/sdd2, missing codepage or helper program, or other error"
Notes
(0000132)
Nico   
2015-01-07 06:23   
/dev/sdd2 is not default in Bananian.
Please post configuration details (e.g. uEnv.txt). Otherwise this ticket will be closed.
(0000136)
guest   
2015-01-08 16:39   
ok /dev/ssd2 is the partition of bananian system, "etc, var, usr, ...". may be lost something because I power on usb otg
(0000139)
Nico   
2015-01-11 14:36   
Not a Bananian issue.





View Issue Details
47 [Bananian Linux] Network feature always 2014-10-01 15:57 2015-01-10 10:06
guest  
Nico  
normal  
resolved 14.09  
fixed  
none    
none 15.01  
  15.01  
some packages for WLAN missing
In the virgin 14.09 image there are some packages missing to get WLAN up and running. Namely

    libnl-3-200_3.2.7-4_armhf.deb
    libnl-genl-3-200_3.2.7-4_armhf.deb
    iw_3.4-1_armhf.deb
    libreadline5_5.2+dfsg-2~deb7u1_armhf.deb
    libpcsclite1_1.8.4-1+deb7u1_armhf.deb
    libdbus-1-3_1.6.8-1+deb7u3_armhf.deb
    wpasupplicant_1.0-3+b1_armhf.deb
    libiw30_30~pre9-8_armhf.deb
    wireless-tools_30~pre9-8_armhf.deb

When these packages are pre-installed in the virgin image, at least a WPA2PSK connection could be established. The WLAN related kernel modules/packages are already in the image, but that is not enough. So please install this packages in the next released image.
Notes
(0000059)
Nico   
2014-10-19 12:40   
Bananian is a minimal image and because the Banana Pi has no wireless included we will not add those packages by default.

It should be possible for everyone to connect ethernet first, install the packages and then configure wireless.

This decision might/will be changed as soon as the Banana Pro with bundled wifi is available for sale.
(0000138)
Nico   
2015-01-10 09:56   
Will be integrated in Bananian 15.01





View Issue Details
44 [Bananian Linux] Userland tweak have not tried 2014-09-30 10:12 2015-01-10 10:06
Nico  
Nico  
normal  
resolved 14.09  
fixed  
none    
none 15.01  
  15.01  
install usbutils by default
Maybe the developers should consider installing "usbutils" on default, so users have at least a chance to find out the name of their wireless devices that don't work.
http://forum.lemaker.org/5967-1-1-lsusb_does_not_function.html [^]
There are no notes attached to this issue.





View Issue Details
82 [Bananian Linux] Network feature N/A 2014-12-29 18:32 2015-01-08 21:32
chris303  
Nico  
immediate  
resolved 14.11.02  
fixed  
none    
none 15.01  
  15.01  
Wlan Support for Banana Pro
Support for Banana Pro build-in WLan-Interface
Notes
(0000119)
Nico   
2014-12-31 14:33   
Wifi support is now in our GitHub.
Kernel: https://github.com/Bananian/linux-bananapi [^]
fex: https://github.com/Bananian/fex/tree/master/BananaPro [^]





View Issue Details
83 [Bananian Linux] Hardware feature have not tried 2014-12-31 16:02 2015-01-08 21:32
Nico  
Nico  
normal  
resolved 14.11.02  
fixed  
none    
none 15.01  
  15.01  
support BPI-R1 hardware
1.) add b53 driver
2.) enable VLAN (default)
3.) add /usr/sbin/swconfig
Notes
(0000123)
Nico   
2015-01-02 11:45   
(edited on: 2015-01-02 11:45)
1.) b53 driver is on GitHub (branch:bananapi-3.4-r1): https://github.com/Bananian/linux-bananapi/tree/bananapi-3.4-r1 [^]
2.) packet "vlan" needs to be installed, 8021q added to /etc/modules
3.) patched swconfig source is in https://github.com/Bananian/openwrt [^]
script to build https://github.com/Bananian/bananian/blob/master/scripts/build-swconfig.sh [^]

(0000131)
Nico   
2015-01-06 09:44   
the R1 kernel branch is now merged to our mainline kernel





View Issue Details
84 [Bananian Linux] General minor have not tried 2014-12-31 16:10 2015-01-08 21:32
Nico  
Nico  
normal  
resolved 14.11.02  
fixed  
none    
none 15.01  
  15.01  
add hardware configuration to bananian-config
allow hardware specific configuration (script.bin, modules, ...) in bananian-config to support Banana Pi, Pro and R-1 with just one image.
Notes
(0000135)
Nico   
2015-01-08 11:45   
introduced 'bananian-hardware' which can be used standalone or with bananian-config





View Issue Details
60 [Bananian Linux] General feature have not tried 2014-11-05 14:01 2015-01-08 21:31
Nico  
Nico  
normal  
resolved 14.09  
fixed  
none    
none 15.01  
  15.01  
Include bin2fex and fex2bin
Include bin2fex and fex2bin in the default image
Notes
(0000073)
Thomas Kaiser   
2014-11-09 15:09   
Please include fexc also (it's just one binary with 3 different names so one file + 2 hardlinks necessary :-) )





View Issue Details
85 [Bananian Linux] Security tweak N/A 2015-01-02 14:14 2015-01-08 11:59
Nico  
Nico  
normal  
resolved 14.11.02  
no change required  
none    
none  
   
Increase ServerKeyBits
The only think that strikes me is that the ServerKeyBits are still set to the old default of
 ServerKeyBits 768 (/etc/sshd_config).
 For ssh hardening it would be better to set it to 1024 (or perhaps even to 2048) and regenerate
 the serverkeys.
 For most "home installations" this is not a problem, but mine is exposed to the outside world (but
 maybe I'm overconcerned)
Notes
(0000129)
Nico   
2015-01-06 09:27   
From man 5 sshd_config:
     ServerKeyBits
             Defines the number of bits in the ephemeral protocol version 1 server key. The minimum value is 512, and the default is 1024.

It is for version 1 of the protocol, which is disabled in the configuration. So changing the ServerKeyBits is completely meaningless.





View Issue Details
62 [Bananian Linux] Userland minor have not tried 2014-11-19 06:44 2015-01-08 11:44
Nico  
Nico  
normal  
resolved 14.09  
fixed  
none    
none 14.11  
  14.11  
update Debian packages and clean up before release
Final commands to clean up the system before release:
aptitude update && aptitude upgrade
aptitude clean
>/root/.zsh_history

/root/.ssh
/var/log
/tmp

set /etc/bananian_version
There are no notes attached to this issue.





View Issue Details
63 [Bananian Linux] Userland minor have not tried 2014-11-19 06:45 2015-01-08 11:43
Nico  
Nico  
normal  
resolved 14.09  
fixed  
none    
none 14.11  
  14.11  
add 14.09.02 release to bananian-update
14.09.02 has to be added as a new release for the update procedure
There are no notes attached to this issue.





View Issue Details
87 [Bananian Linux] Kernel feature always 2015-01-05 11:59 2015-01-06 09:39
guest  
Nico  
normal  
resolved 14.11.02  
won't fix  
none    
none  
   
Add "geoip" iptables module
geoip iptables match module is "an extension to iptables/netfilter that allows you to filter, nat or mangle packets based on the country's destination or provenance"

http://people.netfilter.org/acidfu/geoip/howto/ [^]
root@banane:~# uname -a
Linux banane 3.4.104+ #3 SMP PREEMPT Wed Nov 19 08:28:34 CET 2014 armv7l GNU/Linux

root@banane:~# modprobe xt_geoip
FATAL: Module xt_geoip not found.
People that run e.g. owncloud on their BPi, and make that instance available from the Internet, might want to limit access to a single country.
Notes
(0000130)
Nico   
2015-01-06 09:39