Bug 75896

Summary: ALTQ dependencies broken in 5.3
Product: Base System Reporter: Anatole Shaw <bsdbug2230>
Component: kernAssignee: mlaier
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.3-STABLE   
Hardware: Any   
OS: Any   

Description Anatole Shaw 2005-01-06 20:20:27 UTC
      Dependencies for building ALTQ in the kernel are incomplete, preventing ALTQ from being properly compiled-in under certain circumstances.

Fix: 

Workaround: "make clean" before re-building a kernel with ALTQ.
How-To-Repeat:       Configure and compile a kernel without ALTQ. Then add ALTQ to the same kernel config, configure and compile again, without making clean first. Boot into the new kernel. PF will complain "No ALTQ support in kernel."
Comment 1 Simon L. B. Nielsen freebsd_committer freebsd_triage 2005-01-06 21:18:48 UTC
Responsible Changed
From-To: freebsd-bugs->mlaier

I'm not really sure if this is even expected to work, but over to Max 
for evaluation.
Comment 2 brooks 2005-01-06 22:06:16 UTC
I just did a test where I build a kernel with PF (GENERIC+pf), then
added ALTQ options.  A comparison of md5s of objects from a build before
doing a clean and after doing one yeilded no differences other then the
expected change in vers.o.  This is against RELENG_5 from yesterday.

As your PF from a static kernel or a module?

-- Brooks
Comment 3 mlaier freebsd_committer freebsd_triage 2005-01-06 22:50:12 UTC
State Changed
From-To: open->closed

I cannot reporduce this. Did you remember to "make depend" after the re- 
configure?