As I mentioned to Jung-uk, the problem is likely an error in acpi-ca modifying memory after it has freed it. The way to track this down is to enable memguard(9). See the man page for info. You need to add options DEBUG_MEMGUARD to your kernel, set the malloc type to watch to M_ACPICA, and rebuild your kernel and modules. Memguard sets page permissions so we can catch the culprit who is modifying the memory. http://www.freebsd.org/cgi/man.cgi?query=memguard&apropos=0&sektion=0&manpath=FreeBSD+6.0-current&format=html If you need a kernel to keep running in production while debugging the other kernel, disable options INVARIANTS to get rid of the diagnostic panic. -Nate Munehiro Matsuda wrote: > Hi, > > Thanks for looking. > I've put the output dsdt/asl file from following command onto the > URL below. > > command: > # acpidump -t -d -o Dynabook_MX190R.dsdt > Dynabook_MX190R.asl > > URL: > http://wwwb.dcns.ne.jp/~haro01/Dynabook_MX190R.dsdt > http://wwwb.dcns.ne.jp/~haro01/Dynabook_MX190R.asl > > Thanks in advance, > Haro > > From: "Moore, Robert" <robert.moore_at_intel.com> > Date: Wed, 2 Nov 2005 09:51:23 -0800 > ::If you will send me the acpidump for the machine, I will take a look at > ::the problem. > :: > ::Thanks, > ::Bob > :: > :: > ::> -----Original Message----- > ::> From: owner-freebsd-acpi_at_freebsd.org [mailto:owner-freebsd- > ::> acpi_at_freebsd.org] On Behalf Of Munehiro Matsuda > ::> Sent: Wednesday, November 02, 2005 7:08 AM > ::> To: jkim_at_freebsd.org > ::> Cc: freebsd-acpi_at_freebsd.org; freebsd-current_at_freebsd.org > ::> Subject: Panic on boot with new ACPI-CA (Re: [HEADSUP] ACPI-CA > ::20051021 > ::> import) > ::> > ::> From: Jung-uk Kim <jkim_at_FreeBSD.org> > ::> Date: Tue, 1 Nov 2005 17:49:44 -0500 > ::> ::On Tuesday 01 November 2005 05:01 pm, Jung-uk Kim wrote: > ::> ::> ACPI-CA 20051021 will be imported any minute now. I will let you > ::> ::> know when completed. > ::> :: > ::> ::ACPI-CA 20051021 import is completed. > ::> :: > ::> ::Thanks! > ::> :: > ::> ::Jung-uk Kim > ::> > ::> Hi, > ::> > ::> After the import of new ACPI-CA code, I get system panic on boot, > ::> where I used to get "can't fetch resources for \\_SB_.PCI0.FNC0.PRT_ - > ::> AE_BAD_DATA" message. > ::> > ::> If you need more info, please let me know. > ::> > ::> Here's hand written down panic messages. > ::> > ::=----------------------------------------------------------------------- > ::-- > ::> - > ::> npx0: [FAST] > ::> npx0: <math processor> on motherboard > ::> npx0: INT 16 interface > ::> acpi0: <TOSHIB 750> on motherboard > ::> acpi0: Power Button (fixed) > ::> pci_link0: <ACPI PCI Link LNKA> irq 10 on acpi0 > ::> pci_link1: <ACPI PCI Link LNKB> irq 11 on acpi0 > ::> pci_link2: <ACPI PCI Link LNKC> irq 11 on acpi0 > ::> pci_link3: <ACPI PCI Link LNKD> irq 11 on acpi0 > ::> pci_link4: <ACPI PCI Link LNKE> irq 11 on acpi0 > ::> pci_link5: <ACPI PCI Link LNKF> irq 11 on acpi0 > ::> pci_link6: <ACPI PCI Link LNKG> irq 11 on acpi0 > ::> pci_link7: <ACPI PCI Link LNKH> irq 11 on acpi0 > ::> Memory modified after free 0xc1ee1600(124) val=c _at_ 0xc1ee1600 > ::> panic: Most recently used by acpica > ::> > ::> cpuid = 0 > ::> KDB: enter: panic > ::> [thread pid 0 tid 0] > ::> Stopped at kbt_enter+0x2b: nop > ::> db> bt > ::> Tracing pid 0 tid 0 td 0xc0736780 > ::> kdb_enter(c06cc93e) at kdb_enter+0x2b > ::> panic(c06e42e7,c089c1a8,c06e42b8,c1ee1600,8c) at panic+0x127 > ::> mtrash_ctor(c1ee1600,80,0,1) at mtrash_ctor+0x4d > ::> uma_zalloc_arg(c104a1e0,0,1) at uma_zalloc_arg+0x10f > ::> malloc(68,c089ef00,1,c0c20bb4,c087e562) at malloc+0xb2 > ::> AcpiOsAllocate(68,0,c1ece1e0,4,c0c20be0) at AcpiOsAllocate+0x12 > ::> AcpiUtCallocate(68,10,c089b337,157,c0c20bec) at AcpiUtCallocate+0x16 > ::> AcpiGetObjectInfo(c1ece1e0,c0c20bf8,0,c1ece1e0,ffffffff) at > ::> AcpiGetObjectInfo+0x5b > ::> acpi_MatchHid(0,c089f740,6,c1ece1e0,0) at acpi_MatchHid+0x32 > ::> acpi_probe_child(c1ece1e0,4,c1e9c800,0,0) at acpi_probe_child+0x94 > ::> AcpiNsWalkNamespace(0,ffffffff,64,1,c0883c98) at > ::AcpiNsWalkNamespace+0xa1 > ::> AcpiWalkNamespace(0,ffffffff,64,c0883c98,c1e9c800) at > ::> AcpiWalkNamespace+0x3b > ::> acpi_attach(c1e9c800) at acpi_attach+0x4ff > ::> device_attach(c1e9c800,0,c1e9c800,c1e9d300,0) at device_attach+0x58 > ::> device_probe_and attach(c1e9c800) at device_probe_and_attach+0xe0 > ::> bus_generic_attach(c1e9d300,c1e9d300,c1e9d300,c0c20d40,c0529340) at > ::> bus_generic_attach+0x16 > ::> nexus_attach(c1e9d300) at nexus_attach+0x13 > ::> device_attach(c1e9d300,c0533914,c1e9d300,c0721bb0,c28000) at > ::> device_attach+0x58 > ::> device_probe_and_attach(c1e9d300) at device_probe_and_attach+0xe0 > ::> root_bus_configure(c0c20d88,c04eb592,0,c1ec00,c1e000) at > ::> root_bus_configure+0x16configure(0,c1ec00,c1e000,0,c04392f5) at > ::> configure+0x9 > ::> mi_startup() at mi_startup+0x96 > ::> begin() at begine+0x2c > ::> > ::=----------------------------------------------------------------------- > ::-- > ::> - > ::> > ::> Following is boot message from the last kernel, just before the > ::> import of new code. > ::> > ::=----------------------------------------------------------------------- > ::-- > ::> - > ::> Copyright (c) 1992-2005 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 7.0-CURRENT #135: Mon Oct 31 21:33:52 JST 2005 > ::> > ::haro_at_legacy.ttr.kubota.co.jp:/home/haro/tmp/sys-7/i386/compile/LEGACY > ::> WARNING: WITNESS option enabled, expect reduced performance. > ::> Timecounter "i8254" frequency 1193182 Hz quality 0 > ::> CPU: Intel(R) Pentium(R) M processor 1.10GHz (1097.26-MHz 686-class > ::CPU) > ::> Origin = "GenuineIntel" Id = 0x6d6 Stepping = 6 > ::> > ::> > ::Features=0xafe9f9bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV > ::,P > ::> AT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE> > ::> Features2=0x180<EST,TM2> > ::> real memory = 787808256 (751 MB) > ::> avail memory = 761475072 (726 MB) > ::> npx0: [FAST] > ::> npx0: <math processor> on motherboard > ::> npx0: INT 16 interface > ::> acpi0: <TOSHIB 750> on motherboard > ::> acpi0: Power Button (fixed) > ::> pci_link0: <ACPI PCI Link LNKA> irq 10 on acpi0 > ::> pci_link1: <ACPI PCI Link LNKB> irq 11 on acpi0 > ::> pci_link2: <ACPI PCI Link LNKC> irq 11 on acpi0 > ::> pci_link3: <ACPI PCI Link LNKD> irq 11 on acpi0 > ::> pci_link4: <ACPI PCI Link LNKE> irq 11 on acpi0 > ::> pci_link5: <ACPI PCI Link LNKF> irq 11 on acpi0 > ::> pci_link6: <ACPI PCI Link LNKG> irq 11 on acpi0 > ::> pci_link7: <ACPI PCI Link LNKH> irq 11 on acpi0 > ::> can't fetch resources for \\_SB_.PCI0.FNC0.PRT_ - AE_BAD_DATA > ::> Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > ::> acpi_timer0: <24-bit timer at 3.579545MHz> port 0xd808-0xd80b on acpi0 > ::> cpu0: <ACPI CPU> on acpi0 > ::> est0: <Enhanced SpeedStep Frequency Control> on cpu0 > ::> p4tcc0: <CPU Frequency Thermal Control> on cpu0 > ::> pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 > ::> pci0: <ACPI PCI bus> on pcib0 > ::> pci0: <base peripheral> at device 0.1 (no driver attached) > ::> pci0: <base peripheral> at device 0.3 (no driver attached) > ::> agp0: <Intel 82855GME (855GME GMCH) SVGA controller> port > ::0xeff8-0xefff > ::> mem 0xd8000000-0xdfffffff,0xd0000000-0xd007ffff irq 10 at device 2.0 > ::on > ::> pci0 > ::> agp0: detected 16252k stolen memory > ::> agp0: aperture size is 128M > ::> pci0: <display> at device 2.1 (no driver attached) > ::> uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0xcfe0-0xcfff > ::irq > ::> 10 at device 29.0 on pci0 > ::> uhci0: [GIANT-LOCKED] > ::> usb0: <Intel 82801DB (ICH4) USB controller USB-A> on uhci0 > ::> usb0: USB revision 1.0 > ::> uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > ::> uhub0: 2 ports with 2 removable, self powered > ::> uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0xcf80-0xcf9f > ::irq > ::> 11 at device 29.1 on pci0 > ::> uhci1: [GIANT-LOCKED] > ::> usb1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1 > ::> usb1: USB revision 1.0 > ::> uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > ::> uhub1: 2 ports with 2 removable, self powered > ::> uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0xcf60-0xcf7f > ::irq > ::> 11 at device 29.2 on pci0 > ::> uhci2: [GIANT-LOCKED] > ::> usb2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2 > ::> usb2: USB revision 1.0 > ::> uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > ::> uhub2: 2 ports with 2 removable, self powered > ::> ehci0: <Intel 82801DB/L/M (ICH4) USB 2.0 controller> mem 0xcffffc00- > ::> 0xcfffffff irq 11 at device 29.7 on pci0 > ::> ehci0: [GIANT-LOCKED] > ::> usb3: EHCI version 1.0 > ::> usb3: companion controllers, 2 ports each: usb0 usb1 usb2 > ::> usb3: <Intel 82801DB/L/M (ICH4) USB 2.0 controller> on ehci0 > ::> usb3: USB revision 2.0 > ::> uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 > ::> uhub3: 6 ports with 6 removable, self powered > ::> pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0 > ::> pci1: <ACPI PCI bus> on pcib1 > ::> iwi0: <Intel(R) PRO/Wireless 2200BG> mem 0xcfeff000-0xcfefffff irq 11 > ::at > ::> device 5.0 on pci1 > ::> iwi0: Ethernet address: 00:0e:35:c2:a2:7b > ::> fxp0: <Intel 82801DB (ICH4) Pro/100 VE Ethernet> port 0xcf00-0xcf3f > ::mem > ::> 0xcfefe000-0xcfefefff irq 11 at device 8.0 on pci1 > ::> miibus0: <MII bus> on fxp0 > ::> inphy0: <i82562ET 10/100 media interface> on miibus0 > ::> inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > ::> fxp0: Ethernet address: 00:0e:7b:eb:71:23 > ::> cbb0: <TI6411 PCI-CardBus Bridge> at device 11.0 on pci1 > ::> cardbus0: <CardBus bus> on cbb0 > ::> pccard0: <16-bit PCCard bus> on cbb0 > ::> cbb1: <TI6411 PCI-CardBus Bridge> at device 11.1 on pci1 > ::> cardbus1: <CardBus bus> on cbb1 > ::> pccard1: <16-bit PCCard bus> on cbb1 > ::> fwohci0: <1394 Open Host Controller Interface> mem 0xcfefd800- > ::> 0xcfefdfff,0xcfef8000-0xcfefbfff irq 11 at device 11.2 on pci1 > ::> fwohci0: OHCI version 1.10 (ROM=1) > ::> fwohci0: No. of Isochronous channels is 4. > ::> fwohci0: EUI64 00:00:39:00:00:72:41:eb > ::> fwohci0: Phy 1394a available S400, 2 ports. > ::> fwohci0: Link S400, max_rec 2048 bytes. > ::> firewire0: <IEEE1394(FireWire) bus> on fwohci0 > ::> sbp0: <SBP-2/SCSI over FireWire> on firewire0 > ::> fwe0: <Ethernet over FireWire> on firewire0 > ::> if_fwe0: Fake Ethernet address: 02:00:39:72:41:eb > ::> fwe0: Ethernet address: 02:00:39:72:41:eb > ::> fwe0: if_start running deferred for Giant > ::> fwohci0: Initiate bus reset > ::> fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode > ::> firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) > ::> firewire0: bus manager 0 (me) > ::> pci1: <base peripheral> at device 11.4 (no driver attached) > ::> isab0: <PCI-ISA bridge> at device 31.0 on pci0 > ::> isa0: <ISA bus> on isab0 > ::> atapci0: <Intel ICH4 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170- > ::> 0x177,0x376,0xbfa0-0xbfaf irq 11 at device 31.1 on pci0 > ::> ata0: <ATA channel 0> on atapci0 > ::> ata1: <ATA channel 1> on atapci0 > ::> pcm0: <Intel ICH4 (82801DB)> port 0xbe00-0xbeff,0xbdc0-0xbdff mem > ::> 0xcfdffe00-0xcfdfffff,0xcfdffd00-0xcfdffdff irq 11 at device 31.5 on > ::pci0 > ::> pcm0: [GIANT-LOCKED] > ::> pcm0: <SigmaTel STAC9750/51 AC97 Codec> > ::> pci0: <simple comms, generic modem> at device 31.6 (no driver > ::attached) > ::> acpi_lid0: <Control Method Lid Switch> on acpi0 > ::> battery0: <ACPI Control Method Battery> on acpi0 > ::> acpi_button0: <Power Button> on acpi0 > ::> acpi_acad0: <AC Adapter> on acpi0 > ::> acpi_toshiba0: <Toshiba HCI Extras> on acpi0 > ::> acpi_tz0: <Thermal Zone> on acpi0 > ::> atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 > ::> atkbd0: <AT Keyboard> irq 1 on atkbdc0 > ::> kbd0 at atkbd0 > ::> atkbd0: [GIANT-LOCKED] > ::> psm0: <PS/2 Mouse> irq 12 on atkbdc0 > ::> psm0: [GIANT-LOCKED] > ::> psm0: model Generic PS/2 mouse, device ID 0 > ::> sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 > ::on > ::> acpi0 > ::> sio0: type 16550A > ::> pmtimer0 on isa0 > ::> orm0: <ISA Option ROMs> at iomem 0xc0000-0xcffff,0xe0000-0xeffff pnpid > ::> ORM0000 on isa0 > ::> sc0: <System console> at flags 0x100 on isa0 > ::> sc0: VGA <16 virtual consoles, flags=0x300> > ::> sio1: configured irq 3 not in bitmap of probed irqs 0 > ::> sio1: port may not be enabled > ::> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on > ::isa0 > ::> Timecounter "TSC" frequency 1097256406 Hz quality 800 > ::> Timecounters tick every 1.000 msec > ::> ad0: 57231MB <HTS541060G9AT00 MB3WA5EJ> at ata0-master UDMA100 > ::> acd0: DVDR <MATSHITADVD-RAM UJ-822S/1.00> at ata1-master UDMA33 > ::> pccard1: Allocation failed for cfe 1 > ::> sio4: <KDDI W01K> at port 0x2f8-0x2ff irq 11 function 0 config 2 on > ::> pccard1 > ::> sio4: type 16550A > ::> sio4: unable to activate interrupt in fast mode - using normal mode > ::> Trying to mount root from ufs:/dev/ad0s4aReceived on Thu Nov 03 2005 - 00:04:43 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:47 UTC