Date: Tue, 7 May 2002 19:51:59 +0400 (MSD) From: Dmitry Morozovsky <marck@rinet.ru> To: =?KOI8-r?Q?S=F8ren_Schmidt?= <sos@freebsd.dk> Cc: stable@freebsd.org, <sos@freebsd.org> Subject: Re: ata(4) -STABLE subsystem and tags MFC Message-ID: <20020507192927.R43118-300000@woozle.rinet.ru> In-Reply-To: <200205071520.g47FKBAh071075@freebsd.dk>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
On Tue, 7 May 2002, Søren Schmidt wrote:
SS> It seems Dmitry Morozovsky wrote:
SS> > DM> Yeah, I see. By the way, I have a test machine handy, and also spare GXP
SS> > DM> disc, so I'm going to build testcase. It's K6/2-450 at TX motherboard.
SS> > DM>
SS> > DM> What info do I need to send? (possibly, we should move the discussion of
SS> > DM> the precise details to private mail, yeah?)
SS> >
SS> > Just boot this machine with GXP at second channel, turned tags on, and got
SS> > these funny
SS>
SS> Hmm, could you mail me a complete dmesg of that system please ?
Well, it's attached.
Comments:
Boot (system) disk at ata0, and tag-capable IBM disc is at ata1:
ATA channel 0:
Master: ad0 <ST36531A/3.05> ATA/ATAPI rev 4
Slave: no device present
ATA channel 1:
Master: ad2 <IC35L040AVVA07-0/VA2OA50K> ATA/ATAPI rev 5
Slave: no device present
Second attach is dmesg after 'fdisk ad2'
If it's needed, I can get you access both to this machine and to its
serial console (which I just made and tested). Debugging kernel with DDB
is also ready.
Sincerely,
D.Marck [DM5020, DM268-RIPE, DM3-RIPN]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
------------------------------------------------------------------------
[-- Attachment #2 --]
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.6-PRERELEASE #1: Mon May 6 23:15:21 MSD 2002
root@zhopa.rinet.ru:/var/obj/lh/src/sys/gwh
Calibrating clock(s) ... TSC clock: 451085108 Hz, i8254 clock: 1193347 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 451024590 Hz
CPU: AMD-K6(tm) 3D processor (451.02-MHz 586-class CPU)
Origin = "AuthenticAMD" Id = 0x58c Stepping = 12
Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
AMD Features=0x80000800<SYSCALL,3DNow!>
Data TLB: 128 entries, 2-way associative
Instruction TLB: 64 entries, 1-way associative
L1 data cache: 32 kbytes, 32 bytes/line, 2 lines/tag, 2-way associative
L1 instruction cache: 32 kbytes, 32 bytes/line, 2 lines/tag, 2-way associative
Write Allocate Disable
real memory = 67108864 (65536K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009ffff, 651264 bytes (159 pages)
0x002a8000 - 0x03ff7fff, 64290816 bytes (15696 pages)
avail memory = 62857216 (61384K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00fb040
bios32: Entry = 0xfb4c0 (c00fb4c0) Rev = 0 Len = 1
pcibios: PCI BIOS entry at 0xb4f0
pnpbios: Found PnP BIOS data at 0xc00fc080
pnpbios: Entry = f0000:c0a8 Rev = 1.0
Other BIOS signatures found:
ACPI: 00000000
Preloaded elf kernel "kernel" at 0xc0281000.
K6-family MTRR support enabled (2 registers)
pci_open(1): mode 1 addr port (0x0cf8) is 0x8000005c
pci_open(1a): mode1res=0x80000000 (0x80000000)
pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=71008086)
Using $PIR table, 6 entries at 0xc00fddf0
npx0: <math processor> on motherboard
npx0: INT 16 interface
i586_bzero() bandwidth = 149276011 bytes/sec
bzero() bandwidth = 74906367 bytes/sec
pcib0: <Host to PCI bridge> on motherboard
found-> vendor=0x8086, dev=0x7100, revid=0x01
class=06-00-00, hdrtype=0x00, mfdev=0
subordinatebus=0 secondarybus=0
found-> vendor=0x8086, dev=0x7110, revid=0x01
class=06-01-00, hdrtype=0x00, mfdev=1
subordinatebus=0 secondarybus=0
found-> vendor=0x8086, dev=0x7111, revid=0x01
class=01-01-80, hdrtype=0x00, mfdev=0
subordinatebus=0 secondarybus=0
map[20]: type 1, range 32, base 0000f000, size 4
found-> vendor=0x8086, dev=0x7112, revid=0x01
class=0c-03-00, hdrtype=0x00, mfdev=0
subordinatebus=0 secondarybus=0
intpin=d, irq=255
map[20]: type 1, range 32, base 00006400, size 5
found-> vendor=0x8086, dev=0x7113, revid=0x01
class=06-80-00, hdrtype=0x00, mfdev=0
subordinatebus=0 secondarybus=0
map[90]: type 1, range 32, base 00005000, size 4
found-> vendor=0x10ec, dev=0x8029, revid=0x00
class=02-00-00, hdrtype=0x00, mfdev=0
subordinatebus=0 secondarybus=0
intpin=a, irq=11
map[10]: type 1, range 32, base 00006800, size 5
found-> vendor=0x1142, dev=0x643d, revid=0x02
class=03-00-00, hdrtype=0x00, mfdev=0
subordinatebus=0 secondarybus=0
map[10]: type 1, range 32, base e0000000, size 24
map[14]: type 1, range 32, base 00006c00, size 4
pci0: <PCI bus> on pcib0
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.1 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xf000
ata0: mask=03 ostat0=50 ostat2=00
ata0-master: ATAPI 00 00
ata0-slave: ATAPI 00 00
ata0: mask=03 stat0=50 stat1=00
ata0-master: ATA 01 a5
ata0: devices=01
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xf008
ata1: mask=03 ostat0=40 ostat2=00
ata1-master: ATAPI 00 00
ata1-slave: ATAPI 00 00
ata1: mask=03 stat0=50 stat1=00
ata1-master: ATA 01 a5
ata1: devices=01
ata1: at 0x170 irq 15 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> (vendor=0x8086, dev=0x7112) at 7.2
chip1: <Intel 82371AB Power management controller> port 0x5000-0x500f at device 7.3 on pci0
ed0: <NE2000 PCI Ethernet (RealTek 8029)> port 0x6800-0x681f irq 11 at device 9.0 on pci0
bpf: ed0 attached
ed0: address 00:60:52:03:48:39, type NE2000 (16 bit)
pci0: <Alliance model 643d VGA-compatible display device> (vendor=0x1142, dev=0x643d) at 13.0
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
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:0x1d0000
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
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=0x100>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
sio0: irq maps: 0x41 0x51 0x41 0x41
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio1: irq maps: 0x41 0x49 0x41 0x41
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
isa_probe_children: probing PnP devices
BIOS Geometries:
0:03ff0e3f 0..1023=1024 cylinders, 0..14=15 heads, 1..63=63 sectors
0 accounted for
Device configuration finished.
bpf: lo0 attached
ad0: success setting UDMA2 on Intel chip
Creating DISK ad0
ar: FreeBSD check1 failed
ad0: <ST36531A/3.05> ATA-4 disk at ata0-master
ad0: 6204MB (12706470 sectors), 13446 C, 15 H, 63 S, 512 B
ad0: 16 secs/int, 1 depth queue, UDMA33
ad0: piomode=4 dmamode=2 udmamode=2 cblid=0
ad2: success setting UDMA2 on Intel chip
Creating DISK ad2
ar: FreeBSD check1 failed
ad2: <IC35L040AVVA07-0/VA2OA50K> ATA-5 disk at ata1-master
ad2: 39266MB (80418240 sectors), 79780 C, 16 H, 63 S, 512 B
ad2: 16 secs/int, 32 depth queue, tagged UDMA33
ad2: piomode=4 dmamode=2 udmamode=5 cblid=1
Mounting root from ufs:/dev/ad0s1a
ad0s1: type 0xa5, start 63, end = 12706469, size 12706407 : OK
start_init: trying /sbin/init
swapon: adding /dev/ad0s1b as swap device
Automatic boot in progress...
[-- Attachment #3 --]
ad2: invalid primary partition table: no magic
ad2: timeout waiting for READY
ad2: invalidating queued requests
- resetting
ata1: resetting devices .. ata1: mask=03 ostat0=51 ostat2=00
ad2: ATAPI 00 00
ata1-slave: ATAPI 00 00
ata1: mask=03 stat0=50 stat1=00
ad2: ATA 01 a5
ata1: devices=01
ad2: invalidating queued requests
ad2: success setting UDMA2 on Intel chip
done
ad2: no request for tag=0
ad2: invalidating queued requests
ad2: READ command timeout tag=0 serv=0 - resetting
ad2: invalidating queued requests
ata1: resetting devices .. ata1: mask=03 ostat0=51 ostat2=00
ad2: ATAPI 00 00
ata1-slave: ATAPI 00 00
ata1: mask=03 stat0=50 stat1=00
ad2: ATA 01 a5
ata1: devices=01
ad2: invalidating queued requests
ad2: success setting UDMA2 on Intel chip
done
ad2: no request for tag=0
ad2: invalidating queued requests
ad2: READ command timeout tag=0 serv=0 - resetting
ad2: invalidating queued requests
ata1: resetting devices .. ata1: mask=03 ostat0=51 ostat2=00
ad2: ATAPI 00 00
ata1-slave: ATAPI 00 00
ata1: mask=03 stat0=50 stat1=00
ad2: ATA 01 a5
ata1: devices=01
ad2: invalidating queued requests
ad2: success setting UDMA2 on Intel chip
done
ad2: no request for tag=0
ad2: invalidating queued requests
ad2: READ command timeout tag=0 serv=0 - resetting
ad2: invalidating queued requests
ad2: success setting PIO4 on generic chip
ad2: trying fallback to PIO mode
ata1: resetting devices .. ata1: mask=03 ostat0=50 ostat2=00
ad2: ATAPI 00 00
ata1-slave: ATAPI 00 00
ata1: mask=03 stat0=50 stat1=00
ad2: ATA 01 a5
ata1: devices=01
ad2: invalidating queued requests
ad2: success setting PIO4 on generic chip
done
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020507192927.R43118-300000>
