[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Raspi 2 Bookworm hang on first boot, Raspi 1,3 Trixie Make error?




I would appreciate any pointers towards fixes for these issues.

Issue 1: Bookworm raspi 2 image was flashed onto SD card and booted. IIRC it was the June tested version. First boot was left running nearly 24 hours, but never gave a command prompt. After power cycling, the raspi2 gave a prompt and worked OK except the SD card was only partly available.

As Testing is the target distribution for raspis 1-4, and issues have been seen with the Bookworm images, it was decided to try Rolling your own Trixie images.[1]

Minor docs issue: On a relatively fresh install of Trixie on amd64, git and make needed installed, in addition to packages listed at [2], which is linked from Rolling your own Installation...[1]

Issue 2: Default image creation for raspi 1 and 3 gave the following error and traceback. raspi_2 and 4 completed OK, but have not been burned or tested yet. The steps in Option 2: Building your own image [2] were followed.

Issue 3: The make process took about 1 to 1.5 hours for each raspi_N on an old laptop, and the time to download packages may be slowing it down. How can the packages be downloaded and saved for re-use to speed things up?

Log excerpt with error and traceback, raspi_3 was identical except date, time, and naming:

Date Time INFO Calling <bound method KpartxStepRunner.teardown of <kpartx_plugin.KpartxStepRunner object at locationa>>
Date Time INFO Exec: ['kpartx', '-dsv', 'raspi_1_trixie.img']
Date Time DEBUG STDOUT: del devmap : loop0p1
loop0p2 is in use. Not removing

Date Time DEBUG STDERR: loop deleted : /dev/loop0

... <snip>
Date Time ERROR Program failed: 1
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/vmdb/app.py", line 243, in run_steps_helper
    method(values, settings, state)
File "/usr/lib/python3/dist-packages/vmdb/plugins/kpartx_plugin.py", line 51, in teardown
    vmdb.runcmd(["kpartx", "-dsv", device])
File "/usr/lib/python3/dist-packages/vmdb/runcmd.py", line 58, in runcmd
    raise RuncmdError("Program failed: {}".format(p.returncode))
vmdb.runcmd.RuncmdError: Program failed: 1
Date Time ERROR RuncmdError('Program failed: 1')
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/vmdb/app.py", line 243, in run_steps_helper
    method(values, settings, state)
File "/usr/lib/python3/dist-packages/vmdb/plugins/kpartx_plugin.py", line 51, in teardown
    vmdb.runcmd(["kpartx", "-dsv", device])
File "/usr/lib/python3/dist-packages/vmdb/runcmd.py", line 58, in runcmd
    raise RuncmdError("Program failed: {}".format(p.returncode))
vmdb.runcmd.RuncmdError: Program failed: 1
Date Time INFO Running teardown: {'mkpart': 'primary', 'device': 'raspi_1_trixie.img', 'start': '512MiB', 'end': '100%', 'tag': 'tag-root'} Date Time INFO Calling <bound method StepRunnerInterface.teardown of <mkpart_plugin.MkpartStepRunner object at locationb>> Date Time INFO Running teardown: {'mkpart': 'primary', 'fs-type': 'fat32', 'device': 'raspi_1_trixie.img', 'start': '4MiB', 'end': '512MiB', 'tag': 'tag-firmware'}
... <snip>

Thanks for any tips or suggestions.

[1] https://wiki.debian.org/RaspberryPiImages

[2] https://salsa.debian.org/raspi-team/image-specs


Reply to: