Package: src:linux Version: 3.16.7-ckt20-1+deb8u1 Severity: normal Control: notfound -1 3.16.7-ckt4-3 Control: found -1 3.16.7-ckt7-1 Control: found -1 3.16.7-ckt20-1+deb8u1 Control: notfound -1 4.2.6-3~bpo8+2 Control: notfound -1 4.3.3-5~bpo8+1 Control: notfound -1 4.4~rc8-1~exp1 X-Debbugs-Cc: debian-...@lists.debian.org
Dear Maintainer, I need to run the following command to enable USB port on Linkstation LS-WXL/WSXL (armel/kirkwood with DTS [0] ): echo 37 >/sys/class/gpio/export echo out > /sys/class/gpio/gpio37/direction echo 1 > /sys/class/gpio/gpio37/value The 3-line script runs well on Jessie rootfs + kernel listed below: - 3.16.7-ckt4-3 - 4.2.6-3~bpo8+2 - 4.4~rc8-1~exp1 But fails from 3.16.7-ckt7-1 to 3.16.7-ckt20-1+deb8u1 (latest jessie kernel). The error message is like this: # echo 37 >/sys/class/gpio/export -bash: echo: write error: Device or resource busy I believe it's a regression between 3.16.7-ckt4-3 and 3.16.7-ckt7-1. I see the kernel config keeps the same for above two version, so it's only related to source code change. I wonder whether other armel/kirkwood user meet similar issue. Enclosed the dmesg log for kernel 3.16.7-ckt4-3 and 3.16.7-ckt7-1. I found some suspicious part as following. # grep -i gpio dmesg_3.16.7-ckt4-3_USB-OK [ 1.330575] platform gpio_leds: Driver leds-gpio requests probe deferral [ 1.375088] platform gpio_leds: Driver leds-gpio requests probe deferral [ 1.939806] platform gpio_leds: Driver leds-gpio requests probe deferral [ 2.018299] platform gpio_leds: Driver leds-gpio requests probe deferral [ 2.111944] platform gpio_leds: Driver leds-gpio requests probe deferral [ 2.224434] platform gpio_leds: Driver leds-gpio requests probe deferral [ 3.089576] platform gpio_leds: Driver leds-gpio requests probe deferral [ 6.368688] + [ -z of:NgpioT<NULL>Cmarvell,orion-gpio ] [ 6.375236] + printf %.1s of:NgpioT<NULL>Cmarvell,orion-gpio [ 6.387131] + modprobe of:NgpioT<NULL>Cmarvell,orion-gpio [ 6.435552] + [ -z of:NgpioT<NULL>Cmarvell,orion-gpio ] [ 6.442104] + printf %.1s of:NgpioT<NULL>Cmarvell,orion-gpio [ 6.453970] + modprobe of:NgpioT<NULL>Cmarvell,orion-gpio [ 12.451230] platform gpio_keys: Driver gpio-keys requests probe deferral [ 12.702214] platform gpio_leds: Driver leds-gpio requests probe deferral [ 12.797363] platform gpio_keys: Driver gpio-keys requests probe deferral [ 13.901732] platform gpio_leds: Driver leds-gpio requests probe deferral [ 13.941971] platform gpio_keys: Driver gpio-keys requests probe deferral [ 14.010529] platform gpio_leds: Driver leds-gpio requests probe deferral [ 14.028970] platform gpio_keys: Driver gpio-keys requests probe deferral # grep -i gpio dmesg_3.16.7-ckt7-1_USB-NG [ 1.330434] leds-gpio gpio_leds: Skipping unavailable LED gpio -22 (lswxl:blue:func) [ 1.338206] leds-gpio gpio_leds: Skipping unavailable LED gpio -22 (lswxl:red:alarm) [ 6.170632] + [ -z of:NgpioT<NULL>Cmarvell,orion-gpio ] [ 6.177167] + printf %.1s of:NgpioT<NULL>Cmarvell,orion-gpio [ 6.189050] + modprobe of:NgpioT<NULL>Cmarvell,orion-gpio [ 6.237266] + [ -z of:NgpioT<NULL>Cmarvell,orion-gpio ] [ 6.243743] + printf %.1s of:NgpioT<NULL>Cmarvell,orion-gpio [ 6.255639] + modprobe of:NgpioT<NULL>Cmarvell,orion-gpio [ 12.246044] gpio-keys gpio_keys: Failed to get gpio flags, error: -22 [ 12.281961] gpio-keys: probe of gpio_keys failed with error -22 [0]: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/kirkwood-lswxl.dts Cheers, Roger
dmesg_LS-WXL_USB-issue.tar.gz
Description: GNU Zip compressed data