Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Sep 1999 21:42:29 -0400 (EDT)
From:      Rick Lotoczky <rickl@ic.net>
To:        "Kenneth D. Merry" <ken@kdm.org>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: cds disappeared
Message-ID:  <XFMail.990904214229.rickl@ic.net>
In-Reply-To: <199909041723.LAA25758@panzer.kdm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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
<root:~># /sbin/camcontrol devlist -v
scbus-1 on xpt0 bus 0:
<  >                               at scbus-1 target -1 lun
-1 (xpt0)
scbus0 on ahc0 bus 0:
<SEAGATE ST32550W SUN2.1G 0416>    at scbus0 target 0 lun 0
(pass1,da0)
<IBM DCAS-34330W S65A>             at scbus0 target 1 lun 0
(pass2,da1)
<QUANTUM XP32275W LXY4>            at scbus0 target 2 lun 0
(pass3,da2)
<QUANTUM FIREBALL_TM2110S 300X>    at scbus0 target 3 lun 0
(pass4,da3)
<MICROP 4743WS S168>               at scbus0 target 4 lun 0
(pass5,da4)
<  >                               at scbus0 target -1 lun
-1 ()
scbus1 on ncr0 bus 0:
<HP C4324/C4325 1.27>              at scbus1 target 0 lun 0
(pass6,cd0)
<HP HP35480A T603>                 at scbus1 target 3 lun 0
(pass7,sa0)
<HP C2520A 3503>                   at scbus1 target 4 lun 0
(pass0,pt0)
<  >

> camcontrol tur cd0 -v
<root:~># /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
<root:~># /sbin/camcontrol inquiry cd0 -v
pass6: <HP C4324/C4325 1.27> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.990904214229.rickl>