kern/59594: I/O operations freeze system when perform file transfer

"dd dd" dd1968 at mail.ru
Sat Nov 22 10:40:10 PST 2003


>Number:         59594
>Category:       kern
>Synopsis:       I/O operations freeze system when perform file transfer
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 22 10:40:06 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     dmitry
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
SPEC
>Environment:
System: FreeBSD mail.spec.ru 5.1-RELEASE FreeBSD 5.1-RELEASE #4: Tue Nov 18 22:55:56 GMT 2003 diwil at mail.spec.ru:/usr/src/sys/i386/compile/SERVER i386

>Description:
        ASUS m/b with Intel Celeron 850 MHz.
        I've got 2 ATA UDMA100 Samsung disks.
        Each of them connected to the its own controller.

        Some of Boot messages:
        ...
        atapci0: <VIA 82C686B UDMA100 controller> port 0xd800-0xd80f at device 4.1 on pci0
        ata0: at 0x1f0 irq 14 on atapci0
        ata1: at 0x170 irq 15 on atapci0
        ...
        ad0: 9732MB <SAMSUNG SV1021H> [19774/16/63] at ata0-master UDMA100
        ad2: 76351MB <SAMSUNG SV0802N> [155127/16/63] at ata1-master UDMA100
        ad0: UDMA ICRC error cmd=write fsbn 786815 of 786815-786846 retrying
        ad0: UDMA ICRC error cmd=write fsbn 2473791 of 2473791-2473822 retrying
        ad0: UDMA ICRC error cmd=write fsbn 2473791 of 2473791-2473822 retrying
        ad0: UDMA ICRC error cmd=write fsbn 2473791 of 2473791-2473822 retrying
        ad0: UDMA ICRC error cmd=write fsbn 2473791 of 2473791-2473822 falling back to PIO mode
        ad2: UDMA ICRC error cmd=read fsbn 107260415 of 107260415-107260418 retrying
        ad2: UDMA ICRC error cmd=read fsbn 107260415 of 107260415-107260418 retrying
        ad2: UDMA ICRC error cmd=read fsbn 107260415 of 107260415-107260418 retrying
        ad2: UDMA ICRC error cmd=read fsbn 107260415 of 107260415-107260418 falling back to PIO mode

        Then system runs and looks stable until I try to perform large file transfers between 2 disks.
        When I do
          cp /mountpoint1/largefile /mountpoint2/
        system freezes after about 10M transfered.
        If transfer a bunch of small files (of overall size > 10M) it freezes as well.

        4.7-STABLE installed on the same hardware does not freeze at all.

>How-To-Repeat:
        Repeats constantly.
>Fix:
        Sometimes 'atacontrol mode 0 udma100 udma100 ; atacontrol mode 1 udma100 udma100` helps for one transfer
        but then ata falls into PIO mode and next transfer hangs everything.



>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list