Making own kernel patches?

Dear archers,
I had to change a file (saa7134-card.c) in kernel source to make my Avermedia TV Tuner work. But i must try to change some code in the file several time. It's not a problem if i'm compiling the kernel by traditional way, but if i follow the arch way, it's so time consumed because i had to extract the original kernel source and then edit saa7134-card.c file again. Then, some questions pop-up in my mind...
1. How do i edit a file in kernel source tarball and put it again in the tarball?
2. How do i make my own kernel patch?
3. Do pacman always extract the sources tarball and overwrite files in $startdir/src when i do makepkg? is it possible to skip that step in makepkg process?

Your best bet would just be make a diff file and add that to your PKGBUILD. Just make the changes and save it under a different file name. Use diff to create the file and then use patch to apply it in your PKGBUILD. Here's how I do it
patch --ignore-whitespace <$startdir/right-click.diff $startdir/src/$pkgname-$pkgver/src/adesklets.c

Similar Messages

  • Making a kernel PKGBUILD

    Hello,
    I tried to make my own kernel package with the abs system. I studied the wiki documentation (http://wiki.archlinux.org/index.php/Cus … n_with_ABS)
    After making all configurations in the PKGBUILD, I copied the "kernel126.install", kernel-config-file and the patches in /var/abs/local/kernel26-sn-client-04"
    My PKGBUILD:
    # Contributor: Flasher <[email protected]>
    pkgname=kernel26-sn-client-04
    pkgver=2.6.13
    pkgrel=1
    pkgdesc="The Linux Kernel 2.6.13.4 for sn-client-04 withpatches for softcam"
    url="http://www.kernel.org"
    depends=('module-init-tools')
    install=kernel26.install
    ##### add any patch sources to this section
    source=(config ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-$pkgver.tar.bz2
    dvb_demux.c.patch av7110_ca.c.patch )
    # Function to grab var from src
    getvar() {
    old=$(cat Makefile | grep "^$1")
    echo $(echo ${old/"$1 ="/} | sed -e "s/[ ]*(.*)[ ]*/1/g")
    return 0
    build() {
    cd $startdir/src/linux-$pkgver
    ##### Uncomment and apply any patches here
    patch -Np1 -i ../dvb_demux.c.patch || return 1
    patch -Np1 -i ../av7110_ca.c.patch || return 1
    # get rid of the 'i' in i686
    carch=`echo $CARCH | sed 's|i||'`
    cat ../config | sed "s|#CARCH#|$carch|g" >./.config
    ##### Load config - uncomment your preferred config method
    #yes "" | make config
    #make oldconfig || return 1
    make menuconfig
    #make xconfig
    #make gconfig
    ##### NO USER CHANGES BELOW HERE #####
    # save the current pkgname
    old_pkgname=$pkgname
    # set pkgname for build purposes - DO NOT alter!
    pkgname=kernel26
    # save the updated config to build with today's date
    cp ./.config $startdir/config-$(date +%b%d-%Hh)
    # get EXTRAVERSION from Makefile to create a unique pkgname and /usr/src directory
    _kernextra=$(getvar "EXTRAVERSION")
    # grab the 2.6.x.y version suffix from pkgver
    _y="`echo $pkgver | cut --delim "." --fields 4`"
    # remove .y version suffix from _kernextra
    _kernextra="`echo $_kernextra | sed "s|.$_y||g"`"
    # Read the full kernel version info from new config to use in pathnames and pkgname
    . ./.config
    # Kernel custom - to create a unique pkgname (see below)
    _kerncust="${_kernextra}${CONFIG_LOCALVERSION}"
    # Kernel release - will be the same as Makefile
    _kernrel="${pkgver}${_kerncust}"
    # Get the pkgver suffix for unique pkgname and /boot file suffices
    _pkgversuf="`echo $pkgver | sed "s|2.6.||g" | sed "s|.||g"`"
    # Set /boot file suffices from kernel release and pkgver suffix
    _kernboot="${_pkgversuf}${_kerncust}"
    # Set a new pkgname from kernel release and pkgver suffix
    pkgname="${pkgname}${_pkgversuf}${_kerncust}"
    # build!
    echo
    echo -n "Do you want to make clean (default YES)? (YES/NO): "
    read choice
    echo
    echo -n "Press any key to start make or CTRL+C to quit"
    read anykey
    if [ "${choice}" = "NO" ] ; then
    make bzImage modules || return 1
    else
    make clean bzImage modules || return 1
    fi
    mkdir -p $startdir/pkg/{lib/modules,boot}
    make INSTALL_MOD_PATH=$startdir/pkg modules_install || return 1
    cp System.map $startdir/pkg/boot/System.map26${_kernboot}
    cp arch/i386/boot/bzImage $startdir/pkg/boot/vmlinuz26${_kernboot}
    install -D -m644 Makefile
    $startdir/pkg/usr/src/linux-${_kernrel}/Makefile
    install -D -m644 .config
    $startdir/pkg/usr/src/linux-${_kernrel}/.config
    install -D -m644 .config $startdir/pkg/boot/kconfig26${_kernboot}
    mkdir -p $startdir/pkg/usr/src/linux-${_kernrel}/include
    mkdir -p $startdir/pkg/usr/src/linux-${_kernrel}/arch/i386/kernel
    for i in acpi asm-generic asm-i386 config linux math-emu net pcmcia scsi video; do
    cp -a include/$i $startdir/pkg/usr/src/linux-${_kernrel}/include/
    done
    # copy files necessary for later builds, like nvidia and vmware
    cp Module.symvers $startdir/pkg/usr/src/linux-${_kernrel}
    cp -a scripts $startdir/pkg/usr/src/linux-${_kernrel}
    mkdir -p $startdir/pkg/usr/src/linux-${_kernrel}/.tmp_versions
    cp arch/i386/Makefile $startdir/pkg/usr/src/linux-${_kernrel}/arch/i386/
    cp arch/i386/kernel/asm-offsets.s
    $startdir/pkg/usr/src/linux-${_kernrel}/arch/i386/kernel/
    # copy in Kconfig files
    for i in `find . -name "Kconfig*"`; do
    mkdir -p $startdir/pkg/usr/src/linux-${_kernrel}/`echo $i | sed 's|/Kconfig.*||'`
    cp $i $startdir/pkg/usr/src/linux-${_kernrel}/$i
    done
    cd $startdir/pkg/usr/src/linux-${_kernrel}/include && ln -s asm-i386 asm
    chown -R root.root $startdir/pkg/usr/src/linux-${_kernrel}
    cd $startdir/pkg/lib/modules/${_kernrel} &&
    (rm -f source build; ln -sf /usr/src/linux-${_kernrel} build)
    # Correct the pkgname in our PKGBUILD - this allows correct gensync operation
    # NOTE: pkgname variable must be declared with first 10 lines of PKGBUILD!
    cd $startdir
    sed -i "1,11 s|pkgname=$old_pkgname|pkgname=$pkgname|" ./PKGBUILD
    # vim:syntax=sh
    When I execute the command "makepkg" I get the following error message:
    [root@sn-client-04 kernel26-sn-client-04]# makepkg
    : command not found
    : command not found:
    '/PKGBUILD: line 15: syntax error near unexpected token `{
    '/PKGBUILD: line 15: `getvar() {
    ) does not exist.l scriptlet (kernel26.install
    Does anybody know the mistake in my configuration?
    Thanks for your answers! 
    Greetings
    Flasher

    Sorry, but this wasn't the mistake  :?
    Now, all sources are located in one line:
    # Contributor: Flasher <xxxxxxxxxxxxxxxxxxxx>
    pkgname=kernel26-sn-client-04
    pkgver=2.6.13.4
    pkgrel=1
    pkgdesc="The Linux Kernel 2.6.13.4 for sn-client-04 with patches for softcam"
    url="http://www.kernel.org"
    depends=('module-init-tools')
    install=kernel26.install
    ##### add any patch sources to this section
    source=(config ftp://ftp.kernel.org/pub/linux/kernel/v … er.tar.bz2 dvb_demux.c.patch av7110_ca.c.patch)
    # Function to grab var from src
    getvar() {
      old=$(cat Makefile | grep "^$1")
      echo $(echo ${old/"$1 ="/} | sed -e "s/[ ]*(.*)[ ]*/1/g")
      return 0
    build() {
      cd $startdir/src/linux-$pkgver
      ##### Uncomment and apply any patches here
      patch -Np1 -i ../dvb_demux.c.patch || return 1
      patch -Np1 -i ../av7110_ca.c.patch || return 1
      # get rid of the 'i' in i686
      carch=`echo $CARCH | sed 's|i||'`
      cat ../config | sed "s|#CARCH#|$carch|g" >./.config
      ##### Load config - uncomment your preferred config method
      #yes "" | make config
      #make oldconfig || return 1
      make menuconfig
      #make xconfig
      #make gconfig
      ##### NO USER CHANGES BELOW HERE #####
    The error message is the same: (only line 14 instead of line 15)
    [root@sn-client-04 kernel26-sn-client-04]# makepkg
    : command not found
    : command not found:
    '/PKGBUILD: line 14: syntax error near unexpected token `{
    '/PKGBUILD: line 14: `getvar() {
    ) does not exist.l scriptlet (kernel26.install
    I think it must be correct  Any ideas?
    Greetings
    Flasher
    P.S.: Sorry for my german-english 

  • Compile my own kernel?

    Hi!
    I wan't to edit and compile my own kernel, so I got even more structure on my machine - and I hope to get a little more performance.
    How do I edit and Compile a custom kernel?
    [EDIT] And maybe how I make all my own-compiled programs to be compiled to a Pentium4 processor As i could when I was a Gentoo user

    Kris;
    There is a wiki for custom kernel generation.
    Basically, you can use ABS to obtain the basic kernel  and its accompanying patches and config file.  ABS is  Arch Build System which somewhat automates the making of packages, including custom kernels.
    Just run abs in CL and find the download in /var/abs/kernels.
    The kernel you desire to customize is found therein.
    You customize it by modifying the kernelconfig and setup PKGBUILD file.
    Run "makepkg" on the PKGBUILD and then run pacman -A (name of custom kernel.pkg.tar.gz).  If using lilo run/sbin/lilo before reboot.
    The steps are outlined in the wikis.
    Best of luck!!!

  • Rolling my own kernel off a fresh install

    Hey folks!
    I just recently acquired an Acer Aspire One. In a vain effort to get the wireless working off of a fresh install I thought that I might compile my own kernel version 2.6.27 (and I hoped that the ath5k driver would automagically work). Sadly I ran into some issues, and owing to my ignorance of Linux kernel compiling magic I have posted here to the Newbie forum:
    So I get to the point where I need to install the kernel (after compiling from source), but I lack the program mkinitrd. I did some research and apparently we use mkinitramfs, which the fresh install also doesn't come with.
    My questions are thus:
    1) Is it possible to make an initrd on a computer which the initrd is NOT intended for?
    2) Why is it that a fresh install doesn't come with the stuff required to recompile a kernel, I would think that might be important?
    I am thankful for any help!

    Hey awesome, this looks good.
    If a package is included in the "Core" repository, does that mean it comes rolled up with the Arch install?
    EDIT:
    I see now that this is the case. From the Official Arch Linux Install Guide:
    The core iso (~300MB) is a live environment which contains a snapshot of the entire /core repository. Packages are divided into 4 categories: BASE, SUPPORT, DEVEL and LIB. RAID/LVM are fully supported; all necessary packages are included within /core. Installing from a medium created with this image results in a completely functional GNU/Linux system, without any frills, expecting to be used from the command line; the Linux kernel, GNU toolchain and a few extra modules and libraries. This image is ideally suited for those who have a rather slow or nonexistent internet connection on the candidate machine, making an FTP install unfeasible. The name of the iso will be "archlinux-i686-2008.xx-x.core.iso", according to your architecture
    Last edited by amackera (2008-11-04 01:15:00)

  • Kernel patches

    Not too long ago I posted a request to the forums and flyspray for adding the fbcondecor patch to the arch kernel:
    http://bbs.archlinux.org/viewtopic.php?id=38966
    Quite a few other people wanted it as well. Needless to say it was turned down:
    Closed by  Thomas Bächler (brain0)
    Tuesday, 23 October 2007, 12:49 GMT-5
    Reason for closing:  Won't implement
    Additional comments about closing:  We don't randomly add features to our kernel, we like to stay as vanilla as possible.
    No problem. I saw the point. I moved on and patched my own kernel. However I got really pissed off when I saw the undervolting patch among other patches being added in the next kernel release, kernel26 2.6.23.1-7. It sure looks like features are randomly added to the arch kernel. Doesn't it?
    EDIT:
    To make this more of a constructive criticism than a rant let me ask the question:
    What is the process used by the devs for deciding what patch is added to the arch kernel?
    Last edited by raymano (2007-11-09 12:27:24)

    raymano wrote:However I got really pissed off when I saw the undervolting patch among other patches being added in the next kernel release, kernel26 2.6.23.1-7. It sure looks like features are randomly added to the arch kernel. Doesn't it?
    So because you didn't get the feature you wanted, and someone else did, that makes you mad?  I can assure you that patches aren't "randomly" added, and I'm sure if you take a step back you can agree that an undervolting patch has a greater overall benefit than a bootsplash patch.
    (-edit- Hm, upon re-reading it sounds like I'm supporting the undervolting patch. I suppose I should add that I have no use for either undervolting or bootsplash.  I could do without either, and I recognize that undervolting in and of itself can be dangerous and unstable, however the heat and battery savings shouldn't be overloooked either. 
    I don't intend to support anything over anything else - my point was that undervolting offers tangible benefits, while bootsplash is simply eye candy.  Regardless, I leave these decisions up to the kernel maintainers, as I lack the knowledge and experience to make informed decisions on such things. -/edit-)
    Now, that aside, as tomk pointed out we're currently having a discussion on what gets included and what doesn't as far as kernel patches go.  Hopefully a solid policy will emerge from this.  However, the attitude of "I didn't get what I wanted so now I'm mad!" won't get you very far.
    Last edited by Cerebral (2007-11-09 14:54:12)

  • Kernel patches = total downtime?

    We are preparing to install errata patches for RHEL4 and I am trying to find any documentation that might tell me whether or not we need to bring down a cluster to install the kernel patches. I remember hearing somewhere that most OS kernel patches require the cluster to come down because each node must be at the same level. How do I determine if this applies for the patches at hand?
    kernel-largesmp-2.6.9-67.0.1.EL.x86_64.rpm
    oracleasm-2.6.9-67.0.1.ELlargesmp-2.0.3-1.x86_64.rpm
    ocfs2-2.6.9-67.0.1.ELlargesmp-1.2.7-1.el4.x86_64.rpm
    TIA

    Oracle Support.... or lack thereof. They said they do not test everything in house, so I would have to test on my own. Obviously, I wound up with one of those front-line people.
    Anyway, I did test the rolling patch on my end and it appears to fine.

  • Kernel Patch Advice

    We have typical DV1-> QS1-> PR1 landscape (ECC6) installed on window 2003 server with SQL Server as backend.
    We also have high availibility system HA1 which is coupled with PRD with SQL transaction log.
    We patched kernel of DV1 server from level 159 to 201. Also applied plugin ST-A/PI and ST-PI, and patched SPAM and SAINT .
    Moving forward we are planning to first apply this kernel patch to HA1 server before patching PR1.
    For that we will first bring HA1 live, apply the kernel patch and then again put it in sync with PR1 .
    Following are my concerns :
    1> Do I need to apply plugins ST-A/PI and ST-PI, and patch SPAM and SAINT on HA1 server or will it be automatically transferred from PR1 as part of SQL Transaction Logs.
    2>After patching kernel on HA1 will there be any problem making database in sync with PR1 (as PR1 will still be at level 159).
    Regards,
    Pawan.

    Hello,
    You need to apply support packs (ST-PI etc.) & kernel patches on PR1.
    Since there's just one database (usually on a shared storage), you don't need to repeat any of these activities on the second node.
    Thanks,
    Saba.
    Edited by: Saba Sheikh on Sep 9, 2009 11:54 AM

  • Kernel Patch upgrade results into error

    Recently, we upgraded our R/3 640 kernel from patch number 196 to 327. It went successful.
    But now, the Sales and order team is having problem in saving the orders(VA02, VA01).
    While saving Sales order, error pops up saying "dialog step number missing". 
    Kindly suggest.

    Hi ppl,
    The problem has been resolved.
    As i said, problem wasnt with the upgrade, but came thereafter, functional team faced issues while switching between the windows.
    Problem was with the Gui level, it needed to be upgraded too after the kernel patch upgrade.
    Thanks a lot for putting your thoughts.
    Thanks

  • ABAP and Kernel Patches for Upgrade and Conversion in 4.6C

    Hi,
    We are in a process of upgrade and unicode conversion for the source release 4.6C (Kernel  46D_EXT Patch 2225).
    "Combined Upgrade&Unicode Conversion Guide"  for "SAP Basis 4.6C u2192 SAP NetWeaver 7.0 application Server ABAP Unicode Including Enhancement Package 1 Support Package 01 - 06" , In Software Requirements step,  it says
    "3. Import 4.6D Kernel patch 2326 from SAP Service Marketplace according to SAP Note 19466"
    We wanted to know whether "IT IS ABSOLUTELY NECCESSARY TO GO FOR THE KERNEL PATCH 2326".  We dont have "EBCIDIC code pages" in our MDMP system.
    We need to know  becauase we are also doing OS migration from AIX to Sun and this step will add to our production downtime.
    Please advice what are the other causes we should go for the kernel 2326.
    Regards

    Hello Mr. Nils Buerckel,
    Thanks for the reply.
    We wanted to be very sure whether we should used Kernel 46D Kernel patch 2326 (As it is specifically mentioned in the SAP CU&UC guide and in SAP Note 867193, It is mentioned that  "This patch contains enhancements that are required to execute the "INDX Analysis" scan)
    OR
    Can we go for the latest kernel patch avaialable at market place? And Will the latest kernel patch also contains the "enhancements that are required to execute the "INDX Analysis" ?
    Please reply
    Thanks

  • A little question about compiling my own kernel

    Hii, How can I know please, wich moudle is loaded in my current kernel and being used?
    for example, if I have now the RAID xxxx , and I don't use it, so when compiling my own Kernel, I don't need it.
    How can I know wich ones arn't needed?

    Ok Lsmod I know, is there any thing else?

  • Installing own kernel...

    I have no problem git cloning my kernel of choice and configuring. My question is when compiling a new video drivers or any other package that might be dependent on Linux sources. I usually use the /usr/src directory. I am having trouble with the PKGBUILD on kernel26zen-git. It fails at installing after compile.
    Is there a global symlink ?Like there is in Gentoo? Where, I can custom build my kernels, and not have to worry about when I install new Nvidia drivers from there website. I am just greatly disappointed in these custom PKGBUILDS, and I don't need a initrd package. Are there any special parameters I need to be aware of... such as any global symlinks?
    Am I going to have problems install drivers from Nvidia's site if I decide not use the kernel26 packages, or any other package that compiles against the kernel sources..?
    Here's the error I get from the PKGBUILD
    ==> ERROR: Failed... Your source tree might be broken. Run 'make mrproper' in src/kernel26zen to clean it up
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build kernel26zen package
    Last edited by StanIsTheMan (2009-09-26 20:36:48)

    B wrote:
    The PKGBUILD seems to be pointing to his own kernel chanco, shouldn't be a problem.
    @ OP: did you try the suggestion the error is giving you? I.e. a
    make mproper
    in the source tree?
    I was going to ... but I decided on a static kernel. And since I used to write ebuilds for my own packages, I decided to take up the task of writing my own PKGBUILD /w a static kernel, using the zen-sources git tree.
    BTW, am I going to be running into any problems in the future when running updates through pacman /w the way my kernel is setup? That's ,my main concern, since I am using a static kernel.  Though I do use my own video drivers from the Nvidia site, so I am not worried about video drivers.
    I guess I became accustomed with gentoo, that so much of the transition has been different.  Though I like Arch and its ABS, and AUR, plus there are lot of packages available.
    Last edited by StanIsTheMan (2009-09-27 23:03:52)

  • Static library not accessed properly after Solaris Kernel patch update !

    Hi,
    We are facing a sever issue in our application after our customer updated the Solaris 10 kernel patch u9 to u10.
    We have two static libraries libdlib.a and libDLIB.a, with exactly same code base, but these two libraries are scattered across the code base and linked by many shared objects in our application.
    However, one of the shared objects that links to "libdlib.a" library tries to access a function from "libDLIB.a". This behavior is causing a crash at a later point, since that shared object is supposed to access the function from "libdlib.a". Moreover, we found this is happening through the use of dbx.
    I'm unable to understand why this problem surfaced after kernel patch update, though still the shared object works fine on Solaris 10 u9 patch.
    Flow is something like this :
    1. syslogrecorder.so gets loaded by one of the processes.
    2. syslogrecorder.so is linked to "libdlib.a" at compile time, so it uses "libdlib.a" function DLIB_LoadLibrary and gets a handle to all the function pointers of the loaded library ( The purpose of DLIB_LoadLibrary is to load a shared library dynamically using dlopen )
    3. syslogrecorder.so tries to do a "dlsym" and to do that it needs access to the library handle which we got in previous call DLIB_LoadLibrary. So syslogrecorder.so calls another function from DLIB_ProcAddress, which actually gives back the access to the loaded shared library.
    Here is a catch in step 3, it is supposed to call DLIB_ProcAddress from the libdlib.a but as we observed from dbx output it does so by calling DLIB_ProcAddress from libDLIB.a and hence fails to give back the access to loaded shared library, causing crash at a later point in code.
    Can someone put some light here that why this could happen ??
    Thanks
    Kuldeep

    To clarify: You did not modify or rebuild any of your binaries, but after installing a kernel patch, the application stopped working. Most likely, something about your application depended on a accidental behavior of the runtime loader. That accidental behavior changed due to the patch, and your application failed.
    For example, if there is a circular dependency among shared libraries, the loader will break the cycle at an arbitrary point to establish an initialization order. By accident, that order might work, in the sense of not causing a problem. A change to the loader could cause the cycle to be broken at a different point, and the resulting initialization order could cause a now-uninitialized object to be accessed. I'm not saying this is what is wrong, but this is an example of a dependency on accidental loader behavior.
    Finding your actual problem will require tracing the sequence of operations leading up to the failure. You are more likely to find help in a Solaris linker forum. AFAIK, there are currently no Oracle forums for Solaris, and the old OpenSolaris forums have been converted to mailing lists. You can try the "tools-linking" list found on this page:
    http://mail.opensolaris.org/mailman/listinfo
    I also suggest you review the paper on best practices for using shared libraries written by Darryl Gove and myself:
    http://www.oracle.com/technetwork/articles/servers-storage-admin/linkinglibraries-396782.html
    If you have a service contract with Oracle, you can use your support channel to get more help.
    Edited by: Steve_Clamage on May 18, 2012 3:21 PM

  • Can I take my OS on kernel patch backwards?

    Hi All,
    I know that this is a weird question.
    Can I take my OS one (or two) kernel patch backwards?
    Lets say from "Generic_120011-14" to "Generic_118833-36". ? is it possiblle?
    All this mass is beacuse of a testing team at my work.
    Thanks!!!!

    It depends on how you got to 120011-14.
    If your initial install was 118833-36 or earlier and you patched up to 120011-14, then in theory you can back out the patches.
    But the initial install was higher than 118833-36. Or you live upgraded past it then you can't go back.
    Even if you patched past it, it would be a difficult excercise because there are a lot of related patches that rely on the higher kernel. So you would need to backout any patches that rely on it first.

  • Kernel Patch 108528-26 bad?

    On machine: SunOS boedev 5.8 Generic_108528-14 sun4u sparc SUNW,UltraAX-MP
    As part of the J2SE recommended patches, I attempted install of the downloaded 108528-26 kernel patch and received:
    <snip>
    Installation of <SUNWcar> was successful.
    This appears to be an attempt to install the same architecture and
    version of a package which is already installed. This installation
    will attempt to overwrite this package.
    pkgadd: ERROR: source path </export/home/src/J2SE_Solaris_8_Recommended/108528-2
    6/SUNWcarx.u/reloc/platform/SUNW,Sun-Blade-100/kernel/misc/sparcv9/platmod> is c
    orrupt
    file cksum <38281> expected <38278> actual
    pkgadd: ERROR: source path </export/home/src/J2SE_Solaris_8_Recommended/108528-2
    6/SUNWcarx.u/reloc/platform/SUNW,Sun-Blade-1000/kernel/misc/sparcv9/platmod> is
    corrupt
    file size <4832> expected <4830> actual
    file cksum <34048> expected <33987> actual
    Installation of <SUNWcarx> partially failed.
    ------------------------------>
    Then, without rebooting, I downloaded the separate patch 108528-26 and attempted to load with patchadd...basically the same result:
    Installation of <SUNWcar> was successful.
    This appears to be an attempt to install the same architecture and
    version of a package which is already installed. This installation
    will attempt to overwrite this package.
    WARNING: /kernel/sys/sparcv9/rpcmod <no longer a regular file>
    pkgadd: ERROR: source path </export/home/src/patches/108528-26/SUNWcarx.u/reloc/
    platform/SUNW,Sun-Blade-100/kernel/misc/sparcv9/platmod> is corrupt
    file cksum <38281> expected <38278> actual
    pkgadd: ERROR: source path </export/home/src/patches/108528-26/SUNWcarx.u/reloc/
    platform/SUNW,Sun-Blade-1000/kernel/misc/sparcv9/platmod> is corrupt
    file size <4832> expected <4830> actual
    file cksum <34048> expected <33987> actual
    Installation of <SUNWcarx> partially failed.
    I think this patch is "bad" as it has been released... but I have as yet seen no acknowledgement of that. Anyone else tried this patch?!
    The machine reboots and runs, but in what state is it left with the new patches running on the old kernel?
    I have posted this to other related groups. Thanks. jj.

    JJ,
    I downloaded and tried to install this patch this weekend. I am having the same problems. Anyone know where I can get patch 108528-21? I need this for a piece of software I am installing.
    Thanks,
    Sherryl

  • Kernel patch level

    hello,
    We have 3 system landscape DEV, QAS & PRD on HP-UX,  oracle 9.2, ECC 5.0.
    kerne patch level of DEV system is 196 and QAS system is 347 and PRD system's kernel patch level is 196
    can this is affect on request transporting DEV to QAS and PRD or any issues plz. guide me
    thanks

    Hi,
    No problems for tranports but you're not qualifying what will be running on production....
    The whole point of a quality system is to use exactly the same release, kernel patch levels and SP levels as the prodcution system.
    Regards,
    Olivier

Maybe you are looking for