You are not logged in.

#1 2010-02-04 14:39:04

paulkoan
Member
Registered: 2010-02-01
Posts: 9
Website

kernel26-xen - nothing installed into /boot

Hello,

I am trying to install the xen kernel from aur so I can run arch as a domu.  So I am installing the kernel26-xen package.   I can see that it downloads the vanilla kernel into tmp/yaourt.. and then applies the various patches to make it xenable.

It then compiles the kernel and asks if I want to install it.  If I say "yes" nothing appears in /boot - no vmlinux images, no normal kernel images, nothing.  I can't decipher pkgbuilds yet, so I am not sure if this should be putting stuff in /boot or somewhere else for me to find...  Any tips?

Seems that yaourt also clears everything out of /tmp once it is done, which is annoying as if I want to change any kernel configs I have to do all that yaourt is doing for me manually.  I have searched for an answer to this, and the only suggestions are to tell yaourt to using some other place than tmp as it gets wiped at boot - however, the tmp working area is getting wiped post-install, I haven't rebooted.   Any tips how to get this to stop happening?

Sorry if this should be in the AUR section - this one seemed more appropriate.

Cheers,

Paul

Offline

#2 2010-02-04 15:20:11

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: kernel26-xen - nothing installed into /boot

Use makepkg instead of yaourt if you want more control over things. Also, yaourt is old and no longer maintained.

Moved to AUR forum.

Offline

#3 2010-02-04 15:30:24

paulkoan
Member
Registered: 2010-02-01
Posts: 9
Website

Re: kernel26-xen - nothing installed into /boot

Umm... thanks - makepkg doesn't seem to be a alternative to yaourt, just one of the utilities that yaourt uses to manage installs.  What is a good alternative to yaourt?

So you think that yaourt may be the reason kernel26-xen isn't installing anything into /boot?  Doesn't the PKGBUILD define what goes where?

Offline

#4 2010-02-04 15:37:12

jowilkin
Member
Registered: 2009-05-07
Posts: 243

Re: kernel26-xen - nothing installed into /boot

bauerbill, packer, and paktahn are all yaourt alternatives that have sprung up recently.

I've been using bauerbill and like it so far.

Offline

#5 2010-02-04 15:45:05

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: kernel26-xen - nothing installed into /boot

omg...

makepkg is THE official build tool for Arch packages. yaourt and similar apps are just wrappers around makepkg and pacman. If you really need this kind of thing, there are a few alternatives - search the forum for details.

I have no idea why nothing is installed in /boot, because you haven't posted any build output. The PKGBUILD copies System.map and bzImage to $pkgdir/boot so there's nothing wrong there.

Offline

#6 2010-02-04 17:04:14

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: kernel26-xen - nothing installed into /boot

Download the tarball in a directory maybe ~/build

cd build
makepkg -s PKGBUILD

After the package is build post the out put of :

ls pkg/boot/

Also paste the build log as tomk suggested.


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#7 2010-02-04 17:09:27

tomd123
Developer
Registered: 2008-08-12
Posts: 565

Re: kernel26-xen - nothing installed into /boot

tomk wrote:

Use makepkg instead of yaourt if you want more control over things.

yaourt is just a wrapper, it's the same thing as using makepkg...

Offline

#8 2010-02-04 21:03:26

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: kernel26-xen - nothing installed into /boot

tomd123 - the OP's problem stated above is that he wants to stop yaourt doing some annoying stuff that it does. He wouldn't have this problem if he used makepkg, because they are most definitely NOT the same thing.

Offline

#9 2010-02-04 22:47:57

raku
Member
Registered: 2006-08-23
Posts: 48

Re: kernel26-xen - nothing installed into /boot

Read my comment on AUR page:

To build a package, you need to switch comments in pkgname lines in top of PKGBUILD like this:

pkgname=('kernel26-xen' 'kernel26-xen-headers') # Build kernel with a different name
#pkgname="kernel26-xen" # Build kernel with a different name

PKGBUILD for kernel26-xen uses new split PKGBUILD (as kernel26 does). But unfortunately, AUR doesn't support split PKGBUILDs and won't let me upload proper PKGBUILD.


raku

Offline

#10 2010-02-04 23:32:48

paulkoan
Member
Registered: 2010-02-01
Posts: 9
Website

Re: kernel26-xen - nothing installed into /boot

tomk wrote:

tomd123 - the OP's problem stated above is that he wants to stop yaourt doing some annoying stuff that it does. He wouldn't have this problem if he used makepkg, because they are most definitely NOT the same thing.

I want to stop yaourt doing the annoying things without losing the good things it does.  makepkg appears to be the same as having manual package management - where I need to track and download updates myself.

Offline

#11 2010-02-04 23:34:06

paulkoan
Member
Registered: 2010-02-01
Posts: 9
Website

Re: kernel26-xen - nothing installed into /boot

raku wrote:

Read my comment on AUR page:

To build a package, you need to switch comments in pkgname lines in top of PKGBUILD like this:

pkgname=('kernel26-xen' 'kernel26-xen-headers') # Build kernel with a different name
#pkgname="kernel26-xen" # Build kernel with a different name

PKGBUILD for kernel26-xen uses new split PKGBUILD (as kernel26 does). But unfortunately, AUR doesn't support split PKGBUILDs and won't let me upload proper PKGBUILD.

Ok, what do I need to do exactly?  Download the package, then change the pkgname, then use makepkg?

Offline

#12 2010-02-05 15:29:33

paulkoan
Member
Registered: 2010-02-01
Posts: 9
Website

Re: kernel26-xen - nothing installed into /boot

Ok, I edited the file by commenting out the pkgname and uncommenting the split package name:

$ makepkg -sf PKGBUILD
==> Making package: kernel26-xen 2.6.32.2-2 x86_64 (Sat Feb  6 02:26:14 EST 2010)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
  -> Found linux-2.6.32.tar.bz2 in build dir
  -> Found patch-2.6.32.2-2-ARCH.bz2 in build dir
  -> Found config in build dir
  -> Found config.x86_64 in build dir
  -> Found kernel26.preset in build dir
==> Validating source files with md5sums...
    linux-2.6.32.tar.bz2 ... Passed
    patch-2.6.32.2-2-ARCH.bz2 ... Passed
    config ... Passed
    config.x86_64 ... Passed
    kernel26.preset ... Passed
==> Extracting Sources...
  -> Extracting linux-2.6.32.tar.bz2 with bsdtar
  -> Extracting patch-2.6.32.2-2-ARCH.bz2 with bzip2
==> Removing existing pkg/ directory...
==> Starting build()...
patching file arch/arm/mach-pxa/em-x270.c
patching file arch/ia64/include/asm/io.h
patching file arch/ia64/mm/ioremap.c
patching file arch/powerpc/kernel/vector.S
patching file arch/s390/include/asm/kvm.h
patching file arch/s390/kernel/head64.S
patching file arch/s390/kvm/kvm-s390.c
patching file arch/s390/kvm/sigp.c
patching file arch/sparc/kernel/ldc.c
patching file arch/sparc/kernel/of_device_64.c
patching file arch/sparc/lib/mcount.S
patching file arch/sparc/Makefile
patching file arch/x86/include/asm/irq_vectors.h
patching file arch/x86/include/asm/kvm_emulate.h
patching file arch/x86/include/asm/mce.h
patching file arch/x86/kernel/acpi/cstate.c
patching file arch/x86/kernel/amd_iommu.c
patching file arch/x86/kernel/amd_iommu_init.c
patching file arch/x86/kernel/apic/apic.c
patching file arch/x86/kernel/cpu/intel_cacheinfo.c
patching file arch/x86/kernel/cpu/mcheck/mce.c
patching file arch/x86/kernel/cpu/mcheck/therm_throt.c
patching file arch/x86/kernel/cpu/perfctr-watchdog.c
patching file arch/x86/kernel/pci-calgary_64.c
patching file arch/x86/kernel/pci-dma.c
patching file arch/x86/kernel/pci-gart_64.c
patching file arch/x86/kernel/reboot.c
patching file arch/x86/kernel/setup.c
patching file arch/x86/kernel/tlb_uv.c
patching file arch/x86/kvm/emulate.c
patching file arch/x86/kvm/x86.c
patching file arch/x86/Makefile_32.cpu
patching file arch/x86/xen/enlighten.c
patching file arch/x86/xen/mmu.c
patching file arch/x86/xen/smp.c
patching file arch/x86/xen/suspend.c
patching file arch/x86/xen/time.c
patching file arch/x86/xen/xen-asm_64.S
patching file arch/x86/xen/xen-ops.h
patching file Documentation/Changes
patching file Documentation/filesystems/ext4.txt
patching file Documentation/kernel-parameters.txt
patching file Documentation/video4linux/gspca.txt
patching file drivers/ata/pata_hpt37x.c
patching file drivers/ata/pata_hpt3x2n.c
patching file drivers/base/core.c
patching file drivers/base/power/runtime.c
patching file drivers/firewire/ohci.c
patching file drivers/gpu/drm/drm_irq.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/intel_display.c
The next patch would create the file drivers/gpu/drm/i915/intel_display.c.orig,
which already exists!  Skipping patch.
1 out of 1 hunk ignored
patching file drivers/gpu/drm/i915/intel_dp.c
patching file drivers/gpu/drm/i915/intel_tv.c
patching file drivers/gpu/drm/radeon/atombios_crtc.c
patching file drivers/gpu/drm/radeon/radeon_atombios.c
patching file drivers/gpu/drm/radeon/radeon_legacy_crtc.c
patching file drivers/gpu/drm/radeon/rs600.c
patching file drivers/gpu/drm/radeon/rs690.c
patching file drivers/ide/slc90e66.c
patching file drivers/macintosh/therm_adt746x.c
patching file drivers/macintosh/windfarm_smu_controls.c
patching file drivers/md/bitmap.c
patching file drivers/md/bitmap.h
patching file drivers/md/dm-crypt.c
patching file drivers/md/dm-exception-store.c
patching file drivers/md/dm-ioctl.c
patching file drivers/md/dm-snap.c
patching file drivers/md/dm-uevent.c
patching file drivers/md/md.c
patching file drivers/md/md.h
patching file drivers/media/common/tuners/mxl5007t.c
patching file drivers/media/video/gspca/ov519.c
patching file drivers/mtd/ubi/upd.c
patching file drivers/net/b44.c
patching file drivers/net/bcm63xx_enet.c
patching file drivers/net/wireless/ath/ath5k/eeprom.c
patching file drivers/net/wireless/ath/ath5k/phy.c
patching file drivers/net/wireless/ath/ath9k/ath9k.h
patching file drivers/net/wireless/ath/ath9k/hw.c
patching file drivers/net/wireless/ath/ath9k/hw.h
patching file drivers/net/wireless/ath/ath9k/mac.c
patching file drivers/net/wireless/ath/ath9k/mac.h
patching file drivers/net/wireless/ath/ath9k/main.c
patching file drivers/net/wireless/ath/ath9k/xmit.c
patching file drivers/net/wireless/b43legacy/rfkill.c
patching file drivers/net/wireless/ipw2x00/ipw2100.c
patching file drivers/net/wireless/rtl818x/rtl8187_dev.c
patching file drivers/net/wireless/rtl818x/rtl8187.h
patching file drivers/net/wireless/rtl818x/rtl8187_rfkill.c
patching file drivers/pci/dmar.c
patching file drivers/pci/intel-iommu.c
patching file drivers/platform/x86/acerhdf.c
patching file drivers/platform/x86/asus-laptop.c
patching file drivers/platform/x86/thinkpad_acpi.c
patching file drivers/scsi/hosts.c
patching file drivers/scsi/lpfc/lpfc_init.c
patching file drivers/scsi/megaraid/megaraid_sas.c
patching file drivers/scsi/qla2xxx/qla_attr.c
patching file drivers/scsi/scsi_lib_dma.c
patching file drivers/serial/8250.c
patching file drivers/ssb/sprom.c
patching file drivers/usb/class/usbtmc.c
patching file drivers/usb/core/usb.c
patching file drivers/usb/musb/musb_gadget_ep0.c
patching file drivers/usb/serial/option.c
patching file drivers/usb/storage/transport.c
patching file drivers/usb/storage/unusual_devs.h
patching file drivers/usb/storage/usb.c
patching file drivers/video/logo/logo_linux_clut224.ppm
patching file drivers/video/logo/logo_linux_mono.pbm
patching file drivers/video/logo/logo_linux_vga16.ppm
patching file drivers/video/matrox/g450_pll.c
patching file drivers/xen/balloon.c
patching file drivers/xen/events.c
patching file drivers/xen/manage.c
patching file drivers/xen/xenbus/xenbus_probe.c
patching file fs/debugfs/inode.c
patching file fs/devpts/inode.c
patching file fs/ext3/inode.c
patching file fs/ext4/balloc.c
patching file fs/ext4/block_validity.c
patching file fs/ext4/ext4.h
patching file fs/ext4/ext4_jbd2.h
patching file fs/ext4/extents.c
patching file fs/ext4/fsync.c
patching file fs/ext4/inode.c
patching file fs/ext4/ioctl.c
patching file fs/ext4/mballoc.c
patching file fs/ext4/migrate.c
patching file fs/ext4/move_extent.c
patching file fs/ext4/namei.c
patching file fs/ext4/resize.c
patching file fs/ext4/super.c
patching file fs/ext4/xattr.c
patching file fs/hfs/catalog.c
patching file fs/hfs/dir.c
patching file fs/hfs/super.c
patching file fs/jbd2/commit.c
patching file fs/jbd2/journal.c
patching file fs/jffs2/gc.c
patching file fs/namei.c
patching file fs/namespace.c
patching file fs/nfs/write.c
patching file fs/open.c
patching file fs/splice.c
patching file include/drm/drmP.h
patching file include/drm/ttm/ttm_memory.h
patching file include/linux/hrtimer.h
patching file include/linux/kvm.h
patching file include/linux/namei.h
patching file include/linux/perf_event.h
patching file include/linux/sched.h
patching file include/linux/splice.h
patching file include/linux/usb_usual.h
patching file include/linux/vmalloc.h
patching file include/net/tcp.h
patching file include/scsi/osd_protocol.h
patching file include/scsi/scsi_host.h
patching file include/trace/ftrace.h
patching file kernel/acct.c
patching file kernel/futex.c
patching file kernel/perf_event.c
patching file kernel/rcutree.c
patching file kernel/rcutree.h
patching file kernel/rcutree_plugin.h
patching file kernel/sched.c
patching file kernel/sched_debug.c
patching file kernel/sched_fair.c
patching file MAINTAINERS
patching file Makefile
patching file mm/memcontrol.c
patching file mm/memory.c
patching file mm/mincore.c
patching file mm/pagewalk.c
patching file mm/vmalloc.c
patching file net/core/dev.c
patching file net/core/rtnetlink.c
patching file net/ipv4/ip_output.c
patching file net/mac80211/cfg.c
patching file net/mac80211/ieee80211_i.h
patching file net/mac80211/mesh.h
patching file net/mac80211/mesh_hwmp.c
patching file net/mac80211/rx.c
patching file net/mac80211/scan.c
patching file net/mac80211/util.c
patching file net/netfilter/ipvs/ip_vs_ctl.c
patching file net/sunrpc/auth_gss/auth_gss.c
patching file security/device_cgroup.c
patching file security/integrity/ima/ima_main.c
patching file security/security.c
patching file sound/core/hrtimer.c
patching file sound/pci/hda/hda_intel.c
patching file virt/kvm/irq_comm.c
==> ERROR: Build Failed.
    Aborting...

Is this the build log or is it elsewhere?

Offline

#13 2010-02-05 18:44:07

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: kernel26-xen - nothing installed into /boot

The patch failed because one hunk was ignored. The error message tells you why it was ignored so you can investigate.

Offline

#14 2010-02-06 14:30:27

paulkoan
Member
Registered: 2010-02-01
Posts: 9
Website

Re: kernel26-xen - nothing installed into /boot

Yes.

Then use pacman to install the kernel26 and kernel26-headers tarballs that get created.

Works perfectly.

Offline

Board footer

Powered by FluxBB