Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Apr 2002 20:30:18 -0800
From:      "pan" <pan@syix.com>
To:        <stable@freebsd.org>
Subject:   ata still breaks raid
Message-ID:  <01f201c1dac8$45cd95a0$2813933f@cat>

next in thread | raw e-mail | index | archive | help
tried cvsup again today [04/02/2002 14:00 PST]
after noticing new code in repository relative to
via northbridges ...

same results as reported before ...
4.5-STABLE breaks the raid array
and panics to an awkward halt.

I am positive that if the ata system worked
at least as well as it does in 4.5-RELEASE I
wouldn't be plaguing the list with these
frequent reports on attemtps to get 4.5-STABLE
installed. I mean - 4.5-RELEASE manages to create
and use ar0 with no trouble on the same equipment
4.5-STABLE fails on with relentless consistency.
Therefore, it seems as though the differenc between
having a working sever and a broken one is whatever
difference there is between 4.5-RELEASE and 4.5-STABLE.

A little more data is offered here  (I'd still like someone
to give me feedback on what other data or tests
I can provide - haven't got any replies yet that
moves this break in STABLE along) ...

I noticed that the 4.5-RELEASE install on the
same box that works(does it really?) shows some
other errors in the ata sub-system

as noted before the mb in question is an Abit KR7A-RAID
with the KT266 chipset  (VIA VT8366A /VT8233),
yet look at this line from dmesg
atapci0: <VIA 82C686 ATA100 controller>
   port 0xc400-0xc40f at device 17.1 on pci0

as far as this humble correspondent believes,
there isn't a 686 chip on the mb - so, what's up with that?

Is that a symptom that the ata code has a break in it that goes
back to 4.5r or before?

4.5r misidentifies a hpt372 as an udma 5 device and when 4.5r
boots it resets udma 6 drives to udma 5. That I understand to
be a matter of developing code and that 4.5s does udma 6.

4.5-RELEASE dmesg appended in hopes there might be some
demi-clueful data for anyone who cares about the ata sub-system.

I am willing to provide any other data from the machine
4.5-STABLE breaks and there is a window of time still
available for whatever tests might produce useful info,
if only  I knew what any maintainer might need to know.

Pan

* 4.5r dmesg KR&A-R/hpt372 boot_verbose & verbose_loading*

Copyright (c) 1992-2002 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.5-RELEASE #0: Mon Mar 25 14:07:06 PST 2002
xxxxxxx
Calibrating clock(s) ... TSC clock: 1600825917 Hz, i8254 clock: 1193289 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 1600690919 Hz
CPU: AMD Athlon(tm) XP 1900+ (1600.69-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x662  Stepping = 2

Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,
CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0480000<<b19>,AMIE,DSP,3DNow!>
Data TLB: 32 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: 256 kbytes, 64 bytes/line, 1 lines/tag, 8-way associative
real memory  = 1073676288 (1048512K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009ffff, 651264 bytes (159 pages)
0x00312000 - 0x3ffe7fff, 1070424064 bytes (261334 pages)
avail memory = 1042759680 (1018320K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00fb030
bios32: Entry = 0xfb4a0 (c00fb4a0)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xb4d0
pnpbios: Found PnP BIOS data at 0xc00fbfa0
pnpbios: Entry = f0000:bfd0  Rev = 1.0
Other BIOS signatures found:
ACPI: 000f6e00
Preloaded elf kernel "kernel" at 0xc02eb000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc02eb09c.
VESA: information block
56 45 53 41 00 02 b0 0e 00 c0 00 00 00 00 f6 0e
00 c0 20 00 01 01 cf 0e 00 c0 e0 0e 00 c0 ee 0e
00 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
VESA: 45 mode(s) found
VESA: v2.0, 2048k memory, flags:0x0, mode table:0xc00c0ef6 (c0000ef6)
VESA: S3 Incorporated. ViRGE /DX /GX
VESA: S3 Incorporated. ViRGE /DX /GX Rev B
Pentium Pro MTRR support enabled
md0: Malloc disk
Creating DISK md0
pci_open(1): mode 1 addr port (0x0cf8) is 0x80008840
pci_open(1a): mode1res=0x80000000 (0x80000000)
pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=30991106)
Using $PIR table, 8 entries at 0xc00fdef0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
found-> vendor=0x1106, dev=0x3099, revid=0x00
 class=06-00-00, hdrtype=0x00, mfdev=0
 subordinatebus=0  secondarybus=0
 map[10]: type 1, range 32, base e0000000, size 26
found-> vendor=0x1106, dev=0xb099, revid=0x00
 class=06-04-00, hdrtype=0x01, mfdev=0
 subordinatebus=1  secondarybus=1
found-> vendor=0x11ad, dev=0x0002, revid=0x11
 class=02-00-00, hdrtype=0x00, mfdev=0
 subordinatebus=0  secondarybus=0
 intpin=a, irq=12
 map[10]: type 1, range 32, base 0000c000, size  8
 map[14]: type 1, range 32, base e9000000, size  8
found-> vendor=0x5333, dev=0x8a01, revid=0x01
 class=03-00-00, hdrtype=0x00, mfdev=0
 subordinatebus=0  secondarybus=0
 intpin=a, irq=11
 map[10]: type 1, range 32, base e4000000, size 26
found-> vendor=0x1106, dev=0x3074, revid=0x00
 class=06-01-00, hdrtype=0x00, mfdev=1
 subordinatebus=0  secondarybus=0
found-> vendor=0x1106, dev=0x0571, revid=0x06
 class=01-01-8a, hdrtype=0x00, mfdev=0
 subordinatebus=0  secondarybus=0
 intpin=a, irq=255
 map[20]: type 1, range 32, base 0000c400, size  4
found-> vendor=0x1103, dev=0x0004, revid=0x05
 class=01-04-00, hdrtype=0x00, mfdev=0
 subordinatebus=0  secondarybus=0
 intpin=a, irq=10
 map[10]: type 1, range 32, base 0000d400, size  3
 map[14]: type 1, range 32, base 0000d800, size  2
 map[18]: type 1, range 32, base 0000dc00, size  3
 map[1c]: type 1, range 32, base 0000e000, size  2
 map[20]: type 1, range 32, base 0000e400, size  8
pci0: <PCI bus> on pcib0
pcib1: <PCI to PCI bridge (vendor=1106 device=b099)> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
dc0: <82c168 PNIC 10/100BaseTX> port 0xc000-0xc0ff mem 0xe9000000-0xe90000ff
irq 12 at device 13.0 on pci0
dc0: Ethernet address: 00:a0:cc:30:ec:71
miibus0: <MII bus> on dc0
pnphy0: <PNIC 82c168 media interface> on miibus0
pnphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX
bpf: dc0 attached
pci0: <S3 ViRGE DX/GX graphics accelerator> (vendor=0x5333, dev=0x8a01) at
16.0 irq 11
isab0: <PCI to ISA bridge (vendor=1106 device=3074)> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA100 controller> port 0xc400-0xc40f at device 17.1 on
pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xc400
ata0: mask=03 status0=50 status1=00
ata0: mask=03 ostat0=50 ostat2=00
ata0-master: ATAPI probe a=14 b=eb
ata0-slave: ATAPI probe a=7f b=7f
ata0: mask=03 status0=00 status1=00
ata0: devices=04
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xc408
ata1: mask=03 status0=20 status1=30
ata1: mask=03 ostat0=20 ostat2=30
ata1-master: ATAPI probe a=20 b=20
ata1-slave: ATAPI probe a=30 b=30
ata1: mask=03 status0=20 status1=30
ata1-master: ATA probe a=25 b=25
ata1-slave: ATA probe a=25 b=25
ata1: devices=00
ata1: at 0x170 irq 15 on atapci0
atapci1: <HighPoint HPT372 ATA100 controller> port
0xe400-0xe4ff,0xe000-0xe003,0xdc00-0xdc07,0xd800-0xd803,0xd400-0xd407 irq 10
at device 19.0 on pci0
ata-: ata2 exists, using next available unit number
ata2: iobase=0xd400 altiobase=0xd802 bmaddr=0xe400
ata2: mask=03 status0=50 status1=00
ata2: mask=03 ostat0=50 ostat2=00
ata2-master: ATAPI probe a=00 b=00
ata2-slave: ATAPI probe a=00 b=00
ata2: mask=03 status0=50 status1=00
ata2-master: ATA probe a=01 b=a5
ata2: devices=01
ata2: at 0xd400 on atapci1
ata3: iobase=0xdc00 altiobase=0xe002 bmaddr=0xe408
ata3: mask=03 status0=50 status1=00
ata3: mask=03 ostat0=50 ostat2=00
ata3-master: ATAPI probe a=00 b=00
ata3-slave: ATAPI probe a=00 b=00
ata3: mask=03 status0=50 status1=00
ata3-master: ATA probe a=01 b=a5
ata3: devices=01
ata3: at 0xdc00 on atapci1
 using shared irq10.
ata-: ata0 exists, using next available unit number
ata-: ata1 exists, using next available unit number
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 ROM> at iomem 0xc0000-0xc7fff on isa0
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
ata4 failed to probe at port 0x1f0 irq 14 on isa0
ata5 failed to probe at port 0x170 irq 15 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0067
atkbd: keyboard ID 0x41ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, 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 0e 0f 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> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
isa_probe_children: probing PnP devices
BIOS Geometries:
 0:03fffe3f 0..1023=1024 cylinders, 0..254=255 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
bpf: lo0 attached
bpf: ppp0 attached
new masks: bio 68c440, tty 630002, net 671002
bpf: sl0 attached
bpf: faith0 attached
IP packet filtering initialized, divert enabled, rule-based forwarding
disabled, default to accept, logging limited to 100 packets/entry by default
ata2-master: success setting UDMA5 on HighPoint chip
Creating DISK ad4
ad4: <MAXTOR 6L040J2/A93.0500> ATA-5 disk at ata2-master
ad4: 38172MB (78177792 sectors), 77557 cyls, 16 heads, 63 S/T, 512 B/S
ad4: 16 secs/int, 1 depth queue, UDMA100
ad4: piomode=4 dmamode=2 udmamode=6 cblid=1
ata3-master: success setting UDMA5 on HighPoint chip
Creating DISK ad6
ad6: <MAXTOR 6L040J2/A93.0500> ATA-5 disk at ata3-master
ad6: 38172MB (78177792 sectors), 77557 cyls, 16 heads, 63 S/T, 512 B/S
ad6: 16 secs/int, 1 depth queue, UDMA100
ad6: piomode=4 dmamode=2 udmamode=6 cblid=1
ar0: 76345MB <ATA RAID0 array> [9732/255/63] subdisks:
  ad4: 38172MB <MAXTOR 6L040J2> [77557/16/63] at ata2-master UDMA100
  ad6: 38172MB <MAXTOR 6L040J2> [77557/16/63] at ata3-master UDMA100
Creating DISK ar0
ata0-master: piomode=4 dmamode=2 udmamode=2 dmaflag=1
ata0-master: success setting PIO4 on generic chip
acd0: <ATAPI 52X CDROM/VER-3.20> CDROM drive at ata0 as master
acd0: read 171KB/s (48034KB/s), 128KB buffer, PIO4
acd0: Reads: CD-R, CD-RW, CD-DA stream, packet
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: no/blank disc inside, unlocked
Mounting root from ufs:/dev/ar0s1a
ar0s1: type 0xa5, start 63, end = 156344579, size 156344517 : OK
start_init: trying /sbin/init





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01f201c1dac8$45cd95a0$2813933f>