Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Dec 2001 17:57:48 +0200 (SAST)
From:      Zwane Mwaikambo <zwane@linux.realnet.co.sz>
To:        =?ISO-8859-1?Q?S=F8ren_Schmidt?= <sos@freebsd.dk>
Cc:        <freebsd-hackers@freebsd.org>
Subject:   Re: UDMA33 and SiS5591 on FreeBSD 4.4-RELEASE
Message-ID:  <Pine.LNX.4.33.0112011754350.12820-100000@netfinity.realnet.co.sz>
In-Reply-To: <200112011246.fB1CkGq44064@freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
Had to go home to get the messages. Whilst i was there i examined the
verbose boot and pinpointed the DMA problem to the PIO cdrom i have (i
thought it was a UDMA one). Removing that from the same cable fixed the
DMA problem. Thanks for your time. But hopefully this might still help you
with my drive geometry problem.

Regards,
	Zwane Mwaikambo

Copyright (c) 1992-2001 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.4-RELEASE #0: Thu Jan  1 03:22:15 GMT 1998
    root@mondecino.mastecende.com:/usr/src/sys/compile/MONDECINO
Calibrating clock(s) ... failed, using default i8254 clock of 1193182 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 350800356 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (350.80-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x652  Stepping = 2
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 201261056 (196544K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x00372000 - 0x0bfe7fff, 197615616 bytes (48246 pages)
config> q
avail memory = 192499712 (187988K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00fdb50
bios32: Entry = 0xfdb60 (c00fdb60)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xdb81
pnpbios: Found PnP BIOS data at 0xc00f70e0
pnpbios: Entry = f0000:68d4  Rev = 1.0
Other BIOS signatures found:
ACPI: 000fb000
Preloaded elf kernel "kernel" at 0xc034c000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc034c0a8.
Pentium Pro MTRR support enabled
md0: Malloc disk
Creating DISK md0
pci_open(1):	mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=80] is there (id=06201039)
Using $PIR table, 5 entries at 0xc00f7740
pcib-: pcib0 exists, using next available unit number
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
found->	vendor=0x1039, dev=0x0620, revid=0x02
	class=06-00-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
	map[10]: type 1, range 32, base e8000000, size 26
found->	vendor=0x1039, dev=0x5513, revid=0xd0
	class=01-01-80, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=0
	map[10]: type 1, range 32, base 000001f0, size  3
	map[14]: type 1, range 32, base 000003f4, size  2
	map[18]: type 1, range 32, base 00000170, size  3
	map[1c]: type 1, range 32, base 00000374, size  2
	map[20]: type 1, range 32, base 0000ffa0, size  4
found->	vendor=0x1039, dev=0x0008, revid=0xb1
	class=06-01-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
found->	vendor=0x1039, dev=0x0009, revid=0x00
	class=ff-00-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
found->	vendor=0x1039, dev=0x7001, revid=0x11
	class=0c-03-10, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=10
	map[10]: type 1, range 32, base efffe000, size 12
found->	vendor=0x1039, dev=0x0001, revid=0x00
	class=06-04-00, hdrtype=0x01, mfdev=0
	subordinatebus=1 	secondarybus=1
found->	vendor=0x1002, dev=0x4755, revid=0x9a
	class=03-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[10]: type 1, range 32, base e6000000, size 24
	map[14]: type 1, range 32, base 0000d800, size  8
	map[18]: type 1, range 32, base effff000, size 12
found->	vendor=0x1113, dev=0x1211, revid=0x10
	class=02-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=9
	map[10]: type 1, range 32, base 0000d600, size  8
	map[14]: type 1, range 32, base efffdf00, size  8
found->	vendor=0x10ec, dev=0x8029, revid=0x00
	class=02-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=10
	map[10]: type 1, range 32, base 0000d400, size  5
found->	vendor=0x13f6, dev=0x0100, revid=0x10
	class=04-01-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=10
	map[10]: type 1, range 32, base 0000d200, size  8
pci0: <PCI bus> on pcib0
atapci0: <SiS 5591 ATA33 controller> port 0xffa0-0xffaf,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 irq 0 at device 0.1 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xffa0
ata0: mask=03 status0=50 status1=00
ata0: mask=03 ostat0=50 ostat2=00
ata0-master: ATAPI probe a=00 b=00
ata0-slave: ATAPI probe a=00 b=00
ata0: mask=03 status0=50 status1=00
ata0-master: ATA probe a=01 b=a5
ata0: devices=01
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xffa8
ata1: mask=03 status0=50 status1=50
ata1: mask=03 ostat0=50 ostat2=50
ata1-master: ATAPI probe a=00 b=00
ata1-slave: ATAPI probe a=14 b=eb
ata1: mask=03 status0=50 status1=10
ata1-master: ATA probe a=01 b=a5
ata1: devices=09
ata1: at 0x170 irq 15 on atapci0
isab0: <SiS 85c503 PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <unknown card> (vendor=0x1039, dev=0x0009) at 1.1
ohci0: <SiS 5571 USB controller> mem 0xefffe000-0xefffefff irq 10 at device 1.2 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <SiS 5571 USB controller> on ohci0
usb0: USB revision 1.0
uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pcib2: <PCI to PCI bridge (vendor=1039 device=0001)> at device 2.0 on pci0
found->	vendor=0x1039, dev=0x6306, revid=0x2a
	class=03-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=10
pci1: <PCI bus> on pcib2
pci1: <SiS 530/620 SVGA controller> (vendor=0x1039, dev=0x6306) at 0.0 irq 10
pci0: <ATI Mach64-GU graphics accelerator> (vendor=0x1002, dev=0x4755) at 9.0
rl0: <Accton MPX 5030/5038 10/100BaseTX> port 0xd600-0xd6ff mem 0xefffdf00-0xefffdfff irq 9 at device 11.0 on pci0
rl0: Ethernet address: 00:00:e8:6c:91:84
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bpf: rl0 attached
pci0: <unknown card> (vendor=0x10ec, dev=0x8029) at 13.0 irq 10
pci0: <unknown card> (vendor=0x13f6, dev=0x0100) at 15.0 irq 10
pci-: pci1 exists, using next available unit number
pcib1: <SiS 5591 host to AGP bridge> on motherboard
pci2: <PCI bus> on pcib1
ata-: ata0 exists, using next available unit number
ata-: ata1 exists, using next available unit number
Trying Read_Port at 203
ESS0000: adding io range 0x800-0xfff, size=0x8, align=0x8
ESS1868: start dependant
ESS1868: adding dma mask 0x2
ESS1868: adding dma mask 0x9
ESS1868: adding irq mask 0x20
ESS1868: adding fixed io range 0x220-0x22f, size=0x10, align=0x1
ESS1868: adding fixed io range 0x388-0x38b, size=0x4, align=0x1
ESS1868: adding fixed io range 0x330-0x331, size=0x2, align=0x1
ESS1868: start dependant
ESS1868: adding dma mask 0x2
ESS1868: adding dma mask 0x9
ESS1868: adding irq mask 0x6a0
ESS1868: adding io range 0x220-0x24f, size=0x10, align=0x20
ESS1868: adding fixed io range 0x388-0x38b, size=0x4, align=0x1
ESS1868: adding io range 0x300-0x331, size=0x2, align=0x30
ESS1868: start dependant
ESS1868: adding dma mask 0xb
ESS1868: adding dma mask 0xb
ESS1868: adding irq mask 0x1ea0
ESS1868: adding io range 0x220-0x28f, size=0x10, align=0x20
ESS1868: adding fixed io range 0x388-0x38b, size=0x4, align=0x1
ESS1868: adding io range 0x300-0x331, size=0x2, align=0x30
ESS1868: start dependant
ESS1868: adding dma mask 0xb
ESS1868: adding dma mask 0xb
ESS1868: adding irq mask 0x1ea0
ESS1868: adding io range 0x220-0x28f, size=0x10, align=0x20
ESS1868: adding fixed io range 0x388-0x38b, size=0x4, align=0x1
ESS1868: adding io range 0x800-0xfff, size=0x2, align=0x2
ESS1868: start dependant
ESS1868: adding dma mask 0xb
ESS1868: adding dma mask 0xb
ESS1868: adding irq mask 0x1ea0
ESS1868: adding io range 0x220-0x28f, size=0x10, align=0x20
ESS1868: adding io range 0x800-0xfff, size=0x4, align=0x4
ESS1868: adding io range 0x800-0xfff, size=0x2, align=0x2
ESS1868: end dependant
ESS0001: start dependant
ESS0001: adding fixed io range 0x201-0x201, size=0x1, align=0x1
ESS0001: start dependant
ESS0001: adding io range 0x200-0x20f, size=0x1, align=0x1
ESS0001: end dependant
ESS0002: start dependant
ESS0002: adding irq mask 0x1000
ESS0002: adding fixed io range 0x168-0x16f, size=0x8, align=0x1
ESS0002: adding fixed io range 0x36e-0x36f, size=0x2, align=0x1
ESS0002: start dependant
ESS0002: adding irq mask 0xc00
ESS0002: adding fixed io range 0x168-0x16f, size=0x8, align=0x1
ESS0002: adding fixed io range 0x36e-0x36f, size=0x2, align=0x1
ESS0002: start dependant
ESS0002: adding irq mask 0x1c00
ESS0002: adding fixed io range 0x1e8-0x1ef, size=0x8, align=0x1
ESS0002: adding fixed io range 0x3ee-0x3ef, size=0x2, align=0x1
ESS0002: start dependant
ESS0002: adding irq mask 0x1c00
ESS0002: adding io range 0x100-0x1ff, size=0x8, align=0x8
ESS0002: adding io range 0x300-0x3ff, size=0x2, align=0x2
ESS0002: end dependant
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
ata2 failed to probe at port 0x1f0 irq 14 on isa0
ata3 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 0065
atkbd: keyboard ID 0x41ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
psm0: current command byte:0065
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons
psm0: config:00000000, flags:00000000, packet size:3
psm0: syncmask:c0, syncbits:00
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 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> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
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: using extended I/O port range
ppc0: ECP SPP SPP
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
plip0: <PLIP network interface> on ppbus0
bpf: lp0 attached
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
isa_probe_children: probing PnP devices
unknown: <ESS ES1868 Plug and Play AudioDrive> failed to probe at port 0x800-0x807 on isa0
unknown: <ESS ES1868 Plug and Play AudioDrive> failed to probe at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 drq 1,0 on isa0
unknown: <ESS ES1868 Plug and Play AudioDrive> failed to probe at port 0x201 on isa0
ata4: iobase=0x0168 altiobase=0x036e bmaddr=0x0000
ata4: mask=00 status0=ff status1=ff
ata4: probe allocation failed
unknown: <Generic ESDI/IDE/ATA controller> failed to probe at port 0x168-0x16f,0x36e-0x36f irq 11 on isa0
BIOS Geometries:
 0:026b3f3f 0..619=620 cylinders, 0..63=64 heads, 1..63=63 sectors
 1:03117f3f 0..785=786 cylinders, 0..127=128 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
bpf: lo0 attached
bpf: ppp0 attached
new masks: bio 68c440, tty 63109a, net 67129a
bpf: faith0 attached
ata0-master: success setting WDMA2 on SiS chip
Creating DISK ad0
ad0: <QUANTUM FIREBALL1280A/A63.0H00> ATA-0 disk at ata0-master
ad0: 1222MB (2503872 sectors), 2484 cyls, 16 heads, 63 S/T, 512 B/S
ad0: 1 secs/int, 1 depth queue, WDMA2
ad0: piomode=4 dmamode=2 udmamode=-1 cblid=0
ad0: 1222MB <QUANTUM FIREBALL1280A> [2484/16/63] at ata0-master WDMA2
ata1-master: success setting UDMA2 on SiS chip
Creating DISK ad2
ad2: <ST33210A/3.04> ATA-4 disk at ata1-master
ad2: 3098MB (6346368 sectors), 6296 cyls, 16 heads, 63 S/T, 512 B/S
ad2: 16 secs/int, 1 depth queue, UDMA33
ad2: piomode=4 dmamode=2 udmamode=2 cblid=0
ad2: 3098MB <ST33210A> [6296/16/63] at ata1-master UDMA33
ata1-slave: piomode=4 dmamode=2 udmamode=2 dmaflag=1
ata1-slave: success setting PIO4 on generic chip
acd0: <BCD-36XH CD-ROM/VER 1.6> CDROM drive at ata1 as slave
acd0: 256KB buffer, PIO4
acd0: Reads: CD-R, CD-RW, CD-DA stream, packet
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: CD-ROM 120mm data disc loaded, unlocked
Mounting root from ufs:/dev/ad0s1a
ad0s1: type 0xa5, start 63, end = 2503871, size 2503809 : OK
start_init: trying /sbin/init
ad2s1: type 0xa5, start 63, end = 6346367, size 6346305 : OK
ad2: WRITE command timeout tag=0 serv=0 - resetting
ata1: resetting devices .. ata1: mask=03 ostat0=58 ostat2=50
ata1-master: ATAPI probe a=00 b=00
ata1-slave: ATAPI probe a=14 b=eb
ata1: mask=03 status0=50 status1=10
ata1-master: ATA probe a=01 b=a5
ata1: devices=09
ata1-master: success setting UDMA2 on SiS chip
ata1-slave: success setting PIO4 on generic chip
done
ad2: WRITE command timeout tag=0 serv=0 - resetting
ata1: resetting devices .. ata1: mask=03 ostat0=58 ostat2=50
ata1-master: ATAPI probe a=00 b=00
ata1-slave: ATAPI probe a=14 b=eb
ata1: mask=03 status0=50 status1=10
ata1-master: ATA probe a=01 b=a5
ata1: devices=09
ata1-master: success setting UDMA2 on SiS chip
ata1-slave: success setting PIO4 on generic chip
done
ad2: WRITE command timeout tag=0 serv=0 - resetting
ata1: resetting devices .. ata1: mask=03 ostat0=58 ostat2=50
ata1-master: ATAPI probe a=00 b=00
ata1-slave: ATAPI probe a=14 b=eb
ata1: mask=03 status0=50 status1=10
ata1-master: ATA probe a=01 b=a5
ata1: devices=09
ata1-master: success setting UDMA2 on SiS chip
ata1-slave: success setting PIO4 on generic chip
done
ad2: WRITE command timeout tag=0 serv=0 - resetting
ata1-master: success setting PIO4 on generic chip
ad2: trying fallback to PIO mode
ata1: resetting devices .. ata1: mask=03 ostat0=50 ostat2=50
ata1-master: ATAPI probe a=00 b=00
ata1-slave: ATAPI probe a=14 b=eb
ata1: mask=03 status0=50 status1=10
ata1-master: ATA probe a=01 b=a5
ata1: devices=09
ata1-master: success setting PIO4 on generic chip
ata1-slave: success setting PIO4 on generic chip
done

chip0@pci0:0:0:	class=0x060000 card=0x00000000 chip=0x06201039 rev=0x02 hdr=0x00
atapci0@pci0:0:1:	class=0x010180 card=0x55131039 chip=0x55131039 rev=0xd0 hdr=0x00
isab0@pci0:1:0:	class=0x060100 card=0x00000000 chip=0x00081039 rev=0xb1 hdr=0x00
none0@pci0:1:1:	class=0xff0000 card=0x00000000 chip=0x00091039 rev=0x00 hdr=0x00
ohci0@pci0:1:2:	class=0x0c0310 card=0x00000000 chip=0x70011039 rev=0x11 hdr=0x00
pcib2@pci0:2:0:	class=0x060400 card=0x00000000 chip=0x00011039 rev=0x00 hdr=0x01
none1@pci0:9:0:	class=0x030000 card=0x47551002 chip=0x47551002 rev=0x9a hdr=0x00
rl0@pci0:11:0:	class=0x020000 card=0x12111113 chip=0x12111113 rev=0x10 hdr=0x00
none2@pci0:13:0:	class=0x020000 card=0x802910ec chip=0x802910ec rev=0x00 hdr=0x00
none3@pci0:15:0:	class=0x040100 card=0xffff13f6 chip=0x010013f6 rev=0x10 hdr=0x00
none4@pci1:0:0:	class=0x030000 card=0x00000000 chip=0x63061039 rev=0x2a hdr=0x00


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.33.0112011754350.12820-100000>