Bug#793185: linux-image-3.16.0-4-armmp: missing cpufreq on cubieboard (Allwinner A10 sun4i)
Package: src:linux
Version: 3.16.7-ckt11-1
Severity: normal
Dear Maintainer,
i just installed jessie on my cubieboard as described on the debian wiki page. All is fine but I can't see CPU freq:
leo@cubetto:~$ cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 2 (v7l)
BogoMIPS : 1001.47
Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpd32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc08
CPU revision : 2
Hardware : Allwinner A1X (Device Tree)
Revision : 0000
Serial : 0000000000000000
and cpufreq is missing:
leo@cubetto:~$ ls /sys/devices/system/cpu/cpu0/
crash_notes crash_notes_size online power subsystem topology uevent
i've been running wheezy with a 3.4 sunxi kernel for about a year and both CPU speed and cpufreq were there. The kernel config file shows that cpufreq is enabled:
leo@cubetto:~$ grep CPU_FREQ /boot/config-3.16.0-4-armmp
CONFIG_CPU_FREQ=y
Am I missing something? Should I try a more recent kernel?
Thanks for supporting such a boad number of ARM boards!
-- Package-specific info:
** Version:
Linux version 3.16.0-4-armmp (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24)
** Command line:
console=ttyS0,115200 quiet
** Not tainted
** Kernel log:
[ 1.098504] vcc3v3: disabling
[ 1.098510] vcc3v0: disabling
[ 1.099738] Freeing unused kernel memory: 684K (c0872000 - c091d000)
[ 1.164263] systemd-udevd[55]: starting version 215
[ 1.166032] random: systemd-udevd urandom read with 1 bits of entropy available
[ 1.238177] sun4i-emac 1c0b000.ethernet: eth0: at f00a8000, IRQ 17 MAC: 02:97:0a:01:3c:b2
[ 1.259907] sunxi-mmc 1c0f000.mmc: No vqmmc regulator found
[ 1.263990] sunxi-mmc 1c0f000.mmc: Got CD GPIO #225.
[ 1.278915] SCSI subsystem initialized
[ 1.302910] sunxi-mmc 1c0f000.mmc: base:0xf0102000 irq:18
[ 1.330761] libata version 3.00 loaded.
[ 1.352014] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 1.354031] mmc0: new high speed SDHC card at address b368
[ 1.361425] mmcblk0: mmc0:b368 MSD 7.36 GiB
[ 1.364017] mmcblk0: p1 p2 p3 < p5 >
[ 1.375526] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP
[ 1.375546] ahci-sunxi 1c18000.sata: forcing PORTS_IMPL to 0x1
[ 1.375604] ahci-sunxi 1c18000.sata: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[ 1.375619] ahci-sunxi 1c18000.sata: flags: ncq sntf pm led clo only pio slum part ccc
[ 1.385319] scsi0 : ahci_platform
[ 1.385771] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 21
[ 1.703443] ata1: SATA link down (SStatus 0 SControl 300)
[ 1.743247] PM: Starting manual resume from disk
[ 1.743273] PM: Hibernation image partition 179:5 present
[ 1.743280] PM: Looking for hibernation image.
[ 1.744318] PM: Image not found (code -22)
[ 1.744331] PM: Hibernation image not present or could not be loaded.
[ 2.096229] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.948522] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
[ 3.186035] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
[ 3.423695] systemd-udevd[142]: starting version 215
[ 3.834606] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.847743] ehci-platform: EHCI generic platform driver
[ 3.848032] ehci-platform 1c14000.usb: EHCI Host Controller
[ 3.848390] ehci-platform 1c14000.usb: new USB bus registered, assigned bus number 1
[ 3.848529] ehci-platform 1c14000.usb: irq 19, io mem 0x01c14000
[ 3.861876] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00
[ 3.862180] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.862193] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.862203] usb usb1: Product: EHCI Host Controller
[ 3.862212] usb usb1: Manufacturer: Linux 3.16.0-4-armmp ehci_hcd
[ 3.862220] usb usb1: SerialNumber: 1c14000.usb
[ 3.863186] hub 1-0:1.0: USB hub found
[ 3.863236] hub 1-0:1.0: 1 port detected
[ 3.868687] ehci-platform 1c1c000.usb: EHCI Host Controller
[ 3.871857] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2
[ 3.872028] ehci-platform 1c1c000.usb: irq 22, io mem 0x01c1c000
[ 3.881509] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 3.885245] ohci-platform: OHCI generic platform driver
[ 3.885612] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[ 3.885905] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.885918] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.885928] usb usb2: Product: EHCI Host Controller
[ 3.885937] usb usb2: Manufacturer: Linux 3.16.0-4-armmp ehci_hcd
[ 3.885945] usb usb2: SerialNumber: 1c1c000.usb
[ 3.895746] hub 2-0:1.0: USB hub found
[ 3.895817] hub 2-0:1.0: 1 port detected
[ 3.899495] ohci-platform 1c14400.usb: Generic Platform OHCI controller
[ 3.899880] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 3
[ 3.900007] ohci-platform 1c14400.usb: irq 20, io mem 0x01c14400
[ 3.963761] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[ 3.963781] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.963791] usb usb3: Product: Generic Platform OHCI controller
[ 3.963800] usb usb3: Manufacturer: Linux 3.16.0-4-armmp ohci_hcd
[ 3.963809] usb usb3: SerialNumber: 1c14400.usb
[ 3.964654] hub 3-0:1.0: USB hub found
[ 3.964704] hub 3-0:1.0: 1 port detected
[ 3.965790] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 3.966624] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[ 3.968715] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 4
[ 3.968850] ohci-platform 1c1c400.usb: irq 23, io mem 0x01c1c400
[ 4.033257] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[ 4.033278] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.033287] usb usb4: Product: Generic Platform OHCI controller
[ 4.033296] usb usb4: Manufacturer: Linux 3.16.0-4-armmp ohci_hcd
[ 4.033305] usb usb4: SerialNumber: 1c1c400.usb
[ 4.044617] hub 4-0:1.0: USB hub found
[ 4.046493] hub 4-0:1.0: 1 port detected
[ 4.127939] Adding alias for supply acin,(null) -> acin,0-0034
[ 4.127959] Adding alias for supply vin2,(null) -> vin2,0-0034
[ 4.127967] Adding alias for supply vin3,(null) -> vin3,0-0034
[ 4.127974] Adding alias for supply ldo24in,(null) -> ldo24in,0-0034
[ 4.127982] Adding alias for supply ldo3in,(null) -> ldo3in,0-0034
[ 4.127989] Adding alias for supply ldo5in,(null) -> ldo5in,0-0034
[ 4.128188] axp20x 0-0034: AXP20X driver loaded
[ 4.133294] random: nonblocking pool is initialized
[ 4.484277] EXT4-fs (mmcblk0p1): mounting ext2 file system using the ext4 subsystem
[ 4.543105] EXT4-fs (mmcblk0p1): mounted filesystem without journal. Opts: (null)
[ 4.565603] Adding 379900k swap on /dev/mmcblk0p5. Priority:-1 extents:1 across:379900k SSFS
[ 4.719333] systemd-journald[144]: Received request to flush runtime journal from PID 1
[ 5.123500] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 5.824977] RPC: Registered named UNIX socket transport module.
[ 5.824997] RPC: Registered udp transport module.
[ 5.825004] RPC: Registered tcp transport module.
[ 5.825011] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 5.847566] FS-Cache: Loaded
[ 5.897762] FS-Cache: Netfs 'nfs' registered for caching
[ 5.960963] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 7.187550] sun4i-emac 1c0b000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[ 7.187595] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
** Model information
Hardware : Allwinner A1X (Device Tree)
Revision : 0000
** Loaded modules:
nfsd
auth_rpcgss
oid_registry
nfs_acl
nfs
lockd
fscache
sunrpc
i2c_mv64xxx
sun4i_ts
sunxi_wdt
ohci_platform
ehci_platform
ohci_hcd
ehci_hcd
leds_gpio
autofs4
ext4
crc16
mbcache
jbd2
ahci_sunxi
libahci_platform
libahci
libata
scsi_mod
phy_sun4i_usb
sunxi_mmc
sun4i_emac
** Network interface configuration:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
** Network status:
*** IP interfaces and addresses:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
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:97:0a:01:3c:b2 brd ff:ff:ff:ff:ff:ff
inet 192.168.0.144/24 brd 192.168.0.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fde7:bd6b:2d4a:0:97:aff:fe01:3cb2/64 scope global mngtmpaddr dynamic
valid_lft 7081sec preferred_lft 1681sec
inet6 fe80::97:aff:fe01:3cb2/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: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
eth0: 5654267 5531 0 0 0 0 0 0 377651 3192 0 0 0 0 0 0
*** Protocol statistics:
Ip:
5270 total packets received
2 with invalid addresses
0 forwarded
0 incoming packets discarded
4016 incoming packets delivered
3114 requests sent out
Icmp:
18 ICMP messages received
0 input ICMP message failed.
ICMP input histogram:
destination unreachable: 18
0 ICMP messages sent
0 ICMP messages failed
ICMP output histogram:
IcmpMsg:
InType3: 18
Tcp:
8 active connections openings
1 passive connection openings
0 failed connection attempts
0 connection resets received
1 connections established
3962 segments received
3058 segments send out
36 segments retransmited
0 bad segments received.
0 resets sent
Udp:
20 packets received
0 packets to unknown port received.
0 packet receive errors
20 packets sent
UdpLite:
TcpExt:
1 TCP sockets finished time wait in fast timer
6 delayed acks sent
2849 packet headers predicted
101 acknowledgments not containing data payload received
302 predicted acknowledgments
36 retransmits in slow start
TCPRcvCoalesce: 511
TCPOFOQueue: 517
TCPOrigDataSent: 393
IpExt:
InMcastPkts: 16
InOctets: 5536461
OutOctets: 327418
InMcastOctets: 512
InNoECTPkts: 5270
** PCI devices:
** USB devices:
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
-- System Information:
Debian Release: 8.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: armhf (armv7l)
Kernel: Linux 3.16.0-4-armmp (SMP w/1 CPU core)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages linux-image-3.16.0-4-armmp depends on:
ii debconf [debconf-2.0] 1.5.56
ii initramfs-tools [linux-initramfs-tool] 0.120
ii kmod 18-3
ii linux-base 3.5
Versions of packages linux-image-3.16.0-4-armmp recommends:
pn firmware-linux-free <none>
pn irqbalance <none>
Versions of packages linux-image-3.16.0-4-armmp suggests:
pn debian-kernel-handbook <none>
pn fdutils <none>
pn linux-doc-3.16 <none>
Versions of packages linux-image-3.16.0-4-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>
pn firmware-realtek <none>
pn xen-hypervisor <none>
-- debconf information:
linux-image-3.16.0-4-armmp/postinst/depmod-error-initrd-3.16.0-4-armmp: false
linux-image-3.16.0-4-armmp/postinst/mips-initrd-3.16.0-4-armmp:
linux-image-3.16.0-4-armmp/prerm/removing-running-kernel-3.16.0-4-armmp: true
Reply to: