apollon77
-
Posts
115 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Community Map
Posts posted by apollon77
-
-
Ok, Arnbian Firmware was not the reason, happened again .., I now downgraded kernel to the version it was before ... lets see how this goes
-
Ok, I check deeper ... so beside armbian firmware which was updated as I told also kernel is much newer ...
> Welcome to Armbian 21.08.3 Buster with Linux 5.10.60-sunxi
on the system where it makes issues
> Welcome to Armbian 21.08.2 Buster with Linux 5.10.43-sunxi
on the systems where it works
I now downgradded armbian firmware to 21.08.2 and will see if it gets better. Next would be downgrading kernel too
-
I checked the different packages and it should be basically
armbian-bsp-cli-zeropi/buster,now 21.08.2 armhf [installed]
armbian-firmware/buster,now 21.08.2 all [installed]vs 21.0.3
SHould I try to revert these two packages using apt install? (or is armbian-firmware enough?
-
Armbianmonitor:
Hi,
I use three ZeroPi hosts as USBIP hosts top just offer USB devices.
The kernel till last update on one device was
Linux usb2 5.10.43-sunxi #21.05.6 SMP Mon Jun 21 15:07:45 UTC 2021 armv7l GNU/Linux
and the new kernel on the once device that makes issues now is
Linux usb3 5.10.60-sunxi #21.08.2 SMP Tue Sep 14 16:28:44 UTC 2021 armv7l GNU/Linux
The issues are that one of the USB devices become unavailable after some hours and I see this in the syslog:
SpoilerOct 13 18:36:39 usb3 kernel: [43038.026466] usbip-host 4-1.1: failed to unlink 1/1 urb of seqnum 354788, ret -43
Oct 13 18:36:39 usb3 kernel: [43038.026497] 8<--- cut here ---
Oct 13 18:36:39 usb3 kernel: [43038.026504] Unable to handle kernel NULL pointer dereference at virtual address 00000028
Oct 13 18:36:39 usb3 kernel: [43038.026520] pgd = ad869166
Oct 13 18:36:39 usb3 kernel: [43038.026525] [00000028] *pgd=00000000
Oct 13 18:36:39 usb3 kernel: [43038.026546] Internal error: Oops: 5 [#1] SMP THUMB2
Oct 13 18:36:39 usb3 kernel: [43038.031434] Modules linked in: dm_mod rfkill pl2303 cp210x sun4i_gpadc_iio usbserial industrialio sun8i_thermal sunxi_cedrus(C) v4l2_mem2mem videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 videobuf2_common evdev uio_pdrv_genirq uio cpufreq_dt zram usbip_host usbip_core ip_tables x_tables autofs4 sunxi phy_generic gpio_keys realtek
Oct 13 18:36:39 usb3 kernel: [43038.061198] CPU: 0 PID: 1794 Comm: stub_rx Tainted: G C 5.10.60-sunxi #21.08.2
Oct 13 18:36:39 usb3 kernel: [43038.069710] Hardware name: Allwinner sun8i Family
Oct 13 18:36:39 usb3 kernel: [43038.074425] PC is at stub_rx_loop+0x332/0x8fc [usbip_host]
Oct 13 18:36:39 usb3 kernel: [43038.079908] LR is at stub_rx_loop+0x325/0x8fc [usbip_host]
Oct 13 18:36:39 usb3 kernel: [43038.085386] pc : [<bf8441e2>] lr : [<bf8441d5>] psr: 200f0033
Oct 13 18:36:39 usb3 kernel: [43038.091644] sp : c2b43ef0 ip : 3fffefff fp : c3430784
Oct 13 18:36:39 usb3 kernel: [43038.096860] r10: bf840bc0 r9 : 00000000 r8 : 00000001
Oct 13 18:36:39 usb3 kernel: [43038.102077] r7 : 00000004 r6 : bf846730 r5 : c2b4a300 r4 : 00000002
Oct 13 18:36:39 usb3 kernel: [43038.108595] r3 : 00000000 r2 : 00000002 r1 : bf846730 r0 : ffffffea
Oct 13 18:36:39 usb3 kernel: [43038.115115] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA Thumb Segment none
Oct 13 18:36:39 usb3 kernel: [43038.122413] Control: 50c5387d Table: 4268806a DAC: 00000051
Oct 13 18:36:39 usb3 kernel: [43038.128154] Process stub_rx (pid: 1794, stack limit = 0xb5106123)
Oct 13 18:36:39 usb3 kernel: [43038.134241] Stack: (0xc2b43ef0 to 0xc2b44000)
Oct 13 18:36:39 usb3 kernel: [43038.138594] 3ee0: 000569e4 ffffffd5 c2b986c0 c9c06800
Oct 13 18:36:39 usb3 kernel: [43038.146764] 3f00: 00000001 00000000 80000300 00000000 bf8466f0 bf8482b8 c0f04fc8 c3430784
Oct 13 18:36:39 usb3 kernel: [43038.154933] 3f20: bf84696c bf84690c dff76a40 00000002 000569e4 00040003 00000000 00000000
Oct 13 18:36:39 usb3 kernel: [43038.163101] 3f40: 000569df 00000000 00000000 00000000 00000000 00000000 00000000 c7cf741f
Oct 13 18:36:39 usb3 kernel: [43038.171269] 3f60: c3430784 c9bad000 c2b49840 00000000 c2b42000 bf843eb1 c3430784 c3083e1c
Oct 13 18:36:39 usb3 kernel: [43038.179438] 3f80: c9bad024 c01345bd 0000021b c2b49840 c01344b5 00000000 00000000 00000000
Oct 13 18:36:39 usb3 kernel: [43038.187607] 3fa0: 00000000 00000000 00000000 c0100159 00000000 00000000 00000000 00000000
Oct 13 18:36:39 usb3 kernel: [43038.195777] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Oct 13 18:36:39 usb3 kernel: [43038.203945] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
Oct 13 18:36:39 usb3 kernel: [43038.212157] [<bf8441e2>] (stub_rx_loop [usbip_host]) from [<c01345bd>] (kthread+0x109/0x10c)
Oct 13 18:36:39 usb3 kernel: [43038.220601] [<c01345bd>] (kthread) from [<c0100159>] (ret_from_fork+0x11/0x38)
Oct 13 18:36:39 usb3 kernel: [43038.227812] Exception stack(0xc2b43fb0 to 0xc2b43ff8)
Oct 13 18:36:39 usb3 kernel: [43038.232861] 3fa0: 00000000 00000000 00000000 00000000
Oct 13 18:36:39 usb3 kernel: [43038.241027] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Oct 13 18:36:39 usb3 kernel: [43038.249194] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
Oct 13 18:36:39 usb3 kernel: [43038.255809] Code: 692b 4622 4631 59db (6a9f) 9001
Oct 13 18:36:39 usb3 kernel: [43038.260849] ---[ end trace caa9dd5554754acb ]---Second exception is e.g.
SpoilerOct 13 00:03:23 usb3 kernel: [59912.189086] usbip-host 4-1.1: failed to unlink 1/1 urb of seqnum 495692, ret -43
Oct 13 00:03:23 usb3 kernel: [59912.189122] 8<--- cut here ---
Oct 13 00:03:23 usb3 kernel: [59912.189139] Unable to handle kernel NULL pointer dereference at virtual address 00000028
Oct 13 00:03:23 usb3 kernel: [59912.189161] pgd = e66d4fcf
Oct 13 00:03:23 usb3 kernel: [59912.189175] [00000028] *pgd=00000000
Oct 13 00:03:23 usb3 kernel: [59912.189210] Internal error: Oops: 5 [#1] SMP THUMB2
Oct 13 00:03:23 usb3 kernel: [59912.194111] Modules linked in: dm_mod rfkill sun4i_gpadc_iio pl2303 cp210x industrialio usbserial sun8i_thermal sunxi_cedrus(C) v4l2_mem2mem videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 videobuf2_common evdev uio_pdrv_genirq uio cpufreq_dt zram usbip_host usbip_core ip_tables x_tables autofs4 sunxi phy_generic gpio_keys realtek
Oct 13 00:03:23 usb3 kernel: [59912.224037] CPU: 0 PID: 1693 Comm: stub_rx Tainted: G C 5.10.60-sunxi #21.08.2
Oct 13 00:03:23 usb3 kernel: [59912.232560] Hardware name: Allwinner sun8i Family
Oct 13 00:03:23 usb3 kernel: [59912.237297] PC is at stub_rx_loop+0x332/0x8fc [usbip_host]
Oct 13 00:03:23 usb3 kernel: [59912.242798] LR is at stub_rx_loop+0x325/0x8fc [usbip_host]
Oct 13 00:03:23 usb3 kernel: [59912.248289] pc : [<bf8431e2>] lr : [<bf8431d5>] psr: 20070033
Oct 13 00:03:23 usb3 kernel: [59912.254560] sp : ca1bdef0 ip : 3ffff0c7 fp : c9bdd6c4
Oct 13 00:03:23 usb3 kernel: [59912.259790] r10: bf839bc0 r9 : 00000000 r8 : 00000001
Oct 13 00:03:23 usb3 kernel: [59912.265021] r7 : 00000004 r6 : bf845730 r5 : c4046d80 r4 : 00000002
Oct 13 00:03:23 usb3 kernel: [59912.271552] r3 : 00000000 r2 : 00000002 r1 : bf845730 r0 : ffffffea
Oct 13 00:03:23 usb3 kernel: [59912.278087] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA Thumb Segment none
Oct 13 00:03:23 usb3 kernel: [59912.285399] Control: 50c5387d Table: 42afc06a DAC: 00000051
Oct 13 00:03:23 usb3 kernel: [59912.291153] Process stub_rx (pid: 1693, stack limit = 0xf6019ed1)
Oct 13 00:03:23 usb3 kernel: [59912.297245] Stack: (0xca1bdef0 to 0xca1be000)
Oct 13 00:03:23 usb3 kernel: [59912.301599] dee0: 0007904c ffffffd5 c9996c00 c9c12400
Oct 13 00:03:23 usb3 kernel: [59912.309767] df00: 00000001 00000000 80000300 00000000 bf8456f0 bf8472b8 c0f04fc8 c9bdd6c4
Oct 13 00:03:23 usb3 kernel: [59912.317934] df20: bf84596c bf84590c dff76a40 00000002 0007904c 00040003 00000000 00000000
Oct 13 00:03:23 usb3 kernel: [59912.326101] df40: 00079047 00000000 00000000 00000000 00000000 00000000 00000000 c7cf741f
Oct 13 00:03:23 usb3 kernel: [59912.334268] df60: c9bdd6c4 c22760c0 ca247280 00000000 ca1bc000 bf842eb1 c9bdd6c4 c2b3fe1c
Oct 13 00:03:23 usb3 kernel: [59912.342436] df80: c22760e4 c01345bd 00000178 ca247280 c01344b5 00000000 00000000 00000000
Oct 13 00:03:23 usb3 kernel: [59912.350602] dfa0: 00000000 00000000 00000000 c0100159 00000000 00000000 00000000 00000000
Oct 13 00:03:23 usb3 kernel: [59912.358769] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Oct 13 00:03:23 usb3 kernel: [59912.366935] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
Oct 13 00:03:23 usb3 kernel: [59912.375132] [<bf8431e2>] (stub_rx_loop [usbip_host]) from [<c01345bd>] (kthread+0x109/0x10c)
Oct 13 00:03:23 usb3 kernel: [59912.383567] [<c01345bd>] (kthread) from [<c0100159>] (ret_from_fork+0x11/0x38)
Oct 13 00:03:23 usb3 kernel: [59912.390777] Exception stack(0xca1bdfb0 to 0xca1bdff8)
Oct 13 00:03:23 usb3 kernel: [59912.395822] dfa0: 00000000 00000000 00000000 00000000
Oct 13 00:03:23 usb3 kernel: [59912.403988] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Oct 13 00:03:23 usb3 kernel: [59912.412154] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000
Oct 13 00:03:23 usb3 kernel: [59912.418763] Code: 692b 4622 4631 59db (6a9f) 9001
Oct 13 00:03:23 usb3 kernel: [59912.423668] ---[ end trace 9cf7f92320a994d4 ]---I tried to google for such errors but were unsucessful to find anything. Maybe i used wrong keywords.
If there were Kernels in betweenn I could also try to go backward to find the pot affecting version or such ... I just need to know how.
Thank you for your support,
Ingo
-
Confirm that 20.08.2 works too
-
Guys, thank you very much, usbip works again!
You're awesome!
-
3 minutes ago, Igor said:
That is normal. Do you use normal Armbian image?
Yes normal "stock" image ... but got it working ... so will leave that way :-) Thank you
-
Ok, reboot worked :-)
ingof@usb3:~$ uname -a
Linux usb3 5.8.5-sunxi #trunk SMP Tue Sep 1 11:24:23 CEST 2020 armv7l GNU/LinuxWill test USBIP tomorow morning
-
Ok tried ...
ingof@usb3:~/kernel-fix$ sudo apt install make gcc libc6-dev bison flex libssl-dev Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: bison : Depends: m4 but it is not going to be installed Depends: libbison-dev (= 2:3.3.2.dfsg-1) but it is not going to be installed flex : Depends: m4 but it is not going to be installed gcc : Depends: cpp (= 4:8.3.0-1) but it is not going to be installed Depends: gcc-8 (>= 8.3.0-1~) but it is not going to be installed libc6-dev : Depends: libc-dev-bin (= 2.28-10) but it is not going to be installed Depends: linux-libc-dev but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
So I executed the fix broken command:
ingof@usb3:~/kernel-fix$ sudo apt --fix-broken install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following additional packages will be installed: binutils binutils-arm-linux-gnueabihf binutils-common bison cpp cpp-8 flex gcc gcc-8 libasan5 libatomic1 libbinutils libbison-dev libc-dev-bin libc6-dev libcc1-0 libgcc-8-dev libgomp1 libisl19 libmpc3 libmpfr6 libsigsegv2 libssl-dev libubsan1 linux-libc-dev m4 make Suggested packages: binutils-doc bison-doc cpp-doc gcc-8-locales build-essential flex-doc gcc-multilib manpages-dev autoconf automake libtool gdb gcc-doc gcc-8-doc libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan5-dbg liblsan0-dbg libtsan0-dbg libubsan1-dbg libmpx2-dbg libquadmath0-dbg glibc-doc libssl-doc m4-doc make-doc Recommended packages: libfl-dev manpages manpages-dev The following NEW packages will be installed: binutils binutils-arm-linux-gnueabihf binutils-common bison cpp cpp-8 flex gcc gcc-8 libasan5 libatomic1 libbinutils libbison-dev libc-dev-bin libc6-dev libcc1-0 libgcc-8-dev libgomp1 libisl19 libmpc3 libmpfr6 libsigsegv2 libssl-dev libubsan1 linux-libc-dev m4 make 0 upgraded, 27 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 28.7 MB of archives. After this operation, 93.1 MB of additional disk space will be used.
Ok that corrected it ...
Setting up linux-headers-current-sunxi (20.08.0-trunk) ... Compiling headers - please wait ... Processing triggers for libc-bin (2.28-10) ...
-
Hm ... headers do not want to install ...
Preparing to unpack linux-dtb-current-sunxi_20.08.0-trunk_armhf.deb ... Unpacking linux-dtb-current-sunxi (20.08.0-trunk) over (20.08) ... Selecting previously unselected package linux-headers-current-sunxi. Preparing to unpack linux-headers-current-sunxi_20.08.0-trunk_armhf.deb ... Unpacking linux-headers-current-sunxi (20.08.0-trunk) ... Preparing to unpack linux-image-current-sunxi_20.08.0-trunk_armhf.deb ... update-initramfs: Deleting /boot/initrd.img-5.7.15-sunxi Removing obsolete file uInitrd-5.7.15-sunxi Unpacking linux-image-current-sunxi (20.08.0-trunk) over (20.08) ... Preparing to unpack linux-u-boot-current-zeropi_20.08.0-trunk_armhf.deb ... Unpacking linux-u-boot-zeropi-current (20.08.0-trunk) over (20.08) ... Setting up linux-dtb-current-sunxi (20.08.0-trunk) ... dpkg: dependency problems prevent configuration of linux-headers-current-sunxi: linux-headers-current-sunxi depends on make; however: Package make is not installed. linux-headers-current-sunxi depends on gcc; however: Package gcc is not installed. linux-headers-current-sunxi depends on libc6-dev; however: Package libc6-dev is not installed. linux-headers-current-sunxi depends on bison; however: Package bison is not installed. linux-headers-current-sunxi depends on flex; however: Package flex is not installed. linux-headers-current-sunxi depends on libssl-dev; however: Package libssl-dev is not installed. dpkg: error processing package linux-headers-current-sunxi (--install): dependency problems - leaving unconfigured Setting up linux-image-current-sunxi (20.08.0-trunk) ... update-initramfs: Generating /boot/initrd.img-5.8.5-sunxi update-initramfs: Converting to u-boot format Setting up linux-u-boot-zeropi-current (20.08.0-trunk) ... Errors were encountered while processing: linux-headers-current-sunxi
should I install the missing packages and do the headers again?
-
2 hours ago, Werner said:
Since CI is not working I had to build it myself anyways to test it. Feel free to grab the debs. They include the mentioned patch and are on 5.8.5
Do you have a short info how to do? Do I need to fetch all of them? Or only the armhf ones? ANd then install them with dpkg -i directly?
-
7 minutes ago, Werner said:
If somebody requesting for help and also helping by him/herself to solve this issue by doing own research we are WAY more motivated to get to a solution . Unfortunately this is not very often the case...
So true ;-)
I'm invested myself very deep in a Smart Home project (ioBroker) as one of the Core Developers (mainly Node.js based) ... so I know exactly what you mean ;-)
-
3 minutes ago, Igor said:
Add a patch to our build system and you will get support in most recent kernel ... Releasing bug fix update this week. Better than using old unsupported builds.
Awesome ... I can wait some days ...
To be clear: With "Add a patch" you mean you do or I should do? If me then I need to know how :-)
Thank you for this incredible fast support
-
3 minutes ago, Werner said:
But 5.8.5 should not be a big deal.
Thank you for your answer.
When I read "I just compiled 5.8.5 with your patch and usbip works correctly, thx!" (from the linked issue) again Im not sure that it is on 5.8.5 ... I read it more like "when I compile 5.8.5 with that patch it works" ,.. so 5.8.5 is not the solution unless we do a custom build with this patch :-(
So downgrading to 5.6 is more forward or ?!
When checking there are some older version of the linux-image-current-sunxi package available but I can not find out which kern is in there :-(ingof@usb3:~$ apt-cache policy linux-image-current-sunxi linux-image-current-sunxi: Installed: 20.08 Candidate: 20.08 Version table: *** 20.08 500 500 http://apt.armbian.com buster/main armhf Packages 100 /var/lib/dpkg/status 20.05.3 500 500 http://apt.armbian.com buster/main armhf Packages 20.05.2 500 500 http://apt.armbian.com buster/main armhf Packages 20.05.1 500 500 http://apt.armbian.com buster/main armhf Packages 20.05.0-trunk 500 500 http://apt.armbian.com buster/main armhf Packages 20.02.9 500 500 http://apt.armbian.com buster/main armhf Packages 20.02.7 500 500 http://apt.armbian.com buster/main armhf Packages 20.02.5 500 500 http://apt.armbian.com buster/main armhf Packages
-
Hey ... Ok googling more brought me to this ... https://bugzilla.kernel.org/show_bug.cgi?id=208267
And yes ... Proxmox is on kernel 5.4 and armbian on 5.7 ... according to this I could go down to kernel 5.6 or wait for 5.8.5+ ...
Any instructions on how to go down to kernel 5.6?
-
Hi,
I normally use Proxmox on Intel Nucs (also Buster based) and also had here usbip with some USB sticks on a USB hub. Now I decided to split that up a bit and so I got some ZeroPi devices and wanted to use them as USBIP hosts kind of. So I installed the buster image and also added usbip_host module to /etc/modules.
The devices are seen by the Linux on the ZeroPi in general and also /usr/sbin/usbip list -l lists them successfully.
Here the dmesg output too:
[ 350.174305] usb 4-1: new high-speed USB device number 6 using ehci-platform [ 350.331127] usb 4-1: New USB device found, idVendor=1a40, idProduct=0101, bcdDevice= 1.11 [ 350.331149] usb 4-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 350.331163] usb 4-1: Product: USB 2.0 Hub [ 350.332407] hub 4-1:1.0: USB hub found [ 350.332615] hub 4-1:1.0: 4 ports detected [ 350.738278] usb 4-1.2: new full-speed USB device number 7 using ehci-platform [ 350.968886] usb 4-1.2: New USB device found, idVendor=067b, idProduct=2303, bcdDevice= 3.00 [ 350.968907] usb 4-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 350.968922] usb 4-1.2: Product: USB-Serial Controller [ 350.968935] usb 4-1.2: Manufacturer: Prolific Technology Inc. [ 350.970353] pl2303 4-1.2:1.0: pl2303 converter detected [ 350.972932] usb 4-1.2: pl2303 converter now attached to ttyUSB0 [ 351.154251] usb 4-1.3: new full-speed USB device number 8 using ehci-platform [ 351.384959] usb 4-1.3: New USB device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00 [ 351.384969] usb 4-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 351.384975] usb 4-1.3: Product: CP2104 USB to UART Bridge Controller [ 351.384980] usb 4-1.3: Manufacturer: Silicon Labs [ 351.384984] usb 4-1.3: SerialNumber: 01065F3B [ 351.386324] cp210x 4-1.3:1.0: cp210x converter detected [ 351.389285] usb 4-1.3: cp210x converter now attached to ttyUSB1 [ 351.590248] usb 4-1.4: new full-speed USB device number 9 using ehci-platform [ 351.820837] usb 4-1.4: New USB device found, idVendor=10c4, idProduct=ea60, bcdDevice= 1.00 [ 351.820848] usb 4-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 351.820854] usb 4-1.4: Product: CP2104 USB to UART Bridge Controller [ 351.820859] usb 4-1.4: Manufacturer: Silicon Labs [ 351.820864] usb 4-1.4: SerialNumber: 010625FA [ 351.822141] cp210x 4-1.4:1.0: cp210x converter detected [ 351.824928] usb 4-1.4: cp210x converter now attached to ttyUSB2
But as soon as I try to bind such a device (e.g. /usr/sbin/usbip bind --busid=4-1.2) it is said that the device is not connected and log (syslog this time) shows:
Sep 1 09:03:55 usb3 usbipd: usbipd: info: starting usbipd (usbip-utils 2.0) Sep 1 09:03:55 usb3 usbipd: usbipd: info: listening on 0.0.0.0:3240 Sep 1 09:03:55 usb3 usbipd: usbipd: info: listening on :::3240 ... Sep 1 09:03:56 usb3 kernel: [ 414.661581] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0 Sep 1 09:03:56 usb3 kernel: [ 414.661655] pl2303 4-1.2:1.0: device disconnected Sep 1 09:03:56 usb3 sh[1837]: usbip: error: error binding device 4-1.2 to driver: No such device Sep 1 09:03:56 usb3 sh[1837]: usbip: error: could not bind device to usbip-host
Does anyone have an idea? Googl was also not that helpful so far.
I reconnected the hub to the proxmox host and everythig works there agin without any problem :-(
-
I use one of my Cubietrucks to operate two IR-read/write heads to read out powermeters.
Sometimes some kind of error happends and the device get's disconnected (not physically, but from system):
dmesg output:
[434913.929842] ohci-platform 1c14400.usb: frame counter not updating; disabled [434913.939546] ohci-platform 1c14400.usb: HC died; cleaning up [434913.947863] usb 3-1: USB disconnect, device number 3 [434913.949632] cp210x ttyUSB0: failed set request 0x0 status: -19 [434913.959197] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0 [434913.959273] cp210x 3-1:1.0: device disconnected
I can fix it by rebooting only, also unplugging/re-plugging the cable physically is not working.
I googled around and there are some ideas how to reset it, but nothing worked.
Is there maybe anything special for Cubietruck that I could do?
Any help would be great!
-
So results for another device (cubietruck2) ... limatester worked in all tested configs.
Same u-boots as tested before to be compatible in the results ... (so latest ideas from ssvb not included)
tpm8-u-boot-sunxi-with-spl_20170219_432_DCDC3_13v
root@cubietruck:~# a10-meminfo
dram_clk = 432
mbus_clk = 300
dram_type = 3
dram_rank_num = 1
dram_chip_density = 8192
dram_io_width = 16
dram_bus_width = 32
dram_cas = 9
dram_zq = 0x7b (0x5294a00)
dram_odt_en = 0
dram_tpr0 = 0x42d899b7
dram_tpr1 = 0xa090
dram_tpr2 = 0x22a00
dram_tpr3 = 0x0
dram_emr1 = 0x4
dram_emr2 = 0x10
dram_emr3 = 0x0
dqs_gating_delay = 0x05050605
active_windowing = 0--> stable 3
u-boot armbian 5.20
root@cubietruck:~# a10-meminfo
dram_clk = 432
mbus_clk = 300
dram_type = 3
dram_rank_num = 1
dram_chip_density = 8192
dram_io_width = 16
dram_bus_width = 32
dram_cas = 9
dram_zq = 0x7b (0x5294a00)
dram_odt_en = 0
dram_tpr0 = 0x42d899b7
dram_tpr1 = 0xa090
dram_tpr2 = 0x22a00
dram_tpr3 = 0x0
dram_emr1 = 0x4
dram_emr2 = 0x10
dram_emr3 = 0x0
dqs_gating_delay = 0x05050605
active_windowing = 0
-> stable
u-boot armbian 5.25
root@cubietruck:~# a10-meminfo
dram_clk = 384
mbus_clk = 300
dram_type = 3
dram_rank_num = 1
dram_chip_density = 8192
dram_io_width = 16
dram_bus_width = 32
dram_cas = 9
dram_zq = 0x7b (0x5294a00)
dram_odt_en = 0
dram_tpr0 = 0x42d899b7
dram_tpr1 = 0xa090
dram_tpr2 = 0x22a00
dram_tpr3 = 0x0
dram_emr1 = 0x4
dram_emr2 = 0x10
dram_emr3 = 0x0
dqs_gating_delay = 0x05050506
active_windowing = 0
-> stableI will post the RAM-chip-name from that device later on
-
Further infos on my problematicdevice: RAM-chips are from SKhynix
I will start further testing with a mainly well working device today and will also send the RAM chips used there later on
-
3.) tpm8 432-DCDC3 (432 DRAM speed, modified DCDC3)
stable with limatester 100MB
root@cubietruck:~# a10-meminfo dram_clk = 432 mbus_clk = 300 dram_type = 3 dram_rank_num = 1 dram_chip_density = 8192 dram_io_width = 16 dram_bus_width = 32 dram_cas = 9 dram_zq = 0x7b (0x5294a00) dram_odt_en = 0 dram_tpr0 = 0x42d899b7 dram_tpr1 = 0xa090 dram_tpr2 = 0x22a00 dram_tpr3 = 0x0 dram_emr1 = 0x4 dram_emr2 = 0x10 dram_emr3 = 0x0 dqs_gating_delay = 0x06060605 active_windowing = 0
And now ?! How to go further on the topic? Or are the affected devices simply "strange somehow" and can't use the default u-boot?!
-
3.) tpm8 384-DCDC3 (384 DRAM speed, modified DCDC3)
freeze with limatester 100MB
root@cubietruck:~# a10-meminfo dram_clk = 384 mbus_clk = 300 dram_type = 3 dram_rank_num = 1 dram_chip_density = 8192 dram_io_width = 16 dram_bus_width = 32 dram_cas = 9 dram_zq = 0x7b (0x5294a00) dram_odt_en = 0 dram_tpr0 = 0x42d899b7 dram_tpr1 = 0xa090 dram_tpr2 = 0x22a00 dram_tpr3 = 0x0 dram_emr1 = 0x4 dram_emr2 = 0x10 dram_emr3 = 0x0 dqs_gating_delay = 0x05050506 active_windowing = 0
-
Second Device (cubietruck3), my problematic one:
1.) armbian u-boot 5.20 (432 DRAM speed)
no freeze with limatester 1000MB
root@cubietruck:~# a10-meminfo dram_clk = 432 mbus_clk = 300 dram_type = 3 dram_rank_num = 1 dram_chip_density = 8192 dram_io_width = 16 dram_bus_width = 32 dram_cas = 9 dram_zq = 0x7b (0x5294a00) dram_odt_en = 0 dram_tpr0 = 0x42d899b7 dram_tpr1 = 0xa090 dram_tpr2 = 0x22a00 dram_tpr3 = 0x0 dram_emr1 = 0x4 dram_emr2 = 0x10 dram_emr3 = 0x0 dqs_gating_delay = 0x06060605 active_windowing = 0
2.) armbian u-boot 5.25 (384 DRAM speed)
memory errors with limatester 1000MB and freeze/auto-restart with limatester 100MB
root@cubietruck:~# a10-meminfo dram_clk = 384 mbus_clk = 300 dram_type = 3 dram_rank_num = 1 dram_chip_density = 8192 dram_io_width = 16 dram_bus_width = 32 dram_cas = 9 dram_zq = 0x7b (0x5294a00) dram_odt_en = 0 dram_tpr0 = 0x42d899b7 dram_tpr1 = 0xa090 dram_tpr2 = 0x22a00 dram_tpr3 = 0x0 dram_emr1 = 0x4 dram_emr2 = 0x10 dram_emr3 = 0x0 dqs_gating_delay = 0x05050505 active_windowing = 0
Memory errors where:
pagesize is 4096 pagesizemask is 0xfffff000 want 1000MB (1048576000 bytes) got 1000MB (1048576000 bytes), trying mlock ...locked. Loop 1: Stuck Address : testing 2FAILURE: possible bad address line at offset 0x1b05c300. Skipping to next test... Random Value : ok Compare XOR : ok Compare SUB : ok Compare MUL : ok Compare DIV : ok Compare OR : ok Compare AND : ok Sequential Increment: ok Solid Bits : ok Block Sequential : ok Checkerboard : testing 5WRITE FAILURE: 0xaaaaaaaa != 0xaaaa55aa at offset 0x1873ab40 (checkerboard). Bit Spread : ok Bit Flip : ok Walking Ones : ok Walking Zeroes : ok Loop 2: Stuck Address : ok Random Value : ok Compare XOR : ok Compare SUB : ok Compare MUL : ok Compare DIV : ok Compare OR : ok Compare AND : ok Sequential Increment: ok Solid Bits : ok Block Sequential : ok Checkerboard : testing 1WRITE FAILURE: 0xaaaaaaaa != 0xaaaa55aa at offset 0x0a3c8b40 (checkerboard). Bit Spread : ok Bit Flip : ok ...
-
Ok, Results from "cubietruck5":
1.) armbian u-boot 5.20 (432 DRAM speed)
freeze after 9h limatester 1000MB
root@cubietruck:~# a10-meminfo dram_clk = 432 mbus_clk = 300 dram_type = 3 dram_rank_num = 1 dram_chip_density = 8192 dram_io_width = 16 dram_bus_width = 32 dram_cas = 9 dram_zq = 0x7b (0x5294a00) dram_odt_en = 0 dram_tpr0 = 0x42d899b7 dram_tpr1 = 0xa090 dram_tpr2 = 0x22a00 dram_tpr3 = 0x0 dram_emr1 = 0x4 dram_emr2 = 0x10 dram_emr3 = 0x0 dqs_gating_delay = 0x06060606 active_windowing = 0
2.) armbian u-boot 5.25 (384 DRAM speed)
no freeze in 24h with limatester 1000MB
root@cubietruck:~# a10-meminfo dram_clk = 384 mbus_clk = 300 dram_type = 3 dram_rank_num = 1 dram_chip_density = 8192 dram_io_width = 16 dram_bus_width = 32 dram_cas = 9 dram_zq = 0x7b (0x5294a00) dram_odt_en = 0 dram_tpr0 = 0x42d899b7 dram_tpr1 = 0xa090 dram_tpr2 = 0x22a00 dram_tpr3 = 0x0 dram_emr1 = 0x4 dram_emr2 = 0x10 dram_emr3 = 0x0 dqs_gating_delay = 0x05050505 active_windowing = 0
Will do the complete etst with my problem-device tomorrow I think.
But as you see the values are exactly the same as in the post from tpm8 above for a probematic device. I fear i will find the same
-
I will collect some and post ...
ZeroPi Armbian USBIP Host Kernel Exception since latest updates
in Allwinner sunxi
Posted
It seems that the kernel downgrade did the trick so far