From quiksilva@lineone.net  Sat Nov  4 14:05:34 2000
Return-Path: <quiksilva@lineone.net>
Received: from scooby.lineone.net (doggy.lineone.net [194.75.152.224])
	by hub.freebsd.org (Postfix) with ESMTP id 4294A37B479
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  4 Nov 2000 14:05:30 -0800 (PST)
Received: from mercury (host212-140-8-239.btinternet.com [212.140.8.239])
	by scooby.lineone.net (8.9.3/8.9.3) with SMTP id WAA13006
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 4 Nov 2000 22:05:19 GMT
Received: by localhost with Microsoft MAPI; Sat, 4 Nov 2000 22:10:55 -0000
Message-Id: <01C046AC.1A6ACCE0.quiksilva@lineone.net>
Date: Sat, 4 Nov 2000 22:10:38 -0000
From: Dave Pimlott <quiksilva@lineone.net>
To: "'FreeBSD-gnats-submit@freebsd.org'" <FreeBSD-gnats-submit@freebsd.org>
Subject: Panic on boot (ahc0) 

>Number:         22606
>Category:       i386
>Synopsis:       Panic on boot: panic string "panic ahc0: brkadint, scratch
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 04 14:10:06 PST 2000
>Closed-Date:    Thu Feb 28 14:27:23 PST 2002
>Last-Modified:  Thu Feb 28 14:40:00 PST 2002
>Originator:     Charlie &
>Release:        FreeBSD 4.1.1-STABLE i386
>Organization:
Home User
>Environment:
dmesg output:
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.1.1-STABLE #9: Fri Nov  3 20:59:40 GMT 2000
    root@mercury.home:/usr/src/sys/compile/MERCURY
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 350797322 Hz
CPU: AMD-K6(tm) 3D processor (350.80-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x58c  Stepping = 12
  Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
  AMD Features=0x80000800<SYSCALL,3DNow!>
real memory  = 134152192 (131008K bytes)
avail memory = 127873024 (124876K bytes)
Preloaded elf kernel "kernel" at 0xc02be000.
VESA: v3.0, 4096k memory, flags:0x1, mode table:0xc02ba322 (1000022)
VESA: NVidia
K6-family MTRR support enabled (2 registers)
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <VIA 82C598MVP (Apollo MVP3) host bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on 
pci0
pci1: <PCI bus> on pcib2
pci1: <NVidia Riva TNT graphics accelerator> at 0.0 irq 5
isab0: <VIA 82C586 PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C586 ATA33 controller> port 0x6400-0x640f at device 7.1 on 
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <VIA 83C572 USB controller> at 7.2 irq 9
xl0: <3Com 3c905-TX Fast Etherlink XL> port 0x6c00-0x6c3f irq 11 at device 
10.0 on pci0
xl0: Ethernet address: 00:60:08:0c:40:b8
miibus0: <MII bus> on xl0
nsphy0: <DP83840 10/100 media interface> on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcm0: <AudioPCI ES1371> port 0x7000-0x703f irq 10 at device 11.0 on pci0
ahc0: <Adaptec 2940A Ultra SCSI adapter> port 0x7400-0x74ff mem 
0xed000000-0xed000fff irq 5 at device 12.0 on pci0
aic7860: Single Channel A, SCSI Id=7, 3/255 SCBs
pcib1: <Host to PCI bridge> on motherboard
pci2: <PCI bus> on pcib1
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
IP Filter: v3.4.8 initialized.  Default = pass all, Logging = enabled
ata0-master: DMA limited to UDMA33, non-ATA66 compliant cable
ad0: 29314MB <IBM-DTLA-307030> [59560/16/63] at ata0-master using UDMA33
ad1: 8056MB <SAMSUNG VG38404A> [16368/16/63] at ata0-slave using UDMA33
acd0: CDROM <SAMSUNG CD-ROM SCR-3231> at ata1-slave using PIO4
Waiting 7 seconds for SCSI devices to settle
sa0 at ahc0 bus 0 target 3 lun 0
sa0: <SONY SDT-9000 0400> Removable Sequential Access SCSI-2 device
sa0: 10.000MB/s transfers (10.000MHz, offset 15)
Mounting root from ufs:/dev/ad1s1a
da0 at ahc0 bus 0 target 1 lun 0
da0: <MICROP 3243-19   1128RA 28RA> Fixed Direct Access SCSI-2 device
da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled
da0: 4095MB (8388315 512 byte sectors: 255H 63S/T 522C)
da1 at ahc0 bus 0 target 5 lun 0
da1: <IOMEGA ZIP 100 J.02> Removable Direct Access SCSI-2 device
da1: 3.300MB/s transfers
da1: Attempt to query device size failed: NOT READY, Medium not present

Kernel config file:
machine         i386
cpu             I586_CPU
ident           MERCURY
maxusers        32

options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device [keep 
this!]
options         SOFTUPDATES             #Enable FFS soft updates support
options         MFS                     #Memory Filesystem
options         MSDOSFS                 #MSDOS Filesystem
options         CD9660                  #ISO 9660 Filesystem
options         CD9660_ROOT             #CD-ROM usable as root, CD9660 
required
options         COMPAT_43               #Compatible with BSD 4.3 [KEEP 
THIS!]
options         SCSI_DELAY=7000         #Delay (in ms) before probing SCSI
options         UCONSOLE                #Allow users to grab the console
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor
options         KTRACE                  #ktrace(1) support
options         SYSVSHM                 #SYSV-style shared memory
options         SYSVMSG                 #SYSV-style message queues

options         SYSVSEM                 #SYSV-style semaphores
options         P1003_1B                #Posix P1003_1B real-time 
extensions
options         _KPOSIX_PRIORITY_SCHEDULING
options         ICMP_BANDLIM            #Rate limit bad replies
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
options         CPU_FASTER_5X86_FPU
options         CPU_WT_ALLOC
options         NO_MEMORY_HOLE
options         USER_LDT
options         VESA
options         IPFILTER
option          IPFILTER_LOG
options         IPSTEALTH
options         TCP_DROP_SYNFIN
options         TCP_RESTRICT_RST
options         AUTO_EOI_1

device          isa
device          eisa
device          pci
device          pcm

device          fdc0    at isa? port IO_FD1 irq 6 drq 2
device          fd0     at fdc0 drive 0

device          ata0    at isa? port IO_WD1 irq 14
device          ata1    at isa? port IO_WD2 irq 15
device          ata
device          atadisk                 # ATA disk drives
device          atapicd                 # ATAPI CDROM drives
options         ATA_ENABLE_ATAPI_DMA    #Enable DMA on ATAPI devices

device          ahc             # AHA2940 and onboard AIC7xxx devices

device          scbus           # SCSI bus (required)
device          da              # Direct Access (disks)
device          sa              # Sequential Access (tape etc)
device          pass            # Passthrough device (direct SCSI access)


device          atkbdc0 at isa? port IO_KBD
device          atkbd0  at atkbdc? irq 1 flags 0x1
device          psm0    at atkbdc? irq 12

device          vga0    at isa?

pseudo-device   splash

device          sc0     at isa? flags 0x100

device          npx0    at nexus? port IO_NPX irq 13

device          sio0    at isa? port IO_COM1 flags 0x10 irq 4
device          sio1    at isa? port IO_COM2 irq 3

device          miibus          # MII bus support
device          xl              # 3Com 3c90x (``Boomerang'', ``Cyclone'')

pseudo-device   loop            # Network loopback
pseudo-device   ether           # Ethernet support
pseudo-device   ppp     1       # Kernel PPP
pseudo-device   tun             # Packet tunnel.
pseudo-device   pty             # Pseudo-ttys (telnet etc)
pseudo-device   md              # Memory "disks"
pseudo-device   vn

pseudo-device   bpf             #Berkeley packet filter


output of uname -a
FreeBSD mercury.home 4.1.1-STABLE FreeBSD 4.1.1-STABLE #9: Fri Nov  3 
20:59:40 GMT 2000     root@mercury.home:/usr/src/sys/compile/MERCURY  i386

Boot Manager: Patition Magic 5

>Description:

Occasionaly (4 times times in the last month) it has panicked in exactly 
the same place.
Full panic string: "Panic ahc0: brkadint, scratch or SCB memory parity 
error at seqaddr = 0x0"

>How-To-Repeat:
I try to boot the machine, it panicks.

>Fix:
Unknown


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: mjacob 
State-Changed-When: Mon Oct 1 21:54:31 PDT 2001 
State-Changed-Why:  
Sounds like a bad AHC board. Is this still broken in the same way? Have 
you replaced the board? 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=22606 
State-Changed-From-To: feedback->closed 
State-Changed-By: keramida 
State-Changed-When: Thu Feb 28 14:27:23 PST 2002 
State-Changed-Why:  
Submitter says that it's OK to close this. 
His problems haven't resurfaced since he upgraded hardware & software. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=22606 

From: Dave Pimlott <dp@davepimlott.info>
To: bug-followup@freebsd.org
Cc:  
Subject: i386/22606: Panic on boot (ahc0)
Date: Thu, 28 Feb 2002 22:26:53 +0000

 Return-Path: <keramida@freebsd.org>
 Received: from localhost (localhost.home [127.0.0.1])
 	by bigun.home (8.11.6/8.11.6) with ESMTP id g1SMIuR00382
 	for <dp@localhost>; Thu, 28 Feb 2002 22:18:56 GMT
 	(envelope-from keramida@freebsd.org)
 Received: from pop3.mail.demon.net [194.217.242.22]
 	by localhost with POP3 (fetchmail-5.9.6)
 	for dp@localhost (single-drop); Thu, 28 Feb 2002 22:18:56 +0000 (GMT)
 Received: from punt-2.mail.demon.net by mailstore
           for forwarded@davepimlott.demon.co.uk id 1014933835:20:04532:33;
           Thu, 28 Feb 2002 22:03:55 GMT
 Received: from silver.firevision.net ([62.121.2.60]) by punt-2.mail.demon.net
            id aa2005454; 28 Feb 2002 22:03 GMT
 Received: from mailsrv.otenet.gr ([195.170.0.5])
 	by indigo.firevision.net with esmtp (Exim 3.16 #2)
 	id 16gYdP-0007NV-00
 	for dp@davepimlott.info; Thu, 28 Feb 2002 22:02:44 +0000
 Received: from hades.hell.gr (patr530-b110.otenet.gr [195.167.121.238])
 	by mailsrv.otenet.gr (8.12.2/8.12.2) with ESMTP id g1SM3m78021930
 	for <dp@davepimlott.info>; Fri, 1 Mar 2002 00:03:50 +0200 (EET)
 Received: (from charon@localhost)
 	by hades.hell.gr (8.11.6/8.11.6) id g1SM3le09213
 	for dp@davepimlott.info; Fri, 1 Mar 2002 00:03:47 +0200 (EET)
 	(envelope-from keramida@freebsd.org)
 Date: Fri, 1 Mar 2002 00:03:47 +0200
 From: Giorgos Keramidas <keramida@freebsd.org>
 To: Dave Pimlott <dp@davepimlott.info>
 Subject: Re: i386/22606: Panic on boot (ahc0)
 Message-ID: <20020228220347.GA9193@hades.hell.gr>
 References: <01C046AC.1A6ACCE0.quiksilva@lineone.net> <20020228214504.GB2336@hades.hell.gr> <20020228220045.A310@home>
 Mime-Version: 1.0
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 In-Reply-To: <20020228220045.A310@home>
 User-Agent: Mutt/1.3.27i
 
 On 2002-02-28 22:00, Dave Pimlott wrote:
 > 
 > I did reply, oh well...
 
 Probably your reply didn't make it to the gnats database.
 You can make sure it does, by adding bug-followup@freebsd.org to the Cc list :)
 
 > I am still using the same board with the same peripherals, with
 > a new mainboard and processor.  The problem hasn't resurfaced since I upgraded
 > to FreeBSD 4.x.
 
 Then I take it, this can be closed?
 In any case, if similar problems surface again,
 you're always welcome to submit a new report or followup to this one,
 asking that it's reopened :)
 
 Giorgos Keramidas                           FreeBSD Documentation Project
 keramida@{freebsd.org,ceid.upatras.gr}      http://www.FreeBSD.org/docproj/
>Unformatted:
 X-send-pr-version: 3.2
 
 
 or SCB memory parity error at seqaddr = 0x0hc0)"
