Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Dec 2000 22:31:53 -0600
From:      ryanb <ryanb@goddamnbastard.org>
To:        freebsd-stable@freebsd.org
Subject:   4.2-stable + ahc0 + pass0 + cd rip = random panic ?
Message-ID:  <20001221223152.A389@bjorn.goddamnbastard.org>

next in thread | raw e-mail | index | archive | help
Greetings -stable!

I'm currently running into a problem when ripping audio discs via cdrecord.
At random times during the ripping process, the status reading (percentage)
just stops and waits.  Within 5-10 minutes later, my machine would panic.

If DDB_UNATTENDED is enabled, the machine will just reboot without dumping
core.  Without DDB_UNATTENDED, it would sit at the panic 'db>' prompt.  I've
gathered some info, but I could _never_ get it to dump core w/ this prob.

I'll submit any other info requested that might help this out.  Best of luck
to anyone to wants to take a stab at it.  :)

  - ryan

Here's some info about my machine + ddb information:

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.2-STABLE #0: Thu Dec 14 19:11:01 CST 2000
    root@jesper.internal.goddamnbastard.org:/usr/obj/usr/src/sys/JESPER
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (501.14-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x673  Stepping = 3
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 402640896 (393204K bytes)
avail memory = 388136960 (379040K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
IOAPIC #0 intpin 16 -> irq 11
IOAPIC #0 intpin 17 -> irq 10
IOAPIC #0 intpin 18 -> irq 3
IOAPIC #0 intpin 19 -> irq 7
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc0372000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc037209c.
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia Riva Ultra TNT2 graphics accelerator> at 0.0 irq 11
isab0: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xd800-0xd80f at device 4.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 4.2
Timecounter "PIIX"  frequency 3579545 Hz
chip1: <Intel 82371AB Power management controller> port 0xe800-0xe80f at device 4.3 on pci0
dc0: <82c169 PNIC 10/100BaseTX> port 0xd000-0xd0ff mem 0xdf800000-0xdf8000ff irq 7 at device 9.0 on pci0
dc0: Ethernet address: 00:a0:cc:54:f0:18
miibus0: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0xb800-0xb8ff mem 0xdf000000-0xdf000fff irq 3 at device 10.0 on pci0
aic7880: Wide Channel A, SCSI Id=7, 16/255 SCBs
pcm0: <Aureal Vortex 8830> port 0xb000-0xb007,0xb400-0xb407 mem 0xde800000-0xde83ffff irq 10 at device 11.0 on pci0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> on isa0
sc0: VGA <4 virtual consoles, flags=0x200>
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
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
SMP: AP CPU #1 Launched!
ata0-slave: ata_command: timeout waiting for intr
ata0-slave: identify failed
acd0: CDROM <CD-532E-B> at ata0-master using WDMA2
Waiting 2 seconds for SCSI devices to settle
Mounting root from ufs:/dev/da0s1a
da1 at ahc0 bus 0 target 1 lun 0
da1: <SEAGATE ST34555N 0930> Fixed Direct Access SCSI-2 device 
da1: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing Enabled
da1: 4340MB (8888924 512 byte sectors: 255H 63S/T 553C)
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DNES-309170W SA30> Fixed Direct Access SCSI-3 device 
da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da0: 8748MB (17916240 512 byte sectors: 255H 63S/T 1115C)
cd0 at ahc0 bus 0 target 2 lun 0
cd0: <YAMAHA CRW8424S 1.0d> Removable CD-ROM SCSI-2 device 
cd0: 20.000MB/s transfers (20.000MHz, offset 15)
cd0: cd present [237000 x 2048 byte records]

( I'm writing from cd0 to da0. )

[ Messages below after system-induced panic.  Please pardon typos.  I was tired
  and the handwriting got a tad slurred at moments. ]

(pass2:ahc0:0:2:0): SCB 0x39 = timed out while idle, SEQADDR == 0x4
STACK == 0x1, 0x101, 0x15c, 0x184
SXFRCTL0 == 0x80
SCB count == 0x60
QINFIFO entries:
Waiting Queue entries:
Disconnected Queue entries: 13:57
QOUTFIFO entries:
Sequencer Free SCB list: 2 15 9 1 5 0 11 10 3 12 6 8 14 7 4
Pending list: 57
Kernel Free SCB list: 13 11 2 18 19 30 39 10 53 42 15 0 52 4 54 25 4 17 16 27 2
9 36 6 32 33 26 45 38 48 49 28 35 38 20 46 1 59 44 8 7 24 22 37 31 55 34 3 56 12
 41 23 43 9 21 47 14 51 50
Untagged Q(2): 57
sg[0] - Addr 0x128f4000 : Length 4096
sg[1] - Addr 0xe9750000 : Length 4096
sg[2] - Addr 0x6cf6000  : Length 4096
sg[3] - Addr 0xd9f7000  : Length 4096
sg[4] - Addr 0x9cf8000  : Length 4096
sg[5] - Addr 0x15079000 : Length 4096
sg[6] - Addr 0xd3fa000  : Length 4096
sg[7] - Addr 0x437b000  : Length 4096
sg[8] - Addr 0xcd70000  : Length 4096
sg[9] - Addr 0x147fd000 : Length 4096
sg[10] - Addr 0x9f7e000  : Length 4096
sg[11] - Addr 0x15eff000 : Length 4096
sg[12] - Addr 0xb880000 : Length 4096
sg[13] - Addr 0x15001000 : Length 4096
sg[14] - Addr 0x10402000 : Length 4096
sg[15] - Addr 0x11603000 : Length 4096
(pass2:ahc0:0:2:0): Queuing a BDR SCB
(pass2:ahc0:0:2:0): no longer in timeout, status = 34a
Wating List inconsistency: SCB index = 255, yet numscbs == 60.  SCB count = 60
QINFIFO entries:
Waiting Queue entries: 2:255 15:255 9:255 1:255 5:255 0:255 11:255 10:255 3:255
12:255 6:255 8:255 14:255 7:255 4:255
Disconnected Queue entries:
QOUTFIFO entries:
Sequencer Free SCB List: 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 1
3 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13
13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13
 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 1
3 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 
13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13
 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 1
3 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 
13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13
 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 1
3 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 
13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13
 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 1
3 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 
13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13
 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 1
3 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 
Pending list:
Kernel Free SCB list: 13 11 2 18 19 30 39 10 53 42 15 0 52 4 54 25 4 17 16 27 2
9 36 6 32 33 26 45 38 48 49 28 35 38 20 46 1 59 44 8 7 24 22 37 31 55 34 3 56 12
 41 23 43 9 21 47 14 51 50
panic: for safety
mp_lock = 01000001, cpuid = 1, apic.id = 00000000
debugger("panic")
stopped at	Debugger+0x34:	movb	$0,in_Debugger.59 (or .591?)
db> show page
cnt.v_free_count:	11519
cnt.v_cache_count:	3108
cnt.v_inactive_count:	64368
cnt.v_active_count:	8550
cnt.v_wire_count:	8187
cnt.v_free_reserved:	302
cnt.v_free_min:		780
cnt.v_free_target:	2642
cnt.v_cache_min:	2642
cnt.v_inactive_target:	3963
db> trace
Debugger(c0286292) at Debugger+0x34
panic(c028014a,c1509600,c0281580,ff,3c) at panic+0xa4
ahc_search_qinfifo(c150900,2,41,0,ff) at ahc_search_qinfifo+0x252
ahc_freeze_devq(c1509600,c15178bc) at ahc_freeze_devq+0x5d
ahc_handle_scsiint(c1509600,4,0,1,0) at ahc_handle_scsiint+0x5cd
ahc_freebsd_intr(c1509600,0,ff80000,8,10,c02e0010) at ahc_freebsd_intr+0xa7
Xresume3() at Xresume3+0x35
--- interrupt, eip=0xc0265342, esp=0xff80cff4, ebp=0 ---



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




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