From owner-freebsd-current@FreeBSD.ORG Thu Feb 14 15:47:36 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2895D16A418 for ; Thu, 14 Feb 2008 15:47:36 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.freebsd.org (Postfix) with ESMTP id D1C2713C447 for ; Thu, 14 Feb 2008 15:47:35 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from phobos.samsco.home (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.8/8.13.8) with ESMTP id m1EFlOJ0073084; Thu, 14 Feb 2008 08:47:24 -0700 (MST) (envelope-from scottl@samsco.org) Message-ID: <47B4628C.309@samsco.org> Date: Thu, 14 Feb 2008 08:47:24 -0700 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.11) Gecko/20071128 SeaMonkey/1.1.7 MIME-Version: 1.0 To: Brandon Weisz References: <47B315C8.3060805@bosco.princeton.edu> <47B340DF.1010607@samsco.org> <1202955279.6548.2.camel@section-8.internal.avioc.org> In-Reply-To: <1202955279.6548.2.camel@section-8.internal.avioc.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=5.4 tests=ALL_TRUSTED autolearn=failed version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on pooker.samsco.org Cc: freebsd-current@freebsd.org, Brian Biskeborn Subject: Re: hptrr driver panics on 7.0-RC2 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Feb 2008 15:47:36 -0000 Brandon Weisz wrote: > On Wed, 2008-02-13 at 12:11 -0700, Scott Long wrote: >> Brian Biskeborn wrote: >>> Hello all, >>> >>> I've reported this problem to HighPoint, but I'm curious to see whether >>> anyone else has run into it. I'm using a RocketRaid 2314MS card on an >>> amd64 system. When I boot the install CD for 7.0-RC2, the driver panics: >>> >>> hptrr: (null): 180*32=5760 bytes >>> hptrr: (null): 180*288=51840 bytes >>> >>> Fatal trap 12: page fault while in kernel mode >>> cpuid = 0; apic id = 00 >>> fault virtual address = 0x3 >>> fault code = supervisor read data, page not present >>> instruction pointer = 0x8:0xffffffff80502032 >>> stack pointer = 0x10:0xffffffff80fd0950 >>> frame pointer = 0x10:0xffffffff80822ecf >>> code segment = base 0x0, limit 0xfffff, type 0x1b >>> = DPL 0, pres 1, long 1, def32 0, gran 1 >>> processor eflags = interrupt enabled, resume, IOPL = 0 >>> current process = 0 (swapper) >>> trap number = 12 >>> panic: page fault >>> cpuid = 0 >>> >>> This is with no drives connected to the controller. My machine specs: >>> Dell Inspiron 531S >>> Processor: Athlon 64 X2 4000+ >>> Motherboard: Asus M2N61-AX (seems to be made specifically for Dell) with >>> the MCP61 chipset >>> >>> So: has anyone else seen a panic with this or other HighPoint cards? I >>> know HighPoint provides a binary blob for their driver, but could the >>> problem be in the wrapper code someplace? >>> >>> I wish I could provide more information, but not being able to install >>> FreeBSD limits my options there. I had to take a picture of the screen >>> and type in the panic output by hand :) >>> >> I'll take a look at it. Since you don't have any drives connected, can >> you remove the card and then do the install? >> >> Scott > > It panics with or without drives attached. > > hptrr: (null): 180*32=5760 bytes > hptrr: (null): 180*288=51840 bytes > > > Fatal trap 12: page fault while in kernel mode > cpuid = 0; apic id = 00 > fault virtual address = 0x3 > fault code = supervisor read data, page not present > instruction pointer = 0x8:0xffffffff80515cf2 > stack pointer = 0x10:0xffffffff80bfc910 > frame pointer = 0x10:0xffffffff80bfca80 > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, long 1, def32 0, gran 1 > processor eflags = interrupt enabled, resume, IOPL = 0 > current process = 0 (swapper) > [thread pid 0 tid 0 ] > Stopped at strlen+0x2: cmpb $0,(%rdi) > db> bt > Tracing pid 0 tid 0 td 0xffffffff80a72170 > strlen() at strlen+0x2 > vsnprintf() at vsnprintf+0x2e > hptrr_os_printk() at hptrr_os_printk+0x76 > htp_final_init() at hpt_final_init+0x22d > run_interrupt_driven_config_hooks() at run_interrupt_driven_config_hooks > +0x47 > mi_startup() at mi_startup+0x58 > btext() at btext+0x2c > > (hand copied) > > This is 7.0-RC2, amd64. On a i386 machine the system boots with a lot > of garbage from the hptrr driver, and will panic on halt/reboot. I > didn't test if it functions on i386. > > Brandon > > Thanks for the extra info. This looks like something that Highpoint will have to fix. I'll see what can be done in time for the final 7.0 release. Scott