Re: WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD 13.0.
Warner Losh imp at bsdimp.com wrote on Sat Jan 16 00:22:51 UTC 2021 : > On Fri, Jan 15, 2021 at 1:03 PM Hartmann, O. > wrote: > > > Running FreeBSD CURRENT on a USB only platform with a customised kernel, I > > see this > > message all the time I reboot or log console messages: > > > > [...] > > WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD > > 13.0. > > > > Where does this message come from and what is causing the warning? I tried > > to identify > > and eliminate this message, but it seems to be stuck with the USB > > device/keyboard > > attached to the system. > > > > Any hint? > > > > to eliminate the message, kbd needs to be rewritten to not use giant. > > It will not be deleted before 13. I'll change the message to 14. Other examples for the general type of question . . . For example, various aarch64, armv7, and powerpc*: WARNING: Device "openfirm" is Giant locked and may be deleted before FreeBSD 13.0. RPi4B and RPi3B: WARNING: Device "fb" is Giant locked and may be deleted before FreeBSD 13.0. powerpc (old PowerMac G4): WARNING: Device "agp" is Giant locked and may be deleted before FreeBSD 13.0. WARNING: Device "consolectl" is Giant locked and may be deleted before FreeBSD 13.0. Note: FreeBSD has boot problems for various powerpc64 and 32-bit powerpc PowerMacs, so some material is from somewhat older vintages of 13. (I've not looked at the old PowerMac G3 at all for this.) === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD 13.0.
From: Mark Millard Subject: Re: WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD 13.0. Date: Fri, 15 Jan 2021 16:54:26 -0800 > Other examples for the general type of question . . . > > > For example, various aarch64, armv7, and powerpc*: > > WARNING: Device "openfirm" is Giant locked and may be deleted before > FreeBSD 13.0. > > > RPi4B and RPi3B: > > WARNING: Device "fb" is Giant locked and may be deleted before FreeBSD 13.0. > > > powerpc (old PowerMac G4): > > WARNING: Device "agp" is Giant locked and may be deleted before FreeBSD > 13.0. > > WARNING: Device "consolectl" is Giant locked and may be deleted before > FreeBSD 13.0. > > > Note: FreeBSD has boot problems for various powerpc64 and 32-bit > powerpc PowerMacs, so some material is from somewhat older vintages > of 13. (I've not looked at the old PowerMac G3 at all for this.) Following files are the source of this warning messages. yasu@rolling-vm-freebsd1[1009]% git grep -F D_NEEDGIANT sys/cam/scsi/scsi_target.c: .d_flags = D_NEEDGIANT, sys/contrib/ipfilter/netinet/mlfk_ipl.c:.d_flags = 0, /* D_NEEDGIANT - Should be SMP safe */ sys/dev/adlink/adlink.c:.d_flags = D_NEEDGIANT, sys/dev/agp/agp.c: .d_flags = D_NEEDGIANT, sys/dev/amr/amr.c: .d_flags = D_NEEDGIANT, sys/dev/atkbdc/psm.c: .d_flags = D_NEEDGIANT, sys/dev/ce/if_ce.c: .d_flags= D_NEEDGIANT, sys/dev/fb/fb.c:.d_flags = D_NEEDGIANT, sys/dev/fb/fbd.c: .d_flags = D_NEEDGIANT, sys/dev/kbd/kbd.c: .d_flags = D_NEEDGIANT, sys/dev/ofw/openfirmio.c: .d_flags = D_NEEDGIANT, sys/dev/ofw/openpromio.c: .d_flags = D_NEEDGIANT, sys/dev/pbio/pbio.c:.d_flags = D_NEEDGIANT, sys/dev/speaker/spkr.c: .d_flags = D_NEEDGIANT, sys/dev/syscons/syscons.c: .d_flags = D_NEEDGIANT | D_TRACKCLOSE, sys/dev/tdfx/tdfx_pci.c:.d_flags = D_NEEDGIANT, sys/dev/tpm/tpm.c: .d_flags = D_NEEDGIANT, sys/dev/vkbd/vkbd.c:.d_flags = D_NEEDGIANT | D_NEEDMINOR, sys/i386/bios/smapi.c: .d_flags = D_NEEDGIANT, sys/i386/i386/elan-mmcr.c: .d_flags = D_NEEDGIANT, sys/i386/i386/perfmon.c:.d_flags = D_NEEDGIANT, sys/isa/vga_isa.c: .d_flags = D_NEEDGIANT, sys/kern/kern_conf.c: if (devsw->d_flags & D_NEEDGIANT) { sys/kern/kern_conf.c: if (devsw->d_flags & D_NEEDGIANT) { sys/kern/kern_conf.c: } else if (devsw->d_flags & D_NEEDGIANT) \ sys/sys/conf.h:#define D_NEEDGIANT 0x0040 /* driver want Giant */ yasu@rolling-vm-freebsd1[1010]% --- Yasuhiro Kimura ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD 13.0.
On Fri, Jan 15, 2021 at 1:03 PM Hartmann, O. wrote: > Running FreeBSD CURRENT on a USB only platform with a customised kernel, I > see this > message all the time I reboot or log console messages: > > [...] > WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD > 13.0. > > Where does this message come from and what is causing the warning? I tried > to identify > and eliminate this message, but it seems to be stuck with the USB > device/keyboard > attached to the system. > > Any hint? > to eliminate the message, kbd needs to be rewritten to not use giant. It will not be deleted before 13. I'll change the message to 14. Warner ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD 13.0.
Running FreeBSD CURRENT on a USB only platform with a customised kernel, I see this message all the time I reboot or log console messages: [...] WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD 13.0. Where does this message come from and what is causing the warning? I tried to identify and eliminate this message, but it seems to be stuck with the USB device/keyboard attached to the system. Any hint? Many thanks in advance, oh pgpKS04T7Chxe.pgp Description: OpenPGP digital signature