From owner-freebsd-scsi Mon Jan 22 15:24:22 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id 8D7ED37B6B8 for ; Mon, 22 Jan 2001 15:24:02 -0800 (PST) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id QAA82664; Mon, 22 Jan 2001 16:23:54 -0700 (MST) (envelope-from ken) Date: Mon, 22 Jan 2001 16:23:54 -0700 From: "Kenneth D. Merry" To: clefevre@noos.fr Cc: Cyrille Lefevre , freebsd-scsi@FreeBSD.ORG Subject: Re: SCSI suspend/resume Message-ID: <20010122162354.B82472@panzer.kdm.org> References: <20010112211218.A32720@panzer.kdm.org> <20010117104437.B17373@panzer.kdm.org> <20010117223602.A22556@panzer.kdm.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="6c2NcOVqGQ03X4Wi" Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from clefevre@citeweb.net on Mon, Jan 22, 2001 at 06:31:46AM +0100 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jan 22, 2001 at 06:31:46 +0100, Cyrille Lefevre wrote: > "Kenneth D. Merry" writes: > > On Wed, Jan 17, 2001 at 23:54:17 +0100, Cyrille Lefevre wrote: > > > do you want a copy of my kernel config file ? any other things ? > > > > Nah, that's okay. The only thing I'm curious about is what sort of drive > > this is. Can you send dmesg output for your SCSI disk? > > single-ended 2GB HP drives :) > > ... > sym0: <875> port 0xfc00-0xfcff mem 0xffbea000-0xffbeafff,0xffbebc00-0xffbebcff irq 9 at device 14.0 on pci0 > sym0: Tekram NVRAM, ID 7, Fast-20, SE, parity checking > ... > Waiting 5 seconds for SCSI devices to settle > (probe2:sym0:0:2:0): phase change 6-7 6@07e4398c resid=4. > sa0 at sym0 bus 0 target 3 lun 0 > sa0: Removable Sequential Access SCSI-2 device > sa0: 10.000MB/s transfers (10.000MHz, offset 8) > da0 at sym0 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-2 device > da0: 10.000MB/s transfers (10.000MHz, offset 16), Tagged Queueing Enabled > da0: 2048MB (4194685 512 byte sectors: 255H 63S/T 261C) > da2 at sym0 bus 0 target 5 lun 0 > da2: Fixed Direct Access SCSI-2 device > da2: 10.000MB/s transfers (10.000MHz, offset 16), Tagged Queueing Enabled > da2: 2048MB (4194685 512 byte sectors: 255H 63S/T 261C) > da3 at sym0 bus 0 target 6 lun 0 > da3: Fixed Direct Access SCSI-2 device > da3: 10.000MB/s transfers (10.000MHz, offset 16), Tagged Queueing Enabled > da3: 2048MB (4194685 512 byte sectors: 255H 63S/T 261C) > da1 at sym0 bus 0 target 4 lun 0 > da1: Fixed Direct Access SCSI-2 device > da1: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled > da1: 2048MB (4194685 512 byte sectors: 255H 63S/T 261C) These drives look normal enough, I don't know of any problems offhand with them. So I don't really know why your drives aren't spinning up. Here are some things to try: - boot with -v (boot -v) and see if you get any additional diagnostic information when you spin down a drive and then try to do I/O. - try the attached patch, and see if you get any diagnostic printouts. Also, make sure you compile your kernel without excluding the sense and CDB strings, so the error messages make more sense. > Mounting root from ufs:/dev/da0s1a > cd1 at sym0 bus 0 target 2 lun 0 > cd1: Removable CD-ROM SCSI-2 device > cd1: 3.300MB/s transfers > cd1: cd present [282540 x 2048 byte records] > cd0 at sym0 bus 0 target 1 lun 0 > cd0: Removable CD-ROM SCSI-2 device > cd0: 20.000MB/s transfers (20.000MHz, offset 15) > cd0: Attempt to query device size failed: NOT READY, Medium not present > > I know, my PLEXTOR CDROM seems to be dead :( That's normal. It's just telling you there is no CD in the drive. Ken -- Kenneth Merry ken@kdm.org --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="cam_periph.c.start_diag.20010122" ==== //depot/FreeBSD-ken/src/sys/cam/cam_periph.c#9 - /c/ken/perforce/FreeBSD-ken/src/sys/cam/cam_periph.c ==== *** /tmp/tmp.82637.0 Mon Jan 22 16:21:35 2001 --- /c/ken/perforce/FreeBSD-ken/src/sys/cam/cam_periph.c Mon Jan 22 16:21:20 2001 *************** *** 1292,1297 **** --- 1292,1300 ---- else le = FALSE; + xpt_print_path(periph->path); + printf("attempting START UNIT\n"); + /* * Attempt to start the drive up. * --6c2NcOVqGQ03X4Wi-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message