Subject: Re: Heads up: new ahc driver committed
To: Frank van der Linden <fvdl@netbsd.org>
From: Bjoern Labitzke <bcsl@gmx.de>
List: current-users
Date: 04/20/2003 20:59:02
* Frank van der Linden (fvdl@netbsd.org) Sun, Apr 20, 2003 at 08:21:44PM +0200:
> On Sun, Apr 20, 2003 at 07:32:46PM +0200, Bjoern Labitzke wrote:
> > HCNT = 0x30 SCBPTR = 0x0
> > (null)[0x44] kernel: page fault trap, code = 0
> > Stopped at 0: invalid address
> > 
> > To obtain a backtrace was impossible.
> > 
> > Anything else I can provide?
> 
> The ahc_dump_cardstate function calls some register print functions, they're
> a bit broken. I'll fix them up.
> 
> What was the output of an older kernel?


[...]
ahc0 at pci0 dev 6 function 0
ahc0: interrupting at irq 10
ahc0: aic7880 Wide Channel A, SCSI Id=7, 16/255 SCBs
scsibus0 at ahc0: 16 targets, 8 luns per target
[...]
scsibus0: waiting 2 seconds for devices to settle...
cd0 at scsibus0 target 1 lun 0: <TOSHIBA, CD-ROM XM-6201TA, 1030> cdrom removable
cd0: sync (100.00ns offset 15), 8-bit (10.000MB/s) transfers
cd1 at scsibus0 target 3 lun 0: <YAMAHA, CRW4260, 1.0q> cdrom removable
cd1: async, 8-bit transfers
sd0 at scsibus0 target 6 lun 0: <IBM OEM, DFHSS4F, 4141> disk fixed
sd0: 4303 MB, 4392 cyl, 16 head, 125 sec, 512 bytes/sect x 8813870 sectors
sd0: sync (100.00ns offset 15), 8-bit (10.000MB/s) transfers, tagged queueing
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
[...]

And here are the latest lines of output before the boot stops with the
new kernel:

  2
  3
  4
  5
  6
  7
  8
  9
 10

 11
 12
 13
 14
 15

Pending list:
 14
Kernel Free SCB List: 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Untagged Q(1): 14

<<<<<<<< Dump Card State Ends >>>>>>>>>>
sg[0] - Addr 0x1b56e90 : Length 74
probe(ahc0:1:0): ahc0: no longer in timeout, status = 0
ahc0: Issued Channel A Bus Reset, 1 SCBs aborted


At least I can see progress. :-)  Thanks! 

Bjoern

-- 
Bjoern Labitzke  <bcsl@gmx.de>
   Use GPG! (Don't you use envelopes for your letters?)