Re: blockable sleep lock panic in latest -current.

2003-03-06 Thread Thomas Seck
* Bruce Evans ([EMAIL PROTECTED]):

 This is the usual panic from sync() in panic() tripping over a lock.
 Calling sync() in panic was never safe and now usually fails.

Should one set kern.sync_on_panic to zero then?

 --Thomas

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message


Re: ACPI Poweroff problem

2002-12-04 Thread Thomas Seck
* Nate Lawson ([EMAIL PROTECTED]):

 20021122 has not been imported yet.  20021118 is version in -current.

Sorry. Thanks for correcting me on that one. Sorry for the confusion.

 --Thomas

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: ACPI Poweroff problem

2002-12-03 Thread Thomas Seck
* Nate Lawson ([EMAIL PROTECTED]):

  Power System off using ACPI
  ACPI -1287 *** Error: Method execution failed
  AE_AML_UNINITIALIZED_LOCAL
  ACPI -1287 *** Error: Method execution failed
  AE_AML_UNINITIALIZED_LOCAL
  
  ACPIEnterSleepStatePrep failed AE_AML_UNINITIALIZED_LOCAL
  
  (so, or similar).
  
  PS : I have an VIA KT266 chipset.
 
 Please cc acpi-jp list with acpi problems, as I have on this reply.  Check
 the current@ archives for the patch 20021122 that iwasaki@ posted.  It may
 fix your problem.  

It seems that some problems were introduced with that patch.

 However, this sounds similar to another user's problem
 where his dsdt didn't forward declare FAN_ (again, check archives for the
 past 2 weeks).

Yes, I reported it. It seems that the problem has been identified, but I
did not yet receive a patch to test.

 --Thomas

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: [acpi-jp 2004] ACPI errors w/ latest ACPI code on GA BX2000 based system

2002-11-30 Thread Thomas Seck
* Mitsuru IWASAKI ([EMAIL PROTECTED]):

Iwasaki-san,
list members,

   ACPI-0438: *** Error: Looking up [FAN_] in namespace, AE_NOT_FOUND
   ACPI-1287: *** Error: Method execution failed, AE_NOT_FOUND
 
 I think that this was caused by the following spec changes.
 From CHANGES.txt:
 
 22 October 2002.  Summary of changes for version 20021022.
 
 1) ACPI CA Core Subsystem:
 
 Implemented a restriction on the Scope operator that the
 target must already exist in the namespace at the time the
 operator is encountered (during table load or method
 execution).  In other words, forward references are not
 allowed and Scope() cannot create a new object. This changes
 the previous behavior where the interpreter would create the
 name if not found.  This new behavior correctly enables the
 search-to-root algorithm during namespace lookup of the target
 name.  Because of this upsearch, this fixes the known Compaq
 _SB_.OKEC problem and makes both the AML interpreter and iASL
 compiler compatible with other ACPI implementations.
 
 
 Could you send your acpidump output to this acpi-jp ML?

Of course. And thank you very much for working on this. Please see the
attached file.

 --Thomas

/*
RSD PTR: Checksum=226, OEMID=COMPAQ, RsdtAddress=0x0fff3000
 */
/*
RSDT: Length=40, Revision=1, Checksum=17,
OEMID=COMPAQ, OEM Table ID=AWRDACPI, OEM Revision=0x42302e31,
Creator ID=AWRD, Creator Revision=0x0
 */
/*
Entries={ 0x0fff3040 }
 */
/*
DSDT=0xfff30c0
INT_MODEL=PIC
SCI_INT=9
SMI_CMD=0xb2, ACPI_ENABLE=0xa1, ACPI_DISABLE=0xa0, S4BIOS_REQ=0xa4
PM1a_EVT_BLK=0x4000-0x4003
PM1a_CNT_BLK=0x4004-0x4005
PM2_TMR_BLK=0x4008-0x400b
PM2_GPE0_BLK=0x400c-0x400f
P_LVL2_LAT=90ms, P_LVL3_LAT=900ms
FLUSH_SIZE=0, FLUSH_STRIDE=0
DUTY_OFFSET=1, DUTY_WIDTH=0
DAY_ALRM=13, MON_ALRM=0, CENTURY=0
Flags={WBINVD,PROC_C1,SLP_BUTTON}
 */
/*
DSDT: Length=10553, Revision=1, Checksum=88,
OEMID=COMPAQ, OEM Table ID=AWRDACPI, OEM Revision=0x1000,
Creator ID=MSFT, Creator Revision=0x10c
 */
DefinitionBlock (
acpi_dsdt.aml,//Output filename
DSDT, //Signature
0x1,//DSDT Revision
COMPAQ,   //OEMID
AWRDACPI, //TABLE ID
0x1000  //OEM Revision
)

{
Scope(\_PR_) {
Processor(\_PR_.CPU0, 1, 0x4010, 0x6) {
}
}
Name(\_S0_, Package(0x2) {
0x5,
0x5,
})
OperationRegion(CMOS, SystemIO, 0x70, 0x2)
Field(CMOS, ByteAcc, NoLock, Preserve) {
INX_,   8,
DTA_,   8
}
Store(0x8, Local0)
Store(0x54, INX_)
Store(DTA_, Local1)
And(Local1, Local0, Local1)
If(LEqual(Local1, 0x8)) {
Name(\_S3_, Package(0x2) {
0x1,
0x1,
})
}
Else {
Name(\_S1_, Package(0x2) {
0x4,
0x4,
})
}
Name(\_S4_, Package(0x2) {
Zero,
Zero,
})
Name(\_S5_, Package(0x2) {
Zero,
Zero,
})
OperationRegion(\DEBG, SystemIO, 0x80, 0x1)
Field(\DEBG, ByteAcc, NoLock, Preserve) {
DBG1,   8
}
OperationRegion(\MUS1, SystemIO, 0x64, 0x1)
Field(\MUS1, ByteAcc, NoLock, Preserve) {
MUSE,   8
}
OperationRegion(EXTM, SystemMemory, 0x000ff830, 0x10)
Field(EXTM, WordAcc, NoLock, Preserve) {
ROM1,   16,
RMS1,   16,
ROM2,   16,
RMS2,   16,
ROM3,   16,
RMS3,   16,
AMEM,   32
}
OperationRegion(VGAM, SystemMemory, 0x000c0002, 0x1)
Field(VGAM, ByteAcc, NoLock, Preserve) {
VGA1,   8
}
OperationRegion(\TRAP, SystemIO, 0x402f, 0x1)
Field(\TRAP, ByteAcc, NoLock, Preserve) {
,   1,
TR13,   1
}
OperationRegion(PMES, SystemIO, 0x4015, 0x1)
Field(PMES, ByteAcc, NoLock, Preserve) {
,   1,
PME_,   1
}
OperationRegion(\GBLE, SystemIO, 0x4021, 0x1)
Field(\GBLE, ByteAcc, NoLock, Preserve) {
ESMI,   8
}
Name(CMDB, Buffer(0x8) { })
CreateByteField(CMDB, 0x0, BYT0)
CreateByteField(CMDB, 0x1, BYT1)
CreateByteField(CMDB, 0x2, BYT2)
CreateByteField(CMDB, 0x3, BYT3)
CreateByteField(CMDB, 0x4, BYT4)
CreateByteField(CMDB, 0x5, BYT5)
CreateByteField(CMDB, 0x6, BYT6)
CreateByteField(CMDB, 0x7, BYT7)
Name(IDEB, Buffer(0x38) { })
CreateField(IDEB, 0x0, 0x38, CMD0)
CreateField(IDEB, 0x38, 0x38, CMD1)
CreateField(IDEB, 0x70, 0x38, CMD2)
CreateField(IDEB, 0xa8, 0x38, CMD3)
CreateField(IDEB, 0xe0, 0x38, CMD4)
CreateField(IDEB, 0x0118, 0x38, CMD5)
CreateField(IDEB, 0x0150, 0x38, CMD6)
CreateField(IDEB, 0x0188, 0x38, CMD7)
OperationRegion(APMP, SystemIO, 0xb2, 0x2)
Field(APMP, ByteAcc, NoLock, Preserve) {
APMC,   8,
APMD,   8
}
OperationRegion(ELCR, SystemIO, 0x04d0, 0x2)
Field(ELCR, ByteAcc, NoLock, Preserve) {
ELC1,   8,
ELC2,   8
}
OperationRegion(GPOB, SystemIO, 0x4034, 0x4)
Field(GPOB, ByteAcc, NoLock, Preserve) {
GP00,   1,
GP01,   1,
GP02,   1,
GP03,   1,
GP04,   1,
GP05,   1,
GP06,   1,
GP07,   1,
GP08,   1,

ACPI errors w/ latest ACPI code on GA BX2000 based system

2002-11-28 Thread Thomas Seck
A freshly built system with Now 28 sources now throws the ACPI errors
seen in the dmesg output. The former ACPI snapshot did not complain in
any way on this system.

The board in question is a Gigabyte BX2000 with F7 BIOS.

 --Thomas

dmesg:

 Copyright (c) 1992-2002 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.0-CURRENT #0: Fri Nov 29 00:53:39 CET 2002
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
 Preloaded elf kernel /boot/kernel/kernel at 0xc0614000.
 Preloaded elf module /boot/kernel/acpi.ko at 0xc06140a8.
 Timecounter i8254  frequency 1193182 Hz
 Timecounter TSC  frequency 549940129 Hz
 CPU: Pentium III/Pentium III Xeon/Celeron (549.94-MHz 686-class CPU)
   Origin = GenuineIntel  Id = 0x673  Stepping = 3
   
Features=0x387f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE
 real memory  = 268369920 (255 MB)
 avail memory = 254169088 (242 MB)
 Initializing GEOMetry subsystem
 Pentium Pro MTRR support enabled
 npx0: math processor on motherboard
 npx0: INT 16 interface
 acpi0: COMPAQ AWRDACPI on motherboard
 ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
 Using $PIR table, 8 entries at 0xc00fdd70
 ACPI-0438: *** Error: Looking up [FAN_] in namespace, AE_NOT_FOUND
 ACPI-1287: *** Error: Method execution failed, AE_NOT_FOUND
 acpi0: power button is handled as a fixed feature programming model.
 Timecounter ACPI-safe  frequency 3579545 Hz
 acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
 acpi_cpu0: CPU on acpi0
 acpi_tz0: thermal zone on acpi0
 ACPI-0438: *** Error: Looking up [FAN_] in namespace, AE_NOT_FOUND
 ACPI-1287: *** Error: Method execution failed, AE_NOT_FOUND
 acpi_button0: Power Button on acpi0
 pcib0: ACPI Host-PCI bridge port 0x5000-0x500f,0x4000-0x4041,0xcf8-0xcff on acpi0
 pci0: ACPI PCI bus on pcib0
 agp0: Intel 82443BX (440 BX) host to PCI bridge mem 0xd800-0xdbff at 
device 0.0 on pci0
 pcib1: PCIBIOS PCI-PCI bridge at device 1.0 on pci0
 pci1: PCI bus on pcib1
 pci1: display, VGA at device 0.0 (no driver attached)
 isab0: PCI-ISA bridge at device 7.0 on pci0
 isa0: ISA bus on isab0
 atapci0: Intel PIIX4 ATA33 controller port 0xf000-0xf00f at device 7.1 on pci0
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: at 0x170 irq 15 on atapci0
 uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0xe000-0xe01f irq 10 at device 
7.2 on pci0
 usb0: Intel 82371AB/EB (PIIX4) USB controller 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
 pci0: bridge, PCI-unknown at device 7.3 (no driver attached)
 rl0: RealTek 8139 10/100BaseTX port 0xe400-0xe4ff mem 0xe000-0xe0ff irq 5 
at device 10.0 on pci0
 rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mode
 rl0: Ethernet address: 00:48:54:3d:60:ce
 miibus0: MII bus on rl0
 rlphy0: RealTek internal media interface on miibus0
 rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 pci0: multimedia, audio at device 11.0 (no driver attached)
 fdc0: Enhanced floppy controller (i82077, NE72065 or clone) port 0x3f7,0x3f2-0x3f5 
irq 6 drq 2 on acpi0
 fdc0: FIFO enabled, 8 bytes threshold
 fd0: 1440-KB 3.5 drive on fdc0 drive 0
 sio0 port 0x3f8-0x3ff irq 4 on acpi0
 sio0: type 16550A
 sio1 port 0x2f8-0x2ff irq 3 on acpi0
 sio1: type 16550A
 ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
 ppc0: FIFO with 16/16/16 bytes threshold
 plip0: PLIP network interface on ppbus0
 lpt0: Printer on ppbus0
 lpt0: Interrupt-driven port
 ppi0: Parallel I/O on ppbus0
 atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
 atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
 kbd0 at atkbd0
 psm0: PS/2 Mouse irq 12 on atkbdc0
 psm0: model MouseMan+, device ID 0
 orm0: Option ROMs at iomem 0xc8000-0xc9fff,0xc-0xc7fff on isa0
 pmtimer0 on isa0
 sc0: System console at flags 0x100 on isa0
 sc0: VGA 16 virtual consoles, flags=0x300
 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
 Timecounters tick every 10.000 msec
 ad0: DMA limited to UDMA33, non-ATA66 cable or device
 ad0: 19541MB Maxtor 92041U4 [39703/16/63] at ata0-master UDMA33
 acd0: CDROM NEC CD-ROM DRIVE:282 at ata0-slave UDMA33
 acd1: CD-RW LITE-ON LTR-24102B at ata1-slave UDMA33
 Mounting root from ufs:/dev/ad0s2a

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message