> SunOS paradox 5.11 snv_41 sun4u sparc SUNW,Sun-Blade-1000
>
> gets unresolved symbol for console_putc (which is in /dev/ksyms but as a
> local
> symbol).
>
> Would scg be useful with post-Solaris-10, even if it would load?
>
> And where is the source for scg?
I think that everything you need is in the source to cdrecord.
Do the following :
(1) get a more recent edition of snv going. Or get BeleniX or marTux
or something recent.
(2) get the cdrecord source :
ftp://ftp.berlios.de/pub/cdrecord/alpha/cdrtools-2.01.01a25.tar.gz
(3) get smake sources :
ftp://ftp.berlios.de/pub/smake/alpha/smake-1.2a41.tar.bz2
(4) just to be complete .. get star
ftp://ftp.berlios.de/pub/star/alpha/star-1.5a78.tar.bz2
(5) get the Studio 11 compiler kit
http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=8&PartDetailId=SS11-OSOL-FEB07-SF-G-F&TransactionId=try
sorry for the nasty URL .. it was Sun's idea. Not mine.
(6) build smake
$ mkdir $HOME/local $HOME/local/bin $HOME/local/man $HOME/local/lib
$ PATH=/opt/SUNWspro/bin:$PATH;export PATH
$ echo $PATH
/opt/SUNWspro/bin:/usr/xpg4/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/usr/ccs/bin
$ mkdir build
$ cd build
$ bzcat $HOME/src/smake-1.2a41.tar.bz2 | tar -xf -
$
$ ls
smake-1.2
$ cd smake-1.2
$ CC=cc;LC_ALL=C;LANG=C;export CC LC_ALL LANG
$
$ which make
/usr/xpg4/bin/make
$ make
NOTICE: Using bootstrap 'Makefile' to make 'all'
cd psmake && sh ./MAKE-all
Checking for working bootstrap make...
./MAKE-all[7]: ./smake: not found
Creating bootstrap make...
.
.
.
==> LOCALIZING "OBJ/sparc-sunos5-cc/man/makefiles.4"
==> MAKING "all" ON SUBCOMPONENT "SRCROOT/man/man4/makerules.mk"
==> LOCALIZING "OBJ/sparc-sunos5-cc/man/makerules.4"
$ ./smake/OBJ/sparc-sunos5-cc/smake --version
Smake release 1.2a41 (sparc-sun-solaris2.11) Copyright (C) 1985, 87, 88, 91,
1995-2007 Jörg Schilling
$ cp -p ./smake/OBJ/sparc-sunos5-cc/smake $HOME/local/bin
$
(7) include the new smake in your PATh and build cdrecord
$ PATH=$HOME/local/bin:$PATH;export PATH
$ which smake
/export/home/dclarke/local/bin/smake
$
$ cd ..
$ gzip -dc $HOME/src/cdrtools-2.01.01a25.tar.gz | tar -xf -
$ ls
cdrtools-2.01.01 smake-1.2
$ cd cdrtools-2.01.01
$
$ smake
...sh conf/cc-config.sh cc cc incs/Dcc.sparc-sunos5
Trying to find cc
Found cc
Creating empty 'incs/Dcc.sparc-sunos5', using cc as default compiler
==> MAKING DIRECTORY "incs/sparc-sunos5-cc/Inull"
==> CONFIGURING RULES "incs/sparc-sunos5-cc/rules.cnf"
creating cache ./config.cache
checking host system type... sparc-sun-solaris2.11
checking if /bin/sh is bash... no
checking for object suffix... o
.
.
.
[ this takes a little time ]
.
.
.
==> MAKING DIRECTORY "OBJ/sparc-sunos5-cc/man"
==> LOCALIZING "OBJ/sparc-sunos5-cc/man/makefiles.4"
==> MAKING "all" ON SUBCOMPONENT "SRCROOT/man/man4/makerules.mk"
==> LOCALIZING "OBJ/sparc-sunos5-cc/man/makerules.4"
$
$ cp -p ./cdrecord/OBJ/sparc-sunos5-cc/cdrecord $HOME/local/bin
$ cp -p ./mkisofs/OBJ/sparc-sunos5-cc/mkisofs $HOME/local/bin
$ cp -p ./readcd/OBJ/sparc-sunos5-cc/readcd $HOME/local/bin
$ cp -p ./scgcheck/OBJ/sparc-sunos5-cc/scgcheck $HOME/local/bin
$
$ cdrecord --version
Cdrecord-ProDVD-Clone 2.01.01a25 (sparc-sun-solaris2.11) Copyright (C)
1995-2006 Jörg Schilling
and there is the version that comes with snv_61
$ /bin/cdrecord --version
Cdrecord-ProDVD-Clone 2.01.01a10 (sparc-sun-solaris2.11) Copyright (C)
1995-2006 Jörg Schilling
As root you can do this :
# /export/home/dclarke/local/bin/cdrecord -v -scanbus
Cdrecord-ProDVD-Clone 2.01.01a25 (sparc-sun-solaris2.11) Copyright (C)
1995-2006 Jörg Schilling
TOC Type: 1 = CD-ROM
Warning: Using USCSI interface.
Using libscg version 'schily-0.9'.
SCSI buffer size: 64512
scsibus0:
0,0,0 0) 'FUJITSU ' 'MAG3091L SUN9.0G' '1111' Disk
0,1,0 1) 'FUJITSU ' 'MAG3091L SUN9.0G' '1111' Disk
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
scsibus2:
2,0,0 200) *
2,1,0 201) *
2,2,0 202) 'FUJITSU ' 'MAT3073N SUN72G ' '0602' Disk
2,3,0 203) 'FUJITSU ' 'MAN3735MC ' '5508' Disk
2,4,0 204) 'SEAGATE ' 'ST373307LSUN72G ' '0507' Disk
2,5,0 205) *
2,6,0 206) *
2,7,0 207) *
scsibus3:
3,0,0 300) *
3,1,0 301) *
3,2,0 302) 'SEAGATE ' 'ST373307LSUN72G ' '0507' Disk
3,3,0 303) 'FUJITSU ' 'MAT3073N SUN72G ' '0602' Disk
3,4,0 304) 'SEAGATE ' 'ST373307LSUN72G ' '0507' Disk
3,5,0 305) *
3,6,0 306) *
3,7,0 307) *
bash-3.00#
# /export/home/dclarke/local/bin/scgcheck
Scgcheck 2.01 (sparc-sun-solaris2.11) SCSI user level transport library ABI
checker.
Copyright (C) 1998,2001 Jörg Schilling
Checking if your implementation supports to scan the SCSI bus.
Trying to open device: '(NULL POINTER)'.
Using libscg version 'schily-0.9'
Max DMA buffer size: 1048576
scsibus0:
0,0,0 0) 'FUJITSU ' 'MAE3091LC ' '0109' Disk
0,1,0 1) 'FUJITSU ' 'MAG3091L SUN9.0G' '1111' Disk
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
----------> SCSI scan bus test PASSED
For the next test we need to open a single SCSI device.
Best results will be obtained if you specify a modern CD-ROM drive.
Enter SCSI device name [0,6,0]: 0,1,0
Trying to open device: '0,1,0'.
Using libscg version 'schily-0.9'
Max DMA buffer size: 1048576
Device type : Disk
Version : 2
Response Format: 2
Capabilities : TERMIOP WBUS16 SYNC LINKED CMDQUE
Vendor_info : 'FUJITSU '
Identifikation : 'MAG3091L SUN9.0G'
Revision : '1111'
Ready to start test for second SCSI open? Enter <CR> to continue: ^C# ^C
#
Everything to do with scg is in there somewhere .. the rest I leave to you.
Dennis
_______________________________________________
opensolaris-discuss mailing list
[email protected]