Bug 245624

Summary: www/chromium: kernel: WARNING (chrome): ioctl sign-extension ioctl ffffffff80045612
Product: Ports & Packages Reporter: Marcin Cieślak <saper>
Component: Individual Port(s)Assignee: freebsd-chromium (Nobody) <chromium>
Status: Open ---    
Severity: Affects Only Me CC: emaste, hselasky, mikael, samy.mahmoudi
Priority: --- Keywords: needs-qa
Version: LatestFlags: bugzilla: maintainer-feedback? (chromium)
samy.mahmoudi: maintainer-feedback+
koobs: maintainer-feedback? (hselasky)
Hardware: Any   
OS: Any   
Bug Depends on: 250126    
Bug Blocks:    

Description Marcin Cieślak 2020-04-14 22:43:39 UTC
chromium-80.0.3987.163_1
FreeBSD 11.3-STABLE #0 r356413: Mon Jan  6 23:59:20 CET 2020

> grep sign-extension /var/log/messages | awk ' { print $5, $6, $9, $10, $11, $12, $13, $14 } ' | sort -u
kernel: WARNING (chrome): ioctl sign-extension ioctl ffffffff80045612 
kernel: WARNING (chrome): ioctl sign-extension ioctl ffffffff80045613 
kernel: WARNING (chrome): ioctl sign-extension ioctl ffffffffc008561b 
kernel: WARNING (chrome): ioctl sign-extension ioctl ffffffffc008561c 
kernel: WARNING (chrome): ioctl sign-extension ioctl ffffffffc0145608 
kernel: WARNING (chrome): ioctl sign-extension ioctl ffffffffc0205648 
kernel: WARNING (chrome): ioctl sign-extension ioctl ffffffffc02c564a 
kernel: WARNING (chrome): ioctl sign-extension ioctl ffffffffc034564b 
kernel: WARNING (chrome): ioctl sign-extension ioctl ffffffffc0405602 
kernel: WARNING (chrome): ioctl sign-extension ioctl ffffffffc0445624 
kernel: WARNING (chrome): ioctl sign-extension ioctl ffffffffc0585609 
kernel: WARNING (chrome): ioctl sign-extension ioctl ffffffffc058560f 
kernel: WARNING (chrome): ioctl sign-extension ioctl ffffffffc0585611 
kernel: WARNING (chrome): ioctl sign-extension ioctl ffffffffc0cc5615 
kernel: WARNING (chrome): ioctl sign-extension ioctl ffffffffc0cc5616 
kernel: WARNING (chrome): ioctl sign-extension ioctl ffffffffc0d05605 


Trying to participate in a Zoom teleconference with "computer audio".
The microphone is detected but no audio can be heard on the other side, maybe those warnings are related.
Comment 1 Mikael Urankar freebsd_committer freebsd_triage 2020-11-02 17:44:53 UTC
probably fixed in base r359968
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2021-09-24 03:36:51 UTC
@Samy How does this depend on bug 250126
Comment 3 Kubilay Kocak freebsd_committer freebsd_triage 2021-09-24 03:37:57 UTC
(In reply to Mikael Urankar from comment #1)

@hselasky Is there something the www/chromium port can do in the meantime to address the warning?
Comment 4 Hans Petter Selasky freebsd_committer freebsd_triage 2021-09-24 07:32:55 UTC
I think chromium uses its own IOCTL definitions. You'll need to find those and change them to use unsigned integer format.

BTW: The kernel warning is harmless, because the kernel will always cast the cmd argument to 32-bit.

It should not affect audio.

Try to install "sndio" and run "service sndiod onestart" if there is no audio in chrome.

--HPS
Comment 5 Samy Mahmoudi 2022-09-05 02:18:49 UTC
(In reply to Kubilay Kocak from comment #2)

Hi all,

@Kubilay Kocak Without much knowledge and before base r359968 I thought I would attempt to debug this by my own. Then I got blocked by the issue of bug 250126.

I now realize that more knowledgeable people can resolve this issue irrespective of bug 250126: I had no intention to be egocentric :-)