Date: Sat, 07 Aug 2004 16:50:32 -0700 From: Nate Lawson <nate@root.org> To: Munehiro Matsuda <haro@kgt.co.jp> Cc: acpi@FreeBSD.org Subject: Re: Panic on boot Message-ID: <41156AC8.5050502@root.org> In-Reply-To: <20040807.215828.74755722.haro@h4.dion.ne.jp> References: <200408030515.i735FuKF056358@repoman.freebsd.org> <20040805.094212.74755901.haro@kgt.co.jp> <41140603.6080106@root.org> <20040807.215828.74755722.haro@h4.dion.ne.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
Munehiro Matsuda wrote: > From: Nate Lawson <nate@root.org> > Date: Fri, 06 Aug 2004 15:28:19 -0700 > ::> :: * Use an sbuf instead of sprintf/strcat for a sysctl. Also, use strlcpy > ::> :: instead of a bzero/strncpy. > ::> :: * Simplify acpi_name, acpi_Enable, and acpi_Disable. > ::> :: * Don't bzero the softc > ::> :: > ::> :: Revision Changes Path > ::> :: 1.180 +0 -0 src/sys/dev/acpica/acpi.c > :: > ::Any luck narrowing things down? Does a -current as of today work? > :: > ::-Nate > > Still working on it. > The rev1.18 of acpi_pci_link.c got me confused, but sorted that out. > Following has been done: > > - acpi.c rev1.183 and acpi_pci_link.c rev1.18 boots ok, but loose > my internal uhub1 and MemoryStick controller. (yes, it's a SONY VAIO ;-) > - Seems to need "ACPI_OLD_PCI_LINK 1" for acpi_pci_link.c to get > uhub1 enabled and MemoryStick controller recognized. > - acpi.c rev1.183 and "ACPI_OLD_PCI_LINK 1" enabled acpi_pci_link.c > still panics. This is separate and I'm working on it. Our pci irq routing has a poor failure mode. > - (1) Removing ACPI_LOCK* stuff seems ok, (2) removing ACPI_DEBUGGER stuff > seems ok, (3) acpi_Enable()/acpi_Disable() changes seems ok, (4) softc > changes seems ok, (5) acpiioctl() changes seems ok. > > TODO: > - Check acpi_name() changes. > - Check acpi_supported_sleep_state_sysctl()/acpi_sleep_state_sysctl() I'd focus on the sysctls. Not sure how they can fail though. Thanks for helping. -- Nate
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41156AC8.5050502>