Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Nov 2010 12:00:57 -0500
From:      Roger Hammerstein <cheeky.m@live.com>
To:        <freebsd-current@freebsd.org>
Subject:   panic with devclass_get_name (dc=0xdeadc0dedeadc0de)
Message-ID:  <BAY147-w430B6B1FBC71380F63C3B3F93D0@phx.gbl>

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



I can routinely panic a machine with=20

 dd if=3D/dev/zero of=3D/dev/ad8 bs=3D64k count=3D1000000


this part doesn't look good: devclass_get_name (dc=3D0xdeadc0dedeadc0de)=20


Fatal trap 9: general protection fault while in kernel mode
cpuid =3D 0=3B apic id =3D 00
instruction pointer     =3D 0x20:0xffffffff805f9f61
stack pointer           =3D 0x28:0xffffff8000057970
frame pointer           =3D 0x28:0xffffff80000579a0
code segment            =3D base 0x0=2C limit 0xfffff=2C type 0x1b
                        =3D DPL 0=2C pres 1=2C long 1=2C def32 0=2C gran 1
processor eflags        =3D interrupt enabled=2C resume=2C IOPL =3D 0
current process         =3D 12 (swi6: task queue)
panic: from debugger
cpuid =3D 0
Uptime: 3m6s
Physical memory: 2031 MB
Dumping 129 MB: 114 98 82 66 50 34 18 2

#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:250
250             if (textdump_pending)
(kgdb) bt
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:250
#1  0xffffffff805cf2d7 in kern_reboot (howto=3D260) at /usr/src/sys/kern/ke=
rn_shutdown.c:418
#2  0xffffffff805cf761 in panic (fmt=3DVariable "fmt" is not available.
) at /usr/src/sys/kern/kern_shutdown.c:591
#3  0xffffffff801e5147 in db_panic (addr=3DVariable "addr" is not available=
.
) at /usr/src/sys/ddb/db_command.c:478
#4  0xffffffff801e55f1 in db_command (last_cmdp=3D0xffffffff80c90fc0=2C cmd=
_table=3DVariable "cmd_table" is not available.
) at /usr/src/sys/ddb/db_command.c:445
#5  0xffffffff801e5840 in db_command_loop () at /usr/src/sys/ddb/db_command=
.c:498
#6  0xffffffff801e78a9 in db_trap (type=3DVariable "type" is not available.
) at /usr/src/sys/ddb/db_main.c:229
#7  0xffffffff806037de in kdb_trap (type=3D9=2C code=3D0=2C tf=3D0xffffff80=
000578c0) at /usr/src/sys/kern/subr_kdb.c:546
#8  0xffffffff808c9c5d in trap_fatal (frame=3D0xffffff80000578c0=2C eva=3DV=
ariable "eva" is not available.
) at /usr/src/sys/amd64/amd64/trap.c:828
#9  0xffffffff808ca225 in trap (frame=3D0xffffff80000578c0) at /usr/src/sys=
/amd64/amd64/trap.c:644
#10 0xffffffff808b4804 in calltrap () at /usr/src/sys/amd64/amd64/exception=
.S:228
#11 0xffffffff805f9f61 in devclass_get_name (dc=3D0xdeadc0dedeadc0de) at /u=
sr/src/sys/kern/subr_bus.c:1291
#12 0xffffffff805fa4f9 in device_print_prettyname (dev=3D0xffffff0002635b00=
) at /usr/src/sys/kern/subr_bus.c:2235
#13 0xffffffff805fcc32 in device_printf (dev=3DVariable "dev" is not availa=
ble.
) at /usr/src/sys/kern/subr_bus.c:2255
#14 0xffffffff8027fe9e in ata_completed (context=3DVariable "context" is no=
t available.
) at /usr/src/sys/dev/ata/ata-queue.c:298
#15 0xffffffff806105b3 in taskqueue_run_locked (queue=3D0xffffff000278d280)=
 at /usr/src/sys/kern/subr_taskqueue.c:245
#16 0xffffffff806106fd in taskqueue_run (queue=3D0xffffff000278d280) at /us=
r/src/sys/kern/subr_taskqueue.c:259
#17 0xffffffff805a8116 in intr_event_execute_handlers (p=3DVariable "p" is =
not available.
) at /usr/src/sys/kern/kern_intr.c:1220
#18 0xffffffff805a8e92 in ithread_loop (arg=3D0xffffff0002526800) at /usr/s=
rc/sys/kern/kern_intr.c:1233
#19 0xffffffff805a60da in fork_exit (callout=3D0xffffffff805a8de0 <ithread_=
loop>=2C arg=3D0xffffff0002526800=2C frame=3D0xffffff8000057c40)
    at /usr/src/sys/kern/kern_fork.c:835
#20 0xffffffff808b4cde in fork_trampoline () at /usr/src/sys/amd64/amd64/ex=
ception.S:570
#21 0x0000000000000000 in ?? ()
#22 0x0000000000000000 in ?? ()
#23 0x0000000000000001 in ?? ()
#24 0x0000000000000000 in ?? ()
#25 0x0000000000000000 in ?? ()
#26 0x0000000000000000 in ?? ()
#27 0x0000000000000000 in ?? ()
#28 0x0000000000000000 in ?? ()
#29 0x0000000000000000 in ?? ()
#30 0x0000000000000000 in ?? ()
#31 0x0000000000000000 in ?? ()
#32 0x0000000000000000 in ?? ()
#33 0x0000000000000000 in ?? ()
#34 0x0000000000000000 in ?? ()
#35 0x0000000000000000 in ?? ()
#36 0x0000000000000000 in ?? ()
#37 0x0000000000000000 in ?? ()
#38 0x0000000000000000 in ?? ()
#39 0x0000000000000000 in ?? ()
#40 0x0000000000000000 in ?? ()
#41 0x0000000000000000 in ?? ()
#42 0x0000000000000000 in ?? ()
#43 0x0000000000000000 in ?? ()
#44 0x0000000000000000 in ?? ()
#45 0x0000000000000000 in ?? ()
#46 0xffffffff80ccd480 in tdq_cpu ()
#47 0xffffffff80ccd440 in affinity ()
#48 0xffffff0002627000 in ?? ()
#49 0xffffff8000057830 in ?? ()
#50 0xffffff80000577d8 in ?? ()
#51 0xffffff0002631450 in ?? ()
---Type <return> to continue=2C or q <return> to quit---






Updated to latest -current yesterday.


Copyright (c) 1992-2010 The FreeBSD Project.
Copyright (c) 1979=2C 1980=2C 1983=2C 1986=2C 1988=2C 1989=2C 1991=2C 1992=
=2C 1993=2C 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.0-CURRENT #0: Mon Nov 22 10:30:08 EST 2010
    root@butter.local:/usr/obj/usr/src/sys/GENERIC amd64
WARNING: WITNESS option enabled=2C expect reduced performance.
SRAT: No memory region found for 10fb000 - 7ffe0000
CPU: AMD Opteron(tm) Processor 250 (2394.06-MHz K8-class CPU)
  Origin =3D "AuthenticAMD"  Id =3D 0x20f51  Family =3D f  Model =3D 25  St=
epping =3D 1
  Features=3D0x78bfbff<FPU=2CVME=2CDE=2CPSE=2CTSC=2CMSR=2CPAE=2CMCE=2CCX8=
=2CAPIC=2CSEP=2CMTRR=2CPGE=2CMCA=2CCMOV=2CPAT=2CPSE36=2CCLFLUSH=2CMMX=2CFXS=
R=2CSSE=2CSSE2>
  Features2=3D0x1<SSE3>
  AMD Features=3D0xe2500800<SYSCALL=2CNX=2CMMX+=2CFFXSR=2CLM=2C3DNow!+=2C3D=
Now!>
  AMD Features2=3D0x1<LAHF>
real memory  =3D 2147483648 (2048 MB)
avail memory =3D 2050400256 (1955 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <A M I  OEMAPIC >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 2 package(s) x 1 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 1.1> irqs 0-15 on motherboard
ioapic1 <Version 1.1> irqs 16-31 on motherboard
ioapic2 <Version 1.1> irqs 32-47 on motherboard
kbd1 at kbdmux0
acpi0: <A M I OEMXSDT> on motherboard
acpi0: Power Button (fixed)
acpi0: Sleep Button (fixed)
acpi0: reservation of 540=2C 20 (4) failed
acpi0: reservation of 500=2C 20 (4) failed
acpi0: reservation of 560=2C 20 (4) failed
acpi0: reservation of 0=2C a0000 (3) failed
acpi0: reservation of 100000=2C 7ff00000 (3) failed
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> 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 13.0 on pci1
pci2: <ACPI PCI bus> on pcib2
atapci0: <ServerWorks HT1000 SATA150 controller> port 0xbc00-0xbc07=2C0xb88=
0-0xb883=2C0xb800-0xb807=2C0xb480-0xb483=2C0xb400-0xb41f mem 0xfc9fe000-0xf=
c9fffff irq 11 at device 14.0 on pci1
ata2: <ATA channel 0> on atapci0
ata3: <ATA channel 1> on atapci0
ata4: <ATA channel 2> on atapci0
ata5: <ATA channel 3> on atapci0
atapci1: <ServerWorks HT1000 UDMA100 controller> port 0x1f0-0x1f7=2C0x3f6=
=2C0x170-0x177=2C0x376=2C0xffa0-0xffaf at device 2.1 on pci0
ata0: <ATA channel 0> on atapci1
ata1: <ATA channel 1> on atapci1
isab0: <PCI-ISA bridge> at device 2.2 on pci0
isa0: <ISA bus> on isab0
ohci0: <OHCI (generic) USB controller> port 0xe800-0xe8ff mem 0xfebfa000-0x=
febfafff irq 10 at device 3.0 on pci0
usbus0: <OHCI (generic) USB controller> on ohci0
ohci1: <OHCI (generic) USB controller> port 0xd800-0xd8ff mem 0xfebf9000-0x=
febf9fff irq 10 at device 3.1 on pci0
usbus1: <OHCI (generic) USB controller> on ohci1
ehci0: <EHCI (generic) USB 2.0 controller> port 0xd400-0xd4ff mem 0xfebf800=
0-0xfebf8fff irq 10 at device 3.2 on pci0
usbus2: EHCI version 1.0
usbus2: <EHCI (generic) USB 2.0 controller> on ehci0
vgapci0: <VGA-compatible display> port 0xe000-0xe0ff mem 0xfd000000-0xfdfff=
fff=2C0xfebff000-0xfebfffff irq 28 at device 5.0 on pci0
pcib3: <ACPI PCI-PCI bridge> at device 8.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
bge0: <Broadcom NetXtreme Gigabit Ethernet Controller=2C ASIC rev. 0x008003=
> mem 0xfcaf0000-0xfcafffff=2C0xfcae0000-0xfcaeffff irq 17 at device 4.0 on=
 pci4
bge0: CHIP ID 0x00008003=3B ASIC REV 0x08=3B CHIP REV 0x80=3B PCI-X
miibus0: <MII bus> on bge0
brgphy0: <BCM5780 10/100/1000baseTX PHY> PHY 1 on miibus0
brgphy0:  10baseT=2C 10baseT-FDX=2C 100baseTX=2C 100baseTX-FDX=2C 1000baseT=
=2C 1000baseT-master=2C 1000baseT-FDX=2C 1000baseT-FDX-master=2C auto=2C au=
to-flow
bge0: Ethernet address: 00:xx:xx:xx:xx:xx
bge1: <Broadcom NetXtreme Gigabit Ethernet Controller=2C ASIC rev. 0x008003=
> mem 0xfcad0000-0xfcadffff=2C0xfcac0000-0xfcacffff irq 19 at device 4.1 on=
 pci4
bge1: CHIP ID 0x00008003=3B ASIC REV 0x08=3B CHIP REV 0x80=3B PCI-X
miibus1: <MII bus> on bge1
brgphy1: <BCM5780 10/100/1000baseTX PHY> PHY 1 on miibus1
brgphy1:  10baseT=2C 10baseT-FDX=2C 100baseTX=2C 100baseTX-FDX=2C 1000baseT=
=2C 1000baseT-master=2C 1000baseT-FDX=2C 1000baseT-FDX-master=2C auto=2C au=
to-flow
bge1: Ethernet address: 00:xx:xx:xx:xx:xx
pcib5: <ACPI PCI-PCI bridge> at device 10.0 on pci0
pci5: <ACPI PCI bus> on pcib5
pcib6: <ACPI PCI-PCI bridge> at device 11.0 on pci0
pci6: <ACPI PCI bus> on pcib6
pcib7: <ACPI PCI-PCI bridge> at device 12.0 on pci0
pci7: <ACPI PCI bus> on pcib7
pcib8: <ACPI PCI-PCI bridge> at device 13.0 on pci0
pci8: <ACPI PCI bus> on pcib8
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> 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
atkbdc0: <Keyboard controller (i8042)> port 0x60=2C0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5=2C0x3f7 irq 6 drq 2 =
on acpi0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff=2C0xc8000-0xc9fff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles=2C flags=3D0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ppc0: cannot reserve I/O port range
powernow0: <Cool`n'Quiet K8> on cpu0
device_attach: powernow0 attach returned 6
powernow1: <Cool`n'Quiet K8> on cpu1
device_attach: powernow1 attach returned 6
Timecounters tick every 1.000 msec
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 480Mbps High Speed USB v2.0
acd0: DMA limited to UDMA33=2C device found non-ATA66 cable
acd0: DVDROM <MATSHITADVD-ROM SR-8178/PZ16> at ata0-slave UDMA33
ad4: 190782MB <Seagate ST3200826AS 3.02> at ata2-master UDMA100 SATA 1.5Gb/=
s
ugen0.1: <0x1166> at usbus0
uhub0: <0x1166 OHCI root HUB=2C class 9/0=2C rev 1.00/1.00=2C addr 1> on us=
bus0
ugen1.1: <0x1166> at usbus1
uhub1: <0x1166 OHCI root HUB=2C class 9/0=2C rev 1.00/1.00=2C addr 1> on us=
bus1
ugen2.1: <0x1166> at usbus2
uhub2: <0x1166 EHCI root HUB=2C class 9/0=2C rev 2.00/1.00=2C addr 1> on us=
bus2
ad6: 190782MB <Seagate ST3200826AS 3.02> at ata3-master UDMA100 SATA 1.5Gb/=
s
ad8: 143089MB <WDC WD1500ADFD-00NLR1 20.07P20> at ata4-master UDMA100 SATA =
1.5Gb/s
ad10: 190782MB <Seagate ST3200826AS 3.02> at ata5-master UDMA100 SATA 1.5Gb=
/s
SMP: AP CPU #1 Launched!
WARNING: WITNESS option enabled=2C expect reduced performance.
uhub0: 2 ports with 2 removable=2C self powered
uhub1: 2 ports with 2 removable=2C self powered
Root mount waiting for: usbus2
uhub2: 4 ports with 4 removable=2C self powered
Trying to mount root from ufs:/dev/ad4s1a [rw]...
WARNING: / was not properly dismounted
bge1: link state changed to UP



It only seems to be the ad8 WDC  sata raptor disk.  The other disks=2C seag=
ates=2C are fine=3B multiple rsyncs/lots of data written.

The bios has SATA settings of IDE=2C MMIO=2C and RAID=2C and they're curren=
tly set for MMIO.

Thank you.
 		 	   		  =



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