unix: dks1d4vol: [Alert] Illegal request: Illegal logical block address (asc=0x21, asq=0x0), Block #0 unix: dks1d4vol: [Alert] Illegal request: Invalid field in parameter list (asc=0x26, asq=0x0), (data byte 9), Block #0 mediad: DIOCSELECT failed on CD-ROM /dev/rdsk/dks1d4vol: I/O errorThis is mediad and the driver trying to figure out what the drive (which they think is a regular cdrom) is doing, then finding out it isn't an acceptable drive (see above).
WARNING: wd93 SCSI Bus=0 ID=4 LUN=0: SCSI cmd=0xe1 timeout after 40100 msec. Resetting SCSI bus WARNING: wd93 SCSI Bus=0 ID=4 LUN=0: SCSI cmd=0x3 Unexpected info phase 0, state 40. Resetting SCSI busTo disable SCSI disconnects on SCSI controller, type the command:
% jot /var/sysgen/master.d/wd93and change the lines that say:
int wd93_enable_disconnect[SC_MAXADAP] = {1 /* scsibus 0 */, 1 /* scsibus 1 */, 1 /* scsibus 2 */, 1 /* scsibus 3 */};
On the Indigo2 with your CD writer on the external SCSI bus (bus 1) to:
int wd93_enable_disconnect[SC_MAXADAP] = {1 /* scsibus 0 */, 0 /* scsibus 1 */, 1 /* scsibus 2 */, 1 /* scsibus 3 */};
On the Indigo/Indy external SCSI bus (bus 0) to:
int wd93_enable_disconnect[SC_MAXADAP] = {0 /* scsibus 0 */, 1 /* scsibus 1 */, 1 /* scsibus 2 */, 1 /* scsibus 3 */};
Rebuild your kernel:
% autoconfigAnd reboot:
% rebootWe have not seen this problem on any O2 or Octane machines (and they don't have wd93 controllers).
To work around this, you can type as root:
umount /CDROM #(if that's the drive you're copying from) /etc/init.d/mediad stopThis allows access for dd. You can restart mediad when you're finished reading the cd media:
/etc/init.d/mediad start
To make an ISO9660 CD and preserve the long file names, check the "Allow Full 32 Character Filenames", "Use Rock Ridge Protocol". and "Generate Adjusted Rock Ridge Attributes" checkboxes. Macs, and most flavors of UNIX understand Rock Ridge extensions, however PC's don't, so they still won't be able to read the long filenames unless you give them hints by checking "Generate translation table"
Perl Problems
If you see something very much like:
tangent 64% xisofs
Can't locate loadable object for module Tk in @INC (@INC contains:
/usr/freeware/lib/xisofs /usr/freeware/lib/perl5/5.00503/irix-n32 /usr/freeware/lib/perl5/5.00503
/usr/freeware/lib/perl5/site_perl/5.005/irix-n32 /usr/freeware/lib/perl5/site_perl/5.005
/usr/freeware/lib/perl5/sgi_perl/irix-n32 /usr/freeware/lib/perl5/site_perl
.) at /usr/freeware/bin/xisofs line 29
BEGIN failed--compilation aborted at /usr/freeware/bin/xisofs line
29.
then you have a version of perl with new n32 binaries (better, faster,
yet incompatible with o32)
that has also disrupted the o32 stuff that the perltk package (not
available at freeware.sgi.com, sadly) was built upon.
If you're running IRIX 6.5.X, you can load this updated version of
perltk; if not, I suggest
using gcombust, or manually using
mkisofs and cdrecord.
If you are running IRIX 6.4 with very few or very old patches installed and you want to read ISO9660 CDROMS, you may need a new patch! If you've written a CD and can read it in an O2 but not your Octane, this is likely to be your problem.
As the patches and patch sets are updated all the time, look to http://support.sgi.com
for required/recommended patches for IRIX 6.4, and install the ones for
SCSI and ISO9660.
comments/questions to rickv@sgi.com