[Kernel-packages] [Bug 1426043] Re: kernel 3.13.0-46.75 fails to boot on arm64

2015-02-26 Thread Kamal Mostafa
** Changed in: linux (Ubuntu)
   Status: Incomplete = In Progress

** Changed in: linux (Ubuntu Trusty)
   Status: Triaged = In Progress

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1426043

Title:
  kernel 3.13.0-46.75 fails to boot on arm64

Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Trusty:
  In Progress

Bug description:
  The failure is:

  BUG: failure at
  
/build/buildd/linux-3.13.0/arch/arm64/include/asm/arch_timer.h:143/arch_counter_get_cntpct()!

  which comes from this code:

  static inline u64 arch_counter_get_cntpct(void)
  {
  /*
   * AArch64 kernel and user space mandate the use of CNTVCT.
   */
  BUG();
  return 0;
  }

  The -46 kernel includes commit 800a366 (corresponding to upstream
  commit 0b46b8a) clocksource: arch_timer: Fix code to use physical
  timers when requested. This was added to fix clock problems on certain
  ARMv7 systems. Unfortunately, it also appears to break ARMv8 systems.

  The upstream commit which fixes the ARMv8 breakage from commit 0b46b8a
  is d6ad369 clocksource: arch_timer: Only use the virtual counter
  (CNTVCT) on arm64. This commit appears not to have been backported to
  Trusty.

  Here is a full boot log of the failure:

  Starting kernel ...

  L3C: 8MB
  [ 0.00] Initializing cgroup subsys cpuset
  [ 0.00] Initializing cgroup subsys cpu
  [ 0.00] Initializing cgroup subsys cpuacct
  [ 0.00] Linux version 3.13.0-46-generic (buildd@templar) (gcc version 
4.8.2 (Ubuntu/Linaro 4.8.2-19ubuntu1) ) #75-Ubuntu SMP Tue Feb 10 21:12:09 UTC 
2015 (Ubuntu 3.13.0-46.75-generic 3.13.11-ckt15)
  [ 0.00] CPU: AArch64 Processor [500f0001] revision 1
  [ 0.00] bootconsole [earlycon0] enabled
  [ 0.00] On node 0 totalpages: 16777216
  [ 0.00] Normal zone: 229376 pages used for memmap
  [ 0.00] Normal zone: 16777216 pages, LIFO batch:31
  [ 0.00] PERCPU: Embedded 12 pages/cpu @ffc72000 s17088 r8192 
d23872 u49152
  [ 0.00] pcpu-alloc: s17088 r8192 d23872 u49152 alloc=12*4096
  [ 0.00] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7
  [ 0.00] Built 1 zonelists in Zone order, mobility grouping on. Total 
pages: 16547840
  [ 0.00] Kernel command line: console=ttyS0,9600n8r ro 
earlyprintk=uart8250-32bit,0x1c021000 debug
  [ 0.00] PID hash table entries: 4096 (order: 3, 32768 bytes)
  [ 0.00] Dentry cache hash table entries: 8388608 (order: 14, 67108864 
bytes)
  [ 0.00] Inode-cache hash table entries: 4194304 (order: 13, 33554432 
bytes)
  [ 0.00] software IO TLB [mem 0x4fbc80-0x4fc080] (64MB) mapped at 
[ffcfbc80-ffcfc07f]
  [ 0.00] Memory: 65994264K/67108864K available (5718K kernel code, 590K 
rwdata, 2536K rodata, 304K init, 538K bss, 1114600K reserved)
  [ 0.00] Virtual kernel memory layout:
  [ 0.00] vmalloc : 0xff80 - 0xffbb (245759 MB)
  [ 0.00] vmemmap : 0xffbce000 - 0xffbd1800 ( 896 MB)
  [ 0.00] modules : 0xffbffc00 - 0xffc0 ( 64 MB)
  [ 0.00] memory : 0xffc0 - 0xffd0 ( 65536 MB)
  [ 0.00] .init : 0xffc000891000 - 0xffc0008dd2c0 ( 305 kB)
  [ 0.00] .text : 0xffc8 - 0xffc0008909b4 ( 8259 kB)
  [ 0.00] .data : 0xffc0008de000 - 0xffc000971848 ( 591 kB)
  [ 0.00] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
  [ 0.00] Hierarchical RCU implementation.
  [ 0.00] RCU dyntick-idle grace-period acceleration is enabled.
  [ 0.00] NR_IRQS:64 nr_irqs:64 0
  [ 0.00] Architected cp15 timer(s) running at 50.00MHz (phys).
  [ 0.00] BUG: failure at 
/build/buildd/linux-3.13.0/arch/arm64/include/asm/arch_timer.h:143/arch_counter_get_cntpct()!
  [ 0.00] Kernel panic - not syncing: BUG!
  [ 0.00] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.13.0-46-generic 
#75-Ubuntu
  [ 0.00] Call trace:
  [ 0.00] [ffc8848c] dump_backtrace+0x0/0x16c
  [ 0.00] [ffc88608] show_stack+0x10/0x1c
  [ 0.00] [ffc000603e0c] dump_stack+0x74/0x94
  [ 0.00] [ffc0005fe040] panic+0xe0/0x20c
  [ 0.00] [ffc0004eb39c] arch_counter_get_cntpct+0x30/0x34
  [ 0.00] [ffc0008c28d4] arch_timer_common_init+0x1d4/0x244
  [ 0.00] [ffc0008c2b88] arch_timer_init+0x244/0x260
  [ 0.00] [ffc0008c26d8] clocksource_of_init+0x44/0x6c
  [ 0.00] [ffc000894b0c] time_init+0x8/0x38
  [ 0.00] [ffc000891694] start_kernel+0x200/0x360

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1426043/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : 

[Kernel-packages] [Bug 1426043] Re: kernel 3.13.0-46.75 fails to boot on arm64

2015-02-26 Thread Kamal Mostafa
** Changed in: linux (Ubuntu)
   Importance: Undecided = High

** Changed in: linux (Ubuntu)
 Assignee: (unassigned) = Kamal Mostafa (kamalmostafa)

** Also affects: linux (Ubuntu Trusty)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu Trusty)
   Importance: Undecided = High

** Changed in: linux (Ubuntu Trusty)
 Assignee: (unassigned) = Kamal Mostafa (kamalmostafa)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1426043

Title:
  kernel 3.13.0-46.75 fails to boot on arm64

Status in linux package in Ubuntu:
  Incomplete
Status in linux source package in Trusty:
  Incomplete

Bug description:
  The failure is:

  BUG: failure at
  
/build/buildd/linux-3.13.0/arch/arm64/include/asm/arch_timer.h:143/arch_counter_get_cntpct()!

  which comes from this code:

  static inline u64 arch_counter_get_cntpct(void)
  {
  /*
   * AArch64 kernel and user space mandate the use of CNTVCT.
   */
  BUG();
  return 0;
  }

  The -46 kernel includes commit 800a366 (corresponding to upstream
  commit 0b46b8a) clocksource: arch_timer: Fix code to use physical
  timers when requested. This was added to fix clock problems on certain
  ARMv7 systems. Unfortunately, it also appears to break ARMv8 systems.

  The upstream commit which fixes the ARMv8 breakage from commit 0b46b8a
  is d6ad369 clocksource: arch_timer: Only use the virtual counter
  (CNTVCT) on arm64. This commit appears not to have been backported to
  Trusty.

  Here is a full boot log of the failure:

  Starting kernel ...

  L3C: 8MB
  [ 0.00] Initializing cgroup subsys cpuset
  [ 0.00] Initializing cgroup subsys cpu
  [ 0.00] Initializing cgroup subsys cpuacct
  [ 0.00] Linux version 3.13.0-46-generic (buildd@templar) (gcc version 
4.8.2 (Ubuntu/Linaro 4.8.2-19ubuntu1) ) #75-Ubuntu SMP Tue Feb 10 21:12:09 UTC 
2015 (Ubuntu 3.13.0-46.75-generic 3.13.11-ckt15)
  [ 0.00] CPU: AArch64 Processor [500f0001] revision 1
  [ 0.00] bootconsole [earlycon0] enabled
  [ 0.00] On node 0 totalpages: 16777216
  [ 0.00] Normal zone: 229376 pages used for memmap
  [ 0.00] Normal zone: 16777216 pages, LIFO batch:31
  [ 0.00] PERCPU: Embedded 12 pages/cpu @ffc72000 s17088 r8192 
d23872 u49152
  [ 0.00] pcpu-alloc: s17088 r8192 d23872 u49152 alloc=12*4096
  [ 0.00] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7
  [ 0.00] Built 1 zonelists in Zone order, mobility grouping on. Total 
pages: 16547840
  [ 0.00] Kernel command line: console=ttyS0,9600n8r ro 
earlyprintk=uart8250-32bit,0x1c021000 debug
  [ 0.00] PID hash table entries: 4096 (order: 3, 32768 bytes)
  [ 0.00] Dentry cache hash table entries: 8388608 (order: 14, 67108864 
bytes)
  [ 0.00] Inode-cache hash table entries: 4194304 (order: 13, 33554432 
bytes)
  [ 0.00] software IO TLB [mem 0x4fbc80-0x4fc080] (64MB) mapped at 
[ffcfbc80-ffcfc07f]
  [ 0.00] Memory: 65994264K/67108864K available (5718K kernel code, 590K 
rwdata, 2536K rodata, 304K init, 538K bss, 1114600K reserved)
  [ 0.00] Virtual kernel memory layout:
  [ 0.00] vmalloc : 0xff80 - 0xffbb (245759 MB)
  [ 0.00] vmemmap : 0xffbce000 - 0xffbd1800 ( 896 MB)
  [ 0.00] modules : 0xffbffc00 - 0xffc0 ( 64 MB)
  [ 0.00] memory : 0xffc0 - 0xffd0 ( 65536 MB)
  [ 0.00] .init : 0xffc000891000 - 0xffc0008dd2c0 ( 305 kB)
  [ 0.00] .text : 0xffc8 - 0xffc0008909b4 ( 8259 kB)
  [ 0.00] .data : 0xffc0008de000 - 0xffc000971848 ( 591 kB)
  [ 0.00] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
  [ 0.00] Hierarchical RCU implementation.
  [ 0.00] RCU dyntick-idle grace-period acceleration is enabled.
  [ 0.00] NR_IRQS:64 nr_irqs:64 0
  [ 0.00] Architected cp15 timer(s) running at 50.00MHz (phys).
  [ 0.00] BUG: failure at 
/build/buildd/linux-3.13.0/arch/arm64/include/asm/arch_timer.h:143/arch_counter_get_cntpct()!
  [ 0.00] Kernel panic - not syncing: BUG!
  [ 0.00] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.13.0-46-generic 
#75-Ubuntu
  [ 0.00] Call trace:
  [ 0.00] [ffc8848c] dump_backtrace+0x0/0x16c
  [ 0.00] [ffc88608] show_stack+0x10/0x1c
  [ 0.00] [ffc000603e0c] dump_stack+0x74/0x94
  [ 0.00] [ffc0005fe040] panic+0xe0/0x20c
  [ 0.00] [ffc0004eb39c] arch_counter_get_cntpct+0x30/0x34
  [ 0.00] [ffc0008c28d4] arch_timer_common_init+0x1d4/0x244
  [ 0.00] [ffc0008c2b88] arch_timer_init+0x244/0x260
  [ 0.00] [ffc0008c26d8] clocksource_of_init+0x44/0x6c
  [ 0.00] [ffc000894b0c] time_init+0x8/0x38
  [ 0.00] [ffc000891694] start_kernel+0x200/0x360

To manage notifications about this bug go to:

[Kernel-packages] [Bug 1426043] Re: kernel 3.13.0-46.75 fails to boot on arm64

2015-02-26 Thread Brad Figg
We have a test kernel available in our PPA. https://launchpad.net
/~canonical-kernel-team/+archive/ubuntu/ppa Please verify that this
kernel resolves the boot issue.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1426043

Title:
  kernel 3.13.0-46.75 fails to boot on arm64

Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Trusty:
  In Progress

Bug description:
  The failure is:

  BUG: failure at
  
/build/buildd/linux-3.13.0/arch/arm64/include/asm/arch_timer.h:143/arch_counter_get_cntpct()!

  which comes from this code:

  static inline u64 arch_counter_get_cntpct(void)
  {
  /*
   * AArch64 kernel and user space mandate the use of CNTVCT.
   */
  BUG();
  return 0;
  }

  The -46 kernel includes commit 800a366 (corresponding to upstream
  commit 0b46b8a) clocksource: arch_timer: Fix code to use physical
  timers when requested. This was added to fix clock problems on certain
  ARMv7 systems. Unfortunately, it also appears to break ARMv8 systems.

  The upstream commit which fixes the ARMv8 breakage from commit 0b46b8a
  is d6ad369 clocksource: arch_timer: Only use the virtual counter
  (CNTVCT) on arm64. This commit appears not to have been backported to
  Trusty.

  Here is a full boot log of the failure:

  Starting kernel ...

  L3C: 8MB
  [ 0.00] Initializing cgroup subsys cpuset
  [ 0.00] Initializing cgroup subsys cpu
  [ 0.00] Initializing cgroup subsys cpuacct
  [ 0.00] Linux version 3.13.0-46-generic (buildd@templar) (gcc version 
4.8.2 (Ubuntu/Linaro 4.8.2-19ubuntu1) ) #75-Ubuntu SMP Tue Feb 10 21:12:09 UTC 
2015 (Ubuntu 3.13.0-46.75-generic 3.13.11-ckt15)
  [ 0.00] CPU: AArch64 Processor [500f0001] revision 1
  [ 0.00] bootconsole [earlycon0] enabled
  [ 0.00] On node 0 totalpages: 16777216
  [ 0.00] Normal zone: 229376 pages used for memmap
  [ 0.00] Normal zone: 16777216 pages, LIFO batch:31
  [ 0.00] PERCPU: Embedded 12 pages/cpu @ffc72000 s17088 r8192 
d23872 u49152
  [ 0.00] pcpu-alloc: s17088 r8192 d23872 u49152 alloc=12*4096
  [ 0.00] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7
  [ 0.00] Built 1 zonelists in Zone order, mobility grouping on. Total 
pages: 16547840
  [ 0.00] Kernel command line: console=ttyS0,9600n8r ro 
earlyprintk=uart8250-32bit,0x1c021000 debug
  [ 0.00] PID hash table entries: 4096 (order: 3, 32768 bytes)
  [ 0.00] Dentry cache hash table entries: 8388608 (order: 14, 67108864 
bytes)
  [ 0.00] Inode-cache hash table entries: 4194304 (order: 13, 33554432 
bytes)
  [ 0.00] software IO TLB [mem 0x4fbc80-0x4fc080] (64MB) mapped at 
[ffcfbc80-ffcfc07f]
  [ 0.00] Memory: 65994264K/67108864K available (5718K kernel code, 590K 
rwdata, 2536K rodata, 304K init, 538K bss, 1114600K reserved)
  [ 0.00] Virtual kernel memory layout:
  [ 0.00] vmalloc : 0xff80 - 0xffbb (245759 MB)
  [ 0.00] vmemmap : 0xffbce000 - 0xffbd1800 ( 896 MB)
  [ 0.00] modules : 0xffbffc00 - 0xffc0 ( 64 MB)
  [ 0.00] memory : 0xffc0 - 0xffd0 ( 65536 MB)
  [ 0.00] .init : 0xffc000891000 - 0xffc0008dd2c0 ( 305 kB)
  [ 0.00] .text : 0xffc8 - 0xffc0008909b4 ( 8259 kB)
  [ 0.00] .data : 0xffc0008de000 - 0xffc000971848 ( 591 kB)
  [ 0.00] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
  [ 0.00] Hierarchical RCU implementation.
  [ 0.00] RCU dyntick-idle grace-period acceleration is enabled.
  [ 0.00] NR_IRQS:64 nr_irqs:64 0
  [ 0.00] Architected cp15 timer(s) running at 50.00MHz (phys).
  [ 0.00] BUG: failure at 
/build/buildd/linux-3.13.0/arch/arm64/include/asm/arch_timer.h:143/arch_counter_get_cntpct()!
  [ 0.00] Kernel panic - not syncing: BUG!
  [ 0.00] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.13.0-46-generic 
#75-Ubuntu
  [ 0.00] Call trace:
  [ 0.00] [ffc8848c] dump_backtrace+0x0/0x16c
  [ 0.00] [ffc88608] show_stack+0x10/0x1c
  [ 0.00] [ffc000603e0c] dump_stack+0x74/0x94
  [ 0.00] [ffc0005fe040] panic+0xe0/0x20c
  [ 0.00] [ffc0004eb39c] arch_counter_get_cntpct+0x30/0x34
  [ 0.00] [ffc0008c28d4] arch_timer_common_init+0x1d4/0x244
  [ 0.00] [ffc0008c2b88] arch_timer_init+0x244/0x260
  [ 0.00] [ffc0008c26d8] clocksource_of_init+0x44/0x6c
  [ 0.00] [ffc000894b0c] time_init+0x8/0x38
  [ 0.00] [ffc000891694] start_kernel+0x200/0x360

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1426043/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : 

[Kernel-packages] [Bug 1426043] Re: kernel 3.13.0-46.75 fails to boot on arm64

2015-02-26 Thread dann frazier
Fix verified on a mustang board. Thanks!

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1426043

Title:
  kernel 3.13.0-46.75 fails to boot on arm64

Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Trusty:
  In Progress

Bug description:
  The failure is:

  BUG: failure at
  
/build/buildd/linux-3.13.0/arch/arm64/include/asm/arch_timer.h:143/arch_counter_get_cntpct()!

  which comes from this code:

  static inline u64 arch_counter_get_cntpct(void)
  {
  /*
   * AArch64 kernel and user space mandate the use of CNTVCT.
   */
  BUG();
  return 0;
  }

  The -46 kernel includes commit 800a366 (corresponding to upstream
  commit 0b46b8a) clocksource: arch_timer: Fix code to use physical
  timers when requested. This was added to fix clock problems on certain
  ARMv7 systems. Unfortunately, it also appears to break ARMv8 systems.

  The upstream commit which fixes the ARMv8 breakage from commit 0b46b8a
  is d6ad369 clocksource: arch_timer: Only use the virtual counter
  (CNTVCT) on arm64. This commit appears not to have been backported to
  Trusty.

  Here is a full boot log of the failure:

  Starting kernel ...

  L3C: 8MB
  [ 0.00] Initializing cgroup subsys cpuset
  [ 0.00] Initializing cgroup subsys cpu
  [ 0.00] Initializing cgroup subsys cpuacct
  [ 0.00] Linux version 3.13.0-46-generic (buildd@templar) (gcc version 
4.8.2 (Ubuntu/Linaro 4.8.2-19ubuntu1) ) #75-Ubuntu SMP Tue Feb 10 21:12:09 UTC 
2015 (Ubuntu 3.13.0-46.75-generic 3.13.11-ckt15)
  [ 0.00] CPU: AArch64 Processor [500f0001] revision 1
  [ 0.00] bootconsole [earlycon0] enabled
  [ 0.00] On node 0 totalpages: 16777216
  [ 0.00] Normal zone: 229376 pages used for memmap
  [ 0.00] Normal zone: 16777216 pages, LIFO batch:31
  [ 0.00] PERCPU: Embedded 12 pages/cpu @ffc72000 s17088 r8192 
d23872 u49152
  [ 0.00] pcpu-alloc: s17088 r8192 d23872 u49152 alloc=12*4096
  [ 0.00] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7
  [ 0.00] Built 1 zonelists in Zone order, mobility grouping on. Total 
pages: 16547840
  [ 0.00] Kernel command line: console=ttyS0,9600n8r ro 
earlyprintk=uart8250-32bit,0x1c021000 debug
  [ 0.00] PID hash table entries: 4096 (order: 3, 32768 bytes)
  [ 0.00] Dentry cache hash table entries: 8388608 (order: 14, 67108864 
bytes)
  [ 0.00] Inode-cache hash table entries: 4194304 (order: 13, 33554432 
bytes)
  [ 0.00] software IO TLB [mem 0x4fbc80-0x4fc080] (64MB) mapped at 
[ffcfbc80-ffcfc07f]
  [ 0.00] Memory: 65994264K/67108864K available (5718K kernel code, 590K 
rwdata, 2536K rodata, 304K init, 538K bss, 1114600K reserved)
  [ 0.00] Virtual kernel memory layout:
  [ 0.00] vmalloc : 0xff80 - 0xffbb (245759 MB)
  [ 0.00] vmemmap : 0xffbce000 - 0xffbd1800 ( 896 MB)
  [ 0.00] modules : 0xffbffc00 - 0xffc0 ( 64 MB)
  [ 0.00] memory : 0xffc0 - 0xffd0 ( 65536 MB)
  [ 0.00] .init : 0xffc000891000 - 0xffc0008dd2c0 ( 305 kB)
  [ 0.00] .text : 0xffc8 - 0xffc0008909b4 ( 8259 kB)
  [ 0.00] .data : 0xffc0008de000 - 0xffc000971848 ( 591 kB)
  [ 0.00] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
  [ 0.00] Hierarchical RCU implementation.
  [ 0.00] RCU dyntick-idle grace-period acceleration is enabled.
  [ 0.00] NR_IRQS:64 nr_irqs:64 0
  [ 0.00] Architected cp15 timer(s) running at 50.00MHz (phys).
  [ 0.00] BUG: failure at 
/build/buildd/linux-3.13.0/arch/arm64/include/asm/arch_timer.h:143/arch_counter_get_cntpct()!
  [ 0.00] Kernel panic - not syncing: BUG!
  [ 0.00] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.13.0-46-generic 
#75-Ubuntu
  [ 0.00] Call trace:
  [ 0.00] [ffc8848c] dump_backtrace+0x0/0x16c
  [ 0.00] [ffc88608] show_stack+0x10/0x1c
  [ 0.00] [ffc000603e0c] dump_stack+0x74/0x94
  [ 0.00] [ffc0005fe040] panic+0xe0/0x20c
  [ 0.00] [ffc0004eb39c] arch_counter_get_cntpct+0x30/0x34
  [ 0.00] [ffc0008c28d4] arch_timer_common_init+0x1d4/0x244
  [ 0.00] [ffc0008c2b88] arch_timer_init+0x244/0x260
  [ 0.00] [ffc0008c26d8] clocksource_of_init+0x44/0x6c
  [ 0.00] [ffc000894b0c] time_init+0x8/0x38
  [ 0.00] [ffc000891694] start_kernel+0x200/0x360

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1426043/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1426043] Re: kernel 3.13.0-46.75 fails to boot on arm64

2015-02-26 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 3.13.0-46.76

---
linux (3.13.0-46.76) trusty; urgency=low

  [ Kamal Mostafa ]

  * Release Tracking Bug
- LP: #1426060

  [ Upstream Kernel Changes ]

  * clocksource: arch_timer: Only use the virtual counter (CNTVCT) on arm64
- LP: #1426043
 -- Kamal Mostafa ka...@canonical.com   Thu, 26 Feb 2015 09:53:44 -0800

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1426043

Title:
  kernel 3.13.0-46.75 fails to boot on arm64

Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Trusty:
  Fix Released

Bug description:
  The failure is:

  BUG: failure at
  
/build/buildd/linux-3.13.0/arch/arm64/include/asm/arch_timer.h:143/arch_counter_get_cntpct()!

  which comes from this code:

  static inline u64 arch_counter_get_cntpct(void)
  {
  /*
   * AArch64 kernel and user space mandate the use of CNTVCT.
   */
  BUG();
  return 0;
  }

  The -46 kernel includes commit 800a366 (corresponding to upstream
  commit 0b46b8a) clocksource: arch_timer: Fix code to use physical
  timers when requested. This was added to fix clock problems on certain
  ARMv7 systems. Unfortunately, it also appears to break ARMv8 systems.

  The upstream commit which fixes the ARMv8 breakage from commit 0b46b8a
  is d6ad369 clocksource: arch_timer: Only use the virtual counter
  (CNTVCT) on arm64. This commit appears not to have been backported to
  Trusty.

  Here is a full boot log of the failure:

  Starting kernel ...

  L3C: 8MB
  [ 0.00] Initializing cgroup subsys cpuset
  [ 0.00] Initializing cgroup subsys cpu
  [ 0.00] Initializing cgroup subsys cpuacct
  [ 0.00] Linux version 3.13.0-46-generic (buildd@templar) (gcc version 
4.8.2 (Ubuntu/Linaro 4.8.2-19ubuntu1) ) #75-Ubuntu SMP Tue Feb 10 21:12:09 UTC 
2015 (Ubuntu 3.13.0-46.75-generic 3.13.11-ckt15)
  [ 0.00] CPU: AArch64 Processor [500f0001] revision 1
  [ 0.00] bootconsole [earlycon0] enabled
  [ 0.00] On node 0 totalpages: 16777216
  [ 0.00] Normal zone: 229376 pages used for memmap
  [ 0.00] Normal zone: 16777216 pages, LIFO batch:31
  [ 0.00] PERCPU: Embedded 12 pages/cpu @ffc72000 s17088 r8192 
d23872 u49152
  [ 0.00] pcpu-alloc: s17088 r8192 d23872 u49152 alloc=12*4096
  [ 0.00] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7
  [ 0.00] Built 1 zonelists in Zone order, mobility grouping on. Total 
pages: 16547840
  [ 0.00] Kernel command line: console=ttyS0,9600n8r ro 
earlyprintk=uart8250-32bit,0x1c021000 debug
  [ 0.00] PID hash table entries: 4096 (order: 3, 32768 bytes)
  [ 0.00] Dentry cache hash table entries: 8388608 (order: 14, 67108864 
bytes)
  [ 0.00] Inode-cache hash table entries: 4194304 (order: 13, 33554432 
bytes)
  [ 0.00] software IO TLB [mem 0x4fbc80-0x4fc080] (64MB) mapped at 
[ffcfbc80-ffcfc07f]
  [ 0.00] Memory: 65994264K/67108864K available (5718K kernel code, 590K 
rwdata, 2536K rodata, 304K init, 538K bss, 1114600K reserved)
  [ 0.00] Virtual kernel memory layout:
  [ 0.00] vmalloc : 0xff80 - 0xffbb (245759 MB)
  [ 0.00] vmemmap : 0xffbce000 - 0xffbd1800 ( 896 MB)
  [ 0.00] modules : 0xffbffc00 - 0xffc0 ( 64 MB)
  [ 0.00] memory : 0xffc0 - 0xffd0 ( 65536 MB)
  [ 0.00] .init : 0xffc000891000 - 0xffc0008dd2c0 ( 305 kB)
  [ 0.00] .text : 0xffc8 - 0xffc0008909b4 ( 8259 kB)
  [ 0.00] .data : 0xffc0008de000 - 0xffc000971848 ( 591 kB)
  [ 0.00] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
  [ 0.00] Hierarchical RCU implementation.
  [ 0.00] RCU dyntick-idle grace-period acceleration is enabled.
  [ 0.00] NR_IRQS:64 nr_irqs:64 0
  [ 0.00] Architected cp15 timer(s) running at 50.00MHz (phys).
  [ 0.00] BUG: failure at 
/build/buildd/linux-3.13.0/arch/arm64/include/asm/arch_timer.h:143/arch_counter_get_cntpct()!
  [ 0.00] Kernel panic - not syncing: BUG!
  [ 0.00] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.13.0-46-generic 
#75-Ubuntu
  [ 0.00] Call trace:
  [ 0.00] [ffc8848c] dump_backtrace+0x0/0x16c
  [ 0.00] [ffc88608] show_stack+0x10/0x1c
  [ 0.00] [ffc000603e0c] dump_stack+0x74/0x94
  [ 0.00] [ffc0005fe040] panic+0xe0/0x20c
  [ 0.00] [ffc0004eb39c] arch_counter_get_cntpct+0x30/0x34
  [ 0.00] [ffc0008c28d4] arch_timer_common_init+0x1d4/0x244
  [ 0.00] [ffc0008c2b88] arch_timer_init+0x244/0x260
  [ 0.00] [ffc0008c26d8] clocksource_of_init+0x44/0x6c
  [ 0.00] [ffc000894b0c] time_init+0x8/0x38
  [ 0.00] [ffc000891694] start_kernel+0x200/0x360

To manage notifications about this bug go to:

[Kernel-packages] [Bug 1426043] Re: kernel 3.13.0-46.75 fails to boot on arm64

2015-02-26 Thread Launchpad Bug Tracker
This bug was fixed in the package linux - 3.13.0-46.76

---
linux (3.13.0-46.76) trusty; urgency=low

  [ Kamal Mostafa ]

  * Release Tracking Bug
- LP: #1426060

  [ Upstream Kernel Changes ]

  * clocksource: arch_timer: Only use the virtual counter (CNTVCT) on arm64
- LP: #1426043
 -- Kamal Mostafa ka...@canonical.com   Thu, 26 Feb 2015 09:53:44 -0800

** Changed in: linux (Ubuntu Trusty)
   Status: In Progress = Fix Released

** Changed in: linux (Ubuntu Trusty)
   Status: In Progress = Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1426043

Title:
  kernel 3.13.0-46.75 fails to boot on arm64

Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Trusty:
  Fix Released

Bug description:
  The failure is:

  BUG: failure at
  
/build/buildd/linux-3.13.0/arch/arm64/include/asm/arch_timer.h:143/arch_counter_get_cntpct()!

  which comes from this code:

  static inline u64 arch_counter_get_cntpct(void)
  {
  /*
   * AArch64 kernel and user space mandate the use of CNTVCT.
   */
  BUG();
  return 0;
  }

  The -46 kernel includes commit 800a366 (corresponding to upstream
  commit 0b46b8a) clocksource: arch_timer: Fix code to use physical
  timers when requested. This was added to fix clock problems on certain
  ARMv7 systems. Unfortunately, it also appears to break ARMv8 systems.

  The upstream commit which fixes the ARMv8 breakage from commit 0b46b8a
  is d6ad369 clocksource: arch_timer: Only use the virtual counter
  (CNTVCT) on arm64. This commit appears not to have been backported to
  Trusty.

  Here is a full boot log of the failure:

  Starting kernel ...

  L3C: 8MB
  [ 0.00] Initializing cgroup subsys cpuset
  [ 0.00] Initializing cgroup subsys cpu
  [ 0.00] Initializing cgroup subsys cpuacct
  [ 0.00] Linux version 3.13.0-46-generic (buildd@templar) (gcc version 
4.8.2 (Ubuntu/Linaro 4.8.2-19ubuntu1) ) #75-Ubuntu SMP Tue Feb 10 21:12:09 UTC 
2015 (Ubuntu 3.13.0-46.75-generic 3.13.11-ckt15)
  [ 0.00] CPU: AArch64 Processor [500f0001] revision 1
  [ 0.00] bootconsole [earlycon0] enabled
  [ 0.00] On node 0 totalpages: 16777216
  [ 0.00] Normal zone: 229376 pages used for memmap
  [ 0.00] Normal zone: 16777216 pages, LIFO batch:31
  [ 0.00] PERCPU: Embedded 12 pages/cpu @ffc72000 s17088 r8192 
d23872 u49152
  [ 0.00] pcpu-alloc: s17088 r8192 d23872 u49152 alloc=12*4096
  [ 0.00] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7
  [ 0.00] Built 1 zonelists in Zone order, mobility grouping on. Total 
pages: 16547840
  [ 0.00] Kernel command line: console=ttyS0,9600n8r ro 
earlyprintk=uart8250-32bit,0x1c021000 debug
  [ 0.00] PID hash table entries: 4096 (order: 3, 32768 bytes)
  [ 0.00] Dentry cache hash table entries: 8388608 (order: 14, 67108864 
bytes)
  [ 0.00] Inode-cache hash table entries: 4194304 (order: 13, 33554432 
bytes)
  [ 0.00] software IO TLB [mem 0x4fbc80-0x4fc080] (64MB) mapped at 
[ffcfbc80-ffcfc07f]
  [ 0.00] Memory: 65994264K/67108864K available (5718K kernel code, 590K 
rwdata, 2536K rodata, 304K init, 538K bss, 1114600K reserved)
  [ 0.00] Virtual kernel memory layout:
  [ 0.00] vmalloc : 0xff80 - 0xffbb (245759 MB)
  [ 0.00] vmemmap : 0xffbce000 - 0xffbd1800 ( 896 MB)
  [ 0.00] modules : 0xffbffc00 - 0xffc0 ( 64 MB)
  [ 0.00] memory : 0xffc0 - 0xffd0 ( 65536 MB)
  [ 0.00] .init : 0xffc000891000 - 0xffc0008dd2c0 ( 305 kB)
  [ 0.00] .text : 0xffc8 - 0xffc0008909b4 ( 8259 kB)
  [ 0.00] .data : 0xffc0008de000 - 0xffc000971848 ( 591 kB)
  [ 0.00] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
  [ 0.00] Hierarchical RCU implementation.
  [ 0.00] RCU dyntick-idle grace-period acceleration is enabled.
  [ 0.00] NR_IRQS:64 nr_irqs:64 0
  [ 0.00] Architected cp15 timer(s) running at 50.00MHz (phys).
  [ 0.00] BUG: failure at 
/build/buildd/linux-3.13.0/arch/arm64/include/asm/arch_timer.h:143/arch_counter_get_cntpct()!
  [ 0.00] Kernel panic - not syncing: BUG!
  [ 0.00] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.13.0-46-generic 
#75-Ubuntu
  [ 0.00] Call trace:
  [ 0.00] [ffc8848c] dump_backtrace+0x0/0x16c
  [ 0.00] [ffc88608] show_stack+0x10/0x1c
  [ 0.00] [ffc000603e0c] dump_stack+0x74/0x94
  [ 0.00] [ffc0005fe040] panic+0xe0/0x20c
  [ 0.00] [ffc0004eb39c] arch_counter_get_cntpct+0x30/0x34
  [ 0.00] [ffc0008c28d4] arch_timer_common_init+0x1d4/0x244
  [ 0.00] [ffc0008c2b88] arch_timer_init+0x244/0x260
  [ 0.00] [ffc0008c26d8] clocksource_of_init+0x44/0x6c
  [ 0.00] [ffc000894b0c]