Re: [gentoo-user] Re: new hi-res display won't work at top res

2017-05-29 Thread allan gottlieb
On Mon, May 29 2017, mp wrote:

> allan gottlieb wrote:
>
>> Dell latitude E7450 with intel 915 graphics, gnome 3, systemd.
>> 
>> lspci:
>> VGA compatible controller: Intel Corporation HD Graphics 5500 
>> (rev 09)
>
> I think i965 is the better driver for your system, not i915. 
>
>> I just bought a new dell 34" curved monitor (U3417).
>> It's max res is 3440X2560, but at that res it complains that no 
> signal
>> is coming.  It works fine at other res (including 2560x1440).
>
> Which connector are you using? HDMI output of your laptop is most 
> likely limited to 2560x1600. I checked and many Latitude ultrabooks 
> have a displayport (of mini variety generally) output. If you use 
> that connector you may get the resolution you wanted (you may still 
> need newer drivers). 
>
>> The dell manual says to get new drivers and I am indeed running 
> an old
>> kernel, 3.18.16-gentoo.  The highest stable is 4.9.16 and I am
>> planning to build and employ it this summer.
>> 
>> Has high res support been added to the intel graphics driver?

The "failure" occurred when using the dell docking station and display
port from the dock to the monitor.  I booted into windows (first time in
over a year) and the same cabling worked perfectly for 3440x2500.

I have now ditched the dock and am running hdmi directly from the laptop
to the monitor and again success at 3440x2500.

I will soon try Canek's suggestion of setting VIDEO_CARDS and using the
built-in drivers.

thanks,
allan




Re: [gentoo-user] new hi-res display won't work at top res

2017-05-29 Thread allan gottlieb
On Mon, May 29 2017, Canek Peláez Valdés wrote:

> On Fri, May 19, 2017 at 10:58 AM, allan gottlieb  wrote:
>
>> Dell latitude E7450 with intel 915 graphics, gnome 3, systemd.
>>
>> lspci:
>> VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09)
>>
>> I just bought a new dell 34" curved monitor (U3417).
>> It's max res is 3440X2560, but at that res it complains that no signal
>> is coming.  It works fine at other res (including 2560x1440).
>>
>> The dell manual says to get new drivers and I am indeed running an old
>> kernel, 3.18.16-gentoo.  The highest stable is 4.9.16 and I am planning
>> to build and employ it this summer.
>>
>> Has high res support been added to the intel graphics driver?
>>
>> thanks,
>> allan
>>
>
> You don't need the Intel graphics driver, they are actually deprecated [1].
>
> Just set your VIDEO_CARDS to:
>
> VIDEO_CARDS="intel i965"
>
> and do emerge -uDNvp @world; when you do emerge --depclean,
> xf86-video-intel will be uninstalled.
>
> The built-in modesetting driver is the one recommended; I'm pretty sure it
> will support the maximum res of your new monitor.
>
> Regards.

Canek,

Thank you very much!

allan



[gentoo-user] Re: [SOLVED] Can I resize /dev/shm on the fly?

2017-05-29 Thread Nikos Chantziaras

On 05/29/2017 10:13 PM, Walter Dnes wrote:

On Mon, May 29, 2017 at 10:05:02PM +0300, Mart Raudsepp wrote

Ühel kenal päeval, E, 29.05.2017 kell 14:47, kirjutas Walter Dnes:

   I was using a chroot, and I bind-mounted the chroot's /dev and
/proc
and /sys on top of the host machine's directories.  Bad idea... I now
have a 10 megabyte /dev/shm on the host.  Is it possible to resize
/dev/shm to approx 1 gigabyte without rebooting?


mount -oremount,size=1G /dev/shm

Provided it's a tmpfs like it is for me.


   Thanks; that pointed me in the right direction.  The command gave me a
response "mount: /dev/shm not mounted or bad option".  After some trial
and error, I found I had to...

mount -o remount,size=1G /dev


That does not look correct. /dev/shm should be a separate mount point, 
independent of /dev.





Re: [gentoo-user] Samba patching?

2017-05-29 Thread Stefan G. Weichinger
Am 2017-05-29 um 22:36 schrieb Mart Raudsepp:
> Ühel kenal päeval, E, 29.05.2017 kell 22:12, kirjutas Stefan G.
> Weichinger:
>> how do we gentoo-users handle CVE-2017-7494 ?
> 
> You upgrade to the version including the fix. 4.5.10, that is.
> https://bugs.gentoo.org/show_bug.cgi?id=CVE-2017-7494

thanks for the pointer




Re: [gentoo-user] Samba patching?

2017-05-29 Thread Mart Raudsepp
Ühel kenal päeval, E, 29.05.2017 kell 22:12, kirjutas Stefan G.
Weichinger:
> how do we gentoo-users handle CVE-2017-7494 ?

You upgrade to the version including the fix. 4.5.10, that is.
https://bugs.gentoo.org/show_bug.cgi?id=CVE-2017-7494




[gentoo-user] Samba patching?

2017-05-29 Thread Stefan G. Weichinger

how do we gentoo-users handle CVE-2017-7494 ?



[gentoo-user] Re: Kernel did not finding root partition

2017-05-29 Thread Kai Krakow
Am Mon, 29 May 2017 19:16:11 +0100
schrieb Neil Bothwick :

> On Mon, 29 May 2017 15:07:48 -0300, Raphael MD wrote:
> 
>  [...]  
> 
> > > 1. partition layout
> > > 2. kernel cmdline
> > > 3. boot-loader config
> > > 4. exact error message on screen  
> 
> > 1. partition layout
> > /dev/sda1 vfat boot
> > /dev/sda3 xfs   root
> > /dev/sda2 swap  
> 
> That looks OK.

Yes, but I am missing some info:

Is sda1 marked as ESP?

Also, you should mark sda3 as root partition through gptfdisk.

That way, any modern EFI boot loader should be able to auto-configure
everything.

> > > 2. kernel cmdline
> > None  
> 
> Are you letting rEFInd auto-detect it? Maybe you need to configure it
> manually with a root= setting.

I think you need a working initrd for auto-detection to work. At least,
systemd is able to assemble the partitions from GPT partition type
settings and can autodetect boot, swap and rootfs.

Otherwise, you should give at least a root= cmdline.

> > > 3. boot-loader config
> > Grub, without any different config.  
> 
> You said you were using rEFInd, why have you got GRUB as well. rEFInd
> can work without a config, GRUB cannot.

This puzzles me, too... Maybe rEFInd was installed to sda and grub
installed to sda1, so rEFInd would chain-boot through grub.

Grub, however, won't work without a config file. I'd also suggest to
skip grub completely and use just one loader.

> > > 4. exact error message on screen
> > Kernel boot up, start to load drivers and stop asking for root
> > partition.  
> 
> That's a summary, not an exact message. As such it gives no useful
> information.

Yes, this is not helpful. How could one expect us to be helpful if
she/he refuses to give details? Nobody requires to copy the screen
contents by hand. For me, a useful screen shot taken with a mobile
phone camera would be a first step.

I think there are even services which can OCR such a screen shot...


-- 
Regards,
Kai

Replies to list-only preferred.


pgpcttxRPkMin.pgp
Description: Digitale Signatur von OpenPGP


Re: [gentoo-user] new hi-res display won't work at top res

2017-05-29 Thread Canek Peláez Valdés
You don't need the Intel graphics driver, they are actually deprecated [1].

Just set your VIDEO_CARDS to:

VIDEO_CARDS="intel i965"

and do emerge -uDNvp @world; when you do emerge --depclean,
xf86-video-intel will be uninstalled.

The built-in modesetting driver is the one recommended; I'm pretty sure it
will support the maximum res of your new monitor.

Regards.

[1] https://wiki.gentoo.org/wiki/Intel#Drivers, check the "Important" note.

On Fri, May 19, 2017 at 10:58 AM, allan gottlieb  wrote:

> Dell latitude E7450 with intel 915 graphics, gnome 3, systemd.
>
> lspci:
> VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09)
>
> I just bought a new dell 34" curved monitor (U3417).
> It's max res is 3440X2560, but at that res it complains that no signal
> is coming.  It works fine at other res (including 2560x1440).
>
> The dell manual says to get new drivers and I am indeed running an old
> kernel, 3.18.16-gentoo.  The highest stable is 4.9.16 and I am planning
> to build and employ it this summer.
>
> Has high res support been added to the intel graphics driver?
>
> thanks,
> allan
>
>


-- 
Dr. Canek Peláez Valdés
Profesor de Carrera Asociado C
Departamento de Matemáticas
Facultad de Ciencias
Universidad Nacional Autónoma de México


[gentoo-user] [SOLVED] Can I resize /dev/shm on the fly?

2017-05-29 Thread Walter Dnes
On Mon, May 29, 2017 at 10:05:02PM +0300, Mart Raudsepp wrote
> Ühel kenal päeval, E, 29.05.2017 kell 14:47, kirjutas Walter Dnes:
> >   I was using a chroot, and I bind-mounted the chroot's /dev and
> > /proc
> > and /sys on top of the host machine's directories.  Bad idea... I now
> > have a 10 megabyte /dev/shm on the host.  Is it possible to resize
> > /dev/shm to approx 1 gigabyte without rebooting?
> 
> mount -oremount,size=1G /dev/shm
> 
> Provided it's a tmpfs like it is for me.

  Thanks; that pointed me in the right direction.  The command gave me a
response "mount: /dev/shm not mounted or bad option".  After some trial
and error, I found I had to...

mount -o remount,size=1G /dev

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



[gentoo-user] Re: new hi-res display won't work at top res

2017-05-29 Thread mp666
allan gottlieb wrote:

> Dell latitude E7450 with intel 915 graphics, gnome 3, systemd.
> 
> lspci:
> VGA compatible controller: Intel Corporation HD Graphics 5500 
> (rev 09)

I think i965 is the better driver for your system, not i915. 

> I just bought a new dell 34" curved monitor (U3417).
> It's max res is 3440X2560, but at that res it complains that no 
signal
> is coming.  It works fine at other res (including 2560x1440).

Which connector are you using? HDMI output of your laptop is most 
likely limited to 2560x1600. I checked and many Latitude ultrabooks 
have a displayport (of mini variety generally) output. If you use 
that connector you may get the resolution you wanted (you may still 
need newer drivers). 

> The dell manual says to get new drivers and I am indeed running 
an old
> kernel, 3.18.16-gentoo.  The highest stable is 4.9.16 and I am
> planning to build and employ it this summer.
> 
> Has high res support been added to the intel graphics driver?





Re: [gentoo-user] Can I resize /dev/shm on the fly?

2017-05-29 Thread Mart Raudsepp
Ühel kenal päeval, E, 29.05.2017 kell 14:47, kirjutas Walter Dnes:
>   I was using a chroot, and I bind-mounted the chroot's /dev and
> /proc
> and /sys on top of the host machine's directories.  Bad idea... I now
> have a 10 megabyte /dev/shm on the host.  Is it possible to resize
> /dev/shm to approx 1 gigabyte without rebooting?

mount -oremount,size=1G /dev/shm

Provided it's a tmpfs like it is for me.

>   And how do I set up a working /dev and /proc and /sys on the chroot
> separately to avoid this in future?  I need /proc/cpuinfo because I
> have
> a build script in the chroot that checks the number of cores, and
> sets
> makeopts accordingly.  Also I need /dev/null.




[gentoo-user] Can I resize /dev/shm on the fly?

2017-05-29 Thread Walter Dnes
  I was using a chroot, and I bind-mounted the chroot's /dev and /proc
and /sys on top of the host machine's directories.  Bad idea... I now
have a 10 megabyte /dev/shm on the host.  Is it possible to resize
/dev/shm to approx 1 gigabyte without rebooting?

  And how do I set up a working /dev and /proc and /sys on the chroot
separately to avoid this in future?  I need /proc/cpuinfo because I have
a build script in the chroot that checks the number of cores, and sets
makeopts accordingly.  Also I need /dev/null.

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



Re: [gentoo-user] Re: Kernel did not finding root partition

2017-05-29 Thread Neil Bothwick
On Mon, 29 May 2017 15:07:48 -0300, Raphael MD wrote:

> > > PS.: Appear to be very simple configure UEFI, because I'm using
> > > Refind and it was working with Funtoo, and I realized this problem
> > > is with gentoo kernel's config, but I do not know where I need to
> > > config.

> > 1. partition layout
> > 2. kernel cmdline
> > 3. boot-loader config
> > 4. exact error message on screen

> 1. partition layout
> /dev/sda1 vfat boot
> /dev/sda3 xfs   root
> /dev/sda2 swap

That looks OK.

> > 2. kernel cmdline  
> None

Are you letting rEFInd auto-detect it? Maybe you need to configure it
manually with a root= setting.
 
> > 3. boot-loader config  
> Grub, without any different config.

You said you were using rEFInd, why have you got GRUB as well. rEFInd can
work without a config, GRUB cannot.

> > 4. exact error message on screen  
> Kernel boot up, start to load drivers and stop asking for root
> partition.

That's a summary, not an exact message. As such it gives no useful
information.


-- 
Neil Bothwick

Life's a cache, and then you flush...


pgpx32DrOE4aZ.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: Kernel did not finding root partition

2017-05-29 Thread Raphael MD
On May 29, 2017 14:51, "Kai Krakow"  wrote:
>
> Am Mon, 29 May 2017 08:09:02 -0300
> schrieb Raphael MD :
>
> > I'm trying to install Gentoo in my notebook, but kernel, during the
> > boot, do not find the root partition.
> >
> > I'm using UEFI boot, I've tried Genkernel, I've checked XFS's support
> > in kernel's menuconfig and re-cheked GRUB config files, but is a
> > pain, do not work.
> >
> > I've installed Funtoo with Debian Kernel first, but Funtoo KDE's
> > ebuild was pointing to a invalid URL and I've switched to Gentoo and
> > now I'm suffering this problem to boot.
> >
> > Have anyone some information, about this Kernel's boot didn't finding
> > root partition? Is better configure kernel without Genkernel? I need
> > to pass some commands to Kernel via GRUB?
> >
> > PS.: Appear to be very simple configure UEFI, because I'm using
> > Refind and it was working with Funtoo, and I realized this problem is
> > with gentoo kernel's config, but I do not know where I need to config.
> >
> > Any suggestions?
>
> For UEFI boot the best way is to install the kernel to the ESP,
> especially if it is directly loaded by EFI. Which exact message do you
> see? It is not clear if the kernel already booted and just cannot find
> the rootfs, or if even the kernel cannot load.
>
> I don't know reFind, but some EFI loaders like gummiboot / systemd-boot
> expect the kernel to have an EFI stub because the kernel is
> chain-loaded through EFI...
>
> So we need to know a few things:
>
> 1. partition layout
> 2. kernel cmdline
> 3. boot-loader config
> 4. exact error message on screen
>
>
> --
> Regards,
> Kai
>
> Replies to list-only preferred.
>
>

1. partition layout
/dev/sda1 vfat boot
/dev/sda3 xfs   root
/dev/sda2 swap

> 2. kernel cmdline
None

> 3. boot-loader config
Grub, without any different config.

> 4. exact error message on screen
Kernel boot up, start to load drivers and stop asking for root partition.


[gentoo-user] Re: Kernel did not finding root partition

2017-05-29 Thread Kai Krakow
Am Mon, 29 May 2017 08:09:02 -0300
schrieb Raphael MD :

> I'm trying to install Gentoo in my notebook, but kernel, during the
> boot, do not find the root partition.
> 
> I'm using UEFI boot, I've tried Genkernel, I've checked XFS's support
> in kernel's menuconfig and re-cheked GRUB config files, but is a
> pain, do not work.
> 
> I've installed Funtoo with Debian Kernel first, but Funtoo KDE's
> ebuild was pointing to a invalid URL and I've switched to Gentoo and
> now I'm suffering this problem to boot.
> 
> Have anyone some information, about this Kernel's boot didn't finding
> root partition? Is better configure kernel without Genkernel? I need
> to pass some commands to Kernel via GRUB?
> 
> PS.: Appear to be very simple configure UEFI, because I'm using
> Refind and it was working with Funtoo, and I realized this problem is
> with gentoo kernel's config, but I do not know where I need to config.
> 
> Any suggestions?

For UEFI boot the best way is to install the kernel to the ESP,
especially if it is directly loaded by EFI. Which exact message do you
see? It is not clear if the kernel already booted and just cannot find
the rootfs, or if even the kernel cannot load.

I don't know reFind, but some EFI loaders like gummiboot / systemd-boot
expect the kernel to have an EFI stub because the kernel is
chain-loaded through EFI...

So we need to know a few things:

1. partition layout
2. kernel cmdline
3. boot-loader config
4. exact error message on screen


-- 
Regards,
Kai

Replies to list-only preferred.




Re: [gentoo-user] Kernel did not finding root partition

2017-05-29 Thread Rasmus Thomsen
Hi,

make sure you have XFS compiled into the kernel ( not as module), or include it 
into the initramfs ( dunno how you would do that with genkernel though, I don't 
use an initramfs ). Grub should include a line saying root=xxx, maybe you have 
to set rootfstype, had to do that for BTRFS. Also make sure that you have sata 
( or nvme if you use that ) compiled into your kernel.

Rasmus

 Original Message 
On 29 May 2017, 13:09, Raphael MD wrote:

I'm trying to install Gentoo in my notebook, but kernel, during the boot, do 
not find the root partition.

I'm using UEFI boot, I've tried Genkernel, I've checked XFS's support in 
kernel's menuconfig and re-cheked GRUB config files, but is a pain, do not work.

I've installed Funtoo with Debian Kernel first, but Funtoo KDE's ebuild was 
pointing to a invalid URL and I've switched to Gentoo and now I'm suffering 
this problem to boot.

Have anyone some information, about this Kernel's boot didn't finding root 
partition? Is better configure kernel without Genkernel? I need to pass some 
commands to Kernel via GRUB?

PS.: Appear to be very simple configure UEFI, because I'm using Refind and it 
was working with Funtoo, and I realized this problem is with gentoo kernel's 
config, but I do not know where I need to config.

Any suggestions?

Thanks!

[gentoo-user] Kernel did not finding root partition

2017-05-29 Thread Raphael MD
I'm trying to install Gentoo in my notebook, but kernel, during the boot,
do not find the root partition.

I'm using UEFI boot, I've tried Genkernel, I've checked XFS's support in
kernel's menuconfig and re-cheked GRUB config files, but is a pain, do not
work.

I've installed Funtoo with Debian Kernel first, but Funtoo KDE's ebuild was
pointing to a invalid URL and I've switched to Gentoo and now I'm suffering
this problem to boot.

Have anyone some information, about this Kernel's boot didn't finding root
partition? Is better configure kernel without Genkernel? I need to pass
some commands to Kernel via GRUB?

PS.: Appear to be very simple configure UEFI, because I'm using Refind and
it was working with Funtoo, and I realized this problem is with gentoo
kernel's config, but I do not know where I need to config.

Any suggestions?

Thanks!


Re: [gentoo-user] Gentoo livedvd

2017-05-29 Thread Christos Kotsis
Thank you both.

Christos.K



signature.asc
Description: OpenPGP digital signature