Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jul 2003 16:34:14 +0400 (MSD)
From:      Gleb Smirnoff <glebius@cell.sick.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   i386/54501: Promise Ultra133 TX2 does not work properly
Message-ID:  <200307151234.h6FCYE8O003032@cell.sick.ru>
Resent-Message-ID: <200307151240.h6FCeBdg011390@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         54501
>Category:       i386
>Synopsis:       Promise Ultra133 TX2 does not work properly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 15 05:40:11 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Gleb Smirnoff
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Bestcom ISP
>Environment:
FreeBSD video.bestcom.ru 4.8-STABLE FreeBSD 4.8-STABLE #0: Tue Jul 15 15:15:48 M
SD 2003     root@fade.bestcom.ru:/usr/obj/usr/src/sys/VIDEO  i386

>Description:
	The box has Promise Ultra133 TX2 installed with one HDD on first
	channel - Seagate Barracuda, which is properly detected by
	controllers BIOS.
	Here is boot -v output:

 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 4.8-STABLE #0: Tue Jul 15 15:15:48 MSD 2003
 root@fade.bestcom.ru:/usr/obj/usr/src/sys/VIDEO
 Calibrating clock(s) ... TSC clock: 266613535 Hz, i8254 clock: 1193179 Hz
 CLK_USE_I8254_CALIBRATION not specified - using default frequency
 Timecounter "i8254"  frequency 1193182 Hz
 CLK_USE_TSC_CALIBRATION not specified - using old calibration method
 Timecounter "TSC"  frequency 266615912 Hz
 CPU: Pentium II/Pentium II Xeon/Celeron (266.62-MHz 686-class CPU)
 Origin = "GenuineIntel"  Id = 0x634  Stepping = 4
 Features=0x80fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,MMX>
 real memory  = 33554432 (32768K bytes)
 Physical memory chunk(s):
 0x00001000 - 0x0009dfff, 643072 bytes (157 pages)
 0x0033a000 - 0x01ff5fff, 30130176 bytes (7356 pages)
 avail memory = 29540352 (28848K bytes)
 bios32: Found BIOS32 Service Directory header at 0xc00f7c70
 bios32: Entry = 0xfd6ff (c00fd6ff)  Rev = 0  Len = 1
 pcibios: PCI BIOS entry at 0x47f
 pnpbios: Found PnP BIOS data at 0xc00f7c80
 pnpbios: Entry = f0000:c432  Rev = 1.0
 Other BIOS signatures found:
 ACPI: 00000000
 Preloaded elf kernel "kernel" at 0xc0313000.
 ccd0: Concatenated disk driver
 VESA: information block
 56 45 53 41 02 01 6d 27 00 c0 00 00 00 00 14 00 
 00 01 10 00 03 01 04 01 00 01 01 01 05 01 11 01 
 14 01 10 01 13 01 02 01 06 01 12 01 7c 00 ff ff 
 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
 VESA: 13 mode(s) found
 VESA: v1.2, 1024k memory, flags:0x0, mode table:0xc02ba754 (1000014)
 VESA: Cirrus Logic GD-5436/46 VGA
 Pentium Pro MTRR support enabled
 pci_open(1):	mode 1 addr port (0x0cf8) is 0x80000090
 pci_open(1a):	mode1res=0x80000000 (0x80000000)
 pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=12378086)
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 pcib0: <Host to PCI bridge> on motherboard
 found->	vendor=0x8086, dev=0x1237, revid=0x02
 class=06-00-00, hdrtype=0x00, mfdev=0
 subordinatebus=0 	secondarybus=0
 found->	vendor=0x8086, dev=0x7000, revid=0x01
 class=06-01-00, hdrtype=0x00, mfdev=1
 subordinatebus=0 	secondarybus=0
 found->	vendor=0x8086, dev=0x7010, revid=0x00
 class=01-01-80, hdrtype=0x00, mfdev=0
 subordinatebus=0 	secondarybus=0
 found->	vendor=0x1013, dev=0x00b8, revid=0x00
 class=03-00-00, hdrtype=0x00, mfdev=0
 subordinatebus=0 	secondarybus=0
 map[10]: type 1, range 32, base fd000000, size 24
 found->	vendor=0x105a, dev=0x4d69, revid=0x02
 class=01-80-85, hdrtype=0x00, mfdev=0
 subordinatebus=0 	secondarybus=0
 intpin=a, irq=15
 map[10]: type 3, range 32, base 0000fcb8, size  3
 map[14]: type 3, range 32, base 0000fcc8, size  2
 map[18]: type 1, range 32, base 0000fcc0, size  3
 map[1c]: type 3, range 32, base 0000fccc, size  2
 map[20]: type 1, range 32, base 0000fcd0, size  4
 map[24]: type 1, range 32, base fedf8000, size 14
 found->	vendor=0x9004, dev=0x8078, revid=0x00
 class=01-00-00, hdrtype=0x00, mfdev=0
 subordinatebus=0 	secondarybus=0
 intpin=a, irq=9
 map[10]: type 1, range 32, base 0000f800, size  8
 map[14]: type 1, range 32, base fedff000, size 12
 found->	vendor=0x9004, dev=0x6078, revid=0x01
 class=01-00-00, hdrtype=0x00, mfdev=0
 subordinatebus=0 	secondarybus=0
 intpin=a, irq=11
 map[10]: type 1, range 32, base 0000e800, size  8
 map[14]: type 1, range 32, base fedfe000, size 12
 found->	vendor=0x8086, dev=0x1229, revid=0x01
 class=02-00-00, hdrtype=0x00, mfdev=0
 subordinatebus=0 	secondarybus=0
 intpin=a, irq=10
 map[10]: type 1, range 32, base fedfd000, size 12
 map[14]: type 1, range 32, base 0000fce0, size  5
 map[18]: type 1, range 32, base feb00000, size 20
 pci0: <PCI bus> on pcib0
 Correcting Natoma config for non-SMP
 isab0: <Intel 82371SB PCI to ISA bridge> at device 2.0 on pci0
 I/O Recovery Timing: 8-bit 8 clocks, 16-bit 4 clocks
 Extended BIOS: enabled
 Lower BIOS: enabled
 Coprocessor IRQ13: enabled
 Mouse IRQ12: enabled
 Interrupt Routing: A: IRQ15, B: disabled, C: disabled, D: IRQ10
 MB0: disabled, MB1: 
 isa0: <ISA bus> on isab0
 atapci0: <Intel PIIX3 ATA controller> at device 2.1 on pci0
 atapci0: ATA channel disabled by BIOS
 pci0: <Cirrus Logic GD5446 SVGA controller> (vendor=0x1013, dev=0x00b8) at 4.0
 atapci1: <Promise TX2 ATA133 controller> port 0xfcd0-0xfcdf,0xfccc-0xfccf,0xfcc0-0xfcc7,0xfcc8-0xfccb,0xfcb8-0xfcbf mem 0xfedf8000-0xfedfbfff irq 15 at device 6.0 on pci0
 ata-: ata2 exists, using next available unit number
 ata2: iobase=0xfcb8 altiobase=0xfcca bmaddr=0xfcd0
 ata2: mask=03 ostat0=20 ostat2=50
 ata2-master: ATAPI 20 20
 ata2-slave: ATAPI 30 30
 ata2: mask=03 stat0=20 stat1=30
 ata2-master: ATA 25 25
 ata2-slave: ATA 25 25
 ata2: devices=00
 ata2: at 0xfcb8 on atapci1
 ata3: iobase=0xfcc0 altiobase=0xfcce bmaddr=0xfcd8
 ata3: mask=03 ostat0=20 ostat2=30
 ata3-master: ATAPI 20 20
 ata3-slave: ATAPI 30 30
 ata3: mask=03 stat0=20 stat1=30
 ata3-master: ATA 25 25
 ata3-slave: ATA 25 25
 ata3: devices=00
 ata3: at 0xfcc0 on atapci1
 using shared irq15.
 ahc0: <Adaptec aic7880 Ultra SCSI adapter> port 0xf800-0xf8ff mem 0xfedff000-0xfedfffff irq 9 at device 8.0 on pci0
 ahc0: Defaulting to MEMIO on
 ahc0: Reading SEEPROM...done.
 ahc0: High byte termination Enabled
 ahc0: Downloading Sequencer Program... 448 instructions downloaded
 ahc0: Features 0x5, Bugs 0x25, Flags 0x20481140
 aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
 ahc1: <Adaptec aic7860 Ultra SCSI adapter> port 0xe800-0xe8ff mem 0xfedfe000-0xfedfefff irq 11 at device 11.0 on pci0
 ahc1: Defaulting to MEMIO on
 ahc1: Reading SEEPROM...done.
 ahc1: Low byte termination enabled
 ahc1: Downloading Sequencer Program... 459 instructions downloaded
 ahc1: Features 0x10101, Bugs 0x35, Flags 0x481540
 aic7860: Ultra Single Channel A, SCSI Id=7, 3/253 SCBs
 fxp0: <Intel 82557/8/9 EtherExpress Pro/100(B) Ethernet> port 0xfce0-0xfcff mem 0xfeb00000-0xfebfffff,0xfedfd000-0xfedfdfff irq 10 at device 12.0 on pci0
 fxp0: using memory space register mapping
 fxp0: Ethernet address 00:a0:c9:23:48:4b
 fxp0: PCI IDs: 8086 1229 0000 0000 0001
 fxp0: Dynamic Standby mode is disabled
 nsphy0: <DP83840 10/100 media interface> on miibus0
 nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 bpf: fxp0 attached
 Trying Read_Port at 203
 Trying Read_Port at 243
 Trying Read_Port at 283
 Trying Read_Port at 2c3
 Trying Read_Port at 303
 Trying Read_Port at 343
 Trying Read_Port at 383
 Trying Read_Port at 3c3
 isa_probe_children: disabling PnP devices
 isa_probe_children: probing non-PnP devices
 orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcc7ff,0xcc800-0xccfff,0xcd000-0xcf7ff on isa0
 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
 atkbd0: <AT Keyboard> irq 1 on atkbdc0
 atkbd: the current kbd controller command byte 0067
 atkbd: keyboard ID 0x41ab (2)
 kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000
 psm0: current command byte:0067
 psm0: failed to reset the aux device.
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 fb0: vga0, vga, type:VGA (5), flags:0x700ff
 fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
 fb0: init mode:24, bios mode:3, current mode:24
 fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
 VGA parameters upon power-up
 50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 
 bf 1f 00 4f 0d 0e 00 00 07 80 9c 8e 8f 28 1f 96 
 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
 VGA parameters in BIOS for mode 24
 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
 EGA/VGA parameters to be used for mode 24
 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
 sc0: <System console> on isa0
 sc0: VGA <16 virtual consoles, flags=0x200>
 sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
 fdc0: FIFO enabled, 8 bytes threshold
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 sio0: irq maps: 0x41 0x51 0x41 0x41
 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
 sio0: type 16550A esp_port has com 3
 esp_port has com 3
 esp_port has com 3
 
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: irq maps: 0x41 0x41 0x41 0x41
 sio1: probe failed test(s): 0 1 2 4 6 7 9
 sio1 failed to probe at port 0x2f8-0x2ff irq 3 on isa0
 isa_probe_children: probing PnP devices
 BIOS Geometries:
 0:0228fe3f 0..552=553 cylinders, 0..254=255 heads, 1..63=63 sectors
 1:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors
 0 accounted for
 Device configuration finished.
 bpf: lo0 attached
 bpf: ds0 attached
 Waiting 5 seconds for SCSI devices to settle
 (noperiph:ahc0:0:-1:-1): SCSI bus reset delivered. 0 SCBs aborted.
 (noperiph:ahc1:0:-1:-1): SCSI bus reset delivered. 0 SCBs aborted.
 (probe20:ahc1:0:5:0): INQUIRY. CDB: 12 1 80 0 ff 0 
 (probe20:ahc1:0:5:0): ILLEGAL REQUEST asc:24,0
 (probe20:ahc1:0:5:0): Invalid field in CDB sks:c8,1
 (ahc1:A:5:0): Sending SDTR period 19, offset f
 (ahc1:A:5:0): Received SDTR period 19, offset 8
 Filtered to period 19, offset 8
 ahc1: target 5 synchronous at 10.0MHz, offset = 0x8
 (ahc1:A:5:0): Sending SDTR period 19, offset 8
 (ahc1:A:5:0): Received SDTR period 19, offset 8
 Filtered to period 19, offset 8
 (ahc0:A:0:0): Sending WDTR 1
 (ahc0:A:0:0): Received WDTR 1 filtered to 1
 ahc0: target 0 using 16bit transfers
 (ahc0:A:0:0): Sending SDTR period 19, offset 8
 (ahc0:A:0:0): Received SDTR period 19, offset 8
 Filtered to period 19, offset 8
 ahc0: target 0 synchronous at 10.0MHz, offset = 0x8
 Creating DISK da0
 Creating DISK cd0
 pass0 at ahc0 bus 0 target 0 lun 0
 pass0: <SEAGATE ST34572W 0876> Fixed Direct Access SCSI-2 device 
 pass0: Serial Number JKC194140JRSE0
 pass0: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Enabled
 pass1 at ahc1 bus 0 target 5 lun 0
 pass1: <TOSHIBA CD-ROM XM-5701TA 3136> Removable CD-ROM SCSI-2 device 
 pass1: 10.000MB/s transfers (10.000MHz, offset 8)
 d(ahc1:A:5:0): Sending SDTR period 19, offset 8
 a0 at ahc0 bus 0(ahc1:A:5:0): Received SDTR period 19, offset 8
 Filtered to period 19, offset 8
 target 0 lun 0
 da0: <SEAGATE ST34572W 0876> Fixed Direct Access SCSI-2 device 
 da0: Serial Number JKC194140JRSE0
 da0: 20.000MB/s transfers (10.000MHz, offset 8, 16bit), Tagged Queueing Enabled
 da0: 4340MB (8888924 512 byte sectors: 255H 63S/T 553C)
 Mounting root from ufs:/dev/da0s1a
 (ahc1:A:5:0): Sending SDTR period 19, offset 8
 (ahc1:A:5:0): Received SDTR period 19, offset 8
 Filtered to period 19, offset 8
 (cd0:ahc1:0:5:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
 (cd0:ahc1:0:5:0): NOT READY asc:3a,0
 (cd0:ahc1:0:5:0): Medium not present
 cd0 at ahc1 bus 0 target 5 lun 0
 cd0: <TOSHIBA CD-ROM XM-5701TA 3136> Removable CD-ROM SCSI-2 device 
 cd0: 10.000MB/s transfers (10.000MHz, offset 8)
 cd0: Attempt to query device size failed: NOT READY, Medium not present
 da0s1: type 0xa5, start 63, end = 8883944, size 8883882 : OK
 start_init: trying /sbin/init
 ata3: mask=03 stat0=20 stat1=30
 ata3-master: ATA 25 25
 ata3-slave: ATA 25 25
 ata3: devices=00
 done
 ata2: resetting devices .. ata2: mask=03 ostat0=20 ostat2=50
 ata2-master: ATAPI 20 20
 ata2-slave: ATAPI 30 30
 ata2: mask=03 stat0=20 stat1=30
 ata2-master: ATA 25 25
 ata2-slave: ATA 25 25
 ata2: devices=00
 done
 ata2: resetting devices .. ata2: mask=03 ostat0=20 ostat2=50
 ata2-master: ATAPI 20 20
 ata2-slave: ATAPI 30 30
 ata2: mask=03 stat0=20 stat1=30
 ata2-master: ATA 25 25
 ata2-slave: ATA 25 25
 ata2: devices=00
 done
 ata2: resetting devices .. ata2: mask=03 ostat0=20 ostat2=50
 ata2-master: ATAPI 20 20
 ata2-slave: ATAPI 30 30
 ata2: mask=03 stat0=20 stat1=30
 ata2-master: ATA 25 25
 ata2-slave: ATA 25 25
 ata2: devices=00
 done

	so, HDD is not detected at boot time. But HDD can be detected
	after boot using atacontrol:
	atacontrol detach 2
	atacontrol attach 2

	Immediately after detection of HDD, this error messages appear:

ad0: UDMA ICRC error reading fsbn 234441585 of 0-3 (ad0 bn 234441585; cn 232580 tn 15 sn 0) retrying
ad0: UDMA ICRC error reading fsbn 234441585 of 0-3 (ad0 bn 234441585; cn 232580 tn 15 sn 0) retrying
ad0: UDMA ICRC error reading fsbn 234441585 of 0-3 (ad0 bn 234441585; cn 232580 tn 15 sn 0) retrying
ad0: UDMA ICRC error reading fsbn 234441585 of 0-3 (ad0 bn 234441585; cn 232580 tn 15 sn 0) falling back to PIO mode
ad0: 114473MB <ST3120022A> [232581/16/63] at ata2-slave PIO4

	After that HDD is working in PIO4 mode. Attempts to raise mode to
	UDMA fail.

>How-To-Repeat:
	see above
>Fix:
	Not known

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307151234.h6FCYE8O003032>