Re: dmesg warning, "ahc0: Illegal cable configuration!!"
Nick, I think you may be correct in your assumption that the HP Kayak implementation of the AIC 7880 is a bit flaky. I enabled drive-powered termination and even swapped the drive out for another of a different type, but the problem remained. There are no additional terminators in the chain apart from the end-of-cable lump and whatever is or isn't enabled on the drive itself. It doesn't apparently affect performance, so I'll leave it be. Thanks for your analysis. Regards, Dan. --- Nick Holland <[EMAIL PROTECTED]> wrote: > Daniel Hammett wrote: > ...> > > "ahc0: Illegal cable configuration!!. Only two connectors on the adapter > may be > > used at a time!" > > > > [Full dmesg posted below] > > yay! :) > > > This isn't unique to OpenBSD: I've seen similar reports in the dmesg from > SuSE > > Linux using the 2.4.xx series kernels and also from FreeBSD version 6. > > > > It doesn't appear to affect the machine in anyway that I can tell, e.g. > there > > are no unexpected hangs, slowdowns, disk problems, etc. > > > > The AIC-7880 wide SCSI is connnected to a single disk but there are > multiple > > (unused) connectors on the ribbon cable which end in a terminator block. > > > > The AIC-7860 narrow SCSI is connected to a single CD-RW drive. Again, there > are > > multiple (unused) connectors on the ribbon cable and this, too, ends in a > > terminator block. > > this isn't the issue, as that's ahc1 according to the dmesg. > > > I have used multiple drives in the system and the same message appears. > > > > It occurs to me that there might be some issue with the disk drive itself > > providing SCSI termination, or some other jumper configuration error. > > > > Alternatively, doe this message imply that I can only use either the > AIC-7860 > > or the AIC-7880 but not both? I might try unplugging the CD-RW before > booting > > this evening. > > nope, again, ahc0 and ahc1 are two different devices, if it is whining > about X, the problem is with X. Probably. :) > > As I recall, there are some variants of the Adaptec cards that use the > ahc(4) driver that are kinda...curious. I think it is the 29160 (or > some variant) which has both LVD U160 and a single-ended U2, plus a 50 > pin connector...and the rule is, you can use two of the three > connectors, but not all three at the same time. I may be misremembering > this...it might involve the external connector on the spine of the card, > rather than the 50 pin connector. But the rule was..only two of the > connectors. And note: it's the connectors in use, not the number of > devices attached. > > As I recall, all it can do is look for terminators. If it finds more > terminators than it expects, it apparently sets a "whine" flag that the > driver looks for. Are there any extra terminators on the system? You > indicate the cable has a terminator...could the drive also be > terminated? Also make sure any unused SCSI connectors are just left > unconnected. > > Otherwise...if everything is correct, and performance is appropriate, > don't worry about it...probably a "quirk" in implementation on this > machine. I don't recall ever seeing any ability to see messages like > this under Windows, so I suspect HP may have been a little sloppy about > how they implemented things. > > Nick. > > > > --- dmesg included ---> > > > > OpenBSD 3.9 (GENERIC.MP) #598: Thu Mar 2 02:37:06 MST 2006 > > [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP > > cpu0: Intel Pentium II ("GenuineIntel" 686-class, 512KB L2 cache) 300 MHz > > cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,MMX > > real mem = 536453120 (523880K) > > avail mem = 482435072 (471128K) > > using 4278 buffers containing 26927104 bytes (26296K) of memory > > mainbus0 (root) > > bios0 at mainbus0: AT/286+(a1) BIOS, date 10/28/98, BIOS32 rev. 0 @ 0xfd77d > > apm0 at bios0: Power Management spec V1.2 > > apm0: AC on, battery charge unknown > > apm0: flags 30102 dobusy 0 doidle 1 > > pcibios0 at bios0: rev 2.1 @ 0xfd710/0x8f0 > > pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf20/192 (10 entries) > > pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371FB ISA" rev 0x00) > > pcibios0: PCI bus #1 is the last bus > > bios0: ROM list: 0xc/0x8000 0xc8000/0x4800 > > mainbus0: Intel MP Specification (Version 1.4) (HP XU/XW ) > > cpu0 at mainbus0: apid 1 (boot processor) > > cpu0: apic clock running at 66 MHz > > cpu1 at mainbus0: apid 0 (application processor) > > cpu1: Intel Pentium II ("GenuineIntel" 686-class, 512KB L2 cache) 300 MHz > > cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,MMX > > mainbus0: bus 0 is type PCI > > mainbus0: bus 1 is type PCI > > mainbus0: bus 2 is type ISA > > ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins > > pci0 at mainbus0 bus 0: configuration mode 1 (no bios) > > pchb0 at pci0 dev 0 function 0 "Intel 82443LX AGP" rev 0x03 > > ppb0 at pci0 dev 1 function 0 "
Re: dmesg warning, "ahc0: Illegal cable configuration!!"
Daniel Hammett wrote: ...> "ahc0: Illegal cable configuration!!. Only two connectors on the adapter may be used at a time!" [Full dmesg posted below] yay! :) This isn't unique to OpenBSD: I've seen similar reports in the dmesg from SuSE Linux using the 2.4.xx series kernels and also from FreeBSD version 6. It doesn't appear to affect the machine in anyway that I can tell, e.g. there are no unexpected hangs, slowdowns, disk problems, etc. The AIC-7880 wide SCSI is connnected to a single disk but there are multiple (unused) connectors on the ribbon cable which end in a terminator block. The AIC-7860 narrow SCSI is connected to a single CD-RW drive. Again, there are multiple (unused) connectors on the ribbon cable and this, too, ends in a terminator block. this isn't the issue, as that's ahc1 according to the dmesg. I have used multiple drives in the system and the same message appears. It occurs to me that there might be some issue with the disk drive itself providing SCSI termination, or some other jumper configuration error. Alternatively, doe this message imply that I can only use either the AIC-7860 or the AIC-7880 but not both? I might try unplugging the CD-RW before booting this evening. nope, again, ahc0 and ahc1 are two different devices, if it is whining about X, the problem is with X. Probably. :) As I recall, there are some variants of the Adaptec cards that use the ahc(4) driver that are kinda...curious. I think it is the 29160 (or some variant) which has both LVD U160 and a single-ended U2, plus a 50 pin connector...and the rule is, you can use two of the three connectors, but not all three at the same time. I may be misremembering this...it might involve the external connector on the spine of the card, rather than the 50 pin connector. But the rule was..only two of the connectors. And note: it's the connectors in use, not the number of devices attached. As I recall, all it can do is look for terminators. If it finds more terminators than it expects, it apparently sets a "whine" flag that the driver looks for. Are there any extra terminators on the system? You indicate the cable has a terminator...could the drive also be terminated? Also make sure any unused SCSI connectors are just left unconnected. Otherwise...if everything is correct, and performance is appropriate, don't worry about it...probably a "quirk" in implementation on this machine. I don't recall ever seeing any ability to see messages like this under Windows, so I suspect HP may have been a little sloppy about how they implemented things. Nick. --- dmesg included ---> OpenBSD 3.9 (GENERIC.MP) #598: Thu Mar 2 02:37:06 MST 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel Pentium II ("GenuineIntel" 686-class, 512KB L2 cache) 300 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,MMX real mem = 536453120 (523880K) avail mem = 482435072 (471128K) using 4278 buffers containing 26927104 bytes (26296K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(a1) BIOS, date 10/28/98, BIOS32 rev. 0 @ 0xfd77d apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xfd710/0x8f0 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf20/192 (10 entries) pcibios0: PCI Interrupt Router at 000:07:0 ("Intel 82371FB ISA" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0x8000 0xc8000/0x4800 mainbus0: Intel MP Specification (Version 1.4) (HP XU/XW ) cpu0 at mainbus0: apid 1 (boot processor) cpu0: apic clock running at 66 MHz cpu1 at mainbus0: apid 0 (application processor) cpu1: Intel Pentium II ("GenuineIntel" 686-class, 512KB L2 cache) 300 MHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,MMX mainbus0: bus 0 is type PCI mainbus0: bus 1 is type PCI mainbus0: bus 2 is type ISA ioapic0 at mainbus0: apid 2 pa 0xfec0, version 11, 24 pins pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 82443LX AGP" rev 0x03 ppb0 at pci0 dev 1 function 0 "Intel 82443LX AGP" rev 0x03 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "Matrox MGA G400/G450 AGP" rev 0x04 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 7 function 0 "Intel 82371AB PIIX4 ISA" rev 0x01 pciide0 at pci0 dev 7 function 1 "Intel 82371AB IDE" rev 0x01: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility atapiscsi0 at pciide0 channel 0 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: SCSI0 5/cdrom removable cd0(pciide0:0:0): using PIO mode 0, DMA mode 1 pciide0: channel 1 ignored (disabled) uhci0 at pci0 dev 7 function 2 "Intel 82371AB USB" rev 0x01: apic 2 int 19 (irq 11) usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 port