Skip to contentSkip to conversation

2.4.27-rc3-libata1 kunmap() problem

DISCUSSION James Spooner 1 participant 1 message Jul 20, 2004 libata

lore
Share & tools
lore
#0 lore raw

Hi Jeff

I've downloaded and applied your patchset to support the Intel PIIX/ICH5 on a Supermicro P4SCT mainboard with the 6300ESB south bridge.

libata-core.c:2166

kunmap(sg[qc->cursg].page); causes highmem.c to call BUG() after page->virtual == 0.

I added this printk()...

printk(KERN_WARNING "not unmapping %x %x %x %x\n",
sg[qc->cursg].page,

                                qc, qc->cursg,
                                ((struct page

*)sg[qc->cursg].page)->virtual);

        //kunmap(sg[qc->cursg].page);

dmesg reports:

ata1: SATA max UDMA/133 cmd 0xC800 ctl 0xCC02 bmdma 0xD800 irq 18
ata2: SATA max UDMA/133 cmd 0xD000 ctl 0xD402 bmdma 0xD808 irq 18 not unmapping ce468574 ce468530 1 0
ata1: dev 0 cfg 49:2f00 82:346b 83:7f21 84:4003 85:3469 86:3c01 87:4003 88:407f
ata1: dev 0 ATA, max UDMA/133, 72303840 sectors: lba48
ata1: dev 0 configured for UDMA/133
ata2: SATA port has no device.
scsi2 : ata_piix
scsi3 : ata_piix
Vendor: ATA Model: WDC WD360GD-00FN Rev: 35.0
Type: Direct-Access ANSI SCSI revision: 05
Attached scsi disk sda at scsi2, channel 0, id 0, lun 0
SCSI device sda: 72303840 512-byte hdwr sectors (37020 MB)
sda: sda1

There should be a Maxtor 120GB on the second ata port.

Cheers

James Spooner

--

James Spooner, BCMS email: [email protected]

VHDL Firmware Development               voice:   +64 7 834 6721
Endace Technology                         fax:   +64 7 858 5095
Hamilton, New Zealand                  mobile:   +64 2 144 7638