Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 1996 01:30:29 +0800 (CST)
From:      Jian-Da Li <jdli@FreeBSD.csie.NCTU.edu.tw>
To:        current@freebsd.org
Subject:   Re: ahc0: ahc_intr - referenced scb not valid during scsiint 0x8a scb(0)
Message-ID:  <199605301730.BAA27670@FreeBSD.csie.NCTU.edu.tw>

next in thread | raw e-mail | index | archive | help
> You need revision 1.39 of sys/dev/aic7xxx/aic7xxx.seq.  In the mean time,
> you can disable wide negotiation to any narrow devices on your 2940uw
> controller.

	Hi, gibbs :

	It's me again ...   :(
	I just tried the latest kernel and the ahc_intr message appears again.
		aic7xxx.seq	v1.39
		aic7870.c	v1.36
		aic7xxx.c	v1.71
	I remembered last time when I saw this message, and it was cured by
	applied the pentium-bcopy-patch, so I applied the pentium-bcopy-patch
	again, and it works again.	(can't figure out why)

	Here is the verbose boot message, and a diff against the message
	from the bcopy-patched (working) kernel.

	My 2940 is an AHA2940-S76/AUTO (non-Ultra) with v1.23 BIOS

---------------------------------------------------------------------
verbose boot message
---------------------------------------------------------------------
FreeBSD 2.2-CURRENT #0: Fri May 31 01:06:41 CST 1996
    jdli@Adonis:/MNT/1/current/src/sys/compile/ADONIS
Calibrating clock(s) relative to mc146818A clock ... i586 clock: 179617726 Hz, i8254 clock: 1193114 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
CLK_USE_I586_CALIBRATION not specified - using old calibration method
i586 clock: 0 Hz
CPU: Pentium (179.62-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52b  Stepping=11
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 33554432 (32768K bytes)
avail memory = 31264768 (30532K bytes)
BIOS Geometries:
 0:03fe3f20 0..1022=1023 cylinders, 0..63=64 heads, 1..32=32 sectors
 1:03fe3f20 0..1022=1023 cylinders, 0..63=64 heads, 1..32=32 sectors
 0 accounted for
pcibus_setup(1):	mode 1 addr port (0x0cf8) is 0x8000005c
pcibus_setup(1a):	mode1res=0x80000000 (0x80000000)
pcibus_check:	device 0 is there (id=12508086)
Probing for devices on PCI bus 0:
	configuration mode 1 allows 32 devices.
chip0 <generic PCI bridge (vendor=8086 device=1250 subclass=0)> rev 1 on pci0:0
chip1 <generic PCI bridge (vendor=8086 device=7000 subclass=1)> rev 0 on pci0:7:0
pci0:7:1: Intel Corporation, device=0x7010, class=storage (ide) [no driver assigned]
	map(20): io(e800)
vga0 <VGA-compatible display device> rev 83 int a irq 12 on pci0:10
	mapreg[10] type=0 addr=f4000000 size=4000000.
ahc0 <Adaptec 2940 Ultra SCSI host adapter> rev 0 int a irq 11 on pci0:11
	mapreg[10] type=1 addr=0000e400 size=0100.
	mapreg[14] type=0 addr=f3fff000 size=1000.
ahc0: Reading SEEPROM...done.
ahc0: aic7880 Single Channel, SCSI Id=7, 16 SCBs
ahc0: Reseting Channel A
ahc0: Downloading Sequencer Program...Done
ahc0: Probing channel A
ahc0 waiting for scsi devices to settle
ahc0: target 0 synchronous at 10.0MHz, offset = 0xf
ahc0: target 0 Tagged Queuing Device
(ahc0:0:0): "IBM DPES-31080 S31K" type 0 fixed SCSI 2
sd0(ahc0:0:0): Direct-Access 1034MB (2118144 512 byte sectors)
sd0(ahc0:0:0): with 4903 cyls, 4 heads, and an average 108 sectors/track
ahc0: target 1 synchronous at 10.0MHz, offset = 0xf
ahc0: target 1 Tagged Queuing Device
(ahc0:1:0): "IBM OEM DFHSS2F 4141" type 0 fixed SCSI 2
sd1(ahc0:1:0): Direct-Access 2150MB (4404489 512 byte sectors)
sd1(ahc0:1:0): with 4390 cyls, 8 heads, and an average 125 sectors/track
de0 <Digital DC21040 Ethernet> rev 35 int a irq 10 on pci0:12
	mapreg[10] type=1 addr=0000e000 size=0080.
	mapreg[14] type=0 addr=f3ffe000 size=0080.
	reg16: ioaddr=0xe000 size=0x80
de0: DC21040 [10Mb/s] pass 2.3 Ethernet address 00:80:c8:0c:e0:77
de0: enabling 10baseT/UTP port
bpf: de0 attached
pci0: uses 67113088 bytes of memory from f3ffe000 upto f7ffffff.
pci0: uses 384 bytes of I/O space from e000 upto e4ff.
Probing for devices on the ISA bus:
scprobe: keyboard RESET failed (result = 0xfa)
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 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
bpf: lp0 attached
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
npx0 on motherboard
npx0: INT 16 interface
sb0 at 0x220 irq 5 drq 1 on isa
sb0: <SoundBlaster 16 4.13>
sbxvi0 at 0x0 drq 6 on isa
sbxvo0: <SoundBlaster 16 4.13>
sbmidi0 at 0x330 on isa
 <SoundBlaster MPU-401>
opl0 at 0x388 on isa
opl0: <Yamaha OPL-3 FM>
imasks: bio c0000840, tty c003009a, net c0020400
ahc0: ahc_intr - referenced scb not valid during scsiint 0x8a scb(0)
changing root device to sd1a
bpf: lo0 attached
sd1s1: type 0x6, start 32, end = 1638399, size 1638368 : OK
sd1s3: type 0xa5, start 1843200, end = 2047999, size 204800 : OK
sd1s4: type 0xa5, start 2048000, end = 4403199, size 2355200 : OK

---------------------------------------------------------------------------
diff -c ORIG-message BCOPY-message
---------------------------------------------------------------------------
*** ORIG	Fri May 31 01:17:14 1996
--- BCOPY	Fri May 31 01:15:11 1996
***************
*** 43,48 ****
--- 43,53 ----
  (ahc0:1:0): "IBM OEM DFHSS2F 4141" type 0 fixed SCSI 2
  sd1(ahc0:1:0): Direct-Access 2150MB (4404489 512 byte sectors)
  sd1(ahc0:1:0): with 4390 cyls, 8 heads, and an average 125 sectors/track
+ ahc0: target 6 synchronous at 5.0MHz, offset = 0xf
+ (ahc0:6:0): "MATSHITA CD-ROM CR-504 ST23" type 5 removable SCSI 2
+ cd0(ahc0:6:0): CD-ROM 
+ cd0(ahc0:6:0): NOT READY asc:3a,0 Medium not present
+ can't get the size
  de0 <Digital DC21040 Ethernet> rev 35 int a irq 10 on pci0:12
  	mapreg[10] type=1 addr=0000e000 size=0080.
  	mapreg[14] type=0 addr=f3ffe000 size=0080.
***************
*** 78,86 ****
  opl0 at 0x388 on isa
  opl0: <Yamaha OPL-3 FM>
  imasks: bio c0000840, tty c003009a, net c0020400
- ahc0: ahc_intr - referenced scb not valid during scsiint 0x8a scb(0)
  changing root device to sd1a
  bpf: lo0 attached
  sd1s1: type 0x6, start 32, end = 1638399, size 1638368 : OK
  sd1s3: type 0xa5, start 1843200, end = 2047999, size 204800 : OK
  sd1s4: type 0xa5, start 2048000, end = 4403199, size 2355200 : OK
--- 83,92 ----
  opl0 at 0x388 on isa
  opl0: <Yamaha OPL-3 FM>
  imasks: bio c0000840, tty c003009a, net c0020400
  changing root device to sd1a
  bpf: lo0 attached
  sd1s1: type 0x6, start 32, end = 1638399, size 1638368 : OK
  sd1s3: type 0xa5, start 1843200, end = 2047999, size 204800 : OK
  sd1s4: type 0xa5, start 2048000, end = 4403199, size 2355200 : OK
+ sd0s1: type 0x6, start 32, end = 2047999, size 2047968 : OK
+ sd0s2: type 0xa5, start 2048000, end = 2117631, size 69632 : OK


--

                                             李 建 達 (Jian-Da Li) 交大資工
                                             E-Mail : jdli@csie.nctu.edu.tw



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