Re: [gentoo-user] Anybody got a Gentoo system working under uclibc?

2016-04-30 Thread waltdnes
On Wed, Apr 27, 2016 at 10:12:53AM -0400, waltd...@waltdnes.org wrote
>   I'm testing uclibc in a 32-bit QEMU Gentoo VM.  I want to eventually
> install on my ancient 32-bit-only netbook.  I'm running into problems.
> See https://forums.gentoo.org/viewtopic-p-7912494.html
> 
>   To summarize...
>   * static IP works for eth0, but dhcpcd fails, which is bad news for a
> laptop or netbook

  I finally figured out dhcp.

1) net-misc/dhcp needs to be emerged, because it provides /sbin/dhclient

2) /etc/conf.d/net has to read smilar to...

config_eth0="dhclient"

Replace "eth0" with whatever the actual interface name is.

-- 
Walter Dnes 
I don't run "desktop environments"; I run useful applications



Re: [gentoo-user] Re: Where is CONFIG_MICROCODE gone in kernel 4.4.6-gentoo?

2016-04-30 Thread Neil Bothwick
On 30 April 2016 16:02:49 BST, Peter Humphrey  wrote:
> On Saturday 30 Apr 2016 10:05:40 Jonathan Callen wrote:
> 
> > The proper way to load microcode into the kernel is now to have it
> be
> > part of an initramfs (the initramfs doesn't (I think) have to
> actually
> > do anything, just have the microcode firmware in the appropriate
> > location).  This is because some things in userspace (like glibc
> itself)
> > only check once for certain CPU features at startup, and newer
> microcode
> > will actually disable some of those features on some CPUs (because
> they
> > are completely broken anyway).  This means that loading the
> microcode
> > before any userspace programs run will ensure that applications like
> > /sbin/init won't crash just because a feature they thought they
> could
> > use suddenly disappeared.
> 
> Still, it would be better if all kernel versions behaved the same way
> in 
> this respect.
> 
> -- 
> Rgds
> Peter

Not if the newer way is better, which appears to be the case here. 
-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

[Solved] Re: [gentoo-user] Nvidia-drivers does not compile anymore

2016-04-30 Thread Jacques Montier
2016-04-30 17:41 GMT+02:00 Jacques Montier <jmont...@gmail.com>:

> 2016-04-30 15:25 GMT+02:00 Neil Bothwick <n...@digimed.co.uk>:
>
>> On Sat, 30 Apr 2016 14:01:12 +0200, Jacques Montier wrote:
>>
>> > You can get the complete log in the attached file
>> > x11-drivers:nvidia-drivers-340.76:20160430-104727.log
>>
>> Which ends with
>>
>>  !!! User patches were applied to this build!
>>
>> Are you applying your own patches? Do you have anything
>> in /etc/portage/patches/x11-drivers?
>>
>> I've been caught by this one before, adding a patch that was necessary
>> for the current version, which then causes newer versions to fail.
>>
>>
>> --
>> Neil Bothwick
>>
>> If I want your opinion, I'll ask you to fill out the necessary form.
>>
>
>
> Thank you Neil,
>
> Yes, i applied the nvidia-drivers-340-76-kernel-4.0.patch (attached file).
> So i tried compiling nvidia-drivers without any patch and it fails with
> the errors :
>
> make[3]: ***
> [/var/tmp/portage/x11-drivers/nvidia-drivers-340.76/work/kernel/nv-pat.o]
> Error 1
> /var/tmp/portage/x11-drivers/nvidia-drivers-340.76/work/kernel/nv-procfs.o]
> Error 1
>
> Complete log in attached file.
>
> Best regards,
>
>
> *--*
> *Jacques*
>

Hello again,

I've found a working nvidia-drivers-340-96 (instead of 340-76) which
compiles fine with the 4.4.6 kernel and without any patch !
So it's solved !

Thanks a lot for your responses.

Best regards,

*--*
*Jacques*


Re: [gentoo-user] Re: Where is CONFIG_MICROCODE gone in kernel 4.4.6-gentoo?

2016-04-30 Thread Peter Humphrey
On Saturday 30 Apr 2016 10:05:40 Jonathan Callen wrote:

> The proper way to load microcode into the kernel is now to have it be
> part of an initramfs (the initramfs doesn't (I think) have to actually
> do anything, just have the microcode firmware in the appropriate
> location).  This is because some things in userspace (like glibc itself)
> only check once for certain CPU features at startup, and newer microcode
> will actually disable some of those features on some CPUs (because they
> are completely broken anyway).  This means that loading the microcode
> before any userspace programs run will ensure that applications like
> /sbin/init won't crash just because a feature they thought they could
> use suddenly disappeared.

Still, it would be better if all kernel versions behaved the same way in 
this respect.

-- 
Rgds
Peter




Re: [gentoo-user] Re: Where is CONFIG_MICROCODE gone in kernel 4.4.6-gentoo?

2016-04-30 Thread Mick
On Saturday 30 Apr 2016 10:05:40 Jonathan Callen wrote:
> On 04/30/2016 09:53 AM, Mick wrote:
> > On Saturday 30 Apr 2016 08:50:55 Alec Ten Harmsel wrote:
> >> On Sat, Apr 30, 2016 at 09:29:08AM +0100, Neil Bothwick wrote:
> >>> On Sat, 30 Apr 2016 09:07:29 +0100, Mick wrote:
>  I seem to have mislaid my microcode somewhere, in the latest stable
>  gentoo kernel:
>  
>  # grep -i MICROCODE .config
>  #
> >>> 
> >>> Grepping .config is unreliable, and always has been.
> >> 
> >> I usually use something like:
> >> grep MICROCODE $(find . -name Kconfig)
> >> 
> >> Alec
> > 
> > # grep -i MICROCODE /boot/config-4.4.6-gentoo
> > #
> > # grep -i MICROCODE .config
> > #
> > # grep MICROCODE $(find . -name Kconfig)
> > ./arch/x86/Kconfig:config MICROCODE
> > ./arch/x86/Kconfig:config MICROCODE_INTEL
> > ./arch/x86/Kconfig: depends on MICROCODE
> > ./arch/x86/Kconfig: default MICROCODE
> > ./arch/x86/Kconfig:config MICROCODE_AMD
> > ./arch/x86/Kconfig: depends on MICROCODE
> > ./arch/x86/Kconfig:config MICROCODE_OLD_INTERFACE
> > ./arch/x86/Kconfig: depends on MICROCODE
> > #
> > 
> > Now you see it ... now you don't!  I am getting really confused.  :-/
> > 
> > Why on this PC the MICROCODE options become available only when I enable
> > INITRD, but on other PCs such a problem does not exist?
> 
> The proper way to load microcode into the kernel is now to have it be
> part of an initramfs (the initramfs doesn't (I think) have to actually
> do anything, just have the microcode firmware in the appropriate
> location).  This is because some things in userspace (like glibc itself)
> only check once for certain CPU features at startup, and newer microcode
> will actually disable some of those features on some CPUs (because they
> are completely broken anyway).  This means that loading the microcode
> before any userspace programs run will ensure that applications like
> /sbin/init won't crash just because a feature they thought they could
> use suddenly disappeared.

Thanks Jonathan for your explanation.  I noticed another machine that loaded 
the MICROCODE as expected, had initrd enabled in the kernel although not used 
for anything else.  I will enable it on this PC too and get on with the next 
job.
-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Re: Where is CONFIG_MICROCODE gone in kernel 4.4.6-gentoo?

2016-04-30 Thread Jonathan Callen
On 04/30/2016 09:53 AM, Mick wrote:
> On Saturday 30 Apr 2016 08:50:55 Alec Ten Harmsel wrote:
>> On Sat, Apr 30, 2016 at 09:29:08AM +0100, Neil Bothwick wrote:
>>> On Sat, 30 Apr 2016 09:07:29 +0100, Mick wrote:
 I seem to have mislaid my microcode somewhere, in the latest stable
 gentoo kernel:

 # grep -i MICROCODE .config
 #
>>>
>>> Grepping .config is unreliable, and always has been.
>>
>> I usually use something like:
>>
>> grep MICROCODE $(find . -name Kconfig)
>>
>> Alec
> 
> # grep -i MICROCODE /boot/config-4.4.6-gentoo 
> # 
> # grep -i MICROCODE .config 
> # 
> # grep MICROCODE $(find . -name Kconfig)
> ./arch/x86/Kconfig:config MICROCODE
> ./arch/x86/Kconfig:config MICROCODE_INTEL
> ./arch/x86/Kconfig: depends on MICROCODE
> ./arch/x86/Kconfig: default MICROCODE
> ./arch/x86/Kconfig:config MICROCODE_AMD
> ./arch/x86/Kconfig: depends on MICROCODE
> ./arch/x86/Kconfig:config MICROCODE_OLD_INTERFACE
> ./arch/x86/Kconfig: depends on MICROCODE
> # 
> 
> Now you see it ... now you don't!  I am getting really confused.  :-/
> 
> Why on this PC the MICROCODE options become available only when I enable 
> INITRD, but on other PCs such a problem does not exist?
> 

The proper way to load microcode into the kernel is now to have it be
part of an initramfs (the initramfs doesn't (I think) have to actually
do anything, just have the microcode firmware in the appropriate
location).  This is because some things in userspace (like glibc itself)
only check once for certain CPU features at startup, and newer microcode
will actually disable some of those features on some CPUs (because they
are completely broken anyway).  This means that loading the microcode
before any userspace programs run will ensure that applications like
/sbin/init won't crash just because a feature they thought they could
use suddenly disappeared.

-- 
Jonathan Callen



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Where is CONFIG_MICROCODE gone in kernel 4.4.6-gentoo?

2016-04-30 Thread Mick
On Saturday 30 Apr 2016 08:50:55 Alec Ten Harmsel wrote:
> On Sat, Apr 30, 2016 at 09:29:08AM +0100, Neil Bothwick wrote:
> > On Sat, 30 Apr 2016 09:07:29 +0100, Mick wrote:
> > > I seem to have mislaid my microcode somewhere, in the latest stable
> > > gentoo kernel:
> > > 
> > > # grep -i MICROCODE .config
> > > #
> > 
> > Grepping .config is unreliable, and always has been.
> 
> I usually use something like:
> 
> grep MICROCODE $(find . -name Kconfig)
> 
> Alec

# grep -i MICROCODE /boot/config-4.4.6-gentoo 
# 
# grep -i MICROCODE .config 
# 
# grep MICROCODE $(find . -name Kconfig)
./arch/x86/Kconfig:config MICROCODE
./arch/x86/Kconfig:config MICROCODE_INTEL
./arch/x86/Kconfig: depends on MICROCODE
./arch/x86/Kconfig: default MICROCODE
./arch/x86/Kconfig:config MICROCODE_AMD
./arch/x86/Kconfig: depends on MICROCODE
./arch/x86/Kconfig:config MICROCODE_OLD_INTERFACE
./arch/x86/Kconfig: depends on MICROCODE
# 

Now you see it ... now you don't!  I am getting really confused.  :-/

Why on this PC the MICROCODE options become available only when I enable 
INITRD, but on other PCs such a problem does not exist?

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Arduino development on GENTOO Linux

2016-04-30 Thread Meino . Cramer
Hi Ming-Che Lee

> Hi Meino
> 
> Am 30.04.2016 um 12:13 schrieb meino.cra...@gmx.de:
> 
> > One question: 
> > Did you download the arduino-1.6.8 binary distribution or
> > the sources and compile those locally on your GENTOO box?
> 
> I wanted a quick start so I downloaded the binary distribution:
> 
> https://www.arduino.cc/download_handler.php?f=/arduino-1.6.8-linux64.tar.xz
> 
> It's good enough for me to start with as a newbie to Arduino :-)

  ...I will take them too. :)

> 
> > PS: In a few minutes I will send you a mail offlist
> > with some infos about what I have found and for what
> > I will use the arduino. I would be happy, if you
> > can use it for you arduino project also!
> 
> Thank you for the infos!

  ...you are welcome! :)

> Best regards,
> 
> Ming-Che
> 

Best regards,

Meino





Re: [gentoo-user] Nvidia-drivers does not compile anymore

2016-04-30 Thread Neil Bothwick
On Sat, 30 Apr 2016 14:01:12 +0200, Jacques Montier wrote:

> You can get the complete log in the attached file
> x11-drivers:nvidia-drivers-340.76:20160430-104727.log

Which ends with

 !!! User patches were applied to this build!

Are you applying your own patches? Do you have anything
in /etc/portage/patches/x11-drivers?

I've been caught by this one before, adding a patch that was necessary
for the current version, which then causes newer versions to fail.


-- 
Neil Bothwick

If I want your opinion, I'll ask you to fill out the necessary form.


pgpT_FpM2jSBF.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Arduino development on GENTOO Linux

2016-04-30 Thread Corbin



On 04/30/2016 12:36 AM, meino.cra...@gmx.de wrote:


but
 eix sun-jre-bin
says "not found".

So I /think/ this page is a little outdated...?



All of the Java 1.6 JREs/JDKs have been depreciated.

more info ... https://packages.gentoo.org/packages/virtual/jdk

Replacement(s) : ( Java 1.8 )
"dev-java/oracle-jdk-bin" OR "dev-java/oracle-jre-bin"




Re: [gentoo-user] Arduino development on GENTOO Linux

2016-04-30 Thread Ming-Che Lee
Hi Meino

Am 30.04.2016 um 12:13 schrieb meino.cra...@gmx.de:

> One question: 
> Did you download the arduino-1.6.8 binary distribution or
> the sources and compile those locally on your GENTOO box?

I wanted a quick start so I downloaded the binary distribution:

https://www.arduino.cc/download_handler.php?f=/arduino-1.6.8-linux64.tar.xz

It's good enough for me to start with as a newbie to Arduino :-)

> PS: In a few minutes I will send you a mail offlist
> with some infos about what I have found and for what
> I will use the arduino. I would be happy, if you
> can use it for you arduino project also!

Thank you for the infos!

Best regards,

Ming-Che



Re: [gentoo-user] Where is CONFIG_MICROCODE gone in kernel 4.4.6-gentoo?

2016-04-30 Thread Alec Ten Harmsel
On Sat, Apr 30, 2016 at 09:29:08AM +0100, Neil Bothwick wrote:
> On Sat, 30 Apr 2016 09:07:29 +0100, Mick wrote:
> 
> > I seem to have mislaid my microcode somewhere, in the latest stable
> > gentoo kernel:
> > 
> > # grep -i MICROCODE .config
> > #
> 
> Grepping .config is unreliable, and always has been.

I usually use something like:

grep MICROCODE $(find . -name Kconfig)

Alec



Re: [gentoo-user] Where is CONFIG_MICROCODE gone in kernel 4.4.6-gentoo?

2016-04-30 Thread Peter Humphrey
On Saturday 30 Apr 2016 10:24:43 Mick wrote:
> On Saturday 30 Apr 2016 09:29:08 Neil Bothwick wrote:
> > On Sat, 30 Apr 2016 09:07:29 +0100, Mick wrote:
> > > I seem to have mislaid my microcode somewhere, in the latest stable
> > > gentoo kernel:
> > > 
> > > # grep -i MICROCODE .config
> > > #
> > 
> > Grepping .config is unreliable, and always has been. You should use the
> > search option in make menuconfig. If th eoption you want does not show
> > up
> > in .config, you are probably missing one of the options it depends on.
> 
> Thanks Neil, I use both, especially if grepping does not reveal what I am
> looking for.
> 
> > The search results show what they are and whether they are set. I get
> > this
> > 
> > Symbol: MICROCODE [=y]
> > 
> >   Type  : boolean
> >   Prompt: CPU microcode loading support
> >   Location:
> >   (1) -> Processor type and features
> >   
> > Defined at arch/x86/Kconfig:1159
> > Depends on: CPU_SUP_AMD [=y] || CPU_SUP_INTEL [=y]
> > Selects: FW_LOADER [=y]
> 
> Yes, I got (almost) the same and it shows that MICROCODE is a top level
> module, but I can't see it when I walk through the 'Processor type and
> features' contents.  Fine, my eyesight is not what it used to be, but it
> can't be this bad!  :p
> 
> Symbol: MICROCODE [=n]
> Type  : boolean
> Prompt: CPU microcode loading support
>   Location:
> (1) -> Processor type and features
>   Defined at arch/x86/Kconfig:1125
>   Depends on: (CPU_SUP_AMD [=y] || CPU_SUP_INTEL [=y]) && BLK_DEV_INITRD
>   Selects: FW_LOADER [=y]

It seems to require BLK_DEV_INITRD if my logic is still up to scratch. What 
happens if you set this; does MICROCODE appear then?

This is odd, because I see this, searching from the /usr/src/ directory:

peak src # grep MICROCODE linux-4.4.6-gentoo/.config
#

peak src # grep MICROCODE linux-4.4.7-gentoo/.config
CONFIG_MICROCODE=y
CONFIG_MICROCODE_INTEL=y
# CONFIG_MICROCODE_AMD is not set
CONFIG_MICROCODE_OLD_INTERFACE=y

peak src # grep MICROCODE linux-4.5.0-gentoo-r1/.config
#

peak src # grep MICROCODE linux-4.5.1-gentoo/.config
CONFIG_MICROCODE=y
CONFIG_MICROCODE_INTEL=y
# CONFIG_MICROCODE_AMD is not set
CONFIG_MICROCODE_OLD_INTERFACE=y

So the rules seem to change with succeeding versions of the kernel. Not sure 
what to suggest here.

(I've been playing with lots of versions of kernel, boinc, virtualbox and 
others recently, which is why I still have those kernel sources installed. 
I've compiled and booted all of them at various times.)

-- 
Rgds
Peter




Re: [gentoo-user] Nvidia-drivers does not compile anymore

2016-04-30 Thread Alan McKinnon
On 30/04/2016 12:52, Jacques Montier wrote:
> Hello all,
> 
> I need nvidia-drivers-340.76 for my Nvidia GeForce GT240 graphic card.
> I use nvidia-drivers-340.76 from a local overlay with the
> nvidia-drivers-340-76-kernel-4.0.patch which works fine with
> gentoo-sources-4.1.15-r1.
> I would like to upgrade to the 4.4.6 kernel.
> Unfortunately, nvidia-drivers-340.76 does not compile anymore.
> I get the errors :
> 
> 3410:make[3]: ***
> [/var/tmp/portage/x11-drivers/nvidia-drivers-340.76/work/kernel/nv-procfs.o]
> Error 1
> 3651:make[2]: ***
> [_module_/var/tmp/portage/x11-drivers/nvidia-drivers-340.76/work/kernel]
> Error 2
> 3654:make[1]: *** [sub-make] Error 2
> 3659:make: *** [nvidia.ko] Error 1
> 
> Any idea ? New patch ?
> 
> Thanks a lot,
> 
> Regards,
> 
> /--/
> /Jacques/


The real error is higher up in the output. Please post it.

-- 
Alan McKinnon
alan.mckin...@gmail.com




[gentoo-user] Nvidia-drivers does not compile anymore

2016-04-30 Thread Jacques Montier
Hello all,

I need nvidia-drivers-340.76 for my Nvidia GeForce GT240 graphic card.
I use nvidia-drivers-340.76 from a local overlay with the
nvidia-drivers-340-76-kernel-4.0.patch which works fine with
gentoo-sources-4.1.15-r1.
I would like to upgrade to the 4.4.6 kernel.
Unfortunately, nvidia-drivers-340.76 does not compile anymore.
I get the errors :

3410:make[3]: ***
[/var/tmp/portage/x11-drivers/nvidia-drivers-340.76/work/kernel/nv-procfs.o]
Error 1
3651:make[2]: ***
[_module_/var/tmp/portage/x11-drivers/nvidia-drivers-340.76/work/kernel]
Error 2
3654:make[1]: *** [sub-make] Error 2
3659:make: *** [nvidia.ko] Error 1

Any idea ? New patch ?

Thanks a lot,

Regards,

*--*
*Jacques*


Re: [gentoo-user] Arduino development on GENTOO Linux

2016-04-30 Thread Meino . Cramer
Ming-Che Lee  [16-04-30 12:04]:
> Hi Meino
> 
> Am 30.04.2016 um 07:36 schrieb meino.cra...@gmx.de:
> > Hi,
> >
> > WARNING! I AM __VERY__ NEW TO ARDUINO!  :)
> >
> > For a little project I need to program an Arduino board.
> > Since all needed lib/scatched/script - or whatever it
> > is called in case of the Arduino - are already implemented
> > by someone else I will not reinvent the wheel a second time :)
> >
> > Therefore I need the Arduino IDE.
> >
> 
> I am also new to Arduino, so here is what I did last week to install the
> latest Arduino IDE 1.6.8.
> 
> I started with installing Arduino IDE 1.0.5 from GENTOO:
> 
> $ emerge arduino
> 
> It pulled in all needed dependent packages for the IDE. Look carefully
> at the information displayed at the end of the emerge. You have to run
> 
> $ crossdev -s4 avr
> 
> to have the Tool-Chain for Arduino compiled.
> 
> Unfortunately I could not use IDE 1.0.5 because it didn't show some
> highlighted commands in the IDE correctly. So I downloaded IDE 1.6.8 and
> unzipped it in /opt. Next step was to run the installer
> 
> $ /opt/arduino-1.6.8/install.sh
> 
> To start IDE 1.6.8: /opt/arduino-1.6.8/arduino or via menu item.
> 
> Hope this helps.
> 
> Beste regards,
> 
> Ming-Che
> 
> 

Hi Ming-Che,


WHOW! :)

Thanks a LOT for the explanations! 8)
That will help to start programming the Arduino!

One question: 
Did you download the arduino-1.6.8 binary distribution or
the sources and compile those locally on your GENTOO box?

Best regards

Meino

PS: In a few minutes I will send you a mail offlist
with some infos about what I have found and for what
I will use the arduino. I would be happy, if you
can use it for you arduino project also!





Re: [gentoo-user] Where is CONFIG_MICROCODE gone in kernel 4.4.6-gentoo?

2016-04-30 Thread Mick
On Saturday 30 Apr 2016 10:36:28 Neil Bothwick wrote:
> On Sat, 30 Apr 2016 10:24:43 +0100, Mick wrote:
> > Yes, I got (almost) the same and it shows that MICROCODE is a top level
> > module, but I can't see it when I walk through the 'Processor type and
> > features' contents.  Fine, my eyesight is not what it used to be, but
> > it can't be this bad!  :p
> > 
> > Symbol: MICROCODE [=n]
> > Type  : boolean
> > Prompt: CPU microcode loading support
> > 
> >   Location:
> > (1) -> Processor type and features
> 
>^
> 
> >   Defined at arch/x86/Kconfig:1125
> >   Depends on: (CPU_SUP_AMD [=y] || CPU_SUP_INTEL [=y]) &&
> > 
> > BLK_DEV_INITRD Selects: FW_LOADER [=y]
> > 
> > I built this 4.4.6 kernel with oldconfig, so it *should* retain
> > previously selected modules, like MICROCODE.  Either way, why would it
> > not show in menuconfig, if a search says it is?
> 
> What happens when you press 1?

It takes me to level 0 of menuconfig, with "Processor type and features --->" 
highlighted.  Ditto when I press 3, which is Intel Microcode module.  :-/

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Arduino development on GENTOO Linux

2016-04-30 Thread Ming-Che Lee
Hi Meino

Am 30.04.2016 um 07:36 schrieb meino.cra...@gmx.de:
> Hi,
>
> WARNING! I AM __VERY__ NEW TO ARDUINO!  :)
>
> For a little project I need to program an Arduino board.
> Since all needed lib/scatched/script - or whatever it
> is called in case of the Arduino - are already implemented
> by someone else I will not reinvent the wheel a second time :)
>
> Therefore I need the Arduino IDE.
>

I am also new to Arduino, so here is what I did last week to install the
latest Arduino IDE 1.6.8.

I started with installing Arduino IDE 1.0.5 from GENTOO:

$ emerge arduino

It pulled in all needed dependent packages for the IDE. Look carefully
at the information displayed at the end of the emerge. You have to run

$ crossdev -s4 avr

to have the Tool-Chain for Arduino compiled.

Unfortunately I could not use IDE 1.0.5 because it didn't show some
highlighted commands in the IDE correctly. So I downloaded IDE 1.6.8 and
unzipped it in /opt. Next step was to run the installer

$ /opt/arduino-1.6.8/install.sh

To start IDE 1.6.8: /opt/arduino-1.6.8/arduino or via menu item.

Hope this helps.

Beste regards,

Ming-Che




Re: [gentoo-user] Where is CONFIG_MICROCODE gone in kernel 4.4.6-gentoo?

2016-04-30 Thread Neil Bothwick
On Sat, 30 Apr 2016 10:24:43 +0100, Mick wrote:

> Yes, I got (almost) the same and it shows that MICROCODE is a top level 
> module, but I can't see it when I walk through the 'Processor type and 
> features' contents.  Fine, my eyesight is not what it used to be, but
> it can't be this bad!  :p
> 
> Symbol: MICROCODE [=n] 
> Type  : boolean  
> Prompt: CPU microcode loading support  
>   Location:  
> (1) -> Processor type and features  
   ^
>   Defined at arch/x86/Kconfig:1125  
>   Depends on: (CPU_SUP_AMD [=y] || CPU_SUP_INTEL [=y]) &&
> BLK_DEV_INITRD Selects: FW_LOADER [=y]
> 
> I built this 4.4.6 kernel with oldconfig, so it *should* retain
> previously selected modules, like MICROCODE.  Either way, why would it
> not show in menuconfig, if a search says it is?

What happens when you press 1?


-- 
Neil Bothwick

DOS never says "EXCELLENT command or filename"...


pgpdfy158H5YW.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Where is CONFIG_MICROCODE gone in kernel 4.4.6-gentoo?

2016-04-30 Thread Mick
On Saturday 30 Apr 2016 09:29:08 Neil Bothwick wrote:
> On Sat, 30 Apr 2016 09:07:29 +0100, Mick wrote:
> > I seem to have mislaid my microcode somewhere, in the latest stable
> > gentoo kernel:
> > 
> > # grep -i MICROCODE .config
> > #
> 
> Grepping .config is unreliable, and always has been. You should use the
> search option in make menuconfig. If th eoption you want does not show up
> in .config, you are probably missing one of the options it depends on.

Thanks Neil, I use both, especially if grepping does not reveal what I am 
looking for.

> The search results show what they are and whether they are set. I get this
> 
> Symbol: MICROCODE [=y]
>   Type  : boolean
>   Prompt: CPU microcode loading support
>   Location:
>   (1) -> Processor type and features
> Defined at arch/x86/Kconfig:1159
> Depends on: CPU_SUP_AMD [=y] || CPU_SUP_INTEL [=y]
> Selects: FW_LOADER [=y]

Yes, I got (almost) the same and it shows that MICROCODE is a top level 
module, but I can't see it when I walk through the 'Processor type and 
features' contents.  Fine, my eyesight is not what it used to be, but it can't 
be this bad!  :p

Symbol: MICROCODE [=n] 
Type  : boolean  
Prompt: CPU microcode loading support  
  Location:  
(1) -> Processor type and features  
  Defined at arch/x86/Kconfig:1125  
  Depends on: (CPU_SUP_AMD [=y] || CPU_SUP_INTEL [=y]) && BLK_DEV_INITRD 
  Selects: FW_LOADER [=y]

I built this 4.4.6 kernel with oldconfig, so it *should* retain previously 
selected modules, like MICROCODE.  Either way, why would it not show in 
menuconfig, if a search says it is?

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Where is CONFIG_MICROCODE gone in kernel 4.4.6-gentoo?

2016-04-30 Thread Neil Bothwick
On Sat, 30 Apr 2016 09:07:29 +0100, Mick wrote:

> I seem to have mislaid my microcode somewhere, in the latest stable
> gentoo kernel:
> 
> # grep -i MICROCODE .config
> #

Grepping .config is unreliable, and always has been. You should use the
search option in make menuconfig. If th eoption you want does not show up
in .config, you are probably missing one of the options it depends on.
The search results show what they are and whether they are set. I get this

Symbol: MICROCODE [=y]
  Type  : boolean
  Prompt: CPU microcode loading support
  Location:
  (1) -> Processor type and features
Defined at arch/x86/Kconfig:1159
Depends on: CPU_SUP_AMD [=y] || CPU_SUP_INTEL [=y]
Selects: FW_LOADER [=y]


-- 
Neil Bothwick

WinErr 002: No Error - Yet


pgpvjA3NRonBa.pgp
Description: OpenPGP digital signature


[gentoo-user] Where is CONFIG_MICROCODE gone in kernel 4.4.6-gentoo?

2016-04-30 Thread Mick
I seem to have mislaid my microcode somewhere, in the latest stable gentoo 
kernel:

# grep -i MICROCODE .config
#

As a result I get this during boot:

# /etc/init.d/microcode_ctl start
 * Updating microcode ...
microcode_ctl: cannot open /dev/cpu/microcode for writing errno=2 (No such 
file or directory)
 * Failed to update microcode via '/dev/cpu/microcode'  


[ !! ]
 * ERROR: microcode_ctl failed to start


The previous kernel contained this:

# grep -i MICROCODE /boot/config-4.1.15-r1-gentoo 
CONFIG_MICROCODE=y
CONFIG_MICROCODE_INTEL=y
# CONFIG_MICROCODE_AMD is not set
CONFIG_MICROCODE_OLD_INTERFACE=y


Is there something else I ought to switch on first?

-- 
Regards,
Mick

signature.asc
Description: This is a digitally signed message part.