failed to build kernel from kernel-4.2.0-0.rc3.git3.1.fc23.src.rpm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I  tried to rebuild kernel from kernel-4.2.0-0.rc3.git3.1.fc23.src.rpm
but I got following error.

Applying: lib/cpumask: Make CPUMASK_OFFSTACK usable without debug dependency
Applying: amd-xgbe-a0: Add support for XGBE on A0
Applying: amd-xgbe-phy-a0: Add support for XGBE PHY on A0
Applying: arm64: avoid needing console= to enable serial console
Applying: usb: make xhci platform driver use 64 bit or 32 bit DMA
Applying: arm64: acpi drop expert patch
Applying: ARM: tegra: usb no reset
error: drivers/usb/core/hub.c: does not exist in index
Patch failed at 0007 ARM: tegra: usb no reset
The copy of the patch that failed is found in:
   /home/masami/rpmbuild/BUILD/kernel-4.1.fc23/linux-4.2.0-0.rc3.git3.1.fc23.x86_64/.git/rebase-apply/patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
error: Bad exit status from /var/tmp/rpm-tmp.yWoA78 (%prep)

Failed patch is this.

masami@f23-test:~$ cat
rpmbuild/BUILD/kernel-4.1.fc23/linux-4.2.0-0.rc3.git3.1.fc23.x86_64/.git/rebase-apply/patch
---
 drivers/usb/core/hub.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
index 43cb2f2e3b43..7f838ec11c81 100644
--- a/drivers/usb/core/hub.c
+++ b/drivers/usb/core/hub.c
@@ -4996,6 +4996,13 @@ static void hub_event(struct work_struct *work)
                        (u16) hub->change_bits[0],
                        (u16) hub->event_bits[0]);

+       /* Don't disconnect USB-SATA on TrimSlice */
+       if (strcmp(dev_name(hdev->bus->controller), "tegra-ehci.0") == 0) {
+               if ((hdev->state == 7) && (hub->change_bits[0] == 0) &&
+                               (hub->event_bits[0] == 0x2))
+                       hub->event_bits[0] = 0;
+       }
+
        /* Lock the device, then check to see if we were
         * disconnected while waiting for the lock to succeed. */
        usb_lock_device(hdev);

any idea?

I did following command to rebuild on fedora 23(x86_64) environment.
rpmbuild -bp --target=$(uname -m) kernel.spec

Cheers,
-- 
Masami Ichikawa
- masami256@xxxxxxxxx
- masami@xxxxxxxxxxxxxxxxx
_______________________________________________
kernel mailing list
kernel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/kernel




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux