Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Apr 2000 19:55:55 +0200 (SAT)
From:      John Hay <jhay@mikom.csir.co.za>
To:        sos@freebsd.dk (Soren Schmidt)
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: ATA & 82C596 bug in 4.0-RELEASE?
Message-ID:  <200004041755.TAA75436@zibbi.mikom.csir.co.za>
In-Reply-To: <200004041034.MAA48408@freebsd.dk> from Soren Schmidt at "Apr 4, 2000 12:34:52 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> > > 
> > > Yup VIA has a new version of the 82C596 chip, in their usual visdom they
> > > change the interface, but not the chip ID (I'll nominate VIA for the 
> > > way they do versioning). However I have worked out the solution with
> > > Chris Wiener <cwiener@crlabs.com>, that had this problem also and
> > > kindly helped testing. Se the patch belowm try it and let me know..
> > 
> > Is it possible that something like that is happening with the 82C586
> > too? The chip on our boards are all marked VT82C586B. I'll try the
> > patch although it seems to be for the 596?
> 
> Well I wouldn't be surpriced at that :)
> 
> > Should I just install 3.X and then copy a newer kernel over? 3.4
> > install perfectly and dma also works without a problem if enabled
> > with flags 0xa0ff. (Although that is probably a slower dma?)
> 
> I need a verbose boot log from the machine so I can see if VIA 
> changed the chip ID or at least the revision on it...
> 

Ok, here is it.

John
-- 
John Hay -- John.Hay@mikom.csir.co.za


machdep.msgbuf: Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 4.0-STABLE #0: Tue Apr  4 18:31:56 SAST 2000
    jhay@angel.cids.org.za:/a/releng_4/usr/src/sys/compile/TOBY
Calibrating clock(s) ... TSC clock: 400878590 Hz, i8254 clock: 1193091 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 400912253 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (400.91-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x665  Stepping = 5
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 33488896 (32704K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009ffff, 651264 bytes (159 pages)
0x002ac000 - 0x01fe7fff, 30654464 bytes (7484 pages)
avail memory = 30142464 (29436K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00face0
bios32: Entry = 0xfb160 (c00fb160)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xb190
pnpbios: Found PnP BIOS data at 0xc00fbda0
pnpbios: Entry = f0000:bdc8  Rev = 1.0
Other BIOS signatures found:
ACPI: 000f6d60
Preloaded elf kernel "kernel.v4" at 0xc0293000.
Pentium Pro MTRR support enabled
pci_open(1):	mode 1 addr port (0x0cf8) is 0x80003840
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=06911106)
devclass_alloc_unit: pcib0 already exists, using next available unit number
npx0: <math processor> on motherboard
npx0: INT 16 interface
pci_open(1):	mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=06911106)
pcib0: <Host to PCI bridge> on motherboard
found->	vendor=0x1106, dev=0x0691, revid=0x01
	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=0x8598, revid=0x00
	class=06-04-00, hdrtype=0x01, mfdev=0
	subordinatebus=1 	secondarybus=1
found->	vendor=0x1106, dev=0x0586, revid=0x47
	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
	map[20]: type 1, range 32, base 0000e000, size  4
found->	vendor=0x1106, dev=0x3038, revid=0x02
	class=0c-03-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=d, irq=15
	map[20]: type 1, range 32, base 0000e400, size  5
found->	vendor=0x1106, dev=0x3040, revid=0x10
	class=06-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
found->	vendor=0x5333, dev=0x8901, revid=0x16
	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=0x8086, dev=0x1229, revid=0x08
	class=02-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=10
	map[10]: type 1, range 32, base eb180000, size 12
	map[14]: type 1, range 32, base 0000e800, size  6
	map[18]: type 1, range 32, base eb000000, size 20
found->	vendor=0x114f, dev=0x5012, revid=0x00
	class=07-80-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=12
	map[10]: type 1, range 32, base eb181000, size  7
	map[14]: type 1, range 32, base 0000ec00, size  7
	map[18]: type 1, range 32, base eb100000, size 19
pci0: <PCI bus> on pcib0
pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib2
isab0: <VIA 82C586 PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C586 ATA33 controller> port 0xe000-0xe00f at device 7.1 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xe000
ata0: mask=03 status0=50 status1=00
ata0: mask=03 status0=50 status1=00
ata0: devices = 0x1
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xe008
ata1: mask=00 status0=ff status1=ff
ata1: probe allocation failed
pci0: <VIA 83C572 USB controller> (vendor=0x1106, dev=0x3038) at 7.2 irq 15
pci0: <S3 Trio 64V2/DX/GX graphics accelerator> (vendor=0x5333, dev=0x8901) at 15.0 irq 11
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> port 0xe800-0xe83f mem 0xeb000000-0xeb0fffff,0xeb180000-0xeb180fff irq 10 at device 16.0 on pci0
fxp0: Ethernet address 00:90:27:8b:32:6d
fxp0: supplying EUI64: 00:90:27:ff:fe:8b:32:6d
bpf: fxp0 attached
pci0: <unknown card> (vendor=0x114f, dev=0x5012) at 19.0 irq 12
pci_open(1):	mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=06911106)
devclass_alloc_unit: pci1 already exists, using next available unit number
pcib1: <Host to PCI bridge> on motherboard
pci2: <PCI bus> on pcib1
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
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
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)
<7>kbdc: RESET_KBD return code:00fa
<7>kbdc: RESET_KBD status:00aa
kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000
psm0: current command byte:0067
<7>kbdc: TEST_AUX_PORT status:0000
<7>kbdc: RESET_AUX return code:00fe
<7>kbdc: RESET_AUX return code:00fe
<7>kbdc: RESET_AUX return code:00fe
<7>kbdc: DIAGNOSE status:0055
<7>kbdc: TEST_KBD_PORT status:0000
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: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> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
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
sio1: irq maps: 0x41 0x49 0x41 0x41
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: parallel port found at 0x378
ppc0: SPP
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppi0: <Parallel I/O> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
plip0: <PLIP network interface> on ppbus0
bpf: lp0 attached
isa_probe_children: probing PnP devices
BIOS Geometries:
 0:022bef3f 0..555=556 cylinders, 0..239=240 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
bpf: sl0 attached
bpf: ppp0 attached
new masks: bio 40084040, tty 4003009a, net 4007049a
bpf: lo0 attached
bpf: gif0 attached
bpf: gif1 attached
bpf: gif2 attached
bpf: gif3 attached
bpf: stf0 attached
bpf: faith0 attached
ata0-master: success setting up UDMA2 mode on VIA chip
ad0: <SAMSUNG SW0434A (4.3GB)/JB100-11> ATA-3 disk at ata0 as master
ad0: 4104MB (8406720 sectors), 8896 cyls, 15 heads, 63 S/T, 512 B/S
ad0: 16 secs/int, 1 depth queue, UDMA33
ad0: piomode=4 dmamode=2 udmamode=2 cblid=0
Creating DISK ad0
Creating DISK wd0
Mounting root from ufs:wd0s1a
wd0s1: type 0xa5, start 63, end = 8405774, size 8405712 : OK
start_init: trying /sbin/init
ata0-master: success setting up PIO4 mode on generic chip



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




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