Re: [linux-sunxi] forwarding a bug: cpufreq missing in debian stable on a cuibeboard

2015-07-24 Thread Maxime Ripard
Hi, 

On Thu, Jul 23, 2015 at 12:58:09PM -0700, leonardo.candu...@gmail.com wrote:
 Hi there!
 
 I've just installed Debian stable on my Cubieboard using their
 installer. Debian's mainline 3.16 kernel works fine but cpufreq is
 missing (sunxi 3.4 kernel supports it).
 
 I've submitted a bug [0] in the Debian BTS and tried kernel 4.0 and
 4.1 from unstable and experimental branches with no success (cpufreq
 support should be there from linux 4.0 [1]). I'm forwarding that bug
 here as suggested.

There's already a bunch of infos in there, but the whole kernel
configuration seems to be missing, could you provide it please?

Thanks,
Maxime


-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: Digital signature


Re: [linux-sunxi] forwarding a bug: cpufreq missing in debian stable on a cuibeboard

2015-07-24 Thread Maxime Ripard
On Fri, Jul 24, 2015 at 08:34:34AM +0200, Leonardo Canducci wrote:
 Attaching kernel config files from /boot (3.16, 4.0 and 4.1 from stable,
 unstable and experimental).

We're using the cpufreq-dt driver, that is compiled as a module. Is
the module loaded?

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: Digital signature


Re: [linux-sunxi] forwarding a bug: cpufreq missing in debian stable on a cuibeboard

2015-07-24 Thread Leonardo Canducci
lsmod output on 4.1 kernel is attached. There's a bunch of cpufreq stuff
but cpufreq-dt is not listed. I loaded that module but cpufreq is still not
there (see second attached file).

Is that behaviour somewhat tied to the missing CPU freq in /proc/cpuinfo?


2015-07-24 9:35 GMT+02:00 Maxime Ripard maxime.rip...@free-electrons.com:

 On Fri, Jul 24, 2015 at 08:34:34AM +0200, Leonardo Canducci wrote:
  Attaching kernel config files from /boot (3.16, 4.0 and 4.1 from stable,
  unstable and experimental).

 We're using the cpufreq-dt driver, that is compiled as a module. Is
 the module loaded?

 Maxime

 --
 Maxime Ripard, Free Electrons
 Embedded Linux, Kernel and Android engineering
 http://free-electrons.com




-- 
Leonardo Canducci

-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Module  Size  Used by
cpufreq_powersave   1124  0 
cpufreq_ondemand8944  0 
cpufreq_stats   3004  0 
cpufreq_userspace   2308  0 
cpufreq_conservative 6829  0 
nfsd  276939  2 
auth_rpcgss49698  1 nfsd
oid_registry2271  1 auth_rpcgss
nfs_acl 2578  1 nfsd
nfs   187591  0 
lockd  76055  2 nfs,nfsd
grace   1511  2 nfsd,lockd
fscache54487  1 nfs
sunrpc254988  6 nfs,nfsd,auth_rpcgss,lockd,nfs_acl
i2c_mv64xxx 7438  0 
sun4i_ts4098  0 
sunxi_wdt   3531  0 
ohci_platform   4658  0 
ehci_platform   5206  0 
ohci_hcd   39208  1 ohci_platform
ehci_hcd   65058  1 ehci_platform
leds_gpio   3180  0 
autofs430688  2 
ext4  502993  2 
crc16   1154  1 ext4
mbcache 8326  1 ext4
jbd2   89217  1 ext4
ahci_sunxi  2915  0 
libahci_platform6145  1 ahci_sunxi
libahci23210  2 libahci_platform,ahci_sunxi
libata180973  3 libahci,libahci_platform,ahci_sunxi
scsi_mod  182203  1 libata
sun4i_emac 10381  0 
phy_sun4i_usb   4208  8 
sunxi_mmc  11177  0 
leo@cubetto:~$ sudo modprobe cpufreq-dt 
leo@cubetto:~$ lsmod 
Module  Size  Used by
cpufreq_dt  4984  0 
cpufreq_powersave   1124  0 
cpufreq_ondemand8944  0 
cpufreq_stats   3004  0 
cpufreq_userspace   2308  0 
cpufreq_conservative 6829  0 
nfsd  276939  2 
auth_rpcgss49698  1 nfsd
oid_registry2271  1 auth_rpcgss
nfs_acl 2578  1 nfsd
nfs   187591  0 
lockd  76055  2 nfs,nfsd
grace   1511  2 nfsd,lockd
fscache54487  1 nfs
sunrpc254988  6 nfs,nfsd,auth_rpcgss,lockd,nfs_acl
i2c_mv64xxx 7438  0 
sun4i_ts4098  0 
sunxi_wdt   3531  0 
ohci_platform   4658  0 
ehci_platform   5206  0 
ohci_hcd   39208  1 ohci_platform
ehci_hcd   65058  1 ehci_platform
leds_gpio   3180  0 
autofs430688  2 
ext4  502993  2 
crc16   1154  1 ext4
mbcache 8326  1 ext4
jbd2   89217  1 ext4
ahci_sunxi  2915  0 
libahci_platform6145  1 ahci_sunxi
libahci23210  2 libahci_platform,ahci_sunxi
libata180973  3 libahci,libahci_platform,ahci_sunxi
scsi_mod  182203  1 libata
sun4i_emac 10381  0 
phy_sun4i_usb   4208  8 
sunxi_mmc  11177  0 
leo@cubetto:~$ ls /sys/devices/system/cpu/cpu0/
crash_notes  crash_notes_size  of_node  online  power  subsystem  topology  
uevent


Re: [linux-sunxi] forwarding a bug: cpufreq missing in debian stable on a cuibeboard

2015-07-24 Thread Maxime Ripard
On Fri, Jul 24, 2015 at 10:11:48AM +0200, Leonardo Canducci wrote:
 lsmod output on 4.1 kernel is attached. There's a bunch of cpufreq stuff
 but cpufreq-dt is not listed. I loaded that module but cpufreq is still not
 there (see second attached file).

Is there anything in the kernel logs after the module have been loaded?

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: Digital signature


[linux-sunxi] forwarding a bug: cpufreq missing in debian stable on a cuibeboard

2015-07-23 Thread leonardo . canducci
Hi there!

I've just installed Debian stable on my Cubieboard using their installer. 
Debian's mainline 3.16 kernel works fine but cpufreq is missing (sunxi 3.4 
kernel supports it).

I've submitted a bug [0] in the Debian BTS and tried kernel 4.0 and 4.1 from 
unstable and experimental branches with no success (cpufreq support should be 
there from linux 4.0 [1]). I'm forwarding that bug here as suggested.

Thanks for helping!

Leonardo

[0] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=793185

[1] http://linux-sunxi.org/Linux_mainlining_effort#Merged_into_4.0

-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.