From owner-freebsd-hardware Thu Dec 19 16: 8:28 2002 Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1C3B37B406 for ; Thu, 19 Dec 2002 16:08:22 -0800 (PST) Received: from nollie.summersault.com (nollie.summersault.com [208.10.44.140]) by mx1.FreeBSD.org (Postfix) with SMTP id 2154A43EEC for ; Thu, 19 Dec 2002 16:08:20 -0800 (PST) (envelope-from mark-dated-1041206899.3d12c7@summersault.com) Received: (qmail 9208 invoked from network); 20 Dec 2002 00:08:19 -0000 Received: from localhost (HELO nollie.summersault.com) (127.0.0.1) by localhost with SMTP; 20 Dec 2002 00:08:19 -0000 Date: Thu, 19 Dec 2002 19:08:15 -0500 (EST) To: freebsd-hardware@freebsd.org Subject: trouble with VIA EPIA 5000 system- WRITE command failed Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII From: Mark Stosberg X-Delivery-Agent: TMDA/0.65 (Johnstown) Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, I recently upgraded my home FreeBSD machine to a system based around the VIA EPIA 5000 motherboard. (Which is a great system that's small, fanless, and cheap. I paid about $222 for fully integrated MB, CD-ROM and case from http://www.computergate.com/ ). FreeBSD 4.7 has worked well on this hardware with a few exceptions. Currently I'm experiencing a critical problem that leaves my computer unusable after just an hour or so of uptime. There appears to a problem with hard disk writes, followed by immediate failure of my USB keyboard to work. Here's what the logs report: ### Dec 18 18:53:14 asana /kernel: ad1: WRITE command timeout tag=0 serv=0 - resetting Dec 18 18:53:49 asana /kernel: ata0: resetting devices .. done Dec 18 18:53:49 asana /kernel: ad1: WRITE command timeout tag=0 serv=0 - resetting Dec 18 18:53:49 asana /kernel: ata0: resetting devices .. done Dec 18 18:53:49 asana /kernel: ad1: WRITE command timeout tag=0 serv=0 - resetting Dec 18 18:53:49 asana /kernel: ata0: resetting devices .. done Dec 18 18:53:49 asana /kernel: ad1: WRITE command timeout tag=0 serv=0 - resetting Dec 18 18:53:49 asana /kernel: ad1: timeout waiting for cmd=ef s=d0 e=00 Dec 18 18:53:49 asana /kernel: ad1: trying fallback to PIO mode Dec 18 18:53:49 asana /kernel: ata0: resetting devices .. done Dec 18 18:56:21 asana /kernel: uhub1: at uhub0 port 2 (addr 2) disconnected Dec 18 18:56:21 asana /kernel: ukbd0: detached Dec 18 18:56:31 asana /kernel: uhub1: detached Dec 18 18:58:45 asana /kernel: uhub0: port error, restarting port 2 Dec 18 18:59:06 asana /kernel: uhub0: device problem, disabling port 1 ### What's happening with the USB related entries there is that I have un-plugged and re-plugged the keyboard, but it won't recognize it at this point. My "dmesg" output is attached for full system details. Here are some additional notes: - The drive is brand new, attached with new 80 wire IDE cables. - I've been trying to get APM to work, specifically get the hard drive to spin down. I never got that to work, and eventually tried disabling APM in kernel.conf and rc.conf. Either way, these desk errors still happen. - My USB keyboard (the "Happy Hacking" keyboard), has exhibited other weird behavior before. At least once, some weird characters were ghost-typed into the terminal window I was working in, and then the computer rebooted with a kernel panic. Another time, the keyboard registered the same key press over and over, even though the key wasn't being pressed. I use the exact same model on a Mac at work without problems. - My computer dual-boots into Linux. I could try testing with it for comparison, though I'd prefer to get this fixed and keep using FreeBSD. Thanks for any suggestions! -mark http://mark.stosberg.com/ Copyright (c) 1991-2002 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.7-RELEASE #0: Wed Dec 18 19:40:55 EST 2002 root@asana.summersault.com:/usr/src/sys/compile/ASANA_EDEN-2002-12-18 Timecounter "i8254" frequency 1193182 Hz CPU: VIA C3 Samuel 2 (533.36-MHz 686-class CPU) Origin = "CentaurHauls" Id = 0x673 Stepping = 3 Features=0x803035 real memory = 260046848 (253952K bytes) config> enable apm avail memory = 249487360 (243640K bytes) Preloaded elf kernel "kernel" at 0xc037e000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc037e09c. Preloaded elf module "snd_via82c686.ko" at 0xc037e0ec. Preloaded elf module "snd_pcm.ko" at 0xc037e194. md0: Malloc disk Using $PIR table, 5 entries at 0xc00fdc70 apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 10 isab0: at device 17.0 on pci0 isa0: on isab0 atapci0: port 0xd000-0xd00f at device 17.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xd400-0xd41f irq 3 at device 17.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhub1: Chicony Generic USB Hub, class 9/0, rev 1.10/1.00, addr 2 uhub1: 1 port with 0 removable, bus powered ukbd0: Chicony PFU-65 USB Keyboard, rev 1.10/1.00, addr 3, iclass 3/1 kbd0 at ukbd0 uhci1: port 0xd800-0xd81f irq 3 at device 17.3 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered chip1: at device 17.4 on pci0 pcm0: port 0xe400-0xe403,0xe000-0xe003,0xdc00-0xdcff irq 5 at device 17.5 on pci0 vr0: port 0xe800-0xe8ff mem 0xe4001000-0xe40010ff irq 10 at device 18.0 on pci0 vr0: Ethernet address: 00:40:63:c1:1a:5f miibus0: on vr0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xec00-0xec7f mem 0xe4000000-0xe400007f irq 11 at device 20.0 on pci0 xl0: Ethernet address: 00:01:02:bd:77:24 miibus1: on xl0 xlphy0: <3Com internal media interface> on miibus1 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto orm0: