RE: Kernel 2.6.32.60 64bit Crash/Hung

2015-01-29 Thread Giridhara RP (grp)
All,

I Changed CONFIG_NR_CPUS=64 to CONFIG_NR_CPUS=128 and kernel did not panic.
Please note my setup has 4CPUs , each has 10 cores and supports Hyper 
threading. So, linux creates 4 x 10 x 2 logical CPUs.

Thanks
Giri
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


RE: Kernel 2.6.32.60 64bit Crash/Hung

2015-01-27 Thread Giridhara RP (grp)


-Original Message-
From: Anand Moon [mailto:moon.li...@yahoo.com] 
Sent: Tuesday, January 27, 2015 12:30 PM
To: Giridhara RP (grp); valdis.kletni...@vt.edu
Cc: Greg KH; kernelnewbies@kernelnewbies.org
Subject: Re: Kernel 2.6.32.60 64bit Crash/Hung

Hi Giridhara,

http://ark.intel.com/products/64622/Intel-Xeon-Processor-E5-4650-20M-Cache-2_70-GHz-8_00-GTs-Intel-QPI

Show it has only 8 core of CPU. Why are you setting the CONFIG_NR_CPUS=64.
certainly it will have a issue in the kernel.

-Anand Moon
---
Hi Anand,

Agree it’s a 8 core processor, but Hyper threading is supported in this CPU. 

Thanks
Giri



On Tuesday, January 27, 2015 10:27 AM, Giridhara RP (grp) g...@cisco.com 
wrote:
-Original Message-
From: valdis.kletni...@vt.edu [mailto:valdis.kletni...@vt.edu] 
Sent: Tuesday, January 27, 2015 10:15 AM
To: Giridhara RP (grp)
Cc: Greg KH; kernelnewbies@kernelnewbies.org
Subject: Re: Kernel 2.6.32.60 64bit Crash/Hung

On Tue, 27 Jan 2015 04:06:00 +, Giridhara RP (grp) said:

 Which kernel version should I use to solve this crash/panic?

That will depend on exactly why you're still running a 2.6.32 kernel from 6 
years ago. Remember - the fact it's all the way up to 2.6.32.65 doesn't mean 
you have all the bugfixes.  It only means you have all the bugfixes that 
qualified for the -stable side of the fence (which is a small fraction of all 
the fixes that have happened in the past 6 years).

---
Hi Valdis,

We were running 2.6.32.60 assuming it's a stable build and my assumption was 
wrong :(. Should I go ahead with stable 3.18.3 [2015-01-16 ].

Thanks
Giri

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


RE: Kernel 2.6.32.60 64bit Crash/Hung

2015-01-27 Thread Giridhara RP (grp)
Thanks Greg,
Giri

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


RE: Kernel 2.6.32.60 64bit Crash/Hung

2015-01-26 Thread Giridhara RP (grp)
-Original Message-
From: valdis.kletni...@vt.edu [mailto:valdis.kletni...@vt.edu] 
Sent: Tuesday, January 27, 2015 9:32 AM
To: Giridhara RP (grp)
Cc: Greg KH; kernelnewbies@kernelnewbies.org
Subject: Re: Kernel 2.6.32.60 64bit Crash/Hung

On Tue, 27 Jan 2015 03:52:05 +, Giridhara RP (grp) said:

 Thanks for the quick turnaround. Which is the stable version? Kernel
 2.6.32.60 was used in RHEL 6.2 and we thought this kernel version is stable.

It's stable enough that RedHat can afford to keep supporting its paying 
customers.  You probably will be quite disillusioned if you download the 
.src.rpm for the kernel and start counting %patch lines in the .SPEC file.:)


---
Hi Valdis,
Which kernel version should I use to solve this crash/panic? 

Thanks
Giri

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


RE: Kernel 2.6.32.60 64bit Crash/Hung

2015-01-26 Thread Giridhara RP (grp)
-Original Message-
From: valdis.kletni...@vt.edu [mailto:valdis.kletni...@vt.edu] 
Sent: Tuesday, January 27, 2015 10:15 AM
To: Giridhara RP (grp)
Cc: Greg KH; kernelnewbies@kernelnewbies.org
Subject: Re: Kernel 2.6.32.60 64bit Crash/Hung

On Tue, 27 Jan 2015 04:06:00 +, Giridhara RP (grp) said:

 Which kernel version should I use to solve this crash/panic?

That will depend on exactly why you're still running a 2.6.32 kernel from 6 
years ago. Remember - the fact it's all the way up to 2.6.32.65 doesn't mean 
you have all the bugfixes.  It only means you have all the bugfixes that 
qualified for the -stable side of the fence (which is a small fraction of all 
the fixes that have happened in the past 6 years).

---
Hi Valdis,

We were running 2.6.32.60 assuming it's a stable build and my assumption was 
wrong :(. Should I go ahead with stable 3.18.3 [2015-01-16 ].

Thanks
Giri

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


RE: Kernel 2.6.32.60 64bit Crash/Hung

2015-01-26 Thread Giridhara RP (grp)
Hi Greg,

Thanks for the quick turnaround. Which is the stable version? Kernel 2.6.32.60 
was used in RHEL 6.2 and we thought this kernel version is stable.

Regards
Giri 

-Original Message-
From: Greg KH [mailto:g...@kroah.com] 
Sent: Tuesday, January 27, 2015 8:19 AM
To: Giridhara RP (grp)
Cc: kernelnewbies@kernelnewbies.org
Subject: Re: Kernel 2.6.32.60 64bit Crash/Hung

On Tue, Jan 27, 2015 at 12:06:56AM +, Giridhara RP (grp) wrote:
 Hi,
 
  
 
 I am facing crash/hang  with 2.6.32.60 Kernel (64bit).

Note this is a _very_ old and obsolete kernel, please use a modern kernel 
release if you wish to get help from the community.

If you are being forced to use this old version, then get support from the 
company you are paying to provide this kernel, as that is what their job is.

Best of luck,

greg k-h

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Kernel 2.6.32.60 64bit Crash/Hung

2015-01-26 Thread Giridhara RP (grp)
Hi,

I am facing crash/hang  with 2.6.32.60 Kernel (64bit). My maxcpus 
(CONFIG_NR_CPUS)  count is 64 and below is the call trace. I see log saying 
BUG: spinlock lockup on CPU#74. Is it a  known bug? If its fixed let me know 
the patch.  Any pointers really appreciated.
Please note, if I change maxcpus=8 kernel boots successfully.

Thanks
Giri

[Jan 26 06:41:35.439] [ 67.606000] Non-volatile memory driver v1.3^M
[ 67.616000] Linux agpgart interface v0.103^M
[ 67.637000] [drm] Initialized drm 1.1.0 20060810^M
[ 67.652000] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled^M
[ 68.092000] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A^M
[Jan 26 06:41:36.679] [ 68.846000] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is 
a 16550A^M
[ 68.91] 00:03: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A^M
[Jan 26 06:41:37.149] [ 69.316000] brd: module loaded^M
[Jan 26 06:41:41.015] [ 73.183000] loop: module loaded^M
[ 73.191000] lkdtm : Invalid command^M
[ 73.20] kgdb: Registered I/O driver kgdbts.^M
[Jan 26 06:42:03.435] [ 73.552000] BUG: spinlock lockup on CPU#74, swapper/1, 
880c9c1d2ac0^M ===
[ 73.552000] Pid: 1, comm: swapper Not tainted 2.6.32.60 #2^M
[ 73.552000] Call Trace:^M
[ 73.552000] IRQ [81196df0] _raw_spin_lock+0x103/0x12b^M
[ 73.552000] [81459c97] _spin_lock+0x4f/0x62^M
[ 73.552000] [8103c1a3] ? scheduler_tick+0x49/0x166^M
[ 73.552000] [8103c1a3] scheduler_tick+0x49/0x166^M
[ 73.552000] [8104e6de] update_process_times+0x42/0x52^M
[ 73.552000] [81061ef1] tick_periodic+0x63/0x65^M
[ 73.552000] [81061f11] tick_handle_periodic+0x1e/0x6b^M
[ 73.552000] [8101eb91] smp_apic_timer_interrupt+0x84/0x97^M
[ 73.552000] [8100c773] apic_timer_interrupt+0x13/0x20^M
[ 73.552000] EOI [8126a8a5] ? kgdbts_break_test+0x1/0x22^M
[ 73.552000] [8126a8a4] ? kgdbts_break_test+0x0/0x22^M
[ 73.552000] [8126b7d4] ? configure_kgdbts+0x1ef/0x4bb^M
[ 73.552000] [81177ade] ? blk_register_region+0x28/0x2a^M
[ 73.552000] [81b50f4c] ? init_kgdbts+0x0/0x16^M
[ 73.552000] [81b50f60] ? init_kgdbts+0x14/0x16^M
[ 73.552000] [8100905d] ? do_one_initcall+0x57/0x157^M
[ 73.552000] [81b24d88] ? kernel_init+0x1f0/0x241^M
[ 73.552000] [8100cc7a] ? child_rip+0xa/0x20^M
[ 73.552000] [8100c63c] ? restore_args+0x0/0x30^M
[ 73.552000] [81b24b98] ? kernel_init+0x0/0x241^M
[ 73.552000] [8100cc70] ? child_rip+0x0/0x20^M
[ 73.552000] sending NMI to all CPUs:^M
[ 73.552000] NMI backtrace for cpu 74^M
[ 73.552000] CPU 74:^M
[ 73.552000] Modules linked in:^M
[ 73.552000] Pid: 1, comm: swapper Not tainted 2.6.32.60 #2 UCSB-B420-M3^M
[ 73.552000] RIP: 0010:[81187fa0] [81187fa0] 
delay_loop+0x20/0x2a^M
[ 73.552000] RSP: 0018:880c9c003da8 EFLAGS: 0002^M
[ 73.552000] RAX: 0001d185 RBX:  RCX: 0030^M
[ 73.552000] RDX: 0001d19a RSI: 0010 RDI: 0001d19b^M
[ 73.552000] RBP: 880c9c003da8 R08: 000b R09: 81947ad0^M
[ 73.552000] R10: b4a0 R11: 81878da0 R12: 1000^M
[ 73.552000] R13: 0092 R14: 0002 R15: 81947ac0^M
[ 73.552000] FS: () GS:880c9c00() 
knlGS:^M
[ 73.552000] CS: 0010 DS: 0018 ES: 0018 CR0: 8005003b^M
[ 73.552000] CR2:  CR3: 01001000 CR4: 000406e0^M
[ 73.552000] DR0:  DR1:  DR2: 
[Jan 26 06:42:04.041] ^M
[ 73.552000] DR3:  DR6: 0ff0 DR7: 0400^M
[ 73.552000] Call Trace:^M
[ 73.552000] #DB[1] EOE Pid: 1, comm: swapper Not tainted 2.6.32.60 #2^M
[ 73.552000] Call Trace:^M
[ 73.552000] NMI [8145b99d] nmi_watchdog_tick+0x111/0x24d^M
[ 73.552000] [8145aee1] do_nmi+0xbd/0x269^M
[ 73.552000] [8145ab1a] nmi+0x1a/0x2c^M
[ 73.552000] [81187fa0] ? delay_loop+0x20/0x2a^M
[ 73.552000] EOE IRQ [81188001] __delay+0xa/0xc^M
[ 73.552000] [8118803f] __const_udelay+0x3c/0x3e^M
[ 73.552000] [8101e898] native_safe_apic_wait_icr_idle+0x31/0x44^M
[ 73.552000] [8101f479] 
default_send_IPI_mask_sequence_phys+0x49/0x110^M
[ 73.552000] [810225f4] physflat_send_IPI_mask+0x9/0xb^M
[ 73.552000] [8102262b] physflat_send_IPI_all+0x14/0x16^M
[ 73.552000] [8101f8e6] arch_trigger_all_cpu_backtrace+0x4e/0x7c^M
[ 73.552000] [81196df5] _raw_spin_lock+0x108/0x12b^M
[ 73.552000] [81459c97] _spin_lock+0x4f/0x62^M
[ 73.552000] [8103c1a3] ? scheduler_tick+0x49/0x166^M
[ 73.552000] [8103c1a3] scheduler_tick+0x49/0x166^M
[ 73.552000] [8104e6de] update_process_times+0x42/0x52^M
[ 73.552000] [81061ef1] tick_periodic+0x63/0x65^M
[ 73.552000] [81061f11] tick_handle_periodic+0x1e/0x6b^M
[ 73.552000] [8101eb91] 

RE: Kernel 2.6.32.60 64bit Crash/Hung

2015-01-26 Thread Giridhara RP (grp)
Hello,

Please note my CPU is this.
Intel(R) Xeon(R) CPU E5-4650 v2 @ 2.40GHz stepping 04

From: Giridhara RP (grp)
Sent: Tuesday, January 27, 2015 5:37 AM
To: kernelnewbies@kernelnewbies.org
Subject: Kernel 2.6.32.60 64bit Crash/Hung

Hi,

I am facing crash/hang  with 2.6.32.60 Kernel (64bit). My maxcpus 
(CONFIG_NR_CPUS)  count is 64 and below is the call trace. I see log saying 
BUG: spinlock lockup on CPU#74. Is it a  known bug? If its fixed let me know 
the patch.  Any pointers really appreciated.
Please note, if I change maxcpus=8 kernel boots successfully.

Thanks
Giri
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


RE: Kernel 64bit

2013-05-27 Thread Giridhara RP (grp)
Thanks Jonthan/Santosa,

I could make a  ISO image with Debian. My kernel was not booting earlier as I 
was booting wrong image. With new ISO image, still I did not get login prompt 
yet:(. Debugging the issue.
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


RE: Kernel 64bit

2013-05-24 Thread Giridhara RP (grp)
Hi Mulyadi,

Please explain below step which you have mentioned?  I have bzImage (64bit) in 
my x86/boot/. What should I do to create a ISO image. 

[Usually it will take care of copying the kernel image to /boot, rename it to 
vmlinuz-kernel version along with the initrd/initramfs, plus it will set the 
boot loader entry for you :)]

Thanks
Giri

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


RE: Kernel 64bit

2013-05-23 Thread Giridhara RP (grp)
Hi Amit

 Looks like I copied wrong output in my previous email. Here is the output. 
Also, what should I do with 'grub'? 

 5. After boot 'uname -a' , shows this.
 Linux 2.6.32-60 #1 SMP Mon Mar 25 16:20:30 IST 2013 i686 GNU/Linux

-Original Message-
From: amit mehta [mailto:gmate.a...@gmail.com] 
Sent: Thursday, May 23, 2013 2:40 PM
To: Giridhara RP (grp)
Cc: kernelnewbies@kernelnewbies.org
Subject: Re: Kernel 64bit

On Thu, May 23, 2013 at 10:16 AM, Giridhara RP (grp) g...@cisco.com wrote:
 Hi,

 I am trying to build 64bit kernel (linux kernel 2.6.32-60). But, once I boot 
 the image (ISO), uname -a still shows as i686. It does not show as 'X86_64'.  
 My vmlinuz and vmlinuz.o shows 64bit. Any pointers much appreciated. I have 
 followed below steps.

 1. make X86_64_defconfig
 2. make V=1 (comiler shows that -m64 is getting used).
 3. [root@grpRHEL2 linux-2.6.32.60]# file vmlinux vmlinux.o
 vmlinux:   ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically 
 linked, not stripped
 vmlinux.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not 
 stripped 4.  bzImage does not say x86_64 boot.
  root@grpRHEL2 boot]# pwd
 /root/lin_2/linux-2.6.32.60/arch/x86_64/boot
 [root@grpRHEL2 boot]# file bzImage
 bzImage: symbolic link to `../../x86/boot/bzImage'
 [root@grpRHEL2 boot]# file ../../x86/boot/bzImage
 ../../x86/boot/bzImage: Linux kernel x86 boot executable bzImage, 
 version 2.6.32.60 (root@grpRHEL2) #1 SM, RO-rootFS, swap_dev 0x3, 
 Normal VGA

 5. After boot 'uname -a' , shows this.
 Linux 2.6.29.6 #1 SMP Mon Mar 25 16:20:30 IST 2013 i686 GNU/Linux

Are you sure, you are booting from the newly built 64 bit kernel, because 
'uname' is still reporting the older kernel (2.6.29.6 instead of 2.6.32.60). 
You might have missed updating grub after building the new kernel (version: 
2.6.32.60)

-Amit
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


linux-3.8.7 64bit build

2013-04-18 Thread Giridhara RP (grp)
Hi,

I am trying to build 64bit linux. .config file got created. But while compiling 
I get the error unimplemented: 64-bit mode not compiled in. Any pointers much 
appreciated.

Step2:
bash-3.00$ make V=1 CC=gcc.c4.5.3-p0.linux ARCH=x86_64
gcc.c4.5.3-p0.linux -Wp,-MD,kernel/.bounds.s.d  -nostdinc -isystem 
/auto/sw/packages/gcc/c4.5.3-p0/i686-pc-linux/bin/../lib/gcc/i686-pc-linux/4.5.3/include
 -I/iws/grp-1/Linux_ker/linux-3.8.7/arch/x86/include 
-Iarch/x86/include/generated  -Iinclude 
-I/iws/grp-1/Linux_ker/linux-3.8.7/arch/x86/include/uapi 
-Iarch/x86/include/generated/uapi 
-I/iws/grp-1/Linux_ker/linux-3.8.7/include/uapi -Iinclude/generated/uapi 
-include /iws/grp-1/Linux_ker/linux-3.8.7/include/linux/kconfig.h -D__KERNEL__ 
-Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing 
-fno-common -Werror-implicit-function-declaration -Wno-format-security 
-fno-delete-null-pointer-checks -O2 -m64 -mno-red-zone -mcmodel=kernel 
-maccumulate-outgoing-args -DCONFIG_AS_CFI_SIGNAL_FRAME=1 
-DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_AVX=1 -pipe -Wno-sign-compare 
-fno-asynchronous-unwind-tables -fno-omit-frame-pointer 
-fno-optimize-sibling-calls -DCC_HAVE_ASM_GOTO-DKBUILD_STR(s)=#s 
-DKBUILD_BASENAME=KBUILD_STR(bounds)  -DKBUILD_MODNAME=KBUILD_STR(bounds) 
-fverbose-asm -S -o kernel/bounds.s kernel/bounds.c
kernel/bounds.c:1:0: error: code model âkernelâ not supported in the 32 bit 
mode ===Error here
kernel/bounds.c:1:0: sorry, unimplemented: 64-bit mode not compiled in  
Error here
make-3.79.1-p7[1]: *** [kernel/bounds.s] Error 1
make-3.79.1-p7: *** [prepare0] Error 2
bash-3.00$

Step1:
bash-3.00$ make V=1 CC=gcc.c4.5.3-p0.x86elf ARCH=x86_64 x86_64_defconfig
make-3.79.1-p7 -f scripts/Makefile.build obj=scripts/basic
rm -f .tmp_quiet_recordmcount
mkdir -p include/linux include/config
make-3.79.1-p7 -f scripts/Makefile.build obj=scripts/kconfig x86_64_defconfig
scripts/kconfig/conf --defconfig=arch/x86/configs/x86_64_defconfig Kconfig
#
# configuration written to .config
#
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


RE: Build error in linux-3.8.7

2013-04-17 Thread Giridhara RP (grp)
Hi Sarbojit,

My gcc is 3.4.6-11. Sure, I will try 3.8.8

bash-3.00$ gcc --version
gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-11)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

From: Sarbojit Ganguly [mailto:unixman.linux...@gmail.com]
Sent: Wednesday, April 17, 2013 11:34 AM
To: Giridhara RP (grp)
Cc: kernelnewbies@kernelnewbies.org
Subject: Re: Build error in linux-3.8.7

Hello GRP,

Can you post your toolchain (gcc) version? As you're doing this, may I request 
you to try with 3.8.8?

Regards,
Sarbojit

On 17 April 2013 10:20, Giridhara RP (grp) 
g...@cisco.commailto:g...@cisco.com wrote:
Hi,

I am new to linux kernel buidling. I have download 3.8.7 latest (stable) kernel 
from https://www.kernel.org/. I want build kernel for X86_64.


1.   make x86_64_defconfig (this created .config file)

2.   make
Make failed with below error, please help me in resolving this.

  CC  kernel/power/user.o
  CC  kernel/power/block_io.o
  CC  kernel/power/poweroff.o
  LD  kernel/power/built-in.o
  CC  kernel/sched/core.o
  CC  kernel/sched/clock.o
  CC  kernel/sched/cputime.o
  CC  kernel/sched/idle_task.o
  CC  kernel/sched/fair.o
kernel/sched/fair.c: In function `update_curr':
kernel/sched/fair.c:428: sorry, unimplemented: inlining failed in call to 
'account_cfs_rq_runtime': function body not available
kernel/sched/fair.c:714: sorry, unimplemented: called from here
make-3.79.1-p7[2]: *** [kernel/sched/fair.o] Error 1
make-3.79.1-p7[1]: *** [kernel/sched] Error 2
make-3.79.1-p7: *** [kernel] Error 2
bash-3.00$ pwd

thanks
Giri

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.orgmailto:Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



--
Regards,
Sarbojit
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


RE: Build error in linux-3.8.7

2013-04-17 Thread Giridhara RP (grp)
Hi Sarbojit,

Using gcc4.2.1 the compilation error disaappered, but now linker (ld) is 
crashing. Any workaround to overcome this?

CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CALLscripts/checksyscalls.sh
CHK include/generated/compile.h
LD  arch/x86/kernel/built-in.o
/bin/sh: line 1: 17454 Segmentation fault  ld -m elf_i386 -r -o 
arch/x86/kernel/built-in.o arch/x86/kernel/process_32.o 
arch/x86/kernel/signal.o arch/x86/kernel/entry_32.o arch/x86/kernel/traps.o 
arch/x86/kernel/irq.o arch/x86/kernel/irq_32.o arch/x86/kernel/dumpstack_32.o 
arch/x86/kernel/time.o arch/x86/kernel/ioport.o arch/x86/kernel/ldt.o 
arch/x86/kernel/dumpstack.o arch/x86/kernel/nmi.o arch/x86/kernel/setup.o 
arch/x86/kernel/x86_init.o arch/x86/kernel/i8259.o arch/x86/kernel/irqinit.o 
arch/x86/kernel/jump_label.o arch/x86/kernel/irq_work.o 
arch/x86/kernel/probe_roms.o arch/x86/kernel/i386_ksyms_32.o 
arch/x86/kernel/syscall_32.o arch/x86/kernel/bootflag.o arch/x86/kernel/e820.o 
arch/x86/kernel/pci-dma.o arch/x86/kernel/quirks.o arch/x86/kernel/topology.o 
arch/x86/kernel/kdebugfs.o arch/x86/kernel/alternative.o 
arch/x86/kernel/i8253.o arch/x86/kernel/pci-nommu.o 
arch/x86/kernel/hw_breakpoint.o arch/x86/kernel/tsc.o 
arch/x86/kernel/io_delay.o arch/x86/kernel/rtc.o 
arch/x86/kernel/pci-iommu_table.o arch/x86/kernel/resource.o 
arch/x86/kernel/process.o arch/x86/kernel/i387.o arch/x86/kernel/xsave.o 
arch/x86/kernel/ptrace.o arch/x86/kernel/tls.o arch/x86/kernel/step.o 
arch/x86/kernel/i8237.o arch/x86/kernel/stacktrace.o 
arch/x86/kernel/cpu/built-in.o arch/x86/kernel/acpi/built-in.o 
arch/x86/kernel/reboot.o arch/x86/kernel/msr.o arch/x86/kernel/cpuid.o 
arch/x86/kernel/early-quirks.o arch/x86/kernel/smp.o arch/x86/kernel/smpboot.o 
arch/x86/kernel/tsc_sync.o arch/x86/kernel/setup_percpu.o 
arch/x86/kernel/mpparse.o arch/x86/kernel/apic/built-in.o 
arch/x86/kernel/reboot_fixups_32.o arch/x86/kernel/trace_clock.o 
arch/x86/kernel/machine_kexec_32.o arch/x86/kernel/relocate_kernel_32.o 
arch/x86/kernel/crash.o arch/x86/kernel/crash_dump_32.o 
arch/x86/kernel/kprobes.o arch/x86/kernel/kprobes-opt.o 
arch/x86/kernel/module.o arch/x86/kernel/doublefault_32.o 
arch/x86/kernel/vm86_32.o arch/x86/kernel/early_printk.o arch/x86/kernel/hpet.o 
arch/x86/kernel/amd_nb.o arch/x86/kernel/pcspeaker.o 
arch/x86/kernel/microcode.o arch/x86/kernel/check.o arch/x86/kernel/perf_regs.o
make-3.79.1-p7[2]: *** [arch/x86/kernel/built-in.o] Error 139
make-3.79.1-p7[1]: *** [arch/x86/kernel] Error 2
make-3.79.1-p7: *** [arch/x86] Error 2

bash-3.00$ uname -a
Linux sam-build01.cisco.com 2.6.9-89.ELsmp #1 SMP Mon Jun 22 12:32:43 EDT 2009 
i686 i686 i386 GNU/Linux

bash-3.00$ ld --version
GNU ld version 2.15.92.0.2 20040927
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

From: kernelnewbies-boun...@kernelnewbies.org 
[mailto:kernelnewbies-boun...@kernelnewbies.org] On Behalf Of Giridhara RP (grp)
Sent: Wednesday, April 17, 2013 11:35 AM
To: Sarbojit Ganguly
Cc: kernelnewbies@kernelnewbies.org
Subject: RE: Build error in linux-3.8.7

Hi Sarbojit,

My gcc is 3.4.6-11. Sure, I will try 3.8.8

bash-3.00$ gcc --version
gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-11)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

From: Sarbojit Ganguly [mailto:unixman.linux...@gmail.com]
Sent: Wednesday, April 17, 2013 11:34 AM
To: Giridhara RP (grp)
Cc: kernelnewbies@kernelnewbies.orgmailto:kernelnewbies@kernelnewbies.org
Subject: Re: Build error in linux-3.8.7

Hello GRP,

Can you post your toolchain (gcc) version? As you're doing this, may I request 
you to try with 3.8.8?

Regards,
Sarbojit

On 17 April 2013 10:20, Giridhara RP (grp) 
g...@cisco.commailto:g...@cisco.com wrote:
Hi,

I am new to linux kernel buidling. I have download 3.8.7 latest (stable) kernel 
from https://www.kernel.org/. I want build kernel for X86_64.


1.   make x86_64_defconfig (this created .config file)

2.   make
Make failed with below error, please help me in resolving this.

  CC  kernel/power/user.o
  CC  kernel/power/block_io.o
  CC  kernel/power/poweroff.o
  LD  kernel/power/built-in.o
  CC  kernel/sched/core.o
  CC  kernel/sched/clock.o
  CC  kernel/sched/cputime.o
  CC  kernel/sched/idle_task.o
  CC  kernel/sched/fair.o
kernel/sched/fair.c: In function `update_curr':
kernel/sched/fair.c:428: sorry, unimplemented: inlining failed in call to 
'account_cfs_rq_runtime': function body not available
kernel/sched/fair.c:714: sorry, unimplemented: called from here
make-3.79.1-p7[2]: *** [kernel/sched/fair.o] Error 1
make-3.79.1-p7[1]: *** [kernel/sched] Error 2
make-3.79.1-p7: *** [kernel] Error 2
bash-3.00

RE: Build error in linux-3.8.7

2013-04-17 Thread Giridhara RP (grp)
Hi,

I am getting error in firmware. Any pointer will be helpful. Segmetation fault 
is gone after changning to gcc-4.5

make-3.79.1-p7[1]: Nothing to be done for `all'.
  CHK include/generated/uapi/linux/version.h
make-3.79.1-p7[1]: Nothing to be done for `relocs'.
  CHK include/generated/utsrelease.h
  CALLscripts/checksyscalls.sh
make-3.79.1-p7[1]: *** No rule to make target `|', needed by 
`firmware/bnx2/bnx2-mips-09-6.2.1a.fw.gen.S'.  Stop.
make-3.79.1-p7: *** [firmware] Error 2
make-3.79.1-p7: *** Waiting for unfinished jobs
  CHK include/generated/compile.h
  PASYMS  arch/x86/realmode/rm/pasyms.h
  VDSOSYM arch/x86/vdso/vdso32-int80-syms.lds
  LDS arch/x86/realmode/rm/realmode.lds
  LD  arch/x86/realmode/rm/realmode.elf
  RELOCS  arch/x86/realmode/rm/realmode.relocs
  OBJCOPY arch/x86/realmode/rm/realmode.bin
  VDSOSYM arch/x86/vdso/vdso32-sysenter-syms.lds
  AS  arch/x86/realmode/rmpiggy.o
  VDSOSYM arch/x86/vdso/vdso32-syms.lds
  LD  arch/x86/realmode/built-in.o
  LD  arch/x86/vdso/built-in.o
  LD  arch/x86/built-in.o
make-3.79.1-p7: *** wait: No child processes.  Stop.
bash-3.00$

Thanks
Giri

From: kernelnewbies-boun...@kernelnewbies.org 
[mailto:kernelnewbies-boun...@kernelnewbies.org] On Behalf Of Giridhara RP (grp)
Sent: Wednesday, April 17, 2013 12:33 PM
To: Sarbojit Ganguly
Cc: kernelnewbies@kernelnewbies.org
Subject: RE: Build error in linux-3.8.7

Hi Sarbojit,

Using gcc4.2.1 the compilation error disaappered, but now linker (ld) is 
crashing. Any workaround to overcome this?

CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CALLscripts/checksyscalls.sh
CHK include/generated/compile.h
LD  arch/x86/kernel/built-in.o
/bin/sh: line 1: 17454 Segmentation fault  ld -m elf_i386 -r -o 
arch/x86/kernel/built-in.o arch/x86/kernel/process_32.o 
arch/x86/kernel/signal.o arch/x86/kernel/entry_32.o arch/x86/kernel/traps.o 
arch/x86/kernel/irq.o arch/x86/kernel/irq_32.o arch/x86/kernel/dumpstack_32.o 
arch/x86/kernel/time.o arch/x86/kernel/ioport.o arch/x86/kernel/ldt.o 
arch/x86/kernel/dumpstack.o arch/x86/kernel/nmi.o arch/x86/kernel/setup.o 
arch/x86/kernel/x86_init.o arch/x86/kernel/i8259.o arch/x86/kernel/irqinit.o 
arch/x86/kernel/jump_label.o arch/x86/kernel/irq_work.o 
arch/x86/kernel/probe_roms.o arch/x86/kernel/i386_ksyms_32.o 
arch/x86/kernel/syscall_32.o arch/x86/kernel/bootflag.o arch/x86/kernel/e820.o 
arch/x86/kernel/pci-dma.o arch/x86/kernel/quirks.o arch/x86/kernel/topology.o 
arch/x86/kernel/kdebugfs.o arch/x86/kernel/alternative.o 
arch/x86/kernel/i8253.o arch/x86/kernel/pci-nommu.o 
arch/x86/kernel/hw_breakpoint.o arch/x86/kernel/tsc.o 
arch/x86/kernel/io_delay.o arch/x86/kernel/rtc.o 
arch/x86/kernel/pci-iommu_table.o arch/x86/kernel/resource.o 
arch/x86/kernel/process.o arch/x86/kernel/i387.o arch/x86/kernel/xsave.o 
arch/x86/kernel/ptrace.o arch/x86/kernel/tls.o arch/x86/kernel/step.o 
arch/x86/kernel/i8237.o arch/x86/kernel/stacktrace.o 
arch/x86/kernel/cpu/built-in.o arch/x86/kernel/acpi/built-in.o 
arch/x86/kernel/reboot.o arch/x86/kernel/msr.o arch/x86/kernel/cpuid.o 
arch/x86/kernel/early-quirks.o arch/x86/kernel/smp.o arch/x86/kernel/smpboot.o 
arch/x86/kernel/tsc_sync.o arch/x86/kernel/setup_percpu.o 
arch/x86/kernel/mpparse.o arch/x86/kernel/apic/built-in.o 
arch/x86/kernel/reboot_fixups_32.o arch/x86/kernel/trace_clock.o 
arch/x86/kernel/machine_kexec_32.o arch/x86/kernel/relocate_kernel_32.o 
arch/x86/kernel/crash.o arch/x86/kernel/crash_dump_32.o 
arch/x86/kernel/kprobes.o arch/x86/kernel/kprobes-opt.o 
arch/x86/kernel/module.o arch/x86/kernel/doublefault_32.o 
arch/x86/kernel/vm86_32.o arch/x86/kernel/early_printk.o arch/x86/kernel/hpet.o 
arch/x86/kernel/amd_nb.o arch/x86/kernel/pcspeaker.o 
arch/x86/kernel/microcode.o arch/x86/kernel/check.o arch/x86/kernel/perf_regs.o
make-3.79.1-p7[2]: *** [arch/x86/kernel/built-in.o] Error 139
make-3.79.1-p7[1]: *** [arch/x86/kernel] Error 2
make-3.79.1-p7: *** [arch/x86] Error 2

bash-3.00$ uname -a
Linux sam-build01.cisco.com 2.6.9-89.ELsmp #1 SMP Mon Jun 22 12:32:43 EDT 2009 
i686 i686 i386 GNU/Linux

bash-3.00$ ld --version
GNU ld version 2.15.92.0.2 20040927
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

From: 
kernelnewbies-boun...@kernelnewbies.orgmailto:kernelnewbies-boun...@kernelnewbies.org
 [mailto:kernelnewbies-boun...@kernelnewbies.org] On Behalf Of Giridhara RP 
(grp)
Sent: Wednesday, April 17, 2013 11:35 AM
To: Sarbojit Ganguly
Cc: kernelnewbies@kernelnewbies.orgmailto:kernelnewbies@kernelnewbies.org
Subject: RE: Build error in linux-3.8.7

Hi Sarbojit,

My gcc is 3.4.6-11. Sure, I will try 3.8.8

bash-3.00$ gcc --version
gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-11)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions

RE: Build error in linux-3.8.7

2013-04-17 Thread Giridhara RP (grp)
Thanks guys :). Finally I have a successful build.
Giri

From: kernelnewbies-boun...@kernelnewbies.org 
[mailto:kernelnewbies-boun...@kernelnewbies.org] On Behalf Of Giridhara RP (grp)
Sent: Wednesday, April 17, 2013 1:42 PM
To: Sarbojit Ganguly
Cc: kernelnewbies@kernelnewbies.org
Subject: RE: Build error in linux-3.8.7

Hi,

I am getting error in firmware. Any pointer will be helpful. Segmetation fault 
is gone after changning to gcc-4.5

make-3.79.1-p7[1]: Nothing to be done for `all'.
  CHK include/generated/uapi/linux/version.h
make-3.79.1-p7[1]: Nothing to be done for `relocs'.
  CHK include/generated/utsrelease.h
  CALLscripts/checksyscalls.sh
make-3.79.1-p7[1]: *** No rule to make target `|', needed by 
`firmware/bnx2/bnx2-mips-09-6.2.1a.fw.gen.S'.  Stop.
make-3.79.1-p7: *** [firmware] Error 2
make-3.79.1-p7: *** Waiting for unfinished jobs
  CHK include/generated/compile.h
  PASYMS  arch/x86/realmode/rm/pasyms.h
  VDSOSYM arch/x86/vdso/vdso32-int80-syms.lds
  LDS arch/x86/realmode/rm/realmode.lds
  LD  arch/x86/realmode/rm/realmode.elf
  RELOCS  arch/x86/realmode/rm/realmode.relocs
  OBJCOPY arch/x86/realmode/rm/realmode.bin
  VDSOSYM arch/x86/vdso/vdso32-sysenter-syms.lds
  AS  arch/x86/realmode/rmpiggy.o
  VDSOSYM arch/x86/vdso/vdso32-syms.lds
  LD  arch/x86/realmode/built-in.o
  LD  arch/x86/vdso/built-in.o
  LD  arch/x86/built-in.o
make-3.79.1-p7: *** wait: No child processes.  Stop.
bash-3.00$

Thanks
Giri

From: 
kernelnewbies-boun...@kernelnewbies.orgmailto:kernelnewbies-boun...@kernelnewbies.org
 [mailto:kernelnewbies-boun...@kernelnewbies.org] On Behalf Of Giridhara RP 
(grp)
Sent: Wednesday, April 17, 2013 12:33 PM
To: Sarbojit Ganguly
Cc: kernelnewbies@kernelnewbies.orgmailto:kernelnewbies@kernelnewbies.org
Subject: RE: Build error in linux-3.8.7

Hi Sarbojit,

Using gcc4.2.1 the compilation error disaappered, but now linker (ld) is 
crashing. Any workaround to overcome this?

CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CALLscripts/checksyscalls.sh
CHK include/generated/compile.h
LD  arch/x86/kernel/built-in.o
/bin/sh: line 1: 17454 Segmentation fault  ld -m elf_i386 -r -o 
arch/x86/kernel/built-in.o arch/x86/kernel/process_32.o 
arch/x86/kernel/signal.o arch/x86/kernel/entry_32.o arch/x86/kernel/traps.o 
arch/x86/kernel/irq.o arch/x86/kernel/irq_32.o arch/x86/kernel/dumpstack_32.o 
arch/x86/kernel/time.o arch/x86/kernel/ioport.o arch/x86/kernel/ldt.o 
arch/x86/kernel/dumpstack.o arch/x86/kernel/nmi.o arch/x86/kernel/setup.o 
arch/x86/kernel/x86_init.o arch/x86/kernel/i8259.o arch/x86/kernel/irqinit.o 
arch/x86/kernel/jump_label.o arch/x86/kernel/irq_work.o 
arch/x86/kernel/probe_roms.o arch/x86/kernel/i386_ksyms_32.o 
arch/x86/kernel/syscall_32.o arch/x86/kernel/bootflag.o arch/x86/kernel/e820.o 
arch/x86/kernel/pci-dma.o arch/x86/kernel/quirks.o arch/x86/kernel/topology.o 
arch/x86/kernel/kdebugfs.o arch/x86/kernel/alternative.o 
arch/x86/kernel/i8253.o arch/x86/kernel/pci-nommu.o 
arch/x86/kernel/hw_breakpoint.o arch/x86/kernel/tsc.o 
arch/x86/kernel/io_delay.o arch/x86/kernel/rtc.o 
arch/x86/kernel/pci-iommu_table.o arch/x86/kernel/resource.o 
arch/x86/kernel/process.o arch/x86/kernel/i387.o arch/x86/kernel/xsave.o 
arch/x86/kernel/ptrace.o arch/x86/kernel/tls.o arch/x86/kernel/step.o 
arch/x86/kernel/i8237.o arch/x86/kernel/stacktrace.o 
arch/x86/kernel/cpu/built-in.o arch/x86/kernel/acpi/built-in.o 
arch/x86/kernel/reboot.o arch/x86/kernel/msr.o arch/x86/kernel/cpuid.o 
arch/x86/kernel/early-quirks.o arch/x86/kernel/smp.o arch/x86/kernel/smpboot.o 
arch/x86/kernel/tsc_sync.o arch/x86/kernel/setup_percpu.o 
arch/x86/kernel/mpparse.o arch/x86/kernel/apic/built-in.o 
arch/x86/kernel/reboot_fixups_32.o arch/x86/kernel/trace_clock.o 
arch/x86/kernel/machine_kexec_32.o arch/x86/kernel/relocate_kernel_32.o 
arch/x86/kernel/crash.o arch/x86/kernel/crash_dump_32.o 
arch/x86/kernel/kprobes.o arch/x86/kernel/kprobes-opt.o 
arch/x86/kernel/module.o arch/x86/kernel/doublefault_32.o 
arch/x86/kernel/vm86_32.o arch/x86/kernel/early_printk.o arch/x86/kernel/hpet.o 
arch/x86/kernel/amd_nb.o arch/x86/kernel/pcspeaker.o 
arch/x86/kernel/microcode.o arch/x86/kernel/check.o arch/x86/kernel/perf_regs.o
make-3.79.1-p7[2]: *** [arch/x86/kernel/built-in.o] Error 139
make-3.79.1-p7[1]: *** [arch/x86/kernel] Error 2
make-3.79.1-p7: *** [arch/x86] Error 2

bash-3.00$ uname -a
Linux sam-build01.cisco.com 2.6.9-89.ELsmp #1 SMP Mon Jun 22 12:32:43 EDT 2009 
i686 i686 i386 GNU/Linux

bash-3.00$ ld --version
GNU ld version 2.15.92.0.2 20040927
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

From: 
kernelnewbies-boun...@kernelnewbies.orgmailto:kernelnewbies-boun...@kernelnewbies.org
 [mailto:kernelnewbies-boun...@kernelnewbies.org] On Behalf Of Giridhara RP 
(grp)
Sent

Build error in linux-3.8.7

2013-04-16 Thread Giridhara RP (grp)
Hi,

I am new to linux kernel buidling. I have download 3.8.7 latest (stable) kernel 
from https://www.kernel.org/. I want build kernel for X86_64.


1.   make x86_64_defconfig (this created .config file)

2.   make
Make failed with below error, please help me in resolving this.

  CC  kernel/power/user.o
  CC  kernel/power/block_io.o
  CC  kernel/power/poweroff.o
  LD  kernel/power/built-in.o
  CC  kernel/sched/core.o
  CC  kernel/sched/clock.o
  CC  kernel/sched/cputime.o
  CC  kernel/sched/idle_task.o
  CC  kernel/sched/fair.o
kernel/sched/fair.c: In function `update_curr':
kernel/sched/fair.c:428: sorry, unimplemented: inlining failed in call to 
'account_cfs_rq_runtime': function body not available
kernel/sched/fair.c:714: sorry, unimplemented: called from here
make-3.79.1-p7[2]: *** [kernel/sched/fair.o] Error 1
make-3.79.1-p7[1]: *** [kernel/sched] Error 2
make-3.79.1-p7: *** [kernel] Error 2
bash-3.00$ pwd

thanks
Giri
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies