ATA problems on Promise controller

2003-04-05 Thread Paul van der Zwan
With a -current kernel ( cvsupped today ) I can no longer boot.
It hangs on the drives connected to the promis controller built into my 
MSI KT266 mobo.
The messages are like

ad2: READ command timeout tag=0 serv=0 - resetting

Same for ad3. It tries falling back to pio mode but after that it hangs 
completely.
I have tried putting hw.at.tags=0 in /boot/loader.conf as suggested in 
some older messages on this list but that dit not help.

dmesg of a working kernel built 19-1-2003 is attached



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.0-CURRENT #1: Sun Jan 19 15:50:33 MET 2003
[EMAIL PROTECTED]:/raid/bsd/obj/raid/bsd/freebsd/src/sys/trantor
Preloaded elf kernel /boot/kernel.ok/kernel at 0xc04b1000.
Preloaded elf module /boot/kernel.ok/acpi.ko at 0xc04b10ac.
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 1405012013 Hz
CPU: AMD Athlon(tm) XP 1600+ (1405.01-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x662  Stepping = 2
  
Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
  AMD Features=0xc048MP,AMIE,DSP,3DNow!
real memory  = 536805376 (511 MB)
avail memory = 516407296 (492 MB)
Initializing GEOMetry subsystem
Pentium Pro MTRR support enabled
npx0: math processor on motherboard
npx0: flags 0x7 npx0: INT 16 interface
acpi0: AMIINT  on motherboard
ACPI-0625: *** Info: GPE Block0 defined as GPE0 to GPE15
Using $PIR table, 10 entries at 0xc00f7d80
acpi0: power button is handled as a fixed feature programming model.
Timecounter ACPI-fast  frequency 3579545 Hz
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
acpi_cpu0: CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci0: display, VGA at device 6.0 (no driver attached)
pci0: network, ethernet at device 7.0 (no driver attached)
sym0: 810a port 0xd800-0xd8ff mem 0xdbfeff00-0xdbfe irq 10 at device 8.0 on pci0
sym0: No NVRAM, ID 7, Fast-10, SE, parity checking
atapci0: Promise ATA100 controller port 
0xc400-0xc43f,0xc800-0xc803,0xcc00-0xcc07,0xd000-0xd003,0xd400-0xd407 mem 
0xdbfc-0xdbfd irq 11 at device 12.0 on pci0
ata2: at 0xd400 on atapci0
ata3: at 0xcc00 on atapci0
isab0: PCI-ISA bridge at device 17.0 on pci0
isa0: ISA bus on isab0
atapci1: VIA 8233 ATA100 controller port 0xff00-0xff0f at device 17.1 on pci0
ata0: at 0x1f0 irq 14 on atapci1
ata1: at 0x170 irq 15 on atapci1
uhci0: VIA 83C572 USB controller port 0xb800-0xb81f irq 10 at device 17.2 on pci0
usb0: VIA 83C572 USB controller on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub0: port error, restarting port 1
uhub0: port error, giving up port 1
uhub0: port error, restarting port 2
uhci1: VIA 83C572 USB controller port 0xbc00-0xbc1f irq 10 at device 17.3 on pci0
usb1: VIA 83C572 USB controller on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhub1: port error, restarting port 1
ugen0: Genesys Logic USB Host To Host Bridge, rev 1.00/1.80, addr 2
uhci2: VIA 83C572 USB controller port 0xc000-0xc01f irq 10 at device 17.4 on pci0
usb2: VIA 83C572 USB controller on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhub2: port error, restarting port 2
uhub2: port error, giving up port 2
acpi_button1: Sleep Button on acpi0
atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
fdc0: cmd 3 failed at out byte 1 of 3
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
fdc0: cmd 3 failed at out byte 1 of 3
orm0: Option ROMs at iomem 
0xd1000-0xd3fff,0xc9000-0xd0fff,0xc8000-0xc8fff,0xc-0xc7fff on isa0
fdc0: cannot reserve I/O port range (6 ports)
sc0: System console on isa0
sc0: VGA 16 virtual consoles, flags=0x200
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
Timecounters tick every 10.000 msec
IPsec: Initialized Security Association Processing.
acpi_cpu: CPU throttling available, 16 steps from 100% to 6.2%
ad0: 28629MB ST330621A [58168/16/63] at ata0-master UDMA100
ad1: 29312MB Maxtor 33073H3 [59556/16/63] at ata0-slave UDMA100
acd0: CD-RW PLEXTOR CD-R PX-W8432T at ata1-master PIO4
ar0: 78533MB ATA RAID0 array [10011/255/63] status: READY subdisks:
 0 READY ad2: 39266MB IC35L040AVER07-0 [79780/16/63] at 

Re: ATA problems on Promise controller

2003-04-05 Thread Friedemann Becker
try hw.ata.ata_dma=0 in /boot/loader.conf to disable DMA, it is
currently broken but worked on

On Sat, 5 Apr 2003, Paul van der Zwan wrote:

 With a -current kernel ( cvsupped today ) I can no longer boot.
 It hangs on the drives connected to the promis controller built into my
 MSI KT266 mobo.
 The messages are like

 ad2: READ command timeout tag=0 serv=0 - resetting

 Same for ad3. It tries falling back to pio mode but after that it hangs
 completely.
 I have tried putting hw.at.tags=0 in /boot/loader.conf as suggested in
 some older messages on this list but that dit not help.

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