dmesg shows "ata1-slave: stat-0x01" repeatedly even tho no slave exists

From: Paul Seniura <pdseniura_at_techie.com>
Date: Tue, 17 Feb 2004 11:26:25 -0600 (CST)
Hi,

I reported this several weeks ago.  It is still occurring with
kernels built today (last night's CTM bucket, CST [UTC -0600]). 

We removed a CDROM-only drive and replaced it with a newer
'Combo' model from the same company (LG).  Immediately we
saw the repeated lines as shown in the longer dmesg below. 
This newer drive has latest firmware available on LG's site.

After FBSD comes up, the newer drive seems to be quite usable,
albeit we may see known problems in apps such as burncd.


The older CDROM-only drive had latest firmware, too, but it
did not produce the stat line(s) at all:

[...]
ata1-master: pio=0x0c wdma=0x22 udma=0xffffffff cable=40pin
ata1-master: setting PIO4 on Intel PIIX4 chip
ata1-master: setting WDMA2 on Intel PIIX4 chip
acd0: <CRD-8322B/1.12> CDROM drive at ata1 as master
acd0: read 5500KB/s (5500KB/s), 128KB buffer, WDMA2
acd0: Reads: CDR, CDRW, CDDA stream, packet
acd0: Writes:
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray, unlocked, lock protected
acd0: Medium: CD-RW 120mm photo disc
[...]


I've quadruple-checked the jumpers and they are correct. 
There is no slave unit on any ATA channel at all; in fact
IBM's ribbon cables have no extra connectors.  :-(

Changing the sysctls for ata/dma have no effect. 

IBM's SurePath BIOS is the latest I can find, and changing
the 'high-performance:compatible' setting for the CD drive
has no effect.  There's not much else to mess with, there.


Here is today's dmesg (snipped down for size):


Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.2-CURRENT #0: Tue Feb 17 09:59:02 CST 2004
    root_at_techpc04.okladot.state.ok.us:/usr/obj/src/sys/IBM300SY_4BSD_O2
Preloaded elf kernel "/boot/kernel._IBM300SY_4BSD_O2/kernel" at 0xc0920000.
Preloaded elf module "/boot/modules/apm.ko" at 0xc0920208.
Calibrating clock(s) ... i8254 clock: 1193181 Hz
Timecounter "i8254" frequency 1193181 Hz quality 0
Calibrating TSC clock ... TSC clock: 448053629 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (448.05-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x652  Stepping = 2
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 402653184 (384 MB)
[...]
drm0: <ATI Radeon QY RV100 7000/VE> port 0x7800-0x78ff mem 0xf7ff0000-0xf7ffffff,0xe8000000-0xefffffff at device 0.0 on pci1
info: [drm] AGP at 0xe4000000 64MB
info: [drm] Initialized radeon 1.10.0 20020828 on minor 0
isab0: <PCI-ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0xfff0-0xffff at device 2.1 on pci0
ata0: reset tp1 mask=03 ostat0=50 ostat1=00
ata0-master: stat=0x50 err=0x01 lsb=0x00 msb=0x00
ata0-slave:  stat=0x00 err=0x01 lsb=0x00 msb=0x00
ata0: reset tp2 mask=03 stat0=50 stat1=00 devices=0x1<ATA_MASTER>
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: reset tp1 mask=03 ostat0=50 ostat1=00
ata1-master: stat=0x00 err=0x01 lsb=0x14 msb=0xeb
ata1-slave:  stat=0x01 err=0x00 lsb=0x00 msb=0x00
ata1-slave:  stat=0x01 err=0x00 lsb=0x00 msb=0x00
[...*** exactly 30-seconds worth of the same line ***...]
ata1-slave:  stat=0x01 err=0x00 lsb=0x00 msb=0x00
ata1-slave:  stat=0x01 err=0x00 lsb=0x00 msb=0x00
ata1: reset tp2 mask=01 stat0=00 stat1=81 devices=0x4<ATAPI_MASTER>
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
[...]
IP Filter: v3.4.31 initialized.  Default = pass all, Logging = enabled
lo0: bpf attached
ata1: spurious interrupt - status=0x01 error=0x00
ata0-master: pio=0x0c wdma=0x22 udma=0x42 cable=40pin
ata0-master: setting PIO4 on Intel PIIX4 chip
ata0-master: setting UDMA33 on Intel PIIX4 chip
ad0: <IBM-DTTA-371010/T77IA73A> ATA-4 disk at ata0-master
ad0: 9641MB (19746720 sectors), 19590 C, 16 H, 63 S, 512 B
ad0: 16 secs/int, 1 depth queue, UDMA33
(probe0:ata0:0:0:0): error 22
(probe0:ata0:0:0:0): Unretryable Error
(probe1:ata0:0:1:0): error 22
(probe1:ata0:0:1:0): Unretryable Error
GEOM: new disk ad0
ata1-master: pio=0x0c wdma=0x22 udma=0xffffffff cable=40pin
ata1-master: setting PIO4 on Intel PIIX4 chip
ata1-master: setting WDMA2 on Intel PIIX4 chip
[0] f:80 typ:165 s(CHS):0/0/1 e(CHS):1023/44/63 s:0 l:19746720
[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 0 length 10110320640 end 10110320639
GEOM: Configure ad0a, start 0 length 10110320640 end 10110320639
GEOM: Configure ad0c, start 0 length 10110320640 end 10110320639
GEOM: Configure ad0s1a, start 0 length 10110320640 end 10110320639
GEOM: Configure ad0s1c, start 0 length 10110320640 end 10110320639
acd0: <HL-DT-ST RW/DVD GCC-4120B/2.02> CDRW drive at ata1 as master
acd0:  2048KB buffer, WDMA2
acd0: Reads: CDR, CDRW, CDDA stream, DVDROM, DVDR, packet
acd0: Writes: CDR, CDRW, test write, burnproof
acd0: Audio: play, 256 volume levels
acd0: Mechanism: ejectable tray, unlocked
acd0: Medium: no/blank disc
(noperiph:ahc0:0:-1:-1): SCSI bus reset delivered. 0 SCBs aborted.
[...]


Thank you,

  --  Paul Seniura
      System Specialist
      State of Okla. D.O.T.
Received on Tue Feb 17 2004 - 08:26:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:43 UTC