I have successfully installed slackware 11.0 on my acer travelmate c100 using pxe boot.
But after many unsuccessful attempts to get acpi to work, I seek help.
It seems I have to patch the kernel with the acpi patch. My main reference has been from this how-to:
http://www.linuxdevices.com/articles/AT9956715302.html
So after installing slackware 11.0, and compiling kernel 2.6.17, I tried to patch the kernel with "acpi-test-20060608-2.6.17.diff" which fail's, and produces the following output:
Code:
root@slack |
/usr/src/linux | 12:50:37
$patch --dry-run -Np1 < acpi-test-20060608-2.6.17.diff
patching file CREDITS
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file CREDITS.rej
patching file Documentation/Changes
Reversed (or previously applied) patch detected! Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file Documentation/Changes.rej
patching file Documentation/DocBook/Makefile
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file Documentation/DocBook/Makefile.rej
The next patch would delete the file Documentation/DocBook/genericirq.tmpl,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
patching file Documentation/DocBook/kernel-api.tmpl
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file Documentation/DocBook/kernel-api.tmpl.rej
The next patch would delete the file Documentation/IRQ.txt,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
patching file Documentation/RCU/torture.txt
Reversed (or previously applied) patch detected! Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file Documentation/RCU/torture.txt.rej
patching file Documentation/README.DAC960
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file Documentation/README.DAC960.rej
patching file Documentation/feature-removal-schedule.txt
Hunk #1 succeeded at 17 (offset 11 lines).
Hunk #2 succeeded at 157 (offset 25 lines).
Hunk #3 FAILED at 202.
Hunk #4 FAILED at 249.
2 out of 4 hunks FAILED -- saving rejects to file Documentation/feature-removal-schedule.txt.rej
The next patch would create the file Documentation/filesystems/devfs/ChangeLog,
which already exists! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file Documentation/filesystems/devfs/ChangeLog.rej
The next patch would create the file Documentation/filesystems/devfs/README,
which already exists! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file Documentation/filesystems/devfs/README.rej
The next patch would create the file Documentation/filesystems/devfs/ToDo,
which already exists! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file Documentation/filesystems/devfs/ToDo.rej
The next patch would create the file Documentation/filesystems/devfs/boot-options,
which already exists! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file Documentation/filesystems/devfs/boot-options.rej
patching file Documentation/initrd.txt
Reversed (or previously applied) patch detected! Skipping patch.
6 out of 6 hunks ignored -- saving rejects to file Documentation/initrd.txt.rej
patching file Documentation/ioctl-number.txt
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file Documentation/ioctl-number.txt.rej
patching file Documentation/kernel-parameters.txt
Reversed (or previously applied) patch detected! Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file Documentation/kernel-parameters.txt.rej
patching file Documentation/keys-request-key.txt
Reversed (or previously applied) patch detected! Skipping patch.
7 out of 7 hunks ignored -- saving rejects to file Documentation/keys-request-key.txt.rej
patching file Documentation/keys.txt
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file Documentation/keys.txt.rej
The next patch would delete the file Documentation/pi-futex.txt,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
patching file Documentation/robust-futexes.txt
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file Documentation/robust-futexes.txt.rej
The next patch would delete the file Documentation/rt-mutex-design.txt,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file Documentation/rt-mutex.txt,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
patching file Documentation/sound/alsa/ALSA-Configuration.txt
Reversed (or previously applied) patch detected! Skipping patch.
8 out of 8 hunks ignored -- saving rejects to file Documentation/sound/alsa/ALSA-Configuration.txt.rej
The next patch would delete the file Documentation/video4linux/README.pvrusb2,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
patching file Documentation/watchdog/pcwd-watchdog.txt
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file Documentation/watchdog/pcwd-watchdog.txt.rej
The next patch would delete the file Documentation/watchdog/src/watchdog-simple.c,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file Documentation/watchdog/src/watchdog-test.c,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
patching file Documentation/watchdog/watchdog-api.txt
Reversed (or previously applied) patch detected! Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file Documentation/watchdog/watchdog-api.txt.rej
patching file Documentation/watchdog/watchdog.txt
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file Documentation/watchdog/watchdog.txt.rej
patching file arch/alpha/kernel/irq.c
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file arch/alpha/kernel/irq.c.rej
patching file arch/alpha/kernel/irq_alpha.c
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/alpha/kernel/irq_alpha.c.rej
patching file arch/alpha/kernel/irq_i8259.c
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/alpha/kernel/irq_i8259.c.rej
patching file arch/alpha/kernel/irq_pyxis.c
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/alpha/kernel/irq_pyxis.c.rej
patching file arch/alpha/kernel/irq_srm.c
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/alpha/kernel/irq_srm.c.rej
patching file arch/alpha/kernel/pci.c
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/alpha/kernel/pci.c.rej
patching file arch/alpha/kernel/setup.c
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/alpha/kernel/setup.c.rej
patching file arch/alpha/kernel/sys_alcor.c
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/alpha/kernel/sys_alcor.c.rej
patching file arch/alpha/kernel/sys_cabriolet.c
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/alpha/kernel/sys_cabriolet.c.rej
patching file arch/alpha/kernel/sys_dp264.c
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/alpha/kernel/sys_dp264.c.rej
patching file arch/alpha/kernel/sys_eb64p.c
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/alpha/kernel/sys_eb64p.c.rej
patching file arch/alpha/kernel/sys_eiger.c
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/alpha/kernel/sys_eiger.c.rej
patching file arch/alpha/kernel/sys_jensen.c
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/alpha/kernel/sys_jensen.c.rej
patching file arch/alpha/kernel/sys_marvel.c
Reversed (or previously applied) patch detected! Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file arch/alpha/kernel/sys_marvel.c.rej
patching file arch/alpha/kernel/sys_mikasa.c
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/alpha/kernel/sys_mikasa.c.rej
patching file arch/alpha/kernel/sys_noritake.c
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/alpha/kernel/sys_noritake.c.rej
patching file arch/alpha/kernel/sys_rawhide.c
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/alpha/kernel/sys_rawhide.c.rej
patching file arch/alpha/kernel/sys_rx164.c
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/alpha/kernel/sys_rx164.c.rej
patching file arch/alpha/kernel/sys_sable.c
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/alpha/kernel/sys_sable.c.rej
patching file arch/alpha/kernel/sys_takara.c
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/alpha/kernel/sys_takara.c.rej
patching file arch/alpha/kernel/sys_titan.c
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/alpha/kernel/sys_titan.c.rej
patching file arch/alpha/kernel/sys_wildfire.c
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/alpha/kernel/sys_wildfire.c.rej
patching file arch/arm/Kconfig
Reversed (or previously applied) patch detected! Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file arch/arm/Kconfig.rej
patching file arch/arm/kernel/Makefile
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/arm/kernel/Makefile.rej
patching file arch/arm/kernel/armksyms.c
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file arch/arm/kernel/armksyms.c.rej
patching file arch/arm/kernel/asm-offsets.c
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/arm/kernel/asm-offsets.c.rej
patching file arch/arm/kernel/bios32.c
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file arch/arm/kernel/bios32.c.rej
The next patch would delete the file arch/arm/kernel/crunch-bits.S,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
The next patch would delete the file arch/arm/kernel/crunch.c,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
patching file arch/arm/kernel/entry-armv.S
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/arm/kernel/entry-armv.S.rej
patching file arch/arm/kernel/ptrace.c
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file arch/arm/kernel/ptrace.c.rej
patching file arch/arm/kernel/setup.c
Reversed (or previously applied) patch detected! Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file arch/arm/kernel/setup.c.rej
patching file arch/arm/kernel/signal.c
Reversed (or previously applied) patch detected! Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file arch/arm/kernel/signal.c.rej
patching file arch/arm/kernel/vmlinux.lds.S
Reversed (or previously applied) patch detected! Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file arch/arm/kernel/vmlinux.lds.S.rej
patching file arch/arm/lib/Makefile
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/arm/lib/Makefile.rej
patching file arch/arm/lib/backtrace.S
Hunk #1 FAILED at 97.
1 out of 1 hunk FAILED -- saving rejects to file arch/arm/lib/backtrace.S.rej
patching file arch/arm/lib/clear_user.S
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/arm/lib/clear_user.S.rej
patching file arch/arm/lib/copy_from_user.S
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file arch/arm/lib/copy_from_user.S.rej
patching file arch/arm/lib/copy_to_user.S
Reversed (or previously applied) patch detected! Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file arch/arm/lib/copy_to_user.S.rej
patching file arch/arm/lib/strncpy_from_user.S
Hunk #1 FAILED at 20.
1 out of 1 hunk FAILED -- saving rejects to file arch/arm/lib/strncpy_from_user.S.rej
patching file arch/arm/lib/strnlen_user.S
Hunk #1 FAILED at 14.
1 out of 1 hunk FAILED -- saving rejects to file arch/arm/lib/strnlen_user.S.rej
patching file arch/arm/lib/uaccess.S
Reversed (or previously applied) patch detected! Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file arch/arm/lib/uaccess.S.rej
patching file arch/arm/mach-ep93xx/Kconfig
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/arm/mach-ep93xx/Kconfig.rej
patching file arch/arm/mach-ep93xx/Makefile
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/arm/mach-ep93xx/Makefile.rej
The next patch would delete the file arch/arm/mach-ep93xx/edb9315.c,
which does not exist! Skipping patch.
1 out of 1 hunk ignored
patching file arch/arm/mach-ep93xx/gesbc9312.c
Hunk #1 FAILED at 30.
1 out of 1 hunk FAILED -- saving rejects to file arch/arm/mach-ep93xx/gesbc9312.c.rej
patching file arch/arm/mach-ep93xx/ts72xx.c
Hunk #1 FAILED at 118.
1 out of 1 hunk FAILED -- saving rejects to file arch/arm/mach-ep93xx/ts72xx.c.rej
patching file arch/arm/mach-ixp23xx/espresso.c
Hunk #1 FAILED at 59.
1 out of 1 hunk FAILED -- saving rejects to file arch/arm/mach-ixp23xx/espresso.c.rej
patching file arch/arm/mach-ixp23xx/ixdp2351.c
Hunk #1 FAILED at 304.
1 out of 1 hunk FAILED -- saving rejects to file arch/arm/mach-ixp23xx/ixdp2351.c.rej
patching file arch/arm/mach-ixp23xx/roadrunner.c
Hunk #1 FAILED at 143.
1 out of 1 hunk FAILED -- saving rejects to file arch/arm/mach-ixp23xx/roadrunner.c.rej
patching file arch/arm/mach-pxa/irq.c
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file arch/arm/mach-pxa/irq.c.rej
can't find file to patch at input line 10088
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/arch/arm/mach-s3c2410/s3c244x.c b/arch/arm/mach-s3c2410/s3c244x.c
|index 9a22582..838bc52 100644
|--- a/arch/arm/mach-s3c2410/s3c244x.c
|+++ b/arch/arm/mach-s3c2410/s3c244x.c
--------------------------
File to patch:
can anyone tell me what the heck I am doing wrong with applying this patch?