Bug 50220 - afd0: READ_BIG command timeout - resetting
Summary: afd0: READ_BIG command timeout - resetting
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-23 19:20 UTC by Richard Letts
Modified: 2003-05-05 13:26 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Letts 2003-03-23 19:20:14 UTC
        IOMEGA Zip drive attached to ATA/2 (RAID controller capable of 
        ATA/133) access is unsuable because of READ_BIG and WRITE_BIG
        problems:

Symptoms:
      UFS:
	can use fdisk to modify partition table
        can use disklabel to write new disklabel
        cannot use newfs to create filesystem
# newfs afd0c
Warning: Block size restricts cylinders per group to 97.
Warning: 32 sector(s) in last cylinder unallocated
/dev/afd0c:	196576 sectors in 48 cylinders of 1 tracks, 4096 sectors
	96.0MB in 1 cyl groups (97 c/g, 194.00MB/g, 12288 i/g)
super-block backups (for fsck -b #) at:
 32
read error: 64
newfs: rdfs: Input/output error
# dmesg | tail -2
afd0: READ_BIG command timeout - resetting
ata2: resetting devices .. done

        
      FAT32
	cannot mount filesystem

      device access:
	# dd if=/dev/rafd0 of=fred bs=1024k count=2
	dd: /dev/rafd0: Input/output error
	0+0 records in
	0+0 records out
	0 bytes transferred in 30.117478 secs (0 bytes/sec)
	# dmesg | tail
	...
	afd0: READ_BIG command timeout - resetting
	ata2: resetting devices .. done	
	# dd if=/dev/afd0 of=fred bs=1024k count=2
	dd: /dev/afd0: Input/output error
	0+0 records in
	0+0 records out
	0 bytes transferred in 30.114773 secs (0 bytes/sec)
	# dmesg | tail -2
	afd0: READ_BIG command timeout - resetting
	ata2: resetting devices .. done

kernel messages:
		afd0: READ_BIG command timeout - resetting
		ata2: resetting devices .. done

Hardware info:
# atacontrol mode ata2
Master = PIO0 
Slave  = ???
# atacontrol cap ata2 0
ATA channel 2, Master, device afd0:

ATA/ATAPI revision    0
device model          IOMEGA ZIP 100 ATAPI
serial number         
firmware revision     14.A
cylinders             0
heads                 0
sectors/track         0
lba supported         
lba48 not supported         
dma notsupported
overlap not supported

Feature                      Support  Enable    Value   Vendor
write cache                    no	no
read ahead                     no	no
dma queued                     no	no	0/00
SMART                          no	no
microcode download             no	no
security                       no	no
power management               no	no
advanced power management      no	no	0/00
automatic acoustic management  no	no	0/00	0/00
# atacontrol info ata2
Master: afd0 <IOMEGA ZIP 100 ATAPI/14.A> ATA/ATAPI rev 0
Slave:       no device present

Fix: 

unknown
How-To-Repeat: 	comnnect iomega 100MB ZIP  to ATA-2 (onboard raid controller on
KT266 motherboard)
        attempt to mount / read zip disk
Comment 1 Søren Schmidt freebsd_committer freebsd_triage 2003-05-05 13:24:57 UTC
State Changed
From-To: open->closed

Sounds like HW trouble to me. 
You should try -current and see if that handles the situation better.