Re: not loading non-free firmware in 11.00 network installation debian-installer

2021-09-15 Thread Cyril Brulebois
Hi Nick,

Nick Gawronski  (2021-09-15):
> Hi, Yes as I looked and it appears as if the firmware package is on the
> network installation image.  This system has debian already installed on it
> is there a way I could send you the installation report from this system so
> you could take a look at it like where is it stored on the system?  Nick
> Gawronski

See the logs:

Feb 25 15:44:44 check-missing-firmware: missing firmware files 
(iwlwifi-6000g2b-6.ucode iwlwifi-6000g2b-5.ucode) for iwlwifi
Feb 25 15:44:50 main-menu[611]: (process:5046): ar: short read
Feb 25 15:44:50 main-menu[611]: (process:5046): ar: short read
Feb 25 15:44:50 main-menu[611]: (process:5046): ar: short read
Feb 25 15:44:50 main-menu[611]: (process:5046): ar: short read
Feb 25 15:44:50 main-menu[611]: (process:5046): ar: short read
Feb 25 15:44:50 main-menu[611]: (process:5046): ar: short read
…

and various other failures afterwards.

I'm not sure the installation image is available on a decent medium. The
“short read” could be due to problems reading back data from the medium
(initial copy was problematic, or future uses are problematic). I'd
probably try with something else (different CD/DVD, or different USB
stick).

Also, Feb 25 seems strange (even if I reckon you might not be able to
have NTP up and running without networking, I'd expect a reinstall to
know about some less crazy time via the RTC… but then I didn't check the
exact ordering in install steps… just mentioning this in passing since
it caught my eye).


Cheers,
-- 
Cyril Brulebois (k...@debian.org)
D-I release manager -- Release team member -- Freelance Consultant


signature.asc
Description: PGP signature


Re: not loading non-free firmware in 11.00 network installation debian-installer

2021-09-15 Thread Nick Gawronski
Hi, Yes as I looked and it appears as if the firmware package is on the 
network installation image.  This system has debian already installed on 
it is there a way I could send you the installation report from this 
system so you could take a look at it like where is it stored on the 
system?  Nick Gawronski


On 9/15/2021 1:43 PM, Holger Wansing wrote:

Hi,

"Andrew M.A. Cater"  wrote (Wed, 15 Sep 2021 17:25:52 
+):

On Wed, Sep 15, 2021 at 11:47:29AM -0500, Nick Gawronski wrote:


Feb 25 15:44:03 cdrom-detect: Detected CD 'Debian GNU/Linux 11.0.0 "Bullseye" - 
Unofficial amd64 NETINST with firmware 20210814-10:09'
Feb 25 15:44:04 cdrom-detect: Detected CD with 'stable' (bullseye) distribution

This is the official Debian media installer

Try the unofficial non-free CD : from the lines I've selected, it looks as
if you might be able to install via wired interface without loading firmware.

The lines you quoted above show, that Nick already used the unofficial image
with firmware included.

I guess this lines are related:


Feb 25 15:44:42 kernel: [   87.777956] iwlwifi :02:00.0: firmware: failed 
to load iwlwifi-6000g2b-6.ucode (-2)
Feb 25 15:44:42 kernel: [   87.777957] firmware_class: See 
https://wiki.debian.org/Firmware for information about missing firmware
Feb 25 15:44:42 kernel: [   87.777958] iwlwifi :02:00.0: Direct firmware 
load for iwlwifi-6000g2b-6.ucode failed with error -2
Feb 25 15:44:42 kernel: [   87.777969] iwlwifi :02:00.0: firmware: failed 
to load iwlwifi-6000g2b-5.ucode (-2)
Feb 25 15:44:42 kernel: [   87.777970] iwlwifi :02:00.0: Direct firmware 
load for iwlwifi-6000g2b-5.ucode failed with error -2
Feb 25 15:44:42 kernel: [   87.777971] iwlwifi :02:00.0: minimum version 
required: iwlwifi-6000g2b-5
Feb 25 15:44:42 kernel: [   87.777972] iwlwifi :02:00.0: maximum version 
supported: iwlwifi-6000g2b-6

However, I have no clue what happens here...
The iwlwifi-6000g2b-6.ucode file is included in firmware-iwlwifi package, so
should also be available on the image in question.


Holger






Re: not loading non-free firmware in 11.00 network installation debian-installer

2021-09-15 Thread Holger Wansing
Hi,

"Andrew M.A. Cater"  wrote (Wed, 15 Sep 2021 17:25:52 
+):
> On Wed, Sep 15, 2021 at 11:47:29AM -0500, Nick Gawronski wrote:
> 
> > Feb 25 15:44:03 cdrom-detect: Detected CD 'Debian GNU/Linux 11.0.0 
> > "Bullseye" - Unofficial amd64 NETINST with firmware 20210814-10:09'
> > Feb 25 15:44:04 cdrom-detect: Detected CD with 'stable' (bullseye) 
> > distribution
> 
> This is the official Debian media installer
> 
> Try the unofficial non-free CD : from the lines I've selected, it looks as
> if you might be able to install via wired interface without loading firmware.

The lines you quoted above show, that Nick already used the unofficial image
with firmware included.

I guess this lines are related:

> Feb 25 15:44:42 kernel: [   87.777956] iwlwifi :02:00.0: firmware: failed 
> to load iwlwifi-6000g2b-6.ucode (-2)
> Feb 25 15:44:42 kernel: [   87.777957] firmware_class: See 
> https://wiki.debian.org/Firmware for information about missing firmware
> Feb 25 15:44:42 kernel: [   87.777958] iwlwifi :02:00.0: Direct firmware 
> load for iwlwifi-6000g2b-6.ucode failed with error -2
> Feb 25 15:44:42 kernel: [   87.777969] iwlwifi :02:00.0: firmware: failed 
> to load iwlwifi-6000g2b-5.ucode (-2)
> Feb 25 15:44:42 kernel: [   87.777970] iwlwifi :02:00.0: Direct firmware 
> load for iwlwifi-6000g2b-5.ucode failed with error -2
> Feb 25 15:44:42 kernel: [   87.777971] iwlwifi :02:00.0: minimum version 
> required: iwlwifi-6000g2b-5
> Feb 25 15:44:42 kernel: [   87.777972] iwlwifi :02:00.0: maximum version 
> supported: iwlwifi-6000g2b-6

However, I have no clue what happens here...
The iwlwifi-6000g2b-6.ucode file is included in firmware-iwlwifi package, so
should also be available on the image in question.


Holger


-- 
Holger Wansing 
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076



Bug#994409: +1 (Re: task-laptop: please recommend automatic apt proxying)

2021-09-15 Thread Holger Levsen
On Wed, Sep 15, 2021 at 10:29:51AM -0700, Russ Allbery wrote:
> The safe default for Debian in any standard installation mode, which I
> believe includes tasks, is to talk explicitly to Debian infrastructure.
> If people would like to improve local performance, they should automate
> the configuration of the machines that they control, with the permission
> and understanding of the people who are using those machines.

that.


-- 
cheers,
Holger

 ⢀⣴⠾⠻⢶⣦⠀
 ⣾⠁⢠⠒⠀⣿⡁  holger@(debian|reproducible-builds|layer-acht).org
 ⢿⡄⠘⠷⠚⠋⠀  OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
 ⠈⠳⣄

All data, over time, approaches deleted, or public. (@quinnnorton)


signature.asc
Description: PGP signature


Bug#994409: task-laptop: please recommend automatic apt proxying

2021-09-15 Thread Russ Allbery
Phil Morrell  writes:

> Package: task-laptop
> Version: 3.53
> Severity: wishlist

> I'm not sure on the difference between auto-apt-proxy and
> squid-deb-proxy-client. Avahi is already pulled in by task-laptop.

Please do not do this.  I do not want to have to reason about the security
impact of someone who controls local DNS taking over my apt sources.  I
understand that people believe that this is harmless because of apt
signature checking, but it still opens more attack paths and routes to
exercise other possible vulnerabilities.

The safe default for Debian in any standard installation mode, which I
believe includes tasks, is to talk explicitly to Debian infrastructure.
If people would like to improve local performance, they should automate
the configuration of the machines that they control, with the permission
and understanding of the people who are using those machines.

We should not enable people who control the local network but not the
Debian system to dynamically change security-relevant configuration of
that system, which I believe includes apt sources, without explicit
permission.

-- 
Russ Allbery (r...@debian.org)  



Re: not loading non-free firmware in 11.00 network installation debian-installer

2021-09-15 Thread Andrew M.A. Cater
On Wed, Sep 15, 2021 at 11:47:29AM -0500, Nick Gawronski wrote:
> Hi, I was going to see if the network installation image would work
> successfully to reinstall debian 11.00 with non-free firmware needed for my
> network cards.  When I ran the installer at low priority so everything would
> work as expected and so I would have full control of the installation when
> it got to the firmware loading it fails to load the firmware for any of my
> network cards when before on this same system in earlier versions of debian
> it worked just fine.  Attached is the syslog from the installer.  Can
> someone please tell me what is going on with this installation image?  Nick
> Gawronski

> Feb 25 15:44:03 cdrom-detect: Detected CD 'Debian GNU/Linux 11.0.0 "Bullseye" 
> - Unofficial amd64 NETINST with firmware 20210814-10:09'
> Feb 25 15:44:04 cdrom-detect: Detected CD with 'stable' (bullseye) 
> distribution

> Feb 25 15:44:42 kernel: [   87.728909] r8169 :03:00.0 eth0: 
> RTL8168evl/8111evl, e8:03:9a:1e:91:3f, XID 2c9, IRQ 38
> Feb 25 15:44:42 kernel: [   87.728911] r8169 :03:00.0 eth0: jumbo 
> features [frames: 9194 bytes, tx checksumming: ko]
> Feb 25 15:44:42 kernel: [   87.734463] r8169 :03:00.0 enp3s0: renamed 
> from eth0

> Feb 25 15:44:42 kernel: [   87.763346] platform regulatory.0: firmware: 
> direct-loading firmware regulatory.db.p7s
> Feb 25 15:44:42 kernel: [   87.777430] Intel(R) Wireless WiFi driver for Linux
> Feb 25 15:44:42 kernel: [   87.777615] iwlwifi :02:00.0: can't disable 
> ASPM; OS doesn't have ASPM control
> Feb 25 15:44:42 kernel: [   87.777956] iwlwifi :02:00.0: firmware: failed 
> to load iwlwifi-6000g2b-6.ucode (-2)
> Feb 25 15:44:42 kernel: [   87.777957] firmware_class: See 
> https://wiki.debian.org/Firmware for information about missing firmware
> Feb 25 15:44:42 kernel: [   87.777958] iwlwifi :02:00.0: Direct firmware 
> load for iwlwifi-6000g2b-6.ucode failed with error -2
> Feb 25 15:44:42 kernel: [   87.777969] iwlwifi :02:00.0: firmware: failed 
> to load iwlwifi-6000g2b-5.ucode (-2)
> Feb 25 15:44:42 kernel: [   87.777970] iwlwifi :02:00.0: Direct firmware 
> load for iwlwifi-6000g2b-5.ucode failed with error -2
> Feb 25 15:44:42 kernel: [   87.777971] iwlwifi :02:00.0: minimum version 
> required: iwlwifi-6000g2b-5
> Feb 25 15:44:42 kernel: [   87.777972] iwlwifi :02:00.0: maximum version 
> supported: iwlwifi-6000g2b-6
> Feb 25 15:44:42 kernel: [   87.777973] iwlwifi :02:00.0: check 
> git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

> Feb 25 15:44:56 kernel: [  101.131549] platform regulatory.0: firmware: 
> direct-loading firmware regulatory.db
> Feb 25 15:44:56 kernel: [  101.131561] platform regulatory.0: firmware: 
> direct-loading firmware regulatory.db.p7s
> Feb 25 15:44:56 kernel: [  101.144553] Intel(R) Wireless WiFi driver for Linux
> Feb 25 15:44:56 kernel: [  101.144743] iwlwifi :02:00.0: can't disable 
> ASPM; OS doesn't have ASPM control
> Feb 25 15:44:56 kernel: [  101.145478] iwlwifi :02:00.0: firmware: failed 
> to load iwlwifi-6000g2b-6.ucode (-2)
> Feb 25 15:44:56 kernel: [  101.145481] iwlwifi :02:00.0: Direct firmware 
> load for iwlwifi-6000g2b-6.ucode failed with error -2
> Feb 25 15:44:56 kernel: [  101.145496] iwlwifi :02:00.0: firmware: failed 
> to load iwlwifi-6000g2b-5.ucode (-2)
> Feb 25 15:44:56 kernel: [  101.145498] iwlwifi :02:00.0: Direct firmware 
> load for iwlwifi-6000g2b-5.ucode failed with error -2
> Feb 25 15:44:56 kernel: [  101.145500] iwlwifi :02:00.0: minimum version 
> required: iwlwifi-6000g2b-5
> Feb 25 15:44:56 kernel: [  101.145502] iwlwifi :02:00.0: maximum version 
> supported: iwlwifi-6000g2b-6
> Feb 25 15:44:56 kernel: [  101.145503] iwlwifi :02:00.0: check 
> git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
> Feb 25 15:44:57 check-missing-firmware: looking at dmesg again, restarting 
> from timestamp: [   87.777973]
> Feb 25 15:44:57 check-missing-firmware: timestamp found, truncating dmesg 
> accordingly
> Feb 25 15:44:57 check-missing-firmware: saving timestamp for a later use: [  
> 101.145503]
> Feb 25 15:44:57 check-missing-firmware: looking for firmware file 
> iwlwifi-6000g2b-6.ucode requested by iwlwifi
> Feb 25 15:44:57 check-missing-firmware: looking for firmware file 
> iwlwifi-6000g2b-5.ucode requested by iwlwifi
> Feb 25 15:44:57 check-missing-firmware: missing firmware files 
> (iwlwifi-6000g2b-6.ucode iwlwifi-6000g2b-5.ucode) for iwlwifi
> Feb 25 15:45:36 kernel: [  141.144918] usb 3-1.2: USB disconnect, device 
> number 3
> Feb 25 15:45:36 kernel: [  141.162899] sd 6:0:0:0: [sdc] Synchronizing SCSI 
> cache
> Feb 25 15:45:36 kernel: [  141.162956] sd 6:0:0:0: [sdc] Synchronize 
> Cache(10) failed: Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
> Feb 25 15:47:44 init: starting pid 590, tty '/dev/tty2': '-/bin/sh'
> Feb 25 15:48:09 kernel: [  294.275973] EXT4-fs (sda1): rec

Bug#994409: task-laptop: please recommend automatic apt proxying

2021-09-15 Thread Phil Morrell
Package: task-laptop
Version: 3.53
Severity: wishlist

I'm not sure on the difference between auto-apt-proxy and
squid-deb-proxy-client. Avahi is already pulled in by task-laptop.


On Fri, Sep 10, 2021 at 09:33:56AM +0200, Helmut Grohne wrote:
> On Wed, Sep 08, 2021 at 07:12:18PM -0400, Michael Stone wrote:
> > Why not simply automate setting it at install time using preseed? I'm
> > honestly not sure who the target audience for auto-apt-proxy is
> 
> Laptops of end-user systems are the target, but also developers. When
> people gather at a place (conference, hackspace, private meetup, etc.)
> downloading of .debs should just work quickly by default. Many such
> sites could easily provide a local cache and a number even do. BSPs tend
> to have a blackboard with information including the local mirror to use.
> Seriously, how many people change their mirror when they go to a BSP? If
> we installed auto-apt-proxy by default, much of the local caching would
> just work.



-- System Information:
Debian Release: 10.10
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-debug'), (500, 
'oldstable'), (100, 'buster-fasttrack'), (100, 'buster-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-17-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_CRAP, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages task-laptop depends on:
ii  anacron  2.3-28
ii  tasksel  3.53

Versions of packages task-laptop recommends:
ii  avahi-autoipd   0.7-4+deb10u1
ii  bluetooth   5.50-1.2~deb10u2
ii  iw  5.0.1-1
ii  powertop2.8-1+b2
ii  wireless-tools  30~pre9-13
ii  wpasupplicant   2:2.7+git20190128+0c1e29f-6+deb10u3

task-laptop suggests no packages.

-- no debconf information


signature.asc
Description: PGP signature


not loading non-free firmware in 11.00 network installation debian-installer

2021-09-15 Thread Nick Gawronski
Hi, I was going to see if the network installation image would work 
successfully to reinstall debian 11.00 with non-free firmware needed for 
my network cards.  When I ran the installer at low priority so everything 
would work as expected and so I would have full control of the 
installation when it got to the firmware loading it fails to load the 
firmware for any of my network cards when before on this same system in 
earlier versions of debian it worked just fine.  Attached is the syslog 
from the installer.  Can someone please tell me what is going on with this 
installation image?  Nick GawronskiFeb 25 15:43:19 syslogd started: BusyBox v1.30.1
Feb 25 15:43:19 kernel: klogd started: BusyBox v1.30.1 (Debian 1:1.30.1-6+b3)
Feb 25 15:43:19 kernel: [0.00] Linux version 5.10.0-8-amd64 
(debian-ker...@lists.debian.org) (gcc-10 (Debian 10.2.1-6) 10.2.1 20210110, GNU 
ld (GNU Binutils for Debian) 2.35.2) #1 SMP Debian 5.10.46-3 (2021-07-28)
Feb 25 15:43:19 kernel: [0.00] Command line: 
BOOT_IMAGE=/install.amd/vmlinuz vga=788 initrd=/install.amd/gtk/initrd.gz 
speakup.synth=soft --- quiet 
Feb 25 15:43:19 kernel: [0.00] Disabled fast string operations
Feb 25 15:43:19 kernel: [0.00] x86/fpu: Supporting XSAVE feature 0x001: 
'x87 floating point registers'
Feb 25 15:43:19 kernel: [0.00] x86/fpu: Supporting XSAVE feature 0x002: 
'SSE registers'
Feb 25 15:43:19 kernel: [0.00] x86/fpu: Supporting XSAVE feature 0x004: 
'AVX registers'
Feb 25 15:43:19 kernel: [0.00] x86/fpu: xstate_offset[2]:  576, 
xstate_sizes[2]:  256
Feb 25 15:43:19 kernel: [0.00] x86/fpu: Enabled xstate features 0x7, 
context size is 832 bytes, using 'standard' format.
Feb 25 15:43:19 kernel: [0.00] BIOS-provided physical RAM map:
Feb 25 15:43:19 kernel: [0.00] BIOS-e820: [mem 
0x-0x0009d7ff] usable
Feb 25 15:43:19 kernel: [0.00] BIOS-e820: [mem 
0x0009d800-0x0009] reserved
Feb 25 15:43:19 kernel: [0.00] BIOS-e820: [mem 
0x000e-0x000f] reserved
Feb 25 15:43:19 kernel: [0.00] BIOS-e820: [mem 
0x0010-0x9abeefff] usable
Feb 25 15:43:19 kernel: [0.00] BIOS-e820: [mem 
0x9abef000-0x9aeeefff] reserved
Feb 25 15:43:19 kernel: [0.00] BIOS-e820: [mem 
0x9aeef000-0x9af9efff] ACPI NVS
Feb 25 15:43:19 kernel: [0.00] BIOS-e820: [mem 
0x9af9f000-0x9affefff] ACPI data
Feb 25 15:43:19 kernel: [0.00] BIOS-e820: [mem 
0x9afff000-0x9aff] usable
Feb 25 15:43:19 kernel: [0.00] BIOS-e820: [mem 
0x9b00-0x9f9f] reserved
Feb 25 15:43:19 kernel: [0.00] BIOS-e820: [mem 
0xf800-0xfbff] reserved
Feb 25 15:43:19 kernel: [0.00] BIOS-e820: [mem 
0xfec0-0xfec00fff] reserved
Feb 25 15:43:19 kernel: [0.00] BIOS-e820: [mem 
0xfed08000-0xfed08fff] reserved
Feb 25 15:43:19 kernel: [0.00] BIOS-e820: [mem 
0xfed1-0xfed19fff] reserved
Feb 25 15:43:19 kernel: [0.00] BIOS-e820: [mem 
0xfed1c000-0xfed1] reserved
Feb 25 15:43:19 kernel: [0.00] BIOS-e820: [mem 
0xfee0-0xfee00fff] reserved
Feb 25 15:43:19 kernel: [0.00] BIOS-e820: [mem 
0xffd8-0x] reserved
Feb 25 15:43:19 kernel: [0.00] BIOS-e820: [mem 
0x0001-0x00025fdf] usable
Feb 25 15:43:19 kernel: [0.00] NX (Execute Disable) protection: active
Feb 25 15:43:19 kernel: [0.00] SMBIOS 2.6 present.
Feb 25 15:43:19 kernel: [0.00] DMI: SAMSUNG ELECTRONICS CO., LTD. 
700Z3A/700Z4A/700Z5A/700Z5B/700Z3A/700Z4A/700Z5A/700Z5B, BIOS 10FD 11/21/2011
Feb 25 15:43:19 kernel: [0.00] tsc: Fast TSC calibration using PIT
Feb 25 15:43:19 kernel: [0.00] tsc: Detected 2194.756 MHz processor
Feb 25 15:43:19 kernel: [0.000871] e820: update [mem 0x-0x0fff] 
usable ==> reserved
Feb 25 15:43:19 kernel: [0.000874] e820: remove [mem 0x000a-0x000f] 
usable
Feb 25 15:43:19 kernel: [0.000882] last_pfn = 0x25fe00 max_arch_pfn = 
0x4
Feb 25 15:43:19 kernel: [0.000887] MTRR default type: uncachable
Feb 25 15:43:19 kernel: [0.000888] MTRR fixed ranges enabled:
Feb 25 15:43:19 kernel: [0.000890]   0-9 write-back
Feb 25 15:43:19 kernel: [0.000891]   A-B uncachable
Feb 25 15:43:19 kernel: [0.000892]   C-F write-protect
Feb 25 15:43:19 kernel: [0.000893] MTRR variable ranges enabled:
Feb 25 15:43:19 kernel: [0.000895]   0 base 0FFC0 mask FFFC0 
write-protect
Feb 25 15:43:19 kernel: [0.000896]   1 base 0 mask F8000 
write-back
Feb 25 15:43:19 kernel: [0.000897]   2 base 08000 mask FE000 
write-back
Feb 25 15:43:19 kernel: [0.000898]   3 base 09C00 mask FFC