Date: 13 Jan 1999 21:47:01 -0000 From: trost@cloud.rain.com To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: kern/9474: "comcontrol rescan 0:8:0" hangs, causes other problems Message-ID: <19990113214701.647.qmail@grey.cloud.rain.com>
next in thread | raw e-mail | index | archive | help
>Number: 9474 >Category: kern >Synopsis: "comcontrol rescan 0:8:0" hangs, causes other problems >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 13 13:50:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Bill Trost >Release: FreeBSD 3.0-CURRENT i386 -- sup'd Jan 12 1999 14:53 PST >Organization: Trost Computing >Environment: Changes to /sys/pci/ahc_pci.c (without these, boot hangs): --- ahc_pci.c.bak Mon Jan 11 10:24:52 1999 +++ ahc_pci.c Mon Jan 11 10:24:54 1999 @@ -243,6 +243,11 @@ int error; char channel; + long csize_lattime = pci_conf_read(config_id, CSIZE_LATTIME); + printf("csize_lattime = %lx\n", csize_lattime); + csize_lattime &= ~CACHESIZE; + pci_conf_write(config_id, CSIZE_LATTIME, csize_lattime); + if (config_id->func == 1) channel = 'B'; else Relevant dmesg bits: avail memory = 30457856 (29744K bytes) Preloaded elf kernel "kernel" at 0xf025e000. chip0: <Intel 82439> rev 0x03 on pci0.0.0 chip1: <Intel 82371SB PCI to ISA bridge> rev 0x01 on pci0.7.0 ahc0: <Adaptec 2940 Ultra SCSI adapter> rev 0x01 int a irq 7 on pci0.17.0 csize_lattime = 4004 ahc0: aic7880 Single Channel A, SCSI Id=7, 16/255 SCBs sa0 at ahc0 bus 0 target 4 lun 0 sa0: <ARCHIVE Python 28388-XXX 4AFA> Removable Sequential Access SCSI-2 device da1 at ahc0 bus 0 target 1 lun 0 da1: <iomega jaz 1GB H.62> Removable Direct Access SCSI-2 device da0 at ahc0 bus 0 target 0 lun 0 da0: <SEAGATE ST11910N 8044> Fixed Direct Access SCSI-2 device changing root device to da0s2a cd0 at ahc0 bus 0 target 2 lun 0 cd0: <SONY CD-ROM CDU-76S 1.1c> Removable CD-ROM SCSI-2 device >Description: Running the command hangs indefinitely. X becomes unusable (mouse and keyboard freeze). Logins on other vty's take dozens of seconds. After about 60 seconds, the following messages get printed: Jan 13 13:24:58 grey /kernel: (probe0:ahc0:0:8:0): SCB 0x13 - timed out in datain phase, SEQADDR == 0x10b Jan 13 13:25:01 grey /kernel: (probe0:ahc0:0:8:0): BDR message in message buffer Jan 13 13:25:01 grey /kernel: (probe0:ahc0:0:8:0): SCB 0x13 - timed out in datain phase, SEQADDR == 0x10b Jan 13 13:25:01 grey /kernel: (probe0:ahc0:0:8:0): no longer in timeout, status = 34b Jan 13 13:25:01 grey /kernel: ahc0: Issued Channel A Bus Reset. 11 SCBs aborted >How-To-Repeat: Run "camcontrol rescan 0:8:0" on a bus that doesn't have an 8th device. >Fix: Take the spoon out of the cup. (-: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990113214701.647.qmail>