kern/53008: [PATCH] genwakecode generates errornously define for
undefined constant
Jens Rehsack
rehsack at liwing.de
Sat Jun 7 02:10:19 PDT 2003
>Number: 53008
>Category: kern
>Synopsis: [PATCH] genwakecode generates errornously define for undefined constant
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Jun 07 02:10:13 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Jens Rehsack
>Release: FreeBSD 5-CURRENT i386
>Organization:
LiWing IT-Services
>Environment:
System:i FreeBSD winnie.helpers.liwing.de 5.1-BETA2 FreeBSD 5.1-BETA2 #1: Tue Jun 3 14:22:34 GMT 2003 root@:/usr/obj/usr/src/sys/WINNIE i386
>Description:
$ pwd
/usr/obj/usr/src/sys/WINNIE/modules/usr/src/sys/modules/acpi
$ nm -n acpi_wakecode.o
U TSS_TYPEFIX_MASK
00000000 t wakeup_16
00000081 t wakeup_sw32
00000089 t wakeup_32
0000009e t wakeup_32stack
0000013b t physical_gdt
00000141 t physical_esp
00000145 t previous_cr2
00000149 t previous_cr3
0000014d t previous_cr4
00000151 t previous_cr0
00000155 t previous_tr
00000157 t previous_gdt
0000015d t previous_ldt
0000015f t previous_idt
00000165 t where_to_recover
00000169 t previous_ds
0000016b t previous_es
0000016d t previous_fs
0000016f t previous_gs
00000171 t previous_ss
00000173 t dummy
>How-To-Repeat:
>Fix:
--- patch-sys-i386-acpica-genwakecode.diff begins here ---
--- sys/i386/acpica/genwakecode.sh.orig Wed May 1 21:52:34 2002
+++ sys/i386/acpica/genwakecode.sh Sat Jun 7 08:50:04 2003
@@ -13,7 +13,7 @@
done
echo '};'
-nm -n acpi_wakecode.o | while read offset dummy what
+nm -n --defined-only acpi_wakecode.o | while read offset dummy what
do
echo "#define ${what} 0x${offset}"
done
--- patch-sys-i386-acpica-genwakecode.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list