Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Aug 2002 13:24:45 -0700 (PDT)
From:      Lamont Granquist <lamont@scriptkiddie.org>
To:        freebsd-current@freebsd.org
Subject:   panic + scsi
Message-ID:  <20020825113438.V2004-100000@coredump.scriptkiddie.org>

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

i actually got a crash dump last night, panic + bt below...

also, scsi hasn't been working for me for at least a week or two now...
i'm using this:

pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
ahc_pci0: <Adaptec 3960D Ultra160 SCSI adapter> port 0xd400-0xd4ff mem
0xed80000
0-0xed800fff irq 10 at device 9.0 on pci0
aic7899: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
ahc_pci1: <Adaptec 3960D Ultra160 SCSI adapter> port 0xd000-0xd0ff mem
0xed00000
0-0xed000fff irq 5 at device 9.1 on pci0
aic7899: Ultra160 Wide Channel B, SCSI Id=7, 32/253 SCBs
cd0 at ahc0 bus 0 target 4 lun 0
cd0: <PLEXTOR CD-R   PX-W1210S 1.01> Removable CD-ROM SCSI-2 device
cd0: 20.000MB/s transfers (20.000MHz, offset 16)
cd0: Attempt to query device size failed: NOT READY, Medium not present -
tray closed
da0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE ST336704LW 0004> Fixed Direct Access SCSI-3 device
da0: 40.000MB/s transfers (20.000MHz, offset 63, 16bit), Tagged Queueing
Enabled
da0: 35003MB (71687369 512 byte sectors: 255H 63S/T 4462C)

but, for example, it doesn't find my CD/RW anymore:

coredump# cdrecord -scanbus
Cdrecord 1.11a28 (i386-unknown-freebsd5.0) Copyright (C) 1995-2002 Jrg
Schilling
cdrecord: No such file or directory. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are
root.


=========================


panic: bremfree: bp 0xce6484bc not locked
panic messages:
---
Fatal trap 12: page fault while in kernel mode
cpuid = 0; lapic.id = 00000000
fault virtual address   = 0xed839a3c
fault code              = supervisor write, page not present
instruction pointer     = 0x8:0xc02e3670
stack pointer           = 0x10:0xda07eb80
frame pointer           = 0x10:0xda07eb88
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         = 3153 (perl)
trap number             = 12
panic: page fault
cpuid = 0; lapic.id = 00000000
boot() called on cpu#0

syncing disks... panic: bremfree: bp 0xce6484bc not locked
cpuid = 0; lapic.id = 00000000
boot() called on cpu#0
Uptime: 11h58m20s
Dumping 511 MB
ata0: resetting devices ..
done
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320
336 352 368 384 400 416 432 448 464 480 496
---
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:213
213             dumping++;
(kgdb) bt
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:213
#1  0xc01cfa86 in boot (howto=260) at
/usr/src/sys/kern/kern_shutdown.c:345
#2  0xc01cfd28 in panic () at /usr/src/sys/kern/kern_shutdown.c:493
#3  0xc0210dc7 in bremfree (bp=0xce6484bc) at
/usr/src/sys/kern/vfs_bio.c:633
#4  0xc02135b0 in getblk (vp=0xc41d0000, blkno=19915072, size=8192,
slpflag=0,
    slptimeo=0) at /usr/src/sys/kern/vfs_bio.c:2318
#5  0xc0210efa in breadn (vp=0xc41d0000, blkno=0, size=0, rablkno=0x0,
    rabsize=0x0, cnt=0, cred=0x0, bpp=0x0) at
/usr/src/sys/kern/vfs_bio.c:691
#6  0xc0210eac in bread (vp=0x0, blkno=0, size=0, cred=0x0, bpp=0x0)
    at /usr/src/sys/kern/vfs_bio.c:673
#7  0xc0278518 in ffs_update (vp=0xc42d2b90, waitfor=0)
    at /usr/src/sys/ufs/ffs/ffs_inode.c:102
#8  0xc028b4df in ffs_fsync (ap=0xda07e9ac)
    at /usr/src/sys/ufs/ffs/ffs_vnops.c:292
#9  0xc028a798 in ffs_sync (mp=0xc41c4800, waitfor=2, cred=0xc158be80,
    td=0xc034b440) at vnode_if.h:597
#10 0xc02236e8 in sync (td=0xc034b440, uap=0x0)
    at /usr/src/sys/kern/vfs_syscalls.c:129
#11 0xc01cf69b in boot (howto=256) at
/usr/src/sys/kern/kern_shutdown.c:254
#12 0xc01cfd28 in panic () at /usr/src/sys/kern/kern_shutdown.c:493
#13 0xc02e77e3 in trap_fatal (frame=0xda07eb40, eva=0)
    at /usr/src/sys/i386/i386/trap.c:846
#14 0xc02e7492 in trap_pfault (frame=0xda07eb40, usermode=0,
eva=3984824892)
    at /usr/src/sys/i386/i386/trap.c:760
#15 0xc02e6fbd in trap (frame=
      {tf_fs = 24, tf_es = 16, tf_ds = 16, tf_edi = -1051056628, tf_esi =
-1057111132, tf_ebp = -637015160, tf_isp = -637015188, tf_ebx =
-1051056628, tf_edx = -1052943316, tf_ecx = 1, tf_eax = -1052962508,
tf_trapno = 12, tf_err = 2, tf_eip = -1070713232, tf_cs = 8, tf_eflags =
66194, tf_esp = 672165888, tf_ss = 0})
    at /usr/src/sys/i386/i386/trap.c:446
#16 0xc02d1138 in calltrap () at {standard input}:99
#17 0xc02e3e31 in pmap_enter (pmap=0xc15a260c, va=3243910668,
m=0xc0fdc3a4,
    prot=5 '\005', wired=0) at /usr/src/sys/i386/i386/pmap.c:2133
#18 0xc029c9f7 in vm_fault (map=0xc15a2594, vaddr=672165888,
    fault_type=1 '\001', fault_flags=0) at /usr/src/sys/vm/vm_fault.c:880
#19 0xc02e73c2 in trap_pfault (frame=0xda07ed48, usermode=1,
eva=672169472)
    at /usr/src/sys/i386/i386/trap.c:736
#20 0xc02e6e22 in trap (frame=
      {tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi = 0, tf_esi = 671498288,
tf_ebp = -1077937068, tf_isp = -637014668, tf_ebx = 671478504, tf_edx =
671498304, tf_ecx = 671498304, tf_eax = 672229336, tf_trapno = 12, tf_err
= 4, tf_eip = 672169472, tf_cs = 31, tf_eflags = 66118, tf_esp =
-1077937100, tf_ss = 47})
    at /usr/src/sys/i386/i386/trap.c:332
#21 0xc02d1138 in calltrap () at {standard input}:99
---Can't read userspace from dump, or kernel process---



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




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