Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 24 Feb 2003 20:13:50 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 24 Feb 2003 20:13:50 -0500 Received: from cliff.cse.wustl.edu ([128.252.166.5]:14735 "EHLO cliff.cse.wustl.edu") by vger.kernel.org with ESMTP id ; Mon, 24 Feb 2003 20:13:01 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15962.50292.300435.567257@samba.doc.wustl.edu> Date: Mon, 24 Feb 2003 19:18:44 -0600 From: Krishnakumar B To: linux-kernel@vger.kernel.org Subject: Linux 2.4.20, Athlon MP and Promise PDC20276 IDE controller X-Mailer: VM 7.07 under 21.4 (patch 10) "Military Intelligence" XEmacs Lucid Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 67664 Lines: 2649 Hi, I just bought 3 identical AMD Athlon 2400+ MP machines with Gigabyte GA-7DPXDW-P motherboard. This board has a Promise PDC20276 IDE RAID controller on-board which I have setup to function as a ATA/133 IDE controller. I have attached both Maxtor ATA/133 disks to this controller instead of the on-board AMD IDE controller. Linux doesn't seem to enable DMA on this controller. As you can see from the boot message below both ide2 and ide3 are in PIO modes. Am I right in assuming that Linux doesn't enable DMA on this controller ? How do I determine if DMA is enabled for a ide controller apart from relying on the boot message ? Also when I try hdparm -tT /dev/hde, I get 57.xx MB/sec. Does this mean that my disk is capable of doing that much speed and the ide controller is functioning fine i.e DMA is enabled or is it still possible that my ide controller is in PIO mode ? Does anyone know which kernel should I run to get DMA on PDC20276 ? I have flashed the motherboard BIOS to the latest version available i.e F4. Do I need to flash the Promise controller also to the latest version ? Also this machine seems to have problems with SMP mode. From time to time when booting, the machine reboots just after printing the following line: BIOS failed to enable PCI standards compliance, fixing this error. isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found Or atleast that's what I can see last. Every time just before this happens, Linux seems to pause just after printing Booting processor 1/1 eip 2000 This is reproducible on all three machines. However Linux UP always seems to succeed. Is this an Linux SMP issue or BIOS/motherboard issue ? Any help in resolving this is also very much appreciated. Each machine has an ENERMAX 430W power supply and 4 80mm fans. I am using the latest RedHat rawhide (2.4.20-2.54) kernel. I chose this because this kernel or the latest -ac kernel seems likely to have the best chance of working right on AMD machines; the default RedHat 8.0 kernel couldn't enable DMA on the on-board IDE controller. I can't try 2.5.x as I am not going to use these machines. I can try any 2.4.x kernel. Since I bought this motherboard for the ATA/133 support, it kind of sucks that it doesn't seem to work well with Linux. Please CC me on any replies as I am not subscribed to linux-kernel. Thanks, kitty. Linux version 2.4.20-2.54smp (bhcompile@stripples.devel.redhat.com) (gcc version 3.2.2 20030217 (Red Hat Linux 8.0 3.2.2-2)) #1 SMP Sat Feb 22 08:11:49 EST 2003 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000003fff0000 (usable) BIOS-e820: 000000003fff0000 - 000000003fff3000 (ACPI NVS) BIOS-e820: 000000003fff3000 - 0000000040000000 (ACPI data) BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved) 127MB HIGHMEM available. 896MB LOWMEM available. found SMP MP-table at 000f4d60 hm, page 000f4000 reserved twice. hm, page 000f5000 reserved twice. hm, page 000f0000 reserved twice. hm, page 000f1000 reserved twice. On node 0 totalpages: 262128 zone(0): 4096 pages. zone(1): 225280 pages. zone(2): 32752 pages. Intel MultiProcessor Specification v1.4 Virtual Wire compatibility mode. OEM ID: OEM00000 Product ID: PROD00000000 APIC at: 0xFEE00000 Processor #0 Pentium(tm) Pro APIC version 17 Processor #1 Pentium(tm) Pro APIC version 17 I/O APIC #2 Version 17 at 0xFEC00000. Enabling APIC mode: Flat. Using 1 I/O APICs Processors: 2 Kernel command line: ro root=LABEL=/ hdd=ide-scsi ide_setup: hdd=ide-scsi Initializing CPU#0 Detected 2000.118 MHz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 3984.58 BogoMIPS Memory: 1026884k/1048512k available (1435k kernel code, 18044k reserved, 1070k data, 152k init, 131008k highmem) Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes) Inode cache hash table entries: 65536 (order: 7, 524288 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) Buffer-cache hash table entries: 65536 (order: 6, 262144 bytes) Page-cache hash table entries: 262144 (order: 8, 1048576 bytes) CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 256K (64 bytes/line) Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU: After generic, caps: 0383fbff c1cbfbff 00000000 00000000 CPU: Common caps: 0383fbff c1cbfbff 00000000 00000000 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au) mtrr: detected mtrr type: Intel CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 256K (64 bytes/line) Intel machine check reporting enabled on CPU#0. CPU: After generic, caps: 0383fbff c1cbfbff 00000000 00000000 CPU: Common caps: 0383fbff c1cbfbff 00000000 00000000 CPU0: AMD Athlon(tm) MP 2400+ stepping 01 per-CPU timeslice cutoff: 731.38 usecs. task migration cache decay timeout: 10 msecs. enabled ExtINT on CPU#0 ESR value before enabling vector: 00000000 ESR value after enabling vector: 00000000 Booting processor 1/1 eip 2000 Initializing CPU#1 masked ExtINT on CPU#1 ESR value before enabling vector: 00000000 ESR value after enabling vector: 00000000 Calibrating delay loop... 3997.69 BogoMIPS CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 256K (64 bytes/line) Intel machine check reporting enabled on CPU#1. CPU: After generic, caps: 0383fbff c1cbfbff 00000000 00000000 CPU: Common caps: 0383fbff c1cbfbff 00000000 00000000 CPU1: AMD Athlon(tm) MP stepping 01 Total of 2 processors activated (7982.28 BogoMIPS). ENABLING IO-APIC IRQs Setting 2 in the phys_id_present_map ...changing IO-APIC physical APIC ID to 2 ... ok. init IO_APIC IRQs IO-APIC (apicid-pin) 2-0, 2-11, 2-14, 2-20, 2-21, 2-22, 2-23 not connected. ..TIMER: vector=0x31 pin1=2 pin2=0 number of MP IRQ sources: 20. number of IO-APIC #2 registers: 24. testing the IO APIC....................... IO APIC #2...... .... register #00: 02000000 ....... : physical APIC id: 02 .... register #01: 00170011 ....... : max redirection entries: 0017 ....... : PRQ implemented: 0 ....... : IO APIC version: 0011 .... register #02: 00000000 ....... : arbitration: 00 .... IRQ redirection table: NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect: 00 000 00 1 0 0 0 0 0 0 00 01 0FF 0F 0 0 0 0 0 1 1 39 02 0FF 0F 0 0 0 0 0 1 1 31 03 0FF 0F 0 0 0 0 0 1 1 41 04 0FF 0F 0 0 0 0 0 1 1 49 05 0FF 0F 0 0 0 0 0 1 1 51 06 0FF 0F 0 0 0 0 0 1 1 59 07 0FF 0F 0 0 0 0 0 1 1 61 08 0FF 0F 0 0 0 0 0 1 1 69 09 0FF 0F 0 0 0 0 0 1 1 71 0a 0FF 0F 0 0 0 0 0 1 1 79 0b 000 00 1 0 0 0 0 0 0 00 0c 0FF 0F 0 0 0 0 0 1 1 81 0d 0FF 0F 0 0 0 0 0 1 1 89 0e 000 00 1 0 0 0 0 0 0 00 0f 0FF 0F 0 0 0 0 0 1 1 91 10 0FF 0F 1 1 0 1 0 1 1 99 11 0FF 0F 1 1 0 1 0 1 1 A1 12 0FF 0F 1 1 0 1 0 1 1 A9 13 0FF 0F 1 1 0 1 0 1 1 B1 14 000 00 1 0 0 0 0 0 0 00 15 000 00 1 0 0 0 0 0 0 00 16 000 00 1 0 0 0 0 0 0 00 17 000 00 1 0 0 0 0 0 0 00 IRQ to pin mappings: IRQ0 -> 0:2 IRQ1 -> 0:1 IRQ3 -> 0:3 IRQ4 -> 0:4 IRQ5 -> 0:5 IRQ6 -> 0:6 IRQ7 -> 0:7 IRQ8 -> 0:8 IRQ9 -> 0:9 IRQ10 -> 0:10 IRQ12 -> 0:12 IRQ13 -> 0:13 IRQ15 -> 0:15 IRQ16 -> 0:16 IRQ17 -> 0:17 IRQ18 -> 0:18 IRQ19 -> 0:19 .................................... done. Using local APIC timer interrupts. calibrating APIC timer ... ..... CPU clock speed is 2000.0617 MHz. ..... host bus clock speed is 266.6745 MHz. cpu: 0, clocks: 2666745, slice: 888915 CPU0 cpu: 1, clocks: 2666745, slice: 888915 CPU1 checking TSC synchronization across CPUs: passed. Starting migration thread for cpu 0 smp_num_cpus: 2. Starting migration thread for cpu 1 mtrr: your CPUs had inconsistent fixed MTRR settings mtrr: probably your BIOS does not setup all CPUs PCI: PCI BIOS revision 2.10 entry at 0xfa260, last bus=2 PCI: Using configuration type 1 PCI: Probing PCI hardware PCI: Using IRQ router default [1022/700c] at 00:00.0 PCI->APIC IRQ transform: (B0,I7,P1) -> 17 PCI->APIC IRQ transform: (B1,I5,P0) -> 17 PCI->APIC IRQ transform: (B2,I0,P3) -> 19 PCI->APIC IRQ transform: (B2,I4,P0) -> 16 PCI->APIC IRQ transform: (B2,I7,P0) -> 16 PCI->APIC IRQ transform: (B2,I8,P0) -> 18 BIOS failed to enable PCI standards compliance, fixing this error. isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16) apm: disabled - APM is not SMP safe. Starting kswapd allocated 32 pages and 32 bhs reserved for the highmem bounces VFS: Disk quotas vdquot_6.5.1 pty: 2048 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled ttyS0 at 0x03f8 (irq = 4) is a 16550A ttyS1 at 0x02f8 (irq = 3) is a 16550A Real Time Clock Driver v1.10e Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 NET4: Frame Diverter 0.46 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx AMD7441: IDE controller at PCI slot 00:07.1 AMD7441: chipset revision 4 AMD7441: not 100% native mode: will probe irqs later ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA PDC20276: IDE controller at PCI slot 02:08.0 PDC20276: chipset revision 1 PDC20276: not 100% native mode: will probe irqs later ide2: BM-DMA at 0xbc00-0xbc07, BIOS settings: hde:pio, hdf:pio ide3: BM-DMA at 0xbc08-0xbc0f, BIOS settings: hdg:pio, hdh:pio hdc: JLMS DVD-ROM LTD-166S, ATAPI CD/DVD-ROM drive hdd: LITE-ON LTR-48246S, ATAPI CD/DVD-ROM drive hde: Maxtor 6E040L0, ATA DISK drive blk: queue c043aae0, I/O limit 4095Mb (mask 0xffffffff) hdg: Maxtor 6E040L0, ATA DISK drive blk: queue c043af60, I/O limit 4095Mb (mask 0xffffffff) ide1 at 0x170-0x177,0x376 on irq 15 ide2 at 0xac00-0xac07,0xb002 on irq 18 ide3 at 0xb400-0xb407,0xb802 on irq 18 hde: host protected area => 1 hde: 80293248 sectors (41110 MB) w/2048KiB Cache, CHS=79656/16/63, UDMA(133) hdg: host protected area => 1 hdg: 80293248 sectors (41110 MB) w/2048KiB Cache, CHS=79656/16/63, UDMA(133) ide-floppy driver 0.99.newide Partition check: hde: [PTBL] [4998/255/63] hde1 hde2 hdg: [PTBL] [4998/255/63] hdg1 ide-floppy driver 0.99.newide md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 8192 buckets, 64Kbytes TCP: Hash tables configured (established 262144 bind 65536) Linux IP multicast router 0.06 plus PIM-SM NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. RAMDISK: Compressed image found at block 0 Freeing initrd memory: 167k freed VFS: Mounted root (ext2 filesystem). LVM version 1.0.5+(22/07/2002) module loaded Journalled Block Device driver loaded kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. Freeing unused kernel memory: 152k freed usb.c: registered new driver usbdevfs usb.c: registered new driver hub usb-ohci.c: USB OHCI at membase 0xf885c000, IRQ 19 usb-ohci.c: usb-02:00.0, Advanced Micro Devices [AMD] AMD-768 [Opus] USB usb.c: new USB bus registered, assigned bus number 1 hub.c: USB hub found hub.c: 4 ports detected usb.c: registered new driver hiddev usb.c: registered new driver hid hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik hid-core.c: USB HID support drivers mice: PS/2 mouse device common for all mice EXT3 FS 2.4-0.9.19, 19 August 2002 on ide2(33,1), internal journal loop: loaded (max 8 devices) Adding Swap: 2097144k swap-space (priority -1) kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.19, 19 August 2002 on lvm(58,0), internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.19, 19 August 2002 on lvm(58,1), internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.19, 19 August 2002 on lvm(58,2), internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.19, 19 August 2002 on lvm(58,3), internal journal EXT3-fs: mounted filesystem with ordered data mode. kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.19, 19 August 2002 on lvm(58,4), internal journal EXT3-fs: mounted filesystem with ordered data mode. hdc: ATAPI 48X DVD-ROM drive, 512kB Cache Uniform CD-ROM driver Revision: 3.12 SCSI subsystem driver Revision: 1.00 scsi0 : SCSI host adapter emulation for IDE ATAPI devices Vendor: LITE-ON Model: LTR-48246S Rev: SS09 Type: CD-ROM ANSI SCSI revision: 02 parport0: PC-style at 0x378 [PCSPP,TRISTATE] ip_tables: (C) 2000-2002 Netfilter core team Intel(R) PRO/100 Network Driver - version 2.1.29-k2 Copyright (c) 2002 Intel Corporation e100: selftest OK. divert: allocating divert_blk for eth0 e100: eth0: Intel(R) PRO/100+ Server Adapter Hardware receive checksums enabled cpu cycle saver enabled e100: eth0 NIC Link is Up 100 Mbps Full duplex Linux agpgart interface v0.99 (c) Jeff Hartmann agpgart: Maximum main memory to use for agp memory: 941M agpgart: Detected AMD 760MP chipset agpgart: AGP aperture is 128M @ 0xe8000000 Intel 810 + AC97 Audio, version 0.24, 08:22:01 Feb 22 2003 i810: AMD 768 found at IO 0xd400 and 0xd000, MEM 0x0000 and 0x0000, IRQ 17 i810_audio: Audio Controller supports 2 channels. i810_audio: Defaulting to base 2 channel mode. i810_audio: Resetting connection 0 ac97_codec: AC97 Audio codec, id: 0x8384:0x7600 (SigmaTel STAC????) i810_audio: only 48Khz playback available. i810_audio: AC'97 codec 0 Unable to map surround DAC's (or DAC's not present), total channels = 2 Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0 sr0: scsi3-mmc drive: 244x/48x writer cd/rw xa/form2 cdda tray cdrom: This disc doesn't have any tracks I recognize! lspci -vv 00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-760 MP [IGD4-2P] System Controller (rev 11) Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- 00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-760 MP [IGD4-2P] AGP Bridge (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- Reset- FastB2B- 00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-768 [Opus] ISA (rev 05) Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- Reset- FastB2B- 01:05.0 VGA compatible controller: ATI Technologies Inc Radeon R200 QH [Radeon 8500] (rev 80) (prog-if 00 [VGA]) Subsystem: ATI Technologies Inc FireGL 8700 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- [disabled] [size=128K] Capabilities: [58] AGP version 2.0 Status: RQ=47 SBA+ 64bit- FW+ Rate=x1,x2,x4 Command: RQ=0 SBA+ AGP- 64bit- FW- Rate= Capabilities: [50] Power Management version 2 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 02:00.0 USB Controller: Advanced Micro Devices [AMD] AMD-768 [Opus] USB (rev 07) (prog-if 10 [OHCI]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- [disabled] [size=64K] Capabilities: [dc] Power Management version 2 Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=2 PME- 02:08.0 RAID bus controller: Promise Technology, Inc. PDC20276 IDE (rev 01) (prog-if 85) Subsystem: Giga-byte Technology: Unknown device b001 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- SERR-