Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Dec 2004 23:54:47 +0100
From:      ino-qc@spotteswoode.de.eu.org (C. Fischer)
To:        freebsd-stable@freebsd.org
Subject:   ad2: FAILURE - READ_DMA, but CD on slave controller recognized?
Message-ID:  <mzvuxelu.fsf@ID-23066.news.dfncis.de>

next in thread | raw e-mail | index | archive | help
this has started bugging me ever since moving from 4-stable to 5-stable.
"ad2", which had been recognized no problem on the former, fails on the
latter.  since i have a multibooter, i can boot 4.10 residing on "ad2" without
trouble.  4.10 can access "ad0" and "ad1" fine (this is how i got the initial
install in place), but i used "ad2" for backups and this doesn't work anymore.

the system otherwise works and there are no DMA related hardware errors ever
reported except for "ad2" not beeing recognized.  this seems to indicate that
the problem lies in the initial disk checking phase.

my boot/device.hints was installed with hints from the "GENERIC" kernel.
everything else works fine.  i tried to check the PRs (timed out), but google
didn't return anything not related to failing hardware or misconfiguration, so
could someone please look through this (verbose) dmesg(8)?

ar: FreeBSD check1 failed
ata1-slave: pio=0x0c wdma=0x22 udma=0x42 cable=40pin
ata1-master: pio=0x0c wdma=0x22 udma=0x44 cable=40pin
ata1-master: setting PIO4 on VIA 82C596 chip
ata1-master: setting UDMA33 on VIA 82C596 chip
ata1-slave: setting PIO4 on VIA 82C596 chip
ad2: <ST320430A/3.07> ATA-4 disk at ata1-master
ad2: 19569MB (40079088 sectors), 39761 C, 16 H, 63 S, 512 B
ad2: 16 secs/int, 1 depth queue, UDMA33
GEOM: new disk ad0
GEOM: new disk ad1
GEOM: new disk ad2
[0] f:80 typ:165 s(CHS):0/1/1 e(CHS):1023/254/63 s:63 l:33350877
[1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
GEOM: Configure ad0s1, start 32256 length 17075649024 end 17075681279
[0] f:80 typ:165 s(CHS):0/1/1 e(CHS):1023/254/63 s:63 l:16498692
[1] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[2] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
[3] f:00 typ:0 s(CHS):0/0/0 e(CHS):0/0/0 s:0 l:0
GEOM: Configure ad1s1, start 32256 length 8447330304 end 8447362559
ad2: TIMEOUT - READ_DMA retrying (2 retries left) LBA=40079025
ata1: reiniting channel ..
ata1: reset tp1 mask=03 ostat0=58 ostat1=50
ad2: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad2: stat=0x50 err=0x01 lsb=0x00 msb=0x00
ata1-slave:  stat=0x10 err=0x01 lsb=0x14 msb=0xeb
ata1: reset tp2 stat0=50 stat1=10 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
ata1: resetting done ..
ata1-slave: pio=0x0c wdma=0x22 udma=0x42 cable=40pin
ad2: pio=0x0c wdma=0x22 udma=0x44 cable=40pin
ad2: setting PIO4 on VIA 82C596 chip
ad2: setting UDMA33 on VIA 82C596 chip
ata1-slave: setting PIO4 on VIA 82C596 chip
ata1: device config done ..
ad2: FAILURE - READ_DMA timed out
ar: FreeBSD read conf failed
ad2: TIMEOUT - READ_DMA retrying (2 retries left) LBA=0
ata1: reiniting channel ..
ata1: reset tp1 mask=03 ostat0=58 ostat1=50
ad2: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad2: stat=0x50 err=0x01 lsb=0x00 msb=0x00
acd0:  stat=0x10 err=0x01 lsb=0x14 msb=0xeb
ata1: reset tp2 stat0=50 stat1=10 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
ata1: resetting done ..
acd0: pio=0x0c wdma=0x22 udma=0x42 cable=40pin
ad2: pio=0x0c wdma=0x22 udma=0x44 cable=40pin
ad2: setting PIO4 on VIA 82C596 chip
ad2: setting UDMA33 on VIA 82C596 chip
acd0: setting PIO4 on VIA 82C596 chip
ata1: device config done ..
ad2: FAILURE - READ_DMA timed out
ad2: TIMEOUT - READ_DMA retrying (2 retries left) LBA=0
ata1: reiniting channel ..
ata1: reset tp1 mask=03 ostat0=58 ostat1=50
ad2: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad2: stat=0x50 err=0x01 lsb=0x00 msb=0x00
acd0:  stat=0x10 err=0x01 lsb=0x14 msb=0xeb
ata1: reset tp2 stat0=50 stat1=10 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
ata1: resetting done ..
acd0: pio=0x0c wdma=0x22 udma=0x42 cable=40pin
ad2: pio=0x0c wdma=0x22 udma=0x44 cable=40pin
ad2: setting PIO4 on VIA 82C596 chip
ad2: setting UDMA33 on VIA 82C596 chip
acd0: setting PIO4 on VIA 82C596 chip
ata1: device config done ..
ad2: FAILURE - READ_DMA timed out
ad2: TIMEOUT - READ_DMA retrying (2 retries left) LBA=1
ata1: reiniting channel ..
ata1: reset tp1 mask=03 ostat0=58 ostat1=50
ad2: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad2: stat=0x50 err=0x01 lsb=0x00 msb=0x00
acd0:  stat=0x10 err=0x01 lsb=0x14 msb=0xeb
ata1: reset tp2 stat0=50 stat1=10 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
ata1: resetting done ..
acd0: pio=0x0c wdma=0x22 udma=0x42 cable=40pin
ad2: pio=0x0c wdma=0x22 udma=0x44 cable=40pin
ad2: setting PIO4 on VIA 82C596 chip
ad2: setting UDMA33 on VIA 82C596 chip
acd0: setting PIO4 on VIA 82C596 chip
ata1: device config done ..
ad2: FAILURE - READ_DMA timed out
ad2: TIMEOUT - READ_DMA retrying (2 retries left) LBA=0
ata1: reiniting channel ..
ata1: reset tp1 mask=03 ostat0=58 ostat1=50
ad2: stat=0x80 err=0x80 lsb=0x80 msb=0x80
ad2: stat=0x50 err=0x01 lsb=0x00 msb=0x00
acd0:  stat=0x10 err=0x01 lsb=0x14 msb=0xeb
ata1: reset tp2 stat0=50 stat1=10 devices=0x9<ATAPI_SLAVE,ATA_MASTER>
ata1: resetting done ..
acd0: pio=0x0c wdma=0x22 udma=0x42 cable=40pin
ad2: pio=0x0c wdma=0x22 udma=0x44 cable=40pin
ad2: setting PIO4 on VIA 82C596 chip
ad2: setting UDMA33 on VIA 82C596 chip
acd0: setting PIO4 on VIA 82C596 chip
ata1: device config done ..
ad2: FAILURE - READ_DMA timed out
GEOM: Configure ad0s1a, start 0 length 314572800 end 314572799
GEOM: Configure ad0s1b, start 6606028800 length 268435456 end 6874464255
GEOM: Configure ad0s1c, start 0 length 17075649024 end 17075649023
GEOM: Configure ad0s1d, start 11068768256 length 6006880768 end 17075649023
GEOM: Configure ad0s1e, start 314572800 length 3145728000 end 3460300799
GEOM: Configure ad0s1f, start 3460300800 length 2097152000 end 5557452799
GEOM: Configure ad0s1g, start 5557452800 length 1048576000 end 6606028799
GEOM: Configure ad0s1h, start 6874464256 length 4194304000 end 11068768255
GEOM: Configure ad1s1c, start 0 length 8447330304 end 8447330303
GEOM: Configure ad1s1e, start 0 length 8447330304 end 8447330303
acd0: <LTN301/ML40> CDROM drive at ata1 as slave
acd0: read 5511KB/s (5511KB/s), 120KB buffer, PIO4
acd0: Reads: CDDA
acd0: Writes:
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray, unlocked
acd0: Medium: no/blank disc
Mounting root from ufs:/dev/ad0s1a

regards,

  clemens



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