[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#815971: arm: sunxi: bananapi: USB ports not powered



Package: src:linux
Version: 4.4.2-3
Severity: important

Dear Maintainer,

After upgrading linux-image from 4.3.x to 4.4.x both USB ports are not
powered anymore.

Quoting http://lists.infradead.org/pipermail/linux-arm-kernel/2015-December/395232.html :

> The problem is CONFIG_AXP20X_POWER which was introduced in 4.4-rc1
> but defaults to no and not set in sunxi_defconfig. Adding
> CONFIG_AXP20X_POWER=y to sunxi_defconfig solves that and get's my
> USB devices working again on linux 4.4-rc5.

regards,
Marc

-- Package-specific info:
** Version:
Linux version 4.4.0-1-armmp (debian-kernel@lists.debian.org) (gcc version 4.9.3 (Debian 4.9.3-12) ) #1 SMP Debian 4.4.2-3 (2016-02-21)

** Command line:
console=ttyS0,115200 console=ttyS0,115200 root=LABEL=mjosa_bpool rootfstype=btrfs rootwait

** Not tainted

** Kernel log:
[    2.767086] ahci-sunxi 1c18000.sata: flags: ncq sntf pm led clo only pio slum part ccc 
[    2.792620] mmc0: new high speed SDHC card at address aaaa
[    2.802161] scsi host0: ahci-sunxi
[    2.807733] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 32
[    2.817046] mmcblk0: mmc0:aaaa SU32G 29.7 GiB 
[    2.825874]  mmcblk0: p1 p2 p3
[    2.927614] sun7i-dwmac 1c50000.ethernet: no reset control found
[    2.933856]  Ring mode enabled
[    2.937033]  No HW DMA feature register supported
[    2.941598]  Normal descriptors
[    2.944943]  TX Checksum insertion supported
[    2.986598] libphy: stmmac: probed
[    2.990132] eth0: PHY ID 001cc915 at 0 IRQ POLL (stmmac-0:00) active
[    2.996561] eth0: PHY ID 001cc915 at 1 IRQ POLL (stmmac-0:01)
[    3.139519] ata1: SATA link down (SStatus 0 SControl 300)
[    3.243441] raid6: int32x1  gen()   126 MB/s
[    3.315353] raid6: int32x1  xor()    95 MB/s
[    3.387379] raid6: int32x2  gen()   161 MB/s
[    3.459520] raid6: int32x2  xor()   107 MB/s
[    3.531465] raid6: int32x4  gen()   160 MB/s
[    3.603610] raid6: int32x4  xor()   111 MB/s
[    3.675392] raid6: int32x8  gen()   163 MB/s
[    3.747573] raid6: int32x8  xor()   104 MB/s
[    3.751851] raid6: using algorithm int32x8 gen() 163 MB/s
[    3.757253] raid6: .... xor() 104 MB/s, rmw enabled
[    3.762134] raid6: using intx1 recovery algorithm
[    3.769265] xor: measuring software checksum speed
[    3.811369]    arm4regs  :  1225.000 MB/sec
[    3.855359]    8regs     :   786.000 MB/sec
[    3.899355]    32regs    :   763.000 MB/sec
[    3.903545] xor: using function: arm4regs (1225.000 MB/sec)
[    3.954832] Btrfs loaded
[    4.224668] BTRFS: device label mjosa_bpool devid 1 transid 11395 /dev/mmcblk0p2
[    4.241825] PM: Starting manual resume from disk
[    4.246601] PM: Hibernation image partition 179:3 present
[    4.246611] PM: Looking for hibernation image.
[    4.247549] PM: Image not found (code -22)
[    4.247565] PM: Hibernation image not present or could not be loaded.
[    4.402804] BTRFS info (device mmcblk0p2): disk space caching is enabled
[    4.409622] BTRFS: has skinny extents
[    4.455265] BTRFS: detected SSD devices, enabling SSD mode
[    4.907303] systemd[1]: System time before build time, advancing clock.
[    5.052137] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[    5.071059] systemd[1]: Detected architecture arm.
[    5.089872] systemd[1]: Set hostname to <mjosa>.
[    6.381013] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    6.403973] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    6.420286] systemd[1]: Listening on Network Service Netlink Socket.
[    6.435933] systemd[1]: Listening on udev Control Socket.
[    6.447639] systemd[1]: Reached target Encrypted Volumes.
[    6.459790] systemd[1]: Listening on fsck to fsckd communication Socket.
[    6.475859] systemd[1]: Listening on Journal Socket (/dev/log).
[    6.491839] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    6.508756] systemd[1]: Created slice System Slice.
[    6.524757] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    6.540729] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[    6.555651] systemd[1]: Reached target Remote File Systems (Pre).
[    6.571925] systemd[1]: Listening on Journal Socket.
[    6.604305] systemd[1]: Starting Load Kernel Modules...
[    6.620677] systemd[1]: Mounting Debug File System...
[    6.645865] systemd[1]: Mounting POSIX Message Queue File System...
[    6.677595] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[    6.708425] systemd[1]: Listening on Journal Audit Socket.
[    6.745842] systemd[1]: Starting Journal Service...
[    6.765441] systemd[1]: Reached target Remote File Systems.
[    6.789253] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    6.816713] systemd[1]: Listening on udev Kernel Socket.
[    6.847769] systemd[1]: Listening on Process Core Dump Socket.
[    6.884410] systemd[1]: Starting Remount Root and Kernel File Systems...
[    6.901316] systemd[1]: Created slice User and Session Slice.
[    6.923945] systemd[1]: Reached target Slices.
[    6.929334] BTRFS info (device mmcblk0p2): turning on discard
[    6.936472] BTRFS info (device mmcblk0p2): disk space caching is enabled
[    6.982520] systemd[1]: Mounted POSIX Message Queue File System.
[    6.995889] systemd[1]: Mounted Debug File System.
[    7.008377] systemd[1]: Started Journal Service.
[    8.788209] sun4i-ss 1c15000.crypto-engine: no reset control found
[    8.796141] sun4i-ss 1c15000.crypto-engine: Die ID 0
[    8.807192] usbcore: registered new interface driver usbfs
[    8.840038] usbcore: registered new interface driver hub
[    8.862274] usbcore: registered new device driver usb
[    8.880009] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    8.919300] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.935147] axp20x 0-0034: AXP20x variant AXP209 found
[    8.976641] axp20x 0-0034: AXP20X driver loaded
[    8.999959] ehci-platform: EHCI generic platform driver
[    9.026174] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    9.077081] ohci-platform: OHCI generic platform driver
[    9.376338] input: axp20x-pek as /devices/platform/soc@01c00000/1c2ac00.i2c/i2c-0/0-0034/axp20x-pek/input/input0
[    9.441499] Adding 524796k swap on /dev/mmcblk0p3.  Priority:-1 extents:1 across:524796k SSFS
[   10.230776] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: discard
[   10.382695] systemd-journald[182]: Received request to flush runtime journal from PID 1
[   10.508198] BTRFS error (device mmcblk0p2): could not find root 8
[   10.514569] BTRFS error (device mmcblk0p2): could not find root 8
[   10.526350] BTRFS error (device mmcblk0p2): could not find root 8
[   10.532734] BTRFS error (device mmcblk0p2): could not find root 8
[   11.300278]  RX IPC Checksum Offload disabled
[   11.304725]  No MAC Management Counters available
[   15.287759] sun7i-dwmac 1c50000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[   37.257333] random: nonblocking pool is initialized

** Model information
Hardware	: Allwinner sun7i (A20) Family
Revision	: 0000
Device Tree model: LeMaker Banana Pi

** Loaded modules:
ext4
crc16
mbcache
jbd2
evdev
axp20x_pek
axp20x_regulator
ohci_platform
ohci_hcd
ehci_platform
i2c_mv64xxx
ehci_hcd
sun4i_ts
sunxi_wdt
sun4i_ss
usbcore
usb_common
des_generic
cpufreq_dt
spi_sun4i
leds_gpio
autofs4
crc32c_generic
btrfs
xor
zlib_deflate
raid6_pq
realtek
dwmac_sunxi
stmmac_platform
stmmac
ahci_sunxi
libahci_platform
libahci
libata
scsi_mod
phy_sun4i_usb
extcon
sunxi_mmc

** Network interface configuration:
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

** Network status:
*** IP interfaces and addresses:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 02:8e:03:41:ff:6a brd ff:ff:ff:ff:ff:ff
    inet 172.17.34.152/24 brd 172.17.34.255 scope global dynamic eth0
       valid_lft 9905sec preferred_lft 9905sec
    inet6 2000:0000:0000:0000:0000:0000:0000:0000/64 scope global mngtmpaddr noprefixroute dynamic 
       valid_lft 85506sec preferred_lft 13506sec
    inet6 fe80::8e:3ff:fe41:ff6a/64 scope link 
       valid_lft forever preferred_lft forever

*** Device statistics:
Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
    lo:    1080      12    0    0    0     0          0         0     1080      12    0    0    0     0       0          0
  eth0: 1653373    3504    0    0    0     0          0         0   940621    2805    0    0    0     0       0          0

*** Protocol statistics:
Ip:
    Forwarding: 2
    30 total packets received
    3 with invalid addresses
    0 forwarded
    0 incoming packets discarded
    27 incoming packets delivered
    33 requests sent out
Icmp:
    0 ICMP messages received
    0 input ICMP message failed.
    ICMP input histogram:
    0 ICMP messages sent
    0 ICMP messages failed
    ICMP output histogram:
Tcp:
    9 active connections openings
    1 passive connection openings
    0 failed connection attempts
    0 connection resets received
    1 connections established
    3438 segments received
    2736 segments send out
    0 segments retransmited
    0 bad segments received.
    0 resets sent
Udp:
    27 packets received
    0 packets to unknown port received.
    0 packet receive errors
    27 packets sent
    0 receive buffer errors
    0 send buffer errors
UdpLite:
TcpExt:
    4 TCP sockets finished time wait in fast timer
    37 delayed acks sent
    1162 packet headers predicted
    132 acknowledgments not containing data payload received
    1690 predicted acknowledgments
    TCPRcvCoalesce: 288
    TCPOFOQueue: 54
    TCPAutoCorking: 307
    TCPOrigDataSent: 1980
IpExt:
    InMcastPkts: 6
    OutMcastPkts: 12
    InOctets: 4635
    OutOctets: 2244
    InMcastOctets: 306
    OutMcastOctets: 546
    InNoECTPkts: 30


** PCI devices:
not available

** USB devices:
not available


-- System Information:
Debian Release: stretch/sid
  APT prefers testing-updates
  APT policy: (700, 'testing-updates'), (700, 'testing'), (70, 'experimental'), (70, 'unstable')
Architecture: armhf (armv7l)

Kernel: Linux 4.4.0-1-armmp (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages linux-image-4.4.0-1-armmp depends on:
ii  debconf [debconf-2.0]                   1.5.58
ii  initramfs-tools [linux-initramfs-tool]  0.123
ii  kmod                                    22-1
ii  linux-base                              4.0

Versions of packages linux-image-4.4.0-1-armmp recommends:
pn  firmware-linux-free  <none>
pn  irqbalance           <none>

Versions of packages linux-image-4.4.0-1-armmp suggests:
pn  debian-kernel-handbook  <none>
pn  fdutils                 <none>
pn  linux-doc-4.4           <none>

Versions of packages linux-image-4.4.0-1-armmp is related to:
pn  firmware-atheros        <none>
pn  firmware-bnx2           <none>
pn  firmware-bnx2x          <none>
pn  firmware-brcm80211      <none>
pn  firmware-intelwimax     <none>
pn  firmware-ipw2x00        <none>
pn  firmware-ivtv           <none>
pn  firmware-iwlwifi        <none>
pn  firmware-libertas       <none>
pn  firmware-linux          <none>
pn  firmware-linux-nonfree  <none>
pn  firmware-myricom        <none>
pn  firmware-netxen         <none>
pn  firmware-qlogic         <none>
pn  firmware-ralink         <none>
ii  firmware-realtek        20160110-1
pn  xen-hypervisor          <none>

-- no debconf information


Reply to: