dd and 2.3.7

Klaus Dittrich (kladi@z.zgs.de)
Mon, 21 Jun 1999 19:17:04 +0200


Report of using 2.3.7 on a 2-way-smp (2xPII/350 asus-p2b-ds)

I use glibc 2.1.1 and compiled the kernel with egcs-1.1.2 and
-fno-strict-aliasing.

I use two disks of the same type with the same partions on both and do
my backup with time dd if=/dev/sda3 of=/dev/sdb3 bs=1024k

It reports ..
8534+1 records in
8534+1 records out
997.72s real 0.11s user 449.12s system

which is about 8.5 MB/sec and faster than my last measure with kernel
2.3.5 where I got about 6 MB/sec.

But strange things happend while dd was running.

xosview 1.7.1 reports ..
Warning: meter MemMeter had a negative value of -336777216.000000 for field 0
and looked terrible.

I tried to recompile it and to cd to the src-dir of xosview and got ..

cd internal error: alloc: cannot allocate

ls -al | more reports ..
Memory fault

vi some_file reports
ksh: interanl error : cannot allocate

I typed these commands several times while dd was running.
Sometimes I got the errors above and sometimes not.
The cd worked always (with and without reporting the error).

The dd succeeded, the system didn't crash and is still running.
The fsck didn't report anything unusual.

--
Klaus

PS. dmesg-output ..

Linux version 2.3.7 (root@df1tlpc) (gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)) #1 SMP Mon Jun 21 13:03:12 MEST 1999 Intel MultiProcessor Specification v1.1 Virtual Wire compatibility mode. OEM ID: OEM00000 Product ID: PROD00000000 APIC at: 0xFEE00000 Processor #1 Pentium(tm) Pro APIC version 17 Processor #0 Pentium(tm) Pro APIC version 17 I/O APIC #2 Version 17 at 0xFEC00000. Processors: 2 mapped APIC to ffffe000 (fee00000) mapped IOAPIC to ffffd000 (fec00000) Detected 350799923 Hz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 349.80 BogoMIPS Memory: 514380k/524224k available (1164k kernel code, 416k reserved, 8220k data, 44k init) buffer-cache hash table entries: 131072 (order: 7, 524288 bytes) Checking 386/387 coupling... OK, FPU using exception 16 error reporting. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX mtrr: v1.35 (19990512) Richard Gooch (rgooch@atnf.csiro.au) per-CPU timeslice cutoff: 100.22 usecs. CPU1: Intel Pentium II (Deschutes) stepping 02 calibrating APIC timer ... ..... CPU clock speed is 350.7939 MHz. ..... system bus clock speed is 100.2265 MHz. Booting processor 0 eip 2000 Calibrating delay loop... 350.62 BogoMIPS OK. CPU0: Intel Pentium II (Deschutes) stepping 02 Total of 2 processors activated (700.42 BogoMIPS). enabling symmetric IO mode... ...done. ENABLING IO-APIC IRQs init IO_APIC IRQs IO-APIC pin 0, 5, 10, 11, 13, 17, 20, 21, 22, 23 not connected. number of MP IRQ sources: 15. number of IO-APIC registers: 24. testing the IO APIC....................... .... register #00: 02000000 ....... : physical APIC id: 02 .... register #01: 00170011 ....... : max redirection entries: 0017 ....... : 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 000 00 0 0 0 0 0 1 1 59 02 0FF 0F 0 0 0 0 0 1 1 51 03 000 00 0 0 0 0 0 1 1 61 04 000 00 0 0 0 0 0 1 1 69 05 000 00 1 0 0 0 0 0 0 00 06 000 00 0 0 0 0 0 1 1 71 07 000 00 0 0 0 0 0 1 1 79 08 000 00 0 0 0 0 0 1 1 81 09 000 00 0 0 0 0 0 1 1 89 0a 000 00 1 0 0 0 0 0 0 00 0b 000 00 1 0 0 0 0 0 0 00 0c 000 00 0 0 0 0 0 1 1 91 0d 000 00 1 0 0 0 0 0 0 00 0e 000 00 0 0 0 0 0 1 1 99 0f 000 00 0 0 0 0 0 1 1 A1 10 0FF 0F 1 1 0 1 0 1 1 A9 11 000 00 1 0 0 0 0 0 0 00 12 0FF 0F 1 1 0 1 0 1 1 B1 13 0FF 0F 1 1 0 1 0 1 1 B9 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 -> 2 IRQ1 -> 1 IRQ3 -> 3 IRQ4 -> 4 IRQ5 -> 19 IRQ6 -> 6 IRQ7 -> 7 IRQ8 -> 8 IRQ9 -> 9 IRQ10 -> 18 IRQ11 -> 16 IRQ12 -> 12 IRQ14 -> 14 IRQ15 -> 15 .................................... done. mtrr: your CPUs had inconsistent fixed MTRR settings mtrr: your CPUs had inconsistent variable MTRR settings mtrr: probably your BIOS does not setup all CPUs PCI: PCI BIOS revision 2.10 entry at 0xf0730 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 TCP: Hash tables configured (established 524288 bind 524288) Starting kswapd v 1.5 Detected PS/2 Mouse Port. Serial driver version 4.27 with no serial options enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A ttyS01 at 0x02f8 (irq = 3) is a 16550A Real Time Clock Driver v1.09a Uniform Multi-Platform E-IDE driver Revision: 6.19 Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 (scsi0) <Adaptec AIC-7890/1 Ultra2 SCSI host adapter> found at PCI 6/0 (scsi0) Wide Channel, SCSI ID=7, 32/255 SCBs (scsi0) Downloading sequencer code... 374 instructions downloaded scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.17/3.2.4 <Adaptec AIC-7890/1 Ultra2 SCSI host adapter> scsi : 1 host. (scsi0:0:1:0) Synchronous at 80.0 Mbyte/sec, offset 15. Vendor: SEAGATE Model: ST39173LW Rev: 6246 Type: Direct-Access ANSI SCSI revision: 02 Detected scsi disk sda at scsi0, channel 0, id 1, lun 0 (scsi0:0:2:0) Synchronous at 80.0 Mbyte/sec, offset 15. Vendor: SEAGATE Model: ST39173LW Rev: 6246 Type: Direct-Access ANSI SCSI revision: 02 Detected scsi disk sdb at scsi0, channel 0, id 2, lun 0 (scsi0:0:6:0) Synchronous at 10.0 Mbyte/sec, offset 16. Vendor: TOSHIBA Model: CD-ROM XM-6201TA Rev: 1037 Type: CD-ROM ANSI SCSI revision: 02 Detected scsi CD-ROM sr0 at scsi0, channel 0, id 6, lun 0 scsi : detected 1 SCSI cdrom 2 SCSI disks total. Uniform CDROM driver Revision: 2.55 SCSI device sda: hdwr sector= 512 bytes. Sectors= 17783240 [8683 MB] [8.7 GB] SCSI device sdb: hdwr sector= 512 bytes. Sectors= 17783240 [8683 MB] [8.7 GB] 3c59x.c:v0.99H 11/17/98 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html eth0: 3Com 3c905B Cyclone 100baseTx at 0xb800, 00:10:4b:6e:33:88, IRQ 10 8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface. MII transceiver found at address 24, status 786d. MII transceiver found at address 0, status 786d. Enabling bus-master transmits and whole-frame receives. Partition check: sda: sda1 sda2 sda3 sdb: sdb1 sdb2 sdb3 VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 44k freed Adding Swap: 130748k swap-space (priority -1) Unable to load interpreter Unable to load interpreter Unable to load interpreter Unable to load interpreter Unable to load interpreter Unable to load interpreter Unable to load interpreter Unable to load interpreter Unable to load interpreter Unable to load interpreter Unable to load interpreter Unable to load interpreter Unable to load interpreter Unable to load interpreter

- 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/