Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Sep 1998 08:54:19 +0200 (CEST)
From:      Holm Tiffe <freebsd@magnet.geophysik.tu-freiberg.de>
To:        freebsd-scsi@FreeBSD.ORG
Subject:   AHA 2742T+CAM+SMP problems 2nd. try
Message-ID:  <199809250654.IAA00398@magnet.geophysik.tu-freiberg.de>

next in thread | raw e-mail | index | archive | help
Hi,
this is the 2nd try to get a ligth on tis prob.

1. my system is an freebsd-current-aout from 3 days ago.
2. the Motherboard is aN ASUS PCI/E P54NP4 Dual P5/100 board
3. both Processors are now P5/100 Mask SX963.
4. the SCSI Controller is an Adaptec AHA 2742T Rev. C
5. the system is running stable for years.
6. the system boots properly in Uniprocessor mode, dmesg:

Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 3.0-BETA #6: Tue Sep 22 23:57:59 MET DST 1998
    root@unicorn.pppnet.tu-freiberg.de:/usr/src/sys/compile/UNICORN
Timecounter "i8254"  frequency 1193175 Hz  cost 3575 ns
Timecounter "TSC"  frequency 99998845 Hz  cost 229 ns
CPU: Pentium/P54C (100.00-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x525  Stepping=5
  Features=0x3bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC>
real memory  = 67108864 (65536K bytes)
avail memory = 62869504 (61396K bytes)
DEVFS: ready for devices
eisa0: <ASU5101 (System Board)>
Probing for devices on the EISA bus
ahc0: <Adaptec 274X SCSI host adapter> at 0x1c00-0x1cff irq 11 on eisa0 slot 1
ahc0: aic7770 <= Rev C, Twin Channel, A SCSI Id=7, B SCSI Id=7, 4/255 SCBs
Probing for devices on PCI bus 0:
chip0: <Intel 82434NX (Neptune) PCI cache memory controller> rev 0x11 on pci0.0.
0
chip1: <Intel 82375EB PCI-EISA bridge> rev 0x04 on pci0.2.0
vga0: <Matrox MGA 2164W graphics accelerator> rev 0x00 int a irq 9 on pci0.5.0
de0: <Digital 21040 Ethernet> rev 0x23 int a irq 10 on pci0.6.0
de0: Cogent 21040 [10Mb/s] pass 2.3
de0: address 00:00:92:90:09:8d
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16450
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16450
dgb0: PC/Xe 64K
dgb0 at 0x300-0x303 maddr 0xd0000 msize 65536 on isa
dgb0: 8 ports
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
psm0 at 0x60-0x64 irq 12 on motherboard
psm0: model Generic PS/2 mouse, device ID 0
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fd0: 1.44MB 3.5in
fd1: 1.2MB 5.25in
npx0 on motherboard
npx0: INT 16 interface
de0: enabling AUI/BNC port
Intel Pentium F00F detected, installing workaround
DEVFS: ready to run
(probe9:ahc0:1:2:0): Sending SDTR!!
sa0 at ahc0 bus 1 target 3 lun 0
sa0: <TANDBERG TDC 4222 =07:> Removable Sequential Access SCSI2 device 
sa0: 4.464MB/s transfers (4.464MHz, offset 8)
da0 at ahc0 bus 0 target 0 lun 0
da0: <CONNER CP3200-200mb-3.5 4040> Fixed Direct Access SCSI1 device 
da0: 3.676MB/s transfers (3.676MHz, offset 8)
da0: 203MB (415872 512 byte sectors: 64H 32S/T 203C)
da1 at ahc0 bus 0 target 2 lun 0
da1: <CONNER CFP2107S  2.14GB 2B4B> Fixed Direct Access SCSI2 device 
da1: 10.0MB/s transfers (10.0MHz, offset 15), Tagged Queueing Enabled
da1: 2048MB (4194304 512 byte sectors: 64H 32S/T 2048C)
da2 at ahc0 bus 1 target 2 lun 0
da2: <HP C3010M1 0B04> Fixed Direct Access SCSI2 device 
da2: 10.0MB/s transfers (10.0MHz, offset 8), Tagged Queueing Enabled
da2: 1910MB (3912172 512 byte sectors: 64H 32S/T 1910C)
changing root device to da1s1a
cd0 at ahc0 bus 0 target 4 lun 0
cd0: <TOSHIBA CD-ROM XM-3501TA 3054> Removable CD-ROM SCSI2 device 
cd0: 4.32MB/s transfers (4.32MHz, offset 15)
cd0: Attempt to query device size failed: NOT READY, Medium not present
(da1:ahc0:0:2:0): tagged openings now 33
(da1:ahc0:0:2:0): tagged openings now 32
(da1:ahc0:0:2:0): tagged openings now 31

here comes the mptable output:


MPTable, version 2.0.15

-------------------------------------------------------------------------------

MP Floating Pointer Structure:

  location:                     BIOS
  physical address:             0x000f8360
  signature:                    '_MP_'
  length:                       16 bytes
  version:                      1.1
  checksum:                     0x9d
  mode:                         Virtual Wire

-------------------------------------------------------------------------------

MP Config Table Header:

  physical address:             0x000f8374
  signature:                    'PCMP'
  base table length:            228
  version:                      1.1
  checksum:                     0x51
  OEM ID:                       'ASUSTEK0'
  Product ID:                   'P54NP4000000'
  OEM table pointer:            0x00000000
  OEM table size:               0
  entry count:                  20
  local APIC address:           0xfee00000
  extended table length:        0
  extended table checksum:      0

-------------------------------------------------------------------------------

MP Config Base Table Entries:

--
Processors:     APIC ID Version State           Family  Model   Step    Flags
                 0       0x11    BSP, usable     5       2       1       0x07bf
                 1       0x11    AP, usable      5       2       1       0x07bf
--
Bus:            Bus ID  Type
                 0       EISA  
                 1       PCI   
--
I/O APICs:      APIC ID Version State           Address
                 2       0x11    usable          0xfec00000
--
I/O Ints:       Type    Polarity    Trigger     Bus ID   IRQ    APIC ID PIN#
                INT      conforms    conforms        0     1          2    1
                INT      conforms    conforms        0     0          2    2
                INT      conforms    conforms        0     3          2    3
                INT      conforms    conforms        0     4          2    4
                INT      conforms    conforms        0     5          2    5
                INT      conforms    conforms        0     6          2    6
                INT      conforms    conforms        0     7          2    7
                INT      conforms    conforms        0     8          2    8
                INT      conforms    conforms        0     9          2    9
                INT      conforms    conforms        0    10          2   10
                INT      conforms    conforms        0    11          2   11
                INT      conforms    conforms        0    12          2   12
                INT      conforms    conforms        0    13          2   13
                INT      conforms    conforms        0    14          2   14
                INT      conforms    conforms        0    15          2   15
--
Local Ints:     Type    Polarity    Trigger     Bus ID   IRQ    APIC ID PIN#

-------------------------------------------------------------------------------

# SMP kernel config file options:


# Required:
options         SMP                     # Symmetric MultiProcessor Kernel
options         APIC_IO                 # Symmetric (APIC) I/O

# Optional (built-in defaults will work in most cases):
#options                NCPU=2                  # number of CPUs
#options                NBUS=2                  # number of busses
#options                NAPIC=1                 # number of IO APICs
#options                NINTR=24                # number of INTs

the devfs is configured in the kernel but not mounted.

7. when I boot up the SMP kernel the system hangs after the line
   SMP: AP CPU #1 Launched!
   after ca. 1,5 minutes I get: (typed from the display by hand,
   maybe these a bit incorrect)
  
   (probe9:ahc0:1:2:0): sending SDTR!!
   (probe9:ahc0:1:2:0): SCB 0x09 timed out in message phasem SCSISIGI == 0xe6
   SEQADDR == 0xdc
   SSTAT1 == 0x03
   (some line with Bus Device Reset)
   (probe9:ahc0:1:2:0) BDR message in message buffer
   Bus Device Reset Message sent
   ahc0: Bus Device Reset on B:2 1 SCBs aborted
   than comes the same on Channel A for every possible TARGET+LUN

   nothing other happens, the machine loops there.

.. sorry cold'nt write down this better, must manage to get a 2nd. computer
   to cut this from a serial console....

The problem only occurs with the SMP kernel, in UP mode the machine boots up
successfully.

Can please anyone enlighten me where I have to look to find the bug ?

Here comes the kernel config file from the SMP kernel:

#
# UNICORN
#
#

machine         "i386"
cpu             "I586_CPU"
ident           UNICORN
maxusers        20

options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
#options                SOFTUPDATES
options         NFS                     #Network Filesystem
options         MSDOSFS                 #MSDOS Filesystem
options         "CD9660"                #ISO 9660 Filesystem
options         PROCFS                  #Process filesystem
options         "COMPAT_43"             #Compatible with BSD 4.3
options         UCONSOLE                #Allow users to grab the console

options         SYSVSHM
options         SYSVSEM
options         SYSVMSG
options         "SHMMAX=16777216"
options         "SHMSEG=32"
options         "SHMMNI=128"
options         "SHMALL=4096"
options         KTRACE
#options                "AUTO_EOI_2"
options         "CLK_CALIBRATION_LOOP"
options         "CLK_USE_I8254_CALIBRATION"
options         "CLK_USE_TSC_CALIBRATION"
options         PQ_LARGECACHE
#options                DDB
options         "NDGBPORTS=8"
#options                "VM86"
options         DEVFS

options         SMP
options         APIC_IO
options         NCPU=2
options         DDB

config          kernel  root on da1 

controller      isa0
controller      pci0

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

controller      eisa0

controller      ahc0

controller      scbus0 at ahc0 bus 0
controller      scbus1 at ahc0 bus 1

device          da0 at scbus0 target 0
device          da1 at scbus0 target 2
device          da2 at scbus1 target 2
device          sa0 at scbus1 target 3
device          sa1
device          cd0 at scbus0 target 4
device          pass0

# syscons is the default console driver, resembling an SCO console
device          sc0     at isa? port "IO_KBD" tty irq 1 vector scintr
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device         vt0     at isa? port "IO_KBD" tty irq 1 vector pcrint
#options                "PCVT_FREEBSD=210"      # pcvt running on FreeBSD 2.1
#options                XSERVER                 # include code for XFree86

device          npx0    at isa? port "IO_NPX" irq 13 vector npxintr

device          sio0    at isa? port "IO_COM1" tty irq 4 vector siointr
device          sio1    at isa? port "IO_COM2" tty irq 3 vector siointr
#device         sio2    at isa? port "IO_COM3" tty irq 5 vector siointr
#device         sio3    at isa? port "IO_COM4" tty irq 9 vector siointr
#device         sio4    at isa? port 0x2a0 tty flags 0x781
#device         sio5    at isa? port 0x2a8 tty flags 0x781
#device         sio6    at isa? port 0x2b0 tty flags 0x781
#device         sio7    at isa? port 0x2b8 tty flags 0x781 irq5 vector siointr

device          dgb0    at isa? tty port 0x300 iomem 0xd0000 iosiz ? flags 0x0

device          lpt0    at isa? port? tty irq 7 vector lptintr
device          psm0    at isa? port "IO_KBD" conflicts tty irq 12 vector psmint
r

#controller     snd0
#device                 sb0     at isa? port 0x220 irq9 conflicts drq1 vector sb
intr
#device         opl0    at isa? port 0x388 conflicts

#controller     snd0
#device         mss0    at isa? port 0x530 irq 9 drq 1 vector adintr
#device mpu0     at isa? port 0x330 irq 5 drq 0

device          de0

pseudo-device   loop
pseudo-device   ether
pseudo-device   sl      1
# ijppp uses tun instead of ppp device
pseudo-device   ppp     1
pseudo-device   tun     1
pseudo-device   pty     64
pseudo-device   gzip            # Exec gzipped a.out's
pseudo-device   bpfilter        4       # Berkeley Packet Filter
pseudo-device   vn      2       # Vnode Driver










-- 
*******************************************************************************
* Holm Tiffe                        holm@geophysik.tu-freiberg.de             *
* Freiberger Strasse 24                                                       *
* 09600 Kleinschirma, Germany           Microsoft is not the Answer -         *
* Tel.: 49 3731 74233                   Microsoft is the Question,            *
* UUCP: 49 3731 73719  unicorn!holm       and the Answer is no !              *
*******************************************************************************

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?199809250654.IAA00398>