Re: APM related panic

1999-08-02 Thread Mitsuru IWASAKI
# sorry to break the thread, I'm a digest reader... Hi, apm0: APM BIOS on motherboard apm: APM BIOS version 0102 apm: Code16 0xc00f, Data 0xc00fdfa0 apm: Code entry 0x8010, Idling CPU enabled, Management enabled apm: CS_limit=0x0, DS_limit=0x0 These limits look pretty

Re: recent apm changes

1999-08-09 Thread Mitsuru IWASAKI
plm In contract, if I suspend in Linux of Windows, the computer shuts up plm immediateley and is quiet. Only sometimes there is a (not too loud) plm little fan (I think it is the CPU fan) running for a few more minutes. I've read Linux code (v2.2.9) closely, noticed they put cli before APM BIOS

Re: recent apm changes

1999-08-09 Thread Mitsuru IWASAKI
Hi, MI I've read Linux code (v2.2.9) closely, noticed they put cli MI before APM BIOS call and save restore segment registers. I MI suspect these two (or only cli?) affect the suspending state. MI To clarify, could you try attached patches (for MI

Re: recent apm changes

1999-08-11 Thread Mitsuru IWASAKI
Hi, Oh, do you have suspend button on your box? Cool. On my poor experience, suspeding by hot-keys easier to success than by zzz(8). On this point I can report the oppposite experience, on my machine (a no name special) the trackpad tends to lock up if touched between power

Re: recent apm changes

1999-08-11 Thread Mitsuru IWASAKI
Hi, Nate. I'm sorry if my poor english troubled you. We should have no problems responding in this amount of time in FreeBSD, since we don't (didn't used to?) have any code that should cause significant delay in responding. My understanding on system suspend code in FreeBSD is that once APM

Re: recent apm changes

1999-08-12 Thread Mitsuru IWASAKI
Hi, MI Please try this patch. MI If it still fails, it's worth to try increasing APM_SUSPEND_DELAY, MI something like: MI #define APM_SUSPEND_DELAY 3 Alas, it doesn't make a difference. H. OK, I'll buy new mather board same one as yours and investigate what's happend

Re: apm problems.

1999-08-16 Thread Mitsuru IWASAKI
Hi, My understanding on your problems is: 1. Standby by PM timer in BIOS setting fails with the system activity. 2. No new process can be started after resume. Is it correct? 1. My laptops also fails if the console or window is updating by the output from running commands. But standby on

Re: apm problems.

1999-08-21 Thread Mitsuru IWASAKI
Hi, sorry to late. 1. Standby by PM timer in BIOS setting fails with the system activity. If by fails you mean enters standby mode, then yes the computer enters standby mode while the system is active, after the period of time set in the bios, as long as no keys have been pressed on the

Re: recent apm changes

1999-08-21 Thread Mitsuru IWASAKI
plm If I use 'zzz', I have to do the known 'sleep 1; zzz' trick. This is plm the difference. I'll commit the patch for `key release event prevent suspend' problem if no objections. Thanks a lot! To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of

Re: recent apm changes

1999-08-21 Thread Mitsuru IWASAKI
Sorry to late... plm Now suspend works. However still the disks keep spinning until they plm reach their BIOS timeout. In Linux Windows, there is some hook when plm going to suspend mode that spins down the (IDE) disks. This is nice, plm since it is well possible that you go to suspend but do

Re: if_de.c breakage ?

1999-08-21 Thread Mitsuru IWASAKI
Hi, my mentor :-) phk Am I the only one to see these ? Me too. I found it other files as well. It seems that adding following line is required in some source code. #include sys/eventhandler.h To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the

Re: followup to apm problems.

1999-08-24 Thread Mitsuru IWASAKI
Hi, I'd like to have full output of dmesg to investigate hardware interference in apm. Could you send me it later? 'apm -Z' for standby jumps into standby mode for like.. an instant, then comes right back out (while playing mp3) [snip] 'zzz' or 'apm -z' for suspend jumps into suspend mode,

Re: Experimental ACPI driver.

1999-09-24 Thread Mitsuru IWASAKI
Hi, there. We wrote experimental ACPI driver for 4.0-CURRENT. This was just one week work so its functionallity is very very poor :-) but I think it is good idea to start with this for developping ACPI driver for FreeBSD because it is enough small to understand it. If someone already started

Re: Experimental ACPI driver.

1999-09-26 Thread Mitsuru IWASAKI
Hi, Mike. # I'm very happy because of your reply :) We wrote experimental ACPI driver for 4.0-CURRENT. This was just one week work so its functionallity is very very poor :-) but I think it is good idea to start with this for developping ACPI driver for FreeBSD because it is enough

ACPI project started in Japan

1999-10-25 Thread Mitsuru IWASAKI
Just FYI, We launched ACPI project in Japan today, but the activities haven't detailed yet in this project. We'd like to contribute something from this project to FreeBSD main stream developing some sort of prototype but don't want to make duplicated efforts anyway. So please let us know if you

ACPI project progress report - Nov.

1999-11-29 Thread Mitsuru IWASAKI
Hi, here is the Nov. progress report from ACPI project in Japan. 1. Summary of our activities in this month: - setup CVS repository and CVSup collection for developing environment (jp-acpi collection on cvsup.jp.FreeBSD.org). - improve device driver (S1 and S5 state transition are

Re: ACPI project progress report - Nov.

1999-12-01 Thread Mitsuru IWASAKI
Hi, Doug Rabson wrote: Please see http://www.jp.freebsd.org/cgi/cvsweb.cgi/ACPI/util/acpiconf?cvsroot=freebsd-jp This sounds very promising. I will check out the code soon and try to give feedback. Creating the ACPI namespace is a necessary first step before its possible to do full AML

[PATCH] NEWCARD: pccardc power support

2002-10-29 Thread Mitsuru IWASAKI
Hi, I've implemented pccardc power and boot_deactivated support code for NEWCARD. They are needed for some mobile users including me. - Add pccardc power support code. Yes, it's OLDCARD compatible. - Add new loader tunable hw.cbb.boot_deactivated to prevent pccards from attaching

Re: [PATCH] NEWCARD: pccardc power support

2002-10-31 Thread Mitsuru IWASAKI
Hi, In message: [EMAIL PROTECTED] Mitsuru IWASAKI [EMAIL PROTECTED] writes: : I've implemented pccardc power and boot_deactivated support code for : NEWCARD. They are needed for some mobile users including me. : : - Add pccardc power support code. Yes, it's OLDCARD

Re: Kernel not booting....Immediate crash

2002-11-07 Thread Mitsuru IWASAKI
Hi, Try backing out 1.544 of src/sys/i386/i386/machdep.c You'll need to do it as a reversed patch or by hand, as there are some unrelated signal handling things in 1.545 which you'll really need. Hmmm, I didn't notice that there is a BIOS which requires memory area below 640K even when

Re: Kernel not booting....Immediate crash

2002-11-07 Thread Mitsuru IWASAKI
OK, some questions: - What is the size of your base memory (reported by boot loader)? - Does attached patches solve your problem? - Is this problem specific to IBM Netvista? Thanks Index: locore.s === RCS file:

Re: CF-PCMCIA Adapter + CF-Card

2002-11-08 Thread Mitsuru IWASAKI
Hi, On todays Current i get on Insertion: pccard0: Allocation failed for cfe 0 ata2 at port 0x100-0x10f irq 11 function 0 config 1 on pccard0 ad4: 61MB SanDisk SDCFB-64 [490/8/32] at ata2-master BIOSPIO On todays Current i get on Boot: pccard0: Allocation failed for cfe 0 ata2 at

Re: machdep.c problem

2002-11-10 Thread Mitsuru IWASAKI
Hi, Thus spake Mitsuru IWASAKI [EMAIL PROTECTED]: OK, it seems to be difficult to determine the region for any BIOSes. I've decided to introduce a new loader tunable to indicate that BIOS has broken int 12H. Attached patch back out 1.385.2.26 changes to support older BIOSes, and add

Re: DP2 (I think!) crash booting from floppies

2002-11-20 Thread Mitsuru IWASAKI
Hi, On Wed, 20 Nov 2002, Terry Lambert wrote: local.freebsd.current wrote: I got a pair of floppies from: ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/i386/5.0-20021103-SNAP/floppies/ and booted them on a Dell Dimension XPS D300 which is currently running 4.7. It's a PII/300

Re: [acpi-jp 1940] Re: ACPI errors and then panic

2002-11-21 Thread Mitsuru IWASAKI
Hi, On Sat, 5 Oct 2002, Mitsuru IWASAKI wrote: From: Nate Lawson [EMAIL PROTECTED] Subject: ACPI errors and then panic Date: Fri, 4 Oct 2002 17:14:31 -0700 (PDT) Message-ID: [EMAIL PROTECTED] My laptop appears to work ok without ACPI but of course I don't get suspend, resume

Re: Lots of swapping from 'kldload acpi'

2002-11-22 Thread Mitsuru IWASAKI
On Fri, Nov 22, 2002 at 04:08:05PM -0500, John Baldwin wrote: Can something be done to guard against this? It's supposed to do that already: If that isn't working then there is a bug. There's a bug :-) Ah, Yes. The function is called via SYSINIT. We need more `if (!cold)'

Re: Call for testers: acpica-unix-20021118.tar.gz

2002-11-25 Thread Mitsuru IWASAKI
Hi, the new snapshot boots fine here. However, I still get the message acpi0: AcpiGetSleepTypeData failed - AE_NOT_FOUND OK, never mind. This is normal because your DSDT doesn't have _S1_ object. Name(\_S0_, Package(0x4) { 0x0, 0x0, 0x0, 0x0, }) Name(\_S3_, Package(0x4)

Re: ACPI errors - IBM Thinkpad A31p

2002-11-25 Thread Mitsuru IWASAKI
Hi, Are you trying this with acpica-unix-20021118 patch which was announced recently? http://people.freebsd.org/~iwasaki/acpi/acpica-20021002-20021118-test20021121.diff Also [EMAIL PROTECTED] is better place for ACPI CA related problem reports. Thanks From: Sid Carter [EMAIL PROTECTED]

Re: ACPI problem with laptop?

2002-11-26 Thread Mitsuru IWASAKI
Hi, If I choose to make world under -CURRENT the laptop gets hotter (well the processor/hd and so on gets used and causes heat) now, the fan starts to spin faster and so on, but the computer never gets cooler even a day after a build it still is hot and the fan never stops spinning, is

Re: [acpi-jp 1988] Re: ACPI errors and then panic - fixed!

2002-11-27 Thread Mitsuru IWASAKI
Hi, Intel folks. It seems that there is a bug in cached object utilization. This causes strange behavior; first evaluation of \_SB_.PCI0.LPC_.EC__.BAT0._BST is OK, but second (or later) evaluation returns AE_TYPE. acpi_cmbat0: error fetching current battery status -- AE_TYPE The raw DSDT is at:

Re: [acpi-jp 2000] RE: ACPI errors and then panic - fixed!

2002-11-27 Thread Mitsuru IWASAKI
Hi, Our web person is out today, so things will be posted Monday at the earliest. I'll email Iwasaki-san the latest release, so y'all can get going if you want. Thank you! I've just confirmed that the deleted object problem had been solved in the latest release (Andy sent it to me). I'll

Call for testers: acpica-unix-20021122 (was Re: ACPI errors andthen panic - fixed!)

2002-11-27 Thread Mitsuru IWASAKI
Hi all, Our web person is out today, so things will be posted Monday at the earliest. I'll email Iwasaki-san the latest release, so y'all can get going if you want. Thank you! I've just confirmed that the deleted object problem had been solved in the latest release (Andy sent it

Re: ACPI problem with laptop?

2002-11-28 Thread Mitsuru IWASAKI
Then you'll get thermal operation messages, something like: Nov 26 19:34:13 mybox kernel: acpi_tz0: _AC0: temperature 60.0 = setpoint 60.0 Nov 26 19:34:13 mybox kernel: acpi_tz0: switched from NONE to _AC0: 60.0C We need the messages like this, acpidump output, and sysctl hw.acpi

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

2002-11-29 Thread Mitsuru IWASAKI
Hi, 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. [snip] ACPI-0438: *** Error: Looking up [FAN_] in namespace, AE_NOT_FOUND ACPI-1287: *** Error: Method execution

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

2002-12-04 Thread Mitsuru IWASAKI
errors w/ latest ACPI code on GA BX2000 based system * 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

Re: [acpi-jp 2015] Re: ACPI Poweroff problem

2002-12-04 Thread Mitsuru IWASAKI
Hi, * 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

Re: pcm remaining problem (possible ACPI too)

2002-12-10 Thread Mitsuru IWASAKI
Hi, Since rescent -CURRENT is stable enough, I have the chance to find out remaining pcm problem. My MP box no more has double fatal fault and turns into random sleep. The random sleep happens after pcm having its own problem. uname -av is FreeBSD cartier.home 5.0-CURRENT FreeBSD

Re: panic in ithread_loop()

2002-12-10 Thread Mitsuru IWASAKI
This is 100% reproducible with a top-of-tree kernel, but didn't happen with Wednesday's sources: Fatal trap 12: page fault while in kernel mode fault virtual address = 0xc01e8d fault code = supervisor write, page not present instruction pointer = 0x8:0xc045dc80 stack

HEADS UP: new pccard.conf scheme, please test!

2000-03-30 Thread Mitsuru IWASAKI
HI, all. I've just committed new feature for pccardd, but default pccard configuration file is still /etc/pccard.conf.sample because I'd like to see how things go and test them more for about a week. Test version of /etc/defaults/pccard.conf, /etc/pccard.conf are available at

Re: Patch to allow TSC with APM

2000-04-18 Thread Mitsuru IWASAKI
Hi, I'd like to recommend the following patches. Adding the option "CLK_USE_TSC_ANYWAY" allows my laptop to use the TSC even though it is "flakey". This option should not be set by default. I saw the same kind of patches and my laptop has this w/o any problems for long time. I'd like to

SMP + APM = panic - fixed!

2000-06-06 Thread Mitsuru IWASAKI
Hi, We're having this problem for long time (from the old 4.0-CURRENT days), but Mr. SUMITANI discovered a bug and fixed it. The problem was that we got worng gdt pointer for the current cpu, then panic... The followings is a patch to fix the problem. Thanks a lot, SUMITANI-san! Please test

Re: SMP + APM = panic - fixed!

2000-06-06 Thread Mitsuru IWASAKI
Please test this and I'll commit MFC this if we have no problem with this fix. I don't have an SMP + APM system around at the moment, but the fix does look correct to me, go ahead and commit it. Thanks for tracking this down! Thank you for reviewing this. I'm going to comit tomorrow

Re: SMP + APM = panic - fixed!

2000-06-07 Thread Mitsuru IWASAKI
Hi, On Wed, 7 Jun 2000, Mitsuru IWASAKI wrote: We're having this problem for long time (from the old 4.0-CURRENT days), but Mr. SUMITANI discovered a bug and fixed it. The problem was that we got worng gdt pointer for the current cpu, then panic... The followings is a patch to fix

Re: ACPI project progress report

2000-06-16 Thread Mitsuru IWASAKI
Hi, "Daniel C. Sobral" wrote: Mitsuru IWASAKI wrote: - support S2, S3, S4 (hibernation) sleeping transition. S4 sleep require some hack in boot loader needs help. I thought hibernation was entirely controlled by kernel? W

Re: ACPI project progress report

2000-06-19 Thread Mitsuru IWASAKI
Hi, From: Bjoern Fischer [EMAIL PROTECTED] Subject: Re: ACPI project progress report Date: Mon, 19 Jun 2000 07:01:44 +0200 Message-ID: [EMAIL PROTECTED] Just a moment. You talk about doing a `Save-to-Disk' (incl. system halt), turning power off, maybe adding some hardware or moving the

Re: ACPI project progress report

2000-06-19 Thread Mitsuru IWASAKI
imp In message [EMAIL PROTECTED] Mitsuru IWASAKI writes: imp : Hi, here is the latest report on our ACPI project's progress. imp imp As I told you on the Train in Tokyo: Cool! Way Cool! ACPI should imp enable us to properly put the chipsets in laptops to sleep and then imp wake them up again

Re: randomdev and APM. Not working together?

2000-07-05 Thread Mitsuru IWASAKI
I think I found the problem, and being able to work around it. But, I don't know how to realy fix it. I noticed this when I saw your last message :-) 2)Randomdev Loaded: Probe attach will happen in the order - (1)acpi0, (2)apm0, (3)nxp0 .NG Because acpi0 access the BIOS

CFR: pccard.conf entries from PAO (130 entries!)

2000-07-12 Thread Mitsuru IWASAKI
Hi, We, PAO folks in Japan, have prepared the patch for etc/defaults/pccard.conf CURRENT (rev. 1.121) merging more that one hundred of PCCard entries from PAO3. We'd be happy if we could use various cards on the installation. http://people.freebsd.org/~iwasaki/pccard/pccard.conf-MFPAO We'd

panic on current ACPI

2001-09-01 Thread Mitsuru IWASAKI
Hi, I've noticed that the recent CURRENT got panic on some machines if we have `device acpica' in kernel config. ACPI debug layer 0x0 debug level 0x0 Copyright (c) 1992-2001 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents

Re: panic in EcWaitEventIntr?(Re: HEADS UP: ACPI CHANGES AFFECTINGMOST -CURRENT USERS)

2001-09-02 Thread Mitsuru IWASAKI
Hi. My MPC-206 made panic with -current GENERIC kernel. It can boot normaly with 'unset acpi_load'. 'dmesg' results as follows: Hi, This problem is reported already. Pls try to find a quick fix in acpi-jp ML archive; [acpi-jp 1227] Fix? acpica-unix-20010816 Thanks To Unsubscribe: send mail

Re: newer buildkernel failure

2001-09-02 Thread Mitsuru IWASAKI
Hi, The patch committed just 20 mins ago to fix the breakage causes this now, unless I caught it in the middle of a commit. perl @/kern/makeobjops.pl -h @/dev/pci/pcib_if.m perl @/kern/makeobjops.pl -h @/isa/isa_if.m make -f /usr/src/sys/modules/acpi/../../i386/acpica/Makefile

Re: [acpi-jp 1246] ACPI and PS/2 mouse problem

2001-09-06 Thread Mitsuru IWASAKI
Thanks Yokota-san for tracking down the problem. As reported in this list by several people, you may be seeing that your PS/2 mouse is not detected after the recent ACPI update. This seems to be caused by ACPI in some BIOS assigns IRQ 12 (mouse interrupt) to both the PS/2 mouse device node

Re: ACPI kills my current-box frequently.

2001-09-10 Thread Mitsuru IWASAKI
Hi, NAKAJI-san. Thank you for reporting. Just after rebooting with this kernel and installworld, this host reboots frequently, about every 10 minutes. /var/log/messages shows that Could you describe your hardware? I'd like see boot -v dmesg and ACPI data. Please send them to acpi-jp ML.

Re: [acpi-jp 1255] Re: ACPI and PS/2 mouse problem

2001-09-10 Thread Mitsuru IWASAKI
Hi, I have the same laptop but a different problem, with today kernel. The following is copied by hand, no serial console at home: wait: panic: free: address 0xcbf5e5fe db trace panic(...) at panic+0xb6 free(...) at free+0x32 AcpiOsFree(...) at AcpiOsFree+0x11

Re: [acpi-jp 1258] ACPI Data for a Dell Inspiron 8000 Laptop

2001-09-10 Thread Mitsuru IWASAKI
Hi, thanks for your report. I'll add submitted ACPI data to our collection. Find attached some data to help out with getting ACPI running smoothly. Many features work with this laptop but the most annoying complaint is the lack of console display being restored after a suspend/resume.

Re: How can I turn off acpi 100%?

2001-09-10 Thread Mitsuru IWASAKI
Hi, was comming. Mistake. It comes up fine, I think because all I can see are: acpi_cmbat0: bif size changed 0 at what looks like several per second. In single user I am getting: acpi-ec0: evaluation of CPE query method _Q3F failed - AE_NOT_FOUND Hmm, I think these two problems

Re: ThinkPad, ACPI, and PS/2 mouse

2001-09-15 Thread Mitsuru IWASAKI
Hi, yokota-san thank you very much. It now appears that some IBM ThinkPad models assign a distinct PnP ID to the PS/2 mouse port. If you have ThinkPad and its pointing device is not recognized when ACPI is loaded in the latest -current system, please do the following 1. Disable ACPI and

Re: ThinkPad, ACPI, and PS/2 mouse

2001-09-16 Thread Mitsuru IWASAKI
Hi, I've just noticed strange behavior of psm probing (w/ and w/o acpi). It now appears that some IBM ThinkPad models assign a distinct PnP ID to the PS/2 mouse port. If you have ThinkPad and its pointing device is not recognized when ACPI is loaded in the latest -current system,

Re: ACPI, PS/2 and USB (was: Re: ThinkPad, ACPI, and PS/2 mouse)

2001-09-17 Thread Mitsuru IWASAKI
This is not a ThinkPad, but FIVA 206VL (PS/2 mouse PnP ID = 0x130fd041; normal one), the psm is no longer recognized if USB is not compiled (or USB module is not loaded at loader). I have never heard of this type of error before! Me too! I was surprised when I noticed this. I cannot

Re: ACPI and APM interoperability?

2001-10-01 Thread Mitsuru IWASAKI
Hi, On Mon, Oct 01, 2001 at 10:50:17AM +0200, Georg-W. Koltermann wrote: Hi, I'm wondering how I should handle APM now that ACPI has basically taken over power management responsibility. APM and ACPI are mutually exclusive from what I understand. You should remove the apm device

Re: ACPI: problem with fdc resource allocation

2001-10-01 Thread Mitsuru IWASAKI
Hi, I'm not sure exactly what's the problem you are having, but it's too little information to track it down... Could you send [EMAIL PROTECTED] ; - acpidump output; like # acpidump -o your_machine_name.dsdt your_machine_name.dsdt.asl I'll add them to

Re: ACPI: problem with fdc resource allocation

2001-10-01 Thread Mitsuru IWASAKI
Hi, Maxim Sobolev wrote: Maxim Sobolev wrote: Andrey A. Chernov wrote: On Mon, Sep 17, 2001 at 16:26:20 +0300, Maxim Sobolev wrote: Hi, Finally decided to upgrade my current box to the post-ACPI/KSE and found that I'm having problem with resource allocation

Re: [acpi-jp 1363] Re: ACPI: problem with fdc resource allocation

2001-10-24 Thread Mitsuru IWASAKI
Hi, Maxim. Thanks for reporting and reminding us. I think this is very difficult to fix, because; 1. Basically, this is a bug in BIOS, should be reported to vendor. 2. ACPI CA is developed by Intel. We'd like to have less local workaround changes as possible. 3. I'm not sure whether

Re: [acpi-jp 1371] Re: ACPI: problem with fdc resource allocation

2001-10-25 Thread Mitsuru IWASAKI
# Congratulations, Maxim! On Thu, Oct 25, 2001 at 05:13:56PM +0300, Maxim Sobolev wrote: 6. And finally I've put back corrected ACPI table back into BIOS image using CBROM.EXE, flashed resulting BIOS image and voila - the ACPI problem gone. :) Way cool. :) Yeah, Maxim is maniac

Re: how to make acpi go away.

2001-09-26 Thread Mitsuru IWASAKI
Hi, try adding a line hint.acpi.0.disable=1 to /boot/device.hints, or disable it at boot time unset acpi_load then boot as usual. Thank you, that fixed everything. Also, this works too: echo NO_MODULES=yes /etc/make.conf; rm

Re: [acpi-jp 1343] Re: ACPI panic at boot time in -current

2001-10-14 Thread Mitsuru IWASAKI
Hi, Intel folks. I've just found the bug in rsutils.c which double free(); AcpiUtRemoveReference() and ACPI_MEM_FREE(). Here is a fix. Index: rsutils.c === RCS file: /home/ncvs/src/sys/contrib/dev/acpica/rsutils.c,v retrieving

multicast + PCCard NIC = kernel panic? (was Re: small bug inpcic.c)

2000-07-25 Thread Mitsuru IWASAKI
[CC'ed -current and -mobile] BTW, there is one more problem during detach the pccard nic. When I detach my pccard nic, my kernel is panic. I tried this with Melco Airconnect WLI-PCM-L11 and COREGA FastEther PCC-TX, and it occured with either card. I made a quick hack to avoid this

CFR: apm debug print cleanup and display on/off improvement

2000-07-27 Thread Mitsuru IWASAKI
Hi, I worked apm debug print cleanup to avoid re-build kernel with APM_DEUG (this kernel option seems unavailable for now) for obtaining debug messages on apm. http://people.freebsd.org/~iwasaki/apm/apm-debug.diff The debug flag can be controlled by sysctl interface and loader setting

Re: ACPI project progress report (final?)

2000-08-11 Thread Mitsuru IWASAKI
In message [EMAIL PROTECTED] Mitsuru IWASAKI writes: : Hi, here is the latest (and maybe final?) report on our ACPI project's : progress. : : We are ready now to merge our work on ACPI into main source tree! Bravo! Wonderful work! Thanks. I think we need to implement power management

ACPI project progress report (final?)

2000-08-09 Thread Mitsuru IWASAKI
Hi, here is the latest (and maybe final?) report on our ACPI project's progress. We are ready now to merge our work on ACPI into main source tree! Our prototype development is going to finish. AML interpreter development is almost completed, region access facility (SystemMemory, SystemIO and

Re: ACPI project progress report (final?)

2000-08-11 Thread Mitsuru IWASAKI
Folks, there are a lot of exciting and cool things, like Processor and Device Power State Control, Thermal Management, Replacement PnP system, OS initiated hibernation and many :-) I think now is the time to start open and development, not only in Japan, for FreeBSD ACPI support! This

Re: ACPI project progress report (final?)

2000-08-11 Thread Mitsuru IWASAKI
It is related with quite wide areas, not only for power management. # I'm interested in power management part personally for the first step # though. Do I understand correctly that things like monitoring cooling fans etc is also possible? I guess the people running (lots of) servers

Re: ACPI project progress report (final?)

2000-08-11 Thread Mitsuru IWASAKI
I'm not quite sure what it does, but it seems to work fine here on my ASUS CUSL2, at least the shutdown part. Thank you for your report. It would be helpful to check http://www.teleport.com/~acpi/whatis1.htm and it's links. It is related with quite wide areas, not only for power management.

CFR: acpi userland manpages

2000-08-31 Thread Mitsuru IWASAKI
Hi, I've just imported acpi userland tools and writing manpages for them with contributers in Japan. Please review them and send any comments (or diffs) for me ([EMAIL PROTECTED]) in terms of English/roff or whatever. The draft version of manpages are available at

ACPI merge finished!

2000-09-01 Thread Mitsuru IWASAKI
Hi, merging the code from ACPI For FreeBSD project into CURRENT finished! We would very much appreciate for all people who encouraged and helped and supported us. 1. Using ACPI If you have machines with ACPI BIOS, you should be able to power off the machine by shutdown -p (or acpiconf -s 5), or

Re: ACPI merge finished!

2000-09-02 Thread Mitsuru IWASAKI
FYI, Because it is still in experimental phase, more developers are needed. To avoid making duplicate effort, I'd like to propose that having an announcement in -current (or -hackers?) ML first then starting your development. I've just add `Who is woking on what' section in ACPI for FreeBSD

Re: xl driver

2000-09-04 Thread Mitsuru IWASAKI
: Sep 3 13:24:26 manatee /kernel: xl0: 3Com 3c900-COMBO Etherlink XL port 0x6c00-0x6c3f irq 11 at device 9.0 on pci0 : Sep 3 13:24:26 manatee /kernel: xl1: 3Com 3c900-COMBO Etherlink XL port 0x6c00-0x6c3f irq 11 at device 9.0 on pci2 Looks like your pci bus is getting probed twice!

CFR: New pseudo timer device driver for power management events

2000-09-04 Thread Mitsuru IWASAKI
Hi, I'm working on ACPI and thinking of sharing the related code with other power management subsystem (currently apm) rather than having duplicated code. Updating timer/clock before and after sleeping, is my first target. My idea is that create new pseudo timer device driver for power

Re: AIC-7890 problems with kernel build

2000-09-04 Thread Mitsuru IWASAKI
Hi, And, of course, the kernel config... a fair amount of crap still not trimmed out, but the only difference between this config and the one used to build the functional kernel is apm commented out and ACPI added, which I've already tried reversing without much difference. All I can say is

Re: AIC-7890 problems with kernel build

2000-09-04 Thread Mitsuru IWASAKI
Could you disable acpi and try again to make the problem clearer? Without `device acpi' line in your kernel config file, any ACPI code isn't compiled in your kernel. That was the first thing I tried when mine failed. It didn't make any difference - I saw the same failure (the page

Re: CFR: acpi userland manpages

2000-09-09 Thread Mitsuru IWASAKI
The draft version of manpages are available at http://people.FreeBSD.org/~iwasaki/acpi/acpidump.8 http://people.FreeBSD.org/~iwasaki/acpi/amldb.8 I've just found the time to give them a quick once over, and I'd have no problem with them going in as they are. There are some grammar

Re: Partial success with current on Laptop.

2000-09-15 Thread Mitsuru IWASAKI
- apm (suspend/resume not testet) Works for me. My only problem is that Fan is NEVER turned off (it seems that idle loop in kernel as become CPU intensive and energy hardware can not stop cooling). At this time, this is a minor annoyance. Do you have acpi enabled in your

Re: Partial success with current on Laptop.

2000-09-15 Thread Mitsuru IWASAKI
Do you have acpi enabled in your kernel? no. I have tried ACPI some days ago, but system boot becomes incredibly slow (for example, syslogd complained about something like 'child process timeout' after enabling ACPI). All system activity such as fork and so was affected. It seems

Re: My system hang with ACPI kernel thread

2000-09-28 Thread Mitsuru IWASAKI
In message [EMAIL PROTECTED], Munehiro Matsuda wrote: With the addition of ACPI kernel thread, my system hangs in about 10 miniutes use after boot up. By disabling kernel thread, system runs just fine. Do you have any idea where to look at? I'll try and see what I can do myself.

Re: My system hang with ACPI kernel thread

2000-09-28 Thread Mitsuru IWASAKI
Please set debug.aml_debug and debug.acpi_debug to 1 and see what will happen. It wouldn't surprise me if the system wasn't running out of kernel memory. Right now we just keep mallocing storage to queue ACPI events (bad idea). The entire event/Notify stuff needs to be somewhat

Re: My system hang with ACPI kernel thread

2000-09-28 Thread Mitsuru IWASAKI
Currently kernel thread seems broken, so mallocing storage in acpi_queue_event() never be freed. I think number of events at a point of tme is limited and we can have static storage for the events. The implementaion of sys/i386/apm/apm.c:apm_record_event() (it's for apmd) would be a

Re: My system hang with ACPI kernel thread

2000-09-28 Thread Mitsuru IWASAKI
Hi, In message [EMAIL PROTECTED], Munehiro Matsuda wrote: With the addition of ACPI kernel thread, my system hangs in about 10 miniutes use after boot up. By disabling kernel thread, system runs just fine. Do you have any idea where to look at? I'll try and see what I can do

Re: My system hang with ACPI kernel thread

2000-09-29 Thread Mitsuru IWASAKI
Currently kernel thread seems broken, so mallocing storage in acpi_queue_event() never be freed. I think number of events at a point of tme is limited and we can have static storage for the events. The implementaion of sys/i386/apm/apm.c:apm_record_event() (it's for apmd)

Re: ACPI megapatch

2000-09-29 Thread Mitsuru IWASAKI
Thanks a lot mike, these are mostly acceptable for me. Here's the latest ACPI megapatch: - Move all the register I/O into a separate file Agreed. - Made all the I/O spaces use proper bus resources - Allocate the resources in machine-dependant code I prefer previous patch because most

Re: ACPI megapatch

2000-09-29 Thread Mitsuru IWASAKI
Hi, I'd like to move and rename them as I said in my previous mail, sys/acpi.h - sys/dev/acpi/acpi.h shared by both kernel and userland programs sys/dev/acpi/acpi.h - sys/dev/acpi/acpivar.h shared within kernel code (acpi stuff and related drivers) IMHO, it's desirable to

Re: ACPI megapatch

2000-09-29 Thread Mitsuru IWASAKI
In summary, my suggestions are - i386/i386/acpi_machdep.c acpi_find_rsdp() and acpi_mapmem() - dev/acpi/acpi.c acpi_identify() and acpi_find_facp() Here is a patch for your megapatch at http://people.FreeBSD.org/~iwasaki/acpi/patch-for-megapatch.diff I'll be happy if you

Re: ACPI megapatch

2000-09-29 Thread Mitsuru IWASAKI
Here is a patch for your megapatch at http://people.FreeBSD.org/~iwasaki/acpi/patch-for-megapatch.diff I'll be happy if you accept and commit this :-) I think it is better bus attachment code is in MD part than in MI part. And MD bus attachment code calls MI bus attachment code. For

Re: ACPI megapatch

2000-09-29 Thread Mitsuru IWASAKI
Hi, I prefer previous patch because most of the code in i386/acpi_machdep.c can be shared with IA64 I think. I'm not so sure about that. I suspect that the IA64 code is going to be using the 'generic address' structures and the x-fields in eg. the FACT. It won't be using the bios

Re: ACPI megapatch

2000-09-30 Thread Mitsuru IWASAKI
Hi, Ok. Based on all the suggestions, received today, and some more ideas besides, here's the latest megapatch. - Move all register I/O into a new file - Move event handling into a new file - Move headers to acpivar/acpireg/acpiio - Move find-RSDT and find-ACPI-owened-memory into

Re: ACPI megapatch

2000-09-30 Thread Mitsuru IWASAKI
Hi, Cool. On some machine, thermal management requires Embedded Controller I/O. Anybody working on this? Yeah. I just discovered that I need this. I haven't look at how operation regions are handled, so I'm not sure how hard it's going to be to implement the hooks necessary for

Re: ACPI megapatch

2000-10-01 Thread Mitsuru IWASAKI
Cool. On some machine, thermal management requires Embedded Controller I/O. Anybody working on this? Yeah. I just discovered that I need this. I haven't look at how operation regions are handled, so I'm not sure how hard it's going to be to implement the hooks necessary for

Re: ACPI megapatch

2000-10-01 Thread Mitsuru IWASAKI
Yes, we can have large benefit by migrating to ACPICA. I suggest that we make ACPICA version of AML interpreter run in userland as a debugger for the first evaluation. By doing this work we can make sure it works actually on FreeBSD and estimate the work volume of kernel porting.

Re: Interesting AML bug... recommended workaround?

2000-10-01 Thread Mitsuru IWASAKI
Here's what seems to be an interesting AML or AML parser bug. OperationRegion(PSRG, SystemMemory, 0x0410, 0x1) Field(PSRG, DWordAcc, NoLock, Preserve) { , 2, PS2E, 1 } The field is marked for 32-bit access, but the region is only 1

Re: ACPI megapatch

2000-10-02 Thread Mitsuru IWASAKI
Actually, I couldn't make CVS do what I wanted, so it's a big tarball with an itty-bitty little patch instead. This requires an up-to-date -current kernel (for the pci_cfgreg changes, etc.) I haven't done anything special with newbus attachments yet, and the embedded controller stuff

Re: Recent kernels won't boot

2000-10-08 Thread Mitsuru IWASAKI
That was it. Is the 4MB kernel size limit documented anywhere? I don't know :-) I luckily noticed this by a lot of trials. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

  1   2   >