Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jan 1999 00:47:32 +0100
From:      Martin Maciaszek <fastjack@i-s-o.net>
To:        aic7xxx list <AIC7xxx@FreeBSD.ORG>
Subject:   aic7xxx problems in 2.2.0
Message-ID:  <19990127004732.A593@i-s-o.net>

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

--Fba/0zbH8Xs+Fj9o
Content-Type: multipart/mixed; boundary=wac7ysb48OaltWcw


--wac7ysb48OaltWcw
Content-Type: text/plain; charset=us-ascii

Ever since 2.1.131 I got oopses when running some scsi-intensive operations. I can reproduce this oops with deadly accuracy. A simple "dd if=/dev/scd2 of=/dev/null bs=2048" is enough to reproduce this oops. I even updated the BIOS of my AHA-2940UW from 1.21 to 1.34.3 without any succes. Attached you will find the output of ksymoops, and the contents of /proc/scsi/scsi and /proc/scsi/aic7xxx/0. If you need any further information just tell me.

Regards
Martin
-- 
The meat is rotten, but the booze is holding out.

Computer translation of "The spirit is willing, but the flesh is weak."

--wac7ysb48OaltWcw
Content-Type: text/plain; charset=us-ascii
Content-Description: ksymoops-output
Content-Disposition: attachment; filename="ksymoops-trace-2.2.0"

Options used: -V (default)
              -o /lib/modules/2.2.0/ (default)
              -k /proc/ksyms (default)
              -l /proc/modules (default)
              -m /usr/src/linux/System.map (default)
              -c 1 (default)

You did not tell me where to find symbol information.  I will assume
that the log matches the kernel and modules that are running right now
and I'll use the default options above for symbol resolution.
If the current kernel and/or modules do not match the log, you can get
more accurate output by telling me the kernel version and where to find
map, modules, ksyms etc.  ksymoops -h explains the options.

Jan 27 00:24:28 nexus kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000400
Jan 27 00:24:28 nexus kernel: current->tss.cr3 = 018ac000, `r3 = 018ac000
Jan 27 00:24:28 nexus kernel: *pde = 00000000
Jan 27 00:24:28 nexus kernel: Oops: 0000
Jan 27 00:24:28 nexus kernel: CPU:    0
Jan 27 00:24:28 nexus kernel: EIP:    0010:[<c0123b72>]
Jan 27 00:24:28 nexus kernel: EFLAGS: 00010206
Jan 27 00:24:28 nexus kernel: eax: 00000400   ebx: 0001c4fa   ecx: 00000b02   edx: 00000400
Jan 27 00:24:28 nexus kernel: esi: 00000800   edi: 0001c4fa   ebp: c18b0b02   esp: c18b1cfc
Jan 27 00:24:28 nexus kernel: ds: 0018   es: 0018   ss: 0018
Jan 27 00:24:28 nexus kernel: Process dd (pid: 625, process nr: 83, stackpage=c18b1000)
Jan 27 00:24:28 nexus kernel: Stack: c0123ba1 00000b02 0001c4fa 00000800 c0123dff 00000b02 0001c4fa 00000800 
Jan 27 00:24:28 nexus kernel:        00000001 00000000 c18b1e90 c18b1e94 00000002 c0126fe9 00000b02 0001c4fa 
Jan 27 00:24:28 nexus kernel:        00000800 c18d8120 0804c3da 0804c3da 00000800 08048000 c0d7dce0 0804c188 
Jan 27 00:24:28 nexus kernel: Call Trace: [<c0123ba1>] [<c0123dff>] [<c0126fe9>] [<c480cb53>] [<c480cb53>] [<c480cb53>] [<c481db70>] 
Jan 27 00:24:28 nexus kernel:        [<c018d365>] [<c480c17e>] [<c4806c9d>] [<c480886e>] [<c010f797>] [<c010f797>] [<c010f862>] [<c010f797>] 
Jan 27 00:24:28 nexus kernel:        [<c010e923>] [<c012271e>] [<c0107b0c>] 
Jan 27 00:24:28 nexus kernel: Code: 8b 12 39 58 04 75 f3 39 70 08 75 ee 66 39 48 0c 75 e8 89 c2 

>>EIP: c0123b72 <find_buffer+2a/44>
Trace: c0123ba1 <get_hash_table+15/20>
Trace: c0123dff <getblk+1f/21c>
Trace: c0126fe9 <block_read+30d/524>
Trace: c480cb53 <requeue_sd_request+2b/ddc>
Trace: c480cb53 <requeue_sd_request+2b/ddc>
Trace: c480cb53 <requeue_sd_request+2b/ddc>
Trace: c481db70 <aic7xxx_queue+148/158>
Trace: c018d365 <add_blkdev_randomness+45/4c>
Trace: c010e923 <process_timeout+b/10>
Code:  c0123b72 <find_buffer+2a/44>            00000000 <_EIP>:
Code:  c0123b72 <find_buffer+2a/44>               0:	8b 12          	movl   (%edx),%edx
Code:  c0123b74 <find_buffer+2c/44>               2:	39 58 04       	cmpl   %ebx,0x4(%eax)
Code:  c0123b77 <find_buffer+2f/44>               5:	75 f3          	jne    fffffffa <_EIP+0xfffffffa> c0123b6c <find_buffer+24/44>
Code:  c0123b79 <find_buffer+31/44>               7:	39 70 08       	cmpl   %esi,0x8(%eax)
Code:  c0123b7c <find_buffer+34/44>               a:	75 ee          	jne    fffffffa <_EIP+0xfffffffa> c0123b6c <find_buffer+24/44>
Code:  c0123b7e <find_buffer+36/44>               c:	66 39 48 0c    	cmpw   %cx,0xc(%eax)
Code:  c0123b82 <find_buffer+3a/44>              10:	75 e8          	jne    fffffffa <_EIP+0xfffffffa> c0123b6c <find_buffer+24/44>
Code:  c0123b84 <find_buffer+3c/44>              12:	89 c2          	movl   %eax,%edx


4 warnings issued.  Results may not be reliable.

--wac7ysb48OaltWcw
Content-Type: text/plain; charset=us-ascii
Content-Description: contents of /proc/scsi/scsi
Content-Disposition: attachment; filename=proc_scsi_scsi

Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: CONNER   Model: CFP2105S  2.14GB Rev: 2D4D
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: QUANTUM  Model: FIREBALL_TM2110S Rev: 300X
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 02 Lun: 00
  Vendor: NEC      Model: CD-ROM DRIVE:501 Rev: 2.2 
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 03 Lun: 00
  Vendor: SCSI-CD  Model: ReWritable-2x2x6 Rev: 2.00
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 04 Lun: 00
  Vendor: PLEXTOR  Model: CD-ROM PX-6XCS   Rev: 2.05
  Type:   CD-ROM                           ANSI SCSI revision: 02

--wac7ysb48OaltWcw
Content-Type: text/plain; charset=us-ascii
Content-Description: contents of /proc/scsi/aic7xxx/0
Content-Disposition: attachment; filename=proc_scsi_aic7xxx_0

Adaptec AIC7xxx driver version: 5.1.10/3.2.4
Compile Options:
  AIC7XXX_RESET_DELAY    : 3
  AIC7XXX_TAGGED_QUEUEING: Adapter Support Enabled
                             Check below to see which
                             devices use tagged queueing
  AIC7XXX_PAGE_ENABLE    : Enabled (This is no longer an option)
  AIC7XXX_PROC_STATS     : Disabled

Adapter Configuration:
           SCSI Adapter: Adaptec AHA-294X Ultra SCSI host adapter
                           Ultra Wide Controller
    PCI MMAPed I/O Base: 0xf2000000
 Adapter SEEPROM Config: SEEPROM found and used.
      Adaptec SCSI BIOS: Enabled
                    IRQ: 11
                   SCBs: Active 0, Max Active 2,
                         Allocated 15, HW 16, Page 255
             Interrupts: 18840
      BIOS Control Word: 0x1094
   Adapter Control Word: 0x001c
   Extended Translation: Enabled
Disconnect Enable Flags: 0xffff
     Ultra Enable Flags: 0x0000
 Tag Queue Enable Flags: 0x0000
Ordered Queue Tag Flags: 0x0000
Default Tag Queue Depth: 24
    Tagged Queue By Device array for aic7xxx host instance 0:
      {255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
    Actual queue depth per device for aic7xxx host instance 0:
      {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}

Statistics:

(scsi0:0:0:0)
  Device using Narrow/Sync transfers at 10.0 MByte/sec, offset 15
  Transinfo settings: current(25/15/0), goal(25/15/0), user(25/15/0)
  Total transfers 549 (458 reads and 91 writes)


(scsi0:0:1:0)
  Device using Narrow/Sync transfers at 10.0 MByte/sec, offset 15
  Transinfo settings: current(25/15/0), goal(25/15/0), user(25/15/0)
  Total transfers 3676 (2838 reads and 838 writes)


(scsi0:0:2:0)
  Device using Narrow/Async transfers.
  Transinfo settings: current(0/0/0), goal(0/0/0), user(0/0/0)
  Total transfers 0 (0 reads and 0 writes)


(scsi0:0:3:0)
  Device using Narrow/Sync transfers at 10.0 MByte/sec, offset 15
  Transinfo settings: current(25/15/0), goal(25/15/0), user(25/15/0)
  Total transfers 0 (0 reads and 0 writes)


(scsi0:0:4:0)
  Device using Narrow/Sync transfers at 5.0 MByte/sec, offset 15
  Transinfo settings: current(50/15/0), goal(50/15/0), user(50/15/0)
  Total transfers 14497 (14497 reads and 0 writes)



--wac7ysb48OaltWcw--

--Fba/0zbH8Xs+Fj9o
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i

iQEVAwUANq5UCrgry4KfvMLdAQFBqwgAsjVgLdtlhmSJoGpaqAQuzKPFRU3iB6S5
yuRm8rcTfG7AFVA9gbpE5focYzRrOrWIBcw8jGDmoFL4rH8ZWI6Pus+h66n/2jYX
IW+0DaB0xbsgnc/wU2O3QTV6XvCxZ8VTGY9nVvVbg4lXT4O05QY2eeGayFKb9BFq
aQqHhV3I9r2WTp6rB6yP9V4nkVN8V53k3M1nRQ6PF4UIUlo/gf+zq9q8uHYd1jq3
g2c5BO33cCRL39zFbtePPVUT05ukzadIymceqbgMntfaY00MQlT1p1wQuVisQEnJ
IsAMJQkYYpfHhug4irYQR3aCl8KtPFP/hKiXk3K9N3aAkby2ocCbLg==
=N0pd
-----END PGP SIGNATURE-----

--Fba/0zbH8Xs+Fj9o--

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



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