misc/121641: After upgrade to FreeBSD 7.0 ntfsclone no longer works

Dmitry hanabana at mail.ru
Wed Mar 12 11:00:04 UTC 2008


>Number:         121641
>Category:       misc
>Synopsis:       After upgrade to FreeBSD 7.0 ntfsclone no longer works
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 12 11:00:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry
>Release:        FreeBSD 7.0
>Organization:
>Environment:
FreeBSD kb.dssv.ru 7.0-STABLE FreeBSD 7.0-STABLE #0: Tue Mar 11 18:56:28 MSK 2008     root at kb.dssv.ru:/var/tmp/obj/usr/src/sys/KB  i386

>Description:
I used to backup and restore MS Windows NTFS partition of my notebook using ntfsclone.
I've upgraded FreeBSD to version 7.0 and this utility no longer works:
on restore it outputs

# ntfsclone --restore-image --overwrite /dev/ad4s1 win_backup
ntfsclone v1.13.1 (libntfs 9:0:0)
NTFS volume version: 3.1
Cluster size       : 4096 bytes
Image volume size  : 30000009216 bytes (30001 MB)
Image device size  : 30000015360 bytes
Space in use       : 10049 MB (33,5%)
Restoring NTFS from image ...
ERROR(5): Write failed: Input/output error

and kernel prints errors:
ata2: FAILURE - non aligned DMA transfer attempted
ad4: setting up DMA failed

I tryed to disable DMA but no success
/boot/loader.conf
hw.ata.ata_dma=0
hw.ata.atapi_dma=0

# atacontrol mode ad4
current mode = SATA150

from dmesg about ATA and devices:

atapci0: <Intel ICH7 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x37
6,0x40a0-0x40af irq 16 at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
atapci1: <Intel AHCI controller> port 0x13f0-0x13f7,0x15f4-0x15f7,0x1370-0x1377,
0x1574-0x1577,0x40d0-0x40df mem 0xf4585000-0xf45853ff irq 17 at device 31.2 on p
ci0
atapci1: [ITHREAD]
atapci1: AHCI Version 01.10 controller with 4 ports detected
ata2: <ATA channel 0> on atapci1
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci1
ata3: port not implemented
ata3: [ITHREAD]
ata4: <ATA channel 2> on atapci1
ata4: port not implemented
ata4: [ITHREAD]
ata5: <ATA channel 3> on atapci1
ata5: port not implemented
ata5: [ITHREAD]


acd0: DVDR <HL-DT-ST DVDRAM GSA-T10N/PC05> at ata0-master PIO4
ad4: 114473MB <TOSHIBA MK1234GSX AH001H> at ata2-master SATA150

>How-To-Repeat:

>Fix:


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


More information about the freebsd-bugs mailing list