https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251727
--- Comment #8 from Matthias Apitz <[email protected]> --- (In reply to Sean Bruno from comment #7) moving the seetings to /etc/sysctl.conf sets them now correctly: [root@c720-r368166 /home/guru]# grep dev.hdaa. /etc/sysctl.conf dev.hdaa.0.init_clear=1 dev.hdaa.1.init_clear=1 [root@c720-r368166 /home/guru]# sysctl dev.hdaa.0.init_clear dev.hdaa.0.init_clear: 1 [root@c720-r368166 /home/guru]# sysctl dev.hdaa.1.init_clear dev.hdaa.1.init_clear: 1 but this has nothing todo with the clearing of the BIOS values, which is done (or not done) during the attach phase when the kernel boots up; as you see the value devinfo->init_clear in hdaa.c is checked *before* the root gets mounted (and /etc/sysctl.conf could have any affect): # egrep 'DEBUG|Root mount' /var/log/messages Dec 17 06:35:31 c720-r368166 kernel: hdaa0: DEBUG hdaa.c: hdaa_audio_prepare_pin_ctrl() has devinfo->init_clear as: 0 Dec 17 06:35:31 c720-r368166 kernel: hdaa0: DEBUG hdaa.c: hdaa_attach() calls SYSCTL_ADD_INT() macro for init_clear Dec 17 06:35:31 c720-r368166 kernel: hdaa1: DEBUG hdaa.c: hdaa_audio_prepare_pin_ctrl() has devinfo->init_clear as: 0 Dec 17 06:35:31 c720-r368166 kernel: hdaa1: DEBUG hdaa.c: hdaa_attach() calls SYSCTL_ADD_INT() macro for init_clear Dec 17 06:35:31 c720-r368166 kernel: Root mount waiting for: usbus0 usbus1 CAM Dec 17 06:35:31 c720-r368166 kernel: Root mount waiting for: usbus0 usbus1 CAM Dec 17 06:35:31 c720-r368166 kernel: Root mount waiting for: CAM this can not be configured from sysctl.conf; -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
