Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 474100

Summary: gentoo-sources 3.9.7 doesn't apply BFQ patches from genpatches r11 correctly.
Product: Gentoo Linux Reporter: Tom Li <biergaizi2009>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tom Li 2013-06-22 04:36:45 UTC
Since genpatches r11, BFQ patches added.
But, gentoo-sources and other kernel uses auto-patch tools, can't apply it correctly.

* Applying 1801_block-cgroups-kconfig-build-bits-for-BFQ-v6r2-3.9.patch (-p1)

These patches should apply with -p1, but they just add some new file, so we can apply it with -p0 without any error.
                                          
* Applying 1802_block-introduce-the-BFQ-v6r2-I-O-sched-for-3.9.patch (-p0)                                                        
* Applying 1803_block-bfq-add-Early-Queue-Merge-EQM-to-BFQ-v6r2-for-3.9.0.patch (-p0)

Then, the files are in wrong path.
tux linux-3.9.7-gentoo # find ./  | grep bfq
./b/block/bfq-iosched.c
./b/block/bfq-sched.c
./b/block/bfq-cgroup.c
./b/block/bfq.h
./b/block/bfq-ioc.c

Because of missing files, we can't compile the kernel.

make[1]: *** No rule to make target `block/bfq-iosched.o', needed by `block/built-in.o'.  Stop.
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-06-22 07:14:03 UTC

*** This bug has been marked as a duplicate of bug 474008 ***