Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Apr 2000 12:15:48 -0400
From:      Ian Cartwright <ICartwright@IT.RJF.com>
To:        "'Viren R.Shah'" <viren@rstcorp.com>, "Matthew N. Dodd" <winter@jurai.net>
Cc:        Jonathan Lemon <jlemon@flugsvamp.com>, "FreeBSD Hardware (E-mail)" <freebsd-hardware@freebsd.org>
Subject:   RE: cvs commit: src/sys/dev/ida ida_eisa.c
Message-ID:  <6D5097D4B56AD31190D50008C7B1579B670205@EXLAN5>

next in thread | raw e-mail | index | archive | help
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: <Compaq SMART array controller> 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 <winter@jurai.net> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6D5097D4B56AD31190D50008C7B1579B670205>