You are not logged in.
You're right Alexey.
$ makepkg --source
==> Making package: linux 3.10.9-1 (Tue Aug 27 13:04:51 EEST 2013)
==> Retrieving sources...
-> Found linux-3.10.tar.xz
-> Found patch-3.10.9.xz
-> Found config
-> Found config.x86_64
-> Found linux.preset
-> Found change-default-console-loglevel.patch
-> Found criu-no-expert.patch
-> Found intel_dp-code-rearrangement.patch
-> Found 3.10.6-logitech-dj.patch
==> Validating source files with md5sums...
linux-3.10.tar.xz ... Passed
patch-3.10.9.xz ... Passed
config ... Passed
config.x86_64 ... Passed
linux.preset ... Passed
change-default-console-loglevel.patch ... Passed
criu-no-expert.patch ... Passed
intel_dp-code-rearrangement.patch ... Passed
3.10.6-logitech-dj.patch ... Passed
==> Entering fakeroot environment...
==> Creating source package...
-> Adding PKGBUILD...
-> Adding config...
-> Adding config.x86_64...
-> Adding linux.preset...
-> Adding change-default-console-loglevel.patch...
-> Adding criu-no-expert.patch...
-> Adding intel_dp-code-rearrangement.patch...
-> Adding 3.10.6-logitech-dj.patch...
-> Adding install file (linux.install)...
-> Compressing source package...
==> Leaving fakeroot environment.
==> Source package created: linux (Tue Aug 27 13:04:52 EEST 2013)
I just tried to do 'makepkg', not 'makepkg --source'
With makepkg I have this problem.
Last edited by ZeroLinux (2013-08-27 10:27:07)
Offline
Sure. Here it is:
intel_dp.c.rejcat src/linux-3.10/drivers/gpu/drm/i915/intel_dp.c.rej --- drivers/gpu/drm/i915/intel_dp.c.orig 2013-08-27 01:28:15.113882085 +0400 +++ drivers/gpu/drm/i915/intel_dp.c 2013-08-27 02:44:47.905749264 +0400 @@ -702,8 +702,6 @@ /* Walk through all bpp values. Luckily they're all nicely spaced with 2 * bpc in between. */ bpp = min_t(int, 8*3, pipe_config->pipe_bpp); - if (is_edp(intel_dp) && dev_priv->edp.bpp) - bpp = min_t(int, bpp, dev_priv->edp.bpp); for (; bpp >= 6*3; bpp -= 2*3) { mode_rate = intel_dp_link_required(target_clock, bpp); @@ -742,7 +740,6 @@ intel_dp->link_bw = bws[clock]; intel_dp->lane_count = lane_count; adjusted_mode->clock = drm_dp_bw_code_to_link_rate(intel_dp->link_bw); - pipe_config->pipe_bpp = bpp; pipe_config->pixel_target_clock = target_clock; DRM_DEBUG_KMS("DP link bw %02x lane count %d clock %d bpp %d\n", @@ -755,6 +752,10 @@ target_clock, adjusted_mode->clock, &pipe_config->dp_m_n); + if (is_edp(intel_dp) && dev_priv->edp.bpp) + bpp = min_t(int, bpp, dev_priv->edp.bpp); + pipe_config->pipe_bpp = bpp; + return true; }
Interesting thing happens, i downloaded your provided intel_dp.c file and compared with one from the vanilla source (the one has been done by patching base linux-3.10.tar.xz with patch-3.10.9.xz ) and i see them differ! And the difference is that in your file DOS EOL used (0x0d 0x0a) while my local one is plain UNIX EOL - 0x0a
builder@localhost ~/tmp
$ hexdump -C intel_dp.c | head -10
00000000 2f 2a 0d 0a 20 2a 20 43 6f 70 79 72 69 67 68 74 |/*.. * Copyright|
00000010 20 c2 a9 20 32 30 30 38 20 49 6e 74 65 6c 20 43 | .. 2008 Intel C|
00000020 6f 72 70 6f 72 61 74 69 6f 6e 0d 0a 20 2a 0d 0a |orporation.. *..|
00000030 20 2a 20 50 65 72 6d 69 73 73 69 6f 6e 20 69 73 | * Permission is|
00000040 20 68 65 72 65 62 79 20 67 72 61 6e 74 65 64 2c | hereby granted,|
00000050 20 66 72 65 65 20 6f 66 20 63 68 61 72 67 65 2c | free of charge,|
00000060 20 74 6f 20 61 6e 79 20 70 65 72 73 6f 6e 20 6f | to any person o|
00000070 62 74 61 69 6e 69 6e 67 20 61 0d 0a 20 2a 20 63 |btaining a.. * c|
00000080 6f 70 79 20 6f 66 20 74 68 69 73 20 73 6f 66 74 |opy of this soft|
00000090 77 61 72 65 20 61 6e 64 20 61 73 73 6f 63 69 61 |ware and associa|
builder@localhost ~/tmp
$ hexdump -C intel_dp.c.orig | head -10
00000000 2f 2a 0a 20 2a 20 43 6f 70 79 72 69 67 68 74 20 |/*. * Copyright |
00000010 c2 a9 20 32 30 30 38 20 49 6e 74 65 6c 20 43 6f |.. 2008 Intel Co|
00000020 72 70 6f 72 61 74 69 6f 6e 0a 20 2a 0a 20 2a 20 |rporation. *. * |
00000030 50 65 72 6d 69 73 73 69 6f 6e 20 69 73 20 68 65 |Permission is he|
00000040 72 65 62 79 20 67 72 61 6e 74 65 64 2c 20 66 72 |reby granted, fr|
00000050 65 65 20 6f 66 20 63 68 61 72 67 65 2c 20 74 6f |ee of charge, to|
00000060 20 61 6e 79 20 70 65 72 73 6f 6e 20 6f 62 74 61 | any person obta|
00000070 69 6e 69 6e 67 20 61 0a 20 2a 20 63 6f 70 79 20 |ining a. * copy |
00000080 6f 66 20 74 68 69 73 20 73 6f 66 74 77 61 72 65 |of this software|
00000090 20 61 6e 64 20 61 73 73 6f 63 69 61 74 65 64 20 | and associated |
builder@localhost ~/tmp
$
How could that happen?
Once i open in VI your file and command: set fileformat=unix, then saved. I got it patched!
builder@localhost ~/tmp
$ patch < intel_dp-code-rearrangement.patch
patching file intel_dp.c
Last edited by alexey (2013-08-27 16:51:57)
Offline
Here is my makepkg log
builder@localhost ~/build/linux
$ makepkg -o
==> Making package: linux-ak 3.10.9-1 (Tue Aug 27 14:42:29 MSK 2013)
==> Retrieving sources...
-> Found linux-3.10.tar.xz
-> Found patch-3.10.9.xz
-> Found config
-> Found config.x86_64
-> Found linux.preset
-> Found change-default-console-loglevel.patch
-> Found criu-no-expert.patch
-> Found intel_dp-code-rearrangement.patch
-> Found 3.10.6-logitech-dj.patch
==> Validating source files with md5sums...
linux-3.10.tar.xz ... Passed
patch-3.10.9.xz ... Passed
config ... Passed
config.x86_64 ... Passed
linux.preset ... Passed
change-default-console-loglevel.patch ... Passed
criu-no-expert.patch ... Passed
intel_dp-code-rearrangement.patch ... Passed
3.10.6-logitech-dj.patch ... Passed
==> Extracting sources...
-> Extracting linux-3.10.tar.xz with bsdtar
-> Extracting patch-3.10.9.xz with xz
==> Starting prepare()...
patching file Documentation/i2c/busses/i2c-piix4
patching file Documentation/parisc/registers
patching file MAINTAINERS
patching file Makefile
patching file arch/Kconfig
patching file arch/arm/Kconfig
patching file arch/arm/boot/compressed/atags_to_fdt.c
patching file arch/arm/boot/dts/imx23.dtsi
patching file arch/arm/boot/dts/imx28.dtsi
patching file arch/arm/boot/dts/imx6dl.dtsi
patching file arch/arm/boot/dts/imx6q.dtsi
patching file arch/arm/include/asm/a.out-core.h
patching file arch/arm/include/asm/elf.h
patching file arch/arm/include/asm/kvm_asm.h
patching file arch/arm/include/asm/mmu.h
patching file arch/arm/include/asm/mmu_context.h
patching file arch/arm/include/asm/page.h
patching file arch/arm/include/asm/processor.h
patching file arch/arm/include/asm/thread_info.h
patching file arch/arm/include/asm/tlb.h
patching file arch/arm/include/uapi/asm/Kbuild
patching file arch/arm/include/uapi/asm/a.out.h
patching file arch/arm/kernel/entry-armv.S
patching file arch/arm/kernel/fiq.c
patching file arch/arm/kernel/perf_event.c
patching file arch/arm/kernel/process.c
patching file arch/arm/kernel/signal.c
patching file arch/arm/kernel/signal.h
patching file arch/arm/kernel/smp_tlb.c
patching file arch/arm/kernel/smp_twd.c
patching file arch/arm/kernel/traps.c
patching file arch/arm/kernel/vmlinux.lds.S
patching file arch/arm/kvm/coproc.c
patching file arch/arm/kvm/interrupts.S
patching file arch/arm/kvm/interrupts_head.S
patching file arch/arm/mach-footbridge/dc21285.c
patching file arch/arm/mach-s3c24xx/clock-s3c2410.c
patching file arch/arm/mach-s3c24xx/clock-s3c2440.c
patching file arch/arm/mach-shmobile/setup-emev2.c
patching file arch/arm/mach-shmobile/setup-r8a73a4.c
patching file arch/arm/mm/Kconfig
patching file arch/arm/mm/context.c
patching file arch/arm/mm/init.c
patching file arch/arm/mm/mmu.c
patching file arch/arm/mm/proc-v7-2level.S
patching file arch/arm/mm/proc-v7-3level.S
patching file arch/arm/mm/proc-v7.S
patching file arch/arm/plat-samsung/include/plat/clock.h
patching file arch/arm64/include/asm/tlb.h
patching file arch/arm64/mm/fault.c
patching file arch/c6x/mm/init.c
patching file arch/ia64/include/asm/tlb.h
patching file arch/m68k/emu/natfeat.c
patching file arch/m68k/include/asm/div64.h
patching file arch/microblaze/Kconfig
patching file arch/mips/Kconfig
patching file arch/mips/cavium-octeon/setup.c
patching file arch/mips/include/asm/io.h
patching file arch/parisc/include/asm/parisc-device.h
patching file arch/parisc/include/asm/special_insns.h
patching file arch/parisc/include/asm/tlbflush.h
patching file arch/parisc/kernel/cache.c
patching file arch/parisc/kernel/inventory.c
patching file arch/parisc/lib/memcpy.c
patching file arch/powerpc/Kconfig
patching file arch/powerpc/include/asm/exception-64s.h
patching file arch/powerpc/include/asm/module.h
patching file arch/powerpc/include/asm/processor.h
patching file arch/powerpc/include/asm/reg.h
patching file arch/powerpc/include/asm/smp.h
patching file arch/powerpc/include/asm/switch_to.h
patching file arch/powerpc/kernel/asm-offsets.c
patching file arch/powerpc/kernel/entry_64.S
patching file arch/powerpc/kernel/exceptions-64s.S
patching file arch/powerpc/kernel/hw_breakpoint.c
patching file arch/powerpc/kernel/process.c
patching file arch/powerpc/kernel/ptrace.c
patching file arch/powerpc/kernel/setup_64.c
patching file arch/powerpc/kernel/signal_32.c
patching file arch/powerpc/kernel/signal_64.c
patching file arch/powerpc/kernel/tm.S
patching file arch/powerpc/kernel/traps.c
patching file arch/powerpc/kernel/vmlinux.lds.S
patching file arch/powerpc/mm/numa.c
patching file arch/powerpc/perf/core-book3s.c
patching file arch/powerpc/perf/power8-pmu.c
patching file arch/powerpc/platforms/powernv/pci-ioda.c
patching file arch/s390/Kconfig
patching file arch/s390/include/asm/bitops.h
patching file arch/s390/include/asm/tlb.h
patching file arch/s390/kernel/setup.c
patching file arch/s390/mm/init.c
patching file arch/s390/oprofile/init.c
patching file arch/sh/include/asm/tlb.h
patching file arch/sparc/kernel/asm-offsets.c
patching file arch/sparc/mm/hypersparc.S
patching file arch/sparc/mm/swift.S
patching file arch/sparc/mm/tsunami.S
patching file arch/sparc/mm/viking.S
patching file arch/um/include/asm/tlb.h
patching file arch/x86/boot/compressed/eboot.c
patching file arch/x86/kernel/acpi/sleep.c
patching file arch/x86/kernel/cpu/mtrr/generic.c
patching file arch/x86/kernel/cpu/mtrr/main.c
patching file arch/x86/kernel/cpu/perf_event_intel_uncore.c
patching file arch/x86/kernel/early-quirks.c
patching file arch/x86/kernel/head_64.S
patching file arch/x86/kernel/i387.c
patching file arch/x86/kernel/sys_x86_64.c
patching file arch/x86/kvm/vmx.c
patching file arch/x86/mm/mmap.c
patching file arch/x86/xen/time.c
patching file arch/xtensa/kernel/head.S
patching file arch/xtensa/kernel/setup.c
patching file block/cfq-iosched.c
patching file block/deadline-iosched.c
patching file block/elevator.c
patching file block/genhd.c
patching file block/noop-iosched.c
patching file crypto/algapi.c
patching file drivers/acpi/Makefile
patching file drivers/acpi/acpi_cmos_rtc.c
patching file drivers/acpi/acpi_memhotplug.c
patching file drivers/acpi/acpica/hwxfsleep.c
patching file drivers/acpi/battery.c
patching file drivers/acpi/device_pm.c
patching file drivers/acpi/ec.c
patching file drivers/acpi/internal.h
patching file drivers/acpi/proc.c
patching file drivers/acpi/scan.c
patching file drivers/acpi/video.c
patching file drivers/ata/Kconfig
patching file drivers/ata/ahci.c
patching file drivers/ata/ata_piix.c
patching file drivers/ata/libahci.c
patching file drivers/ata/libata-pmp.c
patching file drivers/ata/libata-zpodd.c
patching file drivers/ata/sata_highbank.c
patching file drivers/ata/sata_inic162x.c
patching file drivers/base/regmap/regcache.c
patching file drivers/base/regmap/regmap.c
patching file drivers/block/nbd.c
patching file drivers/block/xen-blkback/blkback.c
patching file drivers/block/xen-blkfront.c
patching file drivers/bluetooth/ath3k.c
patching file drivers/bluetooth/btusb.c
patching file drivers/cdrom/cdrom.c
patching file drivers/char/agp/parisc-agp.c
patching file drivers/char/hw_random/bcm2835-rng.c
patching file drivers/char/virtio_console.c
patching file drivers/clocksource/dw_apb_timer_of.c
patching file drivers/cpufreq/cpufreq.c
patching file drivers/cpufreq/cpufreq_conservative.c
patching file drivers/cpufreq/cpufreq_governor.c
patching file drivers/cpufreq/cpufreq_governor.h
patching file drivers/cpufreq/cpufreq_ondemand.c
patching file drivers/cpufreq/cpufreq_stats.c
patching file drivers/cpufreq/intel_pstate.c
patching file drivers/cpufreq/loongson2_cpufreq.c
patching file drivers/cpuidle/governors/menu.c
patching file drivers/crypto/caam/caamhash.c
patching file drivers/dma/pl330.c
patching file drivers/edac/edac_mc.c
patching file drivers/edac/edac_mc_sysfs.c
patching file drivers/edac/i5100_edac.c
patching file drivers/firewire/core-cdev.c
patching file drivers/firewire/ohci.c
patching file drivers/gpu/drm/ast/ast_ttm.c
patching file drivers/gpu/drm/cirrus/cirrus_ttm.c
patching file drivers/gpu/drm/drm_gem.c
patching file drivers/gpu/drm/drm_irq.c
patching file drivers/gpu/drm/i915/i915_dma.c
patching file drivers/gpu/drm/i915/i915_drv.c
patching file drivers/gpu/drm/i915/i915_drv.h
patching file drivers/gpu/drm/i915/i915_gem.c
patching file drivers/gpu/drm/i915/i915_gem_context.c
patching file drivers/gpu/drm/i915/i915_irq.c
patching file drivers/gpu/drm/i915/i915_reg.h
patching file drivers/gpu/drm/i915/intel_ddi.c
patching file drivers/gpu/drm/i915/intel_display.c
patching file drivers/gpu/drm/i915/intel_drv.h
patching file drivers/gpu/drm/i915/intel_panel.c
patching file drivers/gpu/drm/i915/intel_pm.c
patching file drivers/gpu/drm/i915/intel_ringbuffer.c
patching file drivers/gpu/drm/mgag200/mgag200_drv.h
patching file drivers/gpu/drm/mgag200/mgag200_main.c
patching file drivers/gpu/drm/mgag200/mgag200_mode.c
patching file drivers/gpu/drm/mgag200/mgag200_ttm.c
patching file drivers/gpu/drm/nouveau/core/engine/disp/hdminva3.c
patching file drivers/gpu/drm/nouveau/core/engine/disp/nv50.c
patching file drivers/gpu/drm/nouveau/core/subdev/vm/base.c
patching file drivers/gpu/drm/nouveau/nv17_fence.c
patching file drivers/gpu/drm/nouveau/nv50_fence.c
patching file drivers/gpu/drm/radeon/atom.c
patching file drivers/gpu/drm/radeon/atombios_dp.c
patching file drivers/gpu/drm/radeon/atombios_encoders.c
patching file drivers/gpu/drm/radeon/evergreen.c
patching file drivers/gpu/drm/radeon/evergreen_hdmi.c
patching file drivers/gpu/drm/radeon/ni.c
patching file drivers/gpu/drm/radeon/r600.c
patching file drivers/gpu/drm/radeon/r600_hdmi.c
patching file drivers/gpu/drm/radeon/radeon.h
patching file drivers/gpu/drm/radeon/radeon_asic.c
patching file drivers/gpu/drm/radeon/radeon_asic.h
patching file drivers/gpu/drm/radeon/radeon_combios.c
patching file drivers/gpu/drm/radeon/radeon_gart.c
patching file drivers/gpu/drm/radeon/radeon_irq_kms.c
patching file drivers/gpu/drm/radeon/radeon_object.h
patching file drivers/gpu/drm/radeon/radeon_ring.c
patching file drivers/gpu/drm/radeon/radeon_sa.c
patching file drivers/gpu/drm/radeon/radeon_uvd.c
patching file drivers/gpu/drm/radeon/rv770.c
patching file drivers/gpu/drm/radeon/si.c
patching file drivers/hid/hid-apple.c
patching file drivers/hid/hid-core.c
patching file drivers/hid/hid-ids.h
patching file drivers/hv/hv_balloon.c
patching file drivers/hv/ring_buffer.c
patching file drivers/hv/vmbus_drv.c
patching file drivers/hwmon/adt7470.c
patching file drivers/hwmon/max6697.c
patching file drivers/hwmon/nct6775.c
patching file drivers/i2c/busses/Kconfig
patching file drivers/i2c/busses/i2c-mxs.c
patching file drivers/i2c/busses/i2c-piix4.c
patching file drivers/iio/inkern.c
patching file drivers/infiniband/ulp/isert/ib_isert.c
patching file drivers/infiniband/ulp/isert/ib_isert.h
patching file drivers/input/mouse/bcm5974.c
patching file drivers/iommu/amd_iommu.c
patching file drivers/macintosh/windfarm_rm31.c
patching file drivers/md/bcache/bcache.h
patching file drivers/md/bcache/btree.c
patching file drivers/md/bcache/closure.c
patching file drivers/md/bcache/journal.c
patching file drivers/md/bcache/request.c
patching file drivers/md/bcache/super.c
patching file drivers/md/dm-ioctl.c
patching file drivers/md/dm-mpath.c
patching file drivers/md/dm-verity.c
patching file drivers/md/dm.c
patching file drivers/md/md.c
patching file drivers/md/raid1.c
patching file drivers/md/raid10.c
patching file drivers/md/raid5.c
patching file drivers/md/raid5.h
patching file drivers/media/dvb-core/dmxdev.c
patching file drivers/media/pci/saa7134/saa7134-alsa.c
patching file drivers/media/usb/em28xx/em28xx-i2c.c
patching file drivers/mtd/nand/Kconfig
patching file drivers/net/arcnet/arcnet.c
patching file drivers/net/can/usb/peak_usb/pcan_usb.c
patching file drivers/net/dummy.c
patching file drivers/net/ethernet/atheros/alx/main.c
patching file drivers/net/ethernet/atheros/atl1c/atl1c.h
patching file drivers/net/ethernet/atheros/atl1c/atl1c_main.c
patching file drivers/net/ethernet/atheros/atl1e/atl1e_main.c
patching file drivers/net/ethernet/cadence/macb.c
patching file drivers/net/ethernet/emulex/benet/be_main.c
patching file drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.c
patching file drivers/net/ethernet/mellanox/mlx4/fw.c
patching file drivers/net/ethernet/mellanox/mlx4/main.c
patching file drivers/net/ethernet/realtek/8139cp.c
patching file drivers/net/ethernet/sfc/filter.c
patching file drivers/net/ethernet/sfc/rx.c
patching file drivers/net/ethernet/sun/sunvnet.c
patching file drivers/net/hyperv/netvsc_drv.c
patching file drivers/net/ifb.c
patching file drivers/net/macvtap.c
patching file drivers/net/tun.c
patching file drivers/net/usb/ax88179_178a.c
patching file drivers/net/usb/smsc75xx.c
patching file drivers/net/virtio_net.c
patching file drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
patching file drivers/net/wireless/ath/ath9k/ar9003_phy.h
patching file drivers/net/wireless/ath/ath9k/calib.c
patching file drivers/net/wireless/ath/ath9k/hif_usb.c
patching file drivers/net/wireless/ath/ath9k/htc_drv_init.c
patching file drivers/net/wireless/ath/ath9k/hw.c
patching file drivers/net/wireless/ath/ath9k/main.c
patching file drivers/net/wireless/ath/wil6210/debugfs.c
patching file drivers/net/wireless/b43/Kconfig
patching file drivers/net/wireless/iwlegacy/4965-mac.c
patching file drivers/net/wireless/iwlegacy/common.c
patching file drivers/net/wireless/iwlwifi/dvm/main.c
patching file drivers/net/wireless/iwlwifi/mvm/fw-api-scan.h
patching file drivers/net/wireless/iwlwifi/mvm/mac80211.c
patching file drivers/net/wireless/iwlwifi/mvm/scan.c
patching file drivers/net/wireless/iwlwifi/mvm/sta.c
patching file drivers/net/wireless/iwlwifi/pcie/drv.c
patching file drivers/net/wireless/iwlwifi/pcie/tx.c
patching file drivers/net/wireless/mwifiex/cfg80211.c
patching file drivers/net/wireless/mwifiex/cfp.c
patching file drivers/net/wireless/mwifiex/join.c
patching file drivers/net/wireless/mwifiex/sdio.c
patching file drivers/net/wireless/rt2x00/rt2800lib.c
patching file drivers/net/wireless/rt2x00/rt2x00queue.c
patching file drivers/net/wireless/rt2x00/rt61pci.c
patching file drivers/net/wireless/rt2x00/rt73usb.c
patching file drivers/net/wireless/rtlwifi/pci.c
patching file drivers/net/wireless/rtlwifi/ps.c
patching file drivers/net/wireless/rtlwifi/ps.h
patching file drivers/net/wireless/rtlwifi/rtl8192cu/rf.c
patching file drivers/net/wireless/rtlwifi/rtl8192cu/sw.c
patching file drivers/net/wireless/rtlwifi/rtl8723ae/sw.c
patching file drivers/net/wireless/rtlwifi/usb.c
patching file drivers/net/xen-netfront.c
patching file drivers/of/address.c
patching file drivers/parisc/iosapic.c
patching file drivers/parisc/lba_pci.c
patching file drivers/pci/hotplug/pciehp_pci.c
patching file drivers/pci/iov.c
patching file drivers/pci/probe.c
patching file drivers/pci/quirks.c
patching file drivers/pci/setup-bus.c
patching file drivers/pci/xen-pcifront.c
patching file drivers/pcmcia/at91_cf.c
patching file drivers/power/charger-manager.c
patching file drivers/rapidio/switches/idt_gen2.c
patching file drivers/rtc/rtc-rv3029c2.c
patching file drivers/s390/scsi/zfcp_aux.c
patching file drivers/s390/scsi/zfcp_fsf.c
patching file drivers/s390/scsi/zfcp_scsi.c
patching file drivers/scsi/aacraid/src.c
patching file drivers/scsi/isci/task.c
patching file drivers/scsi/megaraid/megaraid_sas_base.c
patching file drivers/scsi/mpt2sas/mpt2sas_base.c
patching file drivers/scsi/mpt2sas/mpt2sas_base.h
patching file drivers/scsi/mpt2sas/mpt2sas_scsih.c
patching file drivers/scsi/mpt3sas/mpt3sas_scsih.c
patching file drivers/scsi/nsp32.c
patching file drivers/scsi/osd/osd_uld.c
patching file drivers/scsi/qla2xxx/qla_iocb.c
patching file drivers/scsi/scsi.c
patching file drivers/scsi/sd.c
patching file drivers/scsi/sd.h
patching file drivers/scsi/virtio_scsi.c
patching file drivers/spi/spi-davinci.c
patching file drivers/staging/android/logger.c
patching file drivers/staging/comedi/comedi_fops.c
patching file drivers/staging/line6/pcm.c
patching file drivers/staging/zcache/zcache-main.c
patching file drivers/staging/zram/zram_drv.c
patching file drivers/staging/zram/zram_drv.h
patching file drivers/staging/zram/zram_sysfs.c
patching file drivers/target/iscsi/iscsi_target.c
patching file drivers/target/iscsi/iscsi_target.h
patching file drivers/target/iscsi/iscsi_target_configfs.c
patching file drivers/target/iscsi/iscsi_target_core.h
patching file drivers/target/iscsi/iscsi_target_erl0.c
patching file drivers/target/iscsi/iscsi_target_erl1.c
patching file drivers/target/iscsi/iscsi_target_util.c
patching file drivers/target/iscsi/iscsi_target_util.h
patching file drivers/tty/serial/8250/8250_gsc.c
patching file drivers/tty/serial/8250/8250_pci.c
patching file drivers/tty/serial/arc_uart.c
patching file drivers/tty/serial/mxs-auart.c
patching file drivers/tty/serial/pch_uart.c
patching file drivers/tty/tty_io.c
patching file drivers/tty/tty_port.c
patching file drivers/usb/core/hub.c
patching file drivers/usb/core/hub.h
patching file drivers/usb/core/quirks.c
patching file drivers/usb/dwc3/core.c
patching file drivers/usb/dwc3/core.h
patching file drivers/usb/dwc3/gadget.c
patching file drivers/usb/gadget/f_mass_storage.c
patching file drivers/usb/gadget/udc-core.c
patching file drivers/usb/host/ehci-hub.c
patching file drivers/usb/host/ehci-omap.c
patching file drivers/usb/host/ehci-sched.c
patching file drivers/usb/host/xhci-mem.c
patching file drivers/usb/host/xhci-pci.c
patching file drivers/usb/host/xhci-plat.c
patching file drivers/usb/host/xhci-ring.c
patching file drivers/usb/host/xhci.c
patching file drivers/usb/misc/sisusbvga/sisusb.c
patching file drivers/usb/serial/cp210x.c
patching file drivers/usb/serial/ftdi_sio.c
patching file drivers/usb/serial/ftdi_sio_ids.h
patching file drivers/usb/serial/keyspan.c
patching file drivers/usb/serial/mos7720.c
patching file drivers/usb/serial/mos7840.c
patching file drivers/usb/serial/option.c
patching file drivers/usb/serial/qcserial.c
patching file drivers/usb/serial/ti_usb_3410_5052.c
patching file drivers/usb/serial/usb_wwan.c
patching file drivers/usb/storage/unusual_devs.h
patching file drivers/usb/wusbcore/wa-xfer.c
patching file drivers/vhost/net.c
patching file drivers/virtio/virtio_balloon.c
patching file drivers/virtio/virtio_ring.c
patching file drivers/xen/evtchn.c
patching file fs/block_dev.c
patching file fs/btrfs/ctree.c
patching file fs/btrfs/extent-tree.c
patching file fs/btrfs/scrub.c
patching file fs/btrfs/send.c
patching file fs/btrfs/tree-log.c
patching file fs/btrfs/ulist.c
patching file fs/ceph/xattr.c
patching file fs/cifs/cifs_unicode.h
patching file fs/cifs/cifsencrypt.c
patching file fs/cifs/cifsglob.h
patching file fs/cifs/connect.c
patching file fs/cifs/file.c
patching file fs/cifs/inode.c
patching file fs/cifs/readdir.c
patching file fs/cifs/sess.c
patching file fs/debugfs/inode.c
patching file fs/exec.c
patching file fs/ext3/namei.c
patching file fs/ext4/balloc.c
patching file fs/ext4/ext4_jbd2.c
patching file fs/ext4/extents.c
patching file fs/ext4/file.c
patching file fs/ext4/ialloc.c
patching file fs/ext4/inline.c
patching file fs/ext4/inode.c
patching file fs/ext4/ioctl.c
patching file fs/ext4/mballoc.c
patching file fs/ext4/namei.c
patching file fs/ext4/resize.c
patching file fs/ext4/super.c
patching file fs/fuse/dir.c
patching file fs/hpfs/map.c
patching file fs/hpfs/super.c
patching file fs/jbd2/journal.c
patching file fs/jbd2/transaction.c
patching file fs/lockd/clntlock.c
patching file fs/lockd/clntproc.c
patching file fs/lockd/svclock.c
patching file fs/nfs/nfs4state.c
patching file fs/nfsd/nfs4xdr.c
patching file fs/nfsd/vfs.c
patching file fs/notify/fanotify/fanotify_user.c
patching file fs/ocfs2/xattr.c
patching file fs/proc/task_mmu.c
patching file fs/reiserfs/procfs.c
patching file fs/reiserfs/super.c
patching file fs/super.c
patching file fs/ubifs/super.c
patching file include/asm-generic/tlb.h
patching file include/linux/ceph/decode.h
patching file include/linux/cgroup.h
patching file include/linux/cpu_cooling.h
patching file include/linux/edac.h
patching file include/linux/elevator.h
patching file include/linux/firewire.h
patching file include/linux/ftrace_event.h
patching file include/linux/hugetlb.h
patching file include/linux/if_vlan.h
patching file include/linux/iio/iio.h
patching file include/linux/nbd.h
patching file include/linux/regmap.h
patching file include/linux/sched.h
patching file include/linux/sunrpc/sched.h
patching file include/linux/syscalls.h
patching file include/linux/tick.h
patching file include/linux/user_namespace.h
patching file include/linux/virtio.h
patching file include/net/addrconf.h
patching file include/net/ndisc.h
patching file include/net/udp.h
patching file include/target/iscsi/iscsi_transport.h
patching file include/uapi/linux/firewire-cdev.h
patching file include/uapi/linux/if_pppox.h
patching file kernel/cgroup.c
patching file kernel/cpuset.c
patching file kernel/events/core.c
patching file kernel/fork.c
patching file kernel/futex.c
patching file kernel/hrtimer.c
patching file kernel/irq/manage.c
patching file kernel/module.c
patching file kernel/power/autosleep.c
patching file kernel/power/qos.c
patching file kernel/printk.c
patching file kernel/sched/fair.c
patching file kernel/time/tick-broadcast.c
patching file kernel/time/tick-common.c
patching file kernel/time/tick-sched.c
patching file kernel/timer.c
patching file kernel/trace/trace.c
patching file kernel/trace/trace.h
patching file kernel/trace/trace_events.c
patching file kernel/trace/trace_irqsoff.c
patching file kernel/trace/trace_syscalls.c
patching file kernel/trace/trace_uprobe.c
patching file kernel/user_namespace.c
patching file kernel/workqueue.c
patching file lib/Kconfig.debug
patching file mm/hugetlb.c
patching file mm/memcontrol.c
patching file mm/memory.c
patching file mm/mempolicy.c
patching file mm/mmap.c
patching file mm/page_alloc.c
patching file mm/slab.c
patching file net/8021q/vlan_core.c
patching file net/8021q/vlan_dev.c
patching file net/9p/trans_common.c
patching file net/ceph/auth_none.c
patching file net/core/dev.c
patching file net/core/neighbour.c
patching file net/ipv4/ip_gre.c
patching file net/ipv4/ip_input.c
patching file net/ipv4/ip_tunnel.c
patching file net/ipv4/ip_vti.c
patching file net/ipv4/ipip.c
patching file net/ipv4/sysctl_net_ipv4.c
patching file net/ipv4/udp.c
patching file net/ipv6/addrconf.c
patching file net/ipv6/ip6_fib.c
patching file net/ipv6/ip6_output.c
patching file net/ipv6/ip6mr.c
patching file net/ipv6/mcast.c
patching file net/ipv6/route.c
patching file net/ipv6/sit.c
patching file net/ipv6/udp.c
patching file net/key/af_key.c
patching file net/l2tp/l2tp_ppp.c
patching file net/mac80211/cfg.c
patching file net/mac80211/iface.c
patching file net/mac80211/mlme.c
patching file net/mac80211/pm.c
patching file net/mac80211/rc80211_minstrel.c
patching file net/mac80211/rc80211_minstrel_ht.c
patching file net/mac80211/rx.c
patching file net/netlink/genetlink.c
patching file net/sched/sch_atm.c
patching file net/sched/sch_cbq.c
patching file net/sched/sch_qfq.c
patching file net/sunrpc/auth_gss/gss_rpc_upcall.c
patching file net/sunrpc/auth_gss/gss_rpc_xdr.c
patching file net/sunrpc/clnt.c
patching file net/sunrpc/netns.h
patching file net/sunrpc/rpcb_clnt.c
patching file net/sunrpc/svcauth_unix.c
patching file net/sunrpc/svcsock.c
patching file net/sunrpc/xprtrdma/svc_rdma_marshal.c
patching file net/wireless/core.c
patching file net/wireless/nl80211.c
patching file net/x25/af_x25.c
patching file sound/arm/pxa2xx-pcm-lib.c
patching file sound/core/compress_offload.c
patching file sound/core/seq/oss/seq_oss_init.c
patching file sound/core/seq/oss/seq_oss_midi.c
patching file sound/pci/asihpi/asihpi.c
patching file sound/pci/atiixp.c
patching file sound/pci/atiixp_modem.c
patching file sound/pci/hda/hda_auto_parser.c
patching file sound/pci/hda/hda_generic.c
patching file sound/pci/hda/hda_local.h
patching file sound/pci/hda/patch_analog.c
patching file sound/pci/hda/patch_hdmi.c
patching file sound/pci/hda/patch_realtek.c
patching file sound/pci/hda/patch_sigmatel.c
patching file sound/pci/hda/patch_via.c
patching file sound/soc/atmel/atmel-pcm-dma.c
patching file sound/soc/codecs/cs42l52.c
patching file sound/soc/codecs/max98088.c
patching file sound/soc/codecs/sgtl5000.c
patching file sound/soc/codecs/sgtl5000.h
patching file sound/soc/codecs/wm8962.c
patching file sound/soc/s6000/s6000-pcm.c
patching file sound/soc/soc-dapm.c
patching file sound/soc/tegra/tegra20_ac97.c
patching file sound/soc/tegra/tegra20_spdif.c
patching file sound/soc/tegra/tegra30_i2s.c
patching file sound/usb/6fire/comm.c
patching file sound/usb/6fire/comm.h
patching file sound/usb/6fire/midi.c
patching file sound/usb/6fire/midi.h
patching file sound/usb/6fire/pcm.c
patching file sound/usb/6fire/pcm.h
patching file sound/usb/endpoint.c
patching file sound/usb/misc/ua101.c
patching file sound/usb/mixer.c
patching file sound/usb/usx2y/usbusx2yaudio.c
patching file tools/hv/hv_kvp_daemon.c
patching file tools/perf/config/utilities.mak
patching file drivers/gpu/drm/i915/intel_dp.c
patching file kernel/printk.c
Hunk #1 succeeded at 56 with fuzz 2 (offset -2 lines).
patching file init/Kconfig
Hunk #1 succeeded at 1028 (offset 39 lines).
Hunk #2 succeeded at 1039 (offset 39 lines).
patching file drivers/hid/hid-logitech-dj.c
patching file drivers/hid/hid-logitech-dj.h
==> Sources are ready.
Last edited by alexey (2013-08-27 16:53:39)
Offline
Alexey
What do you advise me to do?
Offline
Hi ZeroLinux,
Since i am not able to submit into AUR with the same problem. Please use http://pastebin.com/bNKGdFxN, please download raw data into some file for example file.base64
Then decode it into tar.gz with the command:
base64 -d file.base64 > linux-ak-3.10.9-1.src.tar.gz
Then try to build kernel from this source package.
Last edited by alexey (2013-08-27 11:05:07)
Offline
Please use this link http://pastebin.com/gd3m0UC2
Previous one contained error
Offline
ZeroLinux, hey i understood, pastebin when you download saves with DOS CRLF.
So once is converted your file into unix it's ok.
WHen you will be saving from pastebin link http://pastebin.com/gd3m0UC2
You need to converto to unix. For example you saved the from http://pastebin.com/gd3m0UC2 into linux-ak.base64.txt.So the sequence is:
$ tr -d \\r < linux-ak.base64.txt > linux-ak.base64
$ base64 -d linux-ak.base64 > linux-ak.tar.gz
$ tar ztf linux-ak.tar.gz
linux-ak/
linux-ak/criu-no-expert.patch
linux-ak/config.x86_64
linux-ak/linux.preset
linux-ak/linux.install
linux-ak/change-default-console-loglevel.patch
linux-ak/intel_dp-code-rearrangement.patch
linux-ak/config
linux-ak/3.10.6-logitech-dj.patch
linux-ak/PKGBUILD
$ tar zxf linux-ak.tar.gz
And you are ready to build.
Offline
I downloaded file from http://pastebin.com/gd3m0UC2. Renamed it to file.base64
$ base64 -d file.base64 > linux-ak-3.10.9-1.src.tar.gz
base64: invalid input
Offline
Yes, you're right. That's the feature of pasterbin. I did
tr -d \\r < file.base64 > file.base64.2
base64 -d file.base64.2 > linux-ak-3.10.9-1.src.tar.gz
unpack linux-ak-3.10.9-1.src.tar.gz
Now it is being complied.
Last edited by ZeroLinux (2013-08-27 11:31:55)
Offline
Please remove DOS EOL with this command:
tr -d \\r < INFILE > OUTFILE
Offline
Да, спасибо, дружище, дошло. Теперь как раз делаю это.
I want to have this patch in AUR.
If it is not is there it is better to substitute standart kernel with this one, not using linux-ak name. Because the last thing implies using making new refind folder with kernel and initrd.
How to modify files to use standard "linux" name for kernel?
Last edited by ZeroLinux (2013-08-27 11:39:10)
Offline
Да, спасибо, дружище, дошло. Теперь как раз делаю это.
I want to have this patch in AUR.
If it is not is there it is better to substitute standart kernel with this one, not using linux-ak name. Because the last thing implies using making new refind folder with kernel and initrd.
How to modify files to use standard "linux" name for kernel?
Круто братан! :-)
Раскажи почему не могу засабмитить в АУР ?
translation from russian:
Cool bro!
Could you pease tell me why i can not submit the package to AUR?
Offline
How to modify files to use standard "linux" name for kernel?
It was "linux" at the beginning. I renamed to linux-ak, due to advice of clashing package names as a reason of error submitting to AUR. But renaming did not help.
To rollback the name just replace in PKGBUILD:
- pkgbase=linux-ak
+ pkgbase=linux
Offline
just replace in PKGBUILD:
- pkgbase=linux-ak + pkgbase=linux
Thanks a lot!!! A great pleasure to work with you.
DEPMOD 3.10.9-1-ak
==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
==> Creating package "linux-ak"...
-> Generating .PKGINFO file...
-> Adding install file...
-> Generating .MTREE file...
-> Compressing package...
==> Starting package_linux-ak-headers()...
==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
==> Creating package "linux-ak-headers"...
-> Generating .PKGINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Starting package_linux-ak-docs()...
==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
==> Creating package "linux-ak-docs"...
-> Generating .PKGINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: linux-ak 3.10.9-1 (Tue Aug 27 16:09:26 EEST 2013)
[offtop]Извини, но ты, как ни крути, опытнее меня. Ни разу не сабмиттил в аур. Ежели б мог - помог[/offtop]
Last edited by ZeroLinux (2013-08-27 14:14:53)
Offline
You can't submit a package with a name which clashes with the name of a package in the official repos. 'linux' is probably about the most basic clash you could try .
EDIT: Obviously I agree that error is singularly unhelpful but I'm guessing it is just a poor error report. In any case, you'll have to change the name to avoid the clash.
Still the same issue with name linux-ak
Offline
cfr wrote:You can't submit a package with a name which clashes with the name of a package in the official repos. 'linux' is probably about the most basic clash you could try .
EDIT: Obviously I agree that error is singularly unhelpful but I'm guessing it is just a poor error report. In any case, you'll have to change the name to avoid the clash.
Still the same issue with name linux-ak
Yes. I'm not sure. The reason I suggest that was https://wiki.archlinux.org/index.php/Ar … _Standards which does suggest that it would not be accepted with "linux" as the name. I don't know if anything else here is helpful...
EDIT 2: Or https://wiki.archlinux.org/index.php/AU … g_packages
Last edited by cfr (2013-08-27 20:58:05)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Guys, i managed to learn PKGBUILD and submitted linux-ak to AUR (the problem was the original arch linux PKGBUILD does not have pkgname= defined)
https://aur.archlinux.org/packages/linux-ak/
It will not conflict with ARCH original kernel.
The /boot layout is:
/boot/initrd-linux-ak-fallback
/boot/vmlinuz-linux-ak
/boot/initrd-linux-ak
mkinitcpio preset installed as /etc/mkinitcpio.d/linux-ak.preset
You will need to update your bootloaders as well.
Please try it, test and report (see PKGBUILD for maintainer email)
Thanks.
Offline
alexey, you are a man!
Thanks a lot!!!
Offline
https://aur.archlinux.org/packages/linux-ak/ updated 3.10.10-1-ak
Offline
https://aur.archlinux.org/packages/linux-ak/ updated 3.10.10-1-ak
This patch doesn't work for me, sorry.
Also I have error
Error! echo
Your kernel headers for kernel 3.10.10-1-ak cannot be found at
/usr/lib/modules/3.10.10-1-ak/build or /usr/lib/modules/3.10.10-1-ak/source.
Ok.
Last edited by ZeroLinux (2013-09-01 20:07:06)
Offline
Did you install the headers along with the kernel? This is probably created as a separate package.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
The pkgbuild for that ak kernel seems to only be set up to package the kernel and modules (the parts provided by the 'linux' package for the ARCH kernel). What you would been to build 3rd party modules would be the headers (which are shipped as 'linux-headers' for the ARCH kernel). If you check out the PKGBUILD for the official kernel, you can see how they do this. The 'linux', 'linux-headers', and 'linux-docs' package are all built from a single PKGBUILD, simply being packaged with three different package functions. If you understand a bit of bash, it isn't all that hard to decipher what is going on there.
Offline
Right, this is only separated kernel package. The simple workaround is to symlink /usr/src/linux-3.10.10-1-ARCH to /usr/src/linux-3.10.10-1-ak, but before remove or rename the original usr/src/linux-3.10.10-1-ak
In 30 mins after i build and test i will update aur with linux-3.10.10-2-ak with a selfmade patch to disable annoying brightness changing by the i915 driver via ACPI keys, but you can control your brightness still with Fn+F5/6 using "acpi_osi=" kernel command line arg. I prefer to do it with my scripts so the brightness can be controlled more smoothly. The example scripts is also included in 3.10.10-2-ak package. I bind them to the keys like this: (i use icewm, also patched myself and can be found in my aur):
key "XF86MonBrightnessUp" XF86MonBrightness.sh "+5"
key "XF86MonBrightnessDown" XF86MonBrightness.sh "-5"
Last edited by alexey (2013-09-03 00:30:57)
Offline
I believ this is really handy to do with scripts:
key "XF86AudioLowerVolume" amixer.sh set Master "2%-"
key "XF86AudioRaiseVolume" amixer.sh set Master "2%+"
key "XF86AudioMute" amixer.sh set Master "toggle"
key "XF86KbdBrightnessUp" XF86KbdBrightness.sh up
key "XF86KbdBrightnessDown" XF86KbdBrightness.sh down
key "XF86MonBrightnessUp" XF86MonBrightness.sh "+5"
key "XF86MonBrightnessDown" XF86MonBrightness.sh "-5"
key "XF86TouchpadToggle" XF86TouchpadToggle.sh
But, of cause, this is OK for light weight WM's like IceWM is. For HUGE gnome, kde, lxde, xfce it does not suit. They have their own tools for that. Im from older times so got used to light wms hardly. Still mounting usbdrives with console mount and running 3G/4G modem connections with console command pppd call 3g (where 3g is a common peer name for 3g/4g operators). However i use wicd and blueman for wifi and bluetooth. also have scripts for wifi, but wicd is more handy when you jumping over the city's wifi networks..
arch is like a Lego. love it. love to make system that i love
ps. ah... forgot to say all scripts use libnotify's notify-send tool and lightweight OSD daemon - "dunst" is cool with it's notifications.
Last edited by alexey (2013-09-03 00:09:00)
Offline
As promised - updated https://aur.archlinux.org/packages/linux-ak/
Name : linux-ak
Version : 3.10.10-2
Description : The Arch Linux 3.10.10 kernel and modules patched for bug blank screen on UEFI laptops with intel
video(915, asus zenbook HD4000). https://bugzilla.kernel.org/show_bug.cgi?id=59841. And disable
changin backlight via acpi keys, let it be controlled by user scripts via
/sys/class/backlight/intel_backlight/*, on zenbook use acpi_osi= kernel paramenter to get Fn+F5 Fn+F6
accesible in X as XF86MonBrightnessUp and XF86MonBrightnessDown, Use example script
XF86MonBrightness.sh to setup brightness. Or comment out the patch to get things usual way. You should
have a script which sets wrting permissions to files that control brightness. See examples:
XF86KbdBrightness.sh XF86MonBrightness.sh XF86TouchpadToggle.sh
Offline