Date: Fri, 21 Jul 2000 20:13:45 -0700 From: "Joseph Stein" <joes@teleport.com> To: <freebsd-questions@freebsd.org> Subject: HELP! Old "super user" having problems with new modern computer :) [LONG] Message-ID: <005f01bff38a$da37f540$0100a8c0@wstein.com>
next in thread | raw e-mail | index | archive | help
Hello all, (Old and New :) I have been away from the FreeBSD game for a little over a year and a half. I am back now, and have recently tried to up the ante with myself. I used to have an AMD 4x86-120 with 72mb of Ram. I finally gave up on waiting a day and a half to "buildworld", and upgraded the whole machine to an AMD K7-Athlon-600MHz with 128MB. Boy. Two hours, and the world is built AND installed :) But, I have a problem. When the bootloader starts up, it starts booting properly, BUT, when it gets to the point where it is "Mounting root from ufs:/dev/ad0s1a," it seems to have a problem using WDMA2. I believe this stems from the fact that this disk was originally installed in the old 486 (that did not support DMA at all, that I know of). The new disk was newfs'd in the same computer though, and I don't know how to explain that it works :) (The old disk is ad0, the new disk is ad1). I have found all of the settings to set 'pio mode' once the system is going to multi-user; but I can't find anything to force PIO mode on boot -- when sometimes, it succeeds and produces like data to the data below, but more often than not, locks up trying to reset the ata devices. Any ideas, help, suggestions? For the record, this is FreeBSD shasta.wstein.com 4.1-RC FreeBSD 4.1-RC #0: Fri Jul 21 18:56:26 PDT 2000 root@shasta.wstein.com:/b/obj/usr/src/sys/SHASTA i386 and it was a fresh-cvsup as of about Thu Jul 20 20:00:00 PDT 2000. (the 3.whatever-STABLE that was on the original disk booted just fine, BTW, so it is something new in 4.0-STABLE/4.1-RC.) Thanks in advance for any help, joe Here follows some verbose boot information: 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-RC #0: Fri Jul 21 18:56:26 PDT 2000 root@shasta.wstein.com:/b/obj/usr/src/sys/SHASTA Calibrating clock(s) ... TSC clock: 598797642 Hz, i8254 clock: 1193104 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,P AT,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 - 0x0009ffff, 651264 bytes (159 pages) 0x00353000 - 0x07fe7fff, 130633728 bytes (31893 pages) avail memory = 127205376 (124224K 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 0xc033a000. Preloaded elf module "splash_bmp.ko" at 0xc033a0a8. Pentium Pro MTRR support enabled md0: Malloc disk Creating DISK md0 module_register_init: MOD_LOAD (splash_bmp, c03357d4, 0) error 2 Math emulator present 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 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=5 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=12 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 12 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: probe allocation failed chip1: <PCI to Other bridge (vendor=1022 device=740b)> at device 7.3 on pci0 ohci0: <AMD-756 USB Controller> mem 0xe0001000-0xe0001fff irq 5 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 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 ata3: iobase=0x0170 altiobase=0x0376 bmaddr=0x0000 ata3: mask=03 status0=20 status1=30 ata3: mask=03 status0=20 status1=30 ata3: devices = 0x0 ata3: probe allocation failed 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) 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:0067 kbdc: TEST_AUX_PORT status:0000 kbdc: RESET_AUX return code:ffffffff kbdc: RESET_AUX return code:ffffffff kbdc: RESET_AUX return code:ffffffff kbdc: DIAGNOSE status:0055 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> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sc0: fb0, kbd0, terminal emulator: sc (syscons terminal) sio0: irq maps: 0x1 0x11 0x11 0x11 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: irq maps: 0x1 0x9 0x9 0x9 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: 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 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. bpf: faith0 attached bpf: gif0 attached bpf: gif1 attached bpf: gif2 attached bpf: gif3 attached bpf: lo0 attached bpf: ppp0 attached new masks: bio 684060, tty 63009a, net 670c9a bpf: sl0 attached IP packet filtering initialized, divert enabled, rule-based forwarding disabled, default to accept, logging disabled IP Filter: v3.4.8 initialized. Default = pass all, Logging = disabled ata0-master: success setting up WDMA2 mode 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: 16 secs/int, 1 depth queue, WDMA2 ad0: piomode=4 dmamode=2 udmamode=-1 cblid=0 Creating DISK ad0 Creating DISK wd0 ata0-slave: success setting up UDMA4 mode 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, UDMA66 ad1: piomode=4 dmamode=2 udmamode=4 cblid=1 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 up WDMA2 mode on AMD chip ata0-slave: success setting up UDMA4 mode on AMD chip done ad0: READ command timeout - resetting ata0: resetting devices .. ata0: mask=03 status0=50 status1=50 ata0-master: success setting up WDMA2 mode on AMD chip ata0-slave: success setting up UDMA4 mode on AMD chip done ad0: READ command timeout - resetting ata0: resetting devices .. ata0: mask=03 status0=52 status1=50 ata0-master: success setting up WDMA2 mode on AMD chip ata0-slave: success setting up UDMA4 mode on AMD chip done ad0: READ command timeout - resetting ata0-master: WARNING: WAIT_READY active=ATA_ACTIVE_ATA ata0-master: success setting up PIO4 mode on generic chip ad0: trying fallback to PIO mode ata0: resetting devices .. ata0: mask=03 status0=50 status1=50 ata0-master: success setting up PIO4 mode on generic chip ata0-slave: success setting up UDMA4 mode on AMD chip done ad0s1: type 0xa5, start 0, end = 7539839, size 7539840 ad0s1: C/H/S end 469/84/63 (2516849) != end 7539839: invalid start_init: trying /sbin/init Linux-ELF exec handler installed To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005f01bff38a$da37f540$0100a8c0>