Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Aug 2004 10:49:40 +0200
From:      Kirill Ponomarew <krion@voodoo.oberon.net>
To:        freebsd-scsi@FreeBSD.org
Subject:   ahd(4) debug message on boot
Message-ID:  <20040823084940.GA665@voodoo.oberon.net>

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

--pvezYHf7grwyp3Bc
Content-Type: multipart/mixed; boundary="UugvWAfsgieZRqgk"
Content-Disposition: inline


--UugvWAfsgieZRqgk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,

After updating today to 5.3-BETA1, I got some ahd(4) debug info
on console, does somebody know what all of these mean ? dmesg
and kernel conf are attached.

-Kirill

--UugvWAfsgieZRqgk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=dmesg
Content-Transfer-Encoding: quoted-printable

Copyright (c) 1992-2004 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 5.3-BETA1 #0: Mon Aug 23 10:31:00 CEST 2004
    krion@voodoo.oberon.net:/usr/obj/usr/src/sys/FREAK
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(TM) XP2400+ (2014.58-MHz 686-class CPU)
  Origin =3D "AuthenticAMD"  Id =3D 0x681  Stepping =3D 1
  Features=3D0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,=
CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=3D0xc0400000<AMIE,DSP,3DNow!>
real memory  =3D 1073659904 (1023 MB)
avail memory =3D 1045307392 (996 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 10 Entries> on motherboard
pci0: <PCI bus> on pcib0
agp0: <VIA Generic host to PCI bridge> mem 0xfc000000-0xfdffffff at device =
0.0 on pci0
pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pci0: <multimedia, audio> at device 5.0 (no driver attached)
fxp0: <Intel 82559ER Pro/100 Ethernet> port 0xd400-0xd43f mem 0xf7800000-0x=
f781ffff,0xf8000000-0xf8000fff irq 11 at device 13.0 on pci0
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:02:b3:4c:18:9f
fxp0: [GIANT-LOCKED]
ahd0: <Adaptec 29320A Ultra320 SCSI adapter> port 0xb800-0xb8ff,0xd000-0xd0=
ff mem 0xf7000000-0xf7001fff irq 10 at device 14.0 on pci0
ahd0: [GIANT-LOCKED]
aic7901: Ultra320 Wide Channel A, SCSI Id=3D7, PCI 33 or 66Mhz, 512 SCBs
pci0: <multimedia, audio> at device 15.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 8233A UDMA133 controller> port 0x9800-0x980f,0x376,0x170-0x17=
7,0x3f6,0x1f0-0x1f7 at device 17.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: <serial bus, USB> at device 17.2 (no driver attached)
pci0: <serial bus, USB> at device 17.3 (no driver attached)
cpu0 on motherboard
orm0: <ISA Option ROMs> at iomem 0xcc000-0xcd7ff,0xc0000-0xc8fff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse Explorer, device ID 4
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7=
,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: <Parallel port bus> on ppc0
ppi0: <Parallel I/O> on ppbus0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=3D0x300>
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
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
unknown: <PNP0303> can't assign resources (port)
Timecounter "TSC" frequency 2014583744 Hz quality 800
Timecounters tick every 10.000 msec
ATAPI_RESET time =3D 100us
acd0: CDRW <TOSHIBA DVD-ROM SD-R1202/1026> at ata1-master UDMA33
Waiting 3 seconds for SCSI devices to settle
ahd0: Invalid Sequencer interrupt occurred.
>>>>>>>>>>>>>>>>>> Dump Card State Begins <<<<<<<<<<<<<<<<<
ahd0: Dumping Card State at program address 0x230 Mode 0x0
Card was paused
INTSTAT[0x0] SELOID[0x1] SELID[0x0] HS_MAILBOX[0x0]=20
INTCTL[0x80]:(SWTMINTMASK) SEQINTSTAT[0x0] SAVED_MODE[0x11]=20
DFFSTAT[0x33]:(CURRFIFO_NONE|FIFO0FREE|FIFO1FREE)=20
SCSISIGI[0x0]:(P_DATAOUT) SCSIPHASE[0x0] SCSIBUS[0x0]=20
LASTPHASE[0x1]:(P_DATAOUT|P_BUSFREE) SCSISEQ0[0x0]=20
SCSISEQ1[0x12]:(ENAUTOATNP|ENRSELI) SEQCTL0[0x0] SEQINTCTL[0x6]:(INTMASK1|I=
NTMASK2)=20
SEQ_FLAGS[0x0] SEQ_FLAGS2[0x0] QFREEZE_COUNT[0x2]=20
KERNEL_QFREEZE_COUNT[0x2] MK_MESSAGE_SCB[0xff00] MK_MESSAGE_SCSIID[0xff]=20
SSTAT0[0x0] SSTAT1[0x0] SSTAT2[0x0] SSTAT3[0x0] PERRDIAG[0x0]=20
SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO) LQISTAT0[0x0]=20
LQISTAT1[0x0] LQISTAT2[0x0] LQOSTAT0[0x0] LQOSTAT1[0x0]=20
LQOSTAT2[0x0]=20

SCB Count =3D 16 CMDS_PENDING =3D 0 LASTSCB 0xffff CURRSCB 0xf NEXTSCB 0xff=
40
qinstart =3D 31 qinfifonext =3D 31
QINFIFO:
WAITING_TID_QUEUES:
Pending list:
Total 0
Kernel Free SCB list: 15 1 2 3 4 5 6 7 8 9 10 11 12 13 14 0=20
Sequencer Complete DMA-inprog list:=20
Sequencer Complete list:=20
Sequencer DMA-Up and Complete list:=20
Sequencer On QFreeze and Complete list:=20


ahd0: FIFO0 Free, LONGJMP =3D=3D 0x8000, SCB 0x1
SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|EN=
SAVEPTRS)=20
SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL)=20
SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0] DFFSXFRCTL[0x0]=20
SOFFCNT[0x0] MDFFSTAT[0x5]:(FIFOFREE|DLZERO) SHADDR =3D 0x00, SHCNT =3D 0x0=
=20
HADDR =3D 0x00, HCNT =3D 0x0 CCSGCTL[0x10]:(SG_CACHE_AVAIL)=20

ahd0: FIFO1 Free, LONGJMP =3D=3D 0x8063, SCB 0xf
SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|EN=
SAVEPTRS)=20
SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL)=20
SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0] DFFSXFRCTL[0x0]=20
SOFFCNT[0x0] MDFFSTAT[0x5]:(FIFOFREE|DLZERO) SHADDR =3D 0x00, SHCNT =3D 0x0=
=20
HADDR =3D 0x00, HCNT =3D 0x0 CCSGCTL[0x10]:(SG_CACHE_AVAIL)=20
LQIN: 0x8 0x0 0x0 0x1 0x0 0x4 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0=
x0 0x0 0x0=20
ahd0: LQISTATE =3D 0x0, LQOSTATE =3D 0x0, OPTIONMODE =3D 0x52
ahd0: OS_SPACE_CNT =3D 0x20 MAXCMDCNT =3D 0x1
ahd0: SAVED_SCSIID =3D 0x0 SAVED_LUN =3D 0x0

SIMODE0[0xc]:(ENOVERRUN|ENIOERR)=20
CCSCBCTL[0x4]:(CCSCBDIR)=20
ahd0: REG0 =3D=3D 0x4d60, SINDEX =3D 0x180, DINDEX =3D 0x104
ahd0: SCBPTR =3D=3D 0x1, SCB_NEXT =3D=3D 0xff40, SCB_NEXT2 =3D=3D 0xff1b
CDB 12 80 0 80 88 71
STACK: 0x22b 0x1 0x0 0x0 0x0 0x0 0x0 0x0
<<<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
Copied 18 bytes of sense data offset 12: 0x70 0x0 0x6 0x0 0x0 0x0 0x0 0xa 0=
x0 0x0 0x0 0x0 0x29 0x2 0x2 0x0 0x0 0x0
Copied 18 bytes of sense data offset 12: 0x70 0x0 0x6 0x0 0x0 0x0 0x0 0xa 0=
x0 0x0 0x0 0x0 0x29 0x2 0x2 0x0 0x0 0x0
da0 at ahd0 bus 0 target 0 lun 0
da0: <SEAGATE ST336753LW 0006> Fixed Direct Access SCSI-3 device=20
da0: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing =
Enabled
da0: 35003MB (71687372 512 byte sectors: 255H 63S/T 4462C)
da1 at ahd0 bus 0 target 1 lun 0
da1: <SEAGATE ST336753LW 0006> Fixed Direct Access SCSI-3 device=20
da1: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing =
Enabled
da1: 35003MB (71687372 512 byte sectors: 255H 63S/T 4462C)
cd0 at ata1 bus 0 target 0 lun 0
cd0: <TOSHIBA DVD-ROM SD-R1202 1026> Removable CD-ROM SCSI-0 device=20
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
Mounting root from ufs:/dev/da0s1a
drm0: <Matrox G550 (AGP)> mem 0xf8800000-0xf8ffffff,0xf9000000-0xf9003fff,0=
xfa000000-0xfbffffff irq 11 at device 0.0 on pci1
info: [drm] AGP at 0xfc000000 32MB
info: [drm] Initialized mga 3.1.0 20021029 on minor 0

--UugvWAfsgieZRqgk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=FREAK
Content-Transfer-Encoding: quoted-printable

machine		i386
cpu		I586_CPU
cpu		I686_CPU
ident		FREAK

makeoptions	DEBUG=3D-g

options 	SCHED_ULE
options 	INET=09
options 	FFS
options 	SOFTUPDATES
options 	UFS_ACL=09
options 	UFS_DIRHASH
options 	MD_ROOT=09
options 	NFSCLIENT
options 	NFSSERVER
options 	NFS_ROOT
options 	MSDOSFS
options 	CD9660
options 	PROCFS
options 	PSEUDOFS
options 	GEOM_GPT
options 	COMPAT_43
options 	COMPAT_FREEBSD4
options 	SCSI_DELAY=3D3000
options 	KTRACE
options 	SYSVSHM
options 	SYSVMSG
options 	SYSVSEM
options 	_KPOSIX_PRIORITY_SCHEDULING
options 	KBD_INSTALL_CDEV
options 	AHC_REG_PRETTY_PRINT
options 	AHD_REG_PRETTY_PRINT
options 	PFIL_HOOKS
options		ADAPTIVE_GIANT

options 	KDB
options 	DDB
options 	GDB

device		isa
device		eisa
device		pci

device		fdc

device		ata
device		atapicam
device		atadisk=09
device		ataraid
device		atapicd
device		atapifd
device		atapist
options 	ATA_STATIC_ID

# SCSI Controllers
device		ahd
device		aic

# SCSI peripherals
device		scbus
device		ch
device		da
device		sa
device		cd
device		pass
device		ses

device		atkbdc
device		atkbd
device		psm

device		vga	=09
device		splash=09
device		sc
device		agp
device		npx
device		pmtimer

device		sio

device		ppc
device		ppbus=09
device		lpt
device		plip
device		ppi
#device		vpo

device		miibus
device		fxp

# Pseudo devices.
device		random
device          mem
device          io
device		loop
device		ether
device		sl
device		tun
device		pty
device		md
device		bpf

--UugvWAfsgieZRqgk--

--pvezYHf7grwyp3Bc
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (FreeBSD)

iD8DBQFBKa+kQC1G6a60JuURAkBUAKDnP1Msw0UHZvVMgZlQqXT+rdK/iACg1AwZ
qgLgc8Z105FCtTItWpOSqfo=
=lpJE
-----END PGP SIGNATURE-----

--pvezYHf7grwyp3Bc--



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