Subject: Re: ahc freeze
To: None <fvdl@netbsd.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: current-users
Date: 04/22/2003 23:21:45
In article <20030422124323.C916@quartz.newn.cam.ac.uk>
prlw1@newn.cam.ac.uk wrote:

> ahc0 at pci2 dev 8 function 0
> ahc0: interrupting at irq 10
> ahc0: aic7860: Ultra Single Channel A, SCSI Id=7, 3/253 SCBs

I also tried aic7860 on my i386 and found another problem:
---
ahc0 at pci0 dev 13 function 0
ahc0: interrupting at irq 14
ahc0: aic7860: Single Channel A, SCSI Id=7, 3/253 SCBs
scsibus1 at ahc0: 8 targets, 8 luns per target
 :
scsibus1: waiting 2 seconds for devices to settle...
 :
sd1 at scsibus1 target 2 lun 0: <CONNER, CFP2105S  2.14GB, 1524> disk fixed
sd1: 2048 MB, 3940 cyl, 10 head, 106 sec, 512 bytes/sect x 4194304 sectors
sd1: sync (0.00ns offset 0), 8-bitkernel: integer divide fault trap, code=0
Stopped in pid 3.1 (scsibus1) at        scsipi_sync_factor_to_freq+0x54:        idivl    %ecx,%eax
db> 
---

With 1.6K kernel, it chooses async for the drive:
---
ahc0 at pci0 dev 13 function 0
ahc0: interrupting at irq 14
ahc0: aic7860 Single Channel A, SCSI Id=7, 3/255 SCBs
scsibus1 at ahc0: 8 targets, 8 luns per target
 :
scsibus1: waiting 2 seconds for devices to settle...
sd1 at scsibus1 target 2 lun 0: <CONNER, CFP2105S  2.14GB, 1524> disk fixed
sd1: 2048 MB, 3940 cyl, 10 head, 106 sec, 512 bytes/sect x 4194304 sectors
sd1: async, 8-bit transfers, tagged queueing
---

My aic7860 card looks to have BIOS for PC-9801 and
I cannot check EEPROM settings on it. EEPROM contents on
the card might be corrupted, but panic is not good anyway.

(BTW, is there any way to update EEPROM without BIOS support?)
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp