Re: make custom kernel

2021-07-03 Thread mlnl
Hi Mick, mick crane wrote: >I've done it before but I've forgotten and the order. >What's the procedure for making a custom kernel? Do you mean a custom Debian or a vanilla kernel from kernel.org? For a Debian kernel you can look at For

Re: network not respecting my hosts file

2021-07-03 Thread David Wright
On Sun 04 Jul 2021 at 13:07:08 (+0800), Robbi Nespu wrote: > On 7/4/21 1:02 PM, David Wright wrote: > > > > -rw--- 1 root root 2480447 Jul 4 11:01 hosts > > > > Nobody can read it except root. > > > > This could be the cause, I don't have another system to compare. What > is default

Re: network not respecting my hosts file

2021-07-03 Thread Robbi Nespu
On 7/4/21 12:35 PM, Lee wrote: Maybe your /etc/nsswitch.conf? $ grep hosts /etc/nsswitch.conf # hosts: files mdns4_minimal [NOTFOUND=return] dns hosts: files dns This is mine $ grep hosts /etc/nsswitch.conf hosts: files mdns4_minimal [NOTFOUND=return] dns --

Re: network not respecting my hosts file

2021-07-03 Thread Robbi Nespu
On 7/4/21 1:02 PM, David Wright wrote: -rw--- 1 root root 2480447 Jul 4 11:01 hosts Nobody can read it except root. This could be the cause, I don't have another system to compare. What is default permission for host file? If you can give correction directly via chmod also good

Re: network not respecting my hosts file

2021-07-03 Thread David Wright
On Sun 04 Jul 2021 at 11:51:37 (+0800), Robbi Nespu wrote: > I am using StevenBlack host file > (https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) to > block ads / malware / ect via host file. > > But somehow the system does't respecting my hosts file anymore.. that weird > >

Re: network not respecting my hosts file

2021-07-03 Thread Lee
On 7/3/21, Robbi Nespu wrote: > I am using StevenBlack host file > (https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) to > block ads / malware / ect via host file. > > But somehow the system does't respecting my hosts file anymore.. that weird > >> $ sudo cat /etc/hosts | grep

Re: LaTeX - Newer REVTEX on Debian ?

2021-07-03 Thread Robbi Nespu
I not sure how to update bst. Could you show me how? -- Robbi Nespu D311 B5FF EEE6 0BE8 9C91 FA9E 0C81 FA30 3B3A 80BA https://robbinespu.gitlab.io | https://mstdn.social/@robbinespu

Re: Docker installation problem

2021-07-03 Thread Robbi Nespu
On 7/4/21 7:17 AM, Gary L. Roach wrote: I have been trying to get a working installation of Docker. This should be easy considering all of the information available. Alas, for me, this doesn't seem to be the case. My latest attempt was to use the instructions at

network not respecting my hosts file

2021-07-03 Thread Robbi Nespu
I am using StevenBlack host file (https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) to block ads / malware / ect via host file. But somehow the system does't respecting my hosts file anymore.. that weird $ sudo cat /etc/hosts | grep wizhumpgyros.com 0.0.0.0 wizhumpgyros.com

Re: Creation of empty files [was: Useful use of dd]

2021-07-03 Thread Michael Stone
On Sat, Jul 03, 2021 at 02:34:56PM -0700, David Christensen wrote: On 7/3/21 6:44 AM, Michael Stone wrote: On Fri, Jul 02, 2021 at 02:30:50PM -0700, David Christensen wrote: 2021-07-02 14:24:30 dpchrist@dipsy ~/sandbox/dd $ du --bytes truncate-sparse 5242880    truncate-sparse I expected

Re: removing modules

2021-07-03 Thread Tom Dial
On 7/3/21 13:04, Brian wrote: > On Sat 03 Jul 2021 at 18:49:35 +0100, mick crane wrote: > > [...] > >> Can I not *just* move the older ones out of the way so upgrade doesn't run >> out of space ? > > Why bother? > > apt purge linux... > > Why do you need two kernels anyway? I rather

Re: make custom kernel

2021-07-03 Thread IL Ka
On Sun, Jul 4, 2021 at 12:20 AM Anssi Saari wrote: > mick crane writes: > > > I've done it before but I've forgotten and the order. > > What's the procedure for making a custom kernel? > > I assume there are full instructions somewhere. Here it is http://www.kroah.com/lkn/ ``make help`` in

Re: Docker installation problem

2021-07-03 Thread Greg Wooledge
On Sat, Jul 03, 2021 at 05:30:18PM -0700, Gary L. Roach wrote: > What tipped > you off? Probably this: > > > > /Could not connect to any X display./ > > > > debconf: unable to initialize frontend: Kde

Re: removing modules

2021-07-03 Thread Stefan Monnier
> The only thing with `MODULES=dep` is that it runs a slightly higher risk > of ending up with an unbootable system after a hardware or > filesystem/LVM/MD/partition change. Just make sure you have some way to > do a "rescue boot" in those cases (typically via a USB flash key with some > minimal

Re: Docker installation problem

2021-07-03 Thread Gary L. Roach
Thank you Georgi. That fixed the problem. I wonder how many of the other problems I have been have are due to debconf being screwed up. What tipped you off? This is not an obvious cause. Thanks Gary R. On 7/3/21 4:39 PM, Georgi Naplatanov wrote: On 7/4/21 2:17 AM, Gary L. Roach wrote: Hi

Re: Docker installation problem

2021-07-03 Thread Georgi Naplatanov
On 7/4/21 2:17 AM, Gary L. Roach wrote: > Hi all, > > Operating System: Debian GNU/Linux 10 > KDE Plasma Version: 5.14.5 > Qt Version: 5.11.3 > KDE Frameworks Version: 5.54.0 > Kernel Version: 4.19.0-17-amd64 > OS Type: 64-bit > Processors: 4 × AMD FX(tm)-4350 Quad-Core Processor > Memory: 15.6

Docker installation problem

2021-07-03 Thread Gary L. Roach
Hi all, Operating System: Debian GNU/Linux 10 KDE Plasma Version: 5.14.5 Qt Version: 5.11.3 KDE Frameworks Version: 5.54.0 Kernel Version: 4.19.0-17-amd64 OS Type: 64-bit Processors: 4 × AMD FX(tm)-4350 Quad-Core Processor Memory: 15.6 GiB of RAM I have been trying to get a working installation

Re: removing modules

2021-07-03 Thread Stefan Monnier
Greg Wooledge [2021-07-03 14:03:44] wrote: > On Sat, Jul 03, 2021 at 06:49:35PM +0100, mick crane wrote: >> root@pumpkin:/boot# df -h /boot >> Filesystem Size Used Avail Use% Mounted on >> /dev/sdb1 236M 159M 65M 71% /boot > This is the real issue. This file system is simply too

Re: Creation of empty files [was: Useful use of dd]

2021-07-03 Thread David Christensen
On 7/3/21 6:44 AM, Michael Stone wrote: On Fri, Jul 02, 2021 at 02:30:50PM -0700, David Christensen wrote: 2021-07-02 14:24:30 dpchrist@dipsy ~/sandbox/dd $ du --bytes truncate-sparse 5242880    truncate-sparse I expected sparse files, but du(1) does not indicate such (?). You used --bytes,

Re: make custom kernel

2021-07-03 Thread Anssi Saari
mick crane writes: > I've done it before but I've forgotten and the order. > What's the procedure for making a custom kernel? > Install linux headers > change to a "build" directory > make menu-config > ./configure > make > make dep > make install > make clean I assume there are full

Re: removing modules

2021-07-03 Thread Brian
On Sat 03 Jul 2021 at 18:49:35 +0100, mick crane wrote: [...] > Can I not *just* move the older ones out of the way so upgrade doesn't run > out of space ? Why bother? apt purge linux... Why do you need two kernels anyway? Next time - don't have a separate boot partition. You will be

make custom kernel

2021-07-03 Thread mick crane
I've done it before but I've forgotten and the order. What's the procedure for making a custom kernel? Install linux headers change to a "build" directory make menu-config ./configure make make dep make install make clean ? mick -- Key ID4BFEBB31

Re: removing modules

2021-07-03 Thread Sven Hartge
Hans wrote: > However, building an own kernel might improve security, i.e. on my > servers I removed the usbmodule and cdrom stuff, so that no one could > easy connect evil hardware to the servers (we sometimes got visitors > in the data processing center) Or you could just blacklist those

Re: removing modules

2021-07-03 Thread Greg Wooledge
On Sat, Jul 03, 2021 at 06:49:35PM +0100, mick crane wrote: > root@pumpkin:/boot# df -h /boot > Filesystem Size Used Avail Use% Mounted on > /dev/sdb1 236M 159M 65M 71% /boot This is the real issue. This file system is simply too small if you plan to keep more than 2 kernels at a

Re: removing modules

2021-07-03 Thread Hans
Am Samstag, 3. Juli 2021, 19:01:02 CEST schrieb IL Ka: Hi all, > I was thinking then to remove the unwanted modules to make the kernels > > > smaller. > Some years ago I tested a few things. I built a monolithic kernel with all the modules statically built in, as I knew all modules I needed.

Re: removing modules

2021-07-03 Thread mick crane
On 2021-07-03 18:12, Greg Wooledge wrote: On Sat, Jul 03, 2021 at 05:50:44PM +0100, mick crane wrote: I did think that modules are for the kernel to interact with hardware. There is for example "dell_smm_hwmon" followed "0" which you'd think was to be used by software for monitoring the PC

Re: removing modules

2021-07-03 Thread The Wanderer
On 2021-07-03 at 13:28, mick crane wrote: > On 2021-07-03 18:03, The Wanderer wrote: > >>> I looked because "apt upgrade" failed to install things in /boot >>> because no room left. I deleted the oldest kernel stuff of the 3 >>> there and "apt upgrade" worked. >> >> I hope you removed them by

Re: removing modules

2021-07-03 Thread The Wanderer
On 2021-07-03 at 13:28, mick crane wrote: > On 2021-07-03 18:03, The Wanderer wrote: > >>> I looked because "apt upgrade" failed to install things in /boot >>> because no room left. I deleted the oldest kernel stuff of the 3 >>> there and "apt upgrade" worked. >> >> I hope you removed them by

Re: removing modules

2021-07-03 Thread David Wright
On Sat 03 Jul 2021 at 17:50:44 (+0100), mick crane wrote: > On 2021-07-03 17:29, The Wanderer wrote: > > On 2021-07-03 at 12:06, mick crane wrote: > > > > > hello, > > > If I type "lsmod" there is a big list of modules with many > > > followed by a > > > "0" > > > which I guess means they are not

Re: removing modules

2021-07-03 Thread mick crane
On 2021-07-03 18:03, The Wanderer wrote: I looked because "apt upgrade" failed to install things in /boot because no room left. I deleted the oldest kernel stuff of the 3 there and "apt upgrade" worked. I hope you removed them by uninstalling their kernel packages, not by just deleting the

Re: removing modules

2021-07-03 Thread Greg Wooledge
On Sat, Jul 03, 2021 at 05:50:44PM +0100, mick crane wrote: > I did think that modules are for the kernel to interact with hardware. > There is for example "dell_smm_hwmon" followed "0" which you'd think was to > be used by software for monitoring the PC hardware. Use modinfo(8) to learn what a

Re: removing modules

2021-07-03 Thread Reco
On Sat, Jul 03, 2021 at 05:50:44PM +0100, mick crane wrote: > I looked because "apt upgrade" failed to install things in /boot > because no room left. I deleted the oldest kernel stuff of the 3 there > and "apt upgrade" worked. Kernel is here: $ du -sxh /boot/vmlinuz-5.10.0-0.bpo.7-amd64 6.5M

Re: removing modules

2021-07-03 Thread The Wanderer
On 2021-07-03 at 12:50, mick crane wrote: > I did think that modules are for the kernel to interact with > hardware. There is for example "dell_smm_hwmon" followed "0" which > you'd think was to be used by software for monitoring the PC > hardware. > > I never used anything like that and

Re: removing modules

2021-07-03 Thread IL Ka
> > > There is for example "dell_smm_hwmon" followed "0" which you'd think was > to be used by software for monitoring the PC hardware. > You have this device (SMM BIOS), so ``udev`` loaded this module. It creates `` /sys/class/hwmon/hwmon..`` for hardware monitoring. Remove this module, and

Re: removing modules

2021-07-03 Thread mick crane
On 2021-07-03 17:29, The Wanderer wrote: On 2021-07-03 at 12:06, mick crane wrote: hello, If I type "lsmod" there is a big list of modules with many followed by a "0" which I guess means they are not needed in the kernel ? That depends what you mean by "needed". As I understand matters,

Re: removing modules

2021-07-03 Thread The Wanderer
On 2021-07-03 at 12:06, mick crane wrote: > hello, > If I type "lsmod" there is a big list of modules with many followed by a > "0" > which I guess means they are not needed in the kernel ? That depends what you mean by "needed". As I understand matters, what that number being nonzero means is

Re: removing modules

2021-07-03 Thread IL Ka
> > > hello, > If I type "lsmod" there is a big list of modules with many followed by a > "0" > which I guess means they are not needed in the kernel ? > That means no module depends on it. But it doesn't mean this particular module isn't required. Does lsmod know about all installed software

Re: removing modules

2021-07-03 Thread Reco
Hi. On Sat, Jul 03, 2021 at 05:06:10PM +0100, mick crane wrote: > If I type "lsmod" there is a big list of modules with many followed by a "0" > which I guess means they are not needed in the kernel ? Third column that lsmod shows is a kernel module reference count. It can be increased

removing modules

2021-07-03 Thread mick crane
hello, If I type "lsmod" there is a big list of modules with many followed by a "0" which I guess means they are not needed in the kernel ? Does lsmod know about all installed software and if a module is needed or does software have to be run first ? If I don't need them can somebody remind

Re: Creation of empty files [was: Useful use of dd]

2021-07-03 Thread Michael Stone
On Fri, Jul 02, 2021 at 02:30:50PM -0700, David Christensen wrote: 2021-07-02 14:24:30 dpchrist@dipsy ~/sandbox/dd $ du --bytes truncate-sparse 5242880 truncate-sparse I expected sparse files, but du(1) does not indicate such (?). You used --bytes, which per the man page implies

Re: Useless use of shell pipelines [was: Useful use of dd]

2021-07-03 Thread Greg Wooledge
On Sat, Jul 03, 2021 at 10:23:39AM +0200, l0f...@tuta.io wrote: > 2 juil. 2021, 23:30 de dpchr...@holgerdanske.com: > > $ cat useless-use-of-grep > > This is the first line: bla bla bla. > > This is line : bla bla bla. > > This is the last line: bla bla bla. > Here is a better `sed` if you

Re: How to verify newly burned disc

2021-07-03 Thread Thomas Schmitt
Hi, i wrote: > > > where they [ASUS] expect us to still find M-Disc DVD+R media. Michael Lange wrote: > > 10 4.7 GB discs at 85.11 € + 7.31 € for shipping from Japan :-) > > Australia, 5 discs for "~" 21.74 € + ~ 42.97 shipping Wonders of globalization. > > the "killer" bargain: 10 Verbatims

Re: Useless use of shell pipelines [was: Useful use of dd]

2021-07-03 Thread l0f4r0
Hi, 2 juil. 2021, 23:30 de dpchr...@holgerdanske.com: > Perhaps the underlying issue is useless use of shell pipelines ("The Unix > Way"): > > 2021-07-02 12:44:43 dpchrist@dipsy ~/sandbox/perl > $ cat useless-use-of-grep > This is the first line: bla bla bla. > This is line : bla bla bla. >

Re: Useful use of dd [was: Useless use of "dd"]

2021-07-03 Thread tomas
On Sat, Jul 03, 2021 at 10:14:46AM +0300, Gunnar Gervin wrote: > Hi, Debian user 'club': > How can I get off this list in Android mobile? No idea about Android mobile (whatever that is ;-) but every mail you receive via this list carries the instructions. Look at the headers (however your mail

Re: Useful use of dd [was: Useless use of "dd"]

2021-07-03 Thread Gunnar Gervin
Hi, Debian user 'club': How can I get off this list in Android mobile? It's filling my mailbox; 5-10 emails a day!!! Gunnar On Fri, 2 Jul 2021, 18:03 David Wright, wrote: > On Fri 02 Jul 2021 at 13:35:17 (+0200), to...@tuxteam.de wrote: > > On Fri, Jul 02, 2021 at 07:31:24AM -0400, Greg

Re: How to verify newly burned disc

2021-07-03 Thread Stefan Monnier
> The first hit at ebay.de when searching for "m-disc dvd" shows an offer > for 10 4.7 GB discs at 85.11 € + 7.31 € for shipping from Japan :-) [...] > There is also an offer from Australia, 5 discs for "~" 21.74 € + ~ 42.97 Hmm... so that's in the order of about 1 €/GB >From a quick look at SSD