RE: ATA DMA support is broken

2000-10-05 Thread John Baldwin


On 03-Oct-00 Valentin Chopov wrote:
 After last changes ata DMA support is not workind and atapicd is not
 recognized on Toshiba Tecra-8100 (FreeBSD-5.0-CURRENT)

Yes, I've currently got the last round of ATA commits backed out in
sys/dev/ata on my machine as well.  The problem seems to be that the
atapci driver is not attaching the ata child devices.  Normal dmesg
output:

atapci0: Intel PIIX4 ATA33 controller port 0x1050-0x105f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
ad0: 17301MB TOSHIBA MK1814GAV [35152/16/63] at ata0-master UDMA33

Bad dmesg output:

atapci0: Intel PIIX4 ATA33 controller port 0x1050-0x105f at device 7.1 on pci0

-- 

John Baldwin [EMAIL PROTECTED] -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: ATA DMA support is broken

2000-10-05 Thread Soren Schmidt

It seems John Baldwin wrote:
 
 On 03-Oct-00 Valentin Chopov wrote:
  After last changes ata DMA support is not workind and atapicd is not
  recognized on Toshiba Tecra-8100 (FreeBSD-5.0-CURRENT)
 
 Yes, I've currently got the last round of ATA commits backed out in
 sys/dev/ata on my machine as well.  The problem seems to be that the
 atapci driver is not attaching the ata child devices.  Normal dmesg
 output:
 
 atapci0: Intel PIIX4 ATA33 controller port 0x1050-0x105f at device 7.1 on pci0
 ata0: at 0x1f0 irq 14 on atapci0
 ata1: at 0x170 irq 15 on atapci0
 ad0: 17301MB TOSHIBA MK1814GAV [35152/16/63] at ata0-master UDMA33
 
 Bad dmesg output:
 
 atapci0: Intel PIIX4 ATA33 controller port 0x1050-0x105f at device 7.1 on pci0

I fixed this ~20 hours after that commit, blunder on my part, sorry...
Use ata-all.c rev 1.73 or later...

-Søren


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: ATA DMA support is broken

2000-10-04 Thread Khaled Daham

On Tue, 3 Oct 2000, Valentin Chopov wrote:

 FreeBSD 5.0-CURRENT #5: Tue Oct  3 14:33:01 EDT 2000
 [EMAIL PROTECTED]:/usr/src/sys/compile/VALCHO
 Timecounter "i8254"  frequency 1193176 Hz
 CPU: Pentium III/Pentium III Xeon/Celeron (647.60-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x681  Stepping = 1
   
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
 real memory  = 134086656 (130944K bytes)
 avail memory = 123797504 (120896K bytes)

Atleast you get the right CPU speed :)
on 4.1.1 I get ( on a Tecra 8000 )

Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (193.03-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x66a  Stepping = 10

Features=0x183f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real memory  = 268369920 (262080K bytes)
avail memory = 258650112 (252588K bytes)

But this is not related to current.

/Khaled Daham, w.arts
Mail:[EMAIL PROTECTED]
Cell:+46-70-6785492, +966-54491462
FreeBSD: The Power to Serve! http://www.FreeBSD.org/



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: ATA DMA support is broken

2000-10-04 Thread Soren Schmidt

It seems Wesley Morgan wrote:
 I'm seeing the same problem on my Tecra 8000:
 atapci0: Intel PIIX4 ATA33 controller port 0xfe60-0xfe6f at device 5.1 on pci0
 atapci0: Busmastering DMA enabled
 ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
 ata1 at port 0x170-0x177,0x376 irq 15 on isa0
 ata1-slave: ata_command: timeout waiting for intr
 ata1-slave: identify failed
 ata1-master: identify retries exceeded
 ad0: 6194MB IBM-DBCA-206480 [13424/15/63] at ata0-master BIOSPIO
 
 Before adding the hints to /boot/device.hints, only the atapci0 was
 detected. Works fine with the hints though.

This should be fixed now...

-Søren


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: ATA DMA support is broken

2000-10-03 Thread Valentin Chopov

Soren,

yes, I didn't make world today, but cvsup is after your last commit.
Before that in my dmesg it was :

ad0: 11513MB IBM-DARA-212000 [23392/16/63] at ata0-master UDMA33
acd0: CDROM CD-224E-B at ata1-master using UDMA33

Thanks,

Val
 

On Tue, 3 Oct 2000, Soren Schmidt wrote:

 It seems Valentin Chopov wrote:
  After last changes ata DMA support is not workind and atapicd is not
  recognized on Toshiba Tecra-8100 (FreeBSD-5.0-CURRENT)
 
 Are you sure this is with the latest changes ?
 
 -Søren
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-current" in the body of the message
 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: ATA DMA support is broken

2000-10-03 Thread Kevin M. Dulzo

On Tue, Oct 03, 2000 at 10:25:34PM +0200, Soren Schmidt wrote:
 Are you sure this is with the latest changes ?
 
 -Søren
 
 
I have a similar issue since approximately 4 hours ago.  I also
do not use the GENERIC.hints and made some attempts to tune them...
although NOTES would lead me to believe I do not, I now need the hints for
both ata.0 and ata.1.  This is a Dell Inspiron (7500) laptop.

Relevant dmesg:
atapci0: Intel PIIX4 ATA33 controller port 0x1050-0x105f at device 7.1 on pci0
atapci0: Busmastering DMA enabled
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
ata1-master: identify retries exceeded
ad0: 11513MB FUJITSU MHK2120AT [23392/16/63] at ata0-master BIOSPIO

N.B. My normally recognized DVD drive is not recognized.  It is the master on
the secondary controller. 

-- 
:Kevin M. Dulzo:
eyes betray a soul and bear its thinking
beyond words they say so many things to me
--vnvnation


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: ATA DMA support is broken

2000-10-03 Thread Wesley Morgan

I'm seeing the same problem on my Tecra 8000:
atapci0: Intel PIIX4 ATA33 controller port 0xfe60-0xfe6f at device 5.1 on pci0
atapci0: Busmastering DMA enabled
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
ata1-slave: ata_command: timeout waiting for intr
ata1-slave: identify failed
ata1-master: identify retries exceeded
ad0: 6194MB IBM-DBCA-206480 [13424/15/63] at ata0-master BIOSPIO

Before adding the hints to /boot/device.hints, only the atapci0 was
detected. Works fine with the hints though.


-- 
   _ __ ___   ___ ___ ___
  Wesley N Morgan   _ __ ___ | _ ) __|   \
  [EMAIL PROTECTED] _ __ | _ \._ \ |) |
  FreeBSD: The Power To Serve  _ |___/___/___/
  6bone: 3ffe:1ce3:7::b4ff:fe53:c297
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message