From owner-freebsd-current@FreeBSD.ORG Thu Aug 11 04:20:57 2005 Return-Path: X-Original-To: current@freebsd.org 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 D08CE16A41F for ; Thu, 11 Aug 2005 04:20:57 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from postfix4-1.free.fr (postfix4-1.free.fr [213.228.0.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F84543D45 for ; Thu, 11 Aug 2005 04:20:57 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (vol75-8-82-233-239-98.fbx.proxad.net [82.233.239.98]) by postfix4-1.free.fr (Postfix) with ESMTP id 28F17318544; Thu, 11 Aug 2005 06:20:55 +0200 (CEST) Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id F2E1B405C; Thu, 11 Aug 2005 06:21:06 +0200 (CEST) Date: Thu, 11 Aug 2005 06:21:06 +0200 From: Jeremie Le Hen To: Alexander Chamandy Message-ID: <20050811042106.GR45385@obiwan.tataz.chchile.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.9i Cc: current@freebsd.org Subject: Re: FreeBSD/amd64 phobos.envescent.net 6.0-BETA2 - Possible SiI 3512 SATA-150 lockup/freezing bug 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: Thu, 11 Aug 2005 04:20:57 -0000 Hi, you should Cc: Søren Schmidt in case he misses your mail. I think he's the guy who can correct the problem. Scott Long may too. Regards, Jeremie On Wed, Aug 10, 2005 at 07:38:30PM -0400, Alexander Chamandy wrote: > On 8/10/05, Alexander Chamandy wrote: > > I'm seeing messages like this on bootup: ata2: FAILURE - oversized DMA > > transfer attempt 8704 > 7680 > > > > I know FreeBSD has some issues with the SiI SATA controllers so I'm > > not sure if this is already known, but essentially under high load the > > machine either hardlocks or simply reboots. I've tried custom and > > generic kernels as well as reinstalling to no avail. This system, > > like the subject says, is running FreeBSD/amd64 6.0-BETA2. Should I > > disable DMA? Is there a workaround? Dmesg from GENERIC kernel is as > > follows: > > > > Copyright (c) 1992-2005 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 6.0-BETA2 #0: Tue Aug 2 22:37:52 UTC 2005 > > root@portnoy.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC > > WARNING: WITNESS option enabled, expect reduced performance. > > Timecounter "i8254" frequency 1193182 Hz quality 0 > > CPU: AMD Athlon(tm) 64 Processor 3200+ (2080.20-MHz K8-class CPU) > > Origin = "AuthenticAMD" Id = 0xf48 Stepping = 8 > > Features=0x78bfbff > > AMD Features=0xe0500800 > > real memory = 2147418112 (2047 MB) > > avail memory = 2062671872 (1967 MB) > > ACPI APIC Table: > > ioapic0 irqs 0-23 on motherboard > > acpi0: on motherboard > > acpi0: Power Button (fixed) > > pci_link0: irq 3 on acpi0 > > pci_link1: irq 10 on acpi0 > > pci_link2: irq 11 on acpi0 > > pci_link3: on acpi0 > > pci_link4: irq 7 on acpi0 > > pci_link5: irq 4 on acpi0 > > pci_link6: irq 4 on acpi0 > > pci_link7: irq 5 on acpi0 > > pci_link8: on acpi0 > > pci_link9: on acpi0 > > pci_link10: on acpi0 > > pci_link11: irq 5 on acpi0 > > pci_link12: irq 4 on acpi0 > > pci_link13: on acpi0 > > pci_link14: on acpi0 > > pci_link15: on acpi0 > > pci_link16: on acpi0 > > pci_link17: irq 16 on acpi0 > > pci_link18: irq 17 on acpi0 > > pci_link19: irq 18 on acpi0 > > pci_link20: irq 19 on acpi0 > > pci_link21: irq 16 on acpi0 > > pci_link22: irq 0 on acpi0 > > pci_link23: irq 0 on acpi0 > > pci_link24: irq 0 on acpi0 > > pci_link25: irq 0 on acpi0 > > pci_link26: irq 0 on acpi0 > > pci_link27: irq 0 on acpi0 > > pci_link28: irq 23 on acpi0 > > pci_link29: irq 0 on acpi0 > > pci_link30: irq 0 on acpi0 > > pci_link31: irq 0 on acpi0 > > pci_link32: irq 0 on acpi0 > > pci_link33: irq 0 on acpi0 > > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 > > cpu0: on acpi0 > > acpi_button0: on acpi0 > > pcib0: port 0xcf8-0xcff,0xcf0-0xcf3 on acpi0 > > pci0: on pcib0 > > pci_link22: Unable to choose an IRQ > > pci_link23: Unable to choose an IRQ > > pci_link29: Unable to choose an IRQ > > pci_link24: Unable to choose an IRQ > > agp0: mem 0xe0000000-0xe7ffffff at > > device 0.0 on pci0 > > isab0: at device 1.0 on pci0 > > isa0: on isab0 > > pci0: at device 1.1 (no driver attached) > > ohci0: mem 0xfc002000-0xfc002fff irq > > 20 at device 2.0 on pci0 > > ohci0: [GIANT-LOCKED] > > usb0: OHCI version 1.0, legacy support > > usb0: SMM does not respond, resetting > > usb0: on ohci0 > > usb0: USB revision 1.0 > > uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > > uhub0: 3 ports with 3 removable, self powered > > ohci1: mem 0xfc003000-0xfc003fff irq > > 21 at device 2.1 on pci0 > > ohci1: [GIANT-LOCKED] > > usb1: OHCI version 1.0, legacy support > > usb1: SMM does not respond, resetting > > usb1: on ohci1 > > usb1: USB revision 1.0 > > uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 > > uhub1: 3 ports with 3 removable, self powered > > ehci0: mem 0xfc004000-0xfc0040ff > > irq 22 at device 2.2 on pci0 > > ehci0: [GIANT-LOCKED] > > usb2: EHCI version 1.0 > > usb2: companion controllers, 4 ports each: usb0 usb1 > > usb2: on ehci0 > > usb2: USB revision 2.0 > > uhub2: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 > > uhub2: 6 ports with 6 removable, self powered > > uhub3: vendor 0x0543 product 0x1167, class 9/0, rev 2.00/ff.ff, addr 2 > > uhub3: multiple transaction translators > > uhub3: 4 ports with 4 removable, self powered > > ulpt0: HewLett Packard HP LaserJet 1200, rev 1.10/1.00, addr 3, iclass 7/1 > > ulpt0: using bi-directional mode > > nve0: port 0xd000-0xd007 mem > > 0xfc000000-0xfc000fff irq 20 at device 5.0 on pci0 > > nve0: Ethernet address 00:0d:61:14:6f:39 > > miibus0: on nve0 > > rlphy0: on miibus0 > > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > > nve0: Ethernet address: 00:0d:61:14:6f:39 > > nve0: [GIANT-LOCKED] > > atapci0: port > > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 8.0 on > > pci0 > > ata0: on atapci0 > > ata1: on atapci0 > > pcib1: at device 10.0 on pci0 > > pci1: on pcib1 > > pci1: at device 8.0 (no driver attached) > > pci1: at device 8.1 (no driver attached) > > fwohci0: <1394 Open Host Controller Interface> mem > > 0xfb005000-0xfb0057ff,0xfb000000-0xfb003fff irq 17 at device 8.2 on > > pci1 > > fwohci0: OHCI version 1.10 (ROM=0) > > fwohci0: No. of Isochronous channels is 4. > > fwohci0: EUI64 00:02:3c:00:21:04:e6:cc > > fwohci0: Phy 1394a available S400, 2 ports. > > fwohci0: Link S400, max_rec 2048 bytes. > > firewire0: on fwohci0 > > fwe0: on firewire0 > > if_fwe0: Fake Ethernet address: 02:02:3c:04:e6:cc > > fwe0: Ethernet address: 02:02:3c:04:e6:cc > > fwe0: if_start running deferred for Giant > > sbp0: on firewire0 > > fwohci0: Initiate bus reset > > fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode > > firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) > > firewire0: bus manager 0 (me) > > ahc0: port 0xa800-0xa8ff mem > > 0xfb004000-0xfb004fff irq 18 at device 10.0 on pci1 > > ahc0: [GIANT-LOCKED] > > aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs > > atapci1: port > > 0xac00-0xac07,0xb000-0xb003,0xb400-0xb407,0xb800-0xb803,0xbc00-0xbc0f > > mem 0xfb006000-0xfb0061ff irq 17 at device 13.0 on pci1 > > ata2: on atapci1 > > ata3: on atapci1 > > pcib2: at device 11.0 on pci0 > > pci2: on pcib2 > > pci2: at device 0.0 (no driver attached) > > pci2: at device 0.1 (no driver attached) > > fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 > > fdc0: [FAST] > > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > > atkbd0: flags 0x1 irq 1 on atkbdc0 > > kbd0 at atkbd0 > > atkbd0: [GIANT-LOCKED] > > orm0: at iomem > > 0xc0000-0xccfff,0xd0000-0xd7fff,0xd8000-0xdc7ff,0xdd000-0xe27ff on > > isa0 > > ppc0: cannot reserve I/O port range > > sc0: at flags 0x100 on isa0 > > sc0: VGA <16 virtual consoles, flags=0x300> > > sio0: configured irq 4 not in bitmap of probed irqs 0 > > sio0: port may not be enabled > > sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 > > sio0: type 8250 or not responding > > sio1: configured irq 3 not in bitmap of probed irqs 0 > > sio1: port may not be enabled > > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > > ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/22.00, addr 2, iclass 3/1 > > ums0: 7 buttons and Z dir. > > Timecounter "TSC" frequency 2080199228 Hz quality 800 > > Timecounters tick every 1.000 msec > > Waiting 5 seconds for SCSI devices to settle > > acd0: DVDR at ata1-slave UDMA33 > > ad4: 286188MB at ata2-master SATA150 > > ata2: FAILURE - oversized DMA transfer attempt 8704 > 7680 > > ad4: setting up DMA failed > > da0 at ahc0 bus 0 target 0 lun 0 > > da0: Fixed Direct Access SCSI-2 device > > da0: 80.000MB/s transfers (40.000MHz, offset 15, 16bit) > > da0: 17366MB (35566480 512 byte sectors: 255H 63S/T 2213C) > > ATA PseudoRAID loaded > > Trying to mount root from ufs:/dev/ad4s2a > > WARNING: / was not properly dismounted > > pcm0: port 0xa000-0xa01f irq 16 at device > > 8.0 on pci1 > > pcm0: > > nve0: link state changed to DOWN > > nve0: link state changed to UP > > nve0: promiscuous mode enabled > > nve0: promiscuous mode disabled > > > > > > > > > > > > > > -- > > Best wishes, > > > > Alexander G. Chamandy > > Webmaster > > www.bsdfreak.org > > Your Source For BSD News! > > Hosted by Envescent, LLC > > www.envescent.com > > > > I disabled DMA by adding hw.ata.ata_dma=0 to /boot/loader.conf and now > the lockups have stopped. This isn't the ideal solution, but perhaps > it narrows down the problem a bit more. -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >