From owner-freebsd-stable@FreeBSD.ORG Tue Mar 14 07:10:21 2006 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0569116A401 for ; Tue, 14 Mar 2006 07:10:21 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost2.sentex.ca (smarthost2.sentex.ca [205.211.164.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D65843D45 for ; Tue, 14 Mar 2006 07:10:20 +0000 (GMT) (envelope-from mike@sentex.net) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by smarthost2.sentex.ca (8.13.4/8.13.4) with ESMTP id k2E7ADhc003662; Tue, 14 Mar 2006 02:10:13 -0500 (EST) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.13.3/8.13.3) with ESMTP id k2E7ABlH015626 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Mar 2006 02:10:12 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <6.2.3.4.0.20060314015728.031b6180@64.7.153.2> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Tue, 14 Mar 2006 02:09:20 -0500 To: =?iso-8859-1?Q?S=F8ren?= Schmidt From: Mike Tancsa In-Reply-To: <441664AB.9060303@deepcore.dk> References: <6.2.3.4.0.20060313232855.107fa680@64.7.153.2> <6.2.3.4.0.20060314002825.069fad38@64.7.153.2> <441664AB.9060303@deepcore.dk> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new X-Scanned-By: MIMEDefang 2.51 on 205.211.164.50 Cc: freebsd-stable@FreeBSD.ORG Subject: Re: ata panic X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Mar 2006 07:10:21 -0000 At 01:37 AM 14/03/2006, S=F8ren Schmidt wrote: >Mike Tancsa wrote: >>At 11:38 PM 13/03/2006, Mike Tancsa wrote: >>>Hi, >>>I was trying out a recent RELENG_6 on a VIA=20 >>>mini ITX board with built in CF reader. If a=20 >>>CF is present, the box panics at boot (tried=20 >>>with 2 separate boards and different CFs just=20 >>>in case it was hardware). This is with a RELENG_6 from March 7th >>> >>> >>>with the flash in I get a panic at bootup. >>Just updated the source to the latest RELENG_6=20 >>in case the changes fixed it, but no dice > >Hmm, thats not the intended behavior :) >Thanks for the report, I'll look into this ASAP! Thanks! I also just confirmed a kernel from Feb=20 1 boots up OK, but not with boot -v ?? eg here is a regular boot from the Feb 1 kernel WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: VIA C3 Nehemiah+RNG+ACE (796.77-MHz 686-class CPU) atapci0: port=20 0xeb00-0xeb07,0xe000-0xe003,0xe100-0xe107,0xe200-0xe203,0xe300-0xe30f,0xd400= -0xd4ff=20 irq 10 at device 15.0 on pci0 ata2: on atapci0 ata3: on atapci0 atapci1: port=20 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe500-0xe50f at device 15.1 on pci0 ata0: on atapci1 ata1: on atapci1 Timecounters tick every 1.000 msec Fast IPsec: Initialized Security Association Processing. ad0: 38166MB at ata0-master UDMA100 ad2: 244MB at ata1-master PIO4 Trying to mount root from ufs:/dev/ad0s1a where as boot -v gives ata0-master: pio=3DPIO4 wdma=3DWDMA2 udma=3DUDMA100 cable=3D80 wire ad0: setting PIO4 on 8237 chip ad0: setting UDMA100 on 8237 chip ad0: 38166MB at ata0-master UDMA100 ad0: 78165360 sectors [77545C/16H/63S] 16 sectors/interrupt 1 depth queue ata1-master: pio=3DPIO4 wdma=3DUNSUPPORTED udma=3DUNSUPPORTED cable=3D40= wire ad2: setting PIO4 on 8237 chip ad2: 244MB at ata1-master PIO4 Fatal trap 18: integer divide fault while in kernel mode cpuid =3D 0; apic id =3D 00 instruction pointer =3D 0x20:0xc06d7637 stack pointer =3D 0x28:0xc0c20b64 frame pointer =3D 0x28:0xc0c20bec code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 0 (swapper) [thread pid 0 tid 0 ] Stopped at __qdivrem+0x3b: divl %ecx,%eax db> db> bt Tracing pid 0 tid 0 td 0xc078dac0 __qdivrem(7a2b0,0,0,0,0) at __qdivrem+0x3b __udivdi3(7a2b0,0,0,0) at __udivdi3+0x16 ad_describe(c339f700,c339f700,c32df3a0,c33bd800,c31a3600) at= ad_describe+0x1b3 ad_attach(c339f700) at ad_attach+0x1e7 device_attach(c339f700,c0c20d28,c339f700,0,c33bd800) at device_attach+0x58 device_probe_and_attach(c339f700) at device_probe_and_attach+0xe0 bus_generic_attach(c328b280,c328b280,ffffffff,2,c339f700)=20 at bus_generic_attach+0x16 ata_identify(c328b280) at ata_identify+0x1c8 ata_boot_attach(0) at ata_boot_attach+0x3e run_interrupt_driven_config_hooks(0,c1ec00,c1e000,0,c043b215)=20 at run_interrupt_driven_config_hooks+0x18 mi_startup() at mi_startup+0x96 begin() at begin+0x2c db> Tracing pid 0 tid 0 td 0xc078dac0 __qdivrem(7a2b0,0,0,0,0) at __qdivrem+0x3b __udivdi3(7a2b0,0,0,0) at __udivdi3+0x16 ad_describe(c339f700,c339f700,c32df3a0,c33bd800,c31a3600) at= ad_describe+0x1b3 ad_attach(c339f700) at ad_attach+0x1e7 device_attach(c339f700,c0c20d28,c339f700,0,c33bd800) at device_attach+0x58 device_probe_and_attach(c339f700) at device_probe_and_attach+0xe0 bus_generic_attach(c328b280,c328b280,ffffffff,2,c339f700)=20 at bus_generic_attach+0x16 ata_identify(c328b280) at ata_identify+0x1c8 ata_boot_attach(0) at ata_boot_attach+0x3e run_interrupt_driven_config_hooks(0,c1ec00,c1e000,0,c043b215)=20 at run_interrupt_driven_config_hooks+0x18 mi_startup() at mi_startup+0x96 begin() at begin+0x2c db>