Oh... if I don't run that, where does it get the driver from? For the one time I think I got my code working, here's what I did: 1) compile the driver 2) modunload the existing driver 3) modload the driver I compiled 4) dmesg to see if I got anything.
What I'm trying to do is patch in SATA Port Multiplier support from ahci.c into si3124.c. But since all I have are some sun/oracle docs and the existing source code, I feel like I don't have a full understanding of what's going on. So I wanted to either run a debugger with breakpoints which would let me print out variables... or debug by some sort of printf thing like cmn_err. The only message I've managed to get printed to /var/adm/messages prior to posting happens to be a side effect of possible progress: "kern.warning WARNING: Port multiplier is on the blacklist." -Hansel On Nov 11, 2011, at 9:55 AM, John Martin wrote: > > Verify you have run "bootadm update-archive" after updating > the kernel driver binary or else your changes may not be used. > You can verify you are using the binary with your changes by > updating a version/timestamp in the modldrv.drv_linkinfo string > and use the modinfo command to display the driver's string. > _______________________________________________ driver-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/driver-discuss
