Re: [gentoo-user] mailto net-mail/metamail

2023-12-05 Thread Neil Bothwick
On Tue, 5 Dec 2023 18:45:00 -0700, the...@sys-concept.com wrote:

> I think "mailto" used to be part of the package net-mail/metamail
> But I think is long time gone.
> 
> What is the replacement?
> I just need to send myself an email from the command line to test
> postfix.

echo "testing" | mail -s "test mail" the...@sys-concept.com

It's in mail-client/mailx


-- 
Neil Bothwick

Hm..what's this red button fo|'\xBB.'NO CARRIER


pgpSH6s3bNhec.pgp
Description: OpenPGP digital signature


[gentoo-user] mailto net-mail/metamail

2023-12-05 Thread thelma

I think "mailto" used to be part of the package net-mail/metamail
But I think is long time gone.

What is the replacement?
I just need to send myself an email from the command line to test postfix.

--
Thelma



Re: [gentoo-user] New installation - not booting

2023-12-05 Thread Peter Humphreey
On Tuesday, 5 December 2023 19:35:11 GMT Michael wrote:

> Your boot partition is /dev/nvme0n1p1 and its mountpoint is /boot.  You must
> create this partition with the appropriate EFI System type (in gdisk use
> EF00).
> 
> The /efi directory must be at the top of the /boot partition filesystem,
> accessible via /boot/efi.

I've been operating that way for some years, but I have reason to believe that 
things have changed. I'll start a new thread tomorrow.

-- 
Regards,
Peter.






Re: [gentoo-user] New installation - not booting

2023-12-05 Thread Peter Böhm
Am Dienstag, 5. Dezember 2023, 21:07:00 CET schrieb the...@sys-concept.com:
> On 12/5/23 12:35, Michael wrote:
> > On Tuesday, 5 December 2023 18:11:14 GMT the...@sys-concept.com wrote:
> >> On 12/5/23 10:16, Cara Salter wrote:
> >>> On 12/5/23 12:05, the...@sys-concept.com wrote:
>  It has been some time since I installed Gentoo.
>  After partitioning, and installing the system after reboot I get kernel
>  selection from grub and hitting enter, I don't see any text scrolling
>  on
>  the screen, and I don't see the login screen.
> 
>  I think I install grub in a wrong way.
>  When I mount "boot" content of /boot:
>  ls /boot/
>  EFI
> >>>
> >>> Is your EFI directory /efi or /boot? If it's /efi, then your mountpoint
> >>> should be in /boot as is in your /etc/fstab.>
> >>>
>  When I unmount "boot" content of /boot:
>  ls /boot/
>  System.map-6.1.57-gentoo  config-6.1.57-gentoo  grub
>  vmlinuz-6.1.57-gentoo
> >>
> >> The /efi directory was empty
> >> I moved /boot to /boot_backup crated /boot directory again
> >> mount /dev/nvme0n1p1 /boot
> >> run:
> >> grub-install --target=x86_64-efi --efi-directory=/boot
> >>
> >> installed kernel by running "make install" by default it install to boot
> >> ( I think). Change fstab from /eft to /boot:
> >> #/dev/nvme0n1p1 /efi  vfat  noauto,noatime  1 2
> >> /dev/nvme0n1p1 /boot  vfat  noauto,noatime  1 2
> >> but now when system boot it can not find any kernel, it just display
> >> "grub"
> >> command on the screen
> >
> > Please read the necessary documentation:
> >
> > https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Bootloader
> >
> > Your boot partition is /dev/nvme0n1p1 and its mountpoint is /boot.  You
> > must create this partition with the appropriate EFI System type (in gdisk
> > use EF00).
> >
> > The /efi directory must be at the top of the /boot partition filesystem,
> > accessible via /boot/efi.
>
> I'm kind of confused at this point.
> Where the kernel files should be copied?  /boot or /efi directory
> - System.map-6.1.57-gentoo
> - config-6.1.57-gentoo
> - vmlinuz-6.1.57-gentoo
>
> In fstab I have:
> /dev/nvme0n1p1/efivfatnoauto,noatime
1 2
>
> If /efi is a boot partition I assume the kernel files should be there as
> well; but somehow it doesn't work.
>
> The link you provided instruct user to run:
> grub-mkconfig -o /boot/grub/grub.cfg
>
> When "/dev/nvme0n1p1 is mounted on /efi"
> shouldn't it be:
> grub-mkconfig -o /efi/grub/grub.cfg

No ... anything is alright here:

With grub-install --target=x86_64-efi --efi-directory=/efi you will installe the
first part of grub (grubx64.efi) INTO the ESP:
\efi\gentoo\grubx64.efi
<==>
/efi/efi/gentoo/grubx64.efi when you have mounted your ESP to /efi.
(see more with "efibootmgr)

With grub-mkconfig -o /boot/grub/grub.cfg you configure grub - residing IN /
boot/grub  = THIS is the second part of grub !!

Maybe read:
https://wiki.gentoo.org/wiki/User:Pietinger/Tutorials/
Boot_kernel_via_UEFI#Prerequisites_for_an_UEFI_boot

(only this chapter; not the next chapter, because it is a guide for installing
a stub kernel)







Re: [gentoo-user] New installation - not booting

2023-12-05 Thread Peter Böhm
Am Dienstag, 5. Dezember 2023, 20:35:11 CET schrieb Michael:
> On Tuesday, 5 December 2023 18:11:14 GMT the...@sys-concept.com wrote:
> > On 12/5/23 10:16, Cara Salter wrote:
> > > On 12/5/23 12:05, the...@sys-concept.com wrote:
> > >> It has been some time since I installed Gentoo.
> > >> After partitioning, and installing the system after reboot I get kernel
> > >> selection from grub and hitting enter, I don't see any text scrolling
> > >> on
> > >> the screen, and I don't see the login screen.
> > >>
> > >> I think I install grub in a wrong way.
> > >> When I mount "boot" content of /boot:
> > >> ls /boot/
> > >> EFI
> > >
> > > Is your EFI directory /efi or /boot? If it's /efi, then your mountpoint
> > > should be in /boot as is in your /etc/fstab.>
> > >
> > >> When I unmount "boot" content of /boot:
> > >> ls /boot/
> > >> System.map-6.1.57-gentoo  config-6.1.57-gentoo  grub
> > >> vmlinuz-6.1.57-gentoo
> >
> > The /efi directory was empty
> > I moved /boot to /boot_backup crated /boot directory again
> > mount /dev/nvme0n1p1 /boot
> > run:
> > grub-install --target=x86_64-efi --efi-directory=/boot
> >
> > installed kernel by running "make install" by default it install to boot (
> > I think). Change fstab from /eft to /boot:
> > #/dev/nvme0n1p1 /efi  vfat  noauto,noatime  1 2
> > /dev/nvme0n1p1 /boot  vfat  noauto,noatime  1 2
> > but now when system boot it can not find any kernel, it just display
> > "grub"
> > command on the screen
>
> Please read the necessary documentation:
>
> https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Bootloader
>
> Your boot partition is /dev/nvme0n1p1 and its mountpoint is /boot.  You must
> create this partition with the appropriate EFI System type (in gdisk use
> EF00).
>
> The /efi directory must be at the top of the /boot partition filesystem,
> accessible via /boot/efi.

That is wrong.

The mountpoint for the ESP should be NOW /efi (therefore you see in our AMD64
handbook a "mkdir /efi").

/boot is the standard directory for the kernel ... and it is NOW an ordinary
directory of the root directory (so yes, the content of it resides in the root
partition). Dont mount anything to /boot. Yes, a "make install" (or genkernel)
installs the kernel into /boot.

If /etc/fstab should be: /dev/nvme0n1p1 /efi  vfat  noauto,noatime  1 2
(IF this is your ESP)
After mounting this ESP to /efi (and no mount on /boot + kernel IN boot) you
should run: grub-install --target=x86_64-efi --efi-directory=/efi
AND a grub-mkconfig  ! (so this routine will find your kernel in /boot and add
it to the grub's config file; Yes your grub will be also in /boot/grub.










Re: [gentoo-user] Thumbnail thingy generating large xorg-session.log file

2023-12-05 Thread Dale
Michael wrote:
> On Sunday, 3 December 2023 02:18:34 GMT Dale wrote:
>> Michael wrote:
>>> On Saturday, 2 December 2023 05:41:06 GMT Dale wrote:
>>>
>>> Unless you create your own sddm config file in /etc, the sddm package uses
>>> a default config file.  From the man page:
>>>
>>> FILES
>>>
>>>/usr/share/sddm/sddm.conf.d
>>>
>>>   System configuration directory
>>>
>>>/etc/sddm.conf.d
>>>
>>>   Local configuration directory
>>>
>>>/etc/sddm.conf
>>>
>>>   Local configuration file for compatibility
>>>
>>>/usr/share/sddm/themes
>>>
>>>   Where sddm looks for themes
>>>
>>> Search in the above paths and you should find the default sddm config
>>> file,
>>> which you can copy over to /etc and tweak it to stop it recording events
>>> in
>>> your user xsession log file.
>> For the first file, not here.  I have this but no config file that I
>> see.  Others below that.
>>
>>
>> root@fireball / # ls /usr/share/sddm/
>> total 44
>> drwxr-xr-x   7 root root  4096 Jul  2 11:05 .
>> drwxr-xr-x 411 root root 20480 Dec  2 19:20 ..
>> drwxr-xr-x   2 root root  4096 Dec  5  2022 faces
>> drwxr-xr-x   2 root root  4096 Jul  2 11:05 flags
>> drwxr-xr-x   2 root root  4096 Jul  2 11:05 scripts
>> drwxr-xr-x   8 root root  4096 Nov  4  2019 themes
>> drwxr-xr-x   2 root root  4096 Jul  2 11:05 translations
>> root@fireball / #
>>
>> cat /etc/sddm.conf.d/01gentoo.conf
>> [General]
>> # Remove qtvirtualkeyboard as InputMethod default
>> InputMethod=
>> root@fireball / #
>>
>> cat /etc/sddm.conf
>> [Autologin]
>> Relogin=false
>> Session=
>> User=
>>
>> [General]
>> HaltCommand=
>> RebootCommand=
>>
>> [Theme]
>> Current=maldives
>> CursorTheme=Adwaita
>>
>> [Users]
>> MaximumUid=6
>> MinimumUid=1000
>> root@fireball / #
>>
>>
>> This may help give ideas on what I do have. 
> My apologies, your files are correct as you've shown, mine are from a 
> previous 
> sddm version 0.18.1-r8.  I had to mask the latest version 0.20.0-r1, because 
> it won't launch fully on this PC to allow me to login.
>
> This is what you can do easily and without having to add your own new 
> 02_dale_sddm.conf file just to specify the log file path for sddm:
>
> mv ~/.local/share/sddm/xorg-session.log ./
> ln -s /dev/null ~/.local/share/sddm/xorg-session.log
>
> then login into Plasma and the problem of an ever growing log file will be 
> gone.  You will need to remove the symlink and restore the log file if you 
> want to troubleshoot the sddm or desktop in the future.
>
>  


Well, I got sidetracked on the ffmpeg thing.  Now that it is fixed, this
file isn't filling with anything.  It just sorta sits there.  I did
empty it at one point and it has stayed that way for a bit now.  Maybe
recompiling some packages and getting everything up to date given other
issue with opencascade and such fixed whatever it was that caused it. 

If it starts filling itself with useless stuff again, back to the
solution you gave. 

Thanks for the help.  :-D

Dale

:-)  :-) 


Re: [gentoo-user] Something not right with LVM, I think.

2023-12-05 Thread Dale
Dale wrote:
>
> Here's a update.  I really don't like restarting lvm when I'm logged
> into my desktop and everything.  It has never hurt anything in the past
> but still, it could mess up something.  So, I removed the 10TB hard
> drive from the Startech enclosure and put it in a spare Rosewill
> enclosure.  I powered it up, it sees the drive itself but does not add
> the LVM part I need to decrypt just like before.  I restarted LVM and
> there it is, the LVM part I need.  So, it isn't the enclosure, it
> appears to be the drive itself which is really confusing.  I've never
> had any hard drive to do this even when I'm starting with a fresh drive
> and setting it up.  Everything gets added as I set it up.  Everything
> from partition table to the encrypted file system. 
>
> I may just redo this drive from scratch.  Use dd to erase the partition
> table and even some data, after all it is encrypted already, and start
> from scratch.  Maybe I did something wrong and didn't notice it.  I dunno. 
>
> I just wanted to update with this info just in case someone else runs
> into this issue.  No real solution yet but will post back if restarting
> from scratch fixes it. 
>
> Dale
>
> :-)  :-) 
>


Final update I guess.  I used dd to erase partition table etc from the
drive and started over from scratch.  The drive still does the same
thing.  I have to restart LVM for it to allow me to have the LVM part I
need to make cryptsetup work.  It is really weird but this is the only
drive that does this.  I ran smartctl -l selftest and it passed.  I'm
not sure what to think about this.  As soon as I can, I'll replace the
drive just in case something is wrong that smart isn't picking up on. 

Dale

:-)  :-) 



Re: [gentoo-user] New installation - not booting

2023-12-05 Thread thelma

On 12/5/23 12:35, Michael wrote:

On Tuesday, 5 December 2023 18:11:14 GMT the...@sys-concept.com wrote:

On 12/5/23 10:16, Cara Salter wrote:

On 12/5/23 12:05, the...@sys-concept.com wrote:

It has been some time since I installed Gentoo.
After partitioning, and installing the system after reboot I get kernel
selection from grub and hitting enter, I don't see any text scrolling on
the screen, and I don't see the login screen.

I think I install grub in a wrong way.
When I mount "boot" content of /boot:
ls /boot/
EFI


Is your EFI directory /efi or /boot? If it's /efi, then your mountpoint
should be in /boot as is in your /etc/fstab.>

When I unmount "boot" content of /boot:
ls /boot/
System.map-6.1.57-gentoo  config-6.1.57-gentoo  grub
vmlinuz-6.1.57-gentoo


The /efi directory was empty
I moved /boot to /boot_backup crated /boot directory again
mount /dev/nvme0n1p1 /boot
run:
grub-install --target=x86_64-efi --efi-directory=/boot

installed kernel by running "make install" by default it install to boot ( I
think). Change fstab from /eft to /boot:
#/dev/nvme0n1p1 /efi  vfat  noauto,noatime  1 2
/dev/nvme0n1p1 /boot  vfat  noauto,noatime  1 2
but now when system boot it can not find any kernel, it just display "grub"
command on the screen


Please read the necessary documentation:

https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Bootloader

Your boot partition is /dev/nvme0n1p1 and its mountpoint is /boot.  You must
create this partition with the appropriate EFI System type (in gdisk use
EF00).

The /efi directory must be at the top of the /boot partition filesystem,
accessible via /boot/efi.


I'm kind of confused at this point.
Where the kernel files should be copied?  /boot or /efi directory
- System.map-6.1.57-gentoo
- config-6.1.57-gentoo
- vmlinuz-6.1.57-gentoo

In fstab I have:
/dev/nvme0n1p1  /efivfatnoauto,noatime  1 2

If /efi is a boot partition I assume the kernel files should be there as well; 
but somehow it doesn't work.

The link you provided instruct user to run:
grub-mkconfig -o /boot/grub/grub.cfg

When "/dev/nvme0n1p1 is mounted on /efi"
shouldn't it be:
grub-mkconfig -o /efi/grub/grub.cfg






Re: [gentoo-user] New installation - not booting

2023-12-05 Thread Michael
On Tuesday, 5 December 2023 18:11:14 GMT the...@sys-concept.com wrote:
> On 12/5/23 10:16, Cara Salter wrote:
> > On 12/5/23 12:05, the...@sys-concept.com wrote:
> >> It has been some time since I installed Gentoo.
> >> After partitioning, and installing the system after reboot I get kernel
> >> selection from grub and hitting enter, I don't see any text scrolling on
> >> the screen, and I don't see the login screen.
> >> 
> >> I think I install grub in a wrong way.
> >> When I mount "boot" content of /boot:
> >> ls /boot/
> >> EFI
> > 
> > Is your EFI directory /efi or /boot? If it's /efi, then your mountpoint
> > should be in /boot as is in your /etc/fstab.> 
> >> When I unmount "boot" content of /boot:
> >> ls /boot/
> >> System.map-6.1.57-gentoo  config-6.1.57-gentoo  grub 
> >> vmlinuz-6.1.57-gentoo
> 
> The /efi directory was empty
> I moved /boot to /boot_backup crated /boot directory again
> mount /dev/nvme0n1p1 /boot
> run:
> grub-install --target=x86_64-efi --efi-directory=/boot
> 
> installed kernel by running "make install" by default it install to boot ( I
> think). Change fstab from /eft to /boot:
> #/dev/nvme0n1p1 /efi  vfat  noauto,noatime  1 2
> /dev/nvme0n1p1 /boot  vfat  noauto,noatime  1 2
> but now when system boot it can not find any kernel, it just display "grub"
> command on the screen

Please read the necessary documentation:

https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Bootloader

Your boot partition is /dev/nvme0n1p1 and its mountpoint is /boot.  You must 
create this partition with the appropriate EFI System type (in gdisk use 
EF00).

The /efi directory must be at the top of the /boot partition filesystem, 
accessible via /boot/efi.

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


Re: [gentoo-user] Re: ffmpeg: WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict

2023-12-05 Thread Dale
Daniel Pielmeier wrote:
> Dale schrieb am 05.12.23 um 18:27:
>>
>> This is where I'm putting the patch and the patch.
>>
>>
>> root@fireball / # cat /etc/portage/patches/media-video/mplayer.diff
>
> Maybe you should try:
> /etc/portage/patches/media-video/mplayer/mplayer.diff
> as written in the Wiki. The directory requires the category then e.g.
> the package name. Within you have to place the patch file.
>


That was it.  I thought I was messing up something.  I missed that extra
directory.  Now it compiles and I can run depclean and get nice pretty
"Nothing to merge; quitting." message from emerge -auDN world.  Dang, I
haven't seen that in months.  O_O

Thanks much. 

Dale

:-)  :-) 



Re: [gentoo-user] New installation - not booting

2023-12-05 Thread thelma

On 12/5/23 11:11, the...@sys-concept.com wrote:

On 12/5/23 10:16, Cara Salter wrote:

On 12/5/23 12:05, the...@sys-concept.com wrote:

It has been some time since I installed Gentoo.
After partitioning, and installing the system after reboot I get kernel 
selection from grub and hitting enter,
I don't see any text scrolling on the screen, and I don't see the login screen.



I think I install grub in a wrong way.
When I mount "boot" content of /boot:
ls /boot/
EFI


Is your EFI directory /efi or /boot? If it's /efi, then your mountpoint should 
be in /boot as is in your /etc/fstab.


When I unmount "boot" content of /boot:
ls /boot/
System.map-6.1.57-gentoo  config-6.1.57-gentoo  grub  vmlinuz-6.1.57-gentoo


The /efi directory was empty
I moved /boot to /boot_backup crated /boot directory again
mount /dev/nvme0n1p1 /boot
run:
grub-install --target=x86_64-efi --efi-directory=/boot

installed kernel by running "make install" by default it install to boot ( I 
think).
Change fstab from /eft to /boot:
#/dev/nvme0n1p1 /efi      vfat  noauto,noatime  1 2
/dev/nvme0n1p1 /boot      vfat  noauto,noatime  1 2
but now when system boot it can not find any kernel, it just display "grub" 
command on the screen


When I boot strap the system I tried to run:

grub-install --target=x86_64-efi --efi-directory=/efi
Installing for x86_64-efi platform.
grub-install: error: /efi doesn't look like an EFI partition.




Re: [gentoo-user] New installation - not booting

2023-12-05 Thread thelma

On 12/5/23 10:16, Cara Salter wrote:

On 12/5/23 12:05, the...@sys-concept.com wrote:

It has been some time since I installed Gentoo.
After partitioning, and installing the system after reboot I get kernel 
selection from grub and hitting enter,
I don't see any text scrolling on the screen, and I don't see the login screen.



I think I install grub in a wrong way.
When I mount "boot" content of /boot:
ls /boot/
EFI


Is your EFI directory /efi or /boot? If it's /efi, then your mountpoint should 
be in /boot as is in your /etc/fstab.


When I unmount "boot" content of /boot:
ls /boot/
System.map-6.1.57-gentoo  config-6.1.57-gentoo  grub  vmlinuz-6.1.57-gentoo


The /efi directory was empty
I moved /boot to /boot_backup crated /boot directory again
mount /dev/nvme0n1p1 /boot
run:
grub-install --target=x86_64-efi --efi-directory=/boot

installed kernel by running "make install" by default it install to boot ( I 
think).
Change fstab from /eft to /boot:
#/dev/nvme0n1p1 /efi      vfat  noauto,noatime  1 2
/dev/nvme0n1p1 /boot      vfat  noauto,noatime  1 2
but now when system boot it can not find any kernel, it just display "grub" 
command on the screen




Re: [gentoo-user] Re: ffmpeg: WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict

2023-12-05 Thread Daniel Pielmeier

Dale schrieb am 05.12.23 um 18:27:


This is where I'm putting the patch and the patch.


root@fireball / # cat /etc/portage/patches/media-video/mplayer.diff


Maybe you should try:
/etc/portage/patches/media-video/mplayer/mplayer.diff
as written in the Wiki. The directory requires the category then e.g. 
the package name. Within you have to place the patch file.


--
Best
Daniel




Re: [gentoo-user] New installation - not booting

2023-12-05 Thread Peter Böhm
Am Dienstag, 5. Dezember 2023, 18:05:56 CET schrieb the...@sys-concept.com:
> It has been some time since I installed Gentoo.
> After partitioning, and installing the system after reboot I get kernel
> selection from grub and hitting enter, I don't see any text scrolling on
> the screen, and I don't see the login screen.
>
> Is the text scroll disabled for booting or is my configuration incorrect?
>
> Here are some details:
> Partition:
> /dev/nvme0n1p1 204820991992097152 1G EFI System
> /dev/nvme0n1p2  2099200   104878078388608 4G Linux swap
> /dev/nvme0n1p3 10487808 1953523711 1943035904 926.5G Linux filesystem
>
> cat /etc/fstab
> /dev/nvme0n1p1 /efi  vfat  noauto,noatime  1 2
> /dev/nvme0n1p2 none swap sw 0 0
> /dev/nvme0n1p3  / ext4 noatime 0 1
>
> /etc/default/grub:
> ...
> # Append parameters to the linux kernel command line for non-recovery
> entries #GRUB_CMDLINE_LINUX_DEFAULT=""
>
> To install grub, I run:
>   grub-install --target=x86_64-efi --efi-directory=/efi
>
> I think I install grub in a wrong way.
> When I mount "boot" content of /boot:
> ls /boot/
> EFI
>
> When I unmount "boot" content of /boot:
> ls /boot/
> System.map-6.1.57-gentoo  config-6.1.57-gentoo  grub  vmlinuz-6.1.57-gentoo

Please read the first post of:

https://forums.gentoo.org/viewtopic-t-1165115.html

Kind regards,
Peter








Re: [gentoo-user] Re: ffmpeg: WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict

2023-12-05 Thread Dale
Michael wrote:
>
> Oops! I misread it.  It is indeed the other way around, mplayer requiring 
> h264enc.  My bad.  In this case Dale needs to look into using ffmpeg for the 
> odd file he wants to transcode, instead of mplayer's menconder.


Update.  It gives a clean update now except for mplayer still failing to
compile.  It wants to recompile for some reason but fails with the limit
thing.  I found a bug with a patch for it.  I've tried to apply the
patch but am having no success.  This is the bug report.


https://bugs.gentoo.org/918113#c9


This is where I'm putting the patch and the patch. 


root@fireball / # cat /etc/portage/patches/media-video/mplayer.diff
diff -Naur a/libmpcodecs/mp_image.c b/libmpcodecs/mp_image.c
--- a/libmpcodecs/mp_image.c    2023-11-27 21:32:22.471059495 -0500
+++ b/libmpcodecs/mp_image.c    2023-11-27 21:33:12.586236355 -0500
@@ -30,6 +30,7 @@
 #include "libmpcodecs/mp_image.h"
 #include "libvo/fastmemcpy.h"
 #include "libavutil/mem.h"
+#include 
 #include "mp_msg.h"

 void mp_image_alloc_planes(mp_image_t *mpi) {


root@fireball / #


I've tried it with no extension on the file, with .patch and .diff as
above.  I've also tried it with the version number as well.  No
combination seems to work for me.  This is the related output. 


>>> Source unpacked in
/var/tmp/portage/media-video/mplayer-1.5_p20230618/work
>>> Preparing source in
/var/tmp/portage/media-video/mplayer-1.5_p20230618/work/mplayer-1.5_p20230618
...
>>> Source prepared.
>>> Configuring source in
/var/tmp/portage/media-video/mplayer-1.5_p20230618/work/mplayer-1.5_p20230618
...


It doesn't show it even trying to apply the patch.  I've done patches
before but it was a long time ago.  I found a wiki page and tried to
follow it.  Still, nothing works.  This is the wiki page.


https://wiki.gentoo.org/wiki//etc/portage/patches


I'm pretty sure I'm not doing something right but mine looks like
examples on the wiki page as best as I can tell.  Maybe I have a typo or
something that I'm missing.  I dunno. 

Ideas?  This has worked in the distant past.

Thanks.

Dale

:-)  :-) 



Re: [gentoo-user] New installation - not booting

2023-12-05 Thread Cara Salter

On 12/5/23 12:05, the...@sys-concept.com wrote:

It has been some time since I installed Gentoo.
After partitioning, and installing the system after reboot I get kernel 
selection from grub and hitting enter,
I don't see any text scrolling on the screen, and I don't see the login 
screen.



I think I install grub in a wrong way.
When I mount "boot" content of /boot:
ls /boot/
EFI


Is your EFI directory /efi or /boot? If it's /efi, then your mountpoint 
should be in /boot as is in your /etc/fstab.



When I unmount "boot" content of /boot:
ls /boot/
System.map-6.1.57-gentoo  config-6.1.57-gentoo  grub  vmlinuz-6.1.57-gentoo






[gentoo-user] New installation - not booting

2023-12-05 Thread thelma

It has been some time since I installed Gentoo.
After partitioning, and installing the system after reboot I get kernel 
selection from grub and hitting enter,
I don't see any text scrolling on the screen, and I don't see the login screen.

Is the text scroll disabled for booting or is my configuration incorrect?

Here are some details:
Partition:
/dev/nvme0n1p1     2048    2099199    2097152     1G EFI System
/dev/nvme0n1p2  2099200   10487807    8388608     4G Linux swap
/dev/nvme0n1p3 10487808 1953523711 1943035904 926.5G Linux filesystem

cat /etc/fstab
/dev/nvme0n1p1 /efi      vfat  noauto,noatime  1 2
/dev/nvme0n1p2 none swap sw 0 0
/dev/nvme0n1p3  / ext4 noatime 0 1

/etc/default/grub:
...
# Append parameters to the linux kernel command line for non-recovery entries
#GRUB_CMDLINE_LINUX_DEFAULT=""

To install grub, I run:
 grub-install --target=x86_64-efi --efi-directory=/efi

I think I install grub in a wrong way.
When I mount "boot" content of /boot:
ls /boot/
EFI

When I unmount "boot" content of /boot:
ls /boot/
System.map-6.1.57-gentoo  config-6.1.57-gentoo  grub  vmlinuz-6.1.57-gentoo

--
Thelma



Re: [gentoo-user] *** No rule to make target 'arch/x86/entry/syscalls/syscall_32.tbl'

2023-12-05 Thread thelma

On 12/5/23 01:06, Ionen Wolkens wrote:

On Mon, Dec 04, 2023 at 05:48:41PM -0700, the...@sys-concept.com wrote:

I'm compiling a new system (in (chroot) livecd) and trying to compile a new 
kernel:
Running:
make && make modules_install
SYNCinclude/config/auto.conf
HOSTCC  scripts/kconfig/conf.o
HOSTLD  scripts/kconfig/conf
make[1]: *** No rule to make target 'arch/x86/entry/syscalls/syscall_32.tbl', 
needed by 'arch/x86/include/generated/uapi/asm/unistd_32.h'.  Stop.
make: *** [arch/x86/Makefile:242: archheaders] Error 2

kerenl is: linux-6.1.60-gentoo-dist


That "gentoo-dist" indicates that it is a distribution kernel[1], are
you trying to build the minimal sources provided by it? It's only
intended to build out-of-tree modules and/or things like menuconfig
given the kernel itself is built by portage.

Did you mean to install sys-kernel/gentoo-sources rather than
gentoo-kernel?

[1] https://wiki.gentoo.org/wiki/Project:Distribution_Kernel


You are correct, thanks.
Emerging linux-6.1.57-gentoo solved the problem



Re: [gentoo-user] *** No rule to make target 'arch/x86/entry/syscalls/syscall_32.tbl'

2023-12-05 Thread Ionen Wolkens
On Mon, Dec 04, 2023 at 05:48:41PM -0700, the...@sys-concept.com wrote:
> I'm compiling a new system (in (chroot) livecd) and trying to compile a new 
> kernel:
> Running:
> make && make modules_install
>SYNCinclude/config/auto.conf
>HOSTCC  scripts/kconfig/conf.o
>HOSTLD  scripts/kconfig/conf
> make[1]: *** No rule to make target 'arch/x86/entry/syscalls/syscall_32.tbl', 
> needed by 'arch/x86/include/generated/uapi/asm/unistd_32.h'.  Stop.
> make: *** [arch/x86/Makefile:242: archheaders] Error 2
> 
> kerenl is: linux-6.1.60-gentoo-dist

That "gentoo-dist" indicates that it is a distribution kernel[1], are
you trying to build the minimal sources provided by it? It's only
intended to build out-of-tree modules and/or things like menuconfig
given the kernel itself is built by portage.

Did you mean to install sys-kernel/gentoo-sources rather than
gentoo-kernel?

[1] https://wiki.gentoo.org/wiki/Project:Distribution_Kernel
-- 
ionen


signature.asc
Description: PGP signature