Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Feb 2004 20:42:13 +0100
From:      sebastian ssmoller <sebastian.ssmoller@gmx.net>
To:        freebsd-current@freebsd.org
Subject:   Re: CMD/SiI 649 ATA Controller Problems
Message-ID:  <1075664519.738.19.camel@tyrael.linnet>
In-Reply-To: <20040131125422.GA657@peter.home.wul>
References:  <20040125111743.GA564@bsd> <401672F7.8080404@noc.ntua.gr> <20040128132021.GA1697@peter.home.wul> <20040131125422.GA657@peter.home.wul>

next in thread | previous in thread | raw e-mail | index | archive | help
hi,
i seem to have problems with this controller too.
i have an additional drive hanging on a CMD 649 UDMA100 controller. I
attached that drive after i updated to release 5.2 some weeks ago. it
worked. then i detached it  and never used it again until today. i
updated to -current in between and now i get the following:

ata3: reiniting channel ..
ata3: reset tp1 mask=03 ostat0=50 ostat1=00
ata3-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00
ata3-slabe:  stat=0x00 err=0x01 lsb=0x00 msb=0x00
ata3: reset tp2 mask=03 stat0=50 stat1=00 devices=0x1<ATA_MASTER>
ata3: resetting done ..
ata3: reiniting channel ..
ata3: reset tp1 mask=03 ostat0=50 ostat1=00
ata3-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00
ata3-slabe:  stat=0x00 err=0x01 lsb=0x00 msb=0x00
ata3: reset tp2 mask=03 stat0=50 stat1=00 devices=0x1<ATA_MASTER>
ata3: resetting done ..

and now nothing more is happening - the system hangs (stops booting).

$ pciconf -vl
<snip>
atapci1@pci0:15:0: class=0x010400 card=0x06491095 chip=0x06491095
rev=0x02 hdr=0x00
    vendor   = 'Silicon Image Inc (Was: CMD Technology Inc)'
    device   = 'PCI-649 Ultra ATA/100 PCI to IDE/ATA Controller'
    class    = mass storage
    subclass = RAID      <-- ??? this is NO raid controller !
</snip>


regards,
seb

$ uname -a
FreeBSD tyrael.linnet 5.2-CURRENT FreeBSD 5.2-CURRENT #5: Sat Jan 31
23:07:17 CET 2004    
seb@tyrael.linnet:/usr/obj/usr/src-current/sys/DEBUG  i386






On Sat, 2004-01-31 at 13:54, Peter Wullinger wrote:
> On Wed, Jan 28, 2004 at 02:20:21PM +0100, Peter Wullinger wrote:
> > 
> > Make that three ... on a different controller, though:
> > 
> > atapci1: <CMD 649 UDMA100 controller> port \
> > 	0x8800-0x880f,0x9000-0x9003,0x9400-0x9407,0x9800-0x9803,0xa000-0xa007 \
> > 	irq 10 at device 11.0 on pci0
> > cd1 at ata2 bus 0 target 0 lun 0
> > cd1: <PHILIPS CDRW48P P1.6> Removable CD-ROM SCSI-0 device 
> > cd1: 16.000MB/s transfers
> > 
> > -- snip --
> 
> I finally managed to get some more diagnostics about my
> problem here:
> "boot -v" output of a RELENG_5_2 kernel from today (2004-01-31):
> 
> ata2-master: pio = 0x0c, wdma = 0x22, udma = 0x42, cable = 40 pin
> (probe0: ata0:0:0:0): error 22
> (probe0: ata0:0:0:0): Unretryable Error
> (probe1: ata0:0:1:0): Unretryable Error
> (probe1: ata0:0:1:0): Unretryable Error
> [...]
> (probe3: ata1:0:1:0): Retrying Command
> (probe3: ata1:0:1:0): error 22
> (probe3: ata1:0:1:0): Unretryable Error
> [... and so on]
> 
> Removing atapci1 (the CMD 649, see below) fixes the problem
> and makes the system come up without any further complaints.
> 
> I will try to test with a different controller soon and
> report on the results.
> 
> Cheers,
> 	Peter
> 
> ---
> % dmesg | grep ata
> 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
> atapci1: <CMD 649 UDMA100 controller> port 0x8800-0x880f,0x9000-0x9003,0x9400-0x9407,0x9800-0x9803,0xa000-0xa007 irq 10 at device 11.0 on pci0
> ata2: at 0xa000 on atapci1
> ata3: at 0x9400 on atapci1
> ad0: 117800MB <IC35L120AVV207-1> [239340/16/63] at ata0-master UDMA100
> ad1: 117800MB <IC35L120AVV207-1> [239340/16/63] at ata0-slave UDMA100
> cd0 at ata1 bus 0 target 0 lun 0
> cd1 at ata2 bus 0 target 0 lun 0
> da0 at ata1 bus 0 target 1 lun 0
> ---
> % atacontrol list
> ATA channel 0:
> 	Master:  ad0 <IC35L120AVV207-1/V24OA66A> ATA/ATAPI rev 6
> 	Slave:   ad1 <IC35L120AVV207-1/V24OA66A> ATA/ATAPI rev 6
> ATA channel 1:
> 	Master: atap <MATSHITADVD-ROM SR-8585/1X32> ATA/ATAPI rev 0
> 	Slave:  atap <IOMEGA ZIP 250 ATAPI/51.G> ATA/ATAPI rev 0
> ATA channel 2:
> 	Master: atap <PHILIPS CDRW48P/P1.6> ATA/ATAPI rev 0
> 	Slave:       no device present
> ATA channel 3:
> 	Master:      no device present
> 	Slave:       no device present
> 	
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1075664519.738.19.camel>