Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Oct 2000 00:18:07 -0700 (PDT)
From:      "Joseph W. Stein" <joes@shasta.joescanner.com>
To:        jkh@freebsd.org, sos@freebsd.org, stable@freebsd.org
Subject:   ATA problems (rehashed)
Message-ID:  <200010250718.e9P7I7405091@shasta.joescanner.com>

next in thread | raw e-mail | index | archive | help
I now have my system back up and somewhat operational.

Ever since I upgraded my machine from an AMD 4x86-120 to this
AMD Athlon-600, I have had problems booting.  This gets to be a bit
tedious.

I apologize for my last message to all of you about this problem,
with none of this info included, but at that point, I couldn't even
get the machine to boot.

Please let me know if there is any other information I should give you.

I would really like this problem to either be resolved, or a hack to
make the ATA driver drop directly into PIO4 mode.

(I have gone into the system BIOS and selected 'Load Fail-Safe' settings;
I still get about a 80% boot-failure rate.)

If you would like to see the kernel configuration file, please see
https://www.joescanner.com/SHASTA.txt

The specs on the "new" machine are:

AI64 Athlon(r) motherboard
Antec Athlon-Certified case w/300w Power supply
The AI64 has an AMD ATA controller onboard
2xD-Link PCI 10/100 Network Cards
1xKaser Trio-4 LC2X 4Mb Video Card (AGP)
2xonboard serial ports
1xonboard parallel ports
2xonboard USB ports
PS/2 Keyboard port
PS/2 Mouse port


Here is my `uname -a`:

FreeBSD shasta.joescanner.com 4.1.1-STABLE FreeBSD 4.1.1-STABLE #0: Tue Oct 24 23:30:27 PDT 2000     root@shasta.joescanner.com:/usr/obj/usr/src/sys/SHASTA  i386

and, the output of a `boot -v`:

Copyright (c) 1992-2000 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.1.1-STABLE #0: Tue Oct 24 23:30:27 PDT 2000
    root@shasta.joescanner.com:/usr/obj/usr/src/sys/SHASTA
Calibrating clock(s) ... TSC clock: 598792731 Hz, i8254 clock: 1193094 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: AMD-K7(tm) Processor (598.84-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x612  Stepping = 2
  Features=0x81f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,MMX>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
Data TLB: 24 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: 512 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
real memory  = 134152192 (131008K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x002a5000 - 0x07fe7fff, 131346432 bytes (32067 pages)
avail memory = 127901696 (124904K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00fb180
bios32: Entry = 0xfb5f0 (c00fb5f0)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xb620
pnpbios: Found PnP BIOS data at 0xc00fbfb0
pnpbios: Entry = f0000:bfe0  Rev = 1.0
Other BIOS signatures found:
ACPI: 000f5fc0
Preloaded elf kernel "kernel" at 0xc028c000.
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=80] is there (id=70061022)
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=70061022)
pcib0: <AMD-751 host to PCI bridge> on motherboard
found->	vendor=0x1022, dev=0x7006, revid=0x25
	class=06-00-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
	map[10]: type 1, range 32, base d0000000, size 27
	map[14]: type 1, range 32, base e0000000, size 12
	map[18]: type 1, range 32, base 0000e000, size  2
found->	vendor=0x1022, dev=0x7007, revid=0x01
	class=06-04-00, hdrtype=0x01, mfdev=1
	subordinatebus=1 	secondarybus=1
found->	vendor=0x1022, dev=0x7408, revid=0x01
	class=06-01-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
found->	vendor=0x1022, dev=0x7409, revid=0x03
	class=01-01-8a, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[20]: type 1, range 32, base 0000f000, size  4
found->	vendor=0x1022, dev=0x740b, revid=0x03
	class=06-80-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
found->	vendor=0x1022, dev=0x740c, revid=0x06
	class=0c-03-10, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=d, irq=9
	map[10]: type 1, range 32, base e0001000, size 12
found->	vendor=0x10ec, dev=0x8139, revid=0x10
	class=02-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=10
	map[10]: type 1, range 32, base 0000e400, size  8
	map[14]: type 1, range 32, base e0002000, size  8
found->	vendor=0x10ec, dev=0x8139, revid=0x10
	class=02-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=11
	map[10]: type 1, range 32, base 0000e800, size  8
	map[14]: type 1, range 32, base e0003000, size  8
pci0: <PCI bus> on pcib0
pcib1: <AMD-751 PCI-PCI (AGP) bridge> at device 1.0 on pci0
found->	vendor=0x5333, dev=0x8a13, revid=0x02
	class=03-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=5
	map[10]: type 1, range 32, base d8000000, size 26
pci1: <PCI bus> on pcib1
pci1: <S3 Trio3D/2X graphics accelerator> (vendor=0x5333, dev=0x8a13) at 5.0 irq 5
isab0: <PCI to ISA bridge (vendor=1022 device=7408)> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <AMD 756 ATA66 controller> port 0xf000-0xf00f at device 7.1 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xf000
ata0: mask=03 status0=50 status1=50
ata0: mask=03 status0=52 status1=50
ata0: devices = 0x3
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xf008
ata1: mask=03 status0=20 status1=30
ata1: mask=03 status0=20 status1=30
ata1: devices = 0x0
ata1: at 0x170 irq 15 on atapci0
chip1: <PCI to Other bridge (vendor=1022 device=740b)> at device 7.3 on pci0
ohci0: <AMD-756 USB Controller> mem 0xe0001000-0xe0001fff irq 9 at device 7.4 on pci0
usb0: OHCI version 1.0, legacy support
usb0: <AMD-756 USB Controller> on ohci0
usb0: USB revision 1.0
uhub0: AMD OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 4 ports with 4 removable, self powered
rl0: <RealTek 8139 10/100BaseTX> port 0xe400-0xe4ff mem 0xe0002000-0xe00020ff irq 10 at device 10.0 on pci0
rl0: Ethernet address: 00:50:ba:85:e0:58
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bpf: rl0 attached
rl1: <RealTek 8139 10/100BaseTX> port 0xe800-0xe8ff mem 0xe0003000-0xe00030ff irq 11 at device 12.0 on pci0
rl1: Ethernet address: 00:50:ba:8b:22:65
miibus1: <MII bus> on rl1
rlphy1: <RealTek internal media interface> on miibus1
rlphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bpf: rl1 attached
ata-: ata0 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
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 0047
atkbd: keyboard ID 0x41ab (2)
kbdc: RESET_KBD return code:00fa
kbdc: RESET_KBD status:00aa
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
psm0: current command byte:0047
kbdc: TEST_AUX_PORT status:0000
kbdc: RESET_AUX return code:00fa
kbdc: RESET_AUX status:00aa
kbdc: RESET_AUX ID:0000
psm: status 00 03 50
psm: status 00 00 50
psm: status 00 03 50
psm: status 00 03 50
psm: data 00 00 00
psm: data 00 00 00
psm: status 00 03 50
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3-00, 3 buttons
psm0: config:00000000, flags:00000000, packet size:4
psm0: syncmask:08, 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 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:03a67f3f 0..934=935 cylinders, 0..127=128 heads, 1..63=63 sectors
 1:020bfe3f 0..523=524 cylinders, 0..254=255 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
IP packet filtering initialized, divert enabled, rule-based forwarding disabled, default to deny, logging disabled
bpf: lo0 attached
ata0-master: success setting WDMA2 on AMD chip
ad0: <QUANTUM FIREBALL_TM3840A/A6B.2400> ATA-0 disk at ata0 as master
ad0: 3681MB (7539840 sectors), 7480 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
Creating DISK ad0
Creating DISK wd0
ata0-slave: DMA limited to UDMA33, non-ATA66 compliant cable
ata0-slave: success setting UDMA2 on AMD chip
ad1: <QUANTUM FIREBALL CR4.3A/A5U.1200> ATA-4 disk at ata0 as slave
ad1: 4110MB (8418816 sectors), 14848 cyls, 9 heads, 63 S/T, 512 B/S
ad1: 16 secs/int, 1 depth queue, UDMA33
ad1: piomode=4 dmamode=2 udmamode=4 cblid=0
Creating DISK ad1
Creating DISK wd1
Mounting root from ufs:/dev/ad0s1a
ad0: READ command timeout - resetting
ata0: resetting devices .. ata0: mask=03 status0=50 status1=50
ata0-master: success setting WDMA2 on AMD chip
ata0-slave: DMA limited to UDMA33, non-ATA66 compliant cable
ata0-slave: success setting UDMA2 on AMD chip
done
ad0: READ command timeout - resetting
ata0: resetting devices .. ata0: mask=03 status0=50 status1=50
ata0-master: success setting WDMA2 on AMD chip
ata0-slave: DMA limited to UDMA33, non-ATA66 compliant cable
ata0-slave: success setting UDMA2 on AMD chip
done
ad0: READ command timeout - resetting
ata0: resetting devices .. ata0: mask=03 status0=50 status1=50
ata0-master: success setting WDMA2 on AMD chip
ata0-slave: DMA limited to UDMA33, non-ATA66 compliant cable
ata0-slave: success setting UDMA2 on AMD chip
done
ad0: READ command timeout - resetting
ata0-master: WARNING: WAIT_READY active=ATA_ACTIVE_ATA
ata0-master: success setting PIO4 on generic chip
ad0: trying fallback to PIO mode
ata0: resetting devices .. ata0: mask=03 status0=50 status1=50
ata0-master: success setting PIO4 on generic chip
ata0-slave: DMA limited to UDMA33, non-ATA66 compliant cable
ata0-slave: success setting UDMA2 on AMD chip
done
ad0s1: type 0xa5, start 63, end = 7539839, size 7539777 : OK
start_init: trying /sbin/init
splash: image decoder found: green_saver
Linux-ELF exec handler installed

-- 
Joseph Stein; Beaverton, Oregon USA                email: joes@wstein.com
Finger joes@shasta.wstein.com for contact information and PGP Public Key!
Oregon FirePage           http://www.ofp.org                      [OFP18]


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?200010250718.e9P7I7405091>