Re: [patch]2.2.0-pre5-ac1

Dieter =?iso-8859-1?Q?N=FCtzel?= (nuetzel@kogs1.informatik.uni-hamburg.de)
Fri, 08 Jan 1999 20:07:28 +0100


Hello Alan,

found some problems with the latest 2.2.0-pre4-ac4 / 2.2.0-pre5-ac1?
(don't know exactly).

It's in the (U)IDE driver (I have a VIA VT82C586B on my board)

Linux version 2.2.0-pre5-ac1 (root@SunWave1) (gcc version pgcc-2.91.60
19981201 (egcs-1.1.1
release)) #1 Thu Jan 7 22:55:21 MET 1999
Detected 402020027 Hz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 799.54 BogoMIPS
Memory: 128044k/131072k available (800k kernel code, 412k reserved,
1760k data, 56k init)
CPU: AMD AMD-K6(tm) 3D processor stepping 0c
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.

Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
PCI: PCI BIOS revision 2.10 entry at 0xfb150
PCI: Using configuration type 1
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
Starting kswapd v 1.5
vesafb: framebuffer at 0xec000000, mapped to 0xc8800000, size 16384k
vesafb: mode is 1280x1024x16, linelength=2560, pages=5
vesafb: protected mode interface info at c000:7d6c
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 160x64
fb0: VESA VGA frame buffer device
pty: 256 Unix98 ptys configured
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.8)
Real Time Clock Driver v1.09
(scsi0) <Adaptec AHA-294X Ultra SCSI host adapter> found at PCI 19/0
(scsi0) Wide Channel, SCSI ID=7, 16/255 SCBs
(scsi0) Warning - detected auto-termination
(scsi0) Please verify driver detected settings are correct.
(scsi0) If not, then please properly set the device termination
(scsi0) in the Adaptec SCSI BIOS by hitting CTRL-A when prompted
(scsi0) during machine bootup.
(scsi0) Cables present (Int-50 NO, Int-68 YES, Ext-68 YES)
(scsi0) Downloading sequencer code... 419 instructions downloaded
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.9/3.2.4
<Adaptec AHA-294X Ultra SCSI host adapter>
scsi : 1 host.
Vendor: HP Model: C1537A Rev: L610
Type: Sequential-Access ANSI SCSI revision: 02
Vendor: PIONEER Model: CD-ROM DR-U12X Rev: 1.06
Type: CD-ROM ANSI SCSI revision: 02
Vendor: IBM Model: DDRS-34560W Rev: S71D
Type: Direct-Access ANSI SCSI revision: 02
Detected scsi disk sda at scsi0, channel 0, id 6, lun 0
scsi : detected 1 SCSI disk total.
(scsi0:0:6:0) Synchronous at 40.0 Mbyte/sec, offset 8.
SCSI device sda: hdwr sector= 512 bytes. Sectors= 8925000 [4357 MB] [4.4
GB]
Partition check:
sda: sda1 sda2 sda3 sda4 < sda5 sda6 >
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 56k freed
Adding Swap: 130748k swap-space (priority -1)
eth0: Intel EtherExpress Pro 10/100 at 0xe800, 00:A0:C9:8D:71:48, IRQ 9.

Board assembly 668081-004, Physical connectors present: RJ45
Primary interface chip i82555 PHY #1.
General self-test: passed.
Serial sub-system self-test: passed.
Internal registers self-test: passed.
ROM checksum self-test: passed (0x3c15c8f1).
Receiver lock-up workaround activated.
VP_IDE: IDE controller on PCI bus 00 dev 39
VP_IDE: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:pio, hdb:pio
ide0: VIA Bus-Master (U)DMA Timing Config Success
ide1: BM-DMA at 0xe008-0xe00f, BIOS settings: hdc:pio, hdd:pio
ide1: VIA Bus-Master (U)DMA Timing Config Success
hda: WDC AC32500H, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: Disabling (U)DMA for WDC AC32500H
hda: DMA disabled
hda: WDC AC32500H, 2441MB w/128kB Cache, CHS=620/128/63
hda: hda1

2.2.0-pre4-ac1 / ac4 'said' I have a poor WDC AC32500H harddisk and
disabled the DMA transfermode. 2.2.0-pre5-ac1 'only' disabled it as you
can see in the log :-(

I lost 2MB transferrate without DMA!!!!
Shoudn't the driver check first UDMA (I know my 'poor' WDC AC32500H
can't do that, that's why my first HD is a nice IBM UW SCSI :-), if it
fails second test for DMA and after that without DMA?!!!

SunWave1>hdparm -d 0 /dev/hda

/dev/hda:
setting using_dma to 0 (off)
using_dma = 0 (off)
SunWave1>hdparm -t /dev/hda1

/dev/hda1:
Timing buffered disk reads: 32 MB in 6.31 seconds = 5.07 MB/sec
SunWave1>hdparm -t /dev/hda1

/dev/hda1:
Timing buffered disk reads: 32 MB in 6.34 seconds = 5.05 MB/sec
SunWave1>hdparm -t /dev/hda1

/dev/hda1:
Timing buffered disk reads: 32 MB in 6.28 seconds = 5.10 MB/sec

******************************************************************

SunWave1>hdparm -d 1 /dev/hda

/dev/hda:
setting using_dma to 1 (on)
using_dma = 1 (on)
SunWave1>hdparm -t /dev/hda1

/dev/hda1:
Timing buffered disk reads: 32 MB in 4.52 seconds = 7.08 MB/sec
SunWave1>hdparm -t /dev/hda1

/dev/hda1:
Timing buffered disk reads: 32 MB in 4.49 seconds = 7.13 MB/sec
SunWave1>hdparm -t /dev/hda1

/dev/hda1:
Timing buffered disk reads: 32 MB in 4.52 seconds = 7.08 MB/sec

Thanks,

-- Dieter

---
Dieter Nuetzel
Graduate Student, Computer Science

University of Hamburg Department of Computer Science Cognitive Systems Group Vogt-Koelln-Strasse 30 22527 Hamburg, Germany

email: nuetzel@kogs.informatik.uni-hamburg.de

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/