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

Lance Lassetter lancelassetter at gmail.com
Sun Jul 26 14:47:00 UTC 2015




-------- Original Message --------
From: Lance Lassetter <lancelassetter at gmail.com>
Sent: July 26, 2015 9:46:22 AM CDT
To: Josh Boyer <jwboyer at fedoraproject.org>
Subject: Re: failed to build kernel from kernel-4.2.0-0.rc3.git3.1.fc23.src.rpm

On July 26, 2015 9:06:35 AM CDT, Josh Boyer <jwboyer at fedoraproject.org> wrote:
>On Sun, Jul 26, 2015 at 9:39 AM, Masami Ichikawa <masami256 at gmail.com>
>wrote:
>> 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 at 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
>
>We'd likely need to see the whole log.  Also, why are you rebuilding
>something that is already built on koji?  Normally that is done if
>someone makes modifications, so I'm curious if you have done so.
>
>josh

possibly unrelated:

I'm getting kernel panics when issuing legacy Fedora/Red Hat commands like and latest stable kernel in F22:

service network restart  - kernel panic

Also with NetworkManager I get no kernel panics; however, it hoses my routing table when using a public VPN.

init 5 back to init 3 back to init 5 i lose display (but if I systemctl isolate graphical.target, multi-user.target...I do not lose display.

Maybe a document is needed for users to not use legacy tools?

Lance

>_______________________________________________
>kernel mailing list
>kernel at lists.fedoraproject.org
>https://admin.fedoraproject.org/mailman/listinfo/kernel



More information about the kernel mailing list