wendy jiang writes: > Hello, I am a newbie on Solaris Network driver. I am writing a GLD2 > network driver. Right now, the xx_gld_send, xx_gld_stop, xx_gld_intr > etc functions are just dummy functions and all returns > success. After my driver is loaded, I can see that the attach > function is called, it returns ok and my MAC address is used by > kernel. However, OS soon crashes.
Can you post a pointer to your code? > I am wondering if some important > macinfo functions can not be just return ok? What is the minimum > requirement? See gld(9E). Some (such as gldm_intr returning DDI_INTR_*) have special values to return. At a guess, did you call gld_mac_alloc in order to allocate the macinfo structure? > Mar 6 11:04:45 solaris-devx unix: [ID 266532 kern.notice] ss: > 30 > Mar 6 11:04:45 solaris-devx unix: [ID 100000 kern.notice] Boot under kmdb (kernel ... -K) or allow the system to dump and use mdb to dump the call stack ($c). That should provide a little more information about what's going wrong. -- James Carlson, Solaris Networking <[EMAIL PROTECTED]> Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677 _______________________________________________ networking-discuss mailing list [email protected]
