On 27-Jun-2002 Julian Elischer wrote:
> Using $PIR table, 12 entries at 0xc00f2f70
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> acpi0: <D815EA EA81510A> on motherboard
>
>
> Fatal trap 12: page fault while in kernel mode
> fault virtual address = 0x735f6e72
This is the string "rn_s".
> fault code = supervisor read, page not present
> instruction pointer = 0x8:0xc026be97
> stack pointer = 0x10:0xc05f9c84
> frame pointer = 0x10:0xc05f9c8c
> code segment = base 0x0, limit 0xfffff, type 0x1b
> = DPL 0, pres 1, def32 1, gran 1
> processor eflags = interrupt enabled, resume, IOPL = 0
> current process = 0 (swapper)
> kernel: type 12 trap, code=0
> Stopped at sysctl_find_oidname+0xb: movl 0(%eax),%ebx
>
> db> tr
> sysctl_find_oidname(c05c520f,735f6e72,12,c2aee420,c2aee400) at
> sysctl_find_oidname+0xb
> sysctl_add_oid(c2aee420,735f6e72,ffffffff,c05c520f,c0000003) at
> sysctl_add_oid+0x22
> acpi_attach(c2a73880) at acpi_attach+0x177
It seems acpi_attach() is passing this argument to sysctl_add_oid() at
line 408:
sc->acpi_sysctl_tree = SYSCTL_ADD_NODE(&sc->acpi_sysctl_ctx,
SYSCTL_STATIC_CHILDREN(_hw), OID_AUTO,
device_get_name(dev), CTLFLAG_RD, 0, "");
device_get_name() returns a char *, so this should be fine. *shrug*
This works for all sorts of other people all the time, so not sure why
you are seeing this.
--
John Baldwin <[EMAIL PROTECTED]> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message