Date: Wed, 17 Jul 1996 16:27:10 +0100 (BST) From: dave edmondson <davided@sco.com> To: Nate Williams <nate@mt.sri.com> Cc: mobile@freebsd.org, bde@freebsd.org, davidg@freebsd.org Subject: re: Possible fix for APM_DSVALUE_BUG Message-ID: <199607171527.QAA00438@zero-gravity.netlab.london.sco.com> In-Reply-To: <199607161832.MAA25236@rocky.mt.sri.com> References: <199607161832.MAA25236@rocky.mt.sri.com>
next in thread | previous in thread | raw e-mail | index | archive | help
nate, thanks for the fix. things have improved (in some respects). with this latest fix my tp760 will now boot, apm 1.1 is detected and apm mostly works (*). unfortunately, the ep driver doesn't work with my 3c589 any more. with the `standard' pccard.conf card configuration fails. setting the interrupt to 10 (or various other values) in pccard.conf solves this, and the card is recognised and configuration proceeds. during configuration, a single page of kernel text gets filled with zero's. this happens during the call to dev_attach() from ep_isa_registerdev() from ep_pccard_init() from allocate_driver(). the page that gets zero'd is always the same - that surrounding the kdc_npx structure in i386/isa/npx.c. the instruction that causes it to happen is a movl which corresponds to: kdc->kdc_next->kdc_rlink = &kdc->kdc_next in dev_attach(). i guess it's always the same page because npx is always first on my dc_list. stopping the kernel (using the debugger) before the offending instruction and writing to the same location myself doesn't cause the same behaviour. i presume that something is messing up the page descriptor for this page and the vm system is demand filling it with zero's (will it do that whilst i'm single stepping in the debugger ?). this page being zero filled causes a panic on the next exec, because npxinit() gets called (and now starts with addb %al, 0(%eax) where %eax has some completely useless value (0x8zzzzzzz something). at this point i'm stumped - vm stuff always does have me banging my head. as an aside, my usrobotics xj2288 modem works just fine ! * - there are some error messages when i resume after suspend, which i'm looking into, but they don't seem to be related to the above problem. once again, thanks for all the work !
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607171527.QAA00438>