Still problems with ATAPI

2003-09-17 Thread Conrad J. Sabatier

(dmesg.boot attached)

ATAng will no longer recognize the DVD-ROM device on ata1-master.  This is 
without atapicam.  The CD-RW drive at ata1-slave is OK, and is being assigned 
to acd0 now.

Incidentally, when did the hw.ata.* sysctls change?


Copyright (c) 1992-2003 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.1-CURRENT #1: Wed Sep 17 01:15:08 CDT 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL
Preloaded elf kernel /boot/kernel/kernel at 0xa0459000.
Preloaded elf module /boot/modules/ipfw.ko at 0xa0459200.
Preloaded elf module /boot/modules/miibus.ko at 0xa04592ac.
Preloaded elf module /boot/modules/if_fxp.ko at 0xa0459358.
Preloaded elf module /boot/modules/snd_pcm.ko at 0xa0459404.
Preloaded elf module /boot/modules/snd_es137x.ko at 0xa04594b4.
Preloaded elf module /boot/modules/random.ko at 0xa0459564.
Preloaded elf module /boot/modules/acpi.ko at 0xa0459610.
Preloaded elf module /boot/modules/aio.ko at 0xa04596bc.
Preloaded elf module /boot/modules/lpt.ko at 0xa0459768.
Preloaded elf module /boot/modules/ppi.ko at 0xa0459814.
Calibrating clock(s) ... i8254 clock: 1193271 Hz
Timecounter i8254 frequency 1193271 Hz quality 0
Calibrating TSC clock ... TSC clock: 998142849 Hz
CPU: AMD Athlon(tm) Processor (998.14-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x622  Stepping = 2
  
Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
  AMD Features=0xc040AMIE,DSP,3DNow!
Data TLB: 24 entries, fully associative
Instruction TLB: 16 entries, fully associative
L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L2 internal cache: 512 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
real memory  = 536805376 (511 MB)
Physical memory chunk(s):
0x1000 - 0x0009efff, 647168 bytes (158 pages)
0x00482000 - 0x1f6c9fff, 522485760 bytes (127560 pages)
avail memory = 516546560 (492 MB)
bios32: Found BIOS32 Service Directory header at 0xa00f7a70
bios32: Entry = 0xfd6d0 (a00fd6d0)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xfd6d0+0x11e
pnpbios: Found PnP BIOS data at 0xa00f7a40
pnpbios: Entry = f:9a6a  Rev = 1.0
pnpbios: OEM ID 46b1110e
Other BIOS signatures found:
mem: memory  I/O
Pentium Pro MTRR support enabled
null: null device, zero device
random: entropy source
npx0: [FAST]
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: PTLTDRSDT   on motherboard
pci_open(1):mode 1 addr port (0x0cf8) is 0x80006004
pci_open(1a):   mode1res=0x8000 (0x8000)
pci_cfgcheck:   device 0 [class=06] [hdr=80] is there (id=70061022)
pcibios: BIOS version 2.10
Using $PIR table, 10 entries at 0xa00fdf20
PCI-Only Interrupts: none
Location  Bus Device Pin  Link  IRQs
slot 1  03A   0x04  3 4 5 6 7 10 11 12 14 15
slot 1  03B   0x01  3 4 5 6 7 10 11 12 14 15
slot 1  03C   0x02  3 4 5 6 7 10 11 12 14 15
slot 1  03D   0x03  3 4 5 6 7 10 11 12 14 15
slot 2  04A   0x01  3 4 5 6 7 10 11 12 14 15
slot 2  04B   0x02  3 4 5 6 7 10 11 12 14 15
slot 2  04C   0x03  3 4 5 6 7 10 11 12 14 15
slot 2  04D   0x04  3 4 5 6 7 10 11 12 14 15
slot 3  09A   0x02  3 4 5 6 7 10 11 12 14 15
slot 3  09B   0x03  3 4 5 6 7 10 11 12 14 15
slot 3  09C   0x04  3 4 5 6 7 10 11 12 14 15
slot 3  09D   0x01  3 4 5 6 7 10 11 12 14 15
slot 4  06A   0x03  3 4 5 6 7 10 11 12 14 15
slot 4  06B   0x04  3 4 5 6 7 10 11 12 14 15
slot 4  06C   0x01  3 4 5 6 7 10 11 12 14 15
slot 4  06D   0x02  3 4 5 6 7 10 11 12 14 15
slot 5  0   15A   0x04  3 4 5 6 7 10 11 12 14 15
slot 5  0   15B   0x01  3 4 5 6 7 10 11 12 14 15
slot 5  0   15C   0x02  3 4 5 6 7 10 11 12 14 15
slot 5  0   15D   0x03  3 4 5 6 7 10 11 12 14 15
embedded0   12A   0x01  3 4 5 6 7 10 11 12 14 15
embedded07A   0x01  3 4 5 6 7 10 11 12 14 15
embedded07D   0x04  3 4 5 6 7 10 11 12 14 15
embedded00A   0x01  3 4 5 6 7 9 10 11 12 14 15
embedded00B   0x02  3 4 5 6 7 9 10 11 12 14 15
embedded00C   0x03  3 4 5 6 7 9 10 11 12 14 15
embedded00D   0x04  3 4 5 6 7 9 10 11 12 14 15
embedded01A   0x02  3 4 5 6 7 10 11 12 14 15
embedded01B   0x03  3 4 5 6 7 10 11 12 14 15
embedded15A   0x02  3 4 5 6 7 10 11 12 14 15
embedded15B   0x03  3 4 5 6 7 10 11 12 14 15
AcpiOsDerivePciId: bus 0 dev 7 func 0
acpi0: power button is handled as a fixed feature programming model.
ACPI timer looks BAD  min = 0, max = 16777214, width = 16777214
ACPI timer looks BAD  min = 1, max = 16777215, width = 16777214
ACPI timer looks BAD  min = 0, max = 

Re: Still problems with ATAPI

2003-09-17 Thread Soren Schmidt
It seems Conrad J. Sabatier wrote:
 
 ATAng will no longer recognize the DVD-ROM device on ata1-master.  This is 
 without atapicam.  The CD-RW drive at ata1-slave is OK, and is being assigned 
 to acd0 now.

OK, from you dmesg:

ata1: reset tp1 mask=03 ostat0=50 ostat1=50
ata1-master: stat=0xd0 err=0x04 lsb=0x00 msb=0x00
ata1-slave:  stat=0x10 err=0x01 lsb=0x14 msb=0xeb
ata1-master: stat=0xd0 err=0x04 lsb=0x00 msb=0x00
ata1-master: stat=0x00 err=0x01 lsb=0x14 msb=0xeb
ata1: reset tp2 mask=03 stat0=00 stat1=10 devices=0xcATAPI_SLAVE,ATAPI_MASTER

Here we se that the probe code correctly identifies both ATAPI devices.

ata1: spurious interrupt - status=0x50 error=0x00
ata1-slave: pio=0x0c wdma=0x22 udma=0x cable=40pin
ata1-master: pio=0x0c wdma=0x22 udma=0x46 cable=80pin
ata1: spurious interrupt - status=0x58 error=0x00

Above we see the problems begin with those spurious interrupts, since 
they have gathered status and error the ATA channel was NOT active
when they occured, ie they have not been asked to do anything, 
and that is probably why the next phase of the probe fails...

-Søren
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]