Package: kernel-patch-suspend2
Version: 2.1.8.9-1
Severity: important
Tags: experimental
Hi. Firstly, many thanks for producing this package, I've wanted to try this
functionality in Debian for some time.
I get a segfault error trying to apply the patch to the source code file for
2.6.11-5 as follows:
$ make-kpkg --added-patches suspend2 --config menuconfig
--append-to-version=absuspend1 kernel_image
# work around idiocy in recent kernel versions
test ! -e scripts/package/builddeb || \
mv -f scripts/package/builddeb scripts/package/builddeb.dist
test ! -e scripts/package/Makefile || \
(mv -f scripts/package/Makefile scripts/package/Makefile.dist && \
(echo "# Dummy file "; echo "help:") > scripts/package/Makefile)
test ! -f stamp-debian && test ! -f debian/official && \
rm -rf ./debian && mkdir ./debian
test -f applied_patches && rm -f applied_patches
make: [stamp-debian] Error 1 (ignored)
for patch in /usr/src/kernel-patches/all/2.6.11/apply/suspend2 ; do \
if test -x $patch; then \
if $patch; then \
echo "Patch $patch processed fine"; \
echo "$patch" >> applied_patches; \
else \
echo "Patch $patch failed."; \
echo "Hit return to Continue"; \
read ans; \
fi; \
fi; \
done
Applying 200-agp-resume-support.patch ...
/usr/src/kernel-patches/all/2.6.11/apply/../suspend2/apply: line 49: 19757
Segmentation faultpatch -p1 -s -f --dry-run <"$1" >/dev/null 2>&1
200-agp-resume-support.patch will not apply cleanly. Reverse applied patches
[Yn]? y
Reversing patches...
Done.
Patch /usr/src/kernel-patches/all/2.6.11/apply/suspend2 processed fine
echo done > stamp-patch
test ! -f stamp-debian && \
( test ! -f debian/official || test ! -f debian/control) && \
sed -e 's/=V/2.6.115absuspend1/g' -e 's/=D/10.00.Custom/g' \
-e 's/=A/i386/g' -e 's/=SA//g' \
-e 's/=L/lilo (>= 19.1) | grub, /g' -e 's/=I//g' \
-e 's/=CV/2.6/g' \
-e 's/=M/Unknown Kernel Package Maintainer <[EMAIL
PROTECTED]>/g' \
-e 's/=ST/kernel/g' \
/usr/share/kernel-package/Control> debian/control
test ! -f stamp-debian && test ! -f debian/official && \
sed -e 's/=V/2.6.115absuspend1/g' -e 's/=D/10.00.Custom/g'
\
-e 's/=A/i386/g' -e 's/=M/Unknown Kernel Package Maintainer <[EMAIL
PROTECTED]>/g' \
-e 's/=ST/kernel/g' \
/usr/share/kernel-package/changelog > debian/changelog
test ! -f debian/rules && \
install -p -m 755 /usr/share/kernel-package/rules debian/rules
echo done > stamp-debian
Please ignore the warning about overriding and ignoring targets above.
These are harmless. They are only invoked in a part of the process
that tries to snarf variable values for the conf.vars file.
etc........
Looks like the problem is actually with "200-agp-resume-support.patch". I've
not patched or built a kernel before, hope I'm not doing something daft!
Don't know what else to say. If you need more info, please contact me. Thanks.
AB.
-- Package-specific info:
--- debug info:
--- partitions:
major minor #blocks name
3 0 80418240 hda
3 1 305203 hda1
3 2 38796975 hda2
3 3 38796975 hda3
3 4 2514172 hda4
--- swaps:
Filename Type Size Used Priority
/dev/hda4 partition 2514164 3348 -1
--- version:
Linux version 2.6.11-1-k7 ([EMAIL PROTECTED]) (gcc version 3.3.6 (Debian
1:3.3.6-5)) #1 Fri May 20 06:54:58 UTC 2005
--- cmdline:
auto BOOT_IMAGE=Linux-2.6.11 ro root=302 acpi=on
--- cpuinfo:
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 10
model name : AMD Athlon(tm) XP 2500+
stepping : 0
cpu MHz : 1980.585
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 mmx fxsr sse pni syscall mmxext 3dnowext 3dnow
bogomips : 3923.96
--- /boot contents
total 20386
-rw-r--r-- 1 root root 838220 May 20 09:57 System.map-2.6.11-1-k7
-rw-r--r-- 1 root root 841054 Nov 11 2004 System.map-2.6.8-1-k7
-rw-r--r-- 1 root root 843697 May 19 10:28 System.map-2.6.8-2-k7
-rw-r--r-- 1 root root 512 Sep 29 2004 boot.0300
-rw-r--r-- 1 root root 512 Sep 30 2004 boot.0340
lrwxrwxrwx 1 root root 11 Nov 26 2004 boot.b -> boot-menu.b
-rw-r--r-- 1 root root 21 Sep 30 2004 bootmess.txt
-rw-r--r-- 1 root root 308326 May 31 16:30 coffee.bmp
-rw-r--r-- 1 root root 59776 May 20 07:49 config-2.6.11-1-k7
-rw-r--r-- 1 root root 55503 Nov 11 2004 config-2.6.8-1-k7
-rw-r--r-- 1 root root 55437 May 19 10:01 config-2.6.8-2-k7
lrwxrwxrwx 1 root root 15 Nov 26 2004 debian.bmp -> /boot/sarge.bmp
-rw-r--r-- 1 root root 153720 May 31 16:30 debianlilo.bmp
-rw-r--r-- 1 root root 4648960 Jun 12 14:16 initrd.img-2.6.11-1-k7
-rw-r--r-- 1 root root 4751360 Nov 30 2004 initrd.img-2.6.8-1-k7
-rw-r--r-- 1 root root 4599808 May 31 16:29 initrd.img-2.6.8-2-k7
drwx------ 2 root root 12288 Sep 28 2004 lost+found
-rw------- 1 root root 18944 Jun 12 14:18 map
-rw-r--r-- 1 root root 23662 May 31 16:30 sarge.bmp
-rw-r--r-- 1 root root 24116 May 31 16:30 sid.bmp
-rw-r--r-- 1 root root 1228391 May 20 09:56 vmlinuz-2.6.11-1-k7
-rw-r--r-- 1 root root 1144955 Nov 11 2004 vmlinuz-2.6.8-1-k7
-rw-r--r-- 1 root root 1151346 May 19 10:28 vmlinuz-2.6.8-2-k7
--- hibernate
ii hibernate 1.07-1
activates your computer's suspend functionality
--- hibernate.conf
UseSwsusp2 yes
Reboot no
EnableEscape yes
DefaultConsoleLevel 1
Verbosity 0
LogFile /var/log/hibernate.log
LogVerbosity 1
Distribution debian
SaveClock restore-only
UnloadBlacklistedModules yes
LoadModules auto
--- blacklisted-modules
nvidia
acx100
prism54
bcm4400 2.6.0 2.6.99
emu10k1 2.4.0 2.4.99 2.6.0 2.6.99
forcedeth 2.4.0 2.4.99 2.6.0 2.6.99
@ipw2100 0.0 1.0.2
@ipw2200 0.0 0.20
natsemi 2.6.0 2.6.99
psmouse 2.6.0 2.6.99
rt2400 2.4.0 2.4.99 2.6.0 2.6.99
ehci_hcd 2.6.0 2.6.99
ohci_hcd 2.6.0 2.6.99
uhci_hcd 2.6.0 2.6.99
ehci-hcd 2.4.0 2.4.99
usb-ohci 2.4.0 2.4.99
usb-uhci 2.4.0 2.4.99
snd_ens1370 2.6.0 2.6.99
snd_ens1371 2.6.0 2.6.99
en1370 2.6.0 2.6.99
en1371 2.6.0 2.6.99
via_agp 2.6.0 2.6.8
via_rhine 2.6.0 2.6.99
i8042 2.6.10 2.6.99
button 2.6.9 2.6.99
@ndiswrapper 0.10 0.11
--- kernel configuration (unknown):
Stock testing kernel config
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]