[Bug 265825] Updating EFI boot loader results in boot hangup

2022-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265825

--- Comment #1 from Yasuhiro Kimura  ---
According the result of bisect the problem happens with base c32dde31669 and
later.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 263632] framework laptop crashes a few seconds after resuming from sleep

2022-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263632

--- Comment #19 from Graham Perrin  ---
(In reply to Jonathan Vasquez from comment #18)

> … iwlwifi … causing the crash to happen on resume. …

Triage: component: kern, should be wireless. 


(In reply to Jonathan Vasquez from comment #17)

> … now:
> 
> FreeBSD 13.1-STABLE #1 stable/13-n250869-2430388070f: Tue May 17 11:51:35 EDT 
> 2022 root@leslie:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64

– 

Please try a more recent STABLE. 

Bug 263613 comment 14 is notable. 

bz@ any other thought? TIA

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 263632] framework laptop crashes a few seconds after resuming from sleep

2022-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263632

--- Comment #20 from Graham Perrin  ---
(In reply to Graham Perrin from comment #19)

> Please try a more recent STABLE. 

For clarity: this should be with an installation of graphics/drm-510-kmod that
is built after updating the OS (plus a restart of the OS, for the module to
become effective). 


(In reply to Jonathan Vasquez from comment #16)

I wonder whether you have, or had, a combination of bugs, not all of which
relate to iwlwifi …

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 263632] framework laptop crashes a few seconds after resuming from sleep

2022-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263632

--- Comment #21 from Jonathan Vasquez  ---
Hey Graham,

I've been upgrading my system on 13.1-STABLE (including using the latest
drm-510-kmod from ports) the last few months and the issue still occurs. My
current build is stable/13-n252072-1243360b1a0/GENERIC.

- Jonathan

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 263632] framework laptop crashes a few seconds after resuming from sleep

2022-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263632

--- Comment #22 from Jonathan Vasquez  ---
Also to clarify, after I disabled iwlwifi, I can use sleep/resume fine. I'm
using "wifibox" in the meantime to get wireless internet.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 265834] loader.efi(8) should mention uefi(8) and vice versa; loader(8) should mention loader.efi(8) and vice versa …

2022-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265834

Bug ID: 265834
   Summary: loader.efi(8) should mention uefi(8) and vice versa;
loader(8) should mention loader.efi(8) and vice versa
…
   Product: Documentation
   Version: Latest
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Many People
  Priority: ---
 Component: Manual Pages
  Assignee: b...@freebsd.org
  Reporter: grahamper...@gmail.com
CC: d...@freebsd.org

loader(8) 


* does not mention loader.efi(8)


loader.efi(8) 


* does not mention loader(8) or uefi(8)


uefi(8) 


* mentions loader.efi but not loader.efi(8)

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 263632] [iwlwifi] framework laptop crashes a few seconds after resuming from sleep

2022-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263632

Bjoern A. Zeeb  changed:

   What|Removed |Added

Summary|framework laptop crashes a  |[iwlwifi] framework laptop
   |few seconds after resuming  |crashes a few seconds after
   |from sleep  |resuming from sleep
   Assignee|b...@freebsd.org|b...@freebsd.org

--- Comment #23 from Bjoern A. Zeeb  ---
I'll take it and try to have a look the next weeks.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 265794] Get mrsasutil into base

2022-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265794

--- Comment #1 from Dan Mahoney  ---
The linked patch causes the mfiutil binary to also gain features that work on
mrsas drives, but they require a binary named mrsasutil.

It works on my dell R430, where the onboard PERC is shown thusly:

da0:  Fixed Direct Access SPC-3 SCSI device
da1:  Fixed Direct Access SPC-3 SCSI device

root@console6b:/usr/ports/ports-mgmt/portupgrade # mrsasutil show volumes
mrsas0 Volumes:
  Id SizeLevel   Stripe  State   Cache   Name
 0 (  931G) RAID-1  64K OPTIMAL Disabled
 1 ( 1863G) RAID-1  64K OPTIMAL Disabled 
root@console6b:/usr/ports/ports-mgmt/portupgrade # mrsasutil show drives
mrsas0 Physical Drives:
 0 (  932G) ONLINE  SATA E1:S0
 1 (  932G) ONLINE  SATA E1:S1
 2 ( 1863G) ONLINE  SATA E1:S2
 3 ( 1863G) ONLINE  SATA E1:S3
root@console6b:/usr/ports/ports-mgmt/portupgrade #

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 265825] Updating EFI boot loader results in boot hangup

2022-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265825

--- Comment #2 from Graham Perrin  ---
Created attachment 235907
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=235907&action=edit
Photograph: main-n257332-3179bb273749 with GELI encryption

Somewhat different from (a)

(comment #0) and (b) Stefan Eßer's photograph at
: 

> …
> Attempt to find boot zone recovery data: failed
> Attempted recovery for standard superblock: failed
> Attempted extraction of recovery data from standard superblock: failed
> …

– and so on. 

GELI encryption. 

>From after the subsequent successful boot: 

% lsblk
DEVICE MAJ:MIN SIZE TYPE LABEL MOUNT
ada0 0:119 932G GPT  - -
  ada0p1 0:121 260M efi   gpt/efiboot0 -
   -:-   1.0M -- -
  ada0p2 0:123  16G freebsd-swap gpt/swap0 SWAP
  ada0p2.eli 2:40   16G freebsd-swap - SWAP
  ada0p3 0:125 915G freebsd-zfs   gpt/zfs0 
  ada0p3.eli 0:132 915G -- -
   -:-   708K -- -
da0  0:148  14G GPT  - -
   -:-   1.0M -- -
  da0p1  0:149  14G freebsd-zfs  gpt/cache3-august 
   -:-   1.0M -- -
da1  0:191 466G GPT  - -
   -:-   1.0M -- -
  da1p1  0:192 466G freebsd-zfs  gpt/Transcend 
da2  0:193  29G GPT  - -
   -:-   1.0M -- -
  da2p1  0:197  29G freebsd-zfs   gpt/cache-august 
da3  0:204  14G GPT  - -
   -:-   1.0M -- -
  da3p1  0:205  14G freebsd-zfs  gpt/cache2-august 
   -:-   1.0M -- -
% date ; uname -aKU
Sun 14 Aug 2022 16:16:29 BST
FreeBSD mowa219-gjp4-8570p-freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT #18
main-n257332-3179bb273749: Sun Aug 14 09:01:52 BST 2022
grahamperrin@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG
amd64 1400065 1400065
% 

That is,  from
around twenty hours ago. 

(I set aside a copy of a working bootx64.efi before producing this.)

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 265808] freebsd-version(1) grammar

2022-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265808

Li-Wen Hsu  changed:

   What|Removed |Added

 Status|New |Open
   Assignee|b...@freebsd.org|grahamper...@freebsd.org
 CC||carlavi...@freebsd.org,
   ||g...@freebsd.org,
   ||lw...@freebsd.org

--- Comment #1 from Li-Wen Hsu  ---
Please feel free to work with your mentor to update
src/bin/freebsd-version/freebsd-version.1 .

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 265834] loader.efi(8) should mention uefi(8) and vice versa; loader(8) should mention loader.efi(8) and vice versa …

2022-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265834

Li-Wen Hsu  changed:

   What|Removed |Added

 CC||carlavi...@freebsd.org,
   ||g...@freebsd.org,
   ||lw...@freebsd.org
   Assignee|b...@freebsd.org|grahamper...@freebsd.org
 Status|New |Open

--- Comment #1 from Li-Wen Hsu  ---
Please feel free to work with your mentor to update those manual pages, doc
committers are encouraged to work on the doc parts in the src repo.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 265844] current AMD video card drivers are unreliable

2022-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265844

Bug ID: 265844
   Summary: current AMD video card drivers are unreliable
   Product: Base System
   Version: 13.1-RELEASE
  Hardware: amd64
OS: Any
Status: New
  Severity: Affects Many People
  Priority: ---
 Component: misc
  Assignee: b...@freebsd.org
  Reporter: diyan.pav...@libero.it

I don't want to write a second bug report about the same motive.

The provided "amdgpu" and "radeon" drivers have a very high chance of freezing 
the system as soon as they are loaded into the Kernel, that can occur
at either loading the modules at boot or after, or at any other time.

info:
Freebsd 13.1 Release AMD64,
Gigabyte Z77MD3H motherboard (AMI bios)
Intel i7-2600; AMD R7 265 "Pitcairn" or HD 7850

Step to reproduce the problem:

1.  XOrg and a graphic environment must be installed.
2.  XOrg is set to use either AMDGPU or RADEON driver.
  as soon as startx is ran, the system freezes

(Alternatively)

Loading kernel modules manually, without necessarily any graphics SW installed.
console: 
1a. #kldload amdgpu 
or 
1b. #kldload radeonkms
 as soon as kldload is ran, the system freezes.

related packages and files:
drm-kmod, radeonkms, pitcairn firmware, amdgpu.

note1: I have used Freebsd with versions of the drivers prior to JAN 2022 and 
I did not experience the following issues.

note2: Sometimes the mentioned drivers will or will not load into kernel, 
at a random success rate and time.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 265844] current AMD video card drivers are unreliable

2022-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265844

Graham Perrin  changed:

   What|Removed |Added

 CC||grahamper...@gmail.com

--- Comment #1 from Graham Perrin  ---
(In reply to d.a.pavlov from comment #0)

> The provided "amdgpu" and "radeon" drivers

pkg info -x kmod

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 265844] current AMD video card drivers are unreliable

2022-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265844

--- Comment #2 from d.a.pavlov  ---
(In reply to Graham Perrin from comment #1)

drm-fbsd13-kmod-5.4.191.g20220604_1
drm-kmod-20220501
gpu-firmware-amd-kmod-pitcairn-20220511
gpu-firmware-radeon-kmod-pitcairn-20220511

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 265844] current AMD video card drivers are unreliable

2022-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265844

--- Comment #3 from Graham Perrin  ---
(In reply to d.a.pavlov from comment #0)

> I don't want to write a second bug report 

Is the first report at ?

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 265844] current AMD video card drivers are unreliable

2022-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265844

--- Comment #4 from d.a.pavlov  ---
(In reply to Graham Perrin from comment #3)
no, I wrote and closed a previous report on bugs.freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 265844] current AMD video card drivers are unreliable

2022-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265844

--- Comment #5 from Graham Perrin  ---
(In reply to d.a.pavlov from comment #2)

Thanks. Have you tried graphics/drm-510-kmod? 

Populate /usr/ports and /usr/src then remove drm-kmod (and drm-fbsd13-kmod) and

cd /usr/ports/graphics/drm-510-kmod/ && make install clean



-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 265844] current AMD video card drivers are unreliable

2022-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265844

--- Comment #6 from d.a.pavlov  ---
(In reply to Graham Perrin from comment #5)
this will take me some time to setup ports and compile, I'll reply when
done.

-- 
You are receiving this mail because:
You are the assignee for the bug.


Problem reports for b...@freebsd.org that need special attention

2022-08-14 Thread bugzilla-noreply
To view an individual PR, use:
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id).

The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status  |Bug Id | Description
+---+---
New |197876 | [devfs] an error in devfs leads to data loss and  
New |198797 | [PATCH] Added an option to install BSDstats to bs 
New |202362 | ntp: restore refclocks selection (10.2-RELEASE re 
New |202740 | vi/ex string substitution problem when there is m 
New |204097 | witness_initialize() does not perform bound check 
New |206336 | [patch] usr.sbin/freebsd-update allow proxy confi 
New |209213 | UEFI Loader shows only black screen with Nvidia G 
New |210804 | installerconfig - using ZFS create in custom scri 
New |223470 | freebsd-update: Cannot identify running kernel (/ 
New |230620 | "install -d" issue
New |235085 | [PATCH] Option to make rc.d/sysctl more verbose ( 
New |252123 | fetch(3): Fix wrong usage of proxy when request i 
Open|177821 | sysctl: Some security.jail nodes are funky, dupli 
Open|182466 | [headers] [patch] make  self-contained  
Open|183618 | [panic] Dell PowerEdge R620 -- PERC H710 Mini (mf 
Open|187015 | agpgart: Panic make_dev_credv: bad si_name (error 
Open|192573 | Add ps(1) option: Print process start time in sec 
Open|194925 | [pf] [ifconfig] interface group keywords do not w 
Open|197921 | scheduler: Allow non-migratable threads to bind t 
Open|206528 | Emulex LPe 16002 FC HBA Not Recognized by oce(4)  
Open|206649 | cyapa(4): Add common gestures for Cypress APA I2C 
Open|207940 | stand/efi/boot1: Add boot partition selection 
Open|212608 | sockstat(1) and lsof(8) can not identity the owne 
Open|220246 | syslogd does not send RFC3164-conformant messages 
Open|221305 | Mouse cursor loss when moving cursor while loadin 
Open|221550 | kern.bootfile returns only /kernel on mips64 (ERL 
Open|221854 | makefs: Reject UFS labels that are too long to fi 
Open|226893 | freebsd-update: Support patchlevel argument for f 
Open|231810 | [build] release always fails with "mkimg: partiti 
Open|233578 | Unprivileged local user can prevent other users l 
Open|233988 | freebsd-update: Improve progress output on termin 
Open|236718 | system panics with message: vm_fault_hold: fault  
Open|237287 | moused(8) ignores button release events in virtua 
Open|237924 | Possible infinite loop in function empty_aux_buff 
Open|238183 | cam/scsi/scsi_sa.c: warnings issued by static ana 
Open|238486 | Possible buffer overflow bug in sc_allocate_keybo 
Open|238550 | Touchpad (via SMBus) not working: Synaptics (SYN1 
Open|238638 | mfi: Remove unnecessary pointer printing in mfi.c 
Open|238837 | init: Remove P_SYSTEM flag from PID 1 to allow ea 
Open|241697 | i915kms: Kernel panic loading module on custom ke 
Open|247132 | Fix build error: use of undeclared identifier 'cp 
Open|248352 | mfi(4): Remove RAID map sync functionality
Open|257149 | CFLAGS not passed to whole build  
New |260138 | TPM2 Support in bootloader / kernel in order to r 
New |261306 | Geli rc.d script does not support insertion of US 
New |262957 | mpr(4), mps(4): change formally to formerly   
Open|179832 | manual page of mac_from_text suggests incorrect f 

47 problems total for which you should take action.


[Bug 265844] current AMD video card drivers are unreliable

2022-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265844

--- Comment #7 from d.a.pavlov  ---
(In reply to Graham Perrin from comment #5)
I can't compile it at the moment, I installed drm-54-kmod pkg and it's the same

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 264709] Inappropriate ioctl for /dev/cd0 after upgrade 13.0 -> 13.1

2022-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264709

mgro...@shrew.net changed:

   What|Removed |Added

 CC||mgro...@shrew.net

--- Comment #4 from mgro...@shrew.net ---
Same issue here ...

mgrooms@desktop:~ $ freac
Property "/Xft/DPI" does not exist on channel "xsettings".
++ WARN: open: Inappropriate ioctl for device

mgrooms@desktop:~ $ freebsd-version
13.1-RELEASE-p1

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 265849] makefs regression test triggers ZFS assertion failure

2022-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265849

Bug ID: 265849
   Summary: makefs regression test triggers ZFS assertion failure
   Product: Base System
   Version: CURRENT
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Some People
  Priority: ---
 Component: bin
  Assignee: b...@freebsd.org
  Reporter: ma...@freebsd.org

When running tests on the latest main, I get:

makefs_zfs_tests:autoexpand  ->  passed  [0.924s]   
makefs_zfs_tests:basic  ->  passed  [0.199s]
makefs_zfs_tests:dataset_removal  ->  passed  [0.147s]  
makefs_zfs_tests:empty_dir  ->  passed  [0.117s]
makefs_zfs_tests:empty_fs  ->  passed  [0.113s] 
makefs_zfs_tests:file_sizes  ->  passed  [0.164s]   
makefs_zfs_tests:hard_links  ->  passed  [0.176s]   
makefs_zfs_tests:indirect_dnode_array  ->  passed  [0.260s] 
makefs_zfs_tests:long_file_name  ->  passed  [0.272s]   
makefs_zfs_tests:multi_dataset_1  ->  passed  [0.158s]  
makefs_zfs_tests:multi_dataset_2  ->  passed  [0.121s]  
makefs_zfs_tests:multi_dataset_3  ->  passed  [0.136s]  
makefs_zfs_tests:multi_dataset_4  ->  passed  [0.159s]  
makefs_zfs_tests:reproducible  ->  passed  [2.149s] 
makefs_zfs_tests:root_props  ->  passed  [0.221s]   
makefs_zfs_tests:snapshot  ->  panic: VERIFY(compressed >= 0 ||
ddp->dd_compressed_bytes >= -compressed) failed   

cpuid = 1   
time = 1660527088   
KDB: stack backtrace:   
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfe0063bc99b0  
vpanic() at vpanic+0x151/frame 0xfe0063bc9a00   
spl_panic() at spl_panic+0x3a/frame 0xfe0063bc9a60  
dsl_dir_diduse_transfer_space() at dsl_dir_diduse_transfer_space+0x351/frame
0xfe0063bc9ae0   
dsl_dir_diduse_space() at dsl_dir_diduse_space+0x1b7/frame 0xfe0063bc9b70   
dsl_pool_sync() at dsl_pool_sync+0x464/frame 0xfe0063bc9bf0 
spa_sync() at spa_sync+0xfe1/frame 0xfe0063bc9e20   
txg_sync_thread() at txg_sync_thread+0x35b/frame 0xfe0063bc9ef0 
fork_exit() at fork_exit+0x80/frame 0xfe0063bc9f30  
fork_trampoline() at fork_trampoline+0xe/frame 0xfe0063bc9f30   
--- trap 0xc, rip = 0x2b61e877bca, rsp = 0x2b6311c3f48, rbp = 0x2b6311c3f60 --- 
KDB: enter: panic   
[ thread pid 3152 tid 102127 ]  
Stopped at  kdb_enter+0x32: movq$0,0x127a023(%rip)

This seems to have started after the latest OpenZFS import.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 265849] makefs regression test triggers ZFS assertion failure

2022-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265849

Mark Johnston  changed:

   What|Removed |Added

   Assignee|b...@freebsd.org|ma...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 233098] can not find lua loader

2022-08-14 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233098

kear...@gmail.com changed:

   What|Removed |Added

 CC||kear...@gmail.com

--- Comment #7 from kear...@gmail.com ---
(In reply to Mark Murray from comment #6)
Same for derivatives like pfSense CE 2.6.0

WORKAROUND:

To fix boot error "cannot open /boot/lua/loader.lua" for FreeBSD 12.3 + pfSense
CE 2.6.0, in Parallels Desktop 18, enable EFI in boot flags:

Shutdown VM > edit configuration > Hardware > Boot Order > click "Advanced"
button > in boot flags, add `vm.bios.efi=1`.

-- 
You are receiving this mail because:
You are the assignee for the bug.