Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Sep 1998 13:14:06 +0200 (CEST)
From:      Holm Tiffe <freebsd@magnet.geophysik.tu-freiberg.de>
To:        freebsd-scsi@FreeBSD.ORG
Cc:        freebsd-smp@FreeBSD.ORG
Subject:   AHA 2742T+CAM+SMP problems 2nd. try #3
Message-ID:  <199809271114.NAA09487@magnet.geophysik.tu-freiberg.de>

next in thread | raw e-mail | index | archive | help
Hi,

I've again upgraded my kernel sources (cvs-cur.4680)
and the panic from the previous version is gone now
(since cam_xpt.c v.1.14)

My AHA2742T is'nt working on SMP, we before.

Today I have build a kernel with a COMCONSOLE to get a
verbose logging from the boot process.
(Remember: there is no longer an overclocked CPU)

Here comes the log from kernel -hv:


[ preserving 0x33148 bytes of kernel symbol table ]
BIOS basemem (639K) != RTC basemem (640K), setting to BIOS value
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 #8: Sun Sep 27 12:40:48 MET DST 1998
    holm@unicorn.pppnet.tu-freiberg.de:/usr/src/sys/compile/UNICORNS
Calibrating clock(s) ... TSC clock: 99998394 Hz, i8254 clock: 1193169 Hz
Press a key on the console to abort clock calibration
Calibrating clock(s) ... TSC clock: 99999113 Hz, i8254 clock: 1193175 Hz
Calibrating clock(s) ... TSC clock: 99999575 Hz, i8254 clock: 1193181 Hz
Calibrating clock(s) ... TSC clock: 99999086 Hz, i8254 clock: 1205108 Hz
Timecounter "i8254"  frequency 1193169 Hz  cost 3800 ns
CPU: Pentium/P54C (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)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x00299000 - 0x03ffdfff, 64376832 bytes (15717 pages)
avail memory = 62603264 (61136K bytes)
Programming 16 pins in IOAPIC #0
EISA INTCONTROL = 00000e00
SMP: CPU0 apic_initialize():
     lint0: 0x00000700 lint1: 0x00010400 TPR: 0x00000010 SVR: 0x000001ff
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00030010, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00030010, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x000f0011, at 0xfec00000
Found BIOS32 Service Directory header at 0xf00fb1c0
Entry = 0xfb5f0 (0xf00fb5f0)  Rev = 0  Len = 1
PCI BIOS entry at 0xb620
Other BIOS signatures found:
ACPI: 00000000
$PnP: 00000000
SMP: CPU0 bsp_apic_configure():
     lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000010 SVR: 0x000001ff
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: Using Level Sensitive Interrupts
ahc0: aic7770 <= Rev C, Twin Channel, A SCSI Id=7, B SCSI Id=7, 4/255 SCBs
ahc0: Resetting Channel B
ahc0: Resetting Channel A
ahc0: Downloading Sequencer Program... 419 instructions downloaded
pci_open(1):	mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a):	mode1res=0x00000000 (0x80000000)
pci_open(1b):	mode1res=0x80000000 (0xff000001)
pci_cfgcheck:	device 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 -- nothing found
pci_open(2):	mode 2 enable port (0x0cf8) is 0x00
pci_open(2a):	mode2res=0x0e (0x0e)
pci_open(2a):	now trying mechanism 2
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=04a38086)
Probing for devices on PCI bus 0:
found->	vendor=0x8086, dev=0x04a3, revid=0x11
	class=06-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
chip0: <Intel 82434NX (Neptune) PCI cache memory controller> rev 0x11 on pci0.0.0
	CPU: Pentium, 100MHz, CPU->Memory posting ON, read around write
	Warning: Cache parity disabled!
	Warning: DRAM parity mask!
	Cache: 512KB writeback, cache clocks=3-2-2-2/4-2-2-2
	Cache flags:  byte-control powersaver
	DRAM: page mode memory clocks=X-3-3-3 (50ns)
	CPU->PCI: posting ON, burst mode ON, PCI clocks=2-1-1-1
	PCI->Memory: posting ON
	Refresh: RAS#Only
found->	vendor=0x8086, dev=0x0482, revid=0x04
	class=00-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
chip1: <Intel 82375EB PCI-EISA bridge> rev 0x04 on pci0.2.0
found->	vendor=0x102b, dev=0x051b, revid=0x00
	class=03-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=9
	map[0]: type 3, range 32, base fb000000, size 24
	map[1]: type 1, range 32, base fafec000, size 14
	map[2]: type 1, range 32, base fa000000, size 23
vga0: <Matrox MGA 2164W graphics accelerator> rev 0x00 int a irq 9 on pci0.5.0
found->	vendor=0x1011, dev=0x0002, revid=0x23
	class=02-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=10
	map[0]: type 4, range 32, base 0000e800, size  7
	map[1]: type 1, range 32, base f9fff000, size  7
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
bpf: de0 attached
Probing for devices on the ISA bus:
video: RTC equip. code:0x4f, DCC code:0xf9
video: CRTC:0x3d4, video option:0x60, rows:80, cols:25, font height:16
video: param table EGA/VGA:0xf00c04d0, CGA/MDA:0
video: rows_offset:1
video#0: adapter type:VGA (5), flags:0x7f, CRTC:0x3d4
video#0: init mode:24, bios mode:3, current mode:24
video#0: window:0xf00b8000 size:32k gran:32k, buf:0xf0000000 size:32k
video#0: mode:0, flags:0x1 T 40x25, font:8x8, win:0xb8000
video#0: mode:1, flags:0x1 T 40x25, font:8x8, win:0xb8000
video#0: mode:2, flags:0x1 T 80x25, font:8x8, win:0xb8000
video#0: mode:3, flags:0x1 T 80x25, font:8x8, win:0xb8000
video#0: mode:19, flags:0x1 T 40x25, font:8x14, win:0xb8000
video#0: mode:20, flags:0x1 T 40x25, font:8x14, win:0xb8000
video#0: mode:21, flags:0x1 T 80x25, font:8x14, win:0xb8000
video#0: mode:22, flags:0x1 T 80x25, font:8x14, win:0xb8000
video#0: mode:23, flags:0x1 T 40x25, font:8x16, win:0xb8000
video#0: mode:25, flags:0x0 T 80x25, font:8x16, win:0xb0000
video#0: mode:24, flags:0x1 T 80x25, font:8x16, win:0xb8000
video#0: mode:7, flags:0x0 T 80x25, font:8x14, win:0xb0000
video#0: mode:112, flags:0x1 T 80x43, font:8x8, win:0xb8000
video#0: mode:113, flags:0x1 T 80x43, font:8x8, win:0xb8000
video#0: mode:33, flags:0x0 T 80x30, font:8x16, win:0xb0000
video#0: mode:32, flags:0x1 T 80x30, font:8x16, win:0xb8000
video#0: mode:31, flags:0x0 T 80x50, font:8x8, win:0xb0000
video#0: mode:30, flags:0x1 T 80x50, font:8x8, win:0xb8000
video#0: mode:35, flags:0x0 T 80x60, font:8x8, win:0xb0000
video#0: mode:34, flags:0x1 T 80x60, font:8x8, win:0xb8000
video#0: mode:4, flags:0x3 G 320x200x2, 1 plane(s), font:8x8, win:0xb8000
video#0: mode:5, flags:0x3 G 320x200x2, 1 plane(s), font:8x8, win:0xb8000
video#0: mode:6, flags:0x3 G 640x200x1, 1 plane(s), font:8x8, win:0xb8000
video#0: mode:13, flags:0x3 G 320x200x4, 4 plane(s), font:8x8, win:0xa0000
video#0: mode:14, flags:0x3 G 640x200x4, 4 plane(s), font:8x8, win:0xa0000
video#0: mode:15, flags:0x2 G 640x350x4, 4 plane(s), font:8x14, win:0xa0000
video#0: mode:17, flags:0x2 G 640x350x4, 4 plane(s), font:8x14, win:0xa0000
video#0: mode:16, flags:0x3 G 640x350x2, 2 plane(s), font:8x14, win:0xa0000
video#0: mode:18, flags:0x3 G 640x350x4, 4 plane(s), font:8x14, win:0xa0000
video#0: mode:26, flags:0x3 G 640x480x4, 4 plane(s), font:8x16, win:0xa0000
video#0: mode:27, flags:0x3 G 640x480x4, 4 plane(s), font:8x16, win:0xa0000
video#0: mode:28, flags:0x3 G 320x200x8, 1 plane(s), font:8x8, win:0xa0000
video#0: mode:37, flags:0x3 G 320x240x8, 1 plane(s), font:8x8, win:0xa0000
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 60 4f 50 83 55 81 
bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 60 4f 50 83 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
EGA/VGA parameters to be used for mode 24
50 18 10 00 10 00 03 00 02 67 60 4f 50 83 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
sc0: the current keyboard controller command byte 0047
kbdio: DIAGNOSE status:0055
kbdio: TEST_KBD_PORT status:0000
kbdio: RESET_KBD return code:00fa
kbdio: RESET_KBD status:00aa
sc0: keyboard device ID: ab41
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0: irq maps: 0x401 0x411 0x401 0x401
sio0 at 0x3f8-0x3ff irq 4 flags 0x30 on isa
sio0: type 16450, console
sio1: irq maps: 0x401 0x409 0x401 0x401
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
bpf: lp0 attached
psm0: current command byte:0047
kbdio: TEST_AUX_PORT status:0000
kbdio: RESET_AUX return code:00fa
kbdio: RESET_AUX status:00aa
kbdio: RESET_AUX ID:0000
psm: status 00 02 64
psm: status 90 03 14
psm: status 90 03 14
psm: status 90 03 14
psm: status 00 00 0a
psm: data 08 00 00
psm: data 08 00 00
psm: status 00 02 64
psm0 at 0x60-0x64 irq 12 on motherboard
psm0: model Generic PS/2 mouse, device ID 0, 3 buttons
psm0: config:00000000, flags:00000000, packet size:3
psm0: syncmask:c0, syncbits:00
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
i586_bzero() bandwidth = 668002672 bytes/sec
bzero() bandwidth = 337040781 bytes/sec
imasks: bio c8000040, tty c700149a, net c700149a
de0: enabling AUI/BNC port
SMP: enabled INTs: 1, 3, 4, 6, 7, 10, 11, 12, apic_imen: 0x00ffe325
BIOS Geometries:
 0:00ca3f20 0..202=203 cylinders, 0..63=64 heads, 1..32=32 sectors
 1:0104fe3f 0..260=261 cylinders, 0..254=255 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
Intel Pentium F00F detected, installing workaround
APIC_IO: routing 8254 via pin 2
bpf: tun0 attached
bpf: sl0 attached
bpf: ppp0 attached
new masks: bio c8000040, tty c700149a, net c700149a
bpf: lo0 attached
(noperiph:ahc0:0:X:X): SCSI bus reset delivered. 0 SCBs aborted.
(noperiph:ahc0:1:X:X): SCSI bus reset delivered. 0 SCBs aborted.
SMP: AP CPU #1 Launched!
SMP: CPU1 apic_initialize():
     lint0: 0x00010700 lint1: 0x00010400 TPR: 0x00000010 SVR: 0x000001ff
ahc0: Selection Timeout on A:1. 1 SCBs aborted
ahc0: Selection Timeout on A:3. 1 SCBs aborted
ahc0: Selection Timeout on A:5. 1 SCBs aborted
ahc0: Selection Timeout on A:6. 1 SCBs aborted
ahc0: Selection Timeout on B:0. 1 SCBs aborted
ahc0: Selection Timeout on B:1. 1 SCBs aborted

It is impossible that the AHA2742 generates no interrupts,
because the panic message from the previous post came from
within _ahc_intr().

The file /usr/src/sys/i386/eisa/ahc_eisa.c contains the following lines:

        /*
         * See if we have a Rev E or higher aic7770. Anything below a
         * Rev E will have a R/O autoflush disable configuration bit.
         */
        {
                char *id_string;
                u_int8_t sblkctl;
                u_int8_t sblkctl_orig;

                sblkctl_orig = ahc_inb(ahc, SBLKCTL);
                sblkctl = sblkctl_orig ^ AUTOFLUSHDIS;
                ahc_outb(ahc, SBLKCTL, sblkctl);
                sblkctl = ahc_inb(ahc, SBLKCTL);
                if (sblkctl != sblkctl_orig) {
                        id_string = "aic7770 >= Rev E, ";
                        /*
                         * Ensure autoflush is enabled
                         */
                        sblkctl &= ~AUTOFLUSHDIS;
                        ahc_outb(ahc, SBLKCTL, sblkctl);

                } else
                        id_string = "aic7770 <= Rev C, ";

                printf("%s: %s", ahc_name(ahc), id_string);
        }

.. could this be relatet to my problem ?

Please give me a hint, where I should look to get this debugged.
I'll try to get this working alone, because no one seems to be
very interrested on my problem, but I need urgently a hint...


Holm
-- 
*******************************************************************************
* 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-smp" in the body of the message



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