Re: ATA 100 & VIA and linux-2.4.3ac8
El Mié 18 Abr 2001 15:16, escribiste: > I don't know about other possible problems with the kernel, but you must > use an 80 wire IDE cable for UDMA66/100 to work. > > > ---Primary IDE---Secondary IDE-- > > Cable Type: 40w 40w Strange thing. With previous version of kernel (2.4.1 I think), I haven't got this problem. May be a bios detection problem? Extract from /usr/src/linux/drivers/ide/via82cxxx..c: * * PIO 0-5, MWDMA 0-2, SWDMA 0-2 and UDMA 0-5 * * (this includes UDMA33, 66 and 100) modes. UDMA66 and higher modes are * autoenabled only in case the BIOS has detected a 80 wire cable. To ignore * the BIOS data and assume the cable is present, use 'ide0=ata66' or * 'ide1=ata66' on the kernel command line. * I've tried with ide0=ata100, but this options doesn't work. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
ATA 100 & VIA and linux-2.4.3ac8
Hi. I have a ASUS A7V133 Motherboard with AMD ThinderBird 1 Ghz, and PDC20265/VIA. I've tried all the possible combinations on "IDE, ATA and ATAPI Block devices". I've read the "Unofficial Asus A7V and Linux ATA100 "Quasi-Mini-Howto" on http://www.geocities.com/ender7007/. But I still can't use de IDE UDMA100 controler. I see some messages with this options on earlier version of the ac-kernel, so I guess what I need to do the right thing. My current kernel is 2.4.3-ac9. Some settings: a) "IDE, ATA and ATAPI Block devices" config in the kernel: CONFIG_IDE=y CONFIG_BLK_DEV_IDEDISK=y CONFIG_BLK_DEV_IDECD=y CONFIG_BLK_DEV_IDEFLOPPY=y CONFIG_BLK_DEV_IDESCSI=y CONFIG_BLK_DEV_IDEPCI=y CONFIG_IDEPCI_SHARE_IRQ=y CONFIG_BLK_DEV_IDEDMA_PCI=y CONFIG_IDEDMA_PCI_AUTO=y CONFIG_BLK_DEV_IDEDMA=y CONFIG_BLK_DEV_PDC202XX=y CONFIG_BLK_DEV_VIA82CXXX=y CONFIG_IDEDMA_AUTO=y CONFIG_IDEDMA_IVB=y CONFIG_BLK_DEV_IDE_MODES=y b) cat /proc/ide/via output: --VIA BusMastering IDE Configuration Driver Version: 3.23 South Bridge: VIA vt82c686a Revision: ISA 0x22 IDE 0x10 Highest DMA rate: UDMA66 BM-DMA base:0xb800 PCI clock: 33MHz Master Read Cycle IRDY:0ws Master Write Cycle IRDY:0ws BM IDE Status Register Read Retry: yes Max DRDY Pulse Width: No limit ---Primary IDE---Secondary IDE-- Read DMA FIFO flush: yes yes End Sector FIFO flush: no no Prefetch Buffer: no no Post Write Buffer: no no Enabled: yes yes Simplex only: no no Cable Type: 40w 40w ---drive0drive1drive2drive3- Transfer Mode:DMA UDMA PIO PIO Address Setup: 30ns 30ns 120ns 120ns Cmd Active: 90ns 90ns 480ns 480ns Cmd Recovery:30ns 30ns 480ns 480ns Data Active: 90ns 90ns 330ns 330ns Data Recovery: 30ns 30ns 270ns 270ns Cycle Time: 120ns 60ns 600ns 600ns Transfer Rate: 16.5MB/s 33.0MB/s 3.3MB/s 3.3MB/s c) Dmesg output: Linux version 2.4.3-ac9 ([EMAIL PROTECTED]) (gcc version 2.96 2731 (Linux-Mandrake 8.0 2.96-0.47mdk)) #6 mié abr 18 19:49:06 EDT 2001 BIOS-provided physical RAM map: BIOS-e820: - 0009e800 (usable) BIOS-e820: 0009e800 - 000a (reserved) BIOS-e820: 000f - 0010 (reserved) BIOS-e820: 0010 - 17fec000 (usable) BIOS-e820: 17fec000 - 17fef000 (ACPI data) BIOS-e820: 17fef000 - 17fff000 (reserved) BIOS-e820: 17fff000 - 1800 (ACPI NVS) BIOS-e820: - 0001 (reserved) On node 0 totalpages: 98284 zone(0): 4096 pages. zone(1): 94188 pages. zone(2): 0 pages. Local APIC disabled by BIOS -- reenabling. Found and enabled local APIC! Kernel command line: BOOT_IMAGE=devel ro root=2102 hda=ide-scsi x86_serial_nr=1 bios=0x80ide_setup: hda=ide-scsi Initializing CPU#0 Detected 1009.001 MHz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 2011.95 BogoMIPS Memory: 384404k/393136k available (975k kernel code, 8340k reserved, 274k data, 208k init, 0k highmem) Dentry-cache hash table entries: 65536 (order: 7, 524288 bytes) Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes) Page-cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 32768 (order: 6, 262144 bytes) CPU: Before vendor init, caps: 0183fbff c1c7fbff , vendor = 2 CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 256K (64 bytes/line) CPU: After vendor init, caps: 0183fbff c1c7fbff CPU: After generic, caps: 0183fbff c1c7fbff CPU: Common caps: 0183fbff c1c7fbff CPU: AMD Athlon(tm) Processor stepping 02 Enabling fast FPU save and restore... done. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX enabled ExtINT on CPU#0 ESR value before enabling vector: ESR value after enabling vector: Using local APIC timer interrupts. calibrating APIC timer ... . CPU clock speed is 1009.0055 MHz. . host bus clock speed is 201.8011 MHz. cpu: 0, clocks: 2018011, slice: 1009005 CPU0 mtrr: v1.40 (20010327) Richard Gooch ([EMAIL PROTECTED]) mtrr: detected mtrr type: Intel PCI: Using configuration type 1 PCI: Probing PCI hardware PCI: Using IRQ router VIA [1106/0686] at 00:04.0 Applying VIA PCI latency patch.
ATA 100 VIA and linux-2.4.3ac8
Hi. I have a ASUS A7V133 Motherboard with AMD ThinderBird 1 Ghz, and PDC20265/VIA. I've tried all the possible combinations on "IDE, ATA and ATAPI Block devices". I've read the "Unofficial Asus A7V and Linux ATA100 "Quasi-Mini-Howto" on http://www.geocities.com/ender7007/. But I still can't use de IDE UDMA100 controler. I see some messages with this options on earlier version of the ac-kernel, so I guess what I need to do the right thing. My current kernel is 2.4.3-ac9. Some settings: a) "IDE, ATA and ATAPI Block devices" config in the kernel: CONFIG_IDE=y CONFIG_BLK_DEV_IDEDISK=y CONFIG_BLK_DEV_IDECD=y CONFIG_BLK_DEV_IDEFLOPPY=y CONFIG_BLK_DEV_IDESCSI=y CONFIG_BLK_DEV_IDEPCI=y CONFIG_IDEPCI_SHARE_IRQ=y CONFIG_BLK_DEV_IDEDMA_PCI=y CONFIG_IDEDMA_PCI_AUTO=y CONFIG_BLK_DEV_IDEDMA=y CONFIG_BLK_DEV_PDC202XX=y CONFIG_BLK_DEV_VIA82CXXX=y CONFIG_IDEDMA_AUTO=y CONFIG_IDEDMA_IVB=y CONFIG_BLK_DEV_IDE_MODES=y b) cat /proc/ide/via output: --VIA BusMastering IDE Configuration Driver Version: 3.23 South Bridge: VIA vt82c686a Revision: ISA 0x22 IDE 0x10 Highest DMA rate: UDMA66 BM-DMA base:0xb800 PCI clock: 33MHz Master Read Cycle IRDY:0ws Master Write Cycle IRDY:0ws BM IDE Status Register Read Retry: yes Max DRDY Pulse Width: No limit ---Primary IDE---Secondary IDE-- Read DMA FIFO flush: yes yes End Sector FIFO flush: no no Prefetch Buffer: no no Post Write Buffer: no no Enabled: yes yes Simplex only: no no Cable Type: 40w 40w ---drive0drive1drive2drive3- Transfer Mode:DMA UDMA PIO PIO Address Setup: 30ns 30ns 120ns 120ns Cmd Active: 90ns 90ns 480ns 480ns Cmd Recovery:30ns 30ns 480ns 480ns Data Active: 90ns 90ns 330ns 330ns Data Recovery: 30ns 30ns 270ns 270ns Cycle Time: 120ns 60ns 600ns 600ns Transfer Rate: 16.5MB/s 33.0MB/s 3.3MB/s 3.3MB/s c) Dmesg output: Linux version 2.4.3-ac9 ([EMAIL PROTECTED]) (gcc version 2.96 2731 (Linux-Mandrake 8.0 2.96-0.47mdk)) #6 mi abr 18 19:49:06 EDT 2001 BIOS-provided physical RAM map: BIOS-e820: - 0009e800 (usable) BIOS-e820: 0009e800 - 000a (reserved) BIOS-e820: 000f - 0010 (reserved) BIOS-e820: 0010 - 17fec000 (usable) BIOS-e820: 17fec000 - 17fef000 (ACPI data) BIOS-e820: 17fef000 - 17fff000 (reserved) BIOS-e820: 17fff000 - 1800 (ACPI NVS) BIOS-e820: - 0001 (reserved) On node 0 totalpages: 98284 zone(0): 4096 pages. zone(1): 94188 pages. zone(2): 0 pages. Local APIC disabled by BIOS -- reenabling. Found and enabled local APIC! Kernel command line: BOOT_IMAGE=devel ro root=2102 hda=ide-scsi x86_serial_nr=1 bios=0x80ide_setup: hda=ide-scsi Initializing CPU#0 Detected 1009.001 MHz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 2011.95 BogoMIPS Memory: 384404k/393136k available (975k kernel code, 8340k reserved, 274k data, 208k init, 0k highmem) Dentry-cache hash table entries: 65536 (order: 7, 524288 bytes) Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes) Page-cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 32768 (order: 6, 262144 bytes) CPU: Before vendor init, caps: 0183fbff c1c7fbff , vendor = 2 CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 256K (64 bytes/line) CPU: After vendor init, caps: 0183fbff c1c7fbff CPU: After generic, caps: 0183fbff c1c7fbff CPU: Common caps: 0183fbff c1c7fbff CPU: AMD Athlon(tm) Processor stepping 02 Enabling fast FPU save and restore... done. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX enabled ExtINT on CPU#0 ESR value before enabling vector: ESR value after enabling vector: Using local APIC timer interrupts. calibrating APIC timer ... . CPU clock speed is 1009.0055 MHz. . host bus clock speed is 201.8011 MHz. cpu: 0, clocks: 2018011, slice: 1009005 CPU0T0:2018000,T1:1008992,D:3,S:1009005,C:2018011 mtrr: v1.40 (20010327) Richard Gooch ([EMAIL PROTECTED]) mtrr: detected mtrr type: Intel PCI: Using configuration type 1 PCI: Probing PCI hardware PCI: Using IRQ router VIA [1106/0686] at
Re: ATA 100 VIA and linux-2.4.3ac8
El Mi 18 Abr 2001 15:16, escribiste: I don't know about other possible problems with the kernel, but you must use an 80 wire IDE cable for UDMA66/100 to work. ---Primary IDE---Secondary IDE-- Cable Type: 40w 40w Strange thing. With previous version of kernel (2.4.1 I think), I haven't got this problem. May be a bios detection problem? Extract from /usr/src/linux/drivers/ide/via82cxxx..c: * * PIO 0-5, MWDMA 0-2, SWDMA 0-2 and UDMA 0-5 * * (this includes UDMA33, 66 and 100) modes. UDMA66 and higher modes are * autoenabled only in case the BIOS has detected a 80 wire cable. To ignore * the BIOS data and assume the cable is present, use 'ide0=ata66' or * 'ide1=ata66' on the kernel command line. * I've tried with ide0=ata100, but this options doesn't work. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/