From owner-freebsd-scsi Tue Feb 24 02:32:46 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA14392 for freebsd-scsi-outgoing; Tue, 24 Feb 1998 02:32:46 -0800 (PST) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from sinbin.demos.su (sinbin.demos.su [194.87.5.31]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id CAA14272; Tue, 24 Feb 1998 02:32:13 -0800 (PST) (envelope-from bag@sinbin.demos.su) Received: by sinbin.demos.su id NAA05599; (8.6.12/D) Tue, 24 Feb 1998 13:30:31 +0300 From: bag@sinbin.demos.su (Alex G. Bulushev) Message-Id: <199802241030.NAA05599@sinbin.demos.su> Subject: Re: Infortrend's drivers/help needed, please. In-Reply-To: <199801231703.KAA06806@pluto.plutotech.com> from "Justin T. Gibbs" at "Jan 23, 98 10:01:03 am" X-ELM-OSV: (Our standard violations) no-mime=1; no-hdr-encoding=1 To: gibbs@plutotech.com (Justin T. Gibbs) Date: Tue, 24 Feb 1998 13:30:31 +0300 (MSK) Cc: mishania@demos.su, gibbs@FreeBSD.ORG, scsi@FreeBSD.ORG, ache@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] Content-Type: text Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > >In case the same devices are connected to the same channel (hence, getting > >the same id with different lun's) - > > > >sd0 at scbus0 target 1 lun 0 > >sd0: type 0 fixed SCSI 2 > >sd0: Direct-Access 8683MB (17783104 512 byte sectors) > >sd1 at scbus0 target 1 lun 1 > >sd1: type 0 fixed SCSI 2 > >sd1: Direct-Access 8683MB (17783104 512 byte sectors) > > Yes, this is a long standing bug having to do with multi-lun devices in the > aic7xxx driver. It has been corrected in the CAM version of the driver, > but the changes are too invasive to attempt to port them into the driver in > either current or stable. Since this kinds of devices that trigger this > problem are rare, it seldom causes problems. Yours is the first bug report > I've seen about this issue. i try CAM driver and have another problem, CAM treated IFT devices as UNKNOWN without CAM all OK. This is dmesg for CAM: Probing for devices on PCI bus 1: found-> vendor=0x9004, dev=0x8278, revid=0x00 class=01-00-00, hdrtype=0x00, mfdev=0 intpin=a, irq=11 map[0]: type 4, range 32, base 0000dc00, size 8 map[1]: type 1, range 32, base fe7ff000, size 12 ahc0: rev 0x00 int a irq 11 on pci1.4.0 ahc0: Reading SEEPROM...done. internal50 cable not present internal68 cable not present brdctl == 0xec external cable is present eprom is present brdctl == 0xac low byte termination enabled, high byte termination enabled ahc0: aic7880 Wide Channel A, SCSI Id=7, 16 SCBs ahc0: Resetting Channel A ahc0: Downloading Sequencer Program...ahc0: 373 instructions downloaded Done ahc0: Probing channel A ahc0: waiting for scsi devices to settle scbus0 at ahc0 bus 0 ahc0: target 2 using 16Bit transfers ahc0: target 2 synchronous at 20.0MHz, offset = 0x8 uk0 at scbus0 target 2 lun 0 uk0: type 0 fixed SCSI 2 uk0: Unknown uk1 at scbus0 target 2 lun 1 uk1: type 0 fixed SCSI 2 uk1: Unknown ahc0: target 4 using 16Bit transfers ahc0: target 4 synchronous at 20.0MHz, offset = 0x8 uk2 at scbus0 target 4 lun 0 uk2: type 0 fixed SCSI 2 uk2: Unknown found-> vendor=0x9004, dev=0x8278, revid=0x00 class=01-00-00, hdrtype=0x00, mfdev=0 intpin=a, irq=15 map[0]: type 4, range 32, base 0000d800, size 8 map[1]: type 1, range 32, base fe7fe000, size 12 ahc1: rev 0x00 int a irq 15 on pci1.5.0 ahc1: Reading SEEPROM...done. internal50 cable not present internal68 cable not present brdctl == 0xec external cable not present eprom is present brdctl == 0xec low byte termination enabled, high byte termination enabled ahc1: aic7880 Wide Channel B, SCSI Id=7, 16 SCBs ahc1: Resetting Channel A ahc1: Downloading Sequencer Program...ahc1: 373 instructions downloaded Done ahc1: Probing channel A ahc1: waiting for scsi devices to settle scbus1 at ahc1 bus 0 this is dmesg without CAM: Probing for devices on PCI bus 1: found-> vendor=0x9004, dev=0x8278, revid=0x00 class=01-00-00, hdrtype=0x00, mfdev=0 intpin=a, irq=11 map[0]: type 4, range 32, base 0000dc00, size 8 map[1]: type 1, range 32, base fe7ff000, size 12 ahc0: rev 0x00 int a irq 11 on pci1.4.0 ahc0: Reading SEEPROM...done. internal50 cable not present internal68 cable not present brdctl == 0xec external cable is present eprom is present brdctl == 0xac low byte termination enabled, high byte termination enabled ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs ahc0: Resetting Channel A ahc0: Downloading Sequencer Program...ahc0: 416 instructions downloaded Done ahc0: Probing channel A ahc0: waiting for scsi devices to settle scbus0 at ahc0 bus 0 ahc0: target 2 using 16Bit transfers ahc0: target 2 synchronous at 20.0MHz, offset = 0x8 ahc0: target 2 Tagged Queuing Device sd0 at scbus0 target 2 lun 0 sd0: type 0 fixed SCSI 2 sd0: Direct-Access 8683MB (17782784 512 byte sectors) sd0: with 8683 cyls, 64 heads, and an average 32 sectors/track sd1 at scbus0 target 2 lun 1 sd1: type 0 fixed SCSI 2 sd1: Direct-Access 8683MB (17782784 512 byte sectors) sd1: with 8683 cyls, 64 heads, and an average 32 sectors/track ahc0: target 4 using 16Bit transfers ahc0: target 4 synchronous at 20.0MHz, offset = 0x8 ahc0: target 4 Tagged Queuing Device sd2 at scbus0 target 4 lun 0 sd2: type 0 fixed SCSI 2 sd2: Direct-Access 8683MB (17782784 512 byte sectors) sd2: with 8683 cyls, 64 heads, and an average 32 sectors/track found-> vendor=0x9004, dev=0x8278, revid=0x00 class=01-00-00, hdrtype=0x00, mfdev=0 intpin=a, irq=15 map[0]: type 4, range 32, base 0000d800, size 8 map[1]: type 1, range 32, base fe7fe000, size 12 ahc1: rev 0x00 int a irq 15 on pci1.5.0 ahc1: Reading SEEPROM...done. internal50 cable not present internal68 cable not present brdctl == 0xec external cable not present eprom is present brdctl == 0xec low byte termination enabled, high byte termination enabled ahc1: aic7880 Wide Channel B, SCSI Id=7, 16/255 SCBs ahc1: Resetting Channel A ahc1: Downloading Sequencer Program...ahc1: 416 instructions downloaded Done ahc1: Probing channel A ahc1: waiting for scsi devices to settle scbus1 at ahc1 bus 0 Alex. > > -- > Justin > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message