[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070225114348.26b32671.komurojun-mbn@nifty.com>
Date: Sun, 25 Feb 2007 11:43:48 +0900
From: Komuro <komurojun-mbn@...ty.com>
To: Jeff Garzik <jeff@...zik.org>
Cc: Alan <alan@...rguk.ukuu.org.uk>, linux-kernel@...r.kernel.org,
IDE/ATA development list <linux-ide@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [BUG] PATA_PCMCIA does not work
On Sat, 24 Feb 2007 20:45:18 -0500
Jeff Garzik <jeff@...zik.org> wrote:
> Any chance you could insert some printk() calls into ata_apci_exec_tfs?
> ata_exec_internal_sg() never calls that function, so I'm curious if
> something corrupted memory a bit, or what happened.
I insert some printk().
I think the problem is happening on do_drive_get_GTF.
>pcmcia: registering new device pcmcia0.0
>SCSI subsystem initialized
>libata version 2.10 loaded.
>ata1: PATA max PIO0 cmd 0x00010100 ctl 0x0001010e bmdma 0x00000000 irq 4
>scsi0 : pata_pcmcia
>ata_acpi_exec_tfs 0
>ata_acpi_exec_tfs 1
>BUG: unable to handle kernel NULL pointer dereference at virtual address 0000004d
> printing eip:
>
>
>int ata_acpi_exec_tfs(struct ata_port *ap)
>{
> int ix;
> int ret =0;
> unsigned int gtf_length;
> unsigned long gtf_address;
> unsigned long obj_loc;
>
> if (noacpi)
> return 0;
>
> for (ix = 0; ix < ATA_MAX_DEVICES; ix++) {
> printk("ata_acpi_exec_tfs 0 \n");
> if (!ata_dev_enabled(&ap->device[ix]))
> continue;
>
> printk("ata_acpi_exec_tfs 1 \n");
> ret = do_drive_get_GTF(ap, ix,
> >f_length, >f_address, &obj_loc);
> printk("ata_acpi_exec_tfs 2 \n");
> if (ret < 0) {
Best Regards
Komuro
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists