Date: Mon, 22 Jan 2001 16:23:54 -0700 From: "Kenneth D. Merry" <ken@kdm.org> To: clefevre@noos.fr Cc: Cyrille Lefevre <clefevre@citeweb.net>, freebsd-scsi@FreeBSD.ORG Subject: Re: SCSI suspend/resume Message-ID: <20010122162354.B82472@panzer.kdm.org> In-Reply-To: <g0icqhj1.fsf@gits.dyndns.org>; from clefevre@citeweb.net on Mon, Jan 22, 2001 at 06:31:46AM %2B0100 References: <d7dshzi1.fsf@gits.dyndns.org> <20010112211218.A32720@panzer.kdm.org> <bst6olp6.fsf@gits.dyndns.org> <20010117104437.B17373@panzer.kdm.org> <y9w9lrhi.fsf@gits.dyndns.org> <20010117223602.A22556@panzer.kdm.org> <g0icqhj1.fsf@gits.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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" <ken@kdm.org> 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: <HP C1533A HP00> 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: <HP C3325A HP08> 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: <HP C3325A HP08> 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: <HP C3325A HP08> 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: <SEAGATE ST32430N HP04> 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: <YAMAHA CRW4260 1.0q> 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: <PLEXTOR CD-ROM PX-32TS 1.03> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010122162354.B82472>