Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Aug 2001 11:43:08 +0100
From:      "ict technician" <ict@cardinalnewman.coventry.sch.uk>
To:        <freebsd-stable@freebsd.org>
Subject:   UDMA related install failure
Message-ID:  <006701c11b3f$ebb0b2c0$fe00a8c0@cardinalnewman>

next in thread | raw e-mail | index | archive | help
Hello all,
I have a combination of hardware which will not install 4.3-RELEASE.
This is cheap and nasty hardware so this is more of an FYI than
anything else. I am using FreeBSD to roll out ghost images of Win95
so a fix is not critical. I thought it was worth posting because the install
trashes the MBR, rendering the disk unbootable. Watch out upgraders.

Hardware:
pc-chips M748LMRT (xcel-2000) M/B
Seagate ST36422A HDD

Symptoms:
Install fails to write MBR/disk labels and corrupts MBR

Solution
Use the Seagate UATA100 program to set the HDD to DMA 1
Disabling UDMA in the BIOS does not work.

The HDD is fine in another M/B. The M/B is fine with another drive.
These machines have run Windows for 2 years+. UDMA off in BIOS

Setting hw.atamodes once the install is complete also works. BTW is
there an official place to put the call to sysctl ?

Interestingly part of the batch is okay, so bad firmware looks like a
likely cause. Latest BIOS is installed. Seagate don't seem to have
any firmware updates!

The machines don't need to be on benches for a few weeks yet if
anyone wants to take a stab at this.

Nearly forgot. Ditto 4.2-RELEASE and 4.1.1-RELEASE. 3.5.1
doesn't support the network card.

Here's the verbose dmesg

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.3-RELEASE #0: Sat Apr 21 23:04:52 GMT 2001
    ianjhart@alpha.my.domain:/usr/src/sys/compile/GENERIC
Calibrating clock(s) ... TSC clock: 367509674 Hz, i8254 clock: 1193213 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
CPU: Pentium II/Pentium II Xeon/Celeron (367.50-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  = 31457280 (30720K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x00473000 - 0x01df7fff, 26759168 bytes (6533 pages)
avail memory = 26361856 (25744K 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 0xc00f7060
pnpbios: Entry = f0000:65b4  Rev = 1.0
Other BIOS signatures found:
ACPI: 00000000
Preloaded elf kernel "kernel" at 0xc044d000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Creating DISK md0
Math emulator present
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)
pcib-: pcib0 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=80] is there (id=06201039)
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-8a, 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=3
map[10]: type 1, range 32, base efffb000, size 12
found-> vendor=0x1039, dev=0x0001, revid=0x00
class=06-04-00, hdrtype=0x01, mfdev=0
subordinatebus=1 secondarybus=1
found-> vendor=0x13f6, dev=0x0111, revid=0x10
class=04-01-00, hdrtype=0x00, mfdev=1
subordinatebus=0 secondarybus=0
intpin=a, irq=10
map[10]: type 1, range 32, base 0000de00, size  8
found-> vendor=0x1282, dev=0x9102, revid=0x20
class=02-00-00, hdrtype=0x00, mfdev=0
subordinatebus=0 secondarybus=0
intpin=a, irq=11
map[10]: type 1, range 32, base 0000dc00, size  7
map[14]: type 1, range 32, base efffaf80, size  7
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=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
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 0xefffb000-0xefffbfff irq 3 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
map[10]: type 1, range 32, base e7000000, size 23
map[14]: type 1, range 32, base e7ef0000, size 16
map[18]: type 1, range 32, base 0000cc00, size  7
pci1: <PCI bus> on pcib2
pci1: <SiS 530/620 SVGA controller> (vendor=0x1039, dev=0x6306) at 0.0
pci0: <unknown card> (vendor=0x13f6, dev=0x0111) at 15.0 irq 10
dc0: <Davicom DM9102 10/100BaseTX> port 0xdc00-0xdc7f mem
0xefffaf80-0xefffafff irq 11 at device 16.0 on pci0
dc0: Ethernet address: 00:d0:09:01:b0:a3
miibus0: <MII bus> on dc0
amphy0: <Am79C873 10/100 media interface> on miibus0
amphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bpf: dc0 attached
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)
pci-: pci1 exists, using next available unit number
pcib1: <SiS 5591 host to AGP bridge> on motherboard
pci2: <PCI bus> on pcib1
ex_isa_identify()
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
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
adv0 failed to probe at port 0x330 on isa0
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x330
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x334
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x230
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x234
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x130
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x134
bt0 failed to probe at port 0x134-0x137 on isa0
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0 failed to probe at port 0x134-0x137 on isa0
aic0 failed to probe at port 0x140-0x15f 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: strange result for test aux port (1).
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 53 9f
bf 1f 00 4f 0d 0e 00 00 07 80 9b 8d 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 53 9f
bf 1f 00 4f 0d 0e 00 00 00 00 9b 8d 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 53 9f
bf 1f 00 4f 0d 0e 00 00 00 00 9b 8d 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)
pcic0 failed to probe at port 0x3e0 iomem 0xd0000 on isa0
pcic1: not probed (disabled)
sio0: irq maps: 0x41 0x51 0x41 0x41
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
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
sio2: not probed (disabled)
sio3: not probed (disabled)
ppc0: parallel port found at 0x378
ppc0: using extended I/O port range
ppc0: SPP
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
bpf: lp0 attached
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ed0 failed to probe at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0
fe0 failed to probe at port 0x300-0x31f on isa0
ie0 failed to probe at port 0x300 iomem 0xd0000 irq 10 on isa0
lnc0 failed to probe at port 0x280 irq 10 drq 0 on isa0
cs0 failed to probe at port 0x300-0x31f on isa0
sn0 failed to probe at port 0x300-0x30f irq 10 on isa0
isa_probe_children: probing PnP devices
BIOS Geometries:
 0:0308fe3f 0..776=777 cylinders, 0..254=255 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
bpf: faith0 attached
bpf: gif0 attached
bpf: gif1 attached
bpf: gif2 attached
bpf: gif3 attached
bpf: lo0 attached
bpf: ppp0 attached
new masks: bio 68c048, tty 630092, net 670892
bpf: sl0 attached
ata0-master: success setting UDMA2 on SiS chip
Creating DISK ad0
Creating DISK wd0
ad0: <ST36422A/3.05> ATA-4 disk at ata0-master
ad0: 6103MB (12500460 sectors), 13228 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
ad0: 6103MB <ST36422A> [13228/15/63] at ata0-master UDMA33
Mounting root from ufs:/dev/ad0s2a
ad0s1: type 0xb, start 63, end = 4192964, size 4192902 : OK
ad0s2: type 0xa5, start 4192965, end = 12498569, size 8305605 : OK
start_init: trying /sbin/init
ata0-master: success setting PIO4 on generic chip

--
i j hart

ICT Technician
Cardinal Newman Catholic School & Community College

ict@cardinalnewman.coventry.sch.uk


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?006701c11b3f$ebb0b2c0$fe00a8c0>