Sergio
-
Posts
12 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Posts posted by Sergio
-
-
Armbianmonitor:
After last upgrade Armbian on OrangePi PC Plus from version
ARMBIAN 5.73 stable Ubuntu 16.04.5 LTS 3.4.113-sun8i - 3.4.113-sun8i #16 SMP PREEMPT Thu Jan 31 08:15:34 CET 2019 armv7l armv7l armv7l GNU/Linux
to
Ubuntu Xenial with Armbian Linux 3.4.113-sun8i - 3.4.113-sun8i #2 SMP PREEMPT Wed May 8 15:09:43 CEST 2019 armv7l armv7l armv7l GNU/Linux
the modem on port ttyS3 stopped working.QuoteUnable to read the firmware version after six attempts
dmesg | grep S3 [ 0.621150] uart3: ttyS3 at MMIO 0x1c28c00 (irq = 35) is a SUNXI
ls -la /dev/ttyS3 crw-rw---- 1 root dialout 251, 3 Oct 15 13:03 /dev/ttyS3
script.fex [uart0] uart_used = 0 uart_port = 0 uart_type = 2 uart_tx = port:PA04<2><1><default><default> uart_rx = port:PA05<2><1><default><default> [uart1] uart_used = 0 uart_port = 1 uart_type = 4 uart_tx = port:PG06<2><1><default><default> uart_rx = port:PG07<2><1><default><default> uart_rts = port:PG08<2><1><default><default> uart_cts = port:PG09<2><1><default><default> [uart2] uart_used = 0 uart_port = 2 uart_type = 4 uart_tx = port:PA00<2><1><default><default> uart_rx = port:PA01<2><1><default><default> uart_rts = port:PA02<2><1><default><default> uart_cts = port:PA03<2><1><default><default> [uart3] uart_used = 1 uart_port = 3 uart_type = 2 uart_tx = port:PA13<2><1><default><default> uart_rx = port:PA14<2><1><default><default>
-
22 hours ago, Igor said:
Patch is applied and it seems to work, updates pushed up:
https://github.com/armbian/documentation/commit/417821896fedd9623bfc6d7dac13cc5392729c80https://github.com/armbian/upload/commit/3ea43843df0ccfa7e749b41cffa27f38c3ba53e8
... but it seems not all problems went away. I am experiencing network troubles.Lan cable was not connected to the switch
@Igor , can I switch to the nightly build and do the update by apt update&upgrade, or is it necessary to do it manually in a different way?
-
9 minutes ago, thexman said:
The problem with SBCs (except Raspberry) is that there is a huge variety of boards and SOCs (with limited native linux manufacturer support) which have to be integrated. This also made a legacy kernel necessary in the first place. In case of the RPI you actually have one type of SOC with different revisions which is much easier to support. Also the legacy kernel is quite old which might in this case also be the actual reason. I assume that the issue not absolutely has something to do with the SOC or board but rather with the kernel version. Because also other virtualized providers with specific kernels suffered the issue and this is has nothing to do with a SBC.
And how many end users were affected?! (
It is a matter of trust and choice. For me prior to this moment, the orange had some advantage over the raspberry, but now it is gone. -
6 minutes ago, thexman said:
You don't inevitably need to switch to Stretch to avoid the issue. Simply switching to mainline on Xenial will also work. As already said legacy kernel features will not work anymore but that would be the same for any mainline. Switching can be done through the armbian configuration tool.
Ok, thank you. I'll try.
This is the first such case in my practice. On raspberry this has never happened before. -
-
55 minutes ago, Igor said:
This not exactly a solution. Next manual apt update and upgrade will break it again due to the bug in systemd. In a package that is outside our control. We could only provide a hack via our repository.
What kind of hack are we talking about?
-
2 hours ago, Sergio said:
How to disable all automatic updates in ARMBIAN 5.38 stable Ubuntu 16.04.4 LTS 3.4.113-sun8i on Orange PC Plus?
First, ssh stopped working, then lighttpd and xrdp !!!
He asked, he answered)
1. sudo nano /etc/apt/apt.conf.d/02periodic// Enable the update/upgrade script (0=disable) APT::Periodic::Enable "0"; // Do "apt-get update" automatically every n-days (0=disable) APT::Periodic::Update-Package-Lists "0"; // Do "apt-get upgrade --download-only" every n-days (0=disable) APT::Periodic::Download-Upgradeable-Packages "0"; // Run the "unattended-upgrade" security upgrade script // every n-days (0=disabled) // Requires the package "unattended-upgrades" and will write // a log in /var/log/unattended-upgrades APT::Periodic::Unattended-Upgrade "0"; // Do "apt-get autoclean" every n-days (0=disable) APT::Periodic::AutocleanInterval "0";
2. sudo nano /etc/apt/apt.conf.d/50unattended-upgrades// Automatically upgrade packages from these (origin:archive) pairs Unattended-Upgrade::Allowed-Origins { // "${distro_id}:${distro_codename}"; // "${distro_id}:${distro_codename}-security"; // Extended Security Maintenance; doesn't necessarily exist for // every release and this system may not have it installed, but if // available, the policy for updates is such that unattended-upgrades // should also install from here by default. // "${distro_id}ESM:${distro_codename}"; // "${distro_id}:${distro_codename}-updates"; // "${distro_id}:${distro_codename}-proposed"; // "${distro_id}:${distro_codename}-backports"; };
-
How to disable all automatic updates in ARMBIAN 5.38 stable Ubuntu 16.04.4 LTS 3.4.113-sun8i on Orange PC Plus?
First, ssh stopped working, then lighttpd and xrdp !!! -
On 1/12/2019 at 9:02 PM, Sergey_zh said:
Hello,
After upgrading the Linux - SSH stopped working.
I tried reinstalling the OS and and it works fine before running apt upgrade.
Board Orange pi Lite
Armbian_5.65_Orangepilite_Ubuntu_xenial_default_3.4.113_desktop
Boot error messages:
[FAILED] Failed to start Create Static Device Nodes in /dev.
See 'systemctl status systemd-tmpfiles-setup.service' for details.[FAILED] Failed to start OpenBSD Secure Shell server.
See 'systemctl status ssh.service' for details.
$ systemctl status systemd-tmpfiles-setup.service
● systemd-tmpfiles-setup.service - Create Volatile Files and Directories
Loaded: loaded (/lib/systemd/system/systemd-tmpfiles-setup.service; static; v
Active: failed (Result: exit-code) since Sat 2019-01-12 17:15:12 UTC; 36min a
Docs: man:tmpfiles.d(5)
man:systemd-tmpfiles(8)
Process: 539 ExecStart=/bin/systemd-tmpfiles --create --remove --boot --exclud
Main PID: 539 (code=exited, status=1/FAILURE)$ systemctl status ssh.service
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enab
Active: failed (Result: start-limit-hit) since Sat 2019-01-12 17:15:23 UTC; 2
Process: 1218 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=255)
My knowledge of Linux is enough only to reinstall and not to update the OS ((
Hi! Use the "UsePrivilegeSeparation no" parameter in the sshd_config file or create the required directory "/var/run/sshd" before starting the service by systemd script.
-
After compiling the three versions of the drivers the problem was resolved by the transfer of the access point in the router in mode "Do not hide SSID"
-
Didn't work on OrangePi PC with Armbian_5.14_Orangepipc_Debian_jessie_3.4.112 still (
# uname -a Linux orangepipc 3.4.112-sun8i #2 SMP PREEMPT Sun Jun 5 08:38:56 CEST 2016 armv7l GNU/Linux
# lsusb Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 002: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS] Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
It is unable to make a connection with router although scanning for networks does work.
Jun 23 13:01:36 localhost kernel: [ 4.551979] USB_SPEED_HIGH Jun 23 13:01:36 localhost kernel: [ 4.552012] CHIP TYPE: RTL8188C_8192C Jun 23 13:01:36 localhost kernel: [ 4.552055] register rtw_netdev_ops to netdev_ops Jun 23 13:01:36 localhost kernel: [ 4.552318] Chip Version ID: VERSION_NORMAL_TSMC_CHIP_88C. Jun 23 13:01:36 localhost kernel: [ 4.552329] RF_Type is 3!! Jun 23 13:01:36 localhost kernel: [ 4.552766] EEPROM type is E-FUSE Jun 23 13:01:36 localhost kernel: [ 4.552774] ====> ReadAdapterInfo8192C Jun 23 13:01:36 localhost kernel: [ 4.552891] Boot from EFUSE, Autoload OK ! Jun 23 13:01:36 localhost kernel: [ 4.703781] EEPROMVID = 0x7392 Jun 23 13:01:36 localhost kernel: [ 4.703794] EEPROMPID = 0x7811 Jun 23 13:01:36 localhost kernel: [ 4.703800] EEPROMCustomerID : 0x00 Jun 23 13:01:36 localhost kernel: [ 4.703806] EEPROMSubCustomerID: 0x00 Jun 23 13:01:36 localhost kernel: [ 4.703812] RT_CustomerID: 0x00 Jun 23 13:01:36 localhost kernel: [ 4.703823] _ReadMACAddress MAC Address from EFUSE = 74:da:38:41:69:6a Jun 23 13:01:36 localhost kernel: [ 4.703834] EEPROMRegulatory = 0x0 Jun 23 13:01:36 localhost kernel: [ 4.703840] _ReadBoardType(0) Jun 23 13:01:36 localhost kernel: [ 4.703847] BT Coexistance = disable Jun 23 13:01:36 localhost kernel: [ 4.703854] mlmepriv.ChannelPlan = 0x02 Jun 23 13:01:36 localhost kernel: [ 4.703863] _ReadPSSetting...bHWPwrPindetect(0)-bHWPowerdown(0) ,bSupportRemoteWakeup(0) Jun 23 13:01:36 localhost kernel: [ 4.703874] ### PS params=> power_mgnt(1),usbss_enable(0) ### Jun 23 13:01:36 localhost kernel: [ 4.703881] ### AntDivCfg(0) Jun 23 13:01:36 localhost kernel: [ 4.703887] readAdapterInfo_8192CU(): REPLACEMENT = 1 Jun 23 13:01:36 localhost kernel: [ 4.703898] <==== ReadAdapterInfo8192C in 150 ms Jun 23 13:01:36 localhost kernel: [ 4.704627] rtw_macaddr_cfg MAC Address = 74:da:38:41:69:6a Jun 23 13:01:36 localhost kernel: [ 4.704643] bDriverStopped:1, bSurpriseRemoved:0, bup:0, hw_init_completed:0 Jun 23 13:01:36 localhost kernel: [ 4.705581] _rtw_drv_register_netdev, MAC Address (if1) = 74:da:38:41:69:6a Jun 23 13:01:36 localhost kernel: [ 4.705708] usbcore: registered new interface driver rtl8192cu Jun 23 13:01:36 localhost kernel: [ 70.438889] +871x_drv - drv_open, bup=0 Jun 23 13:01:36 localhost kernel: [ 70.443159] ===> FirmwareDownload91C() fw:Rtl819XFwImageArray_TSMC Jun 23 13:01:36 localhost kernel: [ 70.443171] FirmwareDownload92C accquire FW from embedded image Jun 23 13:01:36 localhost kernel: [ 70.443180] fw_ver=v88, fw_subver=2, sig=0x88c0 Jun 23 13:01:36 localhost kernel: [ 70.468396] fw download ok! Jun 23 13:01:36 localhost kernel: [ 70.468404] Set RF Chip ID to RF_6052 and RF type to 1T1R. Jun 23 13:01:36 localhost kernel: [ 70.857050] IQK:Start!!! Jun 23 13:01:36 localhost kernel: [ 70.867923] Path A IQK Success!! Jun 23 13:01:36 localhost kernel: [ 70.875673] Path A IQK Success!! Jun 23 13:01:36 localhost kernel: [ 70.880302] IQK: final_candidate is 0 Jun 23 13:01:36 localhost kernel: [ 70.880331] IQK: RegE94=103 RegE9C=11 RegEA4=ff RegEAC=3ff RegEB4=0 RegEBC=0 RegEC4=0 RegECC=0 Jun 23 13:01:36 localhost kernel: [ 70.880346] Path A IQ Calibration Success ! Jun 23 13:01:36 localhost kernel: [ 70.993928] pdmpriv->TxPowerTrackControl = 1 Jun 23 13:01:36 localhost kernel: [ 70.998552] rtl8192cu_hal_init in 560ms Jun 23 13:01:36 localhost kernel: [ 71.015560] MAC Address = 74:da:38:41:69:6a Jun 23 13:01:36 localhost kernel: [ 71.015988] -871x_drv - drv_open, bup=1 Jun 23 13:01:36 localhost kernel: [ 71.017693] ADDRCONF(NETDEV_UP): wlan0: link is not ready Jun 23 13:01:36 localhost kernel: [ 71.017790] [rtw_wx_set_pmkid] IW_PMKSA_FLUSH! Jun 23 13:01:36 localhost kernel: [ 71.017830] set_mode = IW_MODE_INFRA Jun 23 13:01:36 localhost kernel: [ 71.018483] =>rtw_wx_set_essid Jun 23 13:01:36 localhost kernel: [ 71.018507] ssid=g�isQ�J�)ͺ����F|ºT�^[���vZ.c3�ɚ, len=32 Jun 23 13:01:36 localhost kernel: [ 71.018533] Set SSID under fw_state=0x00000008 Jun 23 13:01:36 localhost kernel: [ 71.018575] <=rtw_wx_set_essid, ret 0 Jun 23 13:01:36 localhost kernel: [ 71.018825] hw_var_set_opmode()-4234 mode = 2 Jun 23 13:01:36 localhost kernel: [ 71.080769] [rtw_wx_set_pmkid] IW_PMKSA_FLUSH! Jun 23 13:01:36 localhost kernel: [ 72.326185] survey done event(2c) band:0 for wlan0 Jun 23 13:01:36 localhost kernel: [ 72.326229] rtw_select_and_join_from_scanned_queue: return _FAIL(candidate == NULL) Jun 23 13:01:36 localhost kernel: [ 72.326253] try_to_join, but select scanning queue fail, to_roaming:0 Jun 23 13:01:36 localhost kernel: [ 75.016928] ==>rtw_ps_processor .fw_state(8) Jun 23 13:01:36 localhost kernel: [ 75.016954] ==>ips_enter cnts:1 Jun 23 13:01:36 localhost kernel: [ 75.016968] ===> rtw_ips_pwr_down................... Jun 23 13:01:36 localhost kernel: [ 75.017290] ====> rtw_ips_dev_unload... Jun 23 13:01:36 localhost kernel: [ 75.040928] usb_read_port_cancel Jun 23 13:01:36 localhost kernel: [ 75.041022] usb_read_port_complete()-1284: RX Warning! bDriverStopped(0) OR bSurpriseRemoved(0) bReadPortCancel(1) Jun 23 13:01:36 localhost kernel: [ 75.041143] usb_read_port_complete()-1284: RX Warning! bDriverStopped(0) OR bSurpriseRemoved(0) bReadPortCancel(1) Jun 23 13:01:36 localhost kernel: [ 75.041268] usb_read_port_complete()-1284: RX Warning! bDriverStopped(0) OR bSurpriseRemoved(0) bReadPortCancel(1) Jun 23 13:01:36 localhost kernel: [ 75.041393] usb_read_port_complete()-1284: RX Warning! bDriverStopped(0) OR bSurpriseRemoved(0) bReadPortCancel(1) Jun 23 13:01:36 localhost kernel: [ 75.041449] usb_write_port_cancel Jun 23 13:01:36 localhost kernel: [ 75.041537] ==> rtl8192cu_hal_deinit Jun 23 13:01:36 localhost kernel: [ 75.041553] bkeepfwalive(0) Jun 23 13:01:36 localhost kernel: [ 75.041566] card disble without HWSM........... Jun 23 13:01:36 localhost kernel: [ 75.046679] <=== rtw_ips_pwr_down..................... in 30ms Jun 23 13:01:36 localhost kernel: [ 77.360172] _rtw_pwr_wakeup call ips_leave.... Jun 23 13:01:36 localhost kernel: [ 77.360199] ==>ips_leave cnts:1 ... Jun 23 13:01:36 localhost kernel: [ 98.075745] ===> rtw_ips_pwr_up.............. Jun 23 13:01:36 localhost kernel: [ 98.075770] ===> ips_netdrv_open......... Jun 23 13:01:36 localhost kernel: [ 98.080711] ===> FirmwareDownload91C() fw:Rtl819XFwImageArray_TSMC Jun 23 13:01:36 localhost kernel: [ 98.080737] FirmwareDownload92C accquire FW from embedded image Jun 23 13:01:36 localhost kernel: [ 98.080760] fw_ver=v88, fw_subver=2, sig=0x88c0 Jun 23 13:01:36 localhost kernel: [ 98.116067] fw download ok! Jun 23 13:01:36 localhost kernel: [ 98.116086] Set RF Chip ID to RF_6052 and RF type to 1T1R. Jun 23 13:01:36 localhost kernel: [ 98.507041] IQK:Start!!! Jun 23 13:01:36 localhost kernel: [ 98.518048] Path A IQK Success!! Jun 23 13:01:36 localhost kernel: [ 98.525797] Path A IQK Success!! Jun 23 13:01:36 localhost kernel: [ 98.537422] Path A IQK Success!! Jun 23 13:01:36 localhost kernel: [ 98.542167] IQK: final_candidate is 0 Jun 23 13:01:36 localhost kernel: [ 98.542195] IQK: RegE94=103 RegE9C=10 RegEA4=ff RegEAC=3ff RegEB4=0 RegEBC=0 RegEC4=0 RegECC=0 Jun 23 13:01:36 localhost kernel: [ 98.542210] Path A IQ Calibration Success ! Jun 23 13:01:36 localhost kernel: [ 98.653927] pdmpriv->TxPowerTrackControl = 1 Jun 23 13:01:36 localhost kernel: [ 98.658677] rtl8192cu_hal_init in 580ms Jun 23 13:01:36 localhost kernel: [ 98.675742] <=== rtw_ips_pwr_up.............. in 600ms Jun 23 13:01:36 localhost kernel: [ 98.675929] ==> ips_leave.....LED(0x00028080)... Jun 23 13:01:36 localhost kernel: [ 99.986056] survey done event(22) band:0 for wlan0 Jun 23 13:01:36 localhost kernel: [ 102.670104] ==>rtw_ps_processor .fw_state(8) Jun 23 13:01:36 localhost kernel: [ 102.670129] ==>ips_enter cnts:5 Jun 23 13:01:36 localhost kernel: [ 102.670144] ===> rtw_ips_pwr_down................... Jun 23 13:01:36 localhost kernel: [ 102.670425] ====> rtw_ips_dev_unload... Jun 23 13:01:36 localhost kernel: [ 102.693927] usb_read_port_cancel Jun 23 13:01:36 localhost kernel: [ 102.694023] usb_read_port_complete()-1284: RX Warning! bDriverStopped(0) OR bSurpriseRemoved(0) bReadPortCancel(1) Jun 23 13:01:36 localhost kernel: [ 102.694144] usb_read_port_complete()-1284: RX Warning! bDriverStopped(0) OR bSurpriseRemoved(0) bReadPortCancel(1) Jun 23 13:01:36 localhost kernel: [ 102.694268] usb_read_port_complete()-1284: RX Warning! bDriverStopped(0) OR bSurpriseRemoved(0) bReadPortCancel(1) Jun 23 13:01:36 localhost kernel: [ 102.694392] usb_read_port_complete()-1284: RX Warning! bDriverStopped(0) OR bSurpriseRemoved(0) bReadPortCancel(1) Jun 23 13:01:36 localhost kernel: [ 102.694447] usb_write_port_cancel Jun 23 13:01:36 localhost kernel: [ 102.694534] ==> rtl8192cu_hal_deinit Jun 23 13:01:36 localhost kernel: [ 102.694550] bkeepfwalive(0) Jun 23 13:01:36 localhost kernel: [ 102.694564] card disble without HWSM........... Jun 23 13:01:36 localhost kernel: [ 102.699676] <=== rtw_ips_pwr_down..................... in 20ms Jun 23 13:01:36 localhost kernel: [ 104.993781] _rtw_pwr_wakeup call ips_leave.... Jun 23 13:01:36 localhost kernel: [ 104.993810] ==>ips_leave cnts:5
modem on ttyS3 stopped working after upgrade
in Allwinner sunxi
Posted
The question is closed - the problem was in the Board OrangePi PC Plus itself.