From owner-freebsd-current@FreeBSD.ORG Thu Sep 18 08:51:28 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D447316A4B3 for ; Thu, 18 Sep 2003 08:51:28 -0700 (PDT) Received: from student.uci.agh.edu.pl (student.uci.agh.edu.pl [149.156.98.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id C613543F85 for ; Thu, 18 Sep 2003 08:51:27 -0700 (PDT) (envelope-from winfried@student.uci.agh.edu.pl) Received: by student.uci.agh.edu.pl (Postfix, from userid 25828) id 632A764627; Thu, 18 Sep 2003 17:51:25 +0200 (CEST) Date: Thu, 18 Sep 2003 17:51:25 +0200 From: Jan Srzednicki To: Soren Schmidt Message-ID: <20030918155125.GC22643@student.agh.edu.pl> References: <20030918134850.GA22643@student.agh.edu.pl> <200309181354.h8IDsa0F023908@spider.deepcore.dk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="xXmbgvnjoT4axfJE" Content-Disposition: inline In-Reply-To: <200309181354.h8IDsa0F023908@spider.deepcore.dk> User-Agent: Mutt/1.4i cc: freebsd-current@freebsd.org Subject: Re: ATAng still problematic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: w@dream.vg List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2003 15:51:29 -0000 --xXmbgvnjoT4axfJE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Sep 18, 2003 at 03:54:36PM +0200, Soren Schmidt wrote: > It seems Jan Srzednicki wrote: > > First of all, the drive still does not get detected properly. Funny > > thing is that after some playing with atacontrol attach/detach, it > > finally gets detected. And later on, it is normally detected, before. > > Same scenario happened like 3 times with ATAng and newer and newer > > kernels. I don't know whether some device hints or anything are just > > updated; yet, I didn't have _any_ drive detection problems with ATAold. > > > > The problem is with the second drive. There's still some randomness in > > it, as it gets undetected from time to time. > > Try the below patch and let me know if that changes anything.. It seems that things have changed a bit (the drive gets detected more often), but still, it's not perfect. Anyway, here's backtrace for atapicam panic I've mentioned. It's triggered by: cdrecord dev=1,1,0 /some/track greetings, -- -- wrzask --= v =-- Winfried --===-- GG# 3838383 --- -- w@dream.vg --- w@303.krakow.pl --===-- http://violent.dream.vg/ --- --=< Ride the wild wind - push the envelope, don't sit on the fence, --- -- Ride the wild wind - live life on the razor's edge! >=-- Queen -- --xXmbgvnjoT4axfJE Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=backtrace Content-Transfer-Encoding: quoted-printable Script started on Thu Sep 18 17:43:10 2003 =0D=1B[m=0F=1B[27m=1B[24m=1B[J[17:43] stronghold:/usr/tmp/crash(608)# =1B[K= g=08gdb -k kernel.debug0=08 =08.0 vmcore.0 =08=0D=0D GNU gdb 5.2.1 (FreeBSD)=0D Copyright 2002 Free Software Foundation, Inc.=0D GDB is free software, covered by the GNU General Public License, and you ar= e=0D welcome to change it and/or distribute copies of it under certain condition= s.=0D Type "show copying" to see the conditions.=0D There is absolutely no warranty for GDB. Type "show warranty" for details.= =0D This GDB was configured as "i386-undermydesk-freebsd"...=0D panic: vm_fault_copy_wired: page missing=0D panic messages:=0D ---=0D panic: vm_fault_copy_wired: page missing=0D =0D syncing disks, buffers remaining... 3428 3428 3426 3426 3426 3426 3426 3426= 3426 3426 3426 3426 3426 3426 3426 3426 3426 3426 3426 3426 3426 3426 =0D giving up on 2440 buffers=0D Uptime: 4m54s=0D Dumping 511 MB=0D [CTRL-C to abort] [CTRL-C to abort] 16 32 48 64 80 96 112 128 144 160 176 = 192 208 224[CTRL-C to abort] [CTRL-C to abort] [CTRL-C to abort] 240 256 2= 72 288 304 320 336 352 368 384 400 416 432 448Copyright (c) 1992-2003 The F= reeBSD Project.=0D Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994=0D The Regents of the University of California. All rights reserved.=0D FreeBSD 5.1-CURRENT #12: Thu Sep 18 16:36:35 CEST 2003=0D root@stronghold:/usr/obj/usr/src/sys/MOONDANCE=0D Preloaded elf kernel "/boot/kernel/kernel" at 0xc04e7000.=0D Preloaded elf module "/boot/kernel/if_rl.ko" at 0xc04e71f4.=0D Preloaded elf module "/boot/kernel/miibus.ko" at 0xc04e72a0.=0D Preloaded elf module "/boot/kernel/snd_via82c686.ko" at 0xc04e734c.=0D Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc04e7400.=0D Preloaded elf module "/boot/kernel/mga.ko" at 0xc04e74ac.=0D Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04e7554.=0D Timecounter "i8254" frequency 1193182 Hz quality 0=0D CPU: AMD Duron(tm) Processor (600.03-MHz 686-class CPU)=0D Origin =3D "AuthenticAMD" Id =3D 0x630 Stepping =3D 0=0D Features=3D0x183f9ff=0D AMD Features=3D0xc0440000=0D real memory =3D 536805376 (511 MB)=0D avail memory =3D 515792896 (491 MB)=0D Pentium Pro MTRR support enabled=0D npx0: [FAST]=0D npx0: on motherboard=0D npx0: INT 16 interface=0D acpi0: on motherboard=0D pcibios: BIOS version 2.10=0D Using $PIR table, 7 entries at 0xc00fdd00=0D acpi0: power button is handled as a fixed feature programming model.=0D Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000=0D acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0=0D acpi_cpu0: on acpi0=0D acpi_button0: on acpi0=0D pcib0: port 0x6000-0x607f,0x5000-0x500f,0x4080-0x40f= f,0x4000-0x407f,0xcf8-0xcff on acpi0=0D pci0: on pcib0=0D pcib0: slot 7 INTC is routed to irq 11=0D pcib0: slot 9 INTA is routed to irq 5=0D pcib0: slot 10 INTA is routed to irq 11=0D agp0: mem 0xd5000000-0xd5f= fffff at device 0.0 on pci0=0D pcib1: at device 1.0 on pci0=0D pci1: on pcib1=0D pcib0: slot 1 INTA is routed to irq 10=0D pcib1: slot 0 INTA is routed to irq 10=0D drm0: mem 0xd3000000-0xd37fffff,0xd2000000-0xd2003= fff,0xd0000000-0xd1ffffff irq 10 at device 0.0 on pci1=0D info: [drm] AGP at 0xd5000000 16MB=0D info: [drm] Initialized mga 3.1.0 20021029 on minor 0=0D isab0: at device 7.0 on pci0=0D isa0: on isab0=0D atapci0: port 0xd000-0xd00f at device 7.1 o= n pci0=0D ata0: at 0x1f0 irq 14 on atapci0=0D ata0: [MPSAFE]=0D ata1: at 0x170 irq 15 on atapci0=0D ata1: [MPSAFE]=0D pcm0: port 0xe400-0xe403,0xe000-0xe003,0xdc00-0xdcff irq 11= at device 7.5 on pci0=0D pcm0: =0D pci0: at device 9.0 (no driver attached)=0D rl0: port 0xec00-0xecff mem 0xd6000000-0xd60000= ff irq 11 at device 10.0 on pci0=0D rl0: Ethernet address: 00:e0:7d:b4:33:16=0D miibus0: on rl0=0D rlphy0: on miibus0=0D rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto=0D fdc0: port 0x3f7,0x= 3f0-0x3f5 irq 6 drq 2 on acpi0=0D fdc0: FIFO enabled, 8 bytes threshold=0D fd0: <1440-KB 3.5" drive> on fdc0 drive 0=0D sio0 port 0x3f8-0x3ff irq 4 on acpi0=0D sio0: type 16550A=0D atkbdc0: port 0x64,0x60 irq 1 on acpi0=0D atkbd0: flags 0x1 irq 1 on atkbdc0=0D kbd0 at atkbd0=0D psm0: irq 12 on atkbdc0=0D psm0: model IntelliMouse Explorer, device ID 4=0D pmtimer0 on isa0=0D orm0: