Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Feb 1998 13:30:31 +0300 (MSK)
From:      bag@sinbin.demos.su (Alex G. Bulushev)
To:        gibbs@plutotech.com (Justin T. Gibbs)
Cc:        mishania@demos.su, gibbs@FreeBSD.ORG, scsi@FreeBSD.ORG, ache@FreeBSD.ORG
Subject:   Re: Infortrend's drivers/help needed, please.
Message-ID:  <199802241030.NAA05599@sinbin.demos.su>
In-Reply-To: <199801231703.KAA06806@pluto.plutotech.com> from "Justin T. Gibbs" at "Jan 23, 98 10:01:03 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> >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: <IFT 3102 0112> type 0 fixed SCSI 2
> >sd0: Direct-Access 8683MB (17783104 512 byte sectors)
> >sd1 at scbus0 target 1 lun 1
> >sd1: <IFT 3102 0112> 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: <Adaptec 3940 Ultra SCSI host adapter> 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: <IFT 3102 0112> type 0 fixed SCSI 2
uk0: Unknown 
uk1 at scbus0 target 2 lun 1
uk1: <IFT 3102 0112> 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: <IFT 3102 0112> 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: <Adaptec 3940 Ultra SCSI host adapter> 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: <Adaptec 3940 Ultra SCSI host adapter> 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: <IFT 3102 0112> 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: <IFT 3102 0112> 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: <IFT 3102 0112> 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: <Adaptec 3940 Ultra SCSI host adapter> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802241030.NAA05599>