Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 May 1999 01:04:41 -0400
From:      "David E. Cross" <crossd@cs.rpi.edu>
To:        hackers@freebsd.org
Subject:   SCSI negotiates slow transfers
Message-ID:  <199905100504.BAA27028@cs.rpi.edu>

next in thread | raw e-mail | index | archive | help
This has been an ongoing problem, with 2 onboard Adaptec 78xx controllers.
The HD in question is a Quantum Atlas III/Ultra2--LVD drive.  On bootup
the SCSI BIOS seems to detect the drive correctly (listing it as a Ultra2-
LVD device); however the FreeBSD kernel reports it as a
"Fixed Direct Access SCSI-CCS device". Below are my dmesg and config file
ouyputs.

dmesg---
Preloaded elf kernel "kernel" at 0xc02fa000.
Preloaded splash_image_data "/etc/splash/saturn_1_320.bmp" at 0xc02fa09c.
Preloaded elf module "splash_bmp.ko" at 0xc02fa0f8.
Probing for devices on PCI bus 0:
chip0: <Intel 82443BX host to PCI bridge> rev 0x03 on pci0.0.0
chip1: <Intel 82443BX host to AGP bridge> rev 0x03 on pci0.1.0
chip2: <Intel 82371AB PCI to ISA bridge> rev 0x02 on pci0.4.0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.4.1
chip3: <Intel 82371AB Power management controller> rev 0x02 on pci0.4.3
ahc0: <Adaptec aic7890/91 Ultra2 SCSI adapter> rev 0x00 int a irq 16 on pci0.6.0
bogus MP table, 3 IO APIC pins connected to the same PCI device or ISA/EISA interrupt
Registered extra interrupt handler for int 18 (in addition to int 16)
Registered extra interrupt handler for int 19 (in addition to int 16)
ahc0: aic7890/91 Wide Channel A, SCSI Id=7, 16/255 SCBs
xl0: <3Com 3c900-TPO Etherlink XL> rev 0x00 int a irq 16 on pci0.10.0
bogus MP table, 3 IO APIC pins connected to the same PCI device or ISA/EISA interrupt
Registered extra interrupt handler for int 18 (in addition to int 16)
Registered extra interrupt handler for int 19 (in addition to int 16)
xl0: Ethernet address: 00:60:08:a9:db:e2
xl0: selecting 10baseT transceiver, half duplex
Probing for devices on PCI bus 1:
vga0: <VGA-compatible display device> rev 0x04 int a irq 16 on pci1.0.0
Probing for devices on the ISA bus:
sc0 on isa
sc0: VGA color <4 virtual consoles, flags=0x0>
atkbdc0 at 0x60-0x6f on motherboard
atkbd0 irq 1 on isa
psm0 irq 12 on isa
psm0: model Generic PS/2 mouse, device ID 0
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 flags 0xa0ffa0ff on isa
wdc0: unit 0 (wd0): <WDC AC26400B>, DMA, 32-bit, multi-block-16
wd0: 6149MB (12594960 sectors), 13328 cyls, 15 heads, 63 S/T, 512 B/S
wdc0: unit 1 (wd1): <WDC AC35100L>, DMA, 32-bit, multi-block-16
wd1: 4924MB (10085040 sectors), 10672 cyls, 15 heads, 63 S/T, 512 B/S
wdc1 at 0x170-0x177 irq 15 flags 0xa0ffa0ff on isa
wdc1: unit 0 (atapi): <FX400E/K03>, removable, intr, iordis
acd0: drive speed 689KB/sec, 128KB cache
acd0: supported read types:
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: CD-ROM 120mm data disc loaded, unlocked, lock protected
wdc1: unit 1 (atapi): <WEARNES CDD-820/B1.0>, removable, dma, iordy
acd1: drive speed 1377KB/sec, 256KB cache
acd1: supported read types:
acd1: Audio: play, 256 volume levels
acd1: Mechanism: ejectable tray
acd1: Medium: no/blank disc inside, unlocked, lock protected
ppc0 at 0x378 irq 7 on isa
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppb0: IEEE1284 device found /NIBBLE
Probing for PnP devices on ppbus0:
ppbus0: <Hewlett-Packard HP LaserJet 4P> HP ENHANCED PCL5,PJL
1 3C5x9 board(s) on ISA found at 0x310
ep0 at 0x310-0x31f irq 11 on isa
ep0: utp[*UTP*] address 00:a0:24:12:8d:10
npx0 on motherboard
npx0: INT 16 interface
vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via pin 2
IP packet filtering initialized, divert enabled, rule-based forwarding disabled, unlimited logging
Waiting 2 seconds for SCSI devices to settle
SMP: AP CPU #1 Launched!
da0 at ahc0 bus 0 target 0 lun 0
da0: <QUANTUM QM39100TD-SW N1B0> Fixed Direct Access SCSI-CCS device 
da0: 3.300MB/s transfers
da0: 8683MB (17783249 512 byte sectors: 255H 63S/T 1106C)

config----
machine         "i386"
cpu             "I686_CPU"
ident           PHOENIX_DUAL
maxusers        64

options         FAILSAFE
options         INCLUDE_CONFIG_FILE     # Include this file in kernel
config          kernel  root on wd0s2a
options         SMP                     # Symmetric MultiProcessor Kernel
options         APIC_IO                 # Symmetric (APIC) I/O


options         SYSVSHM
options         SYSVSEM
options         SYSVMSG
options         "MD5"
options         UCONSOLE
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor
options         "NO_F00F_HACK"
options         SOFTUPDATES
options         DDB
options         DDB_UNATTENDED
pseudo-device   ether                   #Generic Ethernet
pseudo-device   loop                    #Network loopback device
pseudo-device   bpfilter        8       #Berkeley packet filter
pseudo-device   tun             4

options         INET                    #Internet communications protocols
# options               NETATALK
options         IPFIREWALL
options         IPFIREWALL_VERBOSE
options         IPDIVERT

options         FFS                     #Fast filesystem
options         FFS_ROOT
options         NFS                     #Network File System
options         MSDOSFS                 #MS DOS File System
options         KERNFS                  #Kernel Filesystem
options         "CD9660"                #ISO 9660 filesystem
options         PROCFS                  #Process filesystem
options         "COMPAT_43"
options         "AUTO_EOI_1"
options         KTRACE
options         PERFMON
options         USER_LDT

pseudo-device   pty     256     #Pseudo ttys - can go as high as 256
pseudo-device   gzip            #Exec gzipped a.out's
pseudo-device   vn      4       #Vnode driver (turns a file into a device)

controller      isa0

device          sc0     at isa? tty
options         MAXCONS=4               # number of virtual consoles


controller      fdc0    at isa? port "IO_FD1" bio irq 6 drq 2
disk            fd0     at fdc0 drive 0
disk            fd1     at fdc0 drive 1

options         "CMD640"
controller      wdc0    at isa? port "IO_WD1" bio irq 14 flags 0xa0ffa0ff
disk            wd0     at wdc0 drive 0
disk            wd1     at wdc0 drive 1

controller      wdc1    at isa? port "IO_WD2" bio irq 15 flags 0xa0ffa0ff
options         ATAPI   #Enable ATAPI support for IDE bus
options         ATAPI_STATIC    #Don't do it as an LKM
device          acd0
device          acd1
device          npx0    at isa? port IO_NPX irq 13
controller      atkbdc0 at isa? port IO_KBD tty
device          atkbd0  at isa? tty irq 1
device          psm0    at isa? tty irq 12
device          vga0    at isa? port ? conflicts
pseudo-device   splash

device          ppc0 at isa? port? net irq 7
controller      ppbus0
device          nlpt0 at ppbus?

device          ep0 at isa? port 0x310 net irq 11
device          xl0

controller      pci0
controller      ahc0
controller      scbus0
device          da0     #SCSI disks
device          sa0     #SCSI tapes

controller      smbus0
controller      iicbus0
controller      iicbb0

device  bktr0   at iicbus?
device  ic0     at iicbus?
device  iic0    at iicbus?
device  iicsmb0 at iicbus?
device  smb0    at smbus?

--
David Cross                               |  email: crossd@cs.rpi.edu 
Systems Administrator/Research Programmer |  Web: http://www.cs.rpi.edu/~crossd 
Rensselaer Polytechnic Institute,         |  Ph: 518.276.2860            
Department of Computer Science            |  Fax: 518.276.4033
I speak only for myself.                  |  WinNT:Linux::Linux:FreeBSD


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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