--- linux.orig/drivers/ide/pci/via82cxxx.c
+++ linux/drivers/ide/pci/via82cxxx.c
@@ -81,6 +81,7 @@ static struct via_isa_bridge {
{ "vt6410", PCI_DEVICE_ID_VIA_6410, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST },
{ "vt8251", PCI_DEVICE_ID_VIA_8251, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST },
{ "vt8237", PCI_DEVICE_ID_VIA_8237, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST },
+ { "vt8237a", PCI_DEVICE_ID_VIA_8237A, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST },
{ "vt8235", PCI_DEVICE_ID_VIA_8235, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST },
{ "vt8233a", PCI_DEVICE_ID_VIA_8233A, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST },
{ "vt8233c", PCI_DEVICE_ID_VIA_8233C_0, 0x00, 0x2f, VIA_UDMA_100 },
Enjoy.
Norm
]]>Before kernel patch:
hdparm -Tt /dev/hda
/dev/hda:
Timing cached reads: 2292 MB in 2.00 seconds = 1146.17 MB/sec
Timing buffered disk reads: 10 MB in 3.57 seconds = 2.80 MB/sec
after:
VP_IDE: IDE controller at PCI slot 0000:00:0f.1
PCI: VIA IRQ fixup for 0000:00:0f.1, from 255 to 0
VP_IDE: chipset revision 7
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8237a (rev 00) IDE UDMA133 controller on pci0000:00:0f.1
ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:pio
Probing IDE interface ide0...
hda: Maxtor 53073H4, ATA DISK drive
hdb: SAMSUNG SV1022D, ATA DISK drive
hdparm -Tt /dev/hda
/dev/hda:
Timing cached reads: 2408 MB in 2.00 seconds = 1203.09 MB/sec
Timing buffered disk reads: 92 MB in 3.05 seconds = 30.15 MB/sec
Looks like I'm back on track!
thanks all.
Norm
In comparison to yours above, I'm getting 2Mb/s compared to your 70Mb/s :shock:
The bottom line, the IDE pieces must be compiled in for my system to boot. I still have a boot image from mkinitcpio as well.
I'll find out soon if this little patch fixes my speed issue.
Norm
]]>errr
hdparm -tT /dev/sda
/dev/sda:
Timing cached reads: 3704 MB in 2.00 seconds = 1852.39 MB/sec
Timing buffered disk reads: 216 MB in 3.01 seconds = 71.77 MB/sec
Not suer if thats ok nothing to compare it with ....
Are you like in Arch yet....?
mkinitcpio is easy to use .....
Maybe chroot in & fix your problems (what I had to do when swappin' drives!)
Cannot think of anything else
]]>My problem now is the disabled DMA for my hard drives -- makes the quite slow.
Sep 8 01:43:49 tv ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Sep 8 01:43:49 tv VP_IDE: IDE controller at PCI slot 0000:00:0f.1
Sep 8 01:43:49 tv PCI: VIA IRQ fixup for 0000:00:0f.1, from 255 to 0
Sep 8 01:43:49 tv VP_IDE: chipset revision 7
Sep 8 01:43:49 tv VP_IDE: not 100% native mode: will probe irqs later
Sep 8 01:43:49 tv VP_IDE: Unknown VIA SouthBridge, disabling DMA.
Sep 8 01:43:49 tv VP_IDE: IDE controller at PCI slot 0000:00:0f.1
Sep 8 01:43:49 tv VP_IDE: chipset revision 7
Sep 8 01:43:49 tv VP_IDE: not 100% native mode: will probe irqs later
Sep 8 01:43:49 tv VP_IDE: Unknown VIA SouthBridge, disabling DMA.
Sep 8 01:43:49 tv hda: Maxtor 53073H4, ATA DISK drive
Sep 8 01:43:49 tv hdb: SAMSUNG SV1022D, ATA DISK drive
Sep 8 01:43:49 tv hdc: HL-DT-ST DVDRAM GSA-4163B, ATAPI CD/DVD-ROM drive
Sep 8 01:43:49 tv ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Sep 8 01:43:49 tv ide1 at 0x170-0x177,0x376 on irq 15
Sep 8 01:43:49 tv hdc: ATAPI 40X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache
Sep 8 01:43:49 tv Uniform CD-ROM driver Revision: 3.20
I found a package in extra (kernelmm) which has all of the IDE modules built-in and it boots -- HOWEVER, udev fails because the kernel is 2.6.13 and you need > 2.6.15 for udev.
Unless there is another package out there, I'm going to build a kernel with the IDE modules built-in and see how that goes.
Norm
]]>Thanks all for the assistance and suggestions -- I have been working on linux/unix for almost 5 years now and I haven't hit a problem quite like this one -- but then, you don't do installs all the time either.
Norm
]]>The Installer is still using mkinitrd, so that's why I'm using it. I don't think mkinitcpio is installed by default. I'll have to check.
Norm
It is not, but it is if you upgrade. I highly recommend you switch to mkinitcpio, as it should fix your problem. /me crosses his fingers
]]>I got to upload it to my webspace .....
BRB
]]>How can I get that kernel from you to try?
Norm
]]>In my case my P5B would not show dvd drive ... had to patch kernel to get it to work
Have you done a google for your board & problem ...
Sorry I cannot be of much more help If you need kernel then let me know ...
MrG
]]>