David Bryant wrote:
Greetings,
I'm trying to load the "sgen" driver in order to control a tape changer (it sees the tape drive just fine),
but when I do a "modload -p drv/sgen" it replies with a cryptic "No such device or address".
Further checking reveals that it's actually having issues with "misc/scsi".
Here's some more info:
<pre>
[EMAIL PROTECTED] # uname -a
SunOS silo 5.10 Generic_118855-36 i86pc i386 i86pc
[EMAIL PROTECTED] # isainfo -bv
32-bit i386 applications
cx16 sse3 sse2 sse fxsr amd_3dnowx amd_3dnow amd_mmx mmx cmov sep cx8
tsc fpu
[EMAIL PROTECTED] # crle
Default configuration file (/var/ld/ld.config) not found
Default Library Path (ELF): /lib:/usr/lib (system default)
Trusted Directories (ELF): /lib/secure:/usr/lib/secure (system default)
[EMAIL PROTECTED] # find /kernel -name sgen
/kernel/drv/amd64/sgen
/kernel/drv/sgen
[EMAIL PROTECTED] # modload -p drv/sgen
can't load module: No such device or address
[EMAIL PROTECTED] # ldd /kernel/drv/sgen
misc/scsi => (file not found)
[EMAIL PROTECTED] # find /kernel -name scsi
/kernel/misc/amd64/scsi
/kernel/misc/scsi
[EMAIL PROTECTED] # modinfo | grep scsi
23 fe9ec5d8 fc84 174 1 scsi_vhci (SCSI VHCI Driver 1.46)
24 fe9fb1cc c1e8 - 1 scsi (SCSI Bus Utility Routines)
99 f7f3a000 23420 74 1 iscsi (Sun iSCSI Initiator v20061003-0)
[EMAIL PROTECTED] #
</pre>
This is currently the 32bit kernel, but I was getting the same behavior on the 64bit kernel.
Is this a bug, or do just have a configuration issue? Please let me know if
there's a workaround, or if you need more information.
your command line appears to be wrong:
farnarkle: $ modinfo |grep -i sgen
farnarkle: $ su root -c ' modload /kernel/drv/amd64/sgen'
Password:
farnarkle: $ modinfo |grep -i sgen
261 fffffffff7fc3000 4980 145 1 sgen (SCSI generic driver 1.16)
James C. McPherson
--
Solaris kernel software engineer
Sun Microsystems
_______________________________________________
driver-discuss mailing list
driver-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/driver-discuss