From owner-freebsd-current Sat Sep 4 18:43:24 1999 Delivered-To: freebsd-current@freebsd.org Received: from ic.net (ic.net [152.160.8.96]) by hub.freebsd.org (Postfix) with SMTP id C4BFD1538D for ; Sat, 4 Sep 1999 18:43:20 -0700 (PDT) (envelope-from rickl@ic.net) Received: (qmail 16672 invoked from network); 5 Sep 1999 01:42:59 -0000 Received: from unknown (HELO lurch.rickl.org) (206.84.204.76) by unknown with SMTP; 5 Sep 1999 01:42:59 -0000 Content-Length: 3696 Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199909041723.LAA25758@panzer.kdm.org> Date: Sat, 04 Sep 1999 21:42:29 -0400 (EDT) Reply-To: rickl@ic.net Organization: ic.net From: Rick Lotoczky To: "Kenneth D. Merry" Subject: Re: cds disappeared Cc: freebsd-current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Ken, Sorry, I'm really confused about who has the problem, but I *do know* my system isn't working properly. Also, it is different...I didn't know about the two drives until after I sent mail to you. Anyway...here goes--> On 04-Sep-99 Kenneth D. Merry said: > Rick Lotoczky wrote... ...my stuff deleted > > It sounds like you've only got one CDROM drive in each > machine. > > Please send the output of the following, with mountable > media in the drive: > > camcontrol devlist -v # /sbin/camcontrol devlist -v scbus-1 on xpt0 bus 0: < > at scbus-1 target -1 lun -1 (xpt0) scbus0 on ahc0 bus 0: at scbus0 target 0 lun 0 (pass1,da0) at scbus0 target 1 lun 0 (pass2,da1) at scbus0 target 2 lun 0 (pass3,da2) at scbus0 target 3 lun 0 (pass4,da3) at scbus0 target 4 lun 0 (pass5,da4) < > at scbus0 target -1 lun -1 () scbus1 on ncr0 bus 0: at scbus1 target 0 lun 0 (pass6,cd0) at scbus1 target 3 lun 0 (pass7,sa0) at scbus1 target 4 lun 0 (pass0,pt0) < > > camcontrol tur cd0 -v # /sbin/camcontrol tur cd0 -v Unit is not ready (pass6:ncr0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (pass6:ncr0:0:0:0): NOT READY asc:3a,0 (pass6:ncr0:0:0:0): Medium not present > camcontrol inquiry cd0 # /sbin/camcontrol inquiry cd0 -v pass6: Removable CD-ROM SCSI-2 device (pass6:ncr0:0:0:0): INQUIRY. CDB: 12 1 80 0 ff 0 (pass6:ncr0:0:0:0): ILLEGAL REQUEST asc:24,0 (pass6:ncr0:0:0:0): Invalid field in CDB sks:c0,2 <- pass6: 3.300MB/s transfers | | | Looks like something is wrong here------------------ the NCR driver compiles with warnings... cc -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing -prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -no stdinc -I- -I. -I../.. -I../../../include -DKERNEL -include opt_global.h -elf ../../pci/ncr.c ../../pci/ncr.c: In function `ncr_log_hard_error': ../../pci/ncr.c:5327: warning: cast discards `volatile' from pointer target type ../../pci/ncr.c: In function `ncr_exception': ../../pci/ncr.c:5464: warning: cast discards `volatile' from pointer target type ../../pci/ncr.c: In function `ncr_int_ma': ../../pci/ncr.c:5767: warning: cast discards `volatile' from pointer target type ../../pci/ncr.c:5771: warning: cast discards `volatile' from pointer target type ../../pci/ncr.c:5795: warning: cast discards `volatile' from pointer target type ../../pci/ncr.c:5802: warning: cast discards `volatile' from pointer target type ../../pci/ncr.c:5810: warning: cast discards `volatile' from pointer target type ../../pci/ncr.c:5815: warning: cast discards `volatile' from pointer target type ../../pci/ncr.c:5825: warning: cast discards `volatile' from pointer target type ../../pci/ncr.c:5829: warning: cast discards `volatile' from pointer target type ../../pci/ncr.c: In function `ncr_regtest': ../../pci/ncr.c:6797: warning: cast discards `volatile' from pointer target type ../../pci/ncr.c:6798: warning: cast discards `volatile' from pointer target type  > mount /dev/cd0a /mnt mount just hangs until a timeout and then gives: mount: Input/Output error Thanks for the help Ken. By the way, my machine is dual-boot with NT. The CD works fine with the other OS. Rick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message