Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Dec 2002 09:59:16 +1030 (CST)
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/46152: Panic in adw dumping to tape
Message-ID:  <200212092329.gB9NTGXg075768@cain.gsoft.com.au>

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

>Number:         46152
>Category:       kern
>Synopsis:       Panic in adw dumping to tape
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 09 15:30:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Daniel O'Connor
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
Genesis Software
>Environment:
System: FreeBSD arecibo.gsoft.com.au 4.7-STABLE FreeBSD 4.7-STABLE #1: Wed Nov 27 15:07:23 GMT 2002     root@arecibo.gsoft.com.au:/usr/src/sys/compile/GENESIS  i386

CPU: AMD Athlon(tm) XP 2000+ (1666.73-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x662  Stepping = 2
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 268369920 (262080K bytes)
avail memory = 255971328 (249972K bytes)
...
adw0: <AdvanSys 38C0800 Ultra2 SCSI Adapter> port 0xcc00-0xccff mem 0xdd004000-0xdd0040ff irq 11 at device 11.0 on pci0
adw0: SCSI ID 7, High & Low SE Term Enabled, LVD Term Enabled, Queue Depth 253
...
ad0: 95396MB <WDC WD1000BB-00CAA0> [193821/16/63] at ata0-master UDMA100
ad1: 76319MB <WDC WD800JB-00CRA1> [155061/16/63] at ata1-master UDMA100
Waiting 2 seconds for SCSI devices to settle
sa0 at adw0 bus 0 target 5 lun 0
sa0: <SONY SDX-300C 0400> Removable Sequential Access SCSI-2 device 
sa0: 6.600MB/s transfers (16bit)

>Description:
Panic ->
(kgdb) arecibo# gdb -k *.0
GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...(no debugging symbols found)...
IdlePTD at phsyical address 0x0052c000
initial pcb at physical address 0x002f7d60
panicstr: page fault
panic messages:
---
panic: adw0: Idle Command Timed Out!


syncing disks... 

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x30
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc0218074
stack pointer           = 0x10:0xc02be864
frame pointer           = 0x10:0xc02be86c
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = Idle
interrupt mask          = bio cam 
trap number             = 12
panic: page fault
Uptime: 10h2m19s

dumping to dev #ad/0x20001, et 524416
dump ata0: resetting devices .. done
255 254 253 252 251 250 249 248 247 246 245 244 243 242 241 240 239 238 237 236 235 234 233 232 231 230 229 228 227 226 225 224 223 222 221 220 219 218 217 216 215 214 213 212 211 210 209 208 207 206 205 204 203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185 184 183 182 181 180 179 178 177 176 175 174 173 172 171 170 169 168 167 166 165 164 163 162 161 160 159 158 157 156 155 154 153 152 151 150 149 148 147 146 145 144 143 142 141 140 139 138 137 136 135 134 133 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 
---
#0  0xc018a4a6 in dumpsys ()
(kgdb) bt
#0  0xc018a4a6 in dumpsys ()
#1  0xc018a277 in boot ()
#2  0xc018a6b5 in panic ()
#3  0xc0265f9f in trap_fatal ()
#4  0xc0265c4d in trap_pfault ()
#5  0xc02657f3 in trap ()
#6  0xc0218074 in acquire_lock ()
#7  0xc021c696 in softdep_fsync_mountdev ()
#8  0xc02209e6 in ffs_fsync ()
#9  0xc021f66f in ffs_sync ()
#10 0xc01ba4bf in sync ()
#11 0xc018a012 in boot ()
#12 0xc018a6b5 in panic ()
#13 0xc013ac6c in adw_idle_cmd_send ()
#14 0xc0139a1c in adwtimeout ()
#15 0xc01901b1 in softclock ()
#16 0xc025a943 in doreti_swi ()

>How-To-Repeat:
I have a script which is writing files out to tape from ad1 using tar, ie
foreach file
  tar -b 128 -zcvf /dev/nrsa0 file
done

Takes a few hours to trigger it but it's happened 3 times now (though I only
got a panic on the last one as my /var was too small before now)

This kernel has the atapicam option enabled if it matters.

I am rebuilding with debugging to get a better stack trace.

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:

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




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