From owner-freebsd-current Thu Jun 27 14:37:29 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail.speakeasy.net (mail13.speakeasy.net [216.254.0.213]) by hub.freebsd.org (Postfix) with ESMTP id 392B237B400 for ; Thu, 27 Jun 2002 14:37:24 -0700 (PDT) Received: (qmail 6471 invoked from network); 27 Jun 2002 21:37:22 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail13.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 27 Jun 2002 21:37:22 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g5RLbYM01374; Thu, 27 Jun 2002 17:37:34 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Thu, 27 Jun 2002 17:37:23 -0400 (EDT) From: John Baldwin To: Julian Elischer Subject: RE: this ring a bell with anyone? Cc: FreeBSD current users Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 27-Jun-2002 Julian Elischer wrote: > Using $PIR table, 12 entries at 0xc00f2f70 > npx0: on motherboard > npx0: INT 16 interface > acpi0: 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 <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message