scrcpy: a really cool and very useful utility not in debian repos?

2021-04-06 Thread Albretch Mueller
# date; apt install scrcpy
Tue Apr  6 05:27:12 EDT 2021
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package scrcpy
#

 https://github.com/Genymobile/scrcpy



pci 0000:00:01:0: MSI quirk detected; subordinated MSI disabled ...

2021-04-14 Thread Albretch Mueller
 is the error message I get when I try to start a PC based on an MSI
motherboard, with both Debian live an Knoppix (which is a bit more
flexible about start up options)

 How can I get passed that error in order to be able to use and
install Debian live or Knoppix?

I have tried a number of options such as acpi=off combined with some
other ones as well as read the MSI-HOWTO.txt

 https://elixir.bootlin.com/linux/v2.6.28/source/Documentation/PCI/MSI-HOWTO.txt

 on which they talk about "MSI quirks" on chapter 6th, but I can't see
the relationship with booting Debian Live, so I I haven't been able to
fix that problem.

 lbrtchx



Re: pci 0000:00:01:0: MSI quirk detected; subordinated MSI disabled ...

2021-04-14 Thread Albretch Mueller
> You could then try to boot with the pci=nomsi boot parameter ...

 if I boot up passing to the kernel the start up option:

 knoppix64 debug pci=nomsi noapic

 I would get just two lines further bellow:

 pci :00:01:0: MSI quirk detected; subordinated MSI disabled
 PCI Interrupt Link [LNKA] enabled at IRQ 11
 PCI: setting IRQ 11 as level-triggered

 and the boot process would stop.

> there is a chance that this message is an information message about a step of 
> the boot procédure that just has been successful and that the problematic 
> step that freezes your computer is the next one...

 is there a way for me to know what the next step would be? The kernel
boot up logs should be " (do)ing ", "... ok"

 I know the boot process is different for each motherboard, a bit of
googling gave me:

 http://forums.debian.net/viewtopic.php?f=5&t=47164

[ ...] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
[ ...] ACPI: PCI Interrupt :00:11.1[A] -> Link [LNKA] -> GSI 11
(level, low) -> IRQ 11
[ ...] VIA_IDE :00:11.1: VIA VLink IRQ fixup, from 255 to 11
[ ...] VP_IDE: not 100% native mode: will probe irqs later

 so the problem might be related to the video card?

 I also found this message at an ubuntu forum:

 https://ubuntuforums.org/showthread.php?t=2202279

 Re: New PC, cannot install Ubuntu (pci :00:01.0: MSI quirk detected)

Oldfred, I want to thank you for your tireless effort to help me
with resolving this issue. I am very grateful that people like you are
available to the community to support noobs like myself

I am posting this from my new Xubuntu install, so it seems we
finally managed to get things working!!!

Here is a recap from the steps I took that (I think) lead to the resolution:
- (Obviously) go through the posts provided by Oldfred, tried out
several options
- I found some info pointing towards USB legacy support and MSI quirk
- Disabled legacy support in my BIOS
- Got that Checking NVRAM error
- Reset my CMOS (through the jumper setting described in my
motherboard manual)
- Disabled legacy support again, checked some other BIOS settings
to make sure they are what they were before resetting the CMOS
- Set my CD/DVD up as primary boot device (in BIOS)
- Used a (X)Ubuntu installation CD instead of a USB (as legacy
support is now disabled)
- Up till this point I still had that Checking NVRAM error at POST.
- Almost went out to buy a new motherboard, gave it one more try
by unplugging my USB keyboard and mouse, booting with Xubuntu
installation CD (12.04.3 LTS)
- BINGO! Installation starts!!!
- During installation, plug back in my USB keyboard and mouse
- Let it complete
- Restart is needed in order to complete installation
- Had some more issues after that with keyboard not working in GRUB menu
- Somehow magically ended up in my BIOS again (by using the DEL
key during boot)
- Enabled USB legacy support
- Reboot
- Finally able to have Xubuntu boot again, login, install latest
updates, working instllation!

I am hoping that I described all this in enough detail so that it
can help others with similar issues.

In the end it seems that when you get that MSI quirk error,
disabling USB legacy support in your BIOS goes a long way. That
Checking NVRAM error is (or looks to be) because you still have USB
devices plugged in when USB legacy support is disabled.

So resetting the CMOS may not have been necessary after all. I did
not have a PS/2 keyboard/mouse available, but probably disabling
legacy USB support in the BIOS and using PS/2 keyboard+mouse would
have worked directly.
~
 but I very much doubt that MSI could be in business requiring so much
work for regular folks out there.

 I will keep a log here about how I solved that problem in order to
help people running into the same hurdle

 lbrtchx



Re: pci 0000:00:01:0: MSI quirk detected; subordinated MSI disabled ...

2021-04-15 Thread Albretch Mueller
> What I suggest would be to investigate if your BIOS or UEFI has particular 
> settings for PCI and try
> to adapt them to the hardware present and the OS installed/to be installed.

> As a further measure, you could try to play with the different kernel 
> parameters to see if there is an
> improvement: 
> https://www.kernel.org/doc/html/v4.14/admin-guide/kernel-parameters.html
> concerned parameters could be:
> - *debug* (to increase the level on information you get at boot, but I doubt 
> it alittle because
> the Debian kernel is not built with all debug options in order to be quicker 
> at runtime)
> - *irq* (whith the nomsi option, the system would, it seems, be in irq mode)
> - *acpi*
> - *bios* (to try to forbid the bios to be called by the OS to determine how 
> to call MSI/IRQ)
> - *pci* and *pcie*

> As with Knoppix, you can pass a kernel option to the boot in Debian by 
> hitting "e" key at boot to edit the command line to launch the kernel

 Thank you. I have tried every possible option combination with
knoppix and I have studied reports on similar problems by other
people, but I haven't still been able to make that mobo boot up.

 The problem is that the idiots that designed that motherboard make it
hard for you to get to their BIOS (I haven't even figured out that)
and I haven't been able to find their manual/specs for that board
online (most probably for other reasons)

> Or you could do what I did after fighting with an msi board for
> several years a decade back ...

 I may have too, but I must work under constraints and on a short
budget and I must be hopeful as well ;-).

> Are you still subject to constraints in what you can do
> with your hardware: I know a while back in other threads
> on this mailing list you said that you had to use virtual
> machines / live disks.

 Well, yes. I can only access the internet using live CDs/DVDs
(preferably while using knoppix with the toram option). I have higher
powers actively messing with me. Some people tell me that they "mess
with", monitor everyone that I am just aware and I hate them and their
bs because it messes with my line of work.

 I never effing ever connect my work machine to the Internet. I mean,
noticing my doctor telling me whatever with a computer connected to
the Internet makes me anxious and if you think I am "paranoid" all I
have to say is: "thank you". These times being "paranoid" about such
matters is a healthy state of mind.

 So, live DVDs with some extra scripts to customize things a bit and I
am fine to go.

 I like Debian very much, just using apt in the way that it is
supposed to be used assuming that the Internet is a safe, "trusted"
environment is an odd joke to me. we have had these constant back and
forths in the mailing list. I have even been dreaming about coding a
version of apt based on java (japt?), so that you could go anywhere
with any laptop and get all libraries and etc's, it shouldn't be hard
at all but right now I cannot dedicate time and mind to any other
thing.

>MSI the motherboard manufacturer has nothing to do with the
>PCI feature we are discussing here.

>https://www.kernel.org/doc/html/latest/PCI/msi-howto.html

thank you. it was a confusing coincidence. The thing is that the
motherboard on that box is an:

MSI MS-7641 Ver.3.0 + AMD Athlon II x2 250

 the two links were very good but also "too intertaining" I just need
to get the thing to work for me asap.

lbrtchx



Re: pci 0000:00:01:0: MSI quirk detected; subordinated MSI disabled ...

2021-04-22 Thread Albretch Mueller
 Debian doesn't stop to amaze me. I have an "old" 2 GiB RAM
MacAirbook1,1 without its hard drive and without internal CMOS timing
and with only one USB port (I wonder what those folks were thinking
about when they designed those laptops).

 A Debian live DVD boots fine from a USB hub, then I go "hwclock --set
..." and do a hot reset (the set time will be kept) and use a USB pen
drive. Knoppix just shows to me a question sign on a light and dark
gray background.

 I will get "married" to Debian (why not? some people would marry
their pets ... ;-)) if it includes the following startup options right
of the live DVD:

 * toram
 * memtest
 * testCD

 In my opinion none of those functions are hard to include at all.

 You can -almost- always go monkey and do that one way or another, but
I would like for Debian to make more official an offline mode for
using apt probably based on java, so that any machine could be used to
download packages to be then installed off-line for those of us who
don't/can't see the Internet as a trusted environment.

 I would also love to see networking taken out of the Linux kernel,
but this is an entirely different, hellishly "political" issue.

 lbrtchx



Re: pci 0000:00:01:0: MSI quirk detected; subordinated MSI disabled ...

2021-04-23 Thread Albretch Mueller
> What you lose this way (besides time) is having apt calculate
> which supporting packages you need. However,

> https://packages.debian.org

> will happily tell you all the dependencies of any given package,
> and then you can get all the dependencies of each of those, and
> so on.

 yes, and "japt" would scrape those pages or even simulate apt to
figure out all dependencies and then download all the packages you
need to install locally, off line.
~
> You can compile your own kernel with no hardware network
> drivers.

 Yes, you can! (tm), but imagine, just imagine, as JOhn Lennon sang,
that networking would be taken out of the kernel! At times it amazes
me to discuss with you such issues here. What is the point of using
security based on IP tables when the active code/js bs is used to even
probe the keyboard for the passwords you use in case you use the same
one in your off line and on line machines? They have been using js
injection even as part of general societal AI bots.
~
> HURD is a microkernel whereby the kernel only provides the most basic
> services and almost all device drivers are implemented in user space.

 https://www.debian.org/ports/hurd/

 https://people.debian.org/~sthibault/failed_packages.txt

 https://www.gnu.org/software/hurd/users-guide/using_gnuhurd.html#Networking

 Thanks and networking doesn't seem to have been taken out of the
kernel in HURD. My only question would be would HURD make it easier
somehow? It would be a project to definitely look into.

 lbrtchx



Re: pci 0000:00:01:0: MSI quirk detected; subordinated MSI disabled ...

2021-04-27 Thread Albretch Mueller
> Or toggle "javascript.enabled" to false in "about:config" - no
> extensions required.

 the assumption being that you would use, trust firefox. A
well-documented, XML-based open source kind of proxy/gateway through
which all requests are sent and received would work with any browser.
~
 I think, given the options, the suggested idea not to install
networking at all (one of the install options with Linux) wins the
prize; then:

 b) an exposed "inet" user for the session should be defined with a
RAM drive as its home directory;
 c) for whom -exclusively- the network card's device driver should be
installed (is here a hack to install a device driver entirely from
user space? probably, a Debian HURD kind of thing on which the basic
hook for the networking service is exposed and a user space program
would take it from there?);
 d) then all access to the Internet go through a client proxy run by "inet";
 e) acting as a squid-like application proxy;
 e.1) parsing all text/html content coming in, first cleansing it into
well-fomed xhtml with some HTML parser, then using XPath, java
Nasshorn, the principles of the Burp Suite + wireshark + page Reader +
...;
 e.1.1) sanitzing the page into alpha-offset format;
 e.1.2) not the received, but a sanitzed, topical, content centric
page with all the distracting "attentional" nonsense removed will be
displayed to the user (page reader on steroids);
 e.1.3) it maintain a local cache of the accessed data (videos, pdf
files, ...) and adjusts all links on the flight to the local paths
(storage space is very cheap, anyway);
 e.1.4) using XPaths of the sanitized page, you would be able to
exactly authorize the java script that you want to let through and
blanket "yeah, sure!" the rest of it, including those bsing "we care
about your privacy" (isn't that the very definition of not having
privacy that other people "care" about it?), "user agreements"
authorization of cookies, right on the proxy ebfore it reaches your
field of view/consciousness with the option of sending bogus
information actively, passively or by request, per site, section of
the page ...;
 e.1.5) cookies, user agent, ... will be managed by the proxy, so
little as possible will be exposed;
 f) based on the request headers the proxy would create a new
folder/jail each time a new domain is accessed (probably even the
option to run macchanger?);
 g) based on the critical XPaths a "processing signature" will be kept
for pages, domains, URL paths frequented;
 h) inet had no access to the PATH or any other local variables or
files, it would only know of its own jail;
 i) many/most/all? applications assume/demand Internet access. All
such access attempts should be logged with traceable information so
that you can inspect what it is "that application was attempting to do
which it shouldn't be doing" (tm);
 j) while shutting down "inet" will permanently save the cookies and
such which matter, the rest will be physically "hasta la vista,
babied" since it was kept in RAM anyway;
 k) that proxy could be used as password jar and could as well work as
agent regularly checking if you've got new or certain kinds of email
...

 These is nothing really "new" in that spec. All the pieces either
exist or their functional requirements can be achieved with
configuration changes. It is assembling of all pieces which matters
and may be problematic.

 Do you know of such previous "paranoid" art?

 Any Linux/debian friendly network firmware you would recommend to
make that project easier?

 Any ideas come to mind? Any hints or death threats you would share?

 lbrtchx



Re: pci 0000:00:01:0: MSI quirk detected; subordinated MSI disabled ...

2021-04-29 Thread Albretch Mueller
> What is "alpha-offset format"?

 we, corpora research kinds of folks, need to process thousand of
files as other people process bytes. UTF8 was basically an
Americanizierung of alle alphabets. UTF is great to describe an
alphabet but not for text files.

 UTF8 turned all files into streams not good for questions such as
what is the charatcer/string sequence starting on the nth addressable
unit of a file ...

 Doing that with utF8 is from way too complicated to impossible. Also
alpha offset nicely splits the files segments into its different
parts: ALPHABETICAL text, js, css, ...

 lbrtchx



Re: pci 0000:00:01:0: MSI quirk detected; subordinated MSI disabled ...

2021-04-29 Thread Albretch Mueller
> I haven't seen anyone mention apt-offline in this thread, so I will
> mention it now:
>
>apt-offline is an Offline APT Package Manager.
>.
>apt-offline can fully update and upgrade an APT based distribution
>without connecting to the network, all of it transparent to APT.
>.
>apt-offline can be used to generate a signature on a machine (with
>no network).  This signature contains all download information
>required for the APT database system. This signature file can be
>used on another machine connected to the internet (which need not be
>a Debian box and can even be running windows) to download the
>updates.  The downloaded data will contain all updates in a format
>understood by APT and this data can be used by apt-offline to update
>the non-networked machine.
>.
>apt-offline can also fetch bug reports and make them available
>offline.
>Homepage: https://github.com/rickysarraf/apt-offline
>
> I have no experience using it.  Looks to me like for buster you need
> to get it from backports.


 thank you very much. I see myself using it intensively to deal with
my kinds of problems.
 the best guideline I found at:

 
https://sleeplessbeastie.eu/2014/01/30/how-to-manage-packages-on-an-off-line-debian-system/

 about the alpha-offset encoding, please, givie me some time to answer
your questions, write up the idea more fully, clearly and I think we
should probably start a new thread to discuss it

 lbrtchx



bitz-server: package is not in any development repository ...

2021-05-17 Thread Albretch Mueller
 https://tracker.debian.org/pkg/bitz-server

 bitz-server: ICAP server (RFC 3507) implementation in C++

 package is gone: This package is not in any development repository.
This probably means that the package has been removed (or has been
renamed). Thus the information here is of little interest ... the
package is going to disappear unless someone takes it over and
reintroduces it.
~
 It is not totally clear to me is this package is being actively
maintained or not, since it is part of buster:

 https://packages.debian.org/source/stable/bitz-server

 lbrtchx



Re: bitz-server: package is not in any development repository ...

2021-05-17 Thread Albretch Mueller
 ... and my main interest would be then connecting it to java using
the JNI in order to do the deep content inspection and dynamic
customization from events happening in java programs.

 If I were to collaborate with the maintainers of this package, which
"prior art": blogs, books, ... would you recommend?

 If possible, in order to save/not waste time from other projects, I
need a thoroughgoing step-by-step guideline.

 lbrtchx



Re: bitz-server: package is not in any development repository ...

2021-05-18 Thread Albretch Mueller
On 5/18/21, Andrei POPESCU  wrote:
> https://tracker.debian.org/pkg/bitz-server

On 5/18/21, Jörg Frings-Fürst  wrote:
> Hello Albretch,
> bitz-server has 4 RC-Bugs[1], which could not be fixed by me.
> No fixes came from the upstream either.
> Therefore the package had to be removed from testing and unstable.

 Well, thank you:

 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=966418

 that RC bug would be the place for me to start. I am not familiar
with the debian dev process and there are other "cultural" aspects
which are not totally clear to me. Jörg (developer, initial maintainer
of the package) tells us bitz-server has bugs, which haven't been
fixed, but I see the packaged listed as "stable" in buster:

 https://packages.debian.org/search?keywords=bitz-server

 Also, I am not looking at the matter from the pit yet, but RFC 3057
shouldn't be that difficult to implement and, as I see it, an ICAP
server is "simply" a light httpd, Apache module kind of piece of
software and there is a currently maintained, full implementations of
it in C:

 https://github.com/c-icap/c-icap-server

 That implementation could be included as a debian package. So I
wounder what the actual problem could possibly be.

 If, for whatever reason, debian opts out of that project and
continues to support the C++ effort, I need to first make that bug
reproducible and, if possible, know the details of what previous minds
thought of that prior art/effort, which Uditha has kept alive:

 https://github.com/uditha-atukorala/bitz-server

 I also noticed that someone else (Cameron Norman
) was trying to resurrect blitz-server
before:

 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=769076

 but that effort was unsuccessful since it was even "removed from mentors".

 In case the package still contains bugs, would you, Uditha and/or
Cameron, anyone who is knowledgeable about such matters share their
own dev notes/logs?

 You know me from my jestful rants, but, by profession, I am a
theoretical physicist who worked mostly as a data analyst (starting
with FORTRAN, mostly C and C++, then later java to then fall out of
love with coding/"technical matter" altogether and becoming a
teacher), so I  never had the chance to get too political about
programming languages (while I worked for "corporate America" I had to
even code in VB! ;-)). All I need to do is reproducibly get to the
matter at hand asap (that bug) and squeeze some mind and time from my
other projects. I am definitely not into protagonism and we all have
plenty of things to do. Es it always good when more than one person
commits their mind to it, otherwise it would be some sort of
time-wasting suicidal masturbation.

 lbrtchx



Re: bitz-server: package is not in any development repository ...

2021-05-18 Thread Albretch Mueller
On 5/18/21, Andrey Rahmatullin  wrote:
>>  That implementation could be included as a debian package.
> It's in Debian: https://tracker.debian.org/pkg/c-icap
> It's orphaned though.

 OK, great! What do you need for me to do to officially "adopt" that
package at its maintainer? I am currently testing their sources
directly from the github repository and I will be working intensively
with c-icap and related matters (developing interfaces around it), so
I may as well become its debian maintainer.

 lbrtchx



firmware: Davicom DM96xx USB 10/100 Ether ... (which package do I need for that Ethernet interface?)

2021-06-24 Thread Albretch Mueller
sudo lshw -class network
...
  *-network
   description: Ethernet interface
   physical id: 1
   bus info: usb@1:1.3
   logical name: eth1
   serial: 00:e0:4c:53:44:58
   size: 100Mbit/s
   capacity: 100Mbit/s
   capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt
100bt-fd autonegotiation
   configuration: autonegotiation=on broadcast=yes driver=dm9601
driverversion=22-Aug-2005 duplex=full firmware=Davicom DM96xx USB
10/100 Ether link=yes multicast=yes port=MII speed=100Mbit/s
~
  lbrtchx



Re: firmware: Davicom DM96xx USB 10/100 Ether ... (which package do I need for that Ethernet interface?)

2021-06-24 Thread Albretch Mueller
> That specific kernel module does not require any firmware.

 Well, I am using:

$ uname -a
Linux Microknoppix 5.3.5-64 #16 SMP PREEMPT Wed Oct 23 02:08:38 CEST
2019 x86_64 GNU/Linux

 which they say is based on buster. I will have to test the thing with
Debian and/or ask directly the knoppix folks.



Re: firmware: Davicom DM96xx USB 10/100 Ether ... (which package do I need for that Ethernet interface?)

2021-06-24 Thread Albretch Mueller
// __ rötlich blinkende Router und USB-RJ45-Schnittstelle ...

 
https://forum.vodafone.de/t5/Internet-Geräte/rötlich-blinkende-Router-und-USB-RJ45-Schnittstelle/m-p/2659178/
~
 it was written in German, because I was trying to directly ask on
vodafone's fora, but I think based on the linux commands I included,
anyone could see what I mean.



Re: firmware: Davicom DM96xx USB 10/100 Ether ... (which package do I need for that Ethernet interface?)

2021-06-24 Thread Albretch Mueller
> Try executing "/sbin/modinfo dm9601"

 Well, it seems to be the case. So what might be the problem then?

$ /sbin/modinfo dm9601
filename:   /lib/modules/5.3.5-64/kernel/drivers/net/usb/dm9601.ko
license:GPL
description:Davicom DM96xx USB 10/100 ethernet devices
author: Peter Korsgaard 
alias:  usb:v0A46p1269d*dc*dsc*dp*ic*isc*ip*in*
alias:  usb:v0A46p0269d*dc*dsc*dp*ic*isc*ip*in*
alias:  usb:v0A46p9622d*dc*dsc*dp*ic*isc*ip*in*
alias:  usb:v0A46p9621d*dc*dsc*dp*ic*isc*ip*in*
alias:  usb:v0A46p9620d*dc*dsc*dp*ic*isc*ip*in*
alias:  usb:v0A46p9000d*dc*dsc*dp*ic*isc*ip*in*
alias:  usb:v0FE6p9700d*dc*dsc*dp*ic*isc*ip*in*
alias:  usb:v0FE6p8101d*dc*dsc*dp*ic*isc*ip*in*
alias:  usb:v0A47p9601d*dc*dsc*dp*ic*isc*ip*in*
alias:  usb:v0A46p8515d*dc*dsc*dp*ic*isc*ip*in*
alias:  usb:v0A46p0268d*dc*dsc*dp*ic*isc*ip*in*
alias:  usb:v0A46p6688d*dc*dsc*dp*ic*isc*ip*in*
alias:  usb:v0A46p9601d*dc*dsc*dp*ic*isc*ip*in*
alias:  usb:v07AAp9601d*dc*dsc*dp*ic*isc*ip*in*
depends:usbnet,mii
retpoline:  Y
intree: Y
name:   dm9601
vermagic:   5.3.5-64 SMP preempt mod_unload modversions
$

 I will try with a Debian live DVD when I get a chance
 Thank you very much



Re: firmware: Davicom DM96xx USB 10/100 Ether ... (which package do I need for that Ethernet interface?)

2021-06-26 Thread Albretch Mueller
 Well, I found a Debien DVD

$ uname -a
Linux debian 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02)
x86_64 GNU/Linux

 and tried it to get the same result I was getting while using knoppix.

 To me it was really about the cable or the connector, because all I
had to do was connecting the cable to a RJ45 port in the laptop to
access the Internet.

 lbrtchx



Re: firmware: Davicom DM96xx USB 10/100 Ether ... (which package do I need for that Ethernet interface?)

2021-06-26 Thread Albretch Mueller
 Are you sure I don't need any extra drivers?

$  /sbin/modinfo dm9601
filename:   /lib/modules/4.9.0-6-amd64/kernel/drivers/net/usb/dm9601.ko
license:GPL
description:Davicom DM96xx USB 10/100 ethernet devices
author: Peter Korsgaard 
alias:  usb:v0A46p1269d*dc*dsc*dp*ic*isc*ip*in*
alias:  usb:v0A46p0269d*dc*dsc*dp*ic*isc*ip*in*
alias:  usb:v0A46p9622d*dc*dsc*dp*ic*isc*ip*in*
alias:  usb:v0A46p9621d*dc*dsc*dp*ic*isc*ip*in*
alias:  usb:v0A46p9620d*dc*dsc*dp*ic*isc*ip*in*
alias:  usb:v0A46p9000d*dc*dsc*dp*ic*isc*ip*in*
alias:  usb:v0FE6p9700d*dc*dsc*dp*ic*isc*ip*in*
alias:  usb:v0FE6p8101d*dc*dsc*dp*ic*isc*ip*in*
alias:  usb:v0A47p9601d*dc*dsc*dp*ic*isc*ip*in*
alias:  usb:v0A46p8515d*dc*dsc*dp*ic*isc*ip*in*
alias:  usb:v0A46p0268d*dc*dsc*dp*ic*isc*ip*in*
alias:  usb:v0A46p6688d*dc*dsc*dp*ic*isc*ip*in*
alias:  usb:v0A46p9601d*dc*dsc*dp*ic*isc*ip*in*
alias:  usb:v07AAp9601d*dc*dsc*dp*ic*isc*ip*in*
depends:usbnet,usbcore,mii
retpoline:  Y
intree: Y
vermagic:   4.9.0-6-amd64 SMP mod_unload modversions
$

 lbrtchx



Re: firmware: Davicom DM96xx USB 10/100 Ether ... (which package do I need for that Ethernet interface?)

2021-06-29 Thread Albretch Mueller
On 6/26/21, Reco  wrote:
> On Sat, Jun 26, 2021 at 07:22:36PM +0000, Albretch Mueller wrote:
>>  Are you sure I don't need any extra drivers?
>
> Depends on what you mean by here.
>
> Does dm9601 need a firmware? No, modinfo says it plain and clear.
> Does dm9601 need some other kernel modules to be loaded? Yes, it needs
> usbnet, usbcore and mii, but both udev and modinfo take care of that.

 So, basically, Linux is registering/handling that USB-RJ47 interface
fine. What could then be causing some sort of impedance? How can I
troubleshoot such issues more in depth to be able to determine to
which extent it depend on hw or sw?



Debian Linux keyboard mapping files ...

2021-06-30 Thread Albretch Mueller
 there should be files mapping (most probably unicode) number <->
gliph for each language.
 From where can I get them?
 lbrtchx



Re: Debian Linux keyboard mapping files ...

2021-07-01 Thread Albretch Mueller
$ ls -l /etc/console-setup/boottime.kmap.gz
ls: cannot access '/etc/console-setup/boottime.kmap.gz': No such file
or directory
$

 Or did you mean in the /etc/console-setup of the installation CD/DVD?
~
$ file /etc/console-setup/compose.KOI8-R.inc
/etc/console-setup/compose.KOI8-R.inc: ASCII text

$ ls -l /etc/console-setup/compose.KOI8-R.inc &
-rw-r--r-- 1 root root 31 Apr  6  2017 /etc/console-setup/compose.KOI8-R.inc

$ wc -l /etc/console-setup/compose.KOI8-R.inc &
1 /etc/console-setup/compose.KOI8-R.inc

$ cat /etc/console-setup/compose.KOI8-R.inc &[2] 8630
# Compose sequences for KOI8-R
$

$ ls -l /etc/console-setup/
total 144
-rw-r--r-- 1 root root  819 Mar 10  2018 cached_ISO-8859-15.acm.gz
-rw-r--r-- 1 root root 4736 Mar 10  2018 cached_ISO-8859-15_del.kmap.gz
-rw-r--r-- 1 root root 2427 Mar 10  2018 cached_Lat15-Fixed16.psf.gz
-rwxr-xr-x 1 root root  473 Feb 17 06:49 cached_setup_font.sh
-rwxr-xr-x 1 root root  199 Feb 17 06:49 cached_setup_keyboard.sh
-rwxr-xr-x 1 root root   73 Feb 17 06:49 cached_setup_terminal.sh
-rw-r--r-- 1 root root 4024 Feb 17 06:49 cached_UTF-8_del.kmap.gz
-rw-r--r-- 1 root root   34 Apr  6  2017 compose.ARMSCII-8.inc
-rw-r--r-- 1 root root   31 Apr  6  2017 compose.CP1251.inc
-rw-r--r-- 1 root root   31 Apr  6  2017 compose.CP1255.inc
-rw-r--r-- 1 root root   31 Apr  6  2017 compose.CP1256.inc
-rw-r--r-- 1 root root   41 Apr  6  2017 compose.GEORGIAN-ACADEMY.inc
-rw-r--r-- 1 root root   36 Apr  6  2017 compose.GEORGIAN-PS.inc
-rw-r--r-- 1 root root   32 Apr  6  2017 compose.IBM1133.inc
-rw-r--r-- 1 root root   35 Apr  6  2017 compose.ISIRI-3342.inc
-rw-r--r-- 1 root root   36 Apr  6  2017 compose.ISO-8859-10.inc
-rw-r--r-- 1 root root   36 Apr  6  2017 compose.ISO-8859-11.inc
-rw-r--r-- 1 root root 3737 Apr  6  2017 compose.ISO-8859-13.inc
-rw-r--r-- 1 root root 3020 Apr  6  2017 compose.ISO-8859-14.inc
-rw-r--r-- 1 root root 3552 Apr  6  2017 compose.ISO-8859-15.inc
-rw-r--r-- 1 root root   36 Apr  6  2017 compose.ISO-8859-16.inc
-rw-r--r-- 1 root root 3596 Apr  6  2017 compose.ISO-8859-1.inc
-rw-r--r-- 1 root root 2893 Apr  6  2017 compose.ISO-8859-2.inc
-rw-r--r-- 1 root root 3387 Apr  6  2017 compose.ISO-8859-3.inc
-rw-r--r-- 1 root root 2805 Apr  6  2017 compose.ISO-8859-4.inc
-rw-r--r-- 1 root root   35 Apr  6  2017 compose.ISO-8859-5.inc
-rw-r--r-- 1 root root   35 Apr  6  2017 compose.ISO-8859-6.inc
-rw-r--r-- 1 root root 1217 Apr  6  2017 compose.ISO-8859-7.inc
-rw-r--r-- 1 root root   35 Apr  6  2017 compose.ISO-8859-8.inc
-rw-r--r-- 1 root root 3617 Apr  6  2017 compose.ISO-8859-9.inc
-rw-r--r-- 1 root root   31 Apr  6  2017 compose.KOI8-R.inc
-rw-r--r-- 1 root root   31 Apr  6  2017 compose.KOI8-U.inc
-rw-r--r-- 1 root root   32 Apr  6  2017 compose.TIS-620.inc
-rw-r--r-- 1 root root   31 Apr  6  2017 compose.VISCII.inc
-rw-r--r-- 1 root root 1359 Apr  6  2017 remap.inc
$

> I'm not quite sure I can reconcile your subject line and text.

 Given the baseline option a user chooses as "language" during
installation, the codes sent by the keyboard should be interpreted.

 There should be files with the associations of (unicode) numbers and
keys on a keyboard. I don't think that information is "secret" in any
way. Where can I find those files?

> The eventual mapping is then placed in /etc/console-setup/, so mine
> is in /etc/console-setup/cached_UTF-8_del.kmap.gz

$ ls -l /etc/console-setup/cached_UTF-8_del.kmap.gz
-rw-r--r-- 1 root root 4024 Feb 17 06:49
/etc/console-setup/cached_UTF-8_del.kmap.gz

$ cp -v /etc/console-setup/cached_UTF-8_del.kmap.gz /home/$(whoami)/temp
'/etc/console-setup/cached_UTF-8_del.km
ap.gz' -> '/home/debian/temp/cached_UTF-8_del.kmap.gz'

 and in this file:

$ ls -l /home/debian/temp/cached_UTF-8_del.kmap/cached_UTF-8_del.kmap
-rw-r--r-- 1 debian debian 122418 Jul  1 11:51
/home/debian/temp/cached_UTF-8_del.kmap/cached_UTF-8_del.kmap

I see no indication whatsoever about the fact that I am using a
standard dvorak keyboard right now and that I am typing in English.

I mean something like:

http://xahlee.info/kbd/russian_keyboard_layout.html

Most probably I can't get why anyone would spend time doing such
things, but Xah Lee seems to be interested on the (IMO nonsensical)
"heat map" produced by typing the first chapter of Dostoevsky's "Crime
and Punishment".

I just need, given the language, the unicode keys on regular keyboards
out there.

I may be wrong, but I don't think that my English is so bad and/or my
question so unhinged.

> the raw information appears to be under /usr/share/X11/xkb/

$ ls -l "/usr/share/X11/xkb/"
total 24
drwxr-xr-x  2 root root 4096 Feb 17 06:30 compat
drwxr-xr-x  4 root root 4096 Feb 17 06:30 geometry
drwxr-xr-x  4 root root 4096 Feb 17 06:30 keycodes
drwxr-xr-x  2 root root 4096 Feb 17 06:30 rules
drwxr-xr-x 14 root root 4096 Feb 17 06:30 symbols
drwxr-xr-x  2 root root 4096 Feb 17 06:30 types
$

find "/usr/share/X11/xkb" -type f -exec grep -il "iso\|lang" {} \;
...

 bingo!, but as you said those files look

Re: Debian Linux keyboard mapping files ...

2021-07-01 Thread Albretch Mueller
 David Chartash at the corpora research mailing list pointed out to me
I could find what I wanted at:

 http://kbdlayout.info/

 and within Debian using `man 5 keyboard`

> There's no such table: it cannot exist. Which unicode number would you
> assign to CapsLock, or RightShift. There are several layers of
> translation which lie between pressing/releasing a key and assigning
> a character to the result. Some of these tables are built up out of
> component parts, like the basic letter keys, the "shift"s at their
> edges, function keys, keypads, multimedia, etc.

> For a start, mapping key depressions to unicode text is a many-to-one
> mapping.

 Well, when I said "look up table" I meant also such sequences of
chars including escape sequences which end up being written as a
character in text files. Non-alphabetical languages use input methods.

> ¹ AltGr o yields ø, fair enough,
>  but
>   CapsLock /o yields ø
>   CapsLock 'o yields ó
>   CapsLock `o yields ò
>   CapsLock ^o yields ô
>   CapsLock ~o yields õ
>   CapsLock -o yields ō
>   CapsLock "o yields ö
>   CapsLock !o yields ọ
>   CapsLock .o yields ȯ
>   CapsLock #o yields º
>   CapsLock oo yields °
>  and there's really no limit, so long as I can recall them:
>   CapsLock co yields ©
>   CapsLock ro yields ®
>   CapsLock so yields §
>   CapsLock %o yields ‰
>  and you don't need an AltGr key, and you can configure it
>  to seamlessly work on both VC and in X.

 From your examples you included I will only need yielded glyphs if
they are commonly used in a language. Now, defining "commonly used"
would be an entirely different, yet valid question.

 I will have to code my way through those files to parse unicode <->
key (or key sequence) "lookup tables" for each language and my effort
will need definitely more than "parsing" for non-alphabetical
languages.

 thank you,
 lbrtchx



Re: Debian Linux keyboard mapping files ...

2021-07-02 Thread Albretch Mueller
On 7/2/21, Greg Wooledge  wrote:
> you're starting from some MASSIVELY incorrect assumptions,
> but up until now, correcting all the background noise was never
> important, because you were just poking around out of curiosity.  Or so
> we thought.

 I don't understand why "we" think "I was just poking around out of
curiosity" (provided "we" has some powerful mind reading skills). I
had spent some time finding such files and I thought there should be a
way to somehow get such files out of Debian's installation disks. I
also realized why I couldn't find the link that was suggested to me. I
always exclude Windows results from google searches.

 I also included the results here in case anyone else has such needs.

 lbrtchx



Re: Debian Linux keyboard mapping files ...

2021-07-02 Thread Albretch Mueller
It occurred to me that  my use of the term "mapping" may have been a
little confusing. I used it in general and as part of my corpora
research I am moving away from UTF-8. That is all I am doing.

lbrtchx



Re: Debian Linux keyboard mapping files ...

2021-07-04 Thread Albretch Mueller
On 7/4/21, David Wright  wrote:
> On Fri 02 Jul 2021 at 02:24:20 (-0400), Albretch Mueller wrote:
>>  David Chartash at the corpora research mailing list pointed out to me
>> I could find what I wanted at:
>>
>>  http://kbdlayout.info/
>
> That's for Windows, isn't it.

 Yes, but at the end of the day the written characters in a text is
what matters to my line of work.

> My point about the mapping of unicode → keys depressed² seems to
> have been missed.
...
> so if you were to meet ø in your subject text, how would you
> determine which keys were struck in order to add them to your
> heat map?

 I mentioned "heat patterns" when I talk about his work (which I don't
understand anyway). I used his work because he "mapped" the key
sequences and resulting chars for different languages in a useful way
to me.

 lbrtchx



"E: Package 'gs' has no installation candidate" ...

2022-03-25 Thread Albretch Mueller
$ uname -a
Linux debian 5.10.0-10-amd64 #1 SMP Debian 5.10.84-1 (2021-12-08)
x86_64 GNU/Linux
~
 basically I need to extract, merge, ... pages from pdf files and gs
was the way to go?
 Do you know what is going on?
 Do you know of a way to work around it, probably using an older package?
 Any alternative you would suggest?
 Thank you,
 lbrtchx



Re: "E: Package 'gs' has no installation candidate" ...

2022-03-25 Thread Albretch Mueller
$ sudo apt-get update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Reading package lists... Done

$ sudo apt-get install gs
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package gs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'gs' has no installation candidate
$


On 3/25/22, Albretch Mueller  wrote:
> $ uname -a
> Linux debian 5.10.0-10-amd64 #1 SMP Debian 5.10.84-1 (2021-12-08)
> x86_64 GNU/Linux
> ~
>  basically I need to extract, merge, ... pages from pdf files and gs
> was the way to go?
>  Do you know what is going on?
>  Do you know of a way to work around it, probably using an older package?
>  Any alternative you would suggest?
>  Thank you,
>  lbrtchx
>



Re: "E: Package 'gs' has no installation candidate" ...

2022-03-25 Thread Albretch Mueller
$ sudo apt-get install ghostscript
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  libeatmydata1
Use 'sudo apt autoremove' to remove it.
Suggested packages:
  ghostscript-x
The following NEW packages will be installed:
  ghostscript
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 97.9 kB of archives.
After this operation, 237 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main amd64 ghostscript
amd64 9.53.3~dfsg-7+deb11u1 [97.9 kB]
Fetched 97.9 kB in 0s (333 kB/s)
Selecting previously unselected package ghostscript.
(Reading database ... 254731 files and directories currently installed.)
Preparing to unpack .../ghostscript_9.53.3~dfsg-7+deb11u1_amd64.deb ...
Unpacking ghostscript (9.53.3~dfsg-7+deb11u1) ...
Setting up ghostscript (9.53.3~dfsg-7+deb11u1) ...
Processing triggers for man-db (2.9.4-2) ...

$ which gs
/usr/bin/gs

$ gs --version
9.53.3
$



Why is debian Live (11.2.0) advancing the time on my windows laptop +5 hours? ...

2022-03-26 Thread Albretch Mueller
$ uname -a
Linux debian 5.10.0-10-amd64 #1 SMP Debian 5.10.84-1 (2021-12-08)
x86_64 GNU/Linux
$
 and how can I avoid that from happening?
 lbrtchx



Re: Why is debian Live (11.2.0) advancing the time on my windows laptop +5 hours? ...

2022-03-27 Thread Albretch Mueller
On 3/27/22, David Christensen  wrote:
> I have a desktop machine (Intel DQ67SW motherboard) with a 2.5" SATA
> trayless drive rack that I boot with various OS's on 2.5" SATA SSD's.  I
> have to remember to enter Setup and adjust the CMOS clock every time I
> switch between a FOSS OS and Windows.

 But why is that happening? The use of a live DVD at times is
necessary, but part of very idea of going live is not altering, having
to alter the hard- or firmware, right? I would even say that is the
main reason why people go live.

 lbrtchx



Re: Why is debian Live (11.2.0) advancing the time on my windows laptop +5 hours? ...

2022-03-27 Thread Albretch Mueller
On 3/27/22, to...@tuxteam.de  wrote:
> (3) Hardware clock gets adjusted accordingly.
> [which] would be
> wrong for a live distro: don't touch persistent state!

 exactly! will this set up "logic" be fixed for the next live systems?

 lbrtchx



Re: Why is debian Live (11.2.0) advancing the time on my windows laptop +5 hours? ...

2022-03-27 Thread Albretch Mueller
On 3/27/22, to...@tuxteam.de  wrote:
> On Sun, Mar 27, 2022 at 12:08:38PM +0000, Albretch Mueller wrote:
>> On 3/27/22, to...@tuxteam.de  wrote:
>> > (3) Hardware clock gets adjusted accordingly.
>> > [which] would be
>> > wrong for a live distro: don't touch persistent state!
>>
>>  exactly! will this set up "logic" be fixed for the next live systems?
>
> You might also consider fixing your Windows install. Rumour has it that
> Microsoft has seen the light in the meantime ;-)

 ... assumptions, which might not be the case for many DL users on a
Windows install base.

 Another way to find a solution around such "political" decisions
would be to include an utility on DL to reset the time based on NTP
(and/or the location of the user ...).

 lbrtchx



Re: Why is debian Live (11.2.0) advancing the time on my windows laptop +5 hours? ...

2022-03-27 Thread Albretch Mueller
On 3/27/22, songbird  wrote:
>   set the bios time to be universal and then set up windows
> to use universal time.

 again, assumptions ...

On 3/27/22, David Wright  wrote:
> It looks as if you're dual-booting.

 No, I am not.

 Use case: I keep a DL DVD with me as some sort of cross between
defence weapon and talisman. I have run into all kinds of situations
in which people wonder about "what is wrong with their computers" ...
No, I don't tend to go into what/who is actually wrong.

 At times I have found myself with my work laptop in an area with a hotspot ...

 Do you see now why technical and political kind of issues ("you/they
should be doing this and that") should not overlap?

 lbrtchx



Re: Why is debian Live (11.2.0) advancing the time on my windows laptop +5 hours? ...

2022-03-27 Thread Albretch Mueller
On 3/27/22, Greg Wooledge  wrote:
> Well, you are.  Just not in the normal way.

On 3/27/22, to...@tuxteam.de  wrote:
> Debian Live /is/ a dual boot -- unless the computer in question
> has no operating system to begin with :-)
>
> I think there is some misunderstanding on how songbird and you
> think of "dual boot".

 To me "dual booting" had always meant: repartitioning drives; an
actual Linux installation; messing with Windows fschk; with the GRUB
loader; choosing which OS do I want to use during start up; ...

 What I have been doing is occasionally using a DL DVD and an external
USB player to temporarily use pretty much any bootable device with a
USB port. I have successfully booted  even very old "for parts" mac
airbooks without a hard drive in that way just fine, which has truly
amazed me.

> As I already said, I think a live system shouldn't /set/ the
> hwclock

 ... the hardware and/or firmware of the host system at all. Period!

 To me that is the whole purpose of using live systems, no?: "let me
just borrow the RAM and the CPU, its buses and IO connectors ... for a
while". I find honorable that kind of "do no harm" Hippocratic
oath/paradigm, which includes as part of a corollary: "don't you ever
think, talk or walk like a politician".

> AFAIK there is one mailing list dedicated to debian live. Perhaps
> you're luckier there.

 I will try "to talk sense into them", but since the DL is the same as
the install system there might be some sort of "implementation issues"
blocking the possibility of an easy solution to that problem.

 I think at the very least DL should include a utility to reset the
system time in whichever way user wants or actually ask the user if
she is OK with having DL alter the system clock "because" "Windows
developers are hopelessly idiotic morons who haven't figured out yet
if the sun rises from the East or from the West" ...

 lbrtchx



which references (books, web pages, faqs, videos, ...) would you recommend to someone learning about the Linux boot process as thoroughly as possible?

2022-04-02 Thread Albretch Mueller
imagine you had to code a new bootloader now (as an exercise) in
hindsight which books would you have picked?

I am OK with Math and technology of any kind and I am more of a Debian
kind of guy. In fact, I am amazed at how Debian Live would pretty much
boot any piece of sh!t you would feed to it, but, just to mention one
case, knoppix would not. But then knoppix, has such super nice boot-up
options as: toram (right as a parameter as you boot, no tinkering with
any other thing!), fromhd and bootfrom (you can use to put an iso in a
partition of a pen drive, or even stash it in your own work computer,
in order to liberate your DVD player after booting), ..., which DL
doesn’t have.

I know some RS232/USB converters are not reliable. Which ones do you
use? As far as I know laptops don’t come with RS232 anymore. I will
need to log the boot process to study it.

I have been always intrigued about such matters and such differences,
between what I see as supposedly being standardized, like a boot
process.

lbrtchx



Re: which references (books, web pages, faqs, videos, ...) would you recommend to someone learning about the Linux boot process as thoroughly as possible?

2022-04-03 Thread Albretch Mueller
> I think that at least in the past it was possible to boot Debian Live systems 
> with `toram` option, too. You should probably just try it out?

 Well, it seems DL has its own "toram", "fromhd", "bootfrom", ... but
not as parameters to be entered right in the first splash screen while
it boots up as knoppix does

 I went google: "debian live toram" looking for something like:

 http://knoppix.net/wiki3/index.php?title=Cheat_Codes

 and just found single one page with 77 hits. I tried: "append
boot=live", but it didn't work.

>live-boot *does* have these options. I've not used those in a while.
>'man 7 live-boot' mentions 'toram' and 'fromiso/findiso'.

>> I will need to log the boot process to study it.

>Perhaps you need 'debug', 'nosplash', and similar boot options. You might not 
>need to use a serial device. Also for your convenience, run the live image in 
>e.g. kvm, which simulates a serial device.

>See also the latest version of live-manual:
>https://live-team.pages.debian.net/live-manual/html/live-manual/index.en.html

 and, especifically, on chapter:

 
https://live-team.pages.debian.net/live-manual/html/live-manual/overview-of-tools.en.html

 you find the explanation about how to parametrize the live start up
process with lb config, not exactly the start up one liner approach I
was very hopefully looking for

 I used and loved knoppix before there was DL. "Political" and
cultural aspects are interesting when it comes to technology. Here are
the google hits you get when searching for:

 knoppix toram: 2580
 knoppix bootfrom: 295,000

 I like that "bootfrom" iso thing so much, because for more than one
good reason I don't like the idea of carrying two laptops around. Even
though the "fast start" on Windows would not let you mount its hard
drives rw:

$ sudo lsblk
NAMEMAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
loop0 7:00   2.1G  1 loop
/usr/lib/live/mount/rootfs/filesystem.squashfs
sr0  11:01   2.4G  0 rom  /usr/lib/live/mount/medium
nvme0n1 259:00 238.5G  0 disk
├─nvme0n1p1 259:10   260M  0 part
├─nvme0n1p2 259:2016M  0 part
├─nvme0n1p3 259:30 237.7G  0 part
└─nvme0n1p4 259:40   526M  0 part

$ sudo blkid | grep ntfs
/dev/nvme0n1p3: BLOCK_SIZE="512" UUID="0880083680082CAE" TYPE="ntfs"
PARTLABEL="Basic data partition"
PARTUUID="a49b734e-47e3-40e5-a8d6-c31b764078ef"
/dev/nvme0n1p4: LABEL="Windows RE tools" BLOCK_SIZE="512"
UUID="00BC32C0BC32B050" TYPE="ntfs" PARTLABEL="Basic data partition"
PARTUUID="8cd3ccd8-fa9e-425f-955d-044324ab52d7"

$ sudo mkdir /media/nvme0n1p3

$ sudo mount --verbose --types ntfs /dev/nvme0n1p3 /media/nvme0n1p3
Windows is hibernated, refused to mount.
The disk contains an unclean file system (0, 0).
Metadata kept in Windows cache, refused to mount.
Falling back to read-only mount because the NTFS partition is in an
unsafe state. Please resume and shutdown Windows fully (no hibernation
or fast restarting.)
Could not mount read-write, trying read-only

$ sudo umount --verbose  /media/nvme0n1p3
umount: /media/nvme0n1p3 unmounted
$

 There is a way to bypass those kinds of problems when the drive is
hybernated but not while it is "fast start(ed)"

 I would like to place a DL iso in the Windows drive access it ro (in
a sense it is better so) and then let the DL DVD know what I need at
start up. I used to do exactly this with knoppix just fine, but DL
boots on quite literally anything and for some reason I would like to
investigate knoppix doesn't.

 lbrtchx



E: Package 'vlc' has no installation candidate ...

2022-04-28 Thread Albretch Mueller
 How do you install vlc on Debian BUllseye?

 these are the relatively weird problems I am having and I couldn't
find much about them specifically online:

# time apt-get update
Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Reading package lists... Done

real0m0.955s
user0m0.395s
sys 0m0.236s

# time apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  docbook-xml python3-distro sgml-base sgml-data xml-core yelp-xsl
Use 'apt autoremove' to remove them.
The following packages have been kept back:
  libjavascriptcoregtk-4.0-18
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

real0m0.221s
user0m0.200s
sys 0m0.014s

# time apt-get install vlc
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package vlc is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'vlc' has no installation candidate

real0m0.127s
user0m0.097s
sys 0m0.022s
#
~

 lbrtchx



Re: E: Package 'vlc' has no installation candidate ...

2022-04-29 Thread Albretch Mueller
On 4/28/22, Greg Wooledge  wrote:
> Run these commands for additional information:
>
> cat /etc/apt/sources.list
> apt policy vlc

# date; cat /etc/apt/sources.list
Fri 29 Apr 2022 09:44:06 PM CDT
# deb cdrom:[Official Debian GNU/Linux Live 11.2.0 lxde
2021-12-18T12:41]/ bullseye main

#deb cdrom:[Official Debian GNU/Linux Live 11.2.0 lxde
2021-12-18T12:41]/ bullseye main

deb http://security.debian.org/debian-security bullseye-security main
deb-src http://security.debian.org/debian-security bullseye-security main

# bullseye-updates, to get updates before a point release is made;
# see 
https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
# A network mirror was not selected during install.  The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
# deb http://deb.debian.org/debian/ bullseye-updates main
# deb-src http://deb.debian.org/debian/ bullseye-updates main

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
#

# date; apt policy vlc
Fri 29 Apr 2022 09:48:37 PM CDT
vlc:
  Installed: (none)
  Candidate: (none)
  Version table:
#

 It may all relate to the fact that I just installed bullseye.

 lbrtchx



Re: E: Package 'vlc' has no installation candidate ...

2022-04-29 Thread Albretch Mueller
# apt-add-repository
-bash: apt-add-repository: command not found
#



Re: E: Package 'vlc' has no installation candidate ...

2022-04-30 Thread Albretch Mueller
 I had just installed Debian 11 onto a pen drive and as soon as I
connected my computer to the Internet I started having such problems,
which makes me wonder if the original installation disk was OK.
 lbrtchx



Re: E: Package 'vlc' has no installation candidate ...

2022-04-30 Thread Albretch Mueller
 after editing it the unhashed line in my /etc/apt/sources.list are:

deb http://security.debian.org/debian-security bullseye-security main
deb-src http://security.debian.org/debian-security bullseye-security main

deb http://deb.debian.org/debian/ bullseye-updates main
deb-src http://deb.debian.org/debian/ bullseye-updates main

deb http://deb.debian.org/debian bullseye main contrib non-free
deb-src http://deb.debian.org/debian bullseye main contrib non-free

deb http://deb.debian.org/debian-security/ bullseye-security main
contrib non-free
deb-src http://deb.debian.org/debian-security/ bullseye-security main
contrib non-free

deb http://deb.debian.org/debian bullseye-updates main contrib non-free
deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free

 and all seems to be fine and dandy.

 lbrtchx



any good books about the (art?, economics and) science of optimizing IO performance? ...

2022-05-23 Thread Albretch Mueller
there is quite a bit of partial and somewhat obviously misconstrued
("buy my great sh!t") information out there about how to combine RAM,
NVMe, SSD, SATA and RAID in order to optimize IO performance. You also
hear about ZFS licensing and performance issues in Linux.

I'd wish I could find a book explaining IO performance right from the
physics of it to the OS system level algorithms to optimize transfer
rates in a "nullius in verba", "and-here-is-how-you-test-it" kind of
way.

Any comprehensive readings regarding such matters you would share?

lbrtchx



Re: any good books about the (art?, economics and) science of optimizing IO performance? ...

2022-05-24 Thread Albretch Mueller
On 5/23/22, John Conover  wrote:
> . . . the problem is to write, NOT to the disk, but to the on disk cache 
> memory . . .

 and I could imagine depending on the kinds of data loads one expects
there are best practices about how to optimally make RAM, SSDs and
RAID configurations of mechanically spinning disks play together.
 That is what I am looking for, which I thought should be cultured in
these "big data" times
 thank you,
 lbrtchx



problems while using debian's keyring ...

2022-05-31 Thread Albretch Mueller
 I think I am following the steps as I should.
 This is what I got before and after I thought I have verified the
webkit2gtk source packages:

$ gpg --verify webkit2gtk_2.34.6.orig.tar.xz.asc
webkit2gtk_2.34.6-1~deb11u1.debian.tar.xz
gpg: Signature made Thu 17 Feb 2022 07:12:45 AM CST
gpg:using DSA key 5AA3BC334FD7E3369E7C77B291C559DBE4C9123B
gpg: Can't check signature: No public key
$

# apt-get install debian-keyring debian-archive-keyring
# apt-key update
# apt-get update

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
debian-archive-keyring is already the newest version (2021.1.1).
The following packages were automatically installed and are no longer required:
  docbook-xml python3-distro sgml-base sgml-data xml-core yelp-xsl
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  debian-keyring
0 upgraded, 1 newly installed, 0 to remove and 268 not upgraded.
Need to get 31.1 MB of archives.
After this operation, 32.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://deb.debian.org/debian bullseye/main amd64 debian-keyring
all 2021.07.26 [31.1 MB]
Fetched 31.1 MB in 39s (808 kB/s)
Selecting previously unselected package debian-keyring.
(Reading database ... 277281 files and directories currently installed.)
Preparing to unpack .../debian-keyring_2021.07.26_all.deb ...
Unpacking debian-keyring (2021.07.26) ...
Setting up debian-keyring (2021.07.26) ...
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d
instead (see apt-key(8)).
Warning: 'apt-key update' is deprecated and should not be used anymore!
Note: In your distribution this command is a no-op and can therefore
be removed safely.
Get:1 http://deb.debian.org/debian bullseye-updates InRelease [39.4 kB]
Get:2 http://security.debian.org/debian-security bullseye-security
InRelease [44.1 kB]
Hit:3 http://deb.debian.org/debian bullseye InRelease
Get:4 http://deb.debian.org/debian-security bullseye-security
InRelease [44.1 kB]
Get:5 http://deb.debian.org/debian bullseye-updates/main
Sources.diff/Index [7,239 B]
Get:6 http://deb.debian.org/debian bullseye-updates/main amd64
Packages.diff/Index [7,239 B]
Get:7 http://deb.debian.org/debian bullseye-updates/main Sources
T-2022-05-28-1407.13-F-2022-05-28-1407.13.pdiff [238 B]
Get:7 http://deb.debian.org/debian bullseye-updates/main Sources
T-2022-05-28-1407.13-F-2022-05-28-1407.13.pdiff [238 B]
Get:8 http://deb.debian.org/debian bullseye-updates/main amd64
Packages T-2022-05-28-1407.13-F-2022-05-28-1407.13.pdiff [1,087 B]
Get:8 http://deb.debian.org/debian bullseye-updates/main amd64
Packages T-2022-05-28-1407.13-F-2022-05-28-1407.13.pdiff [1,087 B]
Get:9 http://security.debian.org/debian-security
bullseye-security/main Sources [123 kB]
Get:10 http://security.debian.org/debian-security
bullseye-security/main amd64 Packages [153 kB]
Get:11 http://deb.debian.org/debian-security bullseye-security/main
Sources [123 kB]
Get:12 http://security.debian.org/debian-security
bullseye-security/main Translation-en [95.1 kB]
Get:13 http://deb.debian.org/debian-security bullseye-security/main
amd64 Packages [153 kB]
Get:14 http://deb.debian.org/debian-security bullseye-security/main
Translation-en [95.1 kB]
Fetched 886 kB in 8s (104 kB/s)
Reading package lists... Done
W: Target Sources (main/source/Sources) is configured multiple times
in /etc/apt/sources.list:15 and /etc/apt/sources.list:24
W: Target Packages (main/binary-amd64/Packages) is configured multiple
times in /etc/apt/sources.list:14 and /etc/apt/sources.list:23
W: Target Packages (main/binary-all/Packages) is configured multiple
times in /etc/apt/sources.list:14 and /etc/apt/sources.list:23
W: Target Translations (main/i18n/Translation-en_US) is configured
multiple times in /etc/apt/sources.list:14 and
/etc/apt/sources.list:23
W: Target Translations (main/i18n/Translation-en) is configured
multiple times in /etc/apt/sources.list:14 and
/etc/apt/sources.list:23
W: Target Sources (main/source/Sources) is configured multiple times
in /etc/apt/sources.list:15 and /etc/apt/sources.list:24
W: Target Packages (main/binary-amd64/Packages) is configured multiple
times in /etc/apt/sources.list:14 and /etc/apt/sources.list:23
W: Target Packages (main/binary-all/Packages) is configured multiple
times in /etc/apt/sources.list:14 and /etc/apt/sources.list:23
W: Target Translations (main/i18n/Translation-en_US) is configured
multiple times in /etc/apt/sources.list:14 and
/etc/apt/sources.list:23
W: Target Translations (main/i18n/Translation-en) is configured
multiple times in /etc/apt/sources.list:14 and
/etc/apt/sources.list:23
#



Re: problems while using debian's keyring ...

2022-06-01 Thread Albretch Mueller
$ gpg --verbose --recv-key 5AA3BC334FD7E3369E7C77B291C559DBE4C9123B
gpg: data source: https://keys.openpgp.org:443
gpg: armor header: Comment: 5AA3 BC33 4FD7 E336 9E7C  77B2 91C5 59DB E4C9 123B
gpg: pub  dsa1024/91C559DBE4C9123B 2008-06-02  Adrián Pérez de Castro
(personal) 
gpg: key 91C559DBE4C9123B/76D146E5CE5D1038: removed multiple subkey binding
gpg: /home/lbrtchx/.gnupg/trustdb.gpg: trustdb created
gpg: using pgp trust model
gpg: key 91C559DBE4C9123B: public key "Adrián Pérez de Castro
" imported
gpg: Total number processed: 1
gpg:   imported: 1

$ gpg --verify webkit2gtk_2.34.6.orig.tar.xz.asc
webkit2gtk_2.34.6-1~deb11u1.debian.tar.xz
gpg: Signature made Thu 17 Feb 2022 07:12:45 AM CST
gpg:using DSA key 5AA3BC334FD7E3369E7C77B291C559DBE4C9123B
gpg: BAD signature from "Adrián Pérez de Castro " [unknown]
$



Re: problems while using debian's keyring ...

2022-06-01 Thread Albretch Mueller
 thank you. that was it:

$ ls -l webkit2gtk_2.34.6*.*
-rw-r--r-- 1 lbrtchx lbrtchx74172 Feb 19 07:34
webkit2gtk_2.34.6-1~deb11u1.debian.tar.xz
-rw-r--r-- 1 lbrtchx lbrtchx 4278 Feb 19 07:34
webkit2gtk_2.34.6-1~deb11u1.dsc
-rw-r--r-- 1 lbrtchx lbrtchx 24393340 Feb 17 13:08 webkit2gtk_2.34.6.orig.tar.xz
-rw-r--r-- 1 lbrtchx lbrtchx  195 Feb 17 13:08
webkit2gtk_2.34.6.orig.tar.xz.asc
$

$ file webkit2gtk_2.34.6-1~deb11u1.dsc
webkit2gtk_2.34.6-1~deb11u1.dsc: PGP signed message
$

$ gpg --verbose --keyring ./webkit2gtk_2.34.6-1~deb11u1.dsc --verify
webkit2gtk_2.34.6.orig.tar.xz.asc webkit2gtk_2.34.6.orig.tar.xz
gpg: Signature made Thu 17 Feb 2022 07:12:45 AM CST
gpg:using DSA key 5AA3BC334FD7E3369E7C77B291C559DBE4C9123B
gpg: using pgp trust model
gpg: Good signature from "Adrián Pérez de Castro " [unknown]
gpg: aka "Adrián Pérez de Castro (personal)
" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:  There is no indication that the signature belongs to the owner.
Primary key fingerprint: 5AA3 BC33 4FD7 E336 9E7C  77B2 91C5 59DB E4C9 123B
gpg: binary signature, digest algorithm SHA1, key algorithm dsa1024
$



(cmake) Could NOT find LibSoup: Found unsuitable version "" ...

2022-06-02 Thread Albretch Mueller
 even though I have installed libsoup or probably I should install it
as part of some other package? I couldn't make sense of that problem:

 
https://packages.debian.org/search?suite=bullseye§ion=all&arch=any&searchon=all&keywords=LibSoup

 Why would that be happening at all?

 The error log is also telling me about "OptionsGTK", but I couldn't
make sense of it either.

 
https://packages.debian.org/search?suite=bullseye§ion=all&arch=any&searchon=all&keywords=OptionsGTK

 Could those kinds of problems relate to installing some relatively
heavy duty software (webkit2) on WSL?
~
... Could NOT find LibSoup: Found unsuitable version "", but required
is at least "2.54.0" (found LIBSOUP_INCLUDE_DIRS-NOTFOUND)
CMake Error at Source/cmake/OptionsGTK.cmake:211 (message):
  libsoup is required.
Call Stack (most recent call first):
  Source/cmake/WebKitCommon.cmake:220 (include)
  CMakeLists.txt:20 (include)


-- Configuring incomplete, errors occurred!
See also 
"/mnt/e/cmllpz/LklWb/org/webkitgtk/releases/webkitgtk-2.36.3/CMakeFiles/CMakeOutput.log".
$


sudo apt-get install libsoup2.4-1 --assume-yes
Reading package lists...
Building dependency tree...
Reading state information...
libsoup2.4-1 is already the newest version (2.72.0-2).
libsoup2.4-1 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 64 not upgraded.

real0m0.305s
user0m0.219s
sys 0m0.094s



Re: (cmake) Could NOT find LibSoup: Found unsuitable version "" ...

2022-06-03 Thread Albretch Mueller
On 6/3/22, David Wright  wrote:
> On Fri 03 Jun 2022 at 11:01:30 (+0300), Anssi Saari wrote:
>> Albretch Mueller  writes:
>>
>> > ... Could NOT find LibSoup: Found unsuitable version "",
> The problem lies between these quotes, it would appear:  ↑↑

 I don't know if you are trying to bring humor into the problematic,
but that was literally part of the error message. On the one side
cmake doesn't seem to be able to even find what the installed version
of libsoup is while on the other apt-get tells me:
...
libsoup2.4-dev is already the newest version (2.72.0-2).
...
Preparing to unpack .../libsoup-gnome2.4-dev_2.72.0-2_amd64.deb ...
Unpacking libsoup-gnome2.4-dev:amd64 (2.72.0-2) ...
Setting up gir1.2-soup-2.4:amd64 (2.72.0-2) ...
Setting up libpsl-dev:amd64 (0.21.0-1.2) ...
Setting up libsoup2.4-dev:amd64 (2.72.0-2) ...
Setting up libsoup-gnome2.4-dev:amd64 (2.72.0-2) ...

 and yes, cmake/webkit would not even swallow that version, but there
should be a way to work around that problem.

>> Maybe start with what it is you're trying to accomplish? Why do you want
>> to compile webkit2 yourself?

 Basically, I am trying to compile WebKit2 (on WSL! ;-)) with
debugging symbols included in order to teach my students how to debug,
because after having worked them into at least pretending they had
fallen in love with the concept of Mathematical function, they have
asked me "but, what is it good for?"
 I have chosen WSL as my way to move them away from Windows
"gracefully" and also partially for “political” (school would not
install Linux), as well as economical reasons (some of my kiddos don't
even have an actual computer at home); so that makes the whole
situation even better in a "give me the tired ..." way.
 Why WebKit? Because, I want for them (high schoolers) to have "a real
taste of reality". Kids tend to see society as this big impenetrable
thing, but, again, the concept of mathematical function will serve
them as compass throughout their life. Kids nowadays also need to see
colors and things moving on a screen, preferably their cell phone's
from them to be able to "believe" it. With WebKit’s minibrowser they
could (I can tutor them to) do something on their own.
 Working with kids have made me a better person and something I have
understood is that you have to brake down whatever you are explaining
to them into pieces they can understand, relate to. A natural part of
being an adult is forgetting that. Most so-called "tutorials" out
there mean absolutely nothing to most kids.
 lbrtchx



Re: (cmake) Could NOT find LibSoup: Found unsuitable version "" ...

2022-06-03 Thread Albretch Mueller
On 6/3/22, Eduardo M KALINOWSKI  wrote:
> On 03/06/2022 14:02, Albretch Mueller wrote:
>>   Basically, I am trying to compile WebKit2 (on WSL! ;-)) with
>> debugging symbols included in order to teach my students how to debug,
>
> Debian has debug symbols for most (if not all) packages, but they're in
> a different repository. See
> https://wiki.debian.org/HowToGetABacktrace#Installing_the_debugging_symbols

 Debian doesn't stop to amaze me. Last time it did was with apt-clone,
but apparently that was another case of debian/software documentation
kept in good faith!

  Are you saying that debian keeps "instrumented" binary versions of
their packages ready for debugging!? I checked and it doesn't seem to
be the case (and/or I am making some mistake)

 Not having to instrument WebKit2 would be time saving, but I would
like for us as a class to be able to compile a relatively large and
involved piece of software. As part of my explaining I thought of a
"Linux(/Debian) for kids" kind of book but not as some sort of
coloring book, but more like a carpentry one.

 I did follow the steps on that link:

Microsoft Windows [Version 10.0.19043.1706]
(c) Microsoft Corporation. All rights reserved.

C:\Users\...>
C:\Users\...>
C:\Users\...>
C:\Users\...>wsl --user <...>

$ date
Fri 03 Jun 2022 03:18:54 PM CDT
$

$ ls -l /etc/apt/sources.list
-rw-r--r-- 1 root root 229 Aug 18  2021 /etc/apt/sources.list

$ sudo vim /etc/apt/sources.list
[sudo] password for <...>:
...
$ ls -l /etc/apt/sources.list
-rw-r--r-- 1 root root 480 Jun  3 15:17 /etc/apt/sources.list

$ cat /etc/apt/sources.list
deb http://deb.debian.org/debian bullseye main
deb http://deb.debian.org/debian bullseye-updates main
deb http://security.debian.org/debian-security bullseye-security main
deb http://ftp.debian.org/debian bullseye-backports main
# https://wiki.debian.org/HowToGetABacktrace
deb http://deb.debian.org/debian-debug/ bullseye-debug main
# https://wiki.debian.org/HowToGetABacktrace (for security updates)
deb http://deb.debian.org/debian-debug/ bullseye-proposed-updates-debug main
$

 still I don't see anything really, just some python code to sniff
qtwebkit-dbg file formats? (which shoud mean that you should at least
be able to find qtwebkit, right?):

$ apt-cache search webkit2 dbg
$

$ apt-cache search webkit dbg
python3-pyqt5.qtwebchannel-dbg - Python 3 bindings for Qt5's
Webchannel module (debug extension)
python3-pyqt5.qtwebkit-dbg - Python 3 bindings for Qt5's WebKit module
(debug extensions)
$

$ sudo apt install webkit-dbgsym
...
E: Unable to locate package webkit-dbgsym

$ sudo apt install webkit2-dbgsym
...
E: Unable to locate package webkit2-dbgsym
$
 lbrtchx



bash: which: command not found? + (E: Unable to locate package which? ...)

2022-07-08 Thread Albretch Mueller
 Actually, I just noticed I couldn't run "cat" as regular user but I
could as root how could that form a "multiversing" be -technically-
happening (other than having forces actively messing with your work)?

export _GRAALVM_HOME=.../graalvm-ce-java17-22.1.0
export PATH=${PATH}:${_GRAALVM_HOME}/bin
which javac
which java
$

bash: which: command not found

# apt-get install which
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package which
#



# cat /etc/apt/sources.list
# deb cdrom:[Official Debian GNU/Linux Live 11.2.0 lxde
2021-12-18T12:41]/ bullseye main
#deb cdrom:[Official Debian GNU/Linux Live 11.2.0 lxde
2021-12-18T12:41]/ bullseye main

deb http://security.debian.org/debian-security bullseye-security main
deb-src http://security.debian.org/debian-security bullseye-security main

# bullseye-updates, to get updates before a point release is made;
# see 
https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
# A network mirror was not selected during install.  The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
deb http://deb.debian.org/debian/ bullseye-updates main
deb-src http://deb.debian.org/debian/ bullseye-updates main

deb http://deb.debian.org/debian bullseye main contrib non-free
deb-src http://deb.debian.org/debian bullseye main contrib non-free

deb http://deb.debian.org/debian-security/ bullseye-security main
contrib non-free
deb-src http://deb.debian.org/debian-security/ bullseye-security main
contrib non-free

deb http://deb.debian.org/debian bullseye-updates main contrib non-free
deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free

#This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

# which bash
/usr/bin/bash
#



Re: bash: which: command not found? + (E: Unable to locate package which? ...)

2022-07-08 Thread Albretch Mueller
 after reading through all your suggestions and still wondering about
what exactly was the mistake that I had made, I realized that it was a
simple and stupid "type in a rush and let 'the compiler' (sorry!) find
the mistake for you" kind of error: it seemed to have been somehow
blanketed by my "unconscious" that bash utils needed to be declared in
the PATH in order for you to access them. Noticing it and opening
another windows was all it took.

$ export _GRAALVM_HOME=".../GraalVM/graalvm-ce-java17-22.1.0"
$ export PATH=${_GRAALVM_HOME}/bin:${PATH}

$ which javac
.../GraalVM/graalvm-ce-java17-22.1.0/bin/javac

$ which java
.../GraalVM/graalvm-ce-java17-22.1.0/bin/java

$ javac -version
javac 17.0.3

$ java -version
openjdk version "17.0.3" 2022-04-19
OpenJDK Runtime Environment GraalVM CE 22.1.0 (build 17.0.3+7-jvmci-22.1-b06)
OpenJDK 64-Bit Server VM GraalVM CE 22.1.0 (build
17.0.3+7-jvmci-22.1-b06, mixed mode, sharing)
$


 "So far as these truths are concerned, I do not at all fear the
arguments of the Academics when they say, What if you are mistaken?
For if I am mistaken, I exist." Saint Augustine (De Civitate Dei (book
XI, 26))

 it amazes me also how all we do, learn, even dream, as well as our
mistakes and how we notice them we do -functionally-

 thank you to you all,
 lbrtchx



ACSM/DRM protected file ...

2022-07-18 Thread Albretch Mueller
 As I see it, some time ago a cat and mouse gaming around started
between people who see as not only their "legal" and "moral", but also
"patriotic" "responsibility" controlling people's access to
information which is in the public domain anyway. Even archive.org is
doing that (imagine what Jon Schwarz would have thought of that).

 https://archive.org/post/1095379/unable-to-download

 I have read about some ways around such road blocks but apparently
they aren’t reliable enough:

 https://superuser.com/questions/1027608/how-to-read-an-acsm-file-on-linux

 
https://askubuntu.com/questions/461409/how-can-i-remove-the-drm-from-an-epub-file

 Is there a Debian way to handle such problematic. By the way all
those books, "the source", mind you, legally is in the public domain
anyway.

 lbrtchx



How do you mount a solid state drive? ...

2022-07-27 Thread Albretch Mueller
 I googled: "mount solid state drive" Linux, and I got very few hits
(like 16?) which were mostly totally irrelevant.
 I got a laptop with Windows installed on which I installed WSLg.
WIndows and WSLg both seem to detect the SSD just fine, but in ways
that are not totally clear to me.
 What I care about is using the SSD for my data intensive code in
Linux, but when I boot that computer with Debian live I can't see the
SSD.
 What could be going on?
 lbrtchx



Re: How do you mount a solid state drive? ...

2022-07-27 Thread Albretch Mueller
 https://wiki.debian.org/SSDOptimization
~



Re: How do you mount a solid state drive? ...

2022-08-11 Thread Albretch Mueller
 Sorry, for my late reaction. I'd wish I could dedicate myself to
coding and reading only. This is what blkid and hwinfo are telling me
and I know that that SSD is not sda or sdb, nor is it the DVD; so,
what is it and how do I mount that SSD
 Isn't it weird that I don't see it on blkid or hwinfo? Could that
possibly be some kind of BIOS problem. I want to install Debian on
that box, but I want to make sure I can use the SSD.
~
$ sudo blkid
/dev/sr0: BLOCK_SIZE="2048" UUID="2021-12-18-12-41-54-00"
LABEL="d-live 11.2.0 lx amd64" TYPE="iso9660" PTUUID="2300adc2"
PTTYPE="dos"
/dev/loop0: TYPE="squashfs"
/dev/sda1: BLOCK_SIZE="512" UUID="063EB7273EB70F25" TYPE="ntfs"
PARTUUID="7784295b-01"
/dev/sda2: LABEL="RECOVERY" BLOCK_SIZE="512" UUID="02E62855E6284AED"
TYPE="ntfs" PARTUUID="7784295b-02"
/dev/sdb1: UUID="EEB0-73CE" BLOCK_SIZE="512" TYPE="exfat" PARTUUID="011ad286-01"
$
~
sudo hwinfo --block

21: SCSI 300.0: 10600 Disk
  [Created at block.245]
  Unique ID: hSuP.AaKvbIlfUrE
  Parent ID: MZfG.V56qLD9omq1
  SysFS ID: /class/block/sdb
  SysFS BusID: 3:0:0:0
  SysFS Device Link:
/devices/pci:00/:00:14.0/usb2/2-2/2-2:1.0/host3/target3:0:0/3:0:0:0
  Hardware Class: disk
  Model: "ASolid USB"
  Vendor: usb 0x24a9 "ASolid"
  Device: usb 0x205a "USB"
  Revision: ""
  Serial ID: "05"
  Driver: "usb-storage", "sd"
  Driver Modules: "usb_storage", "sd_mod"
  Device File: /dev/sdb (/dev/sg2)
  Device Files: /dev/sdb,
/dev/disk/by-path/pci-:00:14.0-usb-0:2:1.0-scsi-0:0:0:0,
/dev/disk/by-id/usb-ASolid_USB_91870508-0:0
  Device Number: block 8:16-8:31 (char 21:2)
  Geometry (Logical): CHS 15297/255/63
  Size: 245760001 sectors a 512 bytes
  Capacity: 117 GB (125829120512 bytes)
  Module Alias: "usb:v24A9p205Ad0110dc00dsc00dp00ic08isc06ip50in00"
  Driver Info #0:
Driver Status: uas is active
Driver Activation Cmd: "modprobe uas"
  Driver Info #1:
Driver Status: usb_storage is active
Driver Activation Cmd: "modprobe usb_storage"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #19 (USB Controller)

22: None 00.0: 11300 Partition
  [Created at block.434]
  Unique ID: h4pj.SE1wIdpsiiC
  Parent ID: hSuP.AaKvbIlfUrE
  SysFS ID: /class/block/sdb/sdb1
  Hardware Class: partition
  Model: "Partition"
  Device File: /dev/sdb1
  Device Files: /dev/sdb1, /dev/disk/by-partuuid/011ad286-01,
/dev/disk/by-id/usb-ASolid_USB_91870508-0:0-part1,
/dev/disk/by-path/pci-:00:14.0-usb-0:2:1.0-scsi-0:0:0:0-part1,
/dev/disk/by-uuid/EEB0-73CE
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #21 (Disk)

23: SCSI 200.0: 10602 CD-ROM (DVD)
  [Created at block.249]
  Unique ID: 2UT6.6hpq9kiHcsB
  Parent ID: MZfG.V56qLD9omq1
  SysFS ID: /class/block/sr0
  SysFS BusID: 2:0:0:0
  SysFS Device Link:
/devices/pci:00/:00:14.0/usb1/1-3/1-3:1.0/host2/target2:0:0/2:0:0:0
  Hardware Class: cdrom
  Model: "MATSHITA DVD-RAM UJ870BJ"
  Vendor: usb 0x13fd "MATSHITA"
  Device: usb 0x0840 "DVD-RAM UJ870BJ"
  Revision: "1.00"
  Serial ID: "524534332020303336303033"
  Driver: "usb-storage", "sr"
  Driver Modules: "usb_storage", "sr_mod"
  Device File: /dev/sr0 (/dev/sg1)
  Device Files: /dev/sr0,
/dev/disk/by-label/d-live\x2011.2.0\x20lx\x20amd64, /dev/dvd,
/dev/disk/by-uuid/2021-12-18-12-41-54-00, /dev/cdrw, /dev/dvdrw,
/dev/disk/by-id/usb-MATSHITA_DVD-RAM_UJ870BJ_524534332020303336303033-0:0,
/dev/cdrom, /dev/disk/by-path/pci-:00:14.0-usb-0:3:1.0-scsi-0:0:0:0
  Device Number: block 11:0 (char 21:1)
  Features: CD-R, CD-RW, DVD, DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW,
DVD+R DL, DVD-RAM, MRW, MRW-W
  Speed: 480 Mbps
  Module Alias: "usb:v13FDp0840d0114dc00dsc00dp00ic08isc02ip50in00"
  Driver Info #0:
Driver Status: usb_storage is active
Driver Activation Cmd: "modprobe usb_storage"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #19 (USB Controller)
  Drive Speed: 62
  Volume ID: "d-live 11.2.0 lx amd64"
  Preparer: "XORRISO-1.5.2 2019.10.26.180001, LIBISOBURN-1.5.2,
LIBISOFS-1.5.2, LIBBURN-1.5.2"
  Creation date: "2021121812415400"
  El Torito info: platform 0, bootable
Boot Catalog: at sector 0x0175
Media: none starting at sector 0x0691
Load: 2048 bytes

24: IDE 00.0: 10600 Disk
  [Created at block.245]
  Unique ID: 3OOL.vPgxpiTnr01
  Parent ID: abAj.sYX0o+9l7nE
  SysFS ID: /class/block/sda
  SysFS BusID: 0:0:0:0
  SysFS Device Link:
/devices/pci:00/:00:17.0/ata1/host0/target0:0:0/0:0:0:0
  Hardware Class: disk
  Model: "TOSHIBA MK3252GS"
  Vendor: "TOSHIBA"
  Device: "MK3252GS"
  Revision: "1C"
  Serial ID: "29DAF54XS"
  Driver: "ahci", "sd"
  Driver Modules: "ahci", "sd_mod"
  Device File: /dev/sda
  Device Files: /dev/sda, /dev/disk/by-path/pci-:00:17.0-ata-1.0,
/dev/disk/by-id/wwn-0x539196c01633,
/dev/disk/by-id/ata-TOSHIBA_MK3252GSX_29DAF54XS,
/dev/disk/by-path/pci-:00:17.0-ata-1
  Device Number: block 8:0-8:15
  Geometry (Logical): CHS 38913/255/63
  Size: 625142448 sectors a 512 bytes
  Ca

How could "they" get into your BIOS? ...

2022-08-12 Thread Albretch Mueller
not allowing you to boot DL?
When you try to get into your boot options you are entangled into a
nonsense loop ...
 I removed the wireless card from that laptop. They want for you to boot
into Windows for obvious reasons.
 Any way out of or around it you would suggest?


Re: How could "they" get into your BIOS? ...

2022-08-13 Thread Albretch Mueller
On 8/12/22, David Christensen  wrote:
> When the laptop is off, insert the Debian Live media into a suitable
> port.  Power up the laptop and press the F12 key repeatedly until a boot
> menu is displayed.  Select the Debian Live media and boot.  If this does
> not work, post the messages displayed on the screen, the key(s) you
> pressed, and what happened.

 this is what I have been doing

> I am curious if removing the wireless card is related to the System Scan
> screenshots you posted (?).

 The wireless card I removed day 1 I got that laptop since this is my
work computer. All of that started happening afterwards. I am curious
to know why would DL care about a wireless card in a temperamental
way?

 lbrtchx



Re: How could "they" get into your BIOS? ...

2022-08-13 Thread Albretch Mueller
On 8/12/22, David Wright  wrote:
> I typed the text at
> the top of the screen in your first image, and got plenty of
> suggestions from Dell, reddit, and some Scottish Uni gamers.

 Basically, what I distilled out of many of those posts is that you
should disable "Secure Boot", but I had already disabled it.

 I will keep fighting this matter and if/when I find a solution I will
post it here. There are many people using those DELL laptops some of
which use Debian.

 lbrtchx


crc not installed but rsync using it? ...

2020-09-24 Thread Albretch Mueller
rsync uses crc for its data integrity checks. Why is it you can't use
it like any other OS utility?

$ date; which crc
Thu Sep 24 07:54:55 CEST 2020

$ date; which rsync
Thu Sep 24 07:54:59 CEST 2020
/usr/bin/rsync

$ rsync --version
rsync  version 3.1.2  protocol version 31
Copyright (C) 1996-2015 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
append, ACLs, xattrs, iconv, symtimes, prealloc

rsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
are welcome to redistribute it under certain conditions.  See the GNU
General Public Licence for details.
$

How do I get all packages to be locally installed using dpkg from a
public Windows machine?

lbrtchx



Re: crc not installed but rsync using it? ...

2020-09-24 Thread Albretch Mueller
>> How do I get all packages to be locally installed using dpkg from a
>> public Windows machine?
>
> I'm not sure I understand this question or how it relates to the
> previous one.

 How do I get the deb files in order to install locally (via dpkg
--install) the necessary utilities to run CRC32 and/or CRC64

 Thank you,
 lbrtchx



Re: crc not installed but rsync using it? ...

2020-09-25 Thread Albretch Mueller
On 9/24/20, Sven Hartge  wrote:

> Why do you think you need to do this? What do you hope to achieve by
> doing this?

 I have losts of (not necessarily all) text files (say in the 10 of
thousands) in various directories which I need to process in a batch,
but before I do that I want to make sure that I get a baseline of the
source files. I use:

 a)  crc
 b)  md5sum
 c) sha###sum

 because those are three different checksum utilities based on
different algorithms which work fast enough and offer a set signatures
which are good enough.

 My thinking may (once again) be a bit unhinged, but I would use,
e.g., crc because it internatlly used by rsync, which I also use in my
code.

 So, how do you think I can improve my baselining of the source files?

 L



Re: crc not installed but rsync using it? ...

2020-09-25 Thread Albretch Mueller
On 9/25/20, Greg Wooledge  wrote:
> On Thu, Sep 24, 2020 at 05:58:49PM -0500, David Wright wrote:
>> On Thu 24 Sep 2020 at 17:50:16 (+0200), Albretch Mueller wrote:
>> > >> How do I get all packages to be locally installed using dpkg from a
>> > >> public Windows machine?
>
>> > Why do you think you need to do this? What do you hope to achieve by
>> > doing this?
>>
>> Perhaps the answer might be hinted at in postings like:
>> https://lists.debian.org/debian-user/2019/10/msg00449.html
>> https://lists.debian.org/debian-user/2020/08/msg00352.html

 Yes, I am the one who posted both messages and, as I said, in my kind
of reality I can't "simply" connect my work computer to the Internet
and "just" go: apt-get ...

 I never connect my work computer to the Internet. That is why I
always install packages locally via dpkg, which is an option debian
users have, no? I see a lot of people asking the same kinds of
questiions I ask, so it seems as Lenon sang that "I am not the only
one"

 L



Re: crc not installed but rsync using it? ...

2020-09-26 Thread Albretch Mueller
On 9/25/20, Michael Stone  wrote:
> Just one would be good enough (pick the sha256sum). What you're doing is
> a waste of time. If you want to future proof then use sha3, via the
> rhash package.

 Something that I have noticed is that texts are too close to people's
hearts to expect for people to just be technical about them. I use
those three algorithms because some people "understand", md5 and not
sha###sum. I mean, you may get some legacy data with their md5sum but
the maintainers of the data may not be around. Once I found an rsync
log that included the CRC signatures, that is why I include these
kinds fo algorithms.



Re: crc not installed but rsync using it? ...

2020-09-29 Thread Albretch Mueller
On 9/26/20, Michael Stone  wrote:
> On Sat, Sep 26, 2020 at 02:11:30PM +0200, Albretch Mueller wrote:
>>On 9/25/20, Michael Stone  wrote:
>>> Just one would be good enough (pick the sha256sum). What you're doing is
>>> a waste of time. If you want to future proof then use sha3, via the
>>> rhash package.
>>
>> Something that I have noticed is that texts are too close to people's
>>hearts to expect for people to just be technical about them. I use
>>those three algorithms because some people "understand", md5 and not
>>sha###sum. I mean, you may get some legacy data with their md5sum but
>>the maintainers of the data may not be around. Once I found an rsync
>>log that included the CRC signatures, that is why I include these
>>kinds fo algorithms.
>
> Sorry, still makes no sense and is a waste of time. You're creating new
> hashes right now, it doesn't matter if someone else might have made some
> other hash some other time.

 But how could you have some assurance that that data relates to what
their users thought of to be?



Re: crc not installed but rsync using it? ...

2020-09-29 Thread Albretch Mueller
On 9/24/20, Reco  wrote:
> On Thu, Sep 24, 2020 at 05:50:16PM +0200, Albretch Mueller wrote:
>> >> How do I get all packages to be locally installed using dpkg from a
>> >> public Windows machine?
>> >
>> > I'm not sure I understand this question or how it relates to the
>> > previous one.
>>
>>  How do I get the deb files in order to install locally (via dpkg
>> --install) the necessary utilities to run CRC32 and/or CRC64
>
> Typical Debian install has perl already, so you don't have to install
> anything - [1].
>
> Reco
>
> [1] http://billauer.co.il/blog/2011/05/perl-crc32-crc-xs-module/

 But I don't see anything when I go:

 which crc, crc32, crc64 ...



Re: crc not installed but rsync using it? ...

2020-09-29 Thread Albretch Mueller
On 9/25/20, Jonathan Dowland  wrote:
> On Thu, Sep 24, 2020 at 05:58:49PM -0500, David Wright wrote:
>>I can't believe the answer is as simple as visiting
>>https://packages.debian.org/index
>>and downloading the packages you want (in binary mode).
>
> Plus (possibly several) iterations of downloading the dependencies,
> and their dependencies, etc., cross-referencing against your installed
> package list (if you have it) to trim down the list.

 OK, you are talking right there about what I need:

 Is there such a thing as a java program (which could be used also on
WIndows or a mac) which you could tell which Debian package you need
and your Debian Release and it would download all pacakges you need
and even tell you the sequence in which  you have to install htem?

>
>
> --
> Please do not CC me, I am subscribed to the list.
>
> 👱🏻Jonathan Dowland
> ✎  j...@debian.org
> 🔗 https://jmtd.net
>
>



Re: crc not installed but rsync using it? ...

2020-09-29 Thread Albretch Mueller
> If you want to defend against on-disk corruption, use ZFS.

> If you want to be alerted to every change to a set of files, use
> tripwire or aide. Both are packaged for Debian.

> ...

 Really?!? Well, I would say that is only part of the story and not
even the most interesting one. I am amazed to notice at times
technical people talking like it is all so obvious that if you don't
see things that way it is because "you are 'too' paranoid".

> Your paranoia is excessive ...

 Or maybe your normalcy bias is? or both?

On 9/25/20, Michael Stone  wrote:
> On Fri, Sep 25, 2020 at 09:01:26AM -0400, Gene Heskett wrote:
>>Your paranoia is excessive. I have 5 machines online ATM, but they are
>>all on a local network in the 1902.168.xx.xx block, which is NOT
>>routable from the internet but are NAT'd to my net address by having
>>such a setup in a router running dd-wrt. In nearly 2 decades, no one has
>>come into my systems from the internet that I didn't give the
>>credentials to do so.
>
> You post this all the time, but it's irrelevant at best and misleading
> at worst. On a default debian system these days an external firewall is
> basically a noop because there are no services listening. The attack
> vector in modern environments is much more likely to be client exploits
> (e.g., web browser) and a perimeter firewall adds zero protection from
> that threat.
>
> And, honestly, most people who are compromised have no clue that they
> are unless someone tells them.

 Thank you! This I am relating may be considered to be totally off
topic in the Debian Linux mailing list by most people or maybe not. In
my case I have constantly noticed how they use js to own my box, from
blocking access to certain sites, to multiversing real time the sites
I go to. Just to cite an example, you google your crush or go to her
pages and what you get are pages with people with bruises on their
faces, pictures of bed bugs, bed bugs' bites on people's skin, ...
They also make single individuals and a bunch of "social
responsibility committee" kinds of people scratch their body around in
quite theatrical ways when you are on the streets:

 
https://theintercept.com/2016/04/09/fbis-shared-responsibility-committees-to-identify-radicalized-muslims-raises-alarms/

 You could figure out what would happen next and who could possibly
horizontally and vertically orchestrate, coordinate, pay and legally
protect the perpetrators doing such things.

 I don't know of a single "secure"/"private" OS, software stack or any
such approaches being taken seriously. Do you?

 To me those concepts are a joke when it comes to computers. IT
companies tell people: "we care about your privacy" and "We the
people" don't even realize what a callous joke that is on so many
levels. If they care about "one's own privacy" (as they say) that
tacitly means you have no privacy whatsoever! Maybe I am too old, too
romantic. It is my understanding of that thing they used to call
"privacy", it was something only one could possibly take care of by
oneself. The only "private"/"secure" way to own you computer to me (as
I heard Linus Torvalds once say making all kinds of faces) is never
connecting it to the Internet

On 9/29/20, Albretch Mueller  wrote:
> On 9/25/20, Jonathan Dowland  wrote:
>> On Thu, Sep 24, 2020 at 05:58:49PM -0500, David Wright wrote:
>>>I can't believe the answer is as simple as visiting
>>>https://packages.debian.org/index
>>>and downloading the packages you want (in binary mode).
>>
>> Plus (possibly several) iterations of downloading the dependencies,
>> and their dependencies, etc., cross-referencing against your installed
>> package list (if you have it) to trim down the list.
>
>  OK, you are talking right there about what I need:
>
>  Is there such a thing as a java program (which could be used also on
> WIndows or a mac) which you could tell which Debian package you need
> and your Debian Release and it would download all pacakges you need
> and even tell you the sequence in which  you have to install htem?
>
>>
>>
>> --
>> Please do not CC me, I am subscribed to the list.
>>
>> 👱🏻   Jonathan Dowland
>> ✎ j...@debian.org
>> 🔗https://jmtd.net
>>
>>
>



Is there such a thing as a Debian blend for a MacBook Air 1,1 and/or Mac boxes in general? ...

2020-10-20 Thread Albretch Mueller
 I test a MacBook Air 1,1 with Debian Live DVD

$ uname -a
Linux debian 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02)
x86_64 GNU/Linux

 and all seems to be fine and dandy, except for the wireless network
card. This is what dmidecode and hwinfo tell me about it:

  Model: "Apple AirPort Extreme"
  Vendor: pci 0x14e4 "Broadcom"
  Device: pci 0x4328 "BCM4321 802.11a/b/g/n"

 26: PCI 200.0: 0280 Network controller
  [Created at pci.378]
  Unique ID: B35A.CbfFWX_P8z0
  Parent ID: QSNP.42mDnfFER+E
  SysFS ID: /devices/pci:00/:00:1c.4/:02:00.0
  SysFS BusID: :02:00.0
  Hardware Class: network
  Model: "Apple AirPort Extreme"
  Vendor: pci 0x14e4 "Broadcom"
  Device: pci 0x4328 "BCM4321 802.11a/b/g/n"
  SubVendor: pci 0x106b "Apple Inc."
  SubDevice: pci 0x008b "AirPort Extreme"
  Revision: 0x05
  Driver: "b43-pci-bridge"
  Driver Modules: "ssb"
  Memory Range: 0x9030-0x90303fff (rw,non-prefetchable)
  IRQ: 16 (20 events)
  Module Alias: "pci:v14E4d4328sv106Bsd008Bbc02sc80i00"
  Driver Info #0:
Driver Status: ssb is active
Driver Activation Cmd: "modprobe ssb"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #19 (PCI bridge)
~
 C



Re: Is there such a thing as a Debian blend for a MacBook Air 1,1 and/or Mac boxes in general? ...

2020-10-21 Thread Albretch Mueller
> apt install firmware-b43-installer
> will be needed, I think.

 Thank you for all the leads and I was installing
firmware-b43-installer via dpkg, but after I took care of all
dependencies  firmware-b43-installer was trying to connect to the
Internet to some lwfinder?

 Resolving http://www.lwfinger.com]www.lwfinger.com ... failed: Name
or service not known.

 lbrtchx



Re: Is there such a thing as a Debian blend for a MacBook Air 1,1 and/or Mac boxes in general? ...

2020-10-21 Thread Albretch Mueller
 I got that tar ball and I think i am doing the right thing, but
something is not going well:

$ _IFL="broadcom-wl-5.100.138.tar.bz2"

$ ls -l "${_IFL}"
-rwxrwxrwx 1 root root 13514651 Aug 13  2011 broadcom-wl-5.100.138.tar.bz2

$ file --brief "${_IFL}"
bzip2 compressed data, block size = 900k

$ sha256sum --binary "${_IFL}"
f1e7067aac5b62b67b8b6e4c517990277804339ac16065eb13c731ff909ae46f
*broadcom-wl-5.100.138.tar.bz2

$ sha1sum --binary "${_IFL}"
21691a8c99c66f58d18f863ee43593d1633b454c *broadcom-wl-5.100.138.tar.bz2

$ md5sum --binary "${_IFL}"
f4e357b09eaf5d8b1f1920cf3493a555 *broadcom-wl-5.100.138.tar.bz2
$


$ ls -l *.o
-rwxrwxrwx 1 root root 12111310 Aug 13  2011 wl_ap.o
-rwxrwxrwx 1 root root 13231072 Aug 13  2011 wl_apsta.o
-rwxrwxrwx 1 root root 11943791 Aug 13  2011 wl_sta.o

$ file *.o
wl_ap.o:ELF 32-bit LSB relocatable, MIPS, MIPS32 version 1 (SYSV),
not stripped
wl_apsta.o: ELF 32-bit LSB relocatable, MIPS, MIPS32 version 1 (SYSV),
not stripped
wl_sta.o:   ELF 32-bit LSB relocatable, MIPS, MIPS32 version 1 (SYSV),
not stripped

$ gcc -Wall *.o
/usr/bin/ld: wl_ap.o: Relocations in generic ELF (EM: 8)
/usr/bin/ld: wl_ap.o: Relocations in generic ELF (EM: 8)
/usr/bin/ld: wl_ap.o: Relocations in generic ELF (EM: 8)
/usr/bin/ld: wl_ap.o: Relocations in generic ELF (EM: 8)
/usr/bin/ld: wl_ap.o: Relocations in generic ELF (EM: 8)
/usr/bin/ld: wl_ap.o: Relocations in generic ELF (EM: 8)
/usr/bin/ld: wl_ap.o: Relocations in generic ELF (EM: 8)
/usr/bin/ld: wl_ap.o: Relocations in generic ELF (EM: 8)
/usr/bin/ld: wl_ap.o: Relocations in generic ELF (EM: 8)
/usr/bin/ld: wl_ap.o: Relocations in generic ELF (EM: 8)
/usr/bin/ld: wl_ap.o: Relocations in generic ELF (EM: 8)
/usr/bin/ld: wl_ap.o: Relocations in generic ELF (EM: 8)
/usr/bin/ld: wl_ap.o: Relocations in generic ELF (EM: 8)
/usr/bin/ld: wl_ap.o: Relocations in generic ELF (EM: 8)
/usr/bin/ld: wl_ap.o: Relocations in generic ELF (EM: 8)
wl_ap.o: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
$

 lbrtchx



Re: Is there such a thing as a Debian blend for a MacBook Air 1,1 and/or Mac boxes in general? ...

2020-10-22 Thread Albretch Mueller
> I suggest using firmware-b43-installer ...

 Once again, I am using dpkg and installing the deb packages locally
because I am trying to troubleshoot, make a wireless card work.

 Why would a package used to make a wireless card come to live, have
to connect to the Internet to do its things? Isn't it obvious that the
wireless card is exactly what someone is trying to fix, no?

 There has to be a way to install the drivers of a wireless card
without having to connect to the Internet.



Re: Is there such a thing as a Debian blend for a MacBook Air 1,1 and/or Mac boxes in general? ...

2020-10-22 Thread Albretch Mueller
 OK, after installing lspci (again, via dpkg and I write up in kind of
a step by step way because other people may have the same problems,
run into this thread)

$ sudo dpkg --install pciutils_3.5.2-1_amd64.deb
Selecting previously unselected package pciutils.
(Reading database ... 232551 files and directories currently installed.)
Preparing to unpack pciutils_3.5.2-1_amd64.deb ...
Unpacking pciutils (1:3.5.2-1) ...
Setting up pciutils (1:3.5.2-1) ...
Processing triggers for man-db (2.7.6.1-2) ...

$ which lspci
/usr/bin/lspci

 I got:

$ lspci -vnn -d 14e4:
02:00.0 Network controller [0280]: Broadcom Limited BCM4321
802.11a/b/g/n [14e4:4328] (rev 05)
Subsystem: Apple Inc. AirPort Extreme [106b:008b]
Physical Slot: 4
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at 9030 (64-bit, non-prefetchable) [size=16K]
Capabilities: 
Kernel driver in use: b43-pci-bridge
Kernel modules: ssb

$

 which corresponds with the line:

PCI-ID | Supported? | Chip ID |   Modes | PHY version | Alternative
 14e4:4328 |  partially | BCM4321 | a/b/g/n |  N (r2) | wl

 So, I think I was on the right track, but there was something I
wasn't doing quite right somehow.

 Also, thank you for explaining to me that the matter was more of a
political one, so that is why I could not understand it with a
technical frame of mind.

 What wasn't exactly I didn't do right? or what should I do now?



Re: Is there such a thing as a Debian blend for a MacBook Air 1,1 and/or Mac boxes in general? ...

2020-10-30 Thread Albretch Mueller
 OK, I followed the instructions on Dan Ritter's link and everything
seems to be fine and dandy, but I used a windows computer with access
to the Internet to download and gpg test the downloaded data and used
Debian Live (running it from the DVD) to run "make" and "make install"
on the target computer (a MacBook Air 1,1). All the data was compited
onto "/lib/firmware/b43" as it should.

 However, I don't see the wireless card being activated (its LED
blinking) nor do I see the network-manager showing me any connections
and, of course, if I reboot that laptop I will lose those folders.
That Mac with a failing timer is able to maintain the date you reset
via hwclock (in their kind of BIOS) as long as you don't disconnect it
from the power cable, but, of course, not those directories.

 Is there a way to activate the network card without rebooting?

 Or, I guess what I need is some kind of: "knoppix 2"

 http://ftp.uni-kl.de/pub/linux/knoppix-dvd/knoppix-cheatcodes.txt

 but with Debian. In order to:

 1) boot the first time and set the time via hwclock
 2) reboot into text mode do the b43 tinkering and then using init to
take it from there

 
https://www.pks.mpg.de/~mueller/docs/suse10.2/html/opensuse-manual_en/manual/sec.boot.init.html

 Is there such a thing as an "init 2" cheat code in Debian?

 lbrtchx



Re: Is there such a thing as a Debian blend for a MacBook Air 1,1 and/or Mac boxes in general? ...

2020-11-03 Thread Albretch Mueller
> sudo modprobe b43

 Doesn't  show to me anything.

 and

> ip l

 displays a sequence of 0:0:0:0:0: ... chars which don't look like a
MAC address or any of such things


 lbrtchx



Re: Is there such a thing as a Debian blend for a MacBook Air 1,1 and/or Mac boxes in general? ...

2020-11-05 Thread Albretch Mueller
> "ip l" (for "ip link") lists the network links the kernel is aware of.

$ ip l
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN
mode DEFAULT group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00

$ sudo iwconfig
lono wireless extensions.

> And to keep it simple, does your desktop (Gnome, the desktop environment by 
> default in Debian?) show you an icon with wireless networks?

 I use the KDE version of Debian. I will let you know what I got from
your suggestions

 thanks



Re: Is there such a thing as a Debian blend for a MacBook Air 1,1 and/or Mac boxes in general? ...

2020-11-05 Thread Albretch Mueller
 and I run dmesg before and after the installation. This is what I got as diff:

$ _IFL00="demsg_Wed Nov  4 13:36:51 UTC 2020.log"
$ _IFL02="dmesg_Wed Nov  4 12:51:11 UTC 2020.log"


$ diff "${_IFL00}" "${_IFL02}"
1365,1386d1364
< [  592.364045] fuse init (API version 7.26)
< [  597.114432] perf: interrupt took too long (3970 > 3955), lowering
kernel.perf_event_max_sample_rate to 50250
< [  759.572045] usb 2-1.1: new high-speed USB device number 10 using ehci-pci
< [  759.726416] usb 2-1.1: New USB device found, idVendor=174c, idProduct=55aa
< [  759.726425] usb 2-1.1: New USB device strings: Mfr=2, Product=3,
SerialNumber=1
< [  759.726430] usb 2-1.1: Product: ASMT1051
< [  759.726436] usb 2-1.1: Manufacturer: asmedia
< [  759.726440] usb 2-1.1: SerialNumber: 123456793C45
< [  759.732695] scsi host7: uas
< [  759.737419] scsi 7:0:0:0: Direct-Access ASMT 2115
0PQ: 0 ANSI: 6
< [  759.766005] sd 7:0:0:0: Attached scsi generic sg2 type 0
< [  759.767159] sd 7:0:0:0: [sdb] Spinning up disk...
< [  760.796077] .
< [  761.824039] .
< [  761.824326] ready
< [  761.825576] sd 7:0:0:0: [sdb] 625142448 512-byte logical blocks:
(320 GB/298 GiB)
< [  761.827046] sd 7:0:0:0: [sdb] Write Protect is off
< [  761.827054] sd 7:0:0:0: [sdb] Mode Sense: 43 00 00 00
< [  761.827821] sd 7:0:0:0: [sdb] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
< [  761.846697]  sdb: sdb1 sdb2
< [  761.850535] sd 7:0:0:0: [sdb] Attached SCSI disk
< [  952.009501] perf: interrupt took too long (4980 > 4962), lowering
kernel.perf_event_max_sample_rate to 4



Re: Is there such a thing as a Debian blend for a MacBook Air 1,1 and/or Mac boxes in general? ...

2020-11-10 Thread Albretch Mueller
 OK, here is the whole log of the script I ran to install the b43 drivers.

 It is a bit long, but you will certainly be able to quickly visually
scan it and see where teh error is/might be.

 Yes, I am descending onto init 2 after I used a live DVD. I am OK
with doing that every time. I can't connect my work computer to the
Internet. I know it sounds "crazy"

 Thank you

// __ $_DIR: |/media/sda1/turk/fw/firmware-b43-installer|
/media/sda1/turk/fw/firmware-b43-installer/b43-fwcutter-018
make: Nothing to be done for 'all'.
0.00user 0.02system 0:00.18elapsed 11%CPU (0avgtext+0avgdata 2192maxresident)k
214inputs+0outputs (1major+128minor)pagefaults 0swaps
install -d -o 0 -g 0 -m 755 /usr/local/bin/
install -o 0 -g 0 -m 755 b43-fwcutter /usr/local/bin/
install -d -o 0 -g 0 -m 755 /usr/local/man/man1/
install -o 0 -g 0 -m 644 b43-fwcutter.1 /usr/local/man/man1/
0.00user 0.01system 0:00.16elapsed 9%CPU (0avgtext+0avgdata 2836maxresident)k
258inputs+0outputs (1major+828minor)pagefaults 0swaps
/media/sda1/turk/fw/firmware-b43-installer
// __ $FIRMWARE_INSTALL_DIR: |/lib/firmware|
// __ before installation: ls -l "/lib/firmware/b43"
ls: cannot access '/lib/firmware/b43': No such file or directory
This file is recognised as:
  filename   :  wl_apsta.o
  version:  666.2
  MD5:  e1b05e268bcdbfef3560c28fc161f30e
Extracting b43/lp0initvals14.fw
Extracting b43/lcn0bsinitvals25.fw
Extracting b43/n0bsinitvals25.fw
Extracting b43/n0bsinitvals17.fw
Extracting b43/ucode17_mimo.fw
Extracting b43/ucode16_lp.fw
Extracting b43/sslpn1initvals27.fw
Extracting b43/lp2bsinitvals19.fw
Extracting b43/sslpn3bsinitvals21.fw
Extracting b43/ucode16_sslpn.fw
  ucode time: 01:15:07
Extracting b43/ucode25_lcn.fw
Extracting b43/ucode21_sslpn.fw
Extracting b43/lp0bsinitvals14.fw
Extracting b43/b0g0initvals9.fw
Extracting b43/ucode20_sslpn.fw
Extracting b43/a0g1bsinitvals9.fw
Extracting b43/lp1initvals20.fw
Extracting b43/b0g0bsinitvals13.fw
Extracting b43/lp2initvals19.fw
Extracting b43/n2bsinitvals19.fw
Extracting b43/sslpn4bsinitvals22.fw
Extracting b43/ucode16_sslpn_nobt.fw
  ucode date: 2011-02-23
Extracting b43/n1bsinitvals20.fw
Extracting b43/n1initvals20.fw
Extracting b43/b0g0bsinitvals5.fw
Extracting b43/ucode22_sslpn.fw
Extracting b43/b0g0initvals13.fw
Extracting b43/ht0initvals26.fw
Extracting b43/ucode33_lcn40.fw
Extracting b43/sslpn1bsinitvals20.fw
Extracting b43/lcn400bsinitvals33.fw
Extracting b43/ucode14.fw
Extracting b43/a0g0initvals5.fw
Extracting b43/lp1bsinitvals22.fw
Extracting b43/n16initvals30.fw
Extracting b43/lp0bsinitvals16.fw
Extracting b43/lcn1bsinitvals25.fw
Extracting b43/lcn400initvals33.fw
Extracting b43/n0bsinitvals24.fw
Extracting b43/lcn2bsinitvals26.fw
Extracting b43/lcn1initvals26.fw
Extracting b43/n0bsinitvals22.fw
Extracting b43/n18initvals32.fw
Extracting b43/lcn2initvals26.fw
Extracting b43/a0g1bsinitvals5.fw
Extracting b43/n0bsinitvals11.fw
Extracting b43/lcn2initvals24.fw
Extracting b43/lcn0initvals26.fw
Extracting b43/n0absinitvals11.fw
Extracting b43/ucode21_sslpn_nobt.fw
  ucode time: 01:15:07
Extracting b43/ucode26_mimo.fw
Extracting b43/n2initvals19.fw
Extracting b43/sslpn3initvals21.fw
Extracting b43/a0g1bsinitvals13.fw
Extracting b43/sslpn4initvals22.fw
Extracting b43/pcm5.fw
Extracting b43/ucode22_mimo.fw
Extracting b43/ucode9.fw
Extracting b43/lcn2initvals25.fw
Extracting b43/lp1initvals22.fw
Extracting b43/sslpn1bsinitvals27.fw
Extracting b43/lcn0initvals24.fw
Extracting b43/ucode32_mimo.fw
Extracting b43/a0g0bsinitvals9.fw
Extracting b43/n18bsinitvals32.fw
Extracting b43/n0initvals24.fw
Extracting b43/n0initvals25.fw
Extracting b43/a0g1initvals5.fw
Extracting b43/ucode24_lcn.fw
Extracting b43/n0initvals17.fw
Extracting b43/n0bsinitvals16.fw
Extracting b43/lp0initvals15.fw
Extracting b43/b0g0initvals5.fw
Extracting b43/ucode20_sslpn_nobt.fw
Extracting b43/lcn1initvals24.fw
Extracting b43/sslpn0initvals16.fw
Extracting b43/a0g1initvals13.fw
Extracting b43/lp1bsinitvals20.fw
Extracting b43/sslpn2initvals19.fw
Extracting b43/a0g1initvals9.fw
Extracting b43/lcn1bsinitvals24.fw
Extracting b43/ucode5.fw
Extracting b43/lcn2bsinitvals24.fw
Extracting b43/lp0bsinitvals13.fw
Extracting b43/n0initvals16.fw
Extracting b43/ucode19_sslpn_nobt.fw
Extracting b43/b0g0bsinitvals9.fw
Extracting b43/ucode11.fw
Extracting b43/lp0initvals16.fw
Extracting b43/ucode16_mimo.fw
Extracting b43/lcn0bsinitvals26.fw
Extracting b43/ht0initvals29.fw
Extracting b43/lcn2bsinitvals25.fw
Extracting b43/a0g0initvals9.fw
Extracting b43/ucode29_mimo.fw
Extracting b43/lcn0bsinitvals24.fw
Extracting b43/ucode19_sslpn.fw
Extracting b43/lcn1initvals25.fw
Extracting b43/ucode30_mimo.fw
Extracting b43/n16bsinitvals30.fw
Extracting b43/ucode25_mimo.fw
Extracting b43/ucode24_mimo.fw
Extracting b43/ucode27_sslpn.fw
Extracting b43/lp0initvals13.fw
Extracting b43/a0g0bsinitvals5.fw
Extracting b43/ht0bsinitvals26.fw
Extracting b43/ucode13.fw
Extracting b43/sslpn2bsinitvals19.fw
Extracting b43/ucode15.fw
Extracting b43/

Re: Is there such a thing as a Debian blend for a MacBook Air 1,1 and/or Mac boxes in general? ...

2020-11-11 Thread Albretch Mueller
> - use a USB wireless dongle instead of your integrated wireless card.

 OK,  I will try that and I will let you know how it went

 I have no other option, so I will have to offer myself as some sort
of guinea pig and waste time/effort exploring such territories

 Thank you very much,
 lbrtchx

>
> So it seems the appropriate firmware is ucode11.fw and it cannot be loaded
> albeit being in /lib/firmware/b43.
>
> I suppose the main problem is that you use a live medium and for whatever
> reason this prevents loading the firmware. I do not know if it  is due to a
> different filesystem (squashfs?), permissions on the /lib/firmware/b43
> directory, or the system expecting the firmwares in a different directory on
> a live system, or... etc...
>
> I am afraid I do not have the necessary knowledge to further help you.
> What I can symply suggest is either:
> - use a USB wireless dongle instead of your integrated wireless card. If you
> use an unofficial Debian Live medium including firmwares, your USB wireless
> dongle will be recognized straight away, given there is a driver in the
> Linux kernel.
> - delve into the docs of the Debian Live universe (
> https://live-team.pages.debian.net/live-manual/ ) and create a tailored
> Debian Live medium for your needs, including the firmware for your Broadcom
> wireless card
>
> I fear there is no easier way because all Linux based systems will have by
> default the same lack of firmwares due to Broadcom policy and I do not think
> you will find a *BSD based live medium able to deal with your integrated
> wireless card (I may be wrong)
>
>



Re: [Kiwix-developer] Any preferrably java libraries, tutorials, ... about working with zim files? ...

2021-01-02 Thread Albretch Mueller
 I could not find the zim-tools utility on the debian repository:
 https://packages.debian.org/search?keywords=zim-tools
 https://packages.debian.org/search?keywords=zim
 and I can't use git since I do not connect my work computer to the Internet.
 Is there a debian package or tar ball somewhere which could be
installed locally?
 Thanks


On 12/12/20, Emmanuel Engelhart  wrote:
> On 12.12.20 10:42, Albretch Mueller wrote:
>>  based on what I have read on:
>>
>>  https://en.wikipedia.org/wiki/ZIM_(file_format)
>>
>>  https://en.wikipedia.org/wiki/XZ_Utils
>>
>>  the zim file format is not exactly based on the zip one,
>
> Not at all.
>
>> which also
>> includes archiving. Say you would like to extract just one file to
>> work on it, without decompressing the whole file.
>>
>>  How could you do that?
>>
> With zimdump in the zim-tools https://github.com/openzim/libzim/issues/397
>
> Or you can use one of the binding node/python.
>
> Emmanuel
>
>
>
> --
> Kiwix - Wikipedia Offline & more
> * Web: https://kiwix.org/
> * Twitter: https://twitter.com/KiwixOffline
> * Wiki: https://wiki.kiwix.org/
>
>



shadowy, sort of fly by night debian mirrors? ...

2021-02-21 Thread Albretch Mueller
 as I tried to download debian, I noticed that the download was being
redirected real time (which in itself doesn't necessarily have to mean
bad), what I found a worrying was that:

 1) as I used a known public hotspot connection, there was a new
hotspot advertising itself as "Wifi4EU" (of course, I didn't bite that
bait)

 2) getting a connection through (apparently) the right hotspot took
way more time than expected

 3) downloads were being redirected real time

 4) the usual server side responses were not being produced, just:

WARNING: certificate common name `ftp.acc.umu.se' doesn't match
requested host name `chuangtzu.ftp.acc.umu.se'.
2021-02-17 11:14:47
URL:https://chuangtzu.ftp.acc.umu.se/debian-cd/current/amd64/iso-dvd/debian-10.8.0-amd64-DVD-2.iso
[4697370624/4697370624] -> "debian-10.8.0-amd64-DVD-2.iso" [1]

WARNING: certificate common name `ftp.acc.umu.se' doesn't match
requested host name `laotzu.ftp.acc.umu.se'.
2021-02-17 11:46:46
URL:https://laotzu.ftp.acc.umu.se/debian-cd/current/amd64/iso-dvd/debian-10.8.0-amd64-DVD-3.iso
[4679073792/4679073792] -> "debian-10.8.0-amd64-DVD-3.iso" [1]

 5) the mirror debian site (ftp.acc.umu.se) had smelly prefixes as
subdomains (apparently Chinese transliterations) {chuangtzu, laotzu}

 6) whois registry for umu.se

$ whois um.se
# Copyright (c) 1997- The Swedish Internet Foundation.
# All rights reserved.
# The information obtained through searches, or otherwise, is protected
# by the Swedish Copyright Act (1960:729) and international conventions.
# It is also subject to database protection according to the Swedish
# Copyright Act.
# Any use of this material to target advertising or
# similar activities is forbidden and will be prosecuted.
# If any of the information below is transferred to a third
# party, it must be done in its entirety. This server must
# not be used as a backend for a search engine.
# Result of search for registered domain names under
# the .se top level domain.
#
 This whois printout is printed with UTF-8 encoding.
#
state:active
domain:   um.se
holder:   (not shown)
admin-c:  -
tech-c:   -
billing-c:-
created:  2014-12-02
modified: 2020-11-16
expires:  2021-12-02
transferred:  2017-08-24
nserver:  ns1.nameisp.info
nserver:  ns2.nameisp.info
dnssec:   unsigned delegation
registry-lock:unlocked
status:   ok
registrar:www.NameSRS.com
$

 7) the md5 and sha1 hashes that I computed could not be found online

0296cfbeaf3823055901d7ad2077a077
0b742d83d23207db9a24553100d4155eb8c701bf debian
10.8.0-amd64-DVD-2.iso
37baf26293b8132fe95b4bd19262ca6b
122a2612ed63ff89db56eec0765e87268bf72318 debian
10.8.0-amd64-DVD-3.iso

 I have kept those files in hard drives/computers I never connect to
the Internet (that, to me, is the only way to do something with some
"privacy"/security). I later downloaded what seem to be the right
files, anyway. They would make for some easy and nice forensic
analysis (just extracting the content of those iso files, using find
and diff) whenever I find the time to do so.

 lbrtchx



Re: shadowy, sort of fly by night debian mirrors? ...

2021-02-22 Thread Albretch Mueller
>>  7) the md5 and sha1 hashes that I computed could not be found online
>>
>> 0296cfbeaf3823055901d7ad2077a077
>> 0b742d83d23207db9a24553100d4155eb8c701bf debian
>> 10.8.0-amd64-DVD-2.iso
>> 37baf26293b8132fe95b4bd19262ca6b
>> 122a2612ed63ff89db56eec0765e87268bf72318 debian
>> 10.8.0-amd64-DVD-3.iso
>
> Those SHA1 hashes do appear here on another mirror:
>
>
> http://mirrorservice.org/sites/cdimage.debian.org/debian-cd/10.8.0/amd64/iso-dvd/SHA1SUMS

 Maybe, as you say that is happening to me because I am an allien.
That explains it all: Yet, in my searches google as telling me such
strings couldn't be found:

 https://www.google.com/search?&q=2612ed63ff89db56eec0765e87268bf72318

 Your search - 2612ed63ff89db56eec0765e87268bf72318 - did not match
any documents.

 I would expect for that string to appear on a few mirrors at least.
Also, hy ere their servers not producing any server side logs?

 lbrtchx



Re: shadowy, sort of fly by night debian mirrors? ...

2021-02-24 Thread Albretch Mueller
 sorry, bad wording typing fast. what I meant is that I use the wget
setting "--server-response" and keep my logs, but all I could see in
the logs was:

WARNING: certificate common name `ftp.acc.umu.se' doesn't match
requested host name `chuangtzu.ftp.acc.umu.se'.
2021-02-17 11:14:47
URL:https://chuangtzu.ftp.acc.umu.se/debian-cd/current/amd64/iso-dvd/debian-10.8.0-amd64-DVD-2.iso
[4697370624/4697370624] -> "debian-10.8.0-amd64-DVD-2.iso" [1]

WARNING: certificate common name `ftp.acc.umu.se' doesn't match
requested host name `laotzu.ftp.acc.umu.se'.
2021-02-17 11:46:46
URL:https://laotzu.ftp.acc.umu.se/debian-cd/current/amd64/iso-dvd/debian-10.8.0-amd64-DVD-3.iso
[4679073792/4679073792] -> "debian-10.8.0-amd64-DVD-3.iso" [1]

 I had never seen anything like that in my logs before, let alone from
debian mirrors. Why would they not protocol their server responses as
every server does?

 Yes, I have plenty of reasons to believe "they are watching 'me' (and
'you' and every one and their pets)". That is why I effing never
connect my main work computer to the Internet and the greatest part of
my paranoia is that at the end of the day anyone can take that data
and check it (of course, offline), provided you are able to get a hold
of an uncorrupted data set somehow. It is as simple as that!

 Also, I take pride at being from very prejudiced to cautiously racist
towards those not only "un-Amerikan", but,  even "communist" Chinese
before they spread the Corona Virus and about the fact that Vladimir
Putin hasn't been able to take away my girlfriend, yet. I would have
been a bit less racist towards them (just a bit) if they had infected
Trump and his wife earlier to make him shut the eff up. I heard they
had been cooking some other virus to make people stop thumbing their
cell phones as teen agers touch their genitals. As John Lennon sang,
"Imagine!" what would have been of Trump without tweeting! If those
Chinese lowlifes would had managed that I would have stopped being
racist towards them for a weekend.

 lbrtchx



Re: replicating an installation baseline only (as if it had been a cummulative, virgin installation) ...

2019-05-15 Thread Albretch Mueller
On 5/14/19, David Wright  wrote:
> Assuming you're not browsing as root ...

 Again, anything that is syntactically expressed can be, -is- hacked,
even the idea of a "root" account is a silly Illusion in my kind of
reallity which is not that different from yours ;-).

 Sorry, but not stating that would have made me feel cynical. It is
enough being
"paranoid"

 I think your suggestions will do. So far I have been going:

 # history  | grep apt-get install ...

 but I thought there should be a way to do such things in a more
streamlined way.

 I have been accessing the Internet using only ram with a knoppix disk
after removing the hard drive but Debian apt assumes you are connected
to the Internet, which is already a very compromising assumption.

 lbrtchx



trying to use an RG003-E antenna socket with my Lenovo Thinkpad running Debian Linux . . .

2019-07-10 Thread Albretch Mueller
 I am currently running:

# uname -a
Linux niggahme 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u2
(2019-05-13) x86_64 GNU/Linux

 on a Lenovo Thinkpad X130e (AMD E-450, 4GB RAM):

 http://psref.lenovo.com/syspool/Sys/PDF/withdrawnbook/ThinkPad_X131e_WE.pdf

 https://www.notebookcheck.com/Test-Lenovo-ThinkPad-X130e-Notebook.72434.0.html

 sporting, both, a VGA and an HDMI connection from which, I think, but
I am not 100% sure about it, only one can be connected to its LSD
display at a time.

 Where I live right now there is one of those RG003-E antenna sockets
for TV, SAT and RADIO:

 http://www.rogetech.de/produkte.php?was=antd3end

 Questions:

 Which hardware and software pieces do I need to:

 1) access the Internet via its SAT connection, and/or

2) watch TV or listen to the radio on my Lenovo notebook?

 lbrtchx
 debian-user@lists.debian.org: trying to use an RG003-E antenna socket
with my Lenovo Thinkpad running Debian Linux . . .



trying to grab video of screen on a Thinkpad x130e netbook . . .

2019-08-24 Thread Albretch Mueller
 Hi *:

 I have to ask after trying to do it in many ways, checking all kinds
of posts, searching and following guidelines.

 https://trac.ffmpeg.org/wiki/Capture/Desktop

 https://wiki.ubuntuusers.de/Videograbbing/

 I am running:

$ uname -a
Linux niggahme 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u2
(2019-05-13) x86_64 GNU/Linux

 on an "old" X130e Thinkpad which has 4 Gb of RAM.

 Nothing is listed under:

 # ls -l /dev/video*
ls: cannot access '/dev/video*': No such file or directory
 #

 As I remember, some time ago I had to do some kernel tinkering in
order to make the screen work fine on Linux:

# lshw -class cpu
  *-cpu
   description: CPU
   product: AMD E-450 APU with Radeon(tm) HD Graphics
   vendor: Advanced Micro Devices [AMD]
   physical id: 2e
   bus info: cpu@0
   version: AMD E-450 APU with Radeon(tm) HD Graphics
   slot: Socket FT1
   size: 1650MHz
   capacity: 1650MHz
   width: 64 bits
   clock: 100MHz
   capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr
pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse
sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp constant_tsc
rep_good nopl nonstop_tsc extd_apicid aperfmperf pni monitor ssse3
cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a
misalignsse 3dnowprefetch ibs skinit wdt hw_pstate vmmcall arat npt
lbrv svm_lock nrip_save pausefilter cpufreq
   configuration: cores=2 enabledcores=2 threads=2
#

# lshw -class display
  *-display
   description: VGA compatible controller
   product: Wrestler [Radeon HD 6320]
   vendor: Advanced Micro Devices, Inc. [AMD/ATI]
   physical id: 1
   bus info: pci@:00:01.0
   version: 00
   width: 32 bits
   clock: 33MHz
   capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
   configuration: driver=radeon latency=0
   resources: irq:25 memory:e000-efff
ioport:3000(size=256) memory:f030-f033 memory:c-d
#

 this are the sound cards on the X130e:

# lshw -class sound
  *-multimedia:0
   description: Audio device
   product: Wrestler HDMI Audio
   vendor: Advanced Micro Devices, Inc. [AMD/ATI]
   physical id: 1.1
   bus info: pci@:00:01.1
   version: 00
   width: 32 bits
   clock: 33MHz
   capabilities: pm pciexpress msi bus_master cap_list
   configuration: driver=snd_hda_intel latency=0
   resources: irq:24 memory:f0344000-f0347fff
  *-multimedia:1
   description: Audio device
   product: SBx00 Azalia (Intel HDA)
   vendor: Advanced Micro Devices, Inc. [AMD/ATI]
   physical id: 14.2
   bus info: pci@:00:14.2
   version: 40
   width: 64 bits
   clock: 33MHz
   capabilities: pm bus_master cap_list
   configuration: driver=snd_hda_intel latency=64
   resources: irq:16 memory:f034-f0343fff
#


$ cat /proc/asound/cards
 0 [Generic]: HDA-Intel - HD-Audio Generic
  HD-Audio Generic at 0xf0344000 irq 24
 1 [SB ]: HDA-Intel - HDA ATI SB
  HDA ATI SB at 0xf034 irq 16

 this is what ffmpeg supports on my installation:

$ ffmpeg -devices
ffmpeg version 3.2.14-1~deb9u1 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
  configuration: --prefix=/usr --extra-version='1~deb9u1'
--toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu --enable-gpl
--disable-stripping --enable-avresample --enable-avisynth
--enable-gnutls --enable-ladspa --enable-libass --enable-libbluray
--enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128
--enable-libflite --enable-libfontconfig --enable-libfreetype
--enable-libfribidi --enable-libgme --enable-libgsm
--enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt
--enable-libopus --enable-libpulse --enable-librubberband
--enable-libshine --enable-libsnappy --enable-libsoxr
--enable-libspeex --enable-libssh --enable-libtheora
--enable-libtwolame --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid
--enable-libzmq --enable-libzvbi --enable-omx --enable-openal
--enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883
--enable-chromaprint --enable-frei0r --enable-libopencv
--enable-libx264 --enable-shared
  libavutil  55. 34.101 / 55. 34.101
  libavcodec 57. 64.101 / 57. 64.101
  libavformat57. 56.101 / 57. 56.101
  libavdevice57.  1.100 / 57.  1.100
  libavfilter 6. 65.100 /  6. 65.100
  libavresample   3.  1.  0 /  3.  1.  0
  libswscale  4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc54.  1.100 / 54.  1.100
Devices:
 D. = Demuxing supported
 .E = Muxing supported
 --
 DE alsaALSA audio output
  E cacacaca (color ASCII art) output device
 D  dv1394  DV1394 A/V grab
 DE fbdev   Linux framebu

Re: trying to grab video of screen on a Thinkpad x130e netbook . . .

2019-08-27 Thread Albretch Mueller
On 8/24/19, Pétùr  wrote:
> ffmpeg -f x11grab -s 1280x720 -r 25 -i :0.0 screencast.mp4

 but where did the audio go?

 it worked but not always. base on its logs ffmpeg seems to be making
a video, but vlc doesn't show to me the actual video even though the
file is there.

 Why is it that the video is recorded and displayed in some cases onle?

 lbrtchx



State: stopped "Filter failed" on a Xerox Phaser 6125N. how do you troubleshoot a printer in Linux?

2020-04-05 Thread Albretch Mueller
 I got a:

_OFL="hwinfo_$(date +%Y%m%d%H%M%S)_hwinfo_printer.log"

hwinfo --printer --log "${_OFL}" 2>&1

17: USB 00.0: 10900 Printer
  [Created at usb.122]
  Unique ID: L0iK.+dt1oXx0UKE
  Old Unique ID: vxkL.pGWWNSDBYN7
  Parent ID: 2UT6.DFkaVl_rzX0
  SysFS ID: /devices/pci:00/:00:12.2/usb1/1-3/1-3.2/1-3.2:1.0
  SysFS BusID: 1-3.2:1.0
  Hardware Class: printer
  HW Class List: printer, usb
  Model: "Xerox Phaser 6125N"
  Hotplug: USB
  Vendor: usb 0x0924 "Xerox"
  Device: usb 0x3d61 "Phaser 6125N"
  Revision: "1.00"
  Serial ID: "LAL056826"
  Driver: "usblp"
  Driver Modules: "usblp"
  Main Driver Module: "usblp"
  Speed: 480 Mbps
  Module Alias: "usb:v0924p3D61d0100dc00dsc00dp00ic07isc01ip02in00"
  Driver Info #0:
Driver Status: usblp is active
Driver Activation Cmd: "modprobe usblp"
Driver DB0: 2, usblp
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #13 (Hub)
~
 and after mostly following the steps outlined in:

 https://rickvanderzwet.nl/trac/personal/wiki/XeroxPhaser6125N

 https://wiki.archlinux.org/index.php/CUPS/Printer-specific_problems

 I can see the printer fine both while using cups going: localhost:631
and in libreoffice and okular, but the printer doesn't actually print.
The message that I see in cups is: State: stopped "Filter failed"
~
 A google search a less than 5 sinvoll hits which weren't really helpful.

 WOuld you suggest a good guideline about how to troubleshoot printers?

 lbrtchx



Re: State: stopped "Filter failed" on a Xerox Phaser 6125N. how do you troubleshoot a printer in Linux?

2020-04-05 Thread Albretch Mueller
I see on the error logs after making sure the printer is ready to
receive print jobs (based on its own menu)

http://localhost:631/admin/log/error_log
...
D [06/Apr/2020:01:19:35 +0200] [Job 5] printer-state=3(idle)
D [06/Apr/2020:01:19:35 +0200] [Job 5] printer-state-message="Filter failed"
D [06/Apr/2020:01:19:35 +0200] [Job 5] printer-state-reasons=none
~
 lbrtchx



Re: State: stopped "Filter failed" on a Xerox Phaser 6125N. how do you troubleshoot a printer in Linux?

2020-04-06 Thread Albretch Mueller
On 4/6/20, Brian  wrote:
> A complete error_log is needed. The Printing section of the wiki should
> help you get one.

 following the documentation on in the case of a USB connected printer:

 https://wiki.ubuntu.com/DebuggingPrintingProblems

 * usb kernel modules loaded for the line printer (usblp):

$ date; lsmod | grep usb
Mo 6. Apr 15:41:20 CEST 2020
usbnet 45056  2 rndis_host,cdc_ether
mii16384  1 usbnet
usblp  20480  0
usbhid 53248  0
hid   122880  2 hid_generic,usbhid
usbcore   253952  9
rndis_host,usbnet,usbhid,ehci_hcd,cdc_ether,ohci_pci,usblp,ohci_hcd,ehci_pci
usb_common 16384  1 usbcore

 * messages in /var/log/syslog

# date; tail -f /var/log/syslog
Mo 6. Apr 15:44:27 CEST 2020
Apr  6 15:40:28 lbrtchx udev-configure-printer: Re-enabled printer
ipp://localhost/printers/Xerox_Phaser_6125N
Apr  6 15:42:44 lbrtchx kernel: [30620.642787] usb 1-1: USB
disconnect, device number 13
Apr  6 15:42:44 lbrtchx kernel: [30620.643243] usblp0: removed
Apr  6 15:42:44 lbrtchx udev-configure-printer: remove
/devices/pci:00/:00:12.2/usb1/1-1
Apr  6 15:42:44 lbrtchx udev-configure-printer: URI of detected
printer: usb://Xerox/Phaser%206125N?serial=LAL056826, normalized:
xerox phaser 6125n serial lal056826
Apr  6 15:42:44 lbrtchx udev-configure-printer: URI of print queue:
usb://Xerox/Phaser%206125N?serial=LAL056826, normalized: xerox phaser
6125n serial lal056826
Apr  6 15:42:44 lbrtchx udev-configure-printer: Queue
ipp://localhost/printers/Xerox_Phaser_6125N has matching device URI
Apr  6 15:42:44 lbrtchx udev-configure-printer: Disabled printer
ipp://localhost/printers/Xerox_Phaser_6125N as the corresponding
device was unplugged or turned off
Apr  6 15:42:44 lbrtchx systemd[1]: printer.target: Unit not needed
anymore. Stopping.
Apr  6 15:42:44 lbrtchx systemd[1]: Stopped target Printer.

 * after reconnecting the USB printer cable:

...

Apr  6 15:42:44 lbrtchx udev-configure-printer: Disabled printer
ipp://localhost/printers/Xerox_Phaser_6125N as the corresponding
device was unplugged or turned off
Apr  6 15:42:44 lbrtchx systemd[1]: printer.target: Unit not needed
anymore. Stopping.
Apr  6 15:42:44 lbrtchx systemd[1]: Stopped target Printer.
Apr  6 15:45:01 lbrtchx CRON[15218]: (root) CMD (command -v debian-sa1
> /dev/null && debian-sa1 1 1)
Apr  6 15:45:37 lbrtchx kernel: [30793.845579] usb 1-1: new high-speed
USB device number 14 using ehci-pci
Apr  6 15:45:37 lbrtchx kernel: [30793.995029] usb 1-1: New USB device
found, idVendor=0924, idProduct=3d61
Apr  6 15:45:37 lbrtchx kernel: [30793.995039] usb 1-1: New USB device
strings: Mfr=1, Product=2, SerialNumber=3
Apr  6 15:45:37 lbrtchx kernel: [30793.995044] usb 1-1: Product: Phaser 6125N
Apr  6 15:45:37 lbrtchx kernel: [30793.995049] usb 1-1: Manufacturer: Xerox
Apr  6 15:45:37 lbrtchx kernel: [30793.995053] usb 1-1: SerialNumber: LAL056826
Apr  6 15:45:37 lbrtchx kernel: [30793.998315] usblp 1-1:1.0: usblp0:
USB Bidirectional printer dev 14 if 0 alt 0 proto 2 vid 0x0924 pid
0x3D61
Apr  6 15:45:37 lbrtchx mtp-probe: checking bus 1, device 14:
"/sys/devices/pci:00/:00:12.2/usb1/1-1"
Apr  6 15:45:37 lbrtchx mtp-probe: bus: 1, device: 14 was not an MTP device
Apr  6 15:45:37 lbrtchx systemd[1]: Reached target Printer.
Apr  6 15:45:37 lbrtchx systemd[1]: Started Configure Plugged-In Printer.
Apr  6 15:45:37 lbrtchx udev-configure-printer: add usb-001-014
Apr  6 15:45:37 lbrtchx udev-configure-printer: device devpath is
/devices/pci:00/:00:12.2/usb1/1-1
Apr  6 15:45:37 lbrtchx udev-configure-printer: MFG:Xerox MDL:Phaser
6125N SERN:- serial:LAL056826
Apr  6 15:45:43 lbrtchx kernel: [30799.238348] usblp0: removed
Apr  6 15:45:43 lbrtchx kernel: [30799.245755] usblp 1-1:1.0: usblp0:
USB Bidirectional printer dev 14 if 0 alt 0 proto 2 vid 0x0924 pid
0x3D61
Apr  6 15:45:43 lbrtchx udev-configure-printer: URI contains USB serial number
Apr  6 15:45:43 lbrtchx udev-configure-printer: URI match:
usb://Xerox/Phaser%206125N?serial=LAL056826
Apr  6 15:45:43 lbrtchx udev-configure-printer: URI of detected
printer: usb://Xerox/Phaser%206125N?serial=LAL056826, normalized:
xerox phaser 6125n serial lal056826
Apr  6 15:45:43 lbrtchx udev-configure-printer: URI of print queue:
usb://Xerox/Phaser%206125N?serial=LAL056826, normalized: xerox phaser
6125n serial lal056826
Apr  6 15:45:43 lbrtchx udev-configure-printer: Queue
ipp://localhost/printers/Xerox_Phaser_6125N has matching device URI
Apr  6 15:45:43 lbrtchx udev-configure-printer: Re-enabled printer
ipp://localhost/printers/Xerox_Phaser_6125N


 * USB connected printer correctly detected by the USB subsystem?:

$ date; lsusb
Mo 6. Apr 15:48:13 CEST 2020
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 413c:2105 Dell Computer Corp. Model L100 Keyboard
Bus 001 Device 002: ID 1a40:0101 Terminus Tec

Re: State: stopped "Filter failed" on a Xerox Phaser 6125N. how do you troubleshoot a printer in Linux?

2020-04-06 Thread Albretch Mueller
 Perhaps you will be able to see something I don't. If not let me know
how could do whatever you need with the debug levels or log file in a
better way

>Maybe you've to enable Loglevel "info" or "debug" in /etc/cups/cupsd.conf

# date; cat /etc/cups/cupsd.conf | grep LogLevel
Mo 6. Apr 22:37:44 CEST 2020
LogLevel debug
#

# cupsctl --debug-logging
# cupsctl LogLevel=debug2

# grep -v "not idle any more" /var/log/cups/error_log | less

E [06/Apr/2020:00:31:51 +0200] [Job 4] Job stopped due to filter
errors; please consult the error_log file for details.
D [06/Apr/2020:00:31:51 +0200] [Job 4] The following messages were
recorded from 00:31:51 to 00:31:51
D [06/Apr/2020:00:31:51 +0200] [Job 4] Adding start banner page "none".
D [06/Apr/2020:00:31:51 +0200] [Job 4] Queued on "Phaser-6125N" by "debuserme".
D [06/Apr/2020:00:31:51 +0200] [Job 4] Auto-typing file...
D [06/Apr/2020:00:31:51 +0200] [Job 4] Request file type is
application/postscript.
D [06/Apr/2020:00:31:51 +0200] [Job 4] File of type
application/postscript queued by "debuserme".
D [06/Apr/2020:00:31:51 +0200] [Job 4] Adding end banner page "none".
D [06/Apr/2020:00:31:51 +0200] [Job 4] time-at-processing=1586125911
D [06/Apr/2020:00:31:51 +0200] [Job 4] 2 filters for job:
D [06/Apr/2020:00:31:51 +0200] [Job 4] pstops (application/postscript
to application/vnd.cups-postscript, cost 66)
D [06/Apr/2020:00:31:51 +0200] [Job 4] /usr/lib/cups/filter/FXM_PF
(application/vnd.cups-postscript to printer/Phaser-6125N, cost 0)
D [06/Apr/2020:00:31:51 +0200] [Job 4] job-sheets=none,none
D [06/Apr/2020:00:31:51 +0200] [Job 4] argv[0]="Phaser-6125N"
D [06/Apr/2020:00:31:51 +0200] [Job 4] argv[1]="4"
D [06/Apr/2020:00:31:51 +0200] [Job 4] argv[2]="debuserme"
D [06/Apr/2020:00:31:51 +0200] [Job 4] argv[3]="2020-04-03_draft08.pdf"
D [06/Apr/2020:00:31:51 +0200] [Job 4] argv[4]="1"
D [06/Apr/2020:00:31:51 +0200] [Job 4] argv[5]="noCollate
Duplex=DuplexNoTumble finishings=3 fit-to-page media=A4 number-up=1
outputorder=normal page-bottom=12 page-left=11 page-right=12
page-top=11 portrait sides=one-sided
job-uuid=urn:uuid:5a8f06ec-1d43-3cfa-6138-560befd55620
job-originating-host-name=localhost date-time-at-creation=
date-time-at-processing= time-at-creation=1586125911
time-at-processing=1586125911 document-name-supplied=okularDB4703.ps
PageSize=A4"
D [06/Apr/2020:00:31:51 +0200] [Job 4] argv[6]="/var/spool/cups/d4-001"
D [06/Apr/2020:00:31:51 +0200] [Job 4] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [06/Apr/2020:00:31:51 +0200] [Job 4] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [06/Apr/2020:00:31:51 +0200] [Job 4]
envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
D [06/Apr/2020:00:31:51 +0200] [Job 4]
envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [06/Apr/2020:00:31:51 +0200] [Job 4]
envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [06/Apr/2020:00:31:51 +0200] [Job 4] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [06/Apr/2020:00:31:51 +0200] [Job 4] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [06/Apr/2020:00:31:51 +0200] [Job 4] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [06/Apr/2020:00:31:51 +0200] [Job 4] envp[8]="HOME=/var/spool/cups/tmp"
D [06/Apr/2020:00:31:51 +0200] [Job 4]
envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [06/Apr/2020:00:31:51 +0200] [Job 4] envp[10]="SERVER_ADMIN=root@lbrtchx"
D [06/Apr/2020:00:31:51 +0200] [Job 4] envp[11]="SOFTWARE=CUPS/2.2.1"
D [06/Apr/2020:00:31:51 +0200] [Job 4] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [06/Apr/2020:00:31:51 +0200] [Job 4] envp[13]="USER=root"



> Have a closer look at /var/log/cups/error_log

the last lines in the error_log are:

http://localhost:631/admin/log/error_log
...
D [06/Apr/2020:22:51:06 +0200] [Client 96] Server address is "[v1.::1]".
D [06/Apr/2020:22:51:06 +0200] [Client 96] Accepted from localhost:45526 (IPv6)
d [06/Apr/2020:22:51:06 +0200] cupsdAddSelect(fd=15,
read_cb=0x5559df967db0, write_cb=(nil), data=0x5559e175d430)
D [06/Apr/2020:22:51:06 +0200] [Client 96] Waiting for request.
I [06/Apr/2020:22:51:06 +0200] Expiring subscriptions...
d [06/Apr/2020:22:51:06 +0200] cupsdCheckJobs: 2 active jobs,
sleeping=0, ac-power=-1, reload=0, curtime=1586206266
d [06/Apr/2020:22:51:06 +0200] cupsdCheckJobs: Job 5 -
dest="Xerox_Phaser_6125N", printer=(nil), state=6, cancel_time=0,
hold_until=1586129075, kill_time=0, pending_cost=0, pending_timeout=0
d [06/Apr/2020:22:51:06 +0200] cupsdCheckJobs: Job 6 -
dest="Xerox_Phaser_6125N", printer=(nil), state=6, cancel_time=0,
hold_until=1586206257, kill_time=0, pending_cost=0, pending_timeout=0
d [06/Apr/2020:22:51:06 +0200] select_timeout: JobHistoryUpdate=0
d [06/Apr/2020:22:51:06 +0200] [Client 96] cupsdReadClient: error=0,
used=0, state=HTTP_STATE_WAITING, data_encoding=HTTP_ENCODING_LENGTH,
data_remaining=0, request=(nil)(), file=-1
D [06/Apr/2020:22:51:06 +0200] [Client 96] GET /admin/log/error_log HTTP/1.1
D [06/Apr/2020:22:51:06 +0200] cupsdSetBusyState: newbusy="Active
clients", busy="Not busy"
D [06/Apr/2020:22:51:06 +0200] [Client 96] Read: st

Re: State: stopped "Filter failed" on a Xerox Phaser 6125N. how do you troubleshoot a printer in Linux?

2020-04-06 Thread Albretch Mueller
On 4/6/20, Klaus Singvogel  wrote:
> Two filters are executed:
> 1. pstops
> Is CUPS internal and included in Debian package "cups-core-drivers" at my
> side (running Debian buster).

# date; time apt-get install cups-core-drivers
Di 7. Apr 06:58:26 CEST 2020
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen Fertig
cups-core-drivers ist schon die neueste Version (2.2.1-8+deb9u5).
cups-core-drivers wurde als manuell installiert festgelegt.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 13 nicht aktualisiert.

real0m2,514s
user0m2,380s
sys 0m0,104s
#


> 2. /usr/lib/cups/filter/FXM_PF

> Not known by me. Is the file present? Is it executable? Does it fail, if
> you execute it?

# ls -l /usr/lib/cups/filter/FXM_PF
-rwxr-xr-x 1 root root 17065 Feb 11  2012 /usr/lib/cups/filter/FXM_PF

# file /usr/lib/cups/filter/FXM_PF
/usr/lib/cups/filter/FXM_PF: ELF 32-bit LSB executable, Intel 80386,
version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2,
for GNU/Linux 2.2.5, not stripped
#

> I've the feeling this is the culprint, you want to work on.

 I checked both and it doesn't seem to be the case, but I really can't tell.

 thank you,
 lbrtchx



trying to mount a micro USB disk as a regular user on a Linux laptop on which I don't have admin rights ...

2020-05-12 Thread Albretch Mueller
$ mount /dev/sdc1
mount: can't find /dev/sdc1 in /etc/fstab

$ umount /dev/sdc1

$ mount --types vfat /dev/sdc1 /media/user/5C51-D400
mount: only root can use "--types" option

$ mount /dev/sdc1 /media/user/5C51-D400
mount: only root can do that

$ mount /dev/sdc1
mount: can't find /dev/sdc1 in /etc/fstab

$

 lbrtchx



Re: trying to mount a micro USB disk as a regular user on a Linux laptop on which I don't have admin rights ...

2020-05-14 Thread Albretch Mueller
On 5/12/20, Eric S Fraga  wrote:
> If pmount is installed/available, 'pmount sdc1' will mount the disk onto
> /media/sdc1.

 I don't think pmount is installed, but I will check anyway. My
options seems hopeless.

 I can't even understand why they would mount a drive as root. Isn't
that more problematic from a security point of view?

 thanks anyway
 L



How could you load only once a Linux ultility without a batch --input-files kind of option and repeatedly use it on many files? . . .

2020-05-14 Thread Albretch Mueller
 The thing is that I have to call, say sha256sum, on millions of files

 Probably debian admin people dealing with packaging have to deal with
the same kinds of issues.

 lbrtchx



Re: How could you load only once a Linux ultility without a batch --input-files kind of option and repeatedly use it on many files? . . .

2020-05-15 Thread Albretch Mueller
On 5/14/20, Nicolas George  wrote:

> The question was not how to find the files, the formulation of the
> question indicates that Albretch has that covered.

 Yeah, my problem is not finding the files per se. I have them or
could have them easily listed.

 The thing is that when you work on copora research you have to get
fairly complicated answers from millions of text "as fast as possible"
and you have to make sure that your baseline hasn't been changed.

 I will have to play (again) with the options that you have given me
and by the way I said sha256sum as an example in the typical case you
would run "file" and two hashes on each file and that would take
forever a user's machine.

 lbrtchx



Re: How could you load only once a Linux ultility without a batch --input-files kind of option and repeatedly use it on many files? . . .

2020-05-15 Thread Albretch Mueller
 What documentation, books, videos, ... would you suggest for me to
read up if I were to investigate what exactly is "find" 's magic to
hook other processes and keep a running instance for multiple "found"
files?

 lbrtchx



Could RAM possibly be just 3-4 times faster than bare hdd writes and reads? or, is the Linux kernel doing its 'magic' in the bg? or, ...

2020-06-17 Thread Albretch Mueller
 HDDs have their internal caching mechanism and I have heard that the
Linux kernel uses RAM very effitiently, but to my understanding RAM
being only 3-4 times faster doesn't make much sense, so I may be doing
or understanding something not entirely right.

 does dd actually hit the bare metal drive or is it just reaching the
disks cache

 This is what I am consistently getting from my code doing intesive IO
on the RAM drive:

// __ write speed test
#
# time dd if=/dev/zero of="${_RAM_MNT}"/zero bs=4k count=10
10+0 Datensätze ein
10+0 Datensätze aus
40960 Bytes (410 MB, 391 MiB) kopiert, 0,756943 s, 541 MB/s

real0m0,760s
user0m0,048s
sys 0m0,680s
#

// __ read speed test
#
# time dd if="${_RAM_MNT}"/zero of=/dev/null bs=4k count=10
10+0 Datensätze ein
10+0 Datensätze aus
40960 Bytes (410 MB, 391 MiB) kopiert, 0,36381 s, 1,1 GB/s

real0m0,368s
user0m0,016s
sys 0m0,344s
#

// __ my code reports while using a ramdisk:

...
// __ |0| files not found or empty!
// __ |8616768| bytes in |48| files offset processed (weighted and
checked) in |720057| (ms), |11| (bytes/ms)

real12m0,396s
user9m12,596s
sys 3m11,524s
$

 ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

_HDD_DIR="logs/ffst_diffs_files"

time dd if=/dev/zero of="${_HDD_DIR}"/zero bs=4k count=10

ls -l "${_HDD_DIR}"/zero

time dd if="${_HDD_DIR}"/zero of=/dev/null bs=4k count=10

rm -fv "${_HDD_DIR}"/zero


$ 
_HDD_DIR="/home/lbrtchx/cmllpz/prjx/kd/java/IO/ffst_bytes/logs/ffst_diffs_files"
$
$ time dd if=/dev/zero of="${_HDD_DIR}"/zero bs=4k count=10
10+0 Datensätze ein
10+0 Datensätze aus
40960 Bytes (410 MB, 391 MiB) kopiert, 1,92086 s, 213 MB/s

real0m1,924s
user0m0,064s
sys 0m1,468s
$
$ ls -l "${_HDD_DIR}"/zero
-rw-r--r-- 1 lbrtchx lbrtchx 40960 Jun 14 02:07
.../logs/ffst_diffs_files/zero
$
$ time dd if="${_HDD_DIR}"/zero of=/dev/null bs=4k count=10
10+0 Datensätze ein
10+0 Datensätze aus
40960 Bytes (410 MB, 391 MiB) kopiert, 0,521688 s, 785 MB/s

real0m0,525s
user0m0,040s
sys 0m0,308s
$


# time dd if=/dev/zero of="${_HDD_DIR}"/zero bs=4k count=10
10+0 Datensätze ein
10+0 Datensätze aus
40960 Bytes (410 MB, 391 MiB) kopiert, 1,94642 s, 210 MB/s

real0m1,954s
user0m0,048s
sys 0m1,484s
#

# ls -l "${_HDD_DIR}"/zero

-rw-r--r-- 1 root root 40960 Jun 14 02:04
/home/lbrtchx/cmllpz/prjx/kd/java/IO/ffst_bytes/logs/ffst_diffs_files/zero
#
# time dd if="${_HDD_DIR}"/zero of=/dev/null bs=4k count=10
10+0 Datensätze ein
10+0 Datensätze aus
40960 Bytes (410 MB, 391 MiB) kopiert, 0,735103 s, 557 MB/s

real0m0,744s
user0m0,036s
sys 0m0,324s
#

// __ my code reports while using a hdd access:

...

// __ |0| files not found or empty!
// __ |8616768| bytes in |48| files offset processed (weighted and
checked) in |2412518| (ms), |3| (bytes/ms)

real40m12,727s
user10m42,576s
sys 8m41,180s
$



Re: Could RAM possibly be just 3-4 times faster than bare hdd writes and reads? or, is the Linux kernel doing its 'magic' in the bg? or, ...

2020-06-17 Thread Albretch Mueller
 also, if in order to use RAID 10 you need 4 drives (but the dollar
per Gb is approaching $0.02) and you get 1.5 faster performance, what
is the economy of "bying more RAM" if it is so much more expensive?

 Any comparison on HDD, SSD and RAM including pros and cons which is
worth reading?

 lbrtchx



Re: Could RAM possibly be just 3-4 times faster than bare hdd writes and reads? or, is the Linux kernel doing its 'magic' in the bg? or, ...

2020-06-17 Thread Albretch Mueller
> Your test dataset is too small and you aren't flushing the cache before 
> exiting dd, so you are largely seeing the time it takes to write to cache, 
> not to disk.
> But that gives the RAID10 system 220 IOPs, still nowhere near the 100,000 
> IOPs of a single SSD.
> I suggest that you google a bit on how to do fileystem benchmarks first, then 
> try it and report back if something is still odd.
> Your test dataset is too small and you aren't flushing the cache before 
> exiting dd, so you are largely seeing the time it takes to write to cache, 
> not to disk.
 . . .
 Oh, well, yes. I knew that I was "seeing" something that wasn't quite right.
 Your answers grounded me on such issues.
 Thank you und Entschuldigung!
 lbrtchx

On 6/17/20, Anders Andersson  wrote:
> On Wed, Jun 17, 2020 at 12:15 PM Albretch Mueller 
> wrote:
>>
>>  HDDs have their internal caching mechanism and I have heard that the
>> Linux kernel uses RAM very effitiently, but to my understanding RAM
>> being only 3-4 times faster doesn't make much sense, so I may be doing
>> or understanding something not entirely right.
>
> I suggest that you google a bit on how to do fileystem benchmarks
> first, then try it and report back if something is still odd. There
> are many ways but "dd" is not the way unless you really dig through
> the sync flags and understand what they do. I normally use "fio" but
> it's not very friendly (so it suits me).
>
> However, I just recently put a fast NVMe SSD in an older server with
> (lots) of DDR3 ECC RAM. The RAM bandwidth for one node/CPU is about
> 10-12 GB/s, and the SSD bandwidth is nearing 2 GB/s for most loads.
> That's getting close to your figures!
>
>



  1   2   3   4   5   >