panic: Memory modified after free
othermark
atkin901 at yahoo.com
Mon Oct 20 15:21:17 PDT 2003
I have a strange panic during the isa pnp code that does not occur with a
5.0-release kernel. I have tried enabling and disabling acpi. it does
not effect this panic one way or another. This is a kernel from -current
10/20 (today). I'm not sure how to get this to boot with no way to disable
pnp probing (pnpbios(4)).
OK boot -v
SMAP type=01 base=0000000000000000 len=000000000009fc00
SMAP type=02 base=000000000009fc00 len=0000000000000400
SMAP type=02 base=00000000000e0000 len=0000000000020000
SMAP type=01 base=0000000000100000 len=000000001ff00000
SMAP type=02 base=00000000fec00000 len=0000000000001000
SMAP type=02 base=00000000fec01000 len=0000000000001000
SMAP type=02 base=00000000fee00000 len=0000000000001000
SMAP type=02 base=00000000fff80000 len=0000000000080000
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.1-CURRENT #1: Mon Oct 20 10:40:30 PDT 2003
root at fluke.whale-test.net:/usr/obj/usr/src/sys/FLUKE
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a14000.
Calibrating clock(s) ... i8254 clock: 1193058 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254" frequency 1193182 Hz quality 0
Calibrating TSC clock ... TSC clock: 996598941 Hz
CPU: Intel Pentium III (996.60-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x68a Stepping = 10
Features=0x387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM
OV,PAT,PSE36,PN,MMX,FXSR,SSE>
real memory = 536870912 (512 MB)
Physical memory chunk(s):
0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages)
0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages)
0x0000000000c26000 - 0x000000001f6d9fff, 514539520 bytes (125620 pages)
avail memory = 511942656 (488 MB)
bios32: Found BIOS32 Service Directory header at 0xc00fdb90
bios32: Entry = 0xfdba0 (c00fdba0) Rev = 0 Len = 1
pcibios: PCI BIOS entry at 0xf0000+0xdbc1
pnpbios: Found PnP BIOS data at 0xc00f4b00
pnpbios: Entry = f0000:3b84 Rev = 1.0
Other BIOS signatures found:
wlan: <802.11 Link Layer>
null: <null device, zero device>
random: <entropy source>
mem: <memory & I/O>
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
pci_open(1): mode 1 addr port (0x0cf8) is 0x80000070
pci_open(1a): mode1res=0x80000000 (0x80000000)
pci_cfgcheck: device 0 [class=060000] [hdr=80] is there (id=00081166)
pcibios: BIOS version 2.10
Using $PIR table, 13 entries at 0xc00f5070
PCI-Only Interrupts: none
Location Bus Device Pin Link IRQs
embedded 0 0 A 0x11 3 4 5 7 9 10 11 12 14 15
embedded 0 0 B 0x13 3 4 5 7 9 10 11 12 14 15
embedded 0 15 A 0x01 10
slot 1 0 1 A 0x1d 3 4 5 7 9 10 11 12 14 15
slot 1 0 1 B 0x1c 3 4 5 7 9 10 11 12 14 15
slot 1 0 1 C 0xff 3 4 5 7 9 10 11 12 14 15
slot 1 0 1 D 0xff 3 4 5 7 9 10 11 12 14 15
slot 2 0 4 A 0x10 5
slot 2 0 4 B 0x11 9
slot 2 0 4 C 0x12 10
slot 2 0 4 D 0x13 11
embedded 0 3 A 0x13 11
embedded 0 3 B 0xff 3 4 5 7 9 10 11 12 14 15
embedded 0 3 C 0xff 3 4 5 7 9 10 11 12 14 15
embedded 0 3 D 0xff 3 4 5 7 9 10 11 12 14 15
embedded 0 7 A 0x14 11
embedded 0 7 B 0xff 3 4 5 7 9 10 11 12 14 15
embedded 0 7 C 0xff 3 4 5 7 9 10 11 12 14 15
embedded 0 7 D 0xff 3 4 5 7 9 10 11 12 14 15
embedded 0 11 A 0x13 11
embedded 0 11 B 0xff 3 4 5 7 9 10 11 12 14 15
embedded 0 11 C 0xff 3 4 5 7 9 10 11 12 14 15
embedded 0 11 D 0xff 3 4 5 7 9 10 11 12 14 15
embedded 1 0 A 0x10 5
embedded 1 0 B 0xff 3 4 5 7 9 10 11 12 14 15
embedded 1 0 C 0xff 3 4 5 7 9 10 11 12 14 15
embedded 1 0 D 0xff 3 4 5 7 9 10 11 12 14 15
embedded 1 2 A 0x12 10
embedded 1 2 B 0xff 3 4 5 7 9 10 11 12 14 15
embedded 1 2 C 0xff 3 4 5 7 9 10 11 12 14 15
embedded 1 2 D 0xff 3 4 5 7 9 10 11 12 14 15
slot 3 1 5 A 0x11 9
slot 3 1 5 B 0x12 10
slot 3 1 5 C 0x13 11
slot 3 1 5 D 0x10 5
embedded 2 1 A 0x11 9
embedded 2 1 B 0xff 3 4 5 7 9 10 11 12 14 15
embedded 2 1 C 0xff 3 4 5 7 9 10 11 12 14 15
embedded 2 1 D 0xff 3 4 5 7 9 10 11 12 14 15
embedded 2 2 A 0x12 10
embedded 2 2 B 0xff 3 4 5 7 9 10 11 12 14 15
embedded 2 2 C 0xff 3 4 5 7 9 10 11 12 14 15
embedded 2 2 D 0xff 3 4 5 7 9 10 11 12 14 15
slot 4 2 6 A 0x12 10
slot 4 2 6 B 0x13 11
slot 4 2 6 C 0x10 5
slot 4 2 6 D 0x11 9
pcib1: <ServerWorks host to PCI bridge> at pcibus 1 on motherboard
pci1: <PCI bus> on pcib1
pci1: physical bus=1
map[10]: type 1, range 32, base feae0000, size 17, enabled
pci_cfgintr_valid: BIOS irq 5 is valid
pci_cfgintr: 1:0 INTA BIOS irq 5
found-> vendor=0x8086, dev=0x1001, revid=0x02
bus=1, slot=0, func=0
class=02-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0116, statreg=0x0220, cachelnsz=8 (dwords)
lattimer=0x40 (19f20 ns), mingnt=0xff (63750 ns), maxlat=0x00 (0 ns)
intpin=a, irq=5
map[10]: type 1, range 32, base feab0000, size 16, enabled
pci_cfgintr_valid: BIOS irq 10 is valid
pci_cfgintr: 1:2 INTA BIOS irq 10
found-> vendor=0x14e4, dev=0x5820, revid=0x10
bus=1, slot=2, func=0
class=0b-40-00, hdrtype=0x00, mfdev=0
cmdreg=0x0116, statreg=0x02b0, cachelnsz=8 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=10
powerspec 2 supports D0 D3 current D0
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.16> mem
0xfeae0000-0xf
eafffff irq 5 at device 0.0 on pci1
em0: [MPSAFE]
em0: Hardware Initialization Failedem0: Unable to initialize the hardware
device_probe_and_attach: em0 attach returned 5
pci1: <processor> at device 2.0 (no driver attached)
pcib0: <ServerWorks host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pci0: physical bus=0
found-> vendor=0x1166, dev=0x0008, revid=0x23
bus=0, slot=0, func=0
class=06-00-00, hdrtype=0x00, mfdev=1
cmdreg=0x0000, statreg=0x0000, cachelnsz=8 (dwords)
lattimer=0x20 (960 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x1166, dev=0x0008, revid=0x01
bus=0, slot=0, func=1
class=06-00-00, hdrtype=0x00, mfdev=1
cmdreg=0x0007, statreg=0x2200, cachelnsz=8 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x1166, dev=0x0006, revid=0x01
bus=0, slot=0, func=2
class=06-00-00, hdrtype=0x00, mfdev=1
cmdreg=0x0002, statreg=0x2200, cachelnsz=8 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x1166, dev=0x0006, revid=0x01
bus=0, slot=0, func=3
class=06-00-00, hdrtype=0x00, mfdev=1
cmdreg=0x0002, statreg=0x2200, cachelnsz=8 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
map[10]: type 1, range 64, base fe9f0000, size 16, enabled
pci_cfgintr_valid: BIOS irq 11 is valid
pci_cfgintr: 0:3 INTA BIOS irq 11
found-> vendor=0x14e4, dev=0x5600, revid=0x03
bus=0, slot=3, func=0
class=02-80-00, hdrtype=0x00, mfdev=0
cmdreg=0x0117, statreg=0x02a0, cachelnsz=8 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=11
map[10]: type 1, range 32, base fe9ef000, size 12, enabled
map[14]: type 4, range 32, base 0000cf00, size 6, enabled
map[18]: type 1, range 32, base fe800000, size 20, enabled
pci_cfgintr_valid: BIOS irq 11 is valid
pci_cfgintr: 0:7 INTA BIOS irq 11
found-> vendor=0x8086, dev=0x1229, revid=0x08
bus=0, slot=7, func=0
class=02-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0117, statreg=0x0290, cachelnsz=8 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x08 (2000 ns), maxlat=0x38 (14000
ns)
intpin=a, irq=11
powerspec 2 supports D0 D1 D2 D3 current D0
map[10]: type 1, range 64, base fe9d0000, size 16, enabled
pci_cfgintr_valid: BIOS irq 11 is valid
pci_cfgintr: 0:11 INTA BIOS irq 11
found-> vendor=0x14e4, dev=0x5680, revid=0x02
bus=0, slot=11, func=0
class=02-80-00, hdrtype=0x00, mfdev=0
cmdreg=0x0117, statreg=0x02a0, cachelnsz=8 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
intpin=a, irq=11
map[90]: type 4, range 32, base 00000580, size 4, enabled
found-> vendor=0x1166, dev=0x0200, revid=0x51
bus=0, slot=15, func=0
class=06-01-00, hdrtype=0x00, mfdev=1
cmdreg=0x0007, statreg=0x0200, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
map[20]: type 4, range 32, base 0000ffa0, size 4, enabled
found-> vendor=0x1166, dev=0x0211, revid=0x00
bus=0, slot=15, func=1
class=01-01-8a, hdrtype=0x00, mfdev=1
cmdreg=0x0005, statreg=0x0200, cachelnsz=0 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
map[10]: type 1, range 32, base fe9ee000, size 12, enabled
pci_cfgintr_valid: BIOS irq 10 is valid
pci_cfgintr: 0:15 INTA BIOS irq 10
found-> vendor=0x1166, dev=0x0220, revid=0x04
bus=0, slot=15, func=2
class=0c-03-10, hdrtype=0x00, mfdev=1
cmdreg=0x0117, statreg=0x0280, cachelnsz=8 (dwords)
lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x50 (20000 ns)
intpin=a, irq=10
pci0: <network> at device 3.0 (no driver attached)
fxp0: <Intel 82559 Pro/100 Ethernet> port 0xcf00-0xcf3f mem
0xfe800000-0xfe8ffff
f,0xfe9ef000-0xfe9effff irq 11 at device 7.0 on pci0
fxp0: using memory space register mapping
fxp0: Ethernet address 00:01:d7:02:92:c0
fxp0: PCI IDs: 8086 1229 8086 000c 0008
fxp0: Dynamic Standby mode is disabled
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: bpf attached
pci0: <network> at device 11.0 (no driver attached)
isab0: <PCI-ISA bridge> port 0x580-0x58f at device 15.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <ServerWorks ROSB4 UDMA33 controller> port 0xffa0-0xffaf at device
15.1
on pci0
ata0: reset tp1 mask=03 ostat0=50 ostat1=50
ata0-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00
ata0-slave: stat=0x50 err=0x01 lsb=0x00 msb=0x00
ata0: reset tp2 mask=03 stat0=50 stat1=50 devices=0x3<ATA_SLAVE,ATA_MASTER>
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: reset tp1 mask=03 ostat0=20 ostat1=30
ata1-master: stat=0x20 err=0x20 lsb=0x20 msb=0x20
ata1-slave: stat=0x30 err=0x30 lsb=0x30 msb=0x30
ata1: reset tp2 mask=03 stat0=20 stat1=30 devices=0x0
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
ohci0: <OHCI (generic) USB controller> mem 0xfe9ee000-0xfe9eefff irq 10 at
devic
e 15.2 on pci0
ohci0: (New OHCI DeviceId=0x02201166)
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: (0x1166) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
pcib2: <ServerWorks host to PCI bridge> at pcibus 2 on motherboard
pci2: <PCI bus> on pcib2
pci2: physical bus=2
map[10]: type 1, range 32, base febe0000, size 17, enabled
pci_cfgintr_valid: BIOS irq 9 is valid
pci_cfgintr: 2:1 INTA BIOS irq 9
found-> vendor=0x8086, dev=0x1001, revid=0x02
bus=2, slot=1, func=0
class=02-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0116, statreg=0x0220, cachelnsz=8 (dwords)
lattimer=0x40 (1920 ns), mingnt=0xff (63750 ns), maxlat=0x00 (0 ns)
intpin=a, irq=9
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.16> mem
0xfebe0000-0xf
ebfffff irq 9 at device 1.0 on pci2
em0: [MPSAFE]
em0: Hardware Initialization Failedem0: Unable to initialize the hardware
device_probe_and_attach: em0 attach returned 5
ata: ata0 already exists; skipping it
ata: ata1 already exists; skipping it
Trying Read_Port at 203
Trying Read_Port at 243
Trying Read_Port at 283
Trying Read_Port at 2c3
Trying Read_Port at 303
Trying Read_Port at 343
Trying Read_Port at 383
Trying Read_Port at 3c3
ex_isa_identify()
pnpbios: 15 devices, largest 234 bytes
pnpbios: handle 0 device ID PNP0c01 (010cd041)
PNP0000: adding io range 0x20-0x21, size=0x2, align=0x1
PNP0000: adding io range 0xa0-0xa1, size=0x2, align=0x1
PNP0000: adding irq mask 0x4
Memory modified after free 0xc4758800(2044) val=c4756800 @ 0xc47589dc
panic: Most recently used by bus-sc
Debugger("panic")
Stopped at Debugger+0x54: xchgl %ebx,in_Debugger.0
db> where
Debugger(c083c6e1,c08fe300,c0853cc0,c0c21b4c,100) at Debugger+0x54
panic(c0853cc0,c083dd01,7fc,c4756800,c47589dc) at panic+0xd5
mtrash_ctor(c4758800,800,0,583,c4758800) at mtrash_ctor+0x67
uma_zalloc_arg(c103ae40,0,1,2c21bbc,c0891040) at uma_zalloc_arg+0x1ce
malloc(7ec,c0891040,1,c473dc80,c478f000) at malloc+0xd3
isa_add_config(c4765b00,c478d280,0,c478f000,c478f000) at isa_add_config+0x33
pnp_parse_resources(c478d280,c478e30e,19,0,c478e302) at pnp_parse_resource
+0x3b8
pnpbios_identify(c08d0db4,c4765b00,c0863280,c085d008,c08caab0) at
pnpbios_identify+0x43f
bus_generic_probe(c4765b00,c0c21d5c,c064f78e,c1cfd180,c474904c) at
bus_generic_probe+0x62
isa_probe_children(c4765b00,c08570dd,0,c0c21d98,c0610455) at
isa_probe_children+0x14
configure(0,c1e000,c1ec00,c1e000,0) at configure+0x4b
mi_startup() at mi_startup+0xb5
begin() at begin+0x2c
db>
--
othermark
atkin901 at nospam dot yahoo dot com
(!wired)?(coffee++):(wired);
More information about the freebsd-current
mailing list