From: Dominic Ijichi Subject: Re: [PATCH 6/6 update] SATA ACPI: ata_acpi functions Date: Fri, 09 Dec 2005 00:20:22 +0000 Message-ID: <1134087622.4398cdc67c72b@www.ijichi.org> References: <20051202100119.032b242e.randy_d_dunlap@linux.intel.com> <20051202100850.11b831ea.randy_d_dunlap@linux.intel.com> <20051206135815.5026647c.randy_d_dunlap@linux.intel.com> <1133973407.43970f9fdf6dd@www.ijichi.org> <20051207091639.00a7a232.randy_d_dunlap@linux.intel.com> <1133976270.43971ace1c015@www.ijichi.org> <20051207103449.2922faf3.randy_d_dunlap@linux.intel.com> <1134035010.4398004299a80@www.ijichi.org> <20051208161601.14a07dca.randy_d_dunlap@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from buffy.ijichi.org ([213.161.76.94]:28113 "EHLO buffy.ijichi.org") by vger.kernel.org with ESMTP id S932707AbVLIAUb (ORCPT ); Thu, 8 Dec 2005 19:20:31 -0500 In-Reply-To: <20051208161601.14a07dca.randy_d_dunlap@linux.intel.com> Content-Disposition: inline Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Randy Dunlap Cc: linux-ide@vger.kernel.org, axboe@suse.de, jgarzik@pobox.com Quoting Randy Dunlap : > On Thu, 08 Dec 2005 09:43:30 +0000 > Dominic Ijichi wrote: > > > Quoting Randy Dunlap : > > > > > On Wed, 07 Dec 2005 17:24:30 +0000 > > > Dominic Ijichi wrote: > > > > > > > Quoting Randy Dunlap : > > > > > > > > > On Wed, 07 Dec 2005 16:36:47 +0000 > > > > > Dominic Ijichi wrote: > > > > > > > > > > > I get a segfault when applying these patches to 2.6.15-rc4. ahci > > > compiled > > > > > as > > > > > > module and inserted through initrd so the module fails with > segfault > > > and > > > > > kernel > > > > > > doesnt go any further through boot, hence no logging. last thing > > > screen > > > > > shows is: > > > > > > > > > > > > Code: e3 36 34 c0 c7 44 24 18 29 02 00 00 59 5b 5e 5f 5d e9 f3 05 > 00 00 > > > 53 > > > > > 8b 5c > > > > > > 2408 e8 e9 03 00 00 a1 dc 0c 42 c0 eb 04 39 d8 74 07 <8b> 40 04 85 > c0 > > > 75 f5 > > > > > 5b > > > > > > c3 55 57 56 53 50 8b 44 24 20 8b 5c 24 > > > > > > > > > > Can you provide any more of the segfault messages? That one > > > > > isn't particularly helpful. > > > > > > > > ok, see below. this is typed in on another computer, i'll try to > minimise > > > typos! > > > > > > OK, well, that's a little better, but the top of the backtrace > > > is where the nitty gritty info is. > > > Is it possible for you to use any other method of capturing > > > more fault messages, like serial console, netconsole, > > > or even higher resolution video (and smaller font) > > > so that I can see where the fault is actually happening? > > > > > > Thanks. > > > > ok. eye-watering font, but here's what it says: > > Thanks for doing that. > Did you enable ACPI debug output? If so, how? > (in .config or by modifying a header file? > if by modifying a header file, please tell us > exactly.) ACPI_DEBUG in .config and also applied your debug patch > > > ata1: dev 0 configured for UDMA/100 > > Unable to handle kernel paging request at virtual address eaeaeaee > > printing eip: > > c0218c67 > > *pde = 00000000 > > Oops: 0000 [#1] > > PREEMPT > > Modules linked in: ahci piix ide_disk ide_core > > CPU: 0 > > EIP: 0060:[] Not tainted VLI > > EFLAGS: 00010202 (2.6.15-rc4) > > EIP is at acpi_ut_find_allocation+0x15/0x1e > > eax: eaeaeaea ebx: df0d8c00 ec: 00000000 edx: 00000007 > > esi: c0388b0d edi: 00000000 ebp: dffd0e40 esp: c17e9bdc > > ds: 007b es: 007b ss: 0068 > > Process modprobe (pid: 1353, threadinfo=c17e8000 task=deeb3070) > > Stack: df0d8c00 c0218cd8 df0d8c00 0000001 df0d8c00 000001ef 00000010 > c0388b0d > > c0218b04 df0d8c00 00000008 00000001 00000010 c0388b0d 000001ef c03890d5 > > c17e9c40 c17e9c74 c03890d5 c020ea16 00000008 00000010 c0388b0d 000001ef > > Call Trace: > > [] acpi_ut_track_allocation+0x68/0x127 > > [] acpi_ut_callocate_and_track+0x55/0x83 > > [] acpi_ns_internalize_name+0x82/0x113 > > [] acpi_ns_evaluate_relatvie+0x66/0x1ca > > [] acpi_ut_evaluate_object+0x46/0x22a > > [] acpi_ut_execute_STA+0x35/0xc4 > > [] acpi_ns_get_device_callback+0x4e/0x151 > > [] acpi_ns_walk_namespace+0xbb/0x1b7 > > [] acpi_get_devices+0x99/0xc4 > > [] acpi_ns_get_device_callback+0x0/0x151 > > [] get_devices+0x0/0x220 > > [] get_sata_adr+0x99/0x110 > > [] get_devices+0x0/0x220 > > [] do_drive_get_GTF+0x136/0x200 > > [] do_drive_update_taskfiles+0x2f/0x70 > > [] ata_set_mode+0x98/0xb0 > > [] ata_bus_probe+0xab/0xc0 > > > > [] ata_device_add+0x1e9/0x2b0 > > > > [] ahci_interrupt+0x0/0x1e0 [achi] > > > > [] ahci_init_one+0x1a3/0x270 [achi] > > > > [] __pci_device_probe+0x56/0x70 > > > > [] pci_device_probe+0x2f/0x50 > > > > [] driver_probe_device+0x43/0xd0 > > > > [] __driver_attach+0x0/0x50 > > > > [] __driver_attach+0x41/0x50 > > > > [] bus_for_each_dev+0x5d/0x80 > > > > [] driver_attach+0x25/0x30 > > > > [] __driver_attach+0x0/0x50 > > > > [] bus_add_driver+0x89/0xf0 > > > > [] __pci_register_driver+0x74/0xa0 > > > > [] ahci_init+0x18/0x1c [achi] > > > > [c01364c2>] sys_init_module+0xd/0x210 > > > > [] syscall_call+0x7/0xb > > > > > > > > > > > > Is this on your Fujitsu notebook, with the same hardware > > > > > configuration as last week? > > > > > > > > yup > > > > > > > > -- > > > > > > > > [] ata_device_add+0x1e9/0x2b0 > > > > [] ahci_interrupt+0x0/0x1e0 [achi] > > > > [] ahci_init_one+0x1a3/0x270 [achi] > > > > [] __pci_device_probe+0x56/0x70 > > > > [] pci_device_probe+0x2f/0x50 > > > > [] driver_probe_device+0x43/0xd0 > > > > [] __driver_attach+0x0/0x50 > > > > [] __driver_attach+0x41/0x50 > > > > [] bus_for_each_dev+0x5d/0x80 > > > > [] driver_attach+0x25/0x30 > > > > [] __driver_attach+0x0/0x50 > > > > [] bus_add_driver+0x89/0xf0 > > > > [] __pci_register_driver+0x74/0xa0 > > > > [] ahci_init+0x18/0x1c [achi] > > > > [c01364c2>] sys_init_module+0xd/0x210 > > > > [] syscall_call+0x7/0xb > > > > > > > > then the Code: line > > > > > > > > thats all that's left on the screen unfortunately, the rest scrolls off > the > > > top. > > > > > > --- > > --- > ~Randy ------------------------------------------ This message was penned by the hand of Dom