Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.uwa.edu.au!disco.iinet.net.au!news.uoregon.edu!hpg30a.csc.cuhk.hk!news.cuhk.edu.hk!agate!howland.reston.ans.net!gatech!newsfeed.internetmci.com!news.kei.com!nntp.coast.net!news00.sunet.se!sunic!news99.sunet.se!news.uni-c.dk!iesd.auc.dk!news From: john7doe@iesd.auc.dk (Simon Nybroe) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: HELP: "SONY CD-ROM CDU-76S 1.1c" Date: 09 Mar 1996 14:29:49 +0100 Organization: Math & CS at Aalborg University Lines: 47 Sender: john7doe@birk.iesd.auc.dk Message-ID: <y0zrav2s8c2.fsf@birk.iesd.auc.dk> References: <Pine.BSF.3.91.960229183254.314A-100000@nilkom.se> NNTP-Posting-Host: birk.iesd.auc.dk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-User: john7doe In-reply-to: Lennart Nilhov's message of Thu, 29 Feb 1996 18:43:20 +0100 X-Newsreader: Gnus v5.0 >>>>> "Lennart" == Lennart Nilhov <lennart@nilkom.se> writes: Lennart> Hello everyone I have problem with SONY CD-ROM. SCSI, Lennart> FreeBSD2.1 No problem if I use CD in Windows with the Lennart> same Bus-logic-controler No problem with "NEC CD-ROM Lennart> DRIVE:501 2.3" for FreeBSD2.1: bt0: reading board Lennart> settings, busmastering, int=11 bt0: version 4.28D, async Lennart> only, parity, 32 mbxs, 32 ccbs /kernel: (bt0:4:0): "NEC Lennart> CD-ROM DRIVE:501 2.3" type 5 removable SCSI 2 /kernel: Lennart> cd0(bt0:4:0): CD-ROM. I have tried xcdplayer Lennart> successfully. Lennart> For SONY CD-ROM -> (bt0:4:0): "SONY CD-ROM CDU-76S 1.1c" Lennart> type 5 removable SCSI 2 cd0(bt0:4:0): CD-ROM cd Lennart> present.[244437 x 2048 byte records] t0: Bt946C/ Lennart> 0-PCI/EISA/VLB(32bit) bus bt0: reading board settings, Lennart> busmastering, int=11 bt0: version 4.28D, async only, Lennart> parity, 32 mbxs, 32 ccbs Start of xcdplayer -> Lennart> ioctl(cdromplaymsftrk): Invalid argument cd0(bt0:4:0): Lennart> ILLEGAL REQUEST asc:26,0 Invalid field in parameter list. Lennart> Thanks in forehand for Your help. /Lennart. -- The SONY CD-ROM drive only allow medium_type set to 0 in a SELECT command, this is rather strange, because the drive gladly returns medium_type's <> 0 if you send the drive a SENSE command. My solution to this problem is: Add this to cd_set_mode in cd.c: data->header.medium_type=0; A few lines from my cd.c: ... data->header.data_length = 0; data->header.medium_type=0; /* SN: Fix for SONY CDU-76S RP */ return (scsi_scsi_cmd(SCSI_LINK(&cd_switch, unit), ... Yours Simon -- Simon Nybroe -------- __o john7doe@iesd.auc.dk ------- _`\<,_ Dept. of Mathematics and Computer Science, Aalborg University ------- (*)/ (*)