Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Forth Mac > About FCode dri...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 127 of 157
Post > Topic >>

About FCode driver

by roturier@[EMAIL PROTECTED] Aug 27, 2006 at 09:04 PM

Hi there,

First of all, this messgae is cross-posted in both
comp.sys.mac.programmer.misc and comp.lang.forth.mac.

I am writing the FCode driver for some storage adapter
for PPC Mac. Some work has been done so far that Mac
OSX can install into the volume of the adapter. However,
after system reboots, the BUSY LED of the adapter flashs
for like 5 seconds(lots of data have been read) and system
just hangs. Apple logo is shown then but not the spinner,
and system fan starts full-speed running after a few
seconds. The adapter firmware side is checked; All issued
commands are completed normally, and they are all from
FCode driver, not any one from encapsulated runtime driver.

The kernel panic messages looks like this. (with boot-args
flag -v)

standard timeslicing quantum is 10000 us
vm_page_bootstrap: 122540 free pages
mig_table_max_displ = 70
Added extension "comp.xxxxx.xxxxxx"(vendor name)from archive.
^^^^^^^^^^^^^^ is runtime driver loaded ok??? ^^^^^^^^^^^^^^^
Can't find vtable 10AppleMacIO in (memory-resident kernel)
kld can't map kernel fileerror mapping module file
comp.apple.driver.AppleMacRISC4PE
Can't map comp.apple.driver.AppleMacRISC4PE in preparation for loading
:
blah blah
:

The following points are concerned.

1. Since the documentation for Mac specific open firmware driver
   writing is either incomplete or out of date, some mandatory
   methods might not be [fully] implemented. I have referenced
   the FCode drivers of other vendors' adapters(by "see" UI
   command) and some docs/sample codes, but I can't find any
   critical methods missing in my driver.

2. Is it possible the transition between FCode driver and the
   encapsulated runtime driver is not smooth in some way? Since
   OSX can install in the first time, I am not sure if this is
   really an issue.

So is there any way to debug in such situation? Or any good
documentation/expert out there?

Thanks in advance for any help!

KC




 4 Posts in Topic:
About FCode driver
roturier@[EMAIL PROTECTED  2006-08-27 21:04:24 
Re: About FCode driver
Dennis Ruffer <druffer  2006-08-28 09:48:11 
Re: About FCode driver
roturier@[EMAIL PROTECTED  2006-08-29 19:37:25 
Re: About FCode driver
Dennis Ruffer <druffer  2006-08-31 22:21:14 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed May 14 6:54:03 CDT 2008.