From owner-freebsd-current@FreeBSD.ORG Fri Jan 29 23:25:21 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3477A106566C; Fri, 29 Jan 2010 23:25:21 +0000 (UTC) (envelope-from trebestie@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 859FF8FC1B; Fri, 29 Jan 2010 23:25:20 +0000 (UTC) Received: by bwz5 with SMTP id 5so125916bwz.3 for ; Fri, 29 Jan 2010 15:25:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=vT55vH8JhdCIAnWMz/ElGfYsSv8SVadHWWRQe+OXKu0=; b=ZxZpTFb7s++3JZxqkuNFTUszi9BoQX5ErgfvNBDBvweuzXaJPWWNFcM2Sysrgnorca n1e73VhNzt8cm1r6b/3K3nqrdLY1vHgVQYqBQn5Y+SqC/0D+EbU50Fp8spDwaOz3FVeE u3+HL0aALrIO9FuNxpZIAkDfFWWb6JL5uD2dI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=KD4NTpq3ePwS7KOE8pkJ8oKcUmi6XMuzrNLzkX4RdymrWWnBW3q2Id5cenBvBGKbYb 1LTQE9hYwL7kKI3nlfIjCsyns/S3z2ZlqwsnHEQ3wu/03eOOALynxciWUQ7fXgVtt+JL xhNHowL7+MtvUnfH18vdm0YrH7OKgnIwqV/eM= MIME-Version: 1.0 Received: by 10.204.10.149 with SMTP id p21mr1079041bkp.3.1264807519303; Fri, 29 Jan 2010 15:25:19 -0800 (PST) In-Reply-To: <4B62DD46.4060908@FreeBSD.org> References: <4B55D9D4.1000008@FreeBSD.org> <201001231407.o0NE7l8j002620@triton8.kn-bremen.de> <20100123184619.257203d9@ernst.jennejohn.org> <4B5C79CF.9070504@FreeBSD.org> <83e5fb981001290503n140d4c05ga755853a1588de@mail.gmail.com> <4B62DD46.4060908@FreeBSD.org> Date: Sat, 30 Jan 2010 00:25:19 +0100 Message-ID: <83e5fb981001291525k6d533fdaj1611df806077d94f@mail.gmail.com> From: Diego Depaoli To: Alexander Motin Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD-Current Subject: Re: Pack of CAM improvements X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jan 2010 23:25:21 -0000 On Fri, Jan 29, 2010 at 2:06 PM, Alexander Motin wrote: > Diego Depaoli wrote: >> On Sun, Jan 24, 2010 at 5:48 PM, Alexander Motin wrote: >>> New patch version should handle this and some other problems: >>> http://people.freebsd.org/~mav/cam-ata.20100124.patch >> I didn't yet test in depth your patch but... >> - ogmrip doesn't more freeze the system >> - while the system boots, closing the optical drive's tray with a >> video dvd inserted, I get a reproducible (for me) panic. > > If you wish it to be fixed - you had to give much more info. handwritten ------------------------ cd0: \ukD [ua? uhub2: 6 ports with 6 removable, self powered uhub5: 6 ports with 6 removable, self powered fatal trap 18: integer divide fault while in kernel mode cpuid=1, apic id=01 instruction pointer = 0x20:0xc057efcd stack pointer = 0x28:0xc63e0b94 frame pointer = 0x28:0xc63e0bd4 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL0, pres 1, def32 1, gran 1 processor eflags = interrupt enbled, resume, IOPL = 0 current process = 2(g_event) trap number = 18 panic integer divide fault cpuid = 1 ------------------------- only power button works my regular dmesg Copyright (c) 1992-2010 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 9.0-CURRENT #6 r203138M: Fri Jan 29 02:39:01 CET 2010 root@genipizza.casadep.home:/usr/obj/usr/src/sys/CAMKERN i386 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ (2730.12-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x60fb2 Stepping = 2 Features=0x178bfbff Features2=0x2001 AMD Features=0xea500800 AMD Features2=0x11f TSC: P-state invariant real memory = 4294967296 (4096 MB) avail memory = 3412471808 (3254 MB) ACPI APIC Table: <121708 APIC2302> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ACPI Warning: Optional field Pm2ControlBlock has zero address or length: 0 0/1 (20100121/tbfadt-655) ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: <121708 RSDT2302> on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of fee00000, 1000 (3) failed acpi0: reservation of ffb80000, 80000 (3) failed acpi0: reservation of fec10000, 20 (3) failed acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, cfe00000 (3) failed ACPI HPET table warning: Sequence is non-zero (2) Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0xd000-0xd0ff mem 0xd0000000-0xdfffffff,0xfeaf0000-0xfeafffff,0xfe900000-0xfe9fffff irq 18 at device 5.0 on pci1 drm0: on vgapci0 info: [drm] MSI enabled 1 message(s) vgapci0: child drm0 requested pci_enable_busmaster info: [drm] Initialized radeon 1.31.0 20080613 hdac0: mem 0xfeae8000-0xfeaebfff irq 19 at device 5.1 on pci1 hdac0: HDA Driver Revision: 20100122_0141 hdac0: [ITHREAD] pcib2: irq 17 at device 5.0 on pci0 pci2: on pcib2 re0: port 0xe800-0xe8ff mem 0xfdfff000-0xfdffffff,0xfdff8000-0xfdffbfff irq 17 at device 0.0 on pci2 re0: Using 1 MSI messages re0: Chip rev. 0x28000000 re0: MAC rev. 0x00000000 miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto re0: Ethernet address: 00:19:66:a7:2a:37 re0: [FILTER] ahci0: port 0xc000-0xc007,0xb000-0xb003,0xa000-0xa007,0x9000-0x9003,0x8000-0x800f mem 0xfe8ffc00-0xfe8fffff irq 22 at device 17.0 on pci0 ahci0: [ITHREAD] ahci0: AHCI v1.10 with 6 3Gbps ports, Port Multiplier supported ahcich0: at channel 0 on ahci0 ahcich0: [ITHREAD] ahcich1: at channel 1 on ahci0 ahcich1: [ITHREAD] ahcich2: at channel 2 on ahci0 ahcich2: [ITHREAD] ahcich3: at channel 3 on ahci0 ahcich3: [ITHREAD] ahcich4: at channel 4 on ahci0 ahcich4: [ITHREAD] ahcich5: at channel 5 on ahci0 ahcich5: [ITHREAD] ohci0: mem 0xfe8fe000-0xfe8fefff irq 16 at device 18.0 on pci0 ohci0: [ITHREAD] usbus0: on ohci0 ohci1: mem 0xfe8fd000-0xfe8fdfff irq 16 at device 18.1 on pci0 ohci1: [ITHREAD] usbus1: on ohci1 ehci0: mem 0xfe8ff800-0xfe8ff8ff irq 17 at device 18.2 on pci0 ehci0: [ITHREAD] ehci0: AMD SB600/700 quirk applied usbus2: EHCI version 1.0 usbus2: on ehci0 ohci2: mem 0xfe8fc000-0xfe8fcfff irq 18 at device 19.0 on pci0 ohci2: [ITHREAD] usbus3: on ohci2 ohci3: mem 0xfe8f7000-0xfe8f7fff irq 18 at device 19.1 on pci0 ohci3: [ITHREAD] usbus4: on ohci3 ehci1: mem 0xfe8ff400-0xfe8ff4ff irq 19 at device 19.2 on pci0 ehci1: [ITHREAD] ehci1: AMD SB600/700 quirk applied usbus5: EHCI version 1.0 usbus5: on ehci1 pci0: at device 20.0 (no driver attached) atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 20.1 on pci0 ata1: on atapci0 ata1: [ITHREAD] hdac1: mem 0xfe8f0000-0xfe8f3fff irq 16 at device 20.2 on pci0 hdac1: HDA Driver Revision: 20100122_0141 hdac1: [ITHREAD] isab0: at device 20.3 on pci0 isa0: on isab0 pcib3: at device 20.4 on pci0 pci3: on pcib3 ohci4: mem 0xfe8f6000-0xfe8f6fff irq 18 at device 20.5 on pci0 ohci4: [ITHREAD] usbus6: on ohci4 acpi_button0: on acpi0 atrtc0: port 0x70-0x71 irq 8 on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] cpu0: on acpi0 acpi_throttle0: on cpu0 powernow0: on cpu0 device_attach: powernow0 attach returned 6 cpu1: on acpi0 powernow1: on cpu1 device_attach: powernow1 attach returned 6 pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ppc0: parallel port not found. uart1: <16550 or compatible> at port 0x2f8-0x2ff irq 3 on isa0 uart1: [FILTER] Timecounters tick every 1.000 msec hdac0: HDA Codec #0: ATI RS690/780 HDMI pcm0: at cad 0 nid 1 on hdac0 hdac1: HDA Codec #0: Realtek ALC662 pcm1: at cad 0 nid 1 on hdac1 usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 480Mbps High Speed USB v2.0 usbus3: 12Mbps Full Speed USB v1.0 usbus4: 12Mbps Full Speed USB v1.0 usbus5: 480Mbps High Speed USB v2.0 usbus6: 12Mbps Full Speed USB v1.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 ugen3.1: at usbus3 uhub3: on usbus3 ugen4.1: at usbus4 uhub4: on usbus4 ugen5.1: at usbus5 uhub5: on usbus5 ugen6.1: at usbus6 uhub6: on usbus6 uhub6: 2 ports with 2 removable, self powered uhub0: 3 ports with 3 removable, self powered uhub1: 3 ports with 3 removable, self powered uhub3: 3 ports with 3 removable, self powered uhub4: 3 ports with 3 removable, self powered ada0 at ahcich0 bus 0 scbus0 target 0 lun 0cd0 at ata1 bus 0 scbus6 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 66.700MB/s transfers (UDMA4, PIO size 65534bytes) cd0: cd present [3349840 x 2048 byte records] ada0: ATA-8 SATA 2.x device ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO size 8192bytes) ada0: Command Queueing enabled ada0: 305245MB (625142448 512 byte sectors: 16H 63S/T 16383C) ada1 at ahcich1 bus 0 scbus1 target 0 lun 0 ada1: ATA-8 SATA 2.x device ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO size 8192bytes) ada1: Command Queueing enabled ada1: 305245MB (625142448 512 byte sectors: 16H 63S/T 16383C) SMP: AP CPU #1 Launched! uhub2: 6 ports with 6 removable, self powered uhub5: 6 ports with 6 removable, self powered ugen0.2: at usbus0 ulpt0: on usbus0 ulpt0: using bi-directional mode ugen1.2: at usbus1 ums0: on usbus1 ums0: 3 buttons and [XYZ] coordinates ID=0 GEOM: ada0: partition 1 does not start on a track boundary. GEOM: ada0: partition 1 does not end on a track boundary. GEOM: ada0s4: geometry does not match label (255h,63s != 16h,63s). GEOM: ada1: partition 3 does not start on a track boundary. GEOM: ada1: partition 3 does not end on a track boundary. Trying to mount root from ufs:/dev/label/rootbsd fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8 re0: link state changed to UP info: [drm] Setting GART location based on new memory map info: [drm] Loading RS780/RS880 Microcode info: [drm] Resetting GPU info: [drm] writeback test succeeded in 1 usecs drm0: [ITHREAD] info: [drm] Resetting GPU info: [drm] Setting GART location based on new memory map info: [drm] Loading RS780/RS880 Microcode info: [drm] Resetting GPU info: [drm] writeback test succeeded in 1 usecs drm0: [ITHREAD] ahci0@pci0:0:17:0: class=0x010601 card=0x43911849 chip=0x43911002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'SB700 SATA Controller [AHCI mode]' class = mass storage subclass = SATA bar [10] = type I/O Port, range 32, base 0xc000, size 8, enabled bar [14] = type I/O Port, range 32, base 0xb000, size 4, enabled bar [18] = type I/O Port, range 32, base 0xa000, size 8, enabled bar [1c] = type I/O Port, range 32, base 0x9000, size 4, enabled bar [20] = type I/O Port, range 32, base 0x8000, size 16, enabled bar [24] = type Memory, range 32, base 0xfe8ffc00, size 1024, enabled cap 01[60] = powerspec 2 supports D0 D3 current D0 cap 12[70] = SATA Index-Data Pair Let me know if I must provide other info Cheers -- Diego Depaoli