How to use a kernel patch?
hi, I am hoping someone can help me here, I am trying to patch my kernel to detect my trackpoint on my thinkpad using the patch from http://bugzilla.kernel.org/show_bug.cgi?id=14970 but the patch seems to look for a drivers/input/mouse/psmouse-base.c which I don't seem to have(or can't find), anyone know how to solve this problem? I am applying the patch from my /usr/src/<kernel> directory, am I doing something wrong?
I used the commands
patch -p1 < psmouse-move-fsp-lower.patch
and
patch < psmouse-move-fsp-lower.patch
and I get the same results:
can't find file to patch at input line 24
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
|Input: pmouse - move Sentelic probe down the list
|
|From: Dmitry Torokhov <[email protected]>
|
|Sentelic probes confuse IBM trackpoints so they stop responding to
|TP_READ_ID command. See:
|
| http://bugzilla.kernel.org/show_bug.cgi?id=14970
|
|Let's move FSP detection lower so it is probed after trackpoint and
|others, just before we strat probing for Intellimouse Explorer.
|
|Signed-off-by: Dmitry Torokhov <[email protected]>
|---
|
| drivers/input/mouse/psmouse-base.c | 23 ++++++++++-------------
| 1 files changed, 10 insertions(+), 13 deletions(-)
|
|
|diff --git a/drivers/input/mouse/psmouse-base.c b/drivers/input/mouse/psmouse-base.c
|index cabf4e1..ccb9f08 100644
|--- a/drivers/input/mouse/psmouse-base.c
|+++ b/drivers/input/mouse/psmouse-base.c
I would suggest to run --dry-run on every patch applied. Safer.
aside of this
1) download kernel from www.kernel.org (or use abs)
2) unpack it in /usr/src/
3) cd /usr/src/linux-2.6.X
4) patch -p1 --dry-run < path_to_patch\psmouse-move-fsp-lower.patch (you can do this as user)
check for errors, above wil not actually apply patch but dry test it
if no errors run
5) patch -p1 < path_to_patch\psmouse-move-fsp-lower.patch
I tested your patch (dated 2010-01-12 06:04) and it applies cleanly, so obviously you are making some mistake. Try again. Hopefully it will work.
Note: I don't use Arch kernel, I don't even have it installed on my system (and miracuously it never broke). Whichever way you will build kernel is up to you.
Last edited by broch (2010-01-17 03:42:25)
Similar Messages
-
How to use Corecrypto kernel module
Hi all,
I know that Corecrypto kernel module received a FIPS 140 vaulidation, but I can't find any document for this module.
My questions is: how can I leverge this crypto module? For example, is there any API exposed so that I can use it to do AES encryption?
Is it a replacement of CommonCrypto library, or totally different thing?It's an Apple internal one; They're slowly but surely moving stuff out of xnu and into kexts - corecrypto is one example, and pthread.kext is another (formerly all those psync functions). It's a totally different thing.
in the xnu's src - 2422, /libkern/libkern/crypto/register_crypto.h, you have the crypto_functions struct. This relies on the EXTERNAL_HEADERS/corecrypto headers, but that's about all the documentation you're going to get in the form of the function prototypes it registers (albeit for internal use). Other functionality in the kernel (most notably CoreStorage, and AppleKeyStore iOS has nke.tls, SEP, the dreaded AMFI, and others) then calls these functions, and visible exported one e.g. xts_encrypt (libkern/crypto/corecrypto_aesxts.c) call on the cc.kext. I doubt Apple will let you release a kext which ties to corecrypto.kext, since the latter is deemed private.
CommonCrypto is still very much alive, but that's the user mode API. That's /usr/lib/system/libcorecrypto.dylib, which is re-exported by LibSystem (like the rest of the .../system/ dylibs). That's safe to use (again, in user mode).
It's possible that at some point they'll create a UserClient so that libcorecrypto would actually go via IOKit to kernel mode and do the crypto there, but that's not how it is now. To parallel Linux, it also has a crypto directory in the kernel sources, which are used for kernel-mode sym encryption/hashes, but you still have a user mode libcrypt (part of openSSL) which takes no advantage of that. -
How to use the kernel coredump
My system generated a kernel coredump. I want to know the reason.
Hi!
Sorry, it's not really that easy! The system will coredump if it detects a system problem that would cause data corruption were it to continue, for example an invalid kernel pointer.
Have a look at "Panic: UNIX Systems Crash Dump Analysis", ISBN 0-13-149386-8, written by SUN, and then post some questions!
Perhaps simpler would be to ensure your kernel patches are up to date. The chances are someone else has already reported the problem and it has been fixed by a patch.
Regards,
Ralph
SUN DTS -
I just purchased an HD-3000 HDTV card from http://www.pchdtv.com. Their instructions are for Fedora Core 2. Since I can't stand Fedora, and I have Arch installed, I was wondering if anyone knew how to install the kernel driver for this card in Arch. On their downloads page, there are kernel patches, but I've never installed a kernel patch before. The patches appear to be for kernel 2.6.3 and 2.6.6. I know that my kernel is 2.6.9. Would I have to go back some kernels in order to use the patch? How does one go about using a kernel patch?
Thanks for any assistance on this topic.http://www.thegeorges.us/mythtv/
there's a patch on there. -
How do I see the Kernel patch level in Java ONLY instance?
Could someone please tell me How do I see the Kernel patch level in a Java ONLY instance?
In Abap, it is simple!
In Java I see in the System Info: Kernel Version: 7.00 PatchLevel 108458.44
BUT that doesn't correspond to the real patch level which I can see when I do disp+work which gave me 111Hello Yechezkel,
I am not sure whether the patch number you are looking for is available.
Typically you can use "-v" to display the patch level of SAP kernel programs. When I run "jcontrol -v" or "jlaunch -v", the patch number is blank (at least on the 6.40 release I checked)
The SP level should be able to tell how current the Java instance is updated, especially for NetWeaver 7 systems always patched with JSPM stack.
Best regards,
Victor -
WSUS 3.2 work on Win2008 R2, how to use it deploy MS patch for Win 2012 ?
WSUS 3.2 work on Win2008 R2, how to use it deploy MS patch for Win 2012 ?
I have installed KB2734608, but when I search MS13-101 , no patch for Win 2012.
Can you help me resolve this problem ?
ThanksOn Thu, 10 Apr 2014 06:01:48 +0000, fujitsu08 wrote:
WSUS 3.2 work on Win2008 R2, how to use it deploy MS patch for Win 2012 ?
WSUS has its own, dedicated forum where the WSUS experts answer questions.
You should repost your question here:
http://social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverwsus
Paul Adare - FIM CM MVP
Aibohphobia: n. Fear of Palindromes -
Oracle 10g/11g database use on UEK versus Red Hat kernel? How widely used?
Greetings
is there any official or semi-official information regarding how widely used is Oracle UEK to run Oracle 10g/11g database (RAC or single-node) versus running Oracle database on Red Hat Linux or on Oracle Linux with Red Hat kernel ?
I am asking because at my customer site there is a perception that Red Hat (or Oracle Linux with Red Hat kernel) is much more widely used in production to run Oracle 10g/11g database and therefore it will provide better stability even if the performance may be somewhat reduced compared to Oracle UEK option.
So I need some sort of approximate percentage numbers of how well is UEK used in Linux Oracle community to run Oracle 10g/11g databases.
Many thanks.
Yuri BThe problem with the world is that the intelligent people are full of doubts, while the stupid ones are full of confidence. Well, in my opinion, a higher market share does not reflect the quality or reliability of a product. Take MS Windows for example. Unfortunately, the reason for success is often not due to knowledge and experience, but rather due to fear and sheep effect or herd behavior.
Perhaps you can use other arguments or questions to help you to make a decision, eg.:
Oracle has a better understanding of what Oracle products require than Red Hat.
Oracle takes full responsibility for the OS and Database, no finger pointing.
Oracle tries to provide a better product than the RHEL kernel.
The Oracle UEK kernel contains Oracle driver software, not available for RHEL 6 or later.
Oracle updates are free of charge, RHEL requires a subscription.
Oracle as a company is about 20 times bigger than Red Hat.
There can be reasons that require the use of the original RHEL kernel, for instance if the vendor of a specific driver for your hardware demands it. But otherwise... -
How to do Kernel Patching in Solaris 10?
How to do Kernel Patching in Solaris 10?
Hi,
In single user
# init s
# patchadd <kernel_patch>
or the best is to install the last Solaris update patch bundle
See http://sunsolve.sun.com/show.do?target=patches/patch-access
Marco. -
NSP ABAP 700 - which kernel patch to use?
Hi,
I have my NSP ABAP 700 from SDN installed on my home laptop.
I'd like to patch the kernel, however I'm not sure which kernel patch I can use from the Markeplace.
I have Windows XP with MAXDB on an intel architecture.
Is it the one called "Windows Server on IA32 32bit"?
A few years ago it was called somthing like x86 32 bit.
Is it the same?
Anyone has experience with patching kernel for NSP ABAP?
I did kernel patch for WAS 6.20 ABAP and I had to also patch the Database in the end. Is it the same for 7.00?
Thanks in advance,
Peterhttp://service.sap.com/patches
Entry by Application Group
SAP NetWeaver
SAP NETWEAVER
SAP NETWEAVER 2004S
Entry by Component
Application Server ABAP
SAP BASIS 7.00
SAP KERNEL 7.00 32-BIT -
Hi,
If we apply patch using adpatch,we can know whether the patch is applied or not by checking ad_bugs,even with opatch we can check by using opatch lsinventory...
But when we apply patch with patch.sh then how can we find out whether a patch is applied or not.
I have to apply patch 14615390 and 16414360...but how can i know whether those patches are already applied or not. We have jre upgrade so we need to find out whether these patches or already applied or not.
Thanks in advance,These are patches for Forms aren't they?
I think this has been addressed before
How to know if a patch has been applied to Forms?
As the mighty Hussein points out in that post, refer to How to verify if a patch has been installed (Doc ID 105158.1)
DA -
60+ processes stopped ADM at SAPLTHFB after using kernel patch 310?
Hi experts,
Our system hanged and I found more than 60+ work processes stopped ADM at
SAPLTHFB. It seems that enqueue server was dead after I used new kernel
700 patch level 310. Please see the 2 screenshots and hangman.log in
my ftp server
ftp://ftp01.quantatw.com/
user: sapftp password: wju123
folder: sap_attachmentI would consider upgrading the kernel to 7.20 according to
Note 1636252 - Installing a 7.20 kernel in SAP Web AS 7.00/7.01/7.10/7.11
Markus -
[HOW-TO] Ati Radeon & Kernel 2.6 - Updated
[HOW-TO] Ati Radeon & Kernel 2.6
Updated on new ati-drivers 4.3.0
[CONTENTS]
1.1 Requirements
2.0 Compiling Kernel
2.1 Configuring Bootloader [GRUB]
3.0 Building & Generating modules
3.1 Pacthing modules
3.2 Compiling modules
3.3 Adding modules boot runlevel
4.0 fglrxconfig
4.1 Xorg.conf NEW!!
[1.1] Requirements
(All Intel & AMD users)
1. Ati Radeon 9xxx (Mine 9600 Sapphyre pro)
2. Kernel 2.8.x (Current 2.8.1)
3. wget, rpmunpack, cpio
4. PKGBUILD [FILE]
5. ati-drivers.install [FILE]
6. fglrx-2.6-vmalloc-vmaddr.patch New!!!
Those are code for listed files:
PKGBUILD New!!!
pkgname=ati-drivers
pkgver=3.11.1
pkgrel=1
pkgdesc="Proprietary (binary) drivers for ATI Radeon Cards."
url="www.ati.com/support/driver.html"
depends=('xfree86')
install="$pkgname.install"
source=(http://www2.ati.com/drivers/linux/fglrx-4.3.0-$pkgver.i386.rpm)
#md5sums=('9f7802ee0bbdeb5172673027056e789d')
# build-time deps: rpmunpack, cpio, gzip
build() {
cd $startdir/pkg
rpmunpack < $startdir/src/fglrx-4.3.0-$pkgver.i386.rpm | gzip -d | cpio -idmuv
chmod 755 -R .
mv opt/kde3 opt/kde
mkdir -p opt/gnome/share
mv usr/share/gnome/apps/ opt/gnome/share
rm -rf usr/share/gnome
usr/share/applnklib/modules/fglrx/{fglrx*.o,fglrx_info.txt}
usr/X11R6/bin/LICENSE.{GPL,QPL}
usr/X11R6/bin/*.bz2
ati-drivers.install New!!!
post_install() {
cat << EOF
NOTE
To create an fglrx module for your system, do:
cd /lib/modules/fglrx/build_mod
./make.sh
cd ..
./make_install.sh
Make sure you have your full kernel tree at /usr/src/linux
Then initialize "fglrxconfig" to create an XF86Config
for your graphics card.
EOF
post_upgrade() {
/bin/true
pre_remove() {
/bin/true
op=$1
shift
$op $*
fglrx-2.6-vmalloc-vmaddr.patch New!!!
--- firegl_public.c 2004-03-17 17:00:29.000000000 -0500
+++ /lib/modules/fglrx/build_mod/firegl_public.c 2004-07-18 16:09:46.000000000 -0500
@@ -2010,8 +2010,8 @@
pMmPage = virt_to_page(kaddr);
#endif /* LINUX_VERSION_CODE < 0x020400 */
- atomic_inc(&(pMmPage->count)); /* inc usage count of page */
+// atomic_inc(&(pMmPage->_count)); /* inc usage count of page */
+ get_page(pMmPage);
#if LINUX_VERSION_CODE >= 0x020400
// __KE_DEBUG3("vm-address 0x%08lx => kernel-page-address 0x%pn",
// address, page_address(pMmPage));
[2.0] Compiling kernel
<*> MTRR
e poi
<M> /dev/agpgart (AGP Support)
< > ALI chipset support
< > ATI chipset support
< > AMD Irongate, 761, and 762 chipset support
< > AMD Opteron/Athlon64 on-CPU GART support
< > Intel 440LX/BX/GX, I8xx and E7x05 chipset support
< > Intel i865 chipset support
< > NVIDIA nForce/nForce2 chipset support
< > SiS chipset support
< > Serverworks LE/HE chipset support
<M> VIA chipset support
< > Transmeta Efficeon support
[*] Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
< > 3dfx Banshee/Voodoo3+
< > 3dlabs GMX 2000
< > ATI Rage 128
< > ATI Radeon
< > Matrox g200/g400
< > SiS video cards
make dep && make clean bzImage modules modules_install
[/code]
when finished,mount boot partition (if not already mounted)
[code]
mount /boot
[/code]
and copy kernel image to the boot directory, so the new kernel loads after computer restart. Pay attention to not overwrite existent kernels images in boot partition. For security issues rename it as ***_new.
[code]
cp arch/i386/boot/bzImage /boot/vmlinuz_new
[/code]
[2.1] Configuring Bootloader [GRUB]
Edit your boot-loader config file.
I currently use grub instead of lilo.
[code]
nano /boot/grub/menu.lst
[/code]
Add a new sub-menu (this is an example) Check on the forum how to set-up a bootloader).
[code]
# (0) Arch Linux
title Arch Linux [/boot/vmlinuz_new]
root (hd0,3)
kernel (hd0,1)/vmlinuz_new root=/dev/discs/disc0/part4 ro
[/code]
REBOOT
[3.0] Building ati-drivers
Make a directory under /var/abs/local called ati
[code]
mkdir /var/abs/loca/ati
[/code]
copy in it the two files PKGBUILD ati-drivers.install
[code]
cp /path/to/file/PKGBUILD /var/abs/local/ati
cp /path/to/file/ati-drivers.install /var/abs/local/ati
[/code]
start building package
[code]
makepkg -c
[/code]
if all goes well, this will be the output
[code]
[root@CippaLippa ati]# makepkg -c
==> Making package: ati-drivers
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> .......
==> .......
==> Compressing man pages...
==> Stripping debugging symbols from libraries...
==> Stripping symbols from binaries...
==> Generating .PKGINFO file...
==> Copying install script...
==> Generating .FILELIST file...
==> Compressing package...
==> Cleaning up...
==> Finished making: ati-drivers (Tue Feb 10 15:11:13 CET 2004)
[root@CippaLippa ati]#
[/code]
It downloads necessary files and generates a file called ati-drivers-3.9.x.pkg.tar.gz
Install it using:
[code]
pacman -A ati-drivers-3.x.x.pkg.tar.gz
[/code]
This installation generates a folder in /lib/modules/fglrx
Change directory
[code]
cd /lib/modules/fglrx
[/code]
[3.1] Pacthing modules
To patch modules simply copy the two files .patch listed on top in this directory. Intel users must only install fglrx-2.6-vmalloc-vmaddr.patch, AMD users both.
[code]
cp /path/to/patch/fglrx-2.6-vmalloc-vmaddr.patch /lib/modules/fglrx
[/code]
change directory
[code]
cd build_mod
[/code]
to patch the file firegl_public.c
[code]
patch -b firegl_public.c ../fglrx-2.6-vmalloc-vmaddr.patch
[/code]
It's time to compile the modules
[code]
sh make.sh
[root@CippaLippa build_mod]# sh make.sh
ATI module generator V 2.0
==========================
initializing...
probing for VMA API version...
cleaning...
patching...
make[1]: Leaving directory `/usr/src/linux-2.6.x
build succeeded with return value 0
duplicating results into driver repository...
done.
==============================
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
==============================
[/code]
change directory as you see on screen
[code]
cd /lib/modules/fglrx
[/code]
and compile in
[code]
sh make_install.sh
[/code]
if will be no errors in output, module fglrx were perfectly compiled in /lib/modules/2.6.x/kernel/drivers/char/drm/ and named "fglrx.ko"
[3.2] Adding modules boot runlevel
open /etc/rc.conf
[code]
nano /etc/rc.conf
[/code]
go to line MODULES= and add
[code]
agpgart via-agp fglrx rtc <== make sure always in this order
[/code]
(if your motherboard is "VIA" equipped, else check what do you have: the same configured in kernel under /dev/agpgart (AGP Support)
[4.0] fglrxconfig
Ati-drivers comes with a modified xf86config, utility to generate XF86config files.
Run
[code]
fglrxconfig
[/code]
and a welcome screen appear
[code]
==============================================================================
ATI - FIRE GL - BE THE CREATOR
==============================================================================
This program will create the ATI "XF86Config-4" file
- based on your selections - for the below listed boardtypes...
- ATI Radeon 8500 / 9100
- ATI FireGL 8700 / 8800 / E1
- ATI FireGL T2
- ATI Radeon 9000
- ATI Radeon 9200
- ATI Radeon 9500
- ATI Radeon 9600
- ATI Radeon 9700
- ATI Radeon 9800
- ATI FireGL Z1 / X1 / X2
- ATI Mobility M9
- ATI Mobility FireGL 9000
- ATI Mobility M9PLUS
The "XF86Config-4" file usually resides in /etc/X11.
Press [Enter] to continue, press 'q'&[Enter] or [Ctrl]+'c' to abort.
[/code]
follow the on-screen steps leaving default settings. Configure only mouse, keyboard, screen frequencies and resolution. At least when prompt for:
[code]
External AGPGART module:
external agpgart module execute this on the commandline (as root):
/sbin/insmod agpgart
or alternatively configure your system to auto load the module.
Do you want to use the external AGP GART module (y/n)? [y]
[/code]
be sure to answer "YES".
[4.1] Xorg.cong New!!!
Xorg configuration file, resides in /etc/X11.
It is XF86config renamed and Will replace soon it, with the new video system based on Xorg.
This is my xorg.conf file:
[code]
Section "dri"
Mode 0666
EndSection
Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "freetype"
Load "glx" # libglx.a
Load "dri" # libdri.a
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
ModulePath "/usr/X11R6/lib/modules"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "it"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/usbmouse"
EndSection
Section "Monitor"
Identifier "Monitor0"
HorizSync 31-96
VertRefresh 55-160
Option "DPMS"
EndSection
Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"
EndSection
Section "Device"
Identifier "ATI Graphics Adapter"
Driver "fglrx"
#Option "NoDDC"
Option "no_accel" "no"
Option "no_dri" "no"
Option "DesktopSetup" "0x00000000"
Option "MonitorLayout" "AUTO, AUTO"
Option "IgnoreEDID" "off"
Option "HSync2" "unspecified"
Option "VRefresh2" "unspecified"
Option "ScreenOverlap" "0"
Option "NoTV" "yes"
Option "TVStandard" "NTSC-M"
Option "TVHSizeAdj" "0"
Option "TVVSizeAdj" "0"
Option "TVHPosAdj" "0"
Option "TVVPosAdj" "0"
Option "TVHStartAdj" "0"
Option "TVColorAdj" "0"
Option "GammaCorrectionI" "0x00000000"
Option "GammaCorrectionII" "0x00000000"
Option "Capabilities" "0x00000000"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Option "CenterMode" "off"
Option "PseudoColorVisuals" "off"
Option "Stereo" "off"
Option "StereoSyncEnable" "1"
Option "FSAAScale" "1"
Option "FSAADisableGamma" "no"
Option "FSAACustomizeMSPos" "no"
Option "FSAAMSPosX0" "0.000000"
Option "FSAAMSPosY0" "0.000000"
Option "FSAAMSPosX1" "0.000000"
Option "FSAAMSPosY1" "0.000000"
Option "FSAAMSPosX2" "0.000000"
Option "FSAAMSPosY2" "0.000000"
Option "FSAAMSPosX3" "0.000000"
Option "FSAAMSPosY3" "0.000000"
Option "FSAAMSPosX4" "0.000000"
Option "FSAAMSPosY4" "0.000000"
Option "FSAAMSPosX5" "0.000000"
Option "FSAAMSPosY5" "0.000000"
Option "UseFastTLS" "0"
Option "BlockSignalsOnLock" "on"
Option "UseInternalAGPGART" "no"
Option "ForceGenericCPU" "no"
BusID "PCI:1:0:0" # vendor=1002, device=4150
Screen 0
EndSection
Section "Screen"
Identifier "Screen0"
Device "ATI Graphics Adapter"
Monitor "Monitor0"
DefaultDepth 24
#Option "backingstore"
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600"
ViewPort 0 0 # initial origin if mode is smaller than desktop
EndSubsection
EndSection
Section "ServerLayout"
Identifier "Server Layout"
Screen "Screen0"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
[/code]
REBOOT
Start in X with kde, gnome or othet window manager.
If X does not start you maybe made something wrong, retry from the beginning. Else if it starts, check if DRI os working
[code]
fgl_glxgears
[/code]
if it is working, a rotating cube will appear in a new windows, and if it is so.....
ENJOY
**SORRY FOR MY ENGLISH **Using kernel 2.6.2
I'm starting over again but now cannot get the PKGBUILD to complete. I had this problem this morning as well, but after editing the PKGBUILD file did eventually get it to complete. This is the output of makepkg -c using the PKGBUILD as posted:
[root@Arch2 ati]# makepkg -c
==> Making package: ati-drivers (Wed Feb 11 16:11:02 GMT 2004)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Downloading fglrx-glc22-4.3.0-3.2.8.i586.rpm
--16:11:02-- http://www2.ati.com/drivers/linux/fglrx … 8.i586.rpm
=> `fglrx-glc22-4.3.0-3.2.8.i586.rpm'
Resolving www2.ati.com... 62.25.100.58, 62.25.100.32
Connecting to www2.ati.com[62.25.100.58]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4,365,039 [audio/x-pn-realaudio-plugin]
100%[====================================>] 4,365,039 55.23K/s ETA 00:00
16:12:27 (50.80 KB/s) - `fglrx-glc22-4.3.0-3.2.8.i586.rpm' saved [4365039/4365039]
==> Validating source files with MD5sums
fglrx-glc22-4.3.0-3.2.8.i586.rpm ... Passed
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Starting build()...
./lib/modules/fglrx/build_mod/2.6.x/Makefile
./lib/modules/fglrx/build_mod/agp.h
./lib/modules/fglrx/build_mod/agp3.c
./lib/modules/fglrx/build_mod/agp_backend.h
./lib/modules/fglrx/build_mod/agpgart.h
./lib/modules/fglrx/build_mod/agpgart_be.c
./lib/modules/fglrx/build_mod/firegl_public.c
./lib/modules/fglrx/build_mod/firegl_public.h
./lib/modules/fglrx/build_mod/i7505-agp.c
./lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC2
./lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC3
./lib/modules/fglrx/build_mod/make.sh
./lib/modules/fglrx/build_mod/nvidia-agp.c
./lib/modules/fglrx/fglrx.2.4.18-17.7.x.o
./lib/modules/fglrx/fglrx.2.4.18-17.8.0.o
./lib/modules/fglrx/fglrx.2.4.20-6-SMP.o
./lib/modules/fglrx/fglrx.2.4.20-6.o
./lib/modules/fglrx/fglrx.2.4.21-1.1931.2.349.2.2.ent-SMP.o
./lib/modules/fglrx/fglrx.2.4.21-1.1931.2.349.2.2.ent.o
./lib/modules/fglrx/fglrx.2.4.21-1.1931.2.349.2.2.entbigmem-SMP.o
./lib/modules/fglrx/fglrx_info.txt
./lib/modules/fglrx/make_install.sh
./opt/kde3/share/applnk/fireglcontrol_kde3.desktop
./usr/X11R6/bin/LICENSE.GPL
./usr/X11R6/bin/LICENSE.QPL
./usr/X11R6/bin/fgl_glxgears
./usr/X11R6/bin/fglrx_xgamma
./usr/X11R6/bin/fglrxconfig
./usr/X11R6/bin/fglrxinfo
./usr/X11R6/bin/fireglcontrol.qt2.gcc2.96.bz2
./usr/X11R6/bin/fireglcontrol.qt3.gcc3.2.bz2
./usr/X11R6/bin/fireglcontrol.qtstatic.gcc2.96.bz2
./usr/X11R6/include/X11/extensions/fglrx_gamma.h
./usr/X11R6/lib/libGL.so.1.2
./usr/X11R6/lib/libfglrx_gamma.a
./usr/X11R6/lib/libfglrx_gamma.so.1.0
./usr/X11R6/lib/modules/dri/fglrx_dri.so
./usr/X11R6/lib/modules/drivers/fglrx_drv.o
./usr/X11R6/lib/modules/linux/libfglrxdrm.a
./usr/include/GL/glxATI.h
./usr/share/applnk/fireglcontrol.kdelnk
./usr/share/gnome/apps/fireglcontrol.desktop
./usr/share/icons/ati.xpm
./usr/share/pixmaps/ati.xpm
./usr/src/ATI/fglrx_panel_sources.tgz
./usr/src/ATI/fglrx_sample_source.tgz
21763 blocks
/usr/bin/makepkg: line 23: usr/share/applnklib/modules/fglrx/fglrx*.o: No such file or directory
usr/X11R6/bin/LICENSE.GPL: line 2: syntax error near unexpected token `('
usr/X11R6/bin/LICENSE.GPL: line 2: ` The Qt GUI Toolkit is Copyright (C) 1994-2000 Trolltech AS.'
/usr/bin/makepkg: line 25: usr/X11R6/bin/fireglcontrol.qt2.gcc2.96.bz2: cannot execute binary file
==> ERROR: Build Failed. Aborting...
[root@Arch2 ati]#
I seem to be going backwards! -
Steps for Kernel Patch Updation on Solaris 10 X4100 with 2disks mirrored
Hi all,
I have Solaris 10 10/06 (118855-19) installed on one of the X4100 server. This is the time for me to update the latest kernel patch (118855-36). We have two disks mirrored. My questions are,
1) Do i need to detach any of the disk from the mirror before doing any patching.
2) Is it possible to install the patches without detaching any disks from the mirror. (i.e. installeing patch on mirrored root filesystem)
3) how to boot from the second disk in case the patch installation creates problem while booting up.
Any suggestions or steps which you have already implemented for the above scenario.This isn't really a question for this forum, you may be better to look at some of the sys-admin forums for a complete answer.
You should not need to break the mirror in order to apply the kernel patch, however doing so would allow for quicker recovery of the system should something go wrong during patching.
I would strongly advise that you read the special install instructions for the kernel patch prior to installing it.
http://sunsolve.sun.com/search/document.do?assetkey=1-21-118855-36-1
You may also wish to use a patch cluster rather than smpatch/updatemanager, these can be downloaded from SunSolve:
http://sunsolve.sun.com/private-cgi/show.pl?target=patchpage -
Hi all,
I have a few questions and want clear my basics.
Is Kernel upgrade the same as applying a kernel patch? For any SAP system release, there's
just one kernel version right? We just keep applying new patch versions to update it. Is this
correct? Please throw some light.
secondly, in SPAM, what is the difference between new and imported packages? When trying
to apply latest support packages, what steps should you follow? And what are support package
stacks? I know they are a collection od packages but how to find out which one I will need
depending on the current package status of my system?
Thanks in advance
Cyrushi Cyrus,
> secondly, in SPAM, what is the difference between new
> and imported packages? When trying
> to apply latest support packages, what steps should
> you follow?
SPAM - Support Package Manager is used to put ABAP patches in your system. Imported packages mean the packages that are already imported in your system. say your WAS is on SP9 - this means you will find SP1..SP9 in imported packages. this will be useful if you are patching it up in stages. you will find which are already imported and hence put the rest. Sometimes higher patches needs to have some prerequisites. you may find if these prerequisites are satisfied.
New packages are already loaded but yet to be imported. You will find the traffic light - Yellow. for imported packs you will find it green.
if you want to apply latest support packs, first load them into your ABAP system after downloading them from service market place. you may do it using the <i>SUPPORT PACKAGE --> Load FROM FORNT END</i>. then upload the car files and <i>Display/Define Queue</i>. then <i>Import Queue</i>. after queue is imported, <i>Confirm</i>
Presto! you have finished upgrading.
>And what are support package
> stacks? I know they are a collection od packages but
> how to find out which one I will need
> depending on the current package status of my
> system?
first Find which stack your system is running. this is source stack. then find give the target (say SP14) in service market place. this will give all necessary stacks from your source to target. download them.
hope i managed to throw some light!
Regards
ak
Message was edited by: Arun Kumar Ravi -
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
Maybe you are looking for
-
GI for outbound delivery is not getting done despite of the enough stock
Hi SAP Gurus, I was trying to post the goods Issue for the outbound delivery through VL02N. But I'm getting the Error <b>"M7 021" Deficit of BA unrestricted use</b>. I've created a Tranfer Order for the Delivery and also confirmed the transfer order
-
SXMB_MONI: LogVersion
Hello everybody, we got the following problem: A synchronous HTTP-Request reaches the integration engine. After that a BPM is called and everything is fine. Prpblem: Only the first message (The sync. http request) get the state "log version" in SXMB_
-
Impossible of technical-support?
I bought Photoshop cs6 design standard a few days ago. But I had noticed that normal function is missing. I had contacted Adobe tech-support of korea , and they said to me that no possible technical A/S. Because the product that I bought was bundle
-
Got an error message that said Need to deauthorize aubible account.
I tried to play a song that i have played 518 times and now its saying i need to deauthorize an account. but i have only played that song on one computer. i dont know why its saying that and don't know what to do.
-
EtherChannel between stacked VSS Catalyst 4500X and Stacked 2960X.
I can have only one link in the EhterChannel up but the 2nd one goes in to suspended mode. I've tried recreating channel group on different ports but with the same results. Am I doing something wrong or pagp cannot be transmitted over stacks on both