Re: FreeBSD 7.2-STABLE boot freeze when calibrating clock.

View: New views
20 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 | Next >

Parent Message unknown Re: FreeBSD 7.2-STABLE boot freeze when calibrating clock.

by kama-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Ok.

I added KDB DDB and ACPI_DEBUG to the kernel and it then boots but with
this error:

---- snip ----
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0ed3000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0ed31d8.
link_elf: symbol AcpiDmDumpMethodInfo undefined
KLD file acpi.ko - could not finalize loading
Calibrating clock(s) ... i8254 clock: 1193120 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254" frequency 1193182 Hz quality 0
Calibrating TSC clock ... TSC clock: 2605923359 Hz
CPU: AMD Opteron(tm) Processor 285 (2605.92-MHz 686-class CPU)
---- snap ----

What else can I do to help you to figure this out?

/Bjorn

On Mon, 21 Sep 2009, kama wrote:

>
> Hi.
>
> I have recently upgraded the server from 6.X -> Latest 6.X -> 7.2. But
> after the upgrade it boots OK once and after that it freezes.
>
> Verbose boot give me these lines:
>
> ---- snip ----
> Copyright (c) 1992-2009 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 is a registered trademark of The FreeBSD Foundation.
> FreeBSD 7.2-STABLE #2: Fri Sep 18 13:22:40 CEST 2009
>     root@gs4:/usr/obj/usr/src/sys/GENERIC
> Preloaded elf kernel "/boot/kernel/kernel" at 0xc0e7e000.
> Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0e7e1d8.
> Calibrating clock(s) ... i8254 clock: 1193116 Hz
> CLK_USE_I8254_CALIBRATION not specified - using default frequency
> Timecounter "i8254" frequency 1193182 Hz quality 0
> Calibrating TSC clock ...
> ---- snap ----
>
> I can boot the system without ACPI enabled w/o problem. But once it is
> enabled it will freeze at this point.
>
> This has happend on both servers I have upgraded. Both of them are
> identical.
>
> /Bjorn
>
> Full dmesg w acpi disabled:
>
> %dmesg
> Copyright (c) 1992-2009 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 is a registered trademark of The FreeBSD Foundation.
> FreeBSD 7.2-STABLE #2: Fri Sep 18 13:22:40 CEST 2009
>     root@gs4:/usr/obj/usr/src/sys/GENERIC
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: AMD Opteron(tm) Processor 285 (2605.93-MHz 686-class CPU)
>   Origin = "AuthenticAMD"  Id = 0x20f12  Stepping = 2
>
> Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
>   Features2=0x1<SSE3>
>   AMD Features=0xe2500800<SYSCALL,NX,MMX+,FFXSR,LM,3DNow!+,3DNow!>
>   AMD Features2=0x2<CMP>
>   Cores per package: 2
> real memory  = 3221192704 (3071 MB)
> avail memory = 3146604544 (3000 MB)
> MPTable: <HP       PROLIANT    >
> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
>  cpu0 (BSP): APIC ID:  0
>  cpu1 (AP): APIC ID:  1
>  cpu2 (AP): APIC ID:  2
>  cpu3 (AP): APIC ID:  3
> ioapic0: Assuming intbase of 0
> ioapic1: Assuming intbase of 24
> ioapic2: Assuming intbase of 28
> ioapic3: Assuming intbase of 32
> ioapic4: Assuming intbase of 36
> ioapic0 <Version 1.1> irqs 0-23 on motherboard
> ioapic1 <Version 1.1> irqs 24-27 on motherboard
> ioapic2 <Version 1.1> irqs 28-31 on motherboard
> ioapic3 <Version 1.1> irqs 32-35 on motherboard
> ioapic4 <Version 1.1> irqs 36-39 on motherboard
> kbd1 at kbdmux0
> pcib0: <Host to PCI bridge> pcibus 0 on motherboard
> pci0: <PCI bus> on pcib0
> pcib1: <MPTable PCI-PCI bridge> at device 3.0 on pci0
> pci1: <PCI bus> on pcib1
> ohci0: <OHCI (generic) USB controller> mem 0xf7df0000-0xf7df0fff irq 19 at
> device 0.0 on pci1
> ohci0: [GIANT-LOCKED]
> ohci0: [ITHREAD]
> usb0: OHCI version 1.0, legacy support
> usb0: SMM does not respond, resetting
> usb0: <OHCI (generic) USB controller> on ohci0
> usb0: USB revision 1.0
> uhub0: <AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
> uhub0: 3 ports with 3 removable, self powered
> ohci1: <OHCI (generic) USB controller> mem 0xf7de0000-0xf7de0fff irq 19 at
> device 0.1 on pci1
> ohci1: [GIANT-LOCKED]
> ohci1: [ITHREAD]
> usb1: OHCI version 1.0, legacy support
> usb1: SMM does not respond, resetting
> usb1: <OHCI (generic) USB controller> on ohci1
> usb1: USB revision 1.0
> uhub1: <AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
> uhub1: 3 ports with 3 removable, self powered
> pci1: <base peripheral> at device 2.0 (no driver attached)
> pci1: <base peripheral> at device 2.2 (no driver attached)
> vgapci0: <VGA-compatible display> port 0x4400-0x44ff mem
> 0xf6000000-0xf6ffffff,0xf5ff0000-0xf5ff0fff at device 3.0 on pci1
> isab0: <PCI-ISA bridge> at device 4.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <AMD 8111 UDMA133 controller> port
> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2000-0x200f at device 4.1 on pci0
> ata0: <ATA channel 0> on atapci0
> ata0: [ITHREAD]
> ata1: <ATA channel 1> on atapci0
> ata1: [ITHREAD]
> pci0: <bridge> at device 4.3 (no driver attached)
> pcib2: <MPTable PCI-PCI bridge> at device 7.0 on pci0
> pci2: <PCI bus> on pcib2
> ciss0: <HP Smart Array 6i> port 0x5000-0x50ff mem
> 0xf7ef0000-0xf7ef1fff,0xf7e80000-0xf7ebffff irq 24 at device 4.0 on pci2
> ciss0: [ITHREAD]
> pcib3: <MPTable PCI-PCI bridge> at device 8.0 on pci0
> pci3: <PCI bus> on pcib3
> bge0: <HP NC7782 Gigabit Server Adapter, ASIC rev. 0x2100> mem
> 0xf7ff0000-0xf7ffffff irq 28 at device 6.0 on pci3
> miibus0: <MII bus> on bge0
> brgphy0: <BCM5704 10/100/1000baseTX PHY> PHY 1 on miibus0
> brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
> 1000baseT-FDX, auto
> bge0: Ethernet address: 00:17:a4:8d:f9:2a
> bge0: [ITHREAD]
> bge1: <HP NC7782 Gigabit Server Adapter, ASIC rev. 0x2100> mem
> 0xf7fe0000-0xf7feffff irq 29 at device 6.1 on pci3
> miibus1: <MII bus> on bge1
> brgphy1: <BCM5704 10/100/1000baseTX PHY> PHY 1 on miibus1
> brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
> 1000baseT-FDX, auto
> bge1: Ethernet address: 00:17:a4:8d:f9:29
> bge1: [ITHREAD]
> cpu0 on motherboard
> powernow0: <Cool`n'Quiet K8> on cpu0
> device_attach: powernow0 attach returned 6
> cpu1 on motherboard
> powernow1: <Cool`n'Quiet K8> on cpu1
> device_attach: powernow1 attach returned 6
> cpu2 on motherboard
> powernow2: <Cool`n'Quiet K8> on cpu2
> device_attach: powernow2 attach returned 6
> cpu3 on motherboard
> powernow3: <Cool`n'Quiet K8> on cpu3
> device_attach: powernow3 attach returned 6
> eisa0: <EISA bus> on motherboard
> mainboard0: <CPQ0755 (System Board)> at slot 0 on eisa0
> pnpbios: error 1/82 getting device count/size limit
> pmtimer0 on isa0
> orm0: <ISA Option ROMs> at iomem
> 0xc0000-0xc7fff,0xc8000-0xcbfff,0xee000-0xeffff pnpid ORM0000 on isa0
> atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
> atkbd0: <AT Keyboard> irq 1 on atkbdc0
> kbd0 at atkbd0
> atkbd0: [GIANT-LOCKED]
> atkbd0: [ITHREAD]
> psm0: <PS/2 Mouse> irq 12 on atkbdc0
> psm0: [GIANT-LOCKED]
> psm0: [ITHREAD]
> psm0: model Generic PS/2 mouse, device ID 0
> fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2
> on isa0
> fdc0: [FILTER]
> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> ppc0: parallel port not found.
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 16550A
> sio0: [FILTER]
> sio1 at port 0x2f8-0x2ff irq 3 on isa0
> sio1: type 16550A
> sio1: [FILTER]
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> Timecounters tick every 1.000 msec
> acd0: CDROM <TSSTcorpCD-ROM TS-L162C/N204> at ata0-master UDMA33
> da0 at ciss0 bus 0 target 0 lun 0
> da0: <COMPAQ RAID 1  VOLUME OK> Fixed Direct Access SCSI-0 device
> da0: 135.168MB/s transfers
> SdMaP0::  ACPo mCmPaUn d# 1Q uLeauuenicnhge dE!n
> abled
> da0: 69452MB (142239510 512 bSyMtPe:  sAePc tCoPrUs :# 22 5L5aunHc
> h6e3dS/!T
>  8854C)
> SMP: AP CPU #3 Launched!
> Trying to mount root from ufs:/dev/da0s1a
> bge0: link state changed to UP
>
> _______________________________________________
> freebsd-stable@... mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@..."
>
_______________________________________________
freebsd-acpi@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@..."

Re: FreeBSD 7.2-STABLE boot freeze when calibrating clock.

by Bugzilla from avg@icyb.net.ua :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

on 22/09/2009 11:35 kama said the following:

> Ok.
>
> I added KDB DDB and ACPI_DEBUG to the kernel and it then boots but with
> this error:
>
> ---- snip ----
> Preloaded elf kernel "/boot/kernel/kernel" at 0xc0ed3000.
> Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0ed31d8.
> link_elf: symbol AcpiDmDumpMethodInfo undefined
> KLD file acpi.ko - could not finalize loading
> Calibrating clock(s) ... i8254 clock: 1193120 Hz
> CLK_USE_I8254_CALIBRATION not specified - using default frequency
> Timecounter "i8254" frequency 1193182 Hz quality 0
> Calibrating TSC clock ... TSC clock: 2605923359 Hz
> CPU: AMD Opteron(tm) Processor 285 (2605.92-MHz 686-class CPU)
> ---- snap ----
>
> What else can I do to help you to figure this out?


This is a very strange error.
Did you install a binary distribution or did build your kernel from sources?
>From your demsg I think that it is the latter.
And I believe that your source tree may be damaged somehow.
Please try again with a clean checkout from (- this is important -) a known good
place, some cvsup mirrors have been known to serve inconsistent sources.


> On Mon, 21 Sep 2009, kama wrote:
>
>> Hi.
>>
>> I have recently upgraded the server from 6.X -> Latest 6.X -> 7.2. But
>> after the upgrade it boots OK once and after that it freezes.
>>
>> Verbose boot give me these lines:
>>
>> ---- snip ----
>> Copyright (c) 1992-2009 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 is a registered trademark of The FreeBSD Foundation.
>> FreeBSD 7.2-STABLE #2: Fri Sep 18 13:22:40 CEST 2009
>>     root@gs4:/usr/obj/usr/src/sys/GENERIC
>> Preloaded elf kernel "/boot/kernel/kernel" at 0xc0e7e000.
>> Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0e7e1d8.
>> Calibrating clock(s) ... i8254 clock: 1193116 Hz
>> CLK_USE_I8254_CALIBRATION not specified - using default frequency
>> Timecounter "i8254" frequency 1193182 Hz quality 0
>> Calibrating TSC clock ...
>> ---- snap ----
>>
>> I can boot the system without ACPI enabled w/o problem. But once it is
>> enabled it will freeze at this point.
>>
>> This has happend on both servers I have upgraded. Both of them are
>> identical.
>>
>> /Bjorn
>>
>> Full dmesg w acpi disabled:
>>
>> %dmesg
>> Copyright (c) 1992-2009 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 is a registered trademark of The FreeBSD Foundation.
>> FreeBSD 7.2-STABLE #2: Fri Sep 18 13:22:40 CEST 2009
>>     root@gs4:/usr/obj/usr/src/sys/GENERIC
>> Timecounter "i8254" frequency 1193182 Hz quality 0
>> CPU: AMD Opteron(tm) Processor 285 (2605.93-MHz 686-class CPU)
>>   Origin = "AuthenticAMD"  Id = 0x20f12  Stepping = 2
>>
>> Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
>>   Features2=0x1<SSE3>
>>   AMD Features=0xe2500800<SYSCALL,NX,MMX+,FFXSR,LM,3DNow!+,3DNow!>
>>   AMD Features2=0x2<CMP>
>>   Cores per package: 2
>> real memory  = 3221192704 (3071 MB)
>> avail memory = 3146604544 (3000 MB)
>> MPTable: <HP       PROLIANT    >
>> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
>>  cpu0 (BSP): APIC ID:  0
>>  cpu1 (AP): APIC ID:  1
>>  cpu2 (AP): APIC ID:  2
>>  cpu3 (AP): APIC ID:  3
>> ioapic0: Assuming intbase of 0
>> ioapic1: Assuming intbase of 24
>> ioapic2: Assuming intbase of 28
>> ioapic3: Assuming intbase of 32
>> ioapic4: Assuming intbase of 36
>> ioapic0 <Version 1.1> irqs 0-23 on motherboard
>> ioapic1 <Version 1.1> irqs 24-27 on motherboard
>> ioapic2 <Version 1.1> irqs 28-31 on motherboard
>> ioapic3 <Version 1.1> irqs 32-35 on motherboard
>> ioapic4 <Version 1.1> irqs 36-39 on motherboard
>> kbd1 at kbdmux0
>> pcib0: <Host to PCI bridge> pcibus 0 on motherboard
>> pci0: <PCI bus> on pcib0
>> pcib1: <MPTable PCI-PCI bridge> at device 3.0 on pci0
>> pci1: <PCI bus> on pcib1
>> ohci0: <OHCI (generic) USB controller> mem 0xf7df0000-0xf7df0fff irq 19 at
>> device 0.0 on pci1
>> ohci0: [GIANT-LOCKED]
>> ohci0: [ITHREAD]
>> usb0: OHCI version 1.0, legacy support
>> usb0: SMM does not respond, resetting
>> usb0: <OHCI (generic) USB controller> on ohci0
>> usb0: USB revision 1.0
>> uhub0: <AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
>> uhub0: 3 ports with 3 removable, self powered
>> ohci1: <OHCI (generic) USB controller> mem 0xf7de0000-0xf7de0fff irq 19 at
>> device 0.1 on pci1
>> ohci1: [GIANT-LOCKED]
>> ohci1: [ITHREAD]
>> usb1: OHCI version 1.0, legacy support
>> usb1: SMM does not respond, resetting
>> usb1: <OHCI (generic) USB controller> on ohci1
>> usb1: USB revision 1.0
>> uhub1: <AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
>> uhub1: 3 ports with 3 removable, self powered
>> pci1: <base peripheral> at device 2.0 (no driver attached)
>> pci1: <base peripheral> at device 2.2 (no driver attached)
>> vgapci0: <VGA-compatible display> port 0x4400-0x44ff mem
>> 0xf6000000-0xf6ffffff,0xf5ff0000-0xf5ff0fff at device 3.0 on pci1
>> isab0: <PCI-ISA bridge> at device 4.0 on pci0
>> isa0: <ISA bus> on isab0
>> atapci0: <AMD 8111 UDMA133 controller> port
>> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2000-0x200f at device 4.1 on pci0
>> ata0: <ATA channel 0> on atapci0
>> ata0: [ITHREAD]
>> ata1: <ATA channel 1> on atapci0
>> ata1: [ITHREAD]
>> pci0: <bridge> at device 4.3 (no driver attached)
>> pcib2: <MPTable PCI-PCI bridge> at device 7.0 on pci0
>> pci2: <PCI bus> on pcib2
>> ciss0: <HP Smart Array 6i> port 0x5000-0x50ff mem
>> 0xf7ef0000-0xf7ef1fff,0xf7e80000-0xf7ebffff irq 24 at device 4.0 on pci2
>> ciss0: [ITHREAD]
>> pcib3: <MPTable PCI-PCI bridge> at device 8.0 on pci0
>> pci3: <PCI bus> on pcib3
>> bge0: <HP NC7782 Gigabit Server Adapter, ASIC rev. 0x2100> mem
>> 0xf7ff0000-0xf7ffffff irq 28 at device 6.0 on pci3
>> miibus0: <MII bus> on bge0
>> brgphy0: <BCM5704 10/100/1000baseTX PHY> PHY 1 on miibus0
>> brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
>> 1000baseT-FDX, auto
>> bge0: Ethernet address: 00:17:a4:8d:f9:2a
>> bge0: [ITHREAD]
>> bge1: <HP NC7782 Gigabit Server Adapter, ASIC rev. 0x2100> mem
>> 0xf7fe0000-0xf7feffff irq 29 at device 6.1 on pci3
>> miibus1: <MII bus> on bge1
>> brgphy1: <BCM5704 10/100/1000baseTX PHY> PHY 1 on miibus1
>> brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
>> 1000baseT-FDX, auto
>> bge1: Ethernet address: 00:17:a4:8d:f9:29
>> bge1: [ITHREAD]
>> cpu0 on motherboard
>> powernow0: <Cool`n'Quiet K8> on cpu0
>> device_attach: powernow0 attach returned 6
>> cpu1 on motherboard
>> powernow1: <Cool`n'Quiet K8> on cpu1
>> device_attach: powernow1 attach returned 6
>> cpu2 on motherboard
>> powernow2: <Cool`n'Quiet K8> on cpu2
>> device_attach: powernow2 attach returned 6
>> cpu3 on motherboard
>> powernow3: <Cool`n'Quiet K8> on cpu3
>> device_attach: powernow3 attach returned 6
>> eisa0: <EISA bus> on motherboard
>> mainboard0: <CPQ0755 (System Board)> at slot 0 on eisa0
>> pnpbios: error 1/82 getting device count/size limit
>> pmtimer0 on isa0
>> orm0: <ISA Option ROMs> at iomem
>> 0xc0000-0xc7fff,0xc8000-0xcbfff,0xee000-0xeffff pnpid ORM0000 on isa0
>> atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
>> atkbd0: <AT Keyboard> irq 1 on atkbdc0
>> kbd0 at atkbd0
>> atkbd0: [GIANT-LOCKED]
>> atkbd0: [ITHREAD]
>> psm0: <PS/2 Mouse> irq 12 on atkbdc0
>> psm0: [GIANT-LOCKED]
>> psm0: [ITHREAD]
>> psm0: model Generic PS/2 mouse, device ID 0
>> fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2
>> on isa0
>> fdc0: [FILTER]
>> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
>> ppc0: parallel port not found.
>> sc0: <System console> at flags 0x100 on isa0
>> sc0: VGA <16 virtual consoles, flags=0x300>
>> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
>> sio0: type 16550A
>> sio0: [FILTER]
>> sio1 at port 0x2f8-0x2ff irq 3 on isa0
>> sio1: type 16550A
>> sio1: [FILTER]
>> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
>> Timecounters tick every 1.000 msec
>> acd0: CDROM <TSSTcorpCD-ROM TS-L162C/N204> at ata0-master UDMA33
>> da0 at ciss0 bus 0 target 0 lun 0
>> da0: <COMPAQ RAID 1  VOLUME OK> Fixed Direct Access SCSI-0 device
>> da0: 135.168MB/s transfers
>> SdMaP0::  ACPo mCmPaUn d# 1Q uLeauuenicnhge dE!n
>> abled
>> da0: 69452MB (142239510 512 bSyMtPe:  sAePc tCoPrUs :# 22 5L5aunHc
>> h6e3dS/!T
>>  8854C)
>> SMP: AP CPU #3 Launched!
>> Trying to mount root from ufs:/dev/da0s1a
>> bge0: link state changed to UP
>>
>> _______________________________________________
>> freebsd-stable@... mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@..."
>>
> _______________________________________________
> freebsd-stable@... mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@..."
>


--
Andriy Gapon
_______________________________________________
freebsd-acpi@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@..."

Re: FreeBSD 7.2-STABLE boot freeze when calibrating clock.

by kama-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



On Tue, 22 Sep 2009, Andriy Gapon wrote:

> on 22/09/2009 11:35 kama said the following:
> > Ok.
> >
> > I added KDB DDB and ACPI_DEBUG to the kernel and it then boots but with
> > this error:
> >
> > ---- snip ----
> > Preloaded elf kernel "/boot/kernel/kernel" at 0xc0ed3000.
> > Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0ed31d8.
> > link_elf: symbol AcpiDmDumpMethodInfo undefined
> > KLD file acpi.ko - could not finalize loading
> > Calibrating clock(s) ... i8254 clock: 1193120 Hz
> > CLK_USE_I8254_CALIBRATION not specified - using default frequency
> > Timecounter "i8254" frequency 1193182 Hz quality 0
> > Calibrating TSC clock ... TSC clock: 2605923359 Hz
> > CPU: AMD Opteron(tm) Processor 285 (2605.92-MHz 686-class CPU)
> > ---- snap ----
> >
> > What else can I do to help you to figure this out?
>
>
> This is a very strange error.
> Did you install a binary distribution or did build your kernel from sources?
> >From your demsg I think that it is the latter.
> And I believe that your source tree may be damaged somehow.
> Please try again with a clean checkout from (- this is important -) a known good
> place, some cvsup mirrors have been known to serve inconsistent sources.

I have now changed from cvsup.dk.freebsd.org to cvsup.freebsd.org with no
luck.

These are the steps I do (and have done for ages):
# cd /usr/src
# make clean cleandir
# cd ..
# rm -rf src/* obj/*
# cd
# csup stable-supfile-7
# cd /usr/src
# make buildworld
# make buildkernel
# make installkernel
# mergemaster -p
# make installworld
# mergemaster -U -i
# reboot

I see that there are a newer BIOS on the HP homepage for this DL385. I
will try to update the BIOS later this week.

The servers are not up to be in production until early november, so there
are some time to test things.

/Bjorn
_______________________________________________
freebsd-acpi@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@..."

Re: FreeBSD 7.2-STABLE boot freeze when calibrating clock.

by Bugzilla from avg@icyb.net.ua :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

on 22/09/2009 16:48 kama said the following:

>
> On Tue, 22 Sep 2009, Andriy Gapon wrote:
>
>> on 22/09/2009 11:35 kama said the following:
>>> Ok.
>>>
>>> I added KDB DDB and ACPI_DEBUG to the kernel and it then boots but with
>>> this error:
>>>
>>> ---- snip ----
>>> Preloaded elf kernel "/boot/kernel/kernel" at 0xc0ed3000.
>>> Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0ed31d8.
>>> link_elf: symbol AcpiDmDumpMethodInfo undefined
>>> KLD file acpi.ko - could not finalize loading
>>> Calibrating clock(s) ... i8254 clock: 1193120 Hz
>>> CLK_USE_I8254_CALIBRATION not specified - using default frequency
>>> Timecounter "i8254" frequency 1193182 Hz quality 0
>>> Calibrating TSC clock ... TSC clock: 2605923359 Hz
>>> CPU: AMD Opteron(tm) Processor 285 (2605.92-MHz 686-class CPU)
>>> ---- snap ----
>>>
>>> What else can I do to help you to figure this out?
>>
>> This is a very strange error.
>> Did you install a binary distribution or did build your kernel from sources?
>> >From your demsg I think that it is the latter.
>> And I believe that your source tree may be damaged somehow.
>> Please try again with a clean checkout from (- this is important -) a known good
>> place, some cvsup mirrors have been known to serve inconsistent sources.
>
> I have now changed from cvsup.dk.freebsd.org to cvsup.freebsd.org with no
> luck.
>
> These are the steps I do (and have done for ages):
> # cd /usr/src
> # make clean cleandir
> # cd ..
> # rm -rf src/* obj/*
> # cd
> # csup stable-supfile-7
> # cd /usr/src
> # make buildworld
> # make buildkernel
> # make installkernel
> # mergemaster -p
> # make installworld
> # mergemaster -U -i
> # reboot
>
> I see that there are a newer BIOS on the HP homepage for this DL385. I
> will try to update the BIOS later this week.
>
> The servers are not up to be in production until early november, so there
> are some time to test things.
>

I specifically meant this message:
link_elf: symbol AcpiDmDumpMethodInfo undefined

$ glimpse AcpiDmDumpMethodInfo
/usr/src/sys/contrib/dev/acpica/dmobject.c:  * FUNCTION:    AcpiDmDumpMethodInfo
/usr/src/sys/contrib/dev/acpica/dmobject.c: AcpiDmDumpMethodInfo (
/usr/src/sys/contrib/dev/acpica/dsmethod.c:         AcpiDmDumpMethodInfo (Status,
WalkState, WalkState->Op);
/usr/src/sys/contrib/dev/acpica/acdisasm.h: AcpiDmDumpMethodInfo (

So this function is both defined and used only inside acpi code (vendor part of it).
The error you get does not seem to be a run-time condition.
It seems to be a system build/install issue (and it looks like the issue is unique
to you).
I am almost out of guesses, maybe you have stale acpi.ko module in some modules
directory.

Hmm, one last idea - maybe you have something like "build modules with world"
option and also perhaps ACPI_DEBUG is defined somewhere?
It could be that something gets out of sync with respect to ACPI_DISASSEMBLER macro.
Output of the following command may be useful:
$ nm -A /boot/kernel/* | fgrep AcpiDmDumpMethodInfo

Could you please try investigating this? Maybe even include acpi into kernel?

--
Andriy Gapon
_______________________________________________
freebsd-acpi@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@..."

Re: FreeBSD 7.2-STABLE boot freeze when calibrating clock.

by kama-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



> > I see that there are a newer BIOS on the HP homepage for this DL385. I
> > will try to update the BIOS later this week.
> >
> > The servers are not up to be in production until early november, so there
> > are some time to test things.
> >
>
> I specifically meant this message:
> link_elf: symbol AcpiDmDumpMethodInfo undefined
>
> $ glimpse AcpiDmDumpMethodInfo
> /usr/src/sys/contrib/dev/acpica/dmobject.c:  * FUNCTION:    AcpiDmDumpMethodInfo
> /usr/src/sys/contrib/dev/acpica/dmobject.c: AcpiDmDumpMethodInfo (
> /usr/src/sys/contrib/dev/acpica/dsmethod.c:         AcpiDmDumpMethodInfo (Status,
> WalkState, WalkState->Op);
> /usr/src/sys/contrib/dev/acpica/acdisasm.h: AcpiDmDumpMethodInfo (
>
> So this function is both defined and used only inside acpi code (vendor part of it).
> The error you get does not seem to be a run-time condition.
> It seems to be a system build/install issue (and it looks like the issue is unique
> to you).
> I am almost out of guesses, maybe you have stale acpi.ko module in some modules
> directory.
>
> Hmm, one last idea - maybe you have something like "build modules with world"
> option and also perhaps ACPI_DEBUG is defined somewhere?

No, this is a clean installed system. Nothing in make.conf or src.conf.
And loader.conf is empty.

> It could be that something gets out of sync with respect to ACPI_DISASSEMBLER macro.
> Output of the following command may be useful:
> $ nm -A /boot/kernel/* | fgrep AcpiDmDumpMethodInfo

g24# nm -A /boot/kernel/* | fgrep AcpiDmDumpMethodInfo
/boot/kernel/acpi.ko:         U AcpiDmDumpMethodInfo
/boot/kernel/acpi.ko.symbols:         U AcpiDmDumpMethodInfo
nm: /boot/kernel/linker.hints: File format not recognized
g24#

> Could you please try investigating this? Maybe even include acpi into kernel?

Just adding 'device acpi' into the generic kernel made it boot
successfully. (without KDB DDB ACPI_DEBUG)

Here are the outputfiles suggested from the webpage:

http://fbsd-err.pvp.se/acpidump_acpi_compiled.asl
http://fbsd-err.pvp.se/dmesg_acpi_compiled.txt
http://fbsd-err.pvp.se/sysctl_acpi_compiled.txt

Please let me know what else to test or if you want more data...

Later today I will head over to the datacenter to swap a failed disk and
will then also update the BIOS on these servers. I'll post a message how
that goes later tonight.

/Bjorn
_______________________________________________
freebsd-acpi@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@..."

Re: FreeBSD 7.2-STABLE boot freeze when calibrating clock.

by Bugzilla from avg@icyb.net.ua :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

on 23/09/2009 15:47 kama said the following:
> g24# nm -A /boot/kernel/* | fgrep AcpiDmDumpMethodInfo
> /boot/kernel/acpi.ko:         U AcpiDmDumpMethodInfo
> /boot/kernel/acpi.ko.symbols:         U AcpiDmDumpMethodInfo

So this is what I was talking about - this symbol should not be undefined after
normal build. This symbol should not be present and referenced at all unless
ACPI_DISASSEMBLER is defined.
This is clearly a build problem of some sort.

> Just adding 'device acpi' into the generic kernel made it boot
> successfully. (without KDB DDB ACPI_DEBUG)

I am glad that this worked :)

> Here are the outputfiles suggested from the webpage:
>
> http://fbsd-err.pvp.se/acpidump_acpi_compiled.asl
> http://fbsd-err.pvp.se/dmesg_acpi_compiled.txt
> http://fbsd-err.pvp.se/sysctl_acpi_compiled.txt

This doesn't make it nay clearer why you get that build problem.

--
Andriy Gapon
_______________________________________________
freebsd-acpi@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@..."

Re: FreeBSD 7.2-STABLE boot freeze when calibrating clock.

by kama-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Wed, 23 Sep 2009, Andriy Gapon wrote:

> on 23/09/2009 15:47 kama said the following:
> > g24# nm -A /boot/kernel/* | fgrep AcpiDmDumpMethodInfo
> > /boot/kernel/acpi.ko:         U AcpiDmDumpMethodInfo
> > /boot/kernel/acpi.ko.symbols:         U AcpiDmDumpMethodInfo
>
> So this is what I was talking about - this symbol should not be undefined after
> normal build. This symbol should not be present and referenced at all unless
> ACPI_DISASSEMBLER is defined.
> This is clearly a build problem of some sort.

Even though they dont exists on a acpi_debug kernel. It does not really
matter since the real problem is that freebsd freezes on a normal generic
config.

> > Just adding 'device acpi' into the generic kernel made it boot
> > successfully. (without KDB DDB ACPI_DEBUG)
>
> I am glad that this worked :)

Me too. As a work around. But I would prefer a GENERIC kernel to boot.

> > Here are the outputfiles suggested from the webpage:
> >
> > http://fbsd-err.pvp.se/acpidump_acpi_compiled.asl
> > http://fbsd-err.pvp.se/dmesg_acpi_compiled.txt
> > http://fbsd-err.pvp.se/sysctl_acpi_compiled.txt
>
> This doesn't make it nay clearer why you get that build problem.

I dunno. I dont have any insight into kernel programming. Hence trying to
get information how to help the people to fix the actual problem. That the
server freezes at boot. Im kind of lucky to have HP ILO on my side, to
test things. =)

But I will upgrade the BIOS. If that does not work, I'll try a clean
7.2-REL install.

/Bjorn

PS.
Another unrelated issue. I get a bounce everytime I send a mail to you.

Final-Recipient: rfc822; avg@...
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; host mt.icyb.net.ua[212.40.38.132] said: 550
    (LHP01) Not accepted (in reply to RCPT TO command)
DS.
_______________________________________________
freebsd-acpi@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@..."

Re: FreeBSD 7.2-STABLE boot freeze when calibrating clock.

by Andriy Gapon-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

on 23/09/2009 18:19 kama said the following:

> On Wed, 23 Sep 2009, Andriy Gapon wrote:
>
>> on 23/09/2009 15:47 kama said the following:
>>> g24# nm -A /boot/kernel/* | fgrep AcpiDmDumpMethodInfo
>>> /boot/kernel/acpi.ko:         U AcpiDmDumpMethodInfo
>>> /boot/kernel/acpi.ko.symbols:         U AcpiDmDumpMethodInfo
>> So this is what I was talking about - this symbol should not be undefined after
>> normal build. This symbol should not be present and referenced at all unless
>> ACPI_DISASSEMBLER is defined.
>> This is clearly a build problem of some sort.
>
> Even though they dont exists on a acpi_debug kernel. It does not really
> matter since the real problem is that freebsd freezes on a normal generic
> config.

What is acpi_debug kernel?
And FreeBSD does not freeze on "a normal generic config".
It freezes because of a mysterious build bug that only you seem to have (so far).

>>> Just adding 'device acpi' into the generic kernel made it boot
>>> successfully. (without KDB DDB ACPI_DEBUG)
>> I am glad that this worked :)
>
> Me too. As a work around. But I would prefer a GENERIC kernel to boot.

True GENERIC kernel is the one that you get from FreeBSD.Org :-)
The one that you built yourself even using GENERIC config can always get tainted
by unspecified problems with your build environment.
Can you reproduce this problem if you build world, install it somewhere, chroot to
it and then build a GENERIC kernel? (with no tweaking between the steps)

>From practical point of view, I don't see why moving acpi from module to kernel
could be an issue.

>>> Here are the outputfiles suggested from the webpage:
>>>
>>> http://fbsd-err.pvp.se/acpidump_acpi_compiled.asl
>>> http://fbsd-err.pvp.se/dmesg_acpi_compiled.txt
>>> http://fbsd-err.pvp.se/sysctl_acpi_compiled.txt
>> This doesn't make it nay clearer why you get that build problem.
>
> I dunno. I dont have any insight into kernel programming. Hence trying to
> get information how to help the people to fix the actual problem. That the
> server freezes at boot. Im kind of lucky to have HP ILO on my side, to
> test things. =)
>
> But I will upgrade the BIOS. If that does not work, I'll try a clean
> 7.2-REL install.

BIOS upgrade may improve some things for you, but I'd be very surprised if it
fixes the build problem in question.

> PS.
> Another unrelated issue. I get a bounce everytime I send a mail to you.
>
> Final-Recipient: rfc822; avg@...
> Action: failed
> Status: 5.0.0
> Diagnostic-Code: X-Postfix; host mt.icyb.net.ua[212.40.38.132] said: 550
>     (LHP01) Not accepted (in reply to RCPT TO command)

I'll investigate this.
Meanwhile I will use my freebsd.org address in From.

--
Andriy Gapon
_______________________________________________
freebsd-acpi@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@..."

Re: FreeBSD 7.2-STABLE boot freeze (was: when calibrating clock.)

by kama-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



On Wed, 23 Sep 2009, Andriy Gapon wrote:

> on 23/09/2009 18:19 kama said the following:
> > On Wed, 23 Sep 2009, Andriy Gapon wrote:
> >
> >> on 23/09/2009 15:47 kama said the following:
> >>> g24# nm -A /boot/kernel/* | fgrep AcpiDmDumpMethodInfo
> >>> /boot/kernel/acpi.ko:         U AcpiDmDumpMethodInfo
> >>> /boot/kernel/acpi.ko.symbols:         U AcpiDmDumpMethodInfo
> >> So this is what I was talking about - this symbol should not be undefined after
> >> normal build. This symbol should not be present and referenced at all unless
> >> ACPI_DISASSEMBLER is defined.
> >> This is clearly a build problem of some sort.
> >
> > Even though they dont exists on a acpi_debug kernel. It does not really
> > matter since the real problem is that freebsd freezes on a normal generic
> > config.
>
> What is acpi_debug kernel?

The one with option ACPI_DEBUG in it.

> And FreeBSD does not freeze on "a normal generic config".
> It freezes because of a mysterious build bug that only you seem to have (so far).
>
> >>> Just adding 'device acpi' into the generic kernel made it boot
> >>> successfully. (without KDB DDB ACPI_DEBUG)
> >> I am glad that this worked :)
> >
> > Me too. As a work around. But I would prefer a GENERIC kernel to boot.
>
> True GENERIC kernel is the one that you get from FreeBSD.Org :-)
> The one that you built yourself even using GENERIC config can always get tainted
> by unspecified problems with your build environment.
> Can you reproduce this problem if you build world, install it somewhere, chroot to
> it and then build a GENERIC kernel? (with no tweaking between the steps)

Actually I spoke to fast. After an reboot it hanged again.

> >From practical point of view, I don't see why moving acpi from module to kernel
> could be an issue.
>
> >>> Here are the outputfiles suggested from the webpage:
> >>>
> >>> http://fbsd-err.pvp.se/acpidump_acpi_compiled.asl
> >>> http://fbsd-err.pvp.se/dmesg_acpi_compiled.txt
> >>> http://fbsd-err.pvp.se/sysctl_acpi_compiled.txt
> >> This doesn't make it nay clearer why you get that build problem.
> >
> > I dunno. I dont have any insight into kernel programming. Hence trying to
> > get information how to help the people to fix the actual problem. That the
> > server freezes at boot. Im kind of lucky to have HP ILO on my side, to
> > test things. =)
> >
> > But I will upgrade the BIOS. If that does not work, I'll try a clean
> > 7.2-REL install.
>
> BIOS upgrade may improve some things for you, but I'd be very surprised if it
> fixes the build problem in question.

Well, it did not improve anything. Apperently the output from ILO is not
the correct one. Probably it freezes the output to ILO before it can
update the screen. (I run ILO through SSH)

I took a photo of the actual output presented on a CRT.

http://fbsd-err.pvp.se/fbsd-freeze-dl385.jpg

(sorry for the blury image, but I cant get it any better from my
cellphone)

I did not have time to reinstall the system from scratch. But that can be
done remotely if needed.

I am currently building the source on another machine. Lets see if it will
build it any better.

(Remember that this happens on two different servers that are specified
the exact same way)

/Bjorn
_______________________________________________
freebsd-acpi@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@..."

Re: FreeBSD 7.2-STABLE boot freeze (was: when calibrating clock.)

by kama-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Thu, 24 Sep 2009, kama wrote:

> I am currently building the source on another machine. Lets see if it will
> build it any better.

Building the the world on another machine and install it on the DL385
machine made it also to freeze.

/Bjorn
_______________________________________________
freebsd-acpi@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@..."

Re: FreeBSD 7.2-STABLE boot freeze

by Andriy Gapon-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

on 25/09/2009 12:04 kama said the following:
> On Thu, 24 Sep 2009, kama wrote:
>
>> I am currently building the source on another machine. Lets see if it will
>> build it any better.
>
> Building the the world on another machine and install it on the DL385
> machine made it also to freeze.

Did you still get the message about unresolved symbol?

--
Andriy Gapon
_______________________________________________
freebsd-acpi@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@..."

Re: FreeBSD 7.2-STABLE boot freeze

by kama-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



On Fri, 25 Sep 2009, Andriy Gapon wrote:

> on 25/09/2009 12:04 kama said the following:
> > On Thu, 24 Sep 2009, kama wrote:
> >
> >> I am currently building the source on another machine. Lets see if it will
> >> build it any better.
> >
> > Building the the world on another machine and install it on the DL385
> > machine made it also to freeze.
>
> Did you still get the message about unresolved symbol?

I did not try with ACPI_DEBUG enabled.

Another week, so I can start testing again...

/Bjorn
_______________________________________________
freebsd-acpi@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@..."

Re: FreeBSD 7.2-STABLE boot freeze

by Andriy Gapon-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

on 28/09/2009 10:21 kama said the following:

>
> On Fri, 25 Sep 2009, Andriy Gapon wrote:
>
>> on 25/09/2009 12:04 kama said the following:
>>> On Thu, 24 Sep 2009, kama wrote:
>>>
>>>> I am currently building the source on another machine. Lets see if it will
>>>> build it any better.
>>> Building the the world on another machine and install it on the DL385
>>> machine made it also to freeze.
>> Did you still get the message about unresolved symbol?
>
> I did not try with ACPI_DEBUG enabled.
>
> Another week, so I can start testing again...

I did not ask that :-)
I asked -  when you got your latest freeze, did you see that 'unresolved'
message or not?


--
Andriy Gapon
_______________________________________________
freebsd-acpi@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@..."

Re: FreeBSD 7.2-STABLE boot freeze

by kama-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



On Mon, 28 Sep 2009, Andriy Gapon wrote:

> on 28/09/2009 10:21 kama said the following:
> >
> > On Fri, 25 Sep 2009, Andriy Gapon wrote:
> >
> >> on 25/09/2009 12:04 kama said the following:
> >>> On Thu, 24 Sep 2009, kama wrote:
> >>>
> >>>> I am currently building the source on another machine. Lets see if it will
> >>>> build it any better.
> >>> Building the the world on another machine and install it on the DL385
> >>> machine made it also to freeze.
> >> Did you still get the message about unresolved symbol?
> >
> > I did not try with ACPI_DEBUG enabled.
> >
> > Another week, so I can start testing again...
>
> I did not ask that :-)
> I asked -  when you got your latest freeze, did you see that 'unresolved'
> message or not?

But that only appears when I enable ACPI_DEBUG.

/Bjorn
_______________________________________________
freebsd-acpi@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@..."

Re: FreeBSD 7.2-STABLE boot freeze

by Bjorn Hellqvist :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Mon, 28 Sep 2009, kama wrote:

>
>
> On Mon, 28 Sep 2009, Andriy Gapon wrote:
>
> > on 28/09/2009 10:21 kama said the following:
> > >
> > > On Fri, 25 Sep 2009, Andriy Gapon wrote:
> > >
> > >> on 25/09/2009 12:04 kama said the following:
> > >>> On Thu, 24 Sep 2009, kama wrote:
> > >>>
> > >>>> I am currently building the source on another machine. Lets see if it will
> > >>>> build it any better.
> > >>> Building the the world on another machine and install it on the DL385
> > >>> machine made it also to freeze.
> > >> Did you still get the message about unresolved symbol?
> > >
> > > I did not try with ACPI_DEBUG enabled.
> > >
> > > Another week, so I can start testing again...
> >
> > I did not ask that :-)
> > I asked -  when you got your latest freeze, did you see that 'unresolved'
> > message or not?
>
> But that only appears when I enable ACPI_DEBUG.


And yes. It stills gets the same undefined symbols. (I presume its these
you are referring to...)

# dmesg | grep -i acpi
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0ed31d8.
link_elf: symbol AcpiDmDumpMethodInfo undefined
KLD file acpi.ko - could not finalize loading

# nm -A /boot/kernel/* | fgrep AcpiDmDumpMethodInfo
/boot/kernel/acpi.ko:         U AcpiDmDumpMethodInfo
/boot/kernel/acpi.ko.symbols:         U AcpiDmDumpMethodInfo
nm: /boot/kernel/linker.hints: File format not recognized

# uname -a
FreeBSD g24.gs.pvp.se 7.2-STABLE FreeBSD 7.2-STABLE #0: Mon Sep 28
13:39:01 CEST 2009     root@...:/usr/obj/usr/src/sys/ddb  i386

# diff -ub /usr/src/sys/i386/conf/GENERIC  /usr/src/sys/i386/conf/ddb
--- /usr/src/sys/i386/conf/GENERIC      2009-07-15 10:32:19.000000000
+0200
+++ /usr/src/sys/i386/conf/ddb  2009-09-28 13:25:20.000000000 +0200
@@ -67,6 +67,10 @@
 options        AUDIT                   # Security event auditing
 #options       KDTRACE_HOOKS           # Kernel DTrace hooks

+options                KDB
+options                DDB
+options         ACPI_DEBUG
+
 # To make an SMP kernel, the next two lines are needed
 options        SMP                     # Symmetric MultiProcessor Kernel
 device         apic                    # I/O APIC
#


Its too bad that I cant get into the debugger. The server gets
unresponsive when the freeze occurs. Is there any other option that I can
add so it goes to the debugger?

/Bjorn
_______________________________________________
freebsd-acpi@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@..."

Re: FreeBSD 7.2-STABLE boot freeze

by Andriy Gapon-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

on 29/09/2009 09:58 Bjorn Hellqvist said the following:

> On Mon, 28 Sep 2009, kama wrote:
>
>>
>> On Mon, 28 Sep 2009, Andriy Gapon wrote:
>>
>>> on 28/09/2009 10:21 kama said the following:
>>>> On Fri, 25 Sep 2009, Andriy Gapon wrote:
>>>>
>>>>> on 25/09/2009 12:04 kama said the following:
>>>>>> On Thu, 24 Sep 2009, kama wrote:
>>>>>>
>>>>>>> I am currently building the source on another machine. Lets see if it will
>>>>>>> build it any better.
>>>>>> Building the the world on another machine and install it on the DL385
>>>>>> machine made it also to freeze.
>>>>> Did you still get the message about unresolved symbol?
>>>> I did not try with ACPI_DEBUG enabled.
>>>>
>>>> Another week, so I can start testing again...
>>> I did not ask that :-)
>>> I asked -  when you got your latest freeze, did you see that 'unresolved'
>>> message or not?
>> But that only appears when I enable ACPI_DEBUG.

OK, then I was thoroughly confused all this time.
I thought that the message appeared when didn't have ACPI_DEBUG.

> And yes. It stills gets the same undefined symbols. (I presume its these
> you are referring to...)
>
> # dmesg | grep -i acpi
> Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0ed31d8.
> link_elf: symbol AcpiDmDumpMethodInfo undefined
> KLD file acpi.ko - could not finalize loading
>
> # nm -A /boot/kernel/* | fgrep AcpiDmDumpMethodInfo
> /boot/kernel/acpi.ko:         U AcpiDmDumpMethodInfo
> /boot/kernel/acpi.ko.symbols:         U AcpiDmDumpMethodInfo
> nm: /boot/kernel/linker.hints: File format not recognized
>
> # uname -a
> FreeBSD g24.gs.pvp.se 7.2-STABLE FreeBSD 7.2-STABLE #0: Mon Sep 28
> 13:39:01 CEST 2009     root@...:/usr/obj/usr/src/sys/ddb  i386
>
> # diff -ub /usr/src/sys/i386/conf/GENERIC  /usr/src/sys/i386/conf/ddb
> --- /usr/src/sys/i386/conf/GENERIC      2009-07-15 10:32:19.000000000
> +0200
> +++ /usr/src/sys/i386/conf/ddb  2009-09-28 13:25:20.000000000 +0200
> @@ -67,6 +67,10 @@
>  options        AUDIT                   # Security event auditing
>  #options       KDTRACE_HOOKS           # Kernel DTrace hooks
>
> +options                KDB
> +options                DDB
> +options         ACPI_DEBUG
> +
>  # To make an SMP kernel, the next two lines are needed
>  options        SMP                     # Symmetric MultiProcessor Kernel
>  device         apic                    # I/O APIC
> #
>
>
> Its too bad that I cant get into the debugger. The server gets
> unresponsive when the freeze occurs. Is there any other option that I can
> add so it goes to the debugger?

Serial console and remote debugging perhaps?

Anyway, I'll try to see if I can reproduce undefined symbol issue here.

Not that it would matter much for resolution of your main problem (freeze).
Honestly, I have no clue about it.

--
Andriy Gapon
_______________________________________________
freebsd-acpi@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@..."

Re: FreeBSD 7.2-STABLE boot freeze

by kama-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Tue, 29 Sep 2009, Andriy Gapon wrote:

> Serial console and remote debugging perhaps?

ILO is serial console or rather console++, since you can even see the
whole bootup sequence, change bios. But thats if you connect through their
webinterface

Just point me what other options I could try to get a proper dump or bt.

> Anyway, I'll try to see if I can reproduce undefined symbol issue here.
>
> Not that it would matter much for resolution of your main problem (freeze).
> Honestly, I have no clue about it.

Ok. Hopefully someone else knows what can produce these freezes.

/Bjorn
_______________________________________________
freebsd-acpi@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@..."

Re: FreeBSD 7.2-STABLE boot freeze

by Andriy Gapon-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

on 29/09/2009 21:50 kama said the following:
> On Tue, 29 Sep 2009, Andriy Gapon wrote:
>
>> Serial console and remote debugging perhaps?
>
> ILO is serial console or rather console++, since you can even see the
> whole bootup sequence, change bios. But thats if you connect through their
> webinterface
>
> Just point me what other options I could try to get a proper dump or bt.

Perhaps you could still use the following:
http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-online-gdb.html
Otherwise, no ideas.

>> Anyway, I'll try to see if I can reproduce undefined symbol issue here.
>>
>> Not that it would matter much for resolution of your main problem (freeze).
>> Honestly, I have no clue about it.
>
> Ok. Hopefully someone else knows what can produce these freezes.

BTW, remembering something you said earlier - does including acpi device into
kernel still work for you? I.e. can you boot normally with that?

Also, can you try 8 on that machine? Just for the sake of experiment?


--
Andriy Gapon
_______________________________________________
freebsd-acpi@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@..."

Re: FreeBSD 7.2-STABLE boot freeze

by kama-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



On Wed, 30 Sep 2009, Andriy Gapon wrote:

> on 29/09/2009 21:50 kama said the following:
> > On Tue, 29 Sep 2009, Andriy Gapon wrote:
> >
> >> Serial console and remote debugging perhaps?
> >
> > ILO is serial console or rather console++, since you can even see the
> > whole bootup sequence, change bios. But thats if you connect through their
> > webinterface
> >
> > Just point me what other options I could try to get a proper dump or bt.
>
> Perhaps you could still use the following:
> http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-online-gdb.html
> Otherwise, no ideas.
>
> >> Anyway, I'll try to see if I can reproduce undefined symbol issue here.
> >>
> >> Not that it would matter much for resolution of your main problem (freeze).
> >> Honestly, I have no clue about it.
> >
> > Ok. Hopefully someone else knows what can produce these freezes.
>
> BTW, remembering something you said earlier - does including acpi device into
> kernel still work for you? I.e. can you boot normally with that?
>
> Also, can you try 8 on that machine? Just for the sake of experiment?
>

It boot occationally. It does not seem to matter if I include the acpi
device into the kernel or not.

I get this message in an verbose boot:
KLD file acpi.ko - could not finalize loading

I have now included a lot of debuging options. But since the server
freezes, Im not able to send a break signal to get into the debugger.

I'll try to run FSBD8 on the server later this week.

/Bjorn
_______________________________________________
freebsd-acpi@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@..."

Re: FreeBSD 7.2-STABLE boot freeze

by Andriy Gapon-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

on 30/09/2009 16:21 kama said the following:
>
> It boot occationally. It does not seem to matter if I include the acpi
> device into the kernel or not.
>
> I get this message in an verbose boot:
> KLD file acpi.ko - could not finalize loading

Do you get this message in all cases? That is, every time you tried?
Or only with ACPI_DEBUG defined?

> I have now included a lot of debuging options. But since the server
> freezes, Im not able to send a break signal to get into the debugger.
>
> I'll try to run FSBD8 on the server later this week.
>
> /Bjorn


--
Andriy Gapon
_______________________________________________
freebsd-acpi@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@..."
< Prev | 1 - 2 | Next >