Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2013 06:22:32 -0500
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Alexander Motin <mav@FreeBSD.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: [CAM] panic / general protection fault while in kernel mode on head r256931
Message-ID:  <5267B178.2020204@FreeBSD.org>
In-Reply-To: <526773D8.7030002@FreeBSD.org>
References:  <5267178D.1090608@FreeBSD.org> <526773D8.7030002@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--drOa1Qh6t88alXJu5QfJQjGpKmopavpst
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 10/23/2013 1:59 AM, Alexander Motin wrote:
> Hi.
>=20
> Unfortunately I have never seen that, but I'll try to look harder. Coul=
d
> you please tell a bit about your controllers/devices? What triggered th=
e
> issue?

(Sorry for confusing pastes in email, bad client)

Not sure what was done, I was just editing files in vim.

dmesg output:

> Copyright (c) 1992-2013 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 199=
4
> 	The Regents of the University of California. All rights reserved.
> FreeBSD is a registered trademark of The FreeBSD Foundation.
> FreeBSD 11.0-CURRENT #82 r256931: Tue Oct 22 16:59:30 CDT 2013
>     root@c1100-1.shatow.net:/usr/obj/usr/src/sys/GENERIC amd64
> FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
> WARNING: WITNESS option enabled, expect reduced performance.
> CPU: Intel(R) Xeon(R) CPU           L5520  @ 2.27GHz (2266.79-MHz K8-cl=
ass CPU)
>   Origin =3D "GenuineIntel"  Id =3D 0x106a5  Family =3D 0x6  Model =3D =
0x1a  Stepping =3D 5
>   Features=3D0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTR=
R,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE=
>
>   Features2=3D0x9ce3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xT=
PR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT>
>   AMD Features=3D0x28100800<SYSCALL,NX,RDTSCP,LM>
>   AMD Features2=3D0x1<LAHF>
>   TSC: P-state invariant, performance statistics
> real memory  =3D 77309411328 (73728 MB)
> avail memory =3D 75053207552 (71576 MB)
> Event timer "LAPIC" quality 400
> ACPI APIC Table: <082009 APIC1931>
> FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs
> FreeBSD/SMP: 2 package(s) x 4 core(s) x 2 SMT threads
>  cpu0 (BSP): APIC ID:  0
>  cpu1 (AP): APIC ID:  1
>  cpu2 (AP): APIC ID:  2
>  cpu3 (AP): APIC ID:  3
>  cpu4 (AP): APIC ID:  4
>  cpu5 (AP): APIC ID:  5
>  cpu6 (AP): APIC ID:  6
>  cpu7 (AP): APIC ID:  7
>  cpu8 (AP): APIC ID: 16
>  cpu9 (AP): APIC ID: 17
>  cpu10 (AP): APIC ID: 18
>  cpu11 (AP): APIC ID: 19
>  cpu12 (AP): APIC ID: 20
>  cpu13 (AP): APIC ID: 21
>  cpu14 (AP): APIC ID: 22
>  cpu15 (AP): APIC ID: 23
> ioapic0 <Version 2.0> irqs 0-23 on motherboard
> random: <Software, Yarrow> initialized
> kbd1 at kbdmux0
> module_register_init: MOD_LOAD (vesa, 0xffffffff80d21900, 0) error 19
> acpi0: <082009 XSDT1931> on motherboard
> acpi0: Power Button (fixed)
> unknown: I/O range not supported
> acpi0: reservation of 0, a0000 (3) failed
> acpi0: reservation of 100000, bff00000 (3) failed
> cpu0: <ACPI CPU> on acpi0
> ACPI BIOS Warning (bug): Incorrect checksum in table [OEMB] - 0x5C, sho=
uld be 0x59 (20130823/tbprint-233)
> cpu1: <ACPI CPU> on acpi0
> cpu2: <ACPI CPU> on acpi0
> cpu3: <ACPI CPU> on acpi0
> cpu4: <ACPI CPU> on acpi0
> cpu5: <ACPI CPU> on acpi0
> cpu6: <ACPI CPU> on acpi0
> cpu7: <ACPI CPU> on acpi0
> cpu8: <ACPI CPU> on acpi0
> cpu9: <ACPI CPU> on acpi0
> cpu10: <ACPI CPU> on acpi0
> cpu11: <ACPI CPU> on acpi0
> cpu12: <ACPI CPU> on acpi0
> cpu13: <ACPI CPU> on acpi0
> cpu14: <ACPI CPU> on acpi0
> cpu15: <ACPI CPU> on acpi0
> attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
> Timecounter "i8254" frequency 1193182 Hz quality 0
> Event timer "i8254" frequency 1193182 Hz quality 100
> atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
> Event timer "RTC" frequency 32768 Hz quality 0
> hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi=
0
> Timecounter "HPET" frequency 14318180 Hz quality 950
> Event timer "HPET" frequency 14318180 Hz quality 350
> Event timer "HPET1" frequency 14318180 Hz quality 340
> Event timer "HPET2" frequency 14318180 Hz quality 340
> Event timer "HPET3" frequency 14318180 Hz quality 340
> Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
> pci0: <ACPI PCI bus> on pcib0
> pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
> pci1: <ACPI PCI bus> on pcib1
> pcib2: <ACPI PCI-PCI bridge> at device 3.0 on pci0
> pci2: <ACPI PCI bus> on pcib2
> pcib3: <ACPI PCI-PCI bridge> at device 7.0 on pci0
> pci3: <ACPI PCI bus> on pcib3
> pcib4: <ACPI PCI-PCI bridge> at device 9.0 on pci0
> pci4: <ACPI PCI bus> on pcib4
> pci0: <base peripheral, interrupt controller> at device 20.0 (no driver=
 attached)
> pci0: <base peripheral, interrupt controller> at device 20.1 (no driver=
 attached)
> pci0: <base peripheral, interrupt controller> at device 20.2 (no driver=
 attached)
> pci0: <base peripheral, interrupt controller> at device 20.3 (no driver=
 attached)
> pci0: <base peripheral> at device 22.0 (no driver attached)
> pci0: <base peripheral> at device 22.1 (no driver attached)
> pci0: <base peripheral> at device 22.2 (no driver attached)
> pci0: <base peripheral> at device 22.3 (no driver attached)
> pci0: <base peripheral> at device 22.4 (no driver attached)
> pci0: <base peripheral> at device 22.5 (no driver attached)
> pci0: <base peripheral> at device 22.6 (no driver attached)
> pci0: <base peripheral> at device 22.7 (no driver attached)
> uhci0: <Intel 82801JI (ICH10) USB controller USB-D> port 0xcc00-0xcc1f =
irq 23 at device 26.0 on pci0
> uhci0: LegSup =3D 0x2f00
> usbus0 on uhci0
> uhci1: <Intel 82801JI (ICH10) USB controller USB-E> port 0xc880-0xc89f =
irq 22 at device 26.1 on pci0
> uhci1: LegSup =3D 0x2f00
> usbus1 on uhci1
> uhci2: <Intel 82801JI (ICH10) USB controller USB-F> port 0xc800-0xc81f =
irq 21 at device 26.2 on pci0
> uhci2: LegSup =3D 0x2f00
> usbus2 on uhci2
> ehci0: <Intel 82801JI (ICH10) USB 2.0 controller USB-B> mem 0xdf4de000-=
0xdf4de3ff irq 20 at device 26.7 on pci0
> usbus3: EHCI version 1.0
> usbus3 on ehci0
> pcib5: <ACPI PCI-PCI bridge> irq 17 at device 28.0 on pci0
> pci5: <ACPI PCI bus> on pcib5
> igb0: <Intel(R) PRO/1000 Network Connection version - 2.4.0> port 0xdc0=
0-0xdc1f mem 0xdf6e0000-0xdf6fffff,0xdf6c0000-0xdf6dffff,0xdf6bc000-0xdf6=
bffff irq 16 at device 0.0 on pci5
> igb0: Using MSIX interrupts with 9 vectors
> igb0: Ethernet address: c8:0a:a9:04:39:78
> igb0: Bound queue 0 to cpu 0
> igb0: Bound queue 1 to cpu 1
> igb0: Bound queue 2 to cpu 2
> igb0: Bound queue 3 to cpu 3
> igb0: Bound queue 4 to cpu 4
> igb0: Bound queue 5 to cpu 5
> igb0: Bound queue 6 to cpu 6
> igb0: Bound queue 7 to cpu 7
> igb1: <Intel(R) PRO/1000 Network Connection version - 2.4.0> port 0xd88=
0-0xd89f mem 0xdf620000-0xdf63ffff,0xdf600000-0xdf61ffff,0xdf5fc000-0xdf5=
fffff irq 17 at device 0.1 on pci5
> igb1: Using MSIX interrupts with 9 vectors
> igb1: Ethernet address: c8:0a:a9:04:39:79
> igb1: Bound queue 0 to cpu 8
> igb1: Bound queue 1 to cpu 9
> igb1: Bound queue 2 to cpu 10
> igb1: Bound queue 3 to cpu 11
> igb1: Bound queue 4 to cpu 12
> igb1: Bound queue 5 to cpu 13
> igb1: Bound queue 6 to cpu 14
> igb1: Bound queue 7 to cpu 15
> uhci3: <Intel 82801JI (ICH10) USB controller USB-A> port 0xc480-0xc49f =
irq 23 at device 29.0 on pci0
> uhci3: LegSup =3D 0x2f00
> usbus4 on uhci3
> uhci4: <Intel 82801JI (ICH10) USB controller USB-B> port 0xc400-0xc41f =
irq 22 at device 29.1 on pci0
> uhci4: LegSup =3D 0x2f00
> usbus5 on uhci4
> uhci5: <Intel 82801JI (ICH10) USB controller USB-C> port 0xc080-0xc09f =
irq 21 at device 29.2 on pci0
> uhci5: LegSup =3D 0x2f00
> usbus6 on uhci5
> ehci1: <Intel 82801JI (ICH10) USB 2.0 controller USB-A> mem 0xdf4dc000-=
0xdf4dc3ff irq 23 at device 29.7 on pci0
> usbus7: EHCI version 1.0
> usbus7 on ehci1
> pcib6: <ACPI PCI-PCI bridge> at device 30.0 on pci0
> pci7: <ACPI PCI bus> on pcib6
> vgapci0: <VGA-compatible display> port 0xec00-0xec7f mem 0xdf800000-0xd=
fffffff,0xdf7e0000-0xdf7fffff irq 16 at device 11.0 on pci7
> isab0: <PCI-ISA bridge> at device 31.0 on pci0
> isa0: <ISA bus> on isab0
> ahci0: <Intel ICH10 AHCI SATA controller> port 0xc000-0xc007,0xbc00-0xb=
c03,0xb880-0xb887,0xb800-0xb803,0xb480-0xb49f mem 0xdf4da000-0xdf4da7ff i=
rq 18 at device 31.2 on pci0
> ahci0: AHCI v1.20 with 6 3Gbps ports, Port Multiplier not supported
> ahcich0: <AHCI channel> at channel 0 on ahci0
> ahcich1: <AHCI channel> at channel 1 on ahci0
> ahcich2: <AHCI channel> at channel 2 on ahci0
> ahcich3: <AHCI channel> at channel 3 on ahci0
> ahcich4: <AHCI channel> at channel 4 on ahci0
> ahcich5: <AHCI channel> at channel 5 on ahci0
> ahciem0: <AHCI enclosure management bridge> on ahci0
> pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
> acpi_button0: <Power Button> on acpi0
> uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0=

> uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
> qpi0: <QPI system bus> on motherboard
> pcib7: <QPI Host-PCI bridge> pcibus 255 on qpi0
> pci255: <PCI bus> on pcib7
> pcib8: <QPI Host-PCI bridge> pcibus 254 on qpi0
> pci254: <PCI bus> on pcib8
> orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff,0xc900=
0-0xc9fff on isa0
> sc0: <System console> at flags 0x100 on isa0
> sc0: CGA <16 virtual consoles, flags=3D0x300>
> vga0: <Generic ISA VGA> at port 0x3d0-0x3db iomem 0xb8000-0xbffff on is=
a0
> atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
> atkbd0: <AT Keyboard> irq 1 on atkbdc0
> kbd0 at atkbd0
> atkbd0: [GIANT-LOCKED]
> ppc0: cannot reserve I/O port range
> est0: <Enhanced SpeedStep Frequency Control> on cpu0
> p4tcc0: <CPU Frequency Thermal Control> on cpu0
> est1: <Enhanced SpeedStep Frequency Control> on cpu1
> p4tcc1: <CPU Frequency Thermal Control> on cpu1
> est2: <Enhanced SpeedStep Frequency Control> on cpu2
> p4tcc2: <CPU Frequency Thermal Control> on cpu2
> est3: <Enhanced SpeedStep Frequency Control> on cpu3
> p4tcc3: <CPU Frequency Thermal Control> on cpu3
> est4: <Enhanced SpeedStep Frequency Control> on cpu4
> p4tcc4: <CPU Frequency Thermal Control> on cpu4
> est5: <Enhanced SpeedStep Frequency Control> on cpu5
> p4tcc5: <CPU Frequency Thermal Control> on cpu5
> est6: <Enhanced SpeedStep Frequency Control> on cpu6
> p4tcc6: <CPU Frequency Thermal Control> on cpu6
> est7: <Enhanced SpeedStep Frequency Control> on cpu7
> p4tcc7: <CPU Frequency Thermal Control> on cpu7
> est8: <Enhanced SpeedStep Frequency Control> on cpu8
> p4tcc8: <CPU Frequency Thermal Control> on cpu8
> est9: <Enhanced SpeedStep Frequency Control> on cpu9
> p4tcc9: <CPU Frequency Thermal Control> on cpu9
> est10: <Enhanced SpeedStep Frequency Control> on cpu10
> p4tcc10: <CPU Frequency Thermal Control> on cpu10
> est11: <Enhanced SpeedStep Frequency Control> on cpu11
> p4tcc11: <CPU Frequency Thermal Control> on cpu11
> est12: <Enhanced SpeedStep Frequency Control> on cpu12
> p4tcc12: <CPU Frequency Thermal Control> on cpu12
> est13: <Enhanced SpeedStep Frequency Control> on cpu13
> p4tcc13: <CPU Frequency Thermal Control> on cpu13
> est14: <Enhanced SpeedStep Frequency Control> on cpu14
> p4tcc14: <CPU Frequency Thermal Control> on cpu14
> est15: <Enhanced SpeedStep Frequency Control> on cpu15
> p4tcc15: <CPU Frequency Thermal Control> on cpu15
> fuse-freebsd: version 0.4.4, FUSE ABI 7.8
> ZFS filesystem version: 5
> ZFS storage pool version: features support (5000)
> Timecounters tick every 1.000 msec
> random: unblocking device.
> usbus0: 12Mbps Full Speed USB v1.0
> usbus1: 12Mbps Full Speed USB v1.0
> usbus2: 12Mbps Full Speed USB v1.0
> usbus3: 480Mbps High Speed USB v2.0
> usbus4: 12Mbps Full Speed USB v1.0
> usbus5: 12Mbps Full Speed USB v1.0
> usbus6: 12Mbps Full Speed USB v1.0
> usbus7: 480Mbps High Speed USB v2.0
> ugen0.1: <Intel> at usbus0
> uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus=
0
> ugen1.1: <Intel> at usbus1
> uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus=
1
> ugen2.1: <Intel> at usbus2
> uhub2: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus=
2
> ugen3.1: <Intel> at usbus3
> uhub3: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus=
3
> ugen5.1: <Intel> at usbus5
> uhub4: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus=
5
> ugen4.1: <Intel> at usbus4
> uhub5: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus=
4
> ugen6.1: <Intel> at usbus6
> uhub6: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus=
6
> ugen7.1: <Intel> at usbus7
> uhub7: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus=
7
> ses0 at ahciem0 bus 0 scbus6 target 0 lun 0
> ses0: <AHCI SGPIO Enclosure 1.00 0001> SEMB S-E-S 2.00 device
> ses0: SEMB SES Device
> ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
> ada0: <ST3500413AS JC4B> ATA-8 SATA 3.x device
> ada0: Serial Number S2A7BV64
> ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
> ada0: Command Queueing enabled
> ada0: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C)
> ada0: Previously was known as ad4
> ada1 at ahcich1 bus 0 scbus1 target 0 lun 0
> ada1: <ST3500312CS SC13> ATA-8 SATA 2.x device
> ada1: Serial Number 9VV9GA56
> ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
> ada1: Command Queueing enabled
> ada1: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C)
> ada1: Previously was known as ad6
> ada2 at ahcich2 bus 0 scbus2 target 0 lun 0
> ada2: <OCZ-VERTEX4 1.5.1> ATA-9 SATA 3.x device
> ada2: Serial Number OCZ-47M1215LW81YWQO8
> ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
> ada2: Command Queueing enabled
> ada2: 122104MB (250069680 512 byte sectors: 16H 63S/T 16383C)
> ada2: quirks=3D0x1<4K>
> ada2: Previously was known as ad8
> Netvsc initializing... SMP: AP CPU #1 Launched!
> SMP: AP CPU #14 Launched!
> SMP: AP CPU #7 Launched!
> SMP: AP CPU #15 Launched!
> SMP: AP CPU #5 Launched!
> SMP: AP CPU #9 Launched!
> SMP: AP CPU #6 Launched!
> SMP: AP CPU #12 Launched!
> SMP: AP CPU #3 Launched!
> SMP: AP CPU #13 Launched!
> SMP: AP CPU #2 Launched!
> SMP: AP CPU #8 Launched!
> SMP: AP CPU #4 Launched!
> SMP: AP CPU #11 Launched!
> SMP: AP CPU #10 Launched!
> Timecounter "TSC-low" frequency 1133395910 Hz quality 1000
> WARNING: WITNESS option enabled, expect reduced performance.
> uhub1: 2 ports with 2 removable, self powered
> uhub0: 2 ports with 2 removable, self powered
> uhub2: 2 ports with 2 removable, self powered
> uhub6: 2 ports with 2 removable, self powered
> uhub4: 2 ports with 2 removable, self powered
> uhub5: 2 ports with 2 removable, self powered
> Root mount waiting for: usbus7 usbus3
> Root mount waiting for: usbus7 usbus3
> uhub3: 6 ports with 6 removable, self powered
> uhub7: 6 ports with 6 removable, self powered
> ugen3.2: <Avocent> at usbus3
> ukbd0: <Keyboard> on usbus3
> kbd2 at ukbd0
> Trying to mount root from zfs:zroot/ROOT/head-r256931 []...
> ums0: <Mouse> on usbus3
> ums0: 3 buttons and [Z] coordinates ID=3D0
> ums1: <Mouse REL> on usbus3
> ums1: 3 buttons and [XYZ] coordinates ID=3D0

=2E.

>=20
> If you still have the full dumps, could you check values of ccb_h,
> ccb_h->cbfcnp, ccb_h->path and ccb_h->path->periph for the "deadcode"
> somewhere or something?

Here:

> (kgdb) up 7
> #7  0xffffffff802e612a in xpt_done_process (ccb_h=3D0xfffff8086f2ad800)=
 at /usr/src/sys/cam/cam_xpt.c:5242
> Line number 5242 out of range; /usr/src/sys/cam/cam_xpt.c has 5056 line=
s.
> (kgdb) p *ccb_h
> $4 =3D {pinfo =3D {priority =3D 3735929054, generation =3D 3735929054, =
index =3D -559038242}, xpt_links =3D {le =3D {le_next =3D 0xdeadc0dedeadc=
0de, le_prev =3D 0xdeadc0dedeadc0de}, sle =3D {
>       sle_next =3D 0xdeadc0dedeadc0de}, tqe =3D {tqe_next =3D 0xdeadc0d=
edeadc0de, tqe_prev =3D 0xdeadc0dedeadc0de}, stqe =3D {stqe_next =3D 0xde=
adc0dedeadc0de}}, sim_links =3D {le =3D {
>       le_next =3D 0xdeadc0dedeadc0de, le_prev =3D 0xdeadc0dedeadc0de}, =
sle =3D {sle_next =3D 0xdeadc0dedeadc0de}, tqe =3D {tqe_next =3D 0xdeadc0=
dedeadc0de, tqe_prev =3D 0xdeadc0dedeadc0de}, stqe =3D {
>       stqe_next =3D 0xdeadc0dedeadc0de}}, periph_links =3D {le =3D {le_=
next =3D 0xdeadc0dedeadc0de, le_prev =3D 0xdeadc0dedeadc0de}, sle =3D {sl=
e_next =3D 0xdeadc0dedeadc0de}, tqe =3D {
>       tqe_next =3D 0xdeadc0dedeadc0de, tqe_prev =3D 0xdeadc0dedeadc0de}=
, stqe =3D {stqe_next =3D 0xdeadc0dedeadc0de}}, retry_count =3D 373592905=
4, cbfcnp =3D 0xdeadc0dedeadc0de,
>   func_code =3D 3735929054, status =3D 3735929054, path =3D 0xdeadc0ded=
eadc0de, path_id =3D 3735929054, target_id =3D 3735929054, target_lun =3D=
 3735929054, ext_lun =3D {lun64 =3D 16045693110842147038,
>     lun =3D "=EF=BF=BD=EF=BF=BD}, flags =3D 3735929054, xflags =3D 3735=
929054, periph_priv =3D {entries =3D {{ptr =3D 0xdeadc0dedeadc0de, field =
=3D 16045693110842147038, bytes =3D "=EF=BF=BD=EF=BF=BD}, {
>         ptr =3D 0xdeadc0dedeadc0de, field =3D 16045693110842147038, byt=
es =3D "=EF=BF=BD=EF=BF=BD}}, bytes =3D "=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=
=BD}, sim_priv =3D {entries =3D {{ptr =3D 0xdeadc0dedeadc0de,
>         field =3D 16045693110842147038, bytes =3D "=EF=BF=BD=EF=BF=BD},=
 {ptr =3D 0xdeadc0dedeadc0de, field =3D 16045693110842147038, bytes =3D "=
=EF=BF=BD=EF=BF=BD}}, bytes =3D "=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD}, q=
os =3D {
>     etime =3D 0xdeadc0dedeadc0de, sim_data =3D 16045693110842147038, pe=
riph_data =3D 16045693110842147038}, timeout =3D 3735929054, softtimeout =
=3D {tv_sec =3D -2401050962867404578,
>     tv_usec =3D -2401050962867404578}}
> (kgdb) p *ccb_h->cbfcnp
> Cannot access memory at address 0xdeadc0dedeadc0de
> (kgdb) p ccb_h->cbfcnp
> $5 =3D (void (*)(struct cam_periph *, union ccb *)) 0xdeadc0dedeadc0de
> (kgdb) p ccb_h->path
> $6 =3D (struct cam_path *) 0xdeadc0dedeadc0de
> (kgdb) up
> #8  0xffffffff802e905d in xpt_done_td (arg=3D0xffffffff8144db80) at /us=
r/src/sys/cam/cam_xpt.c:5274
> Line number 5274 out of range; /usr/src/sys/cam/cam_xpt.c has 5056 line=
s.
> (kgdb) print *ccb_h
> $7 =3D {pinfo =3D {priority =3D 2161940088, generation =3D 4294967295, =
index =3D 16973824}, xpt_links =3D {le =3D {le_next =3D 0xfffffe00006d340=
0, le_prev =3D 0xfffff8000f3e4000}, sle =3D {
>       sle_next =3D 0xfffffe00006d3400}, tqe =3D {tqe_next =3D 0xfffffe0=
0006d3400, tqe_prev =3D 0xfffff8000f3e4000}, stqe =3D {stqe_next =3D 0xff=
fffe00006d3400}}, sim_links =3D {le =3D {le_next =3D 0x0,
>       le_prev =3D 0x0}, sle =3D {sle_next =3D 0x0}, tqe =3D {tqe_next =3D=
 0x0, tqe_prev =3D 0x0}, stqe =3D {stqe_next =3D 0x0}}, periph_links =3D =
{le =3D {le_next =3D 0xffffffff802e64a0,
>       le_prev =3D 0xfffff80014197800}, sle =3D {sle_next =3D 0xffffffff=
802e64a0}, tqe =3D {tqe_next =3D 0xffffffff802e64a0, tqe_prev =3D 0xfffff=
80014197800}, stqe =3D {stqe_next =3D 0xffffffff802e64a0}},
>   retry_count =3D 0, cbfcnp =3D 0, func_code =3D XPT_NOOP, status =3D 0=
, path =3D 0x0, path_id =3D 0, target_id =3D 0, target_lun =3D 0, ext_lun=
 =3D {lun64 =3D 0, lun =3D "\000\000\000\000\000\000\000"},
>   flags =3D 0, xflags =3D 0, periph_priv =3D {entries =3D {{ptr =3D 0x0=
, field =3D 0, bytes =3D "\000\000\000\000\000\000\000"}, {ptr =3D 0x0, f=
ield =3D 0, bytes =3D "\000\000\000\000\000\000\000"}},
>     bytes =3D '\0' <repeats 15 times>}, sim_priv =3D {entries =3D {{ptr=
 =3D 0x0, field =3D 0, bytes =3D "\000\000\000\000\000\000\000"}, {ptr =3D=
 0x0, field =3D 0,
>         bytes =3D "\000\000\000\000\000\000\000"}}, bytes =3D '\0' <rep=
eats 15 times>}, qos =3D {etime =3D 0x0, sim_data =3D 0, periph_data =3D =
0}, timeout =3D 0, softtimeout =3D {tv_sec =3D 0,
>     tv_usec =3D 0}}
> (kgdb) print ccb_h->cbfcnp
> $8 =3D (void (*)(struct cam_periph *, union ccb *)) 0
> (kgdb) print ccb_h->path
> $9 =3D (struct cam_path *) 0x0

=2E





>=20
> On 23.10.2013 03:25, Bryan Drewery wrote:
>> Encountered twice:
>>
>>> Fatal trap 9: general protection fault while in kernel mode
>>> cpuid =3D 0; apic id =3D 00
>>> instruction pointer     =3D 0x20:0xffffffff802e612a
>>> stack pointer           =3D 0x28:0xfffffe118af62b20
>>> frame pointer           =3D 0x28:0xfffffe118af62b60
>>> code segment            =3D base 0x0, limit 0xfffff, type 0x1b
>>>                          =3D DPL 0, pres 1, long 1, def32 0, gran 1
>>> processor eflags        =3D interrupt enabled, resume, IOPL =3D 0
>>> current process         =3D 2 (doneq0)
>>> trap number             =3D 9
>>> panic: general protection fault
>>> cpuid =3D 0
>>> KDB: stack backtrace:
>>> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame
>>> 0xfffffe118af62690
>>> kdb_backtrace() at kdb_backtrace+0x39/frame 0xfffffe118af62740
>>> vpanic() at vpanic+0x126/frame 0xfffffe118af62780
>>> panic() at panic+0x43/frame 0xfffffe118af627e0
>>> trap_fatal() at trap_fatal+0x3a2/frame 0xfffffe118af62840
>>> trap() at trap+0x863/frame 0xfffffe118af62a60
>>> calltrap() at calltrap+0x8/frame 0xfffffe118af62a60
>>> --- trap 0x9, rip =3D 0xffffffff802e612a, rsp =3D 0xfffffe118af62b20,=
 rbp
>>> =3D 0xfffffe118af62b60 ---
>>> xpt_done_process() at xpt_done_process+0x36a/frame 0xfffffe118af62b60=

>>> xpt_done_td() at xpt_done_td+0x13d/frame 0xfffffe118af62bb0
>>> fork_exit() at fork_exit+0x84/frame 0xfffffe118af62bf0
>>> fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe118af62bf0
>>> --- trap 0, rip =3D 0, rsp =3D 0xfffffe118af62cb0, rbp =3D 0 ---
>>
>> 2nd:
>>
>>> Fatal trap 9: general protection fault while in kernel mode
>>> cpuid =3D 5; apic id =3D 05
>>> instruction pointer     =3D 0x20:0xffffffff802e612a
>>> stack pointer           =3D 0x28:0xfffffe118af62b20
>>> frame pointer           =3D 0x28:0xfffffe118af62b60
>>> code segment            =3D base 0x0, limit 0xfffff, type 0x1b
>>>                          =3D DPL 0, pres 1, long 1, def32 0, gran 1
>>> processor eflags        =3D interrupt enabled, resume, IOPL =3D 0
>>> current process         =3D 2 (doneq0)
>>> trap number             =3D 9
>>> panic: general protection fault
>>> cpuid =3D 5
>>> KDB: stack backtrace:
>>> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame
>>> 0xfffffe118af62690
>>> kdb_backtrace() at kdb_backtrace+0x39/frame 0xfffffe118af62740
>>> vpanic() at vpanic+0x126/frame 0xfffffe118af62780
>>> panic() at panic+0x43/frame 0xfffffe118af627e0
>>> trap_fatal() at trap_fatal+0x3a2/frame 0xfffffe118af62840
>>> trap() at trap+0x863/frame 0xfffffe118af62a60
>>> calltrap() at calltrap+0x8/frame 0xfffffe118af62a60
>>> --- trap 0x9, rip =3D 0xffffffff802e612a, rsp =3D 0xfffffe118af62b20,=
 rbp
>>> =3D 0xfffffe118af62b60 ---
>>> xpt_done_process() at xpt_done_process+0x36a/frame 0xfffffe118af62b60=

>>> xpt_done_td() at xpt_done_td+0x13d/frame 0xfffffe118af62bb0
>>> fork_exit() at fork_exit+0x84/frame 0xfffffe118af62bf0
>>> fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe118af62bf0
>>> --- trap 0, rip =3D 0, rsp =3D 0xfffffe118af62cb0, rbp =3D 0 ---
>>
>>> (kgdb) #0  doadump (textdump=3D1) at pcpu.h:219
>>> #1  0xffffffff808bbb27 in kern_reboot (howto=3D260)
>>>      at /usr/src/sys/kern/kern_shutdown.c:447
>>> #2  0xffffffff808bc035 in vpanic (fmt=3D<value optimized out>,
>>>      ap=3D<value optimized out>) at /usr/src/sys/kern/kern_shutdown.c=
:754
>>> #3  0xffffffff808bc083 in panic (fmt=3D<value optimized out>)
>>>      at /usr/src/sys/kern/kern_shutdown.c:683
>>> #4  0xffffffff80cb62d2 in trap_fatal (frame=3D<value optimized out>,
>>>      eva=3D<value optimized out>) at /usr/src/sys/amd64/amd64/trap.c:=
882
>>> #5  0xffffffff80cb5f13 in trap (frame=3D<value optimized out>)
>>>      at /usr/src/sys/amd64/amd64/trap.c:224
>>> #6  0xffffffff80c9b3a2 in calltrap ()
>>>      at /usr/src/sys/amd64/amd64/exception.S:232
>>> #7  0xffffffff802e612a in xpt_done_process (ccb_h=3D0xfffff8014591180=
0)
>>>      at /usr/src/sys/cam/cam_xpt.c:5242
>>> #8  0xffffffff802e905d in xpt_done_td (arg=3D0xffffffff8144db80)
>>>      at /usr/src/sys/cam/cam_xpt.c:5274
>>> #9  0xffffffff8088b064 in fork_exit (
>>>      callout=3D0xffffffff802e8f20 <xpt_done_td>, arg=3D0xffffffff8144=
db80,
>>>      frame=3D0xfffffe118af62c00) at /usr/src/sys/kern/kern_fork.c:995=

>>> #10 0xffffffff80c9b8de in fork_trampoline ()
>>>      at /usr/src/sys/amd64/amd64/exception.S:606
>>> #11 0x0000000000000000 in ?? ()
>>> Current language:  auto; currently minimal
>>> (kgdb)
>=20


--=20
Regards,
Bryan Drewery


--drOa1Qh6t88alXJu5QfJQjGpKmopavpst
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJSZ7F4AAoJEG54KsA8mwz5afgP/Am37lnTjkN+R/WL1Ocet0S5
hc2cGpL3D6WUViZp7abvWrFaz+7K0LcuytXtSpVFHMDsJHmJFELgPbVb5DPPOmuy
84DyYYnJTlsDsvlZQzmkxkjH3RsG4JLZLN5Rc8aWk2rB8bsWGMFwI2TDvSlw9cN9
cAFqdVKddRIxrtlKGnxmOLgEweb2i4aD9LQo6po947hEvnFIflG/PkIfZXQCJhDR
ZGNCXOLZid/8rfhYh0TB5Q4kOoG9UvufRWtgULFPApoGJ8zMyyMePeBtWBIm7jJN
l/N1DqOaOidwsOF71WWteYwCQ3CyJJnW3QKLIrulDggeeiU6GhxM8+TFv+jm2vip
+J8Jf96CprvfeNECgUjGuCPYneUTlYWZqnx7nZz2XRE4/L2doFmX498LmVxmH+6L
vH2gvAuwTMa719IT5oZOdpGgnm0OXeL4hrrj2zQ3OEA4dptkqABUq+nppipXstSk
LpdT1T9Ny4cyG9vMfrfNNxMpnTa+xiS09/mz2RdKOO+J+bIvTr5bJzXhv2bJ0cq8
qdYFNu4ZJCDykIcFRB2sTjU6rCzVx6wz7Fe/YR3mSaXtp5BUhf2TwtI41Gq18fKk
l9WOftVb+USNfQPty5JBU+BtFOOeCvReoz8Xr1QTX9Xse/XVfo1QCsg/2hxxaNJ2
ds2/2ZsVLFHz6nyAm/vJ
=muku
-----END PGP SIGNATURE-----

--drOa1Qh6t88alXJu5QfJQjGpKmopavpst--



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