Virtual console devices

2018-08-05 Thread Tushar Dave
Hello,

I am trying to optimize boot up time for my board.

I ran bootchart and observed that virtual console devices are being created
in very high number which finally cause the boot up time to increase by 1.5
seconds.

I have been researching as to where these are actually being created and
have failed to find anything concrete.Is there some way to reduce the
count of virtual devices on the kernel side?

Regards,
Tushar
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Problem of compiling linux2.6.11.12 kernel

2018-08-05 Thread Daniel.
Try with gcc 4 you may get it from AUR

Em dom, 5 de ago de 2018 23:07, He Huanyu  escreveu:

> As you know,4.x version is so complex. And
> it‘s difficult to read the source code for newbies like me.
>
> Of course one of the most important reasons is that I am reading
> 《UNDERSTANDING THE LINUX KERNEL》 :)  And it’s for 2.6.11 version. I am
> thinking about build a environment to practice.
>
> On 08/06/2018 05:36, valdis.kletnieks  wrote:
>
> On Mon, 06 Aug 2018 01:10:40 +0800, "He Huanyu" said:
>
> > linux 4.16.9-1-ARCH
> > gcc (GCC) 8.1.1 20180531
> > GNU ld (GNU Binutils) 2.30
>
> > And I get a problem like this, don't know if it is because of the
> version of gcc or ld:
>
> The problem is the version of Linux.  2.6.11 probably won't build with gcc
> 8.
>
> Why are you trying to build 2.6.11 if you have 4.16 available? That dates
> to June 2005,
> and is only of interest to software archaeologists.
>
> ___
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Problem of compiling linux2.6.11.12 kernel

2018-08-05 Thread He Huanyu
As you know,4.x version is so complex. And
it‘s difficult to read the source code for newbies like me.


Of course one of the most important reasons is that I am reading 《UNDERSTANDING 
THE LINUX KERNEL》 :)  And it’s for 2.6.11 version. I am thinking about build a 
environment to practice.


On 08/06/2018 05:36, valdis.kletnieks wrote:
On Mon, 06 Aug 2018 01:10:40 +0800, "He Huanyu" said:

> linux 4.16.9-1-ARCH
> gcc (GCC) 8.1.1 20180531
> GNU ld (GNU Binutils) 2.30

> And I get a problem like this, don't know if it is because of the version of 
> gcc or ld:

The problem is the version of Linux.  2.6.11 probably won't build with gcc 8.

Why are you trying to build 2.6.11 if you have 4.16 available? That dates to 
June 2005,
and is only of interest to software archaeologists.
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Problem of compiling linux2.6.11.12 kernel

2018-08-05 Thread valdis . kletnieks
On Mon, 06 Aug 2018 01:10:40 +0800, "He Huanyu" said:

> linux 4.16.9-1-ARCH
> gcc (GCC) 8.1.1 20180531
> GNU ld (GNU Binutils) 2.30

> And I get a problem like this, don't know if it is because of the version of 
> gcc or ld:

The problem is the version of Linux.  2.6.11 probably won't build with gcc 8.

Why are you trying to build 2.6.11 if you have 4.16 available? That dates to 
June 2005,
and is only of interest to software archaeologists.


pgpgAnEc40V6z.pgp
Description: PGP signature
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Problem of compiling linux2.6.11.12 kernel

2018-08-05 Thread He Huanyu
Hi everyone,
I try to compile linux kernel of 2.6.11.12 version on my 64bit archlinux. 
Below is my system information:
linux 4.16.9-1-ARCH
gcc (GCC) 8.1.1 20180531
GNU ld (GNU Binutils) 2.30


And I get a problem like this, don't know if it is because of the version of 
gcc or ld:
 
/usr/bin/ld: arch/x86_64/ia32/vsyscall-sysenter.so: Not enough room for program 
headers, try linking with -N
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
make[1]: *** [arch/x86_64/ia32/Makefile:28: 
arch/x86_64/ia32/vsyscall-sysenter.so] Error 1
make: *** [Makefile:742: arch/x86_64/ia32] Error 2


I've tried to add ld parameter, but didn't know how and where to add this...
Have you met this before? And how can I fix it?



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