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



ATA DMA support is broken

2000-10-03 Thread Valentin Chopov

After last changes ata DMA support is not workind and atapicd is not
recognized on Toshiba Tecra-8100 (FreeBSD-5.0-CURRENT)

Val



Copyright (c) 1992-2000 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.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)
Preloaded elf kernel "kernel" at 0xc065d000.
Pentium Pro MTRR support enabled
VESA: v2.0, 8192k memory, flags:0x0, mode table:0xc05d2182 (122)
VESA: S3 Incorporated. M7 BIOS
md0: Malloc disk
apm0: APM BIOS on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
npx0: math processor on motherboard
npx0: INT 16 interface
pcib0: Intel 82443BX (440 BX) host to PCI bridge at pcibus 0 on motherboard
pci0: PCI bus on pcib0
pcib1: Intel 82443BX (440 BX) PCI-PCI (AGP) bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: S3 model 8c10 graphics accelerator at 0.0 irq 11
isab0: Intel 82371AB PCI to ISA bridge at device 5.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel PIIX4 ATA33 controller port 0xfff0-0x at device 5.1 on pci0
atapci0: Busmastering DMA enabled
uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0xff80-0xff9f irq 11 at device 
5.2 on pci0
usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: Intel 82371AB Power management controller at 5.3
pci0: unknown card (vendor=0x11c1, dev=0x0441) at 7.0 irq 3
pci0: unknown card (vendor=0x1179, dev=0x0d01) at 9.0 irq 11
pci0: PCI to CardBus bridge (vendor=1179 device=0617) at 11.0
pci0: PCI to CardBus bridge (vendor=1179 device=0617) at 11.1
pcm0: Yamaha DS-1E (YMF744) port 0xfefc-0xfeff,0xff00-0xff3f mem 
0xefff8000-0xefff irq 11 at device 12.0 on pci0
acpi0: TOSHIB on motherboard
fdc0: NEC 72065B or clone at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fd0: 1440-KB 3.5" drive on fdc0 drive 0
ata0 at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
ata1 at port 0x170-0x177,0x376 irq 15 on isa0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
pcic0: Intel i82365 at port 0x3e0 iomem 0xd irq 10 on isa0
pcic0: management irq 10
pccard0: PC Card bus -- kludge version on pcic0
pccard1: PC Card bus -- kludge version on pcic0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
pmtimer0 on isa0
unknown: PNP0303 can't assign resources
unknown: PNP0f13 can't assign resources
unknown: PNP0c02 can't assign resources
unknown: PNP0700 can't assign resources
unknown: PNP0501 can't assign resources
unknown: PNP0401 can't assign resources
IP packet filtering initialized, divert disabled, rule-based forwarding enabled, 
default to accept, logging disabled
IPv6 packet filtering initialized, default to accept, logging disabled
IPsec: Initialized Security Association Processing.
IP Filter: v3.4.9 initialized.  Default = pass all, Logging = disabled
ata1-master: identify retries exceeded
ad0: 11513MB IBM-DARA-212000 [23392/16/63] at ata0-master BIOSPIO
Mounting root from ufs:/dev/ad0s3a
pccard: card inserted, slot 1
ep0: 3Com 3C556 at port 0x240-0x25f irq 5 slot 1 on pccard1
ep0: Ethernet address 00:00:86:52:40:af



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