problems (race?) w/ sbp + cam + da

From: John-Mark Gurney <gurney_j_at_resnet.uoregon.edu>
Date: Sun, 20 Mar 2005 09:53:42 -0800
Well, I upgraded my box to current, and I have been playing around with
a hard disk in a firewire enclosure...  I have gotten a couple different
panics...

This seems to be a race between opening da0 and various operations...  To
stimulate these crashes, I have simply been running newfs on /dev/da0a...

The latest:
da0: 239372MB (490234752 512 byte sectors: 255H 63S/T 30515C)
panic: Provider da0 lacks sectorsize

Earlier:
Fatal trap 18: integer divide fault while in kernel mode
cpuid = 0; apic id = 00
instruction pointer     = 0x8:0xc07d682f
stack pointer           = 0x10:0xd5d976f8
frame pointer           = 0x10:0xd5d97780
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         = 572 (newfs)
[thread pid 572 tid 100084 ]
Stopped at      __qdivrem+0x3b: divl    %ecx,%eax
db> tr
Tracing pid 572 tid 100084 td 0xc1b55450
__qdivrem(1,0,0,0,0) at __qdivrem+0x3b
__udivdi3(1,0,0,0) at __udivdi3+0x16
cam_calc_geometry(d5d97834,1,d5d97da0,c0625b57,c1947084) at cam_calc_geometry+0x26
sbp_action1(c18417c0,d5d97834) at sbp_action1+0x437
sbp_action(c18417c0,d5d97834) at sbp_action+0xe
xpt_action(d5d97834,d5d97834,c1a7c4f0,1,1) at xpt_action+0x28a
dasetgeom(c1a22a80,ec520000,0,0) at dasetgeom+0x69
dagetcapacity(c1a22a80,8,c082c5a7,63,c1c7e180) at dagetcapacity+0x266
daopen(c1c7e180,0,0,c1a3e300,c1ab6800) at daopen+0x71
g_disk_access(c1a3e300,1,1,1,c08f8158) at g_disk_access+0xd7
g_access(c1ab6800,1,1,1,c1ab6800) at g_access+0x191
g_slice_access(c1a3e800,1,1,1,c1c97900) at g_slice_access+0x149
g_access(c1ab6900,1,1,0,1) at g_access+0x191
g_dev_open(c1c97900,3,2000,c1b55450,c1c97900) at g_dev_open+0xb6
devfs_open(d5d97a74) at devfs_open+0x183
VOP_OPEN_APV(c088de20,d5d97a74) at VOP_OPEN_APV+0x7e
vn_open_cred(d5d97bdc,d5d97cdc,920,c1c7eb80,4) at vn_open_cred+0x402
vn_open(d5d97bdc,d5d97cdc,920,4,c067212a) at vn_open+0x1e
kern_open(c1b55450,bfbfedeb,0,3,bfbfeb30) at kern_open+0xb6
open(c1b55450,d5d97d14,3,1,292) at open+0x1a

Clues anyone?

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."
Received on Sun Mar 20 2005 - 16:53:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:30 UTC