From owner-freebsd-hardware Mon Apr 17 9:16: 5 2000 Delivered-To: freebsd-hardware@freebsd.org Received: from exmta2.rjf.com (exmta2.rjf.com [170.12.31.84]) by hub.freebsd.org (Postfix) with ESMTP id 671E037B79A for ; Mon, 17 Apr 2000 09:16:01 -0700 (PDT) (envelope-from ICartwright@IT.RJF.com) Received: by exmta2.rjf.com with Internet Mail Service (5.5.2448.0) id <2R5PGH36>; Mon, 17 Apr 2000 12:15:56 -0400 Message-ID: <6D5097D4B56AD31190D50008C7B1579B670205@EXLAN5> From: Ian Cartwright To: "'Viren R.Shah'" , "Matthew N. Dodd" Cc: Jonathan Lemon , "FreeBSD Hardware (E-mail)" Subject: RE: cvs commit: src/sys/dev/ida ida_eisa.c Date: Mon, 17 Apr 2000 12:15:48 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The ida driver now detects the SMART controller and the logical drives on it correctly. However, now I get a page fault immediately after the ida detection. It looks like maybe it's detecting the next eisa card or something though. I'm not sure. Can someone take a look at the output and maybe point me in the right direction? Output: ida0: at 0x7c88-0x7c9e, irq 10 (level) ida0: on eisa0 slot 7 ida0: drives=2 firm_rev=2.26 idad0: 4091MB (8380320 sectors), blocksize=512 idad1: 2000MB (4096320 sectors), blocksize=512 e Fatal trap 12: page fault while in kernel mode fault virtual address = 0xff00015d fault code = supervisor read, page not present instruction pointer = 0x8:0xc0170aa7 stack pointer = 0x10:0xc0602d94 frame pointer = 0x10:0xc0602da0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def 32 1, gran 1 processor flags = interrupt enabled, resume, IOPL = 0 current process = 0 (swapper) interrupt mask = net tty bio cam trap number = 12 panic: page fault Uptime: 0s Ian Cartwright Senior Engineer Raymond James Associates icartwright@it.rjf.com -----Original Message----- From: Viren R.Shah [mailto:viren@rstcorp.com] Sent: Sunday, April 16, 2000 9:31 AM To: Matthew N. Dodd Cc: Jonathan Lemon; Ian Cartwright Subject: Re: cvs commit: src/sys/dev/ida ida_eisa.c >>>>> "Matt" == Matthew N Dodd writes: Matt> Ok, I see whats happening. Matt> The EISA IDA boards don't use the lower registers but the register Matt> definitions are defined as offsets from the lower iobase. Matt> Thankfully the IDA drivers is very well written so that the register Matt> access is all contained within the bus front end code. Matt> Jonathan, please review the attached patch before I commit it. You have already committed this patch right (I cvsup every morning at 4am EDT)? I compiled a kernel after today morning's cvsup, and it booted and found the ida controller and sysinstall again found the exising slices on the RAID array (4 1G drives RAID'ed into a 3G partition *grin*). After I backup everything I need from the Compaq box, I'll go further and reinstall from a new snap (whenever one is available). Matt> Viren, thanks alot for your good debuging and shedding light on the Matt> problem. No problem, it has already given me a slightly better understanding of the device driver framework. Thanks, both of you, for getting the driver working. Ian, does it work for you? Viren -- Viren R. Shah Man's Greatest Asset is... ...an unsettled mind To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message