From owner-freebsd-hardware@FreeBSD.ORG Sun Nov 30 13:04:24 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 307DA106564A for ; Sun, 30 Nov 2008 13:04:24 +0000 (UTC) (envelope-from fbsd@dannysplace.net) Received: from mail.dannysplace.net (mail.dannysplace.net [213.133.54.210]) by mx1.freebsd.org (Postfix) with ESMTP id DA85D8FC08 for ; Sun, 30 Nov 2008 13:04:23 +0000 (UTC) (envelope-from fbsd@dannysplace.net) Received: from 203-206-171-212.perm.iinet.net.au ([203.206.171.212] helo=[192.168.10.10]) by mail.dannysplace.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1L6ly7-0003hv-6b; Sun, 30 Nov 2008 23:04:22 +1000 Message-ID: <49328F33.8080705@dannysplace.net> Date: Sun, 30 Nov 2008 23:03:47 +1000 From: Danny Carroll User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Jim Pazarena References: <492D7814.2010302@ccstores.com> In-Reply-To: <492D7814.2010302@ccstores.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Authenticated-User: danny X-Authenticator: plain X-Sender-Verify: SUCCEEDED (sender exists & accepts mail) X-Exim-Version: 4.69 (build at 08-Jul-2008 08:59:40) X-Date: 2008-11-30 23:04:11 X-Connected-IP: 203.206.171.212:1306 X-Message-Linecount: 36 X-Body-Linecount: 22 X-Message-Size: 1052 X-Body-Size: 550 X-Received-Count: 1 X-Recipient-Count: 2 X-Local-Recipient-Count: 2 X-Local-Recipient-Defer-Count: 0 X-Local-Recipient-Fail-Count: 0 X-SA-Exim-Connect-IP: 203.206.171.212 X-SA-Exim-Rcpt-To: fhard@ccstores.com, freebsd-hardware@freebsd.org X-SA-Exim-Mail-From: fbsd@dannysplace.net X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ferrari.dannysplace.net X-Spam-Level: X-Spam-Status: No, score=0.2 required=8.0 tests=ALL_TRUSTED,TVD_RCVD_IP autolearn=disabled version=3.2.5 X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on mail.dannysplace.net) Cc: freebsd-hardware@freebsd.org Subject: Re: ciss0 driver/routines X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fbsd@dannysplace.net List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Nov 2008 13:04:24 -0000 Jim Pazarena wrote: > noticed a glaring spelling mistake on a CLI notification, and wasn't > sure who (or how) to report it. > > message as follows: > > ciss0: *** Parity/consistency initialization complete, logical drive 0 > > then, > > ciss0: logical drive 0 c7 completed consistency initialisation > ^^^^^^^^^^^^^^^^ s/b > initialization > Perhaps this driver was written by both an American and a European or Australian.... >From my perspective the first message is the one spelt wrong. -D From owner-freebsd-hardware@FreeBSD.ORG Sun Nov 30 15:24:43 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E5E81065677; Sun, 30 Nov 2008 15:24:43 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout2.freenet.de (mout2.freenet.de [IPv6:2001:748:100:40::2:4]) by mx1.freebsd.org (Postfix) with ESMTP id 001F58FC16; Sun, 30 Nov 2008 15:24:42 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from [195.4.92.12] (helo=2.mx.freenet.de) by mout2.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #65) id 1L6oA4-0000Ob-50; Sun, 30 Nov 2008 16:24:40 +0100 Received: from mafd5.m.pppool.de ([89.49.175.213]:10239 helo=ernst.jennejohn.org) by 2.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #68) id 1L6oA3-0000yI-Rf; Sun, 30 Nov 2008 16:24:40 +0100 Date: Sun, 30 Nov 2008 16:24:37 +0100 From: Gary Jennejohn To: Andriy Gapon Message-ID: <20081130162437.1bae4371@ernst.jennejohn.org> In-Reply-To: <492FF203.5060405@icyb.net.ua> References: <492FF203.5060405@icyb.net.ua> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: dd if=/dev/mem can hang a machine? X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Nov 2008 15:24:43 -0000 On Fri, 28 Nov 2008 15:28:35 +0200 Andriy Gapon wrote: > > I have a new machine with DG33TL mainboard (ICH9/G33). > In a course of some hacking I ran dd if=/dev/mem ... to scan all memory, > this caused the machine to hang. > I tried to reproduce and this is 100% reproducible. > > I am not used to such behavior. In older days I could scan all the > memory without any issues. > > Could this be related to some modern form of memory-mapped IO? Or to > Intel Management Engine (that seems t bite into DRAM)? > Or something else? > > Just wondering. > That's what I would assume. With some hardware just reading a register can be harmful. --- Gary Jennejohn From owner-freebsd-hardware@FreeBSD.ORG Mon Dec 1 08:00:17 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1600F106564A for ; Mon, 1 Dec 2008 08:00:17 +0000 (UTC) (envelope-from won.derick@yahoo.com) Received: from n29.bullet.mail.mud.yahoo.com (n29.bullet.mail.mud.yahoo.com [68.142.207.48]) by mx1.freebsd.org (Postfix) with SMTP id DBA808FC0A for ; Mon, 1 Dec 2008 08:00:16 +0000 (UTC) (envelope-from won.derick@yahoo.com) Received: from [68.142.200.226] by n29.bullet.mail.mud.yahoo.com with NNFMP; 01 Dec 2008 08:00:16 -0000 Received: from [68.142.201.251] by t7.bullet.mud.yahoo.com with NNFMP; 01 Dec 2008 08:00:16 -0000 Received: from [127.0.0.1] by omp412.mail.mud.yahoo.com with NNFMP; 01 Dec 2008 08:00:16 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 74250.70133.bm@omp412.mail.mud.yahoo.com Received: (qmail 81930 invoked by uid 60001); 1 Dec 2008 08:00:14 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=Q9fUBl0CWoFmrjHUL206Ly6QJIbr6fFP50tNAl1wV6aMjbHeKK4dEtQTz3XGeEFEOLBXUzC66jUCl4Ygzr2qzPr1e4fX9pYAxPuQ7qSUWOV8KhB4YkysHvviR/o810u5FUDJgfZnLC9WJLHbDKk1Oumb/8G1sMAGQJBZFPkzFmc=; Received: from [58.71.34.137] by web45809.mail.sp1.yahoo.com via HTTP; Mon, 01 Dec 2008 00:00:12 PST X-Mailer: YahooMailRC/1155.32 YahooMailWebService/0.7.260.1 Date: Mon, 1 Dec 2008 00:00:12 -0800 (PST) From: Won De Erick To: freebsd-hardware@freebsd.org, freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <547602.79284.qm@web45809.mail.sp1.yahoo.com> Cc: Subject: Watchdog for Boser (HS-7001) X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2008 08:00:17 -0000 Hello, I was trying the assembly language program that is specified in the following document (p24) to set, reset the built-in watchdog timer for the Boser Box. http://www.boser.com.tw/manual/HS-7001v1.1.pdf I then installed nasm in FreeBSD 6.2, and added the following lines at the beginning. section .text global _start _start: I did assemble, link (ld) and got no error. But when I run, I got the following error: # ./watchdog.out Bus error (core dumped) I noticed that the port addresses used are similar with the following used by Super Micro Computer. I don't know if these are standards or not. I suspect that the boards are using same controller chips from Intel. I've been googling the web for more documentations on these but I could hardly find one. http://www.stinkfoot.org/wdt.txt How should I make this program works? Thanks, Won # dmesg Copyright (c) 1992-2007 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 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC ACPI APIC Table: Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2799.21-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff Features2=0x4400> real memory = 528416768 (503 MB) avail memory = 507666432 (484 MB) ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xe0000000-0xe7ffffff,0xec700000-0xec77ffff irq 16 at device 2.0 on pci0 agp0: detected 8060k stolen memory agp0: aperture size is 128M uhci0: port 0xe200-0xe21f irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xe000-0xe01f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xe100-0xe11f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xec780000-0xec7803ff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered pcib1: at device 30.0 on pci0 pci1: on pcib1 fxp0: port 0xd100-0xd13f mem 0xec680000-0xec680fff irq 20 at device 8.0 on pci1 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:50:b7:f2:40:ea em0: port 0xd000-0xd03f mem 0xec620000-0xec63ffff,0xec600000-0xec61ffff irq 18 at device 9.0 on pci1 em0: Ethernet address: 00:50:b7:f2:40:eb pci1: at device 12.0 (no driver attached) pci1: at device 13.0 (no driver attached) pcib2: at device 15.0 on pci1 pci2: on pcib2 fxp1: port 0xc000-0xc03f mem 0xec502000-0xec502fff,0xec000000-0xec0fffff irq 23 at device 0.0 on pci2 miibus1: on fxp1 inphy1: on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: Ethernet address: 00:50:b7:f2:37:74 fxp2: port 0xc100-0xc13f mem 0xec500000-0xec500fff,0xec100000-0xec1fffff irq 20 at device 1.0 on pci2 miibus2: on fxp2 inphy2: on miibus2 inphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp2: Ethernet address: 00:50:b7:f2:37:73 fxp3: port 0xc200-0xc23f mem 0xec503000-0xec503fff,0xec200000-0xec2fffff irq 21 at device 2.0 on pci2 miibus3: on fxp3 inphy3: on miibus3 inphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp3: Ethernet address: 00:50:b7:f2:37:72 fxp4: port 0xc300-0xc33f mem 0xec501000-0xec501fff,0xec300000-0xec3fffff irq 22 at device 3.0 on pci2 miibus4: on fxp4 inphy4: on miibus4 inphy4: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp4: Ethernet address: 00:50:b7:f2:37:71 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 31.1 on pci0 ata0: on atapci0 ata1: on atapci0 pci0: at device 31.3 (no driver attached) pci0: at device 31.5 (no driver attached) acpi_tz0: on acpi0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A ppc0: port 0x378-0x37f,0x778-0x77b irq 7 on acpi0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sio2: <16550A-compatible COM port> port 0x3e8-0x3ef irq 10 on acpi0 sio2: type 16550A sio3: <16550A-compatible COM port> port 0x2e8-0x2ef irq 11 on acpi0 sio3: type 16550A 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 Timecounter "TSC" frequency 2799213056 Hz quality 800 Timecounters tick every 1.000 msec ad0: 1946MB at ata0-master PIO4 Trying to mount root from ufs:/dev/ad0s1a pid 17016 (watchdog.out), uid 0: exited on signal 10 (core dumped) pid 17032 (watchdog.out), uid 0: exited on signal 10 (core dumped) From owner-freebsd-hardware@FreeBSD.ORG Mon Dec 1 09:05:35 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D622F1065673 for ; Mon, 1 Dec 2008 09:05:35 +0000 (UTC) (envelope-from christoph.mallon@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 2A3CF8FC08 for ; Mon, 1 Dec 2008 09:05:34 +0000 (UTC) (envelope-from christoph.mallon@gmx.de) Received: (qmail invoked by alias); 01 Dec 2008 08:38:51 -0000 Received: from p54A3F341.dip.t-dialin.net (EHLO tron.homeunix.org) [84.163.243.65] by mail.gmx.net (mp049) with SMTP; 01 Dec 2008 09:38:51 +0100 X-Authenticated: #1673122 X-Provags-ID: V01U2FsdGVkX1+exZdWdvOeOWv4n2l3jMzD82lsWPBrwAU+hqbrns ADSVjpxmZgCbjH Message-ID: <4933A29B.8060907@gmx.de> Date: Mon, 01 Dec 2008 09:38:51 +0100 From: Christoph Mallon User-Agent: Thunderbird 2.0.0.18 (X11/20081124) MIME-Version: 1.0 To: Won De Erick References: <547602.79284.qm@web45809.mail.sp1.yahoo.com> In-Reply-To: <547602.79284.qm@web45809.mail.sp1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.63 Cc: freebsd-hackers@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: Watchdog for Boser (HS-7001) X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2008 09:05:35 -0000 Won De Erick schrieb: > Hello, > > I was trying the assembly language program that is specified in the following document (p24) to set, reset the built-in watchdog timer for the Boser Box. > > http://www.boser.com.tw/manual/HS-7001v1.1.pdf > > I then installed nasm in FreeBSD 6.2, and added the following lines at the beginning. > > section .text > global _start > > _start: > > I did assemble, link (ld) and got no error. But when I run, I got the following error: > > # ./watchdog.out > Bus error (core dumped) > MOV DX, 2EH > MOV AL, 87H > OUT DX, AL > OUT DX, AL Userland is not allowed to write to ports. That's the bus error you see. Also without a call to the exit syscall at the end, it will segfault. Regards Christoph From owner-freebsd-hardware@FreeBSD.ORG Mon Dec 1 09:20:16 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59592106567D for ; Mon, 1 Dec 2008 09:20:16 +0000 (UTC) (envelope-from won.derick@yahoo.com) Received: from n68.bullet.mail.sp1.yahoo.com (n68.bullet.mail.sp1.yahoo.com [98.136.44.44]) by mx1.freebsd.org (Postfix) with SMTP id 21E7B8FC1F for ; Mon, 1 Dec 2008 09:20:15 +0000 (UTC) (envelope-from won.derick@yahoo.com) Received: from [69.147.65.171] by n68.bullet.mail.sp1.yahoo.com with NNFMP; 01 Dec 2008 09:20:15 -0000 Received: from [69.147.84.34] by t13.bullet.mail.sp1.yahoo.com with NNFMP; 01 Dec 2008 09:20:15 -0000 Received: from [127.0.0.1] by omp210.mail.sp1.yahoo.com with NNFMP; 01 Dec 2008 09:20:15 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 833162.3025.bm@omp210.mail.sp1.yahoo.com Received: (qmail 7311 invoked by uid 60001); 1 Dec 2008 09:20:15 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Message-ID; b=v/gdz5wIir73955nlqaf+VS76PoAwGZaDyxP5q2G769ZgJMplu9oMuuQ24rUk6dPcJdgvFcTUoY07T2++zCgqmhXkklftE2HkHMZtiEa2Btum+Jy5GNVcJrb0ff39otmtPMOmmbLkpo7zAS3WIMYimarhnQkpi5GOXtR+sRSo7c=; X-YMail-OSG: 3RjG8MYVM1lM3Sf_ZZvJEZppfDxWZb1YYP__P6tysy2137viskpM9XwrwFKOyq1uOqlx6zSow79oI1Og5_zquksZjL7VXfDxh7cXtW7ox5RaobgICBqvH9LSqIOCjgip7lOJz9P1fCnsIv2sD_Jy9P.kUKrWl81qxwOY9kM1aw.Fmzxk5aQRlplVlVQb Received: from [58.71.34.137] by web45805.mail.sp1.yahoo.com via HTTP; Mon, 01 Dec 2008 01:20:14 PST X-Mailer: YahooMailRC/1155.32 YahooMailWebService/0.7.260.1 References: <547602.79284.qm@web45809.mail.sp1.yahoo.com> <4933A29B.8060907@gmx.de> <20081201090421.GA99082@rink.nu> Date: Mon, 1 Dec 2008 01:20:14 -0800 (PST) From: Won De Erick To: Rink Springer , Christoph Mallon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <611173.7111.qm@web45805.mail.sp1.yahoo.com> Cc: freebsd-hackers@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: Watchdog for Boser (HS-7001) X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2008 09:20:16 -0000 > ----- Original Message ---- > From: Rink Springer > > On Mon, Dec 01, 2008 at 09:38:51AM +0100, Christoph Mallon wrote: > > Userland is not allowed to write to ports. That's the bus error you see. > > Also without a call to the exit syscall at the end, it will segfault. > > Note that you can write to ports from userland by opening /dev/io - if > you have it opened, you can write to the ports. > I've added the following at the end mov eax, 1 ; SYS_exit call doint doint: int 0x80 ret Besides, I can see the following at /dev crw------- 1 root wheel 0, 16 Nov 27 01:53 io How should I make this open? do i need to %include this? > -- > Rink P.W. Springer - http://rink.nu > "Anyway boys, this is America. Just because you get more votes doesn't > mean you win." - Fox Mulder > From owner-freebsd-hardware@FreeBSD.ORG Mon Dec 1 09:22:19 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E869D1065679 for ; Mon, 1 Dec 2008 09:22:19 +0000 (UTC) (envelope-from rink@rink.nu) Received: from mx1.rink.nu (gloom.rink.nu [213.34.49.2]) by mx1.freebsd.org (Postfix) with ESMTP id AA4D58FC12 for ; Mon, 1 Dec 2008 09:22:19 +0000 (UTC) (envelope-from rink@rink.nu) Received: from localhost (localhost [127.0.0.1]) by mx1.rink.nu (Postfix) with ESMTP id CBB586D43B; Mon, 1 Dec 2008 10:04:24 +0100 (CET) X-Virus-Scanned: amavisd-new at rink.nu Received: from mx1.rink.nu ([213.34.49.2]) by localhost (gloom.rink.nu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l-JFh+L7wjuQ; Mon, 1 Dec 2008 10:04:21 +0100 (CET) Received: by mx1.rink.nu (Postfix, from userid 1000) id BE62E6D439; Mon, 1 Dec 2008 10:04:21 +0100 (CET) Date: Mon, 1 Dec 2008 10:04:21 +0100 From: Rink Springer To: Christoph Mallon Message-ID: <20081201090421.GA99082@rink.nu> References: <547602.79284.qm@web45809.mail.sp1.yahoo.com> <4933A29B.8060907@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4933A29B.8060907@gmx.de> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-hackers@freebsd.org, freebsd-hardware@freebsd.org, Won De Erick Subject: Re: Watchdog for Boser (HS-7001) X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2008 09:22:20 -0000 On Mon, Dec 01, 2008 at 09:38:51AM +0100, Christoph Mallon wrote: > Userland is not allowed to write to ports. That's the bus error you see. > Also without a call to the exit syscall at the end, it will segfault. Note that you can write to ports from userland by opening /dev/io - if you have it opened, you can write to the ports. -- Rink P.W. Springer - http://rink.nu "Anyway boys, this is America. Just because you get more votes doesn't mean you win." - Fox Mulder From owner-freebsd-hardware@FreeBSD.ORG Mon Dec 1 09:26:46 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C9421065673; Mon, 1 Dec 2008 09:26:46 +0000 (UTC) (envelope-from rink@rink.nu) Received: from mx1.rink.nu (gloom.rink.nu [213.34.49.2]) by mx1.freebsd.org (Postfix) with ESMTP id 1AB458FC17; Mon, 1 Dec 2008 09:26:46 +0000 (UTC) (envelope-from rink@rink.nu) Received: from localhost (localhost [127.0.0.1]) by mx1.rink.nu (Postfix) with ESMTP id F2C356D43B; Mon, 1 Dec 2008 10:27:23 +0100 (CET) X-Virus-Scanned: amavisd-new at rink.nu Received: from mx1.rink.nu ([213.34.49.2]) by localhost (gloom.rink.nu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9BpbvqcY3HfE; Mon, 1 Dec 2008 10:27:20 +0100 (CET) Received: by mx1.rink.nu (Postfix, from userid 1000) id AB1556D439; Mon, 1 Dec 2008 10:27:20 +0100 (CET) Date: Mon, 1 Dec 2008 10:27:20 +0100 From: Rink Springer To: Won De Erick Message-ID: <20081201092720.GB99082@rink.nu> References: <547602.79284.qm@web45809.mail.sp1.yahoo.com> <4933A29B.8060907@gmx.de> <20081201090421.GA99082@rink.nu> <611173.7111.qm@web45805.mail.sp1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <611173.7111.qm@web45805.mail.sp1.yahoo.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Christoph Mallon , freebsd-hackers@freebsd.org, Rink Springer , freebsd-hardware@freebsd.org Subject: Re: Watchdog for Boser (HS-7001) X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2008 09:26:46 -0000 On Mon, Dec 01, 2008 at 01:20:14AM -0800, Won De Erick wrote: > Besides, I can see the following at /dev > crw------- 1 root wheel 0, 16 Nov 27 01:53 io > > How should I make this open? do i need to %include this? No, you need to invoke an open syscall just in the same way you did the previous system call. Try looking at http://goodfellas.shellcode.com.ar/docz/asm/aslenguage.html, which is a tutorial for exactly this sort of thing. You don't have to read or write to it; just opening it is enough to get the I/O access you need. Regards, -- Rink P.W. Springer - http://rink.nu "Anyway boys, this is America. Just because you get more votes doesn't mean you win." - Fox Mulder > > > > -- > > Rink P.W. Springer - http://rink.nu > > "Anyway boys, this is America. Just because you get more votes doesn't > > mean you win." - Fox Mulder > > > > > > > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-hardware@FreeBSD.ORG Mon Dec 1 09:35:36 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 238A31065678 for ; Mon, 1 Dec 2008 09:35:36 +0000 (UTC) (envelope-from christoph.mallon@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id E317C8FC17 for ; Mon, 1 Dec 2008 09:35:34 +0000 (UTC) (envelope-from christoph.mallon@gmx.de) Received: (qmail invoked by alias); 01 Dec 2008 09:35:17 -0000 Received: from p54A3F341.dip.t-dialin.net (EHLO tron.homeunix.org) [84.163.243.65] by mail.gmx.net (mp008) with SMTP; 01 Dec 2008 10:35:17 +0100 X-Authenticated: #1673122 X-Provags-ID: V01U2FsdGVkX1+wfCJleOWwuIvfP2GVCbeELFTY0c8dvfNtfyg8uq xUdGkj+DKHg64E Message-ID: <4933AFD4.3070501@gmx.de> Date: Mon, 01 Dec 2008 10:35:16 +0100 From: Christoph Mallon User-Agent: Thunderbird 2.0.0.18 (X11/20081124) MIME-Version: 1.0 To: Won De Erick References: <547602.79284.qm@web45809.mail.sp1.yahoo.com> <4933A29B.8060907@gmx.de> <20081201090421.GA99082@rink.nu> <611173.7111.qm@web45805.mail.sp1.yahoo.com> In-Reply-To: <611173.7111.qm@web45805.mail.sp1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.51 Cc: freebsd-hackers@freebsd.org, Rink Springer , freebsd-hardware@freebsd.org Subject: Re: Watchdog for Boser (HS-7001) X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2008 09:35:36 -0000 Won De Erick schrieb: >> ----- Original Message ---- > >> From: Rink Springer >> >> > On Mon, Dec 01, 2008 at 09:38:51AM +0100, Christoph Mallon wrote: >>> Userland is not allowed to write to ports. That's the bus error you see. >>> Also without a call to the exit syscall at the end, it will segfault. >> Note that you can write to ports from userland by opening /dev/io - if >> you have it opened, you can write to the ports. >> > > I've added the following at the end > > mov eax, 1 ; SYS_exit > call doint > > doint: > int 0x80 > ret > > Besides, I can see the following at /dev > crw------- 1 root wheel 0, 16 Nov 27 01:53 io > > How should I make this open? do i need to %include this? You're probably better of writing this in C. Here is a wrapper for the out instruction: static inline outb(unsigned short port, unsigned char data) { asm("outb %0, %1" : : "a" (data), "dN" (port)); } As Rink mentioned, you have to open /dev/io. The process must have super-user privileges, see io(4). Regards Christoph From owner-freebsd-hardware@FreeBSD.ORG Mon Dec 1 12:14:53 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 213B91065672; Mon, 1 Dec 2008 12:14:53 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id D0DD98FC16; Mon, 1 Dec 2008 12:14:52 +0000 (UTC) (envelope-from des@des.no) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 5F7336D44C; Mon, 1 Dec 2008 11:58:21 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 3FFFB844A0; Mon, 1 Dec 2008 12:58:21 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Christoph Mallon References: <547602.79284.qm@web45809.mail.sp1.yahoo.com> <4933A29B.8060907@gmx.de> <20081201090421.GA99082@rink.nu> <611173.7111.qm@web45805.mail.sp1.yahoo.com> <4933AFD4.3070501@gmx.de> Date: Mon, 01 Dec 2008 12:58:21 +0100 In-Reply-To: <4933AFD4.3070501@gmx.de> (Christoph Mallon's message of "Mon, 01 Dec 2008 10:35:16 +0100") Message-ID: <86fxl8qf8i.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org, Rink Springer , freebsd-hardware@freebsd.org, Won De Erick Subject: Re: Watchdog for Boser (HS-7001) X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2008 12:14:53 -0000 Christoph Mallon writes: > You're probably better of writing this in C. He's probably better off writing a watchdog(4) driver for the Boser (or getting someone to write one for him - not easy to do without hardware to test on, though) DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-hardware@FreeBSD.ORG Mon Dec 1 12:19:16 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD7751065676; Mon, 1 Dec 2008 12:19:16 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from mout0.freenet.de (mout0.freenet.de [IPv6:2001:748:100:40::2:2]) by mx1.freebsd.org (Postfix) with ESMTP id 4E6308FC1E; Mon, 1 Dec 2008 12:19:15 +0000 (UTC) (envelope-from gary.jennejohn@freenet.de) Received: from [195.4.92.20] (helo=10.mx.freenet.de) by mout0.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #65) id 1L77kA-0003eI-Jz; Mon, 01 Dec 2008 13:19:14 +0100 Received: from maef9.m.pppool.de ([89.49.174.249]:35495 helo=ernst.jennejohn.org) by 10.mx.freenet.de with esmtpa (ID gary.jennejohn@freenet.de) (port 25) (Exim 4.69 #68) id 1L77kA-0005Bd-By; Mon, 01 Dec 2008 13:19:14 +0100 Date: Mon, 1 Dec 2008 13:19:12 +0100 From: Gary Jennejohn To: Christoph Mallon Message-ID: <20081201131912.355b8356@ernst.jennejohn.org> In-Reply-To: <4933A29B.8060907@gmx.de> References: <547602.79284.qm@web45809.mail.sp1.yahoo.com> <4933A29B.8060907@gmx.de> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, freebsd-hardware@freebsd.org, Won De Erick Subject: Re: Watchdog for Boser (HS-7001) X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gary.jennejohn@freenet.de List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2008 12:19:16 -0000 On Mon, 01 Dec 2008 09:38:51 +0100 Christoph Mallon wrote: > Won De Erick schrieb: > > Hello, > > > > I was trying the assembly language program that is specified in the following document (p24) to set, reset the built-in watchdog timer for the Boser Box. > > > > http://www.boser.com.tw/manual/HS-7001v1.1.pdf > > > > I then installed nasm in FreeBSD 6.2, and added the following lines at the beginning. > > > > section .text > > global _start > > > > _start: > > > > I did assemble, link (ld) and got no error. But when I run, I got the following error: > > > > # ./watchdog.out > > Bus error (core dumped) > > > MOV DX, 2EH > > MOV AL, 87H > > OUT DX, AL > > OUT DX, AL > > Userland is not allowed to write to ports. That's the bus error you see. > Also without a call to the exit syscall at the end, it will segfault. > See io(4), i386_get_ioperm(2), i386_set_ioperm(2), mem(4). --- Gary Jennejohn From owner-freebsd-hardware@FreeBSD.ORG Mon Dec 1 12:48:34 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3B0E1065670 for ; Mon, 1 Dec 2008 12:48:32 +0000 (UTC) (envelope-from won.derick@yahoo.com) Received: from n17.bullet.mail.mud.yahoo.com (n17.bullet.mail.mud.yahoo.com [68.142.206.144]) by mx1.freebsd.org (Postfix) with SMTP id A84478FC16 for ; Mon, 1 Dec 2008 12:48:32 +0000 (UTC) (envelope-from won.derick@yahoo.com) Received: from [209.191.108.96] by n17.bullet.mail.mud.yahoo.com with NNFMP; 01 Dec 2008 12:48:32 -0000 Received: from [68.142.201.244] by t3.bullet.mud.yahoo.com with NNFMP; 01 Dec 2008 12:48:32 -0000 Received: from [127.0.0.1] by omp405.mail.mud.yahoo.com with NNFMP; 01 Dec 2008 12:48:32 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 75877.3963.bm@omp405.mail.mud.yahoo.com Received: (qmail 30561 invoked by uid 60001); 1 Dec 2008 12:48:31 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=Uu447YcK6llKNJDEyyp+OG7gTODGgYxTT/oqAjFB5Xle/mRbQJx2clvc02DMTEg//FsrVFB9f+9DHCdgaBzcQ7pYMx3MzgIs/aTrh9mvBvN5QkQACPq1mMrLXOYNfCoeJysC3pib8at5J6onrpv97GvU9bGMThsodP5SsgEwQb4=; X-YMail-OSG: 6Ms36DgVM1n55Te7WUmItmUIGzFpHiuQ0Kegns6n9.xUQADElJj3A58KSsH7JAqADfribFIT9QxHMKFzCShrsiSMhPQfqGBFg_5II33ILS2Bw.d28s0abrEQ0vAHTQTKEven4DZ.oV0dRqAtNoMovSXx1L9mI.4PrB8RI8K1OxiVBn.k7wfAVX6fyWI9 Received: from [58.71.34.137] by web45815.mail.sp1.yahoo.com via HTTP; Mon, 01 Dec 2008 04:48:31 PST X-Mailer: YahooMailRC/1155.32 YahooMailWebService/0.7.260.1 References: <547602.79284.qm@web45809.mail.sp1.yahoo.com> <4933A29B.8060907@gmx.de> <20081201090421.GA99082@rink.nu> <611173.7111.qm@web45805.mail.sp1.yahoo.com> <4933AFD4.3070501@gmx.de> <86fxl8qf8i.fsf@ds4.des.no> Date: Mon, 1 Dec 2008 04:48:31 -0800 (PST) From: Won De Erick To: =?iso-8859-1?Q?Dag-Erling_Sm=F8rgrav?= , Christoph Mallon MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <576032.29521.qm@web45815.mail.sp1.yahoo.com> Cc: freebsd-hackers@freebsd.org, Rink Springer , freebsd-hardware@freebsd.org Subject: Re: Watchdog for Boser (HS-7001) X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2008 12:48:34 -0000 > ----- Original Message ----=0A=0A> From: Dag-Erling Sm=F8rgrav =0A> Christoph Mallon writes:=0A> > You're prob= ably better of writing this in C.=0Amaybe i get this as an option.=0A> =0A>= He's probably better off writing a watchdog(4) driver for the Boser (or=0A= > getting someone to write one for him - not easy to do without hardware=0A= > to test on, though)=0A> =0Athis is a great info. i am used to settings li= ke the following when using ipmi-compliant platform.=0A#bmc-watchdog -s -a = 1 -i 100 (#set timeout action to hard reset after a timeout of 100 secon= ds)=0Athen daemonize to constantly reset the timer, and prevent the box fro= m restarting.=0A=0AI installed watchdog(/usr/ports/sysutils/watchdog) from = ports, then noticed the following from the manual.=0A watchdog [-d] [-t= timeout]=0A=0A# watchdog -d -t 50=0ATimeout is 2^36 nanoseconds=0Awatchdog= : patting the dog: Operation not supported=0A=0Abut I don't know how it is = linked with watchdogd(8).=0A=0ALittle more explanation is appreciated, and/= or an example.=0A=0A> DES=0A> -- =0A> Dag-Erling Sm=F8rgrav - des@des.no=0A= =0A=0A From owner-freebsd-hardware@FreeBSD.ORG Mon Dec 1 12:52:44 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90CC8106567C for ; Mon, 1 Dec 2008 12:52:44 +0000 (UTC) (envelope-from won.derick@yahoo.com) Received: from n69.bullet.mail.sp1.yahoo.com (n69.bullet.mail.sp1.yahoo.com [98.136.44.41]) by mx1.freebsd.org (Postfix) with SMTP id 5C3518FC1D for ; Mon, 1 Dec 2008 12:52:44 +0000 (UTC) (envelope-from won.derick@yahoo.com) Received: from [69.147.65.174] by n69.bullet.mail.sp1.yahoo.com with NNFMP; 01 Dec 2008 12:52:44 -0000 Received: from [69.147.65.152] by t12.bullet.mail.sp1.yahoo.com with NNFMP; 01 Dec 2008 12:52:44 -0000 Received: from [127.0.0.1] by omp400.mail.sp1.yahoo.com with NNFMP; 01 Dec 2008 12:52:43 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 982965.16608.bm@omp400.mail.sp1.yahoo.com Received: (qmail 65780 invoked by uid 60001); 1 Dec 2008 12:52:43 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Message-ID; b=V8JSOJZb2YkCFCPsGUQI5K1ajK8Pa/rxpg/kyC95VcjUtlhFJDYULzotqgR9qfTc7R+NMY0J+ubFE43DjF1pt1ViCBjkP44PAMYXuNvSbpqExbpOky1gJl9JhqpkwD+v3QcASXB382kDs/KIxHL4tpgCtSoGZnxLpGaX8zoyo0k=; X-YMail-OSG: 82GVhzIVM1lsMCLKSac1mMSGmPNdZ96EPEwt0G7RhyvAdcS0CMWT3HA6EZ.41YScESAHSgm87QjZlG7wOaNo.hupE7q4RRyqHJ_O5at6m7hNYkG.pJCPdyIvbEr19XzzpP6WSNZH4m8SYepv2phs5TwyJ1Ob6DwM2uqauaBgUxP5VIW0m1kAytCszaVi Received: from [58.71.34.137] by web45808.mail.sp1.yahoo.com via HTTP; Mon, 01 Dec 2008 04:52:43 PST X-Mailer: YahooMailRC/1155.32 YahooMailWebService/0.7.260.1 Date: Mon, 1 Dec 2008 04:52:43 -0800 (PST) From: Won De Erick To: Christoph Mallon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <838497.65099.qm@web45808.mail.sp1.yahoo.com> Cc: freebsd-hackers@freebsd.org, Rink Springer , freebsd-hardware@freebsd.org Subject: Re: Watchdog for Boser (HS-7001) X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2008 12:52:44 -0000 >----- Original Message ---- >From: Christoph Mallon > > Won De Erick schrieb: >>> ----- Original Message ---- >> >>> From: Rink Springer >>> >>> >> On Mon, Dec 01, 2008 at 09:38:51AM +0100, Christoph Mallon wrote: >>>> Userland is not allowed to write to ports. That's the bus error you see. Also without a call to the exit syscall at the end, it will segfault. >>> Note that you can write to ports from userland by opening /dev/io - if >>> you have it opened, you can write to the ports. >>> >> >> I've added the following at the end >> >> mov eax, 1 ; SYS_exit >> call doint >> >> doint: >> int 0x80 >> ret >> >> Besides, I can see the following at /dev >> crw------- 1 root wheel 0, 16 Nov 27 01:53 io >> >> How should I make this open? do i need to %include this? > >You're probably better of writing this in C. Here is a wrapper for the out instruction: > >static inline outb(unsigned short port, unsigned char data) >{ > asm("outb %0, %1" : : "a" (data), "dN" (port)); >} > >As Rink mentioned, you have to open /dev/io. The process must have super-user privileges, see io(4). will this be ok? int fd = open("/dev/fido", O_RDWR); > >Regards > Christoph From owner-freebsd-hardware@FreeBSD.ORG Mon Dec 1 13:07:39 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FBE91065677 for ; Mon, 1 Dec 2008 13:07:39 +0000 (UTC) (envelope-from won.derick@yahoo.com) Received: from n13b.bullet.mail.mud.yahoo.com (n13b.bullet.mail.mud.yahoo.com [68.142.207.222]) by mx1.freebsd.org (Postfix) with SMTP id CE6498FC0C for ; Mon, 1 Dec 2008 13:07:38 +0000 (UTC) (envelope-from won.derick@yahoo.com) Received: from [68.142.200.227] by n13.bullet.mail.mud.yahoo.com with NNFMP; 01 Dec 2008 13:07:38 -0000 Received: from [68.142.201.254] by t8.bullet.mud.yahoo.com with NNFMP; 01 Dec 2008 13:07:38 -0000 Received: from [127.0.0.1] by omp415.mail.mud.yahoo.com with NNFMP; 01 Dec 2008 13:07:38 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 327366.6780.bm@omp415.mail.mud.yahoo.com Received: (qmail 25032 invoked by uid 60001); 1 Dec 2008 13:07:37 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Message-ID; b=Ro7gstu12jL3stmqpmEalaOKX6tJSpy3aI2IQ4x7HOwAoaQe+bSidMqInJUYn+Nq/QJ1zY263dJVmOjWnjyq221c6dr7zZs7RG6jHhc3Oi6wUMhB3GfoPSht3dAi8b8lnpdYJPxDl74i2D7+dClIM+IMmPpMoBCeFLd0e0HKhos=; X-YMail-OSG: c5TDNu8VM1kS6iJI4fAgQUnbBZSvyMVeqdMfbEZKBpe7aLQ6fdyJlsQQaRtyWDBz3d9niZbsG9xbJYEedPpSynTDOy5JMogBH9BbXQO5IQfy9_nwEMNs.osRYWecULfsTB.bqOPb0WEKqrU9mIT0h0Y5Rplm9FZd7_g.A_rwCngevKHezEGw.shZPsKF Received: from [58.71.34.137] by web45816.mail.sp1.yahoo.com via HTTP; Mon, 01 Dec 2008 05:07:37 PST X-Mailer: YahooMailRC/1155.32 YahooMailWebService/0.7.260.1 Date: Mon, 1 Dec 2008 05:07:37 -0800 (PST) From: Won De Erick To: Christoph Mallon MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <839504.20277.qm@web45816.mail.sp1.yahoo.com> Cc: freebsd-hackers@freebsd.org, Rink Springer , freebsd-hardware@freebsd.org Subject: Re: Watchdog for Boser (HS-7001) X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2008 13:07:39 -0000 >From: Won De Erick >>From: Christoph Mallon >> > >Won De Erick schrieb: >>>> ----- Original Message ---- >>> >>>> From: Rink Springer >>>> >>>> >>> On Mon, Dec 01, 2008 at 09:38:51AM +0100, Christoph Mallon wrote: >>>>> Userland is not allowed to write to ports. That's the bus error you see. Also without a call to the exit syscall at the end, it will segfault. >>>> Note that you can write to ports from userland by opening /dev/io - if >>>> you have it opened, you can write to the ports. >>>> >>> >>> I've added the following at the end >>> >>> mov eax, 1 ; SYS_exit >>> call doint >>> >>> doint: >>> int 0x80 >>> ret >>> >>> Besides, I can see the following at /dev >>> crw------- 1 root wheel 0, 16 Nov 27 01:53 io >>> >>> How should I make this open? do i need to %include this? >> >>You're probably better of writing this in C. Here is a wrapper for the out instruction: >> >>static inline outb(unsigned short port, unsigned char data) >>{ >> asm("outb %0, %1" : : "a" (data), "dN" (port)); >>} >> >>As Rink mentioned, you have to open /dev/io. The process must have super-user privileges, see io(4). > >will this be ok? >int fd = open("/dev/fido", O_RDWR); > aww.. i mean int sio = open("/dev/io", O_RDWR); > >> >>Regards >> Christoph From owner-freebsd-hardware@FreeBSD.ORG Mon Dec 1 13:32:28 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76E131065672; Mon, 1 Dec 2008 13:32:27 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 2EF198FC13; Mon, 1 Dec 2008 13:32:27 +0000 (UTC) (envelope-from des@des.no) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 319C46D43F; Mon, 1 Dec 2008 13:32:26 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 10069844A0; Mon, 1 Dec 2008 14:32:26 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Won De Erick References: <547602.79284.qm@web45809.mail.sp1.yahoo.com> <4933A29B.8060907@gmx.de> <20081201090421.GA99082@rink.nu> <611173.7111.qm@web45805.mail.sp1.yahoo.com> <4933AFD4.3070501@gmx.de> <86fxl8qf8i.fsf@ds4.des.no> <576032.29521.qm@web45815.mail.sp1.yahoo.com> Date: Mon, 01 Dec 2008 14:32:25 +0100 In-Reply-To: <576032.29521.qm@web45815.mail.sp1.yahoo.com> (Won De Erick's message of "Mon, 1 Dec 2008 04:48:31 -0800 (PST)") Message-ID: <867i6kqavq.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org, Christoph Mallon , Rink Springer , freebsd-hardware@freebsd.org Subject: Re: Watchdog for Boser (HS-7001) X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2008 13:32:28 -0000 Won De Erick writes: > this is a great info. i am used to settings like the following when using= ipmi-compliant platform. > #bmc-watchdog -s -a 1 -i 100 (#set timeout action to hard reset after = a timeout of 100 seconds) > then daemonize to constantly reset the timer, and prevent the box from re= starting. > > I installed watchdog(/usr/ports/sysutils/watchdog) from ports, Firt of all, that port won't help you; it only supports the AMD Elan SoC. Second, we've had kernel support for the Elan watchdog longer than the port has existed. > then noticed the following from the manual. > watchdog [-d] [-t timeout] That's the base system watchdog(8); the port installs a watchdogd(8) that works *only* for Elan chips. There is a watchdogd(8) in the base system as well. > # watchdog -d -t 50 > Timeout is 2^36 nanoseconds > watchdog: patting the dog: Operation not supported You need to load the appropriate watchdog driver first - and as far as I know, we don't have one for the Boser HS-7001. > but I don't know how it is linked with watchdogd(8). > > Little more explanation is appreciated, and/or an example. man -k watchdog DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-hardware@FreeBSD.ORG Mon Dec 1 15:55:01 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37AAF1065670; Mon, 1 Dec 2008 15:55:01 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id E2A238FC0C; Mon, 1 Dec 2008 15:55:00 +0000 (UTC) (envelope-from des@des.no) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 9B0EC6D43F; Mon, 1 Dec 2008 15:54:59 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 75CCB844A0; Mon, 1 Dec 2008 16:54:59 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Won De Erick References: <547602.79284.qm@web45809.mail.sp1.yahoo.com> <4933A29B.8060907@gmx.de> <20081201090421.GA99082@rink.nu> <611173.7111.qm@web45805.mail.sp1.yahoo.com> <4933AFD4.3070501@gmx.de> <86fxl8qf8i.fsf@ds4.des.no> <576032.29521.qm@web45815.mail.sp1.yahoo.com> <867i6kqavq.fsf@ds4.des.no> Date: Mon, 01 Dec 2008 16:54:59 +0100 In-Reply-To: <867i6kqavq.fsf@ds4.des.no> ("Dag-Erling =?utf-8?Q?Sm=C3=B8rg?= =?utf-8?Q?rav=22's?= message of "Mon, 01 Dec 2008 14:32:25 +0100") Message-ID: <86myffq4a4.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org, Christoph Mallon , Rink Springer , freebsd-hardware@freebsd.org Subject: Re: Watchdog for Boser (HS-7001) X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2008 15:55:01 -0000 Dag-Erling Sm=C3=B8rgrav writes: > You need to load the appropriate watchdog driver first - and as far as I > know, we don't have one for the Boser HS-7001. I can't find the 7001 on Boser's web site, but their other SBCs seem to be ICH-based; try 'kldload ichwd'. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-hardware@FreeBSD.ORG Mon Dec 1 21:44:32 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA729106567E for ; Mon, 1 Dec 2008 21:44:32 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5E1B78FC22 for ; Mon, 1 Dec 2008 21:44:32 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.3/8.14.3) with ESMTP id mB1LhaQm000939; Mon, 1 Dec 2008 16:43:42 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-hardware@freebsd.org, fbsd@dannysplace.net Date: Mon, 1 Dec 2008 15:07:55 -0500 User-Agent: KMail/1.9.7 References: <492D7814.2010302@ccstores.com> <49328F33.8080705@dannysplace.net> In-Reply-To: <49328F33.8080705@dannysplace.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812011507.55934.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Mon, 01 Dec 2008 16:43:45 -0500 (EST) X-Virus-Scanned: ClamAV 0.93.1/8704/Mon Dec 1 11:39:36 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Jim Pazarena Subject: Re: ciss0 driver/routines X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Dec 2008 21:44:32 -0000 On Sunday 30 November 2008 08:03:47 am Danny Carroll wrote: > Jim Pazarena wrote: > > noticed a glaring spelling mistake on a CLI notification, and wasn't > > sure who (or how) to report it. > > > > message as follows: > > > > ciss0: *** Parity/consistency initialization complete, logical drive 0 > > > > then, > > > > ciss0: logical drive 0 c7 completed consistency initialisation > > ^^^^^^^^^^^^^^^^ s/b > > initialization > > > > > Perhaps this driver was written by both an American and a European or > Australian.... > > >From my perspective the first message is the one spelt wrong. My guess would be the first message is a string from the firmware (using American English). The second message is from the driver which was originally written by an Australian. -- John Baldwin From owner-freebsd-hardware@FreeBSD.ORG Tue Dec 2 11:05:31 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEF1D106567B for ; Tue, 2 Dec 2008 11:05:31 +0000 (UTC) (envelope-from janm@transactionware.com) Received: from mail.transactionware.com (mail.transactionware.com [203.14.245.7]) by mx1.freebsd.org (Postfix) with SMTP id 102AB8FC18 for ; Tue, 2 Dec 2008 11:05:30 +0000 (UTC) (envelope-from janm@transactionware.com) Received: (qmail 89808 invoked from network); 2 Dec 2008 10:39:11 -0000 Received: from midgard.transactionware.com (192.168.1.55) by dm.transactionware.com with SMTP; 2 Dec 2008 10:39:11 -0000 Received: (qmail 38406 invoked by uid 907); 2 Dec 2008 10:38:48 -0000 Received: from midgard.transactionware.com (HELO STUDYPC) (192.168.1.55) by midgard.transactionware.com (qpsmtpd/0.32) with ESMTP; Tue, 02 Dec 2008 21:38:48 +1100 From: "Jan Mikkelsen" To: "'Wes Morgan'" , "'Matt Simerson'" Date: Tue, 2 Dec 2008 21:38:49 +1100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.6838 Importance: Normal Thread-Index: AclIqgYOka1HNfubTKa7sEYbDvvTRwLvtSIg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 In-Reply-To: Cc: freebsd-fs@freebsd.org, freebsd-hardware@freebsd.org Subject: RE: Areca vs. ZFS performance testing. X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Dec 2008 11:05:31 -0000 Hi, Wes Morgan wrote: > On Sun, 16 Nov 2008, Matt Simerson wrote: >=20 > > The Areca cards do NOT have the cache enabled by default. I=20 > ordered the=20 > > optional battery and RAM upgrade for my collection of=20 > 1231ML cards. Even with=20 > > the BBWC, the cache is not enabled by default. I had to go=20 > out of my way to=20 > > enable it, on every single controller. >=20 > Are you using these areca cards successfully with large=20 > arrays? I found a=20 > 1680i card for a decent price and installed it this weekend,=20 > but since=20 > then I'm seeing the raidz2 pool that it's running hang so=20 > frequently that=20 > I can't even trust using it. The hangs occur in both 7-stable and=20 > 8-current with the new ZFS patch. Same exact settings that=20 > have been rock=20 > solid for me before now don't want to work at all. The drives=20 > are just set=20 > as JBOD -- the controller actually defaulted to this, so I=20 > didn't have to=20 > make any real changes in the BIOS. >=20 > Any tips on your setup? Did you have any similar problems? I am seeing I/O related lockups on 7.1-PRE with an Areca ARC-1220 = controller and eight drives in a RAID-6 array. The same hardware works fine with = 6.3. When I run gstat while it is happening I see I/O performance drop and = the time to service each write (ms/w) goes up, and then suddenly goes back = down to a sensible value. I have seen it get to about 22000ms. The system is essentially unusable for writes, which limits the utility = a bit. Reads seem fine. Is this similar to the behaviour you saw? Thanks, Jan Mikkelsen From owner-freebsd-hardware@FreeBSD.ORG Tue Dec 2 12:04:37 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42E56106564A; Tue, 2 Dec 2008 12:04:37 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from warped.bluecherry.net (unknown [IPv6:2001:440:eeee:fffb::2]) by mx1.freebsd.org (Postfix) with ESMTP id A3F708FC1A; Tue, 2 Dec 2008 12:04:36 +0000 (UTC) (envelope-from morganw@chemikals.org) Received: from volatile.chemikals.org (unknown [74.193.182.107]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by warped.bluecherry.net (Postfix) with ESMTPSA id 1EF3DA16A620; Tue, 2 Dec 2008 06:04:35 -0600 (CST) Received: from localhost (morganw@localhost [127.0.0.1]) by volatile.chemikals.org (8.14.3/8.14.3) with ESMTP id mB2C4RhK000817; Tue, 2 Dec 2008 06:04:29 -0600 (CST) (envelope-from morganw@chemikals.org) Date: Tue, 2 Dec 2008 06:04:27 -0600 (CST) From: Wes Morgan To: Jan Mikkelsen In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-fs@freebsd.org, 'Matt Simerson' , freebsd-hardware@freebsd.org Subject: RE: Areca vs. ZFS performance testing. X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Dec 2008 12:04:37 -0000 On Tue, 2 Dec 2008, Jan Mikkelsen wrote: > Hi, > > Wes Morgan wrote: >> On Sun, 16 Nov 2008, Matt Simerson wrote: >> >>> The Areca cards do NOT have the cache enabled by default. I >> ordered the >>> optional battery and RAM upgrade for my collection of >> 1231ML cards. Even with >>> the BBWC, the cache is not enabled by default. I had to go >> out of my way to >>> enable it, on every single controller. >> >> Are you using these areca cards successfully with large >> arrays? I found a >> 1680i card for a decent price and installed it this weekend, >> but since >> then I'm seeing the raidz2 pool that it's running hang so >> frequently that >> I can't even trust using it. The hangs occur in both 7-stable and >> 8-current with the new ZFS patch. Same exact settings that >> have been rock >> solid for me before now don't want to work at all. The drives >> are just set >> as JBOD -- the controller actually defaulted to this, so I >> didn't have to >> make any real changes in the BIOS. >> >> Any tips on your setup? Did you have any similar problems? > > I am seeing I/O related lockups on 7.1-PRE with an Areca ARC-1220 controller > and eight drives in a RAID-6 array. The same hardware works fine with 6.3. > > When I run gstat while it is happening I see I/O performance drop and the > time to service each write (ms/w) goes up, and then suddenly goes back down > to a sensible value. I have seen it get to about 22000ms. > > The system is essentially unusable for writes, which limits the utility a > bit. Reads seem fine. > > Is this similar to the behaviour you saw? Not quite. The zfs deadlock/hang effected both reads and writes, blocking either of them indefinitely. They were "fixed" by the most recent set of patches in -current. From owner-freebsd-hardware@FreeBSD.ORG Wed Dec 3 09:01:24 2008 Return-Path: Delivered-To: hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 620FC1065771 for ; Wed, 3 Dec 2008 09:01:24 +0000 (UTC) (envelope-from todorov@paladin.bulgarpress.com) Received: from paladin.bulgarpress.com (paladin.bulgarpress.com [195.24.42.3]) by mx1.freebsd.org (Postfix) with ESMTP id 08FAA8FC0A for ; Wed, 3 Dec 2008 09:01:23 +0000 (UTC) (envelope-from todorov@paladin.bulgarpress.com) Received: from localhost (localhost [127.0.0.1]) by paladin.bulgarpress.com (Postfix) with ESMTP id 9D216617F; Wed, 3 Dec 2008 11:01:22 +0200 (EET) X-Virus-Scanned: amavisd-new at paladin.bulgarpress.com Received: from paladin.bulgarpress.com ([195.24.42.3]) by localhost (paladin.bulgarpress.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RDGXv3-COshi; Wed, 3 Dec 2008 11:01:21 +0200 (EET) Received: from [192.168.0.151] (gate.stanga.net [195.34.122.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by paladin.bulgarpress.com (Postfix) with ESMTPSA id 0C0436149; Wed, 3 Dec 2008 11:01:21 +0200 (EET) Message-ID: <49364AE0.90206@paladin.bulgarpress.com> Date: Wed, 03 Dec 2008 11:01:20 +0200 From: Todorov Organization: Powerforge Net User-Agent: Thunderbird 2.0.0.18 (X11/20081124) MIME-Version: 1.0 To: Nick Hibma , Mike Tancsa , FreeBSD Hardware Mailing list References: <200810092344.10388.nick@van-laarhoven.org> <200811051548.mA5Fmsot040177@lava.sentex.ca> <200811062203.mA6M3ij3048835@lava.sentex.ca> <200811071453.07665.nick@van-laarhoven.org> In-Reply-To: <200811071453.07665.nick@van-laarhoven.org> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Request for testers: Option 3G cards, also Sierra, Huawei and Novatel X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2008 09:01:24 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I was trying to test my PCMCIA but I got this message : link_elf: symbol ucom_attach_tty undefined FreeBSD 7.0-RELEASE-p5 PCMCIA Huawei E630 Please comment, Thanks. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkk2SuAACgkQibJkIG65HMdjsQCgjVPuwgymPtLjz6S7OlFSKgO4 OcAAn0Nj4iTky7l+Soj5SMmlQ5IU+bXo =eAUA -----END PGP SIGNATURE----- From owner-freebsd-hardware@FreeBSD.ORG Wed Dec 3 09:42:27 2008 Return-Path: Delivered-To: hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84DE11065672 for ; Wed, 3 Dec 2008 09:42:27 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.186]) by mx1.freebsd.org (Postfix) with ESMTP id 392478FC17 for ; Wed, 3 Dec 2008 09:42:27 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: by rn-out-0910.google.com with SMTP id j71so2985559rne.12 for ; Wed, 03 Dec 2008 01:42:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=iUEISmU99ibUreiPmVzpzlEsfFamlwgiNwPQbA2LOUw=; b=X8NT9dRBjP5xeF50oESMRVn/89c3U4KchEhlML3RMO3t6KatZ+P7UI6o19hxtpnvyw 6oKSOz4WAe4idWJCv2huldcfK5oxib5k7OfJECvUdIVgPyl8NdURHlB2Nju7KIx4au8r qBEuJmWA7KxUF6bJ190zvU6sQmhSVC4biLi2k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=KAT0QbEJeKTnD7iVcychBUgttQFioghTPPywsXEnclbvFufhUS7Nzm19JCOco7hNKG 7Kz4Do8JW5epxgN7my/hh7nKDayX6FlDk5aJeNfp6l3mjZ3GSJBTcZ0zSr7hvqGCHYtI roKWMoVppJVJr//lOY8gOJeX27Tw53imglUq0= Received: by 10.90.94.3 with SMTP id r3mr7192681agb.18.1228295375508; Wed, 03 Dec 2008 01:09:35 -0800 (PST) Received: by 10.90.96.4 with HTTP; Wed, 3 Dec 2008 01:09:35 -0800 (PST) Message-ID: Date: Wed, 3 Dec 2008 12:09:35 +0300 From: pluknet To: Todorov In-Reply-To: <49364AE0.90206@paladin.bulgarpress.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200810092344.10388.nick@van-laarhoven.org> <200811051548.mA5Fmsot040177@lava.sentex.ca> <200811062203.mA6M3ij3048835@lava.sentex.ca> <200811071453.07665.nick@van-laarhoven.org> <49364AE0.90206@paladin.bulgarpress.com> Cc: FreeBSD Hardware Mailing list , Nick Hibma , Mike Tancsa Subject: Re: Request for testers: Option 3G cards, also Sierra, Huawei and Novatel X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2008 09:42:27 -0000 2008/12/3 Todorov : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > I was trying to test my PCMCIA but I got this message : > > link_elf: symbol ucom_attach_tty undefined > > FreeBSD 7.0-RELEASE-p5 PCMCIA Huawei E630 > Just for clarification: did you include device ucom in your kernel config? -- wbr, pluknet From owner-freebsd-hardware@FreeBSD.ORG Wed Dec 3 10:52:25 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E2AE1065670 for ; Wed, 3 Dec 2008 10:52:25 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from hpsmtp-eml14.kpnxchange.com (hpsmtp-eml14.KPNXCHANGE.COM [213.75.38.114]) by mx1.freebsd.org (Postfix) with ESMTP id A18808FC0C for ; Wed, 3 Dec 2008 10:52:24 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from cpsmtp-eml102.kpnxchange.com ([213.75.84.102]) by hpsmtp-eml14.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 3 Dec 2008 11:40:19 +0100 Received: from uitsmijter.van-laarhoven.org ([81.207.207.222]) by cpsmtp-eml102.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 3 Dec 2008 11:40:17 +0100 Received: (qmail 12419 invoked by uid 98); 3 Dec 2008 10:40:10 -0000 Received: from 10.66.0.133 (nick@10.66.0.133) by uitsmijter.van-laarhoven.org (envelope-from , uid 82) with qmail-scanner-2.01 (clamdscan: 0.92/5270. f-prot: 4.6.7/3.16.15. spamassassin: 3.2.3. Clear:RC:1(10.66.0.133):. Processed in 0.848785 secs); 03 Dec 2008 10:40:10 -0000 Received: from unknown (HELO van-laarhoven.org) (nick@10.66.0.133) by uitsmijter.van-laarhoven.org with SMTP; 3 Dec 2008 10:40:09 -0000 Received: (nullmailer pid 12598 invoked by uid 1001); Wed, 03 Dec 2008 10:40:08 -0000 From: Nick Hibma To: freebsd-hardware@freebsd.org Date: Wed, 3 Dec 2008 11:40:07 +0100 User-Agent: KMail/1.9.10 References: <200810092344.10388.nick@van-laarhoven.org> <200811071453.07665.nick@van-laarhoven.org> <49364AE0.90206@paladin.bulgarpress.com> In-Reply-To: <49364AE0.90206@paladin.bulgarpress.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812031140.07605.nick@van-laarhoven.org> X-OriginalArrivalTime: 03 Dec 2008 10:40:19.0699 (UTC) FILETIME=[89995430:01C95533] Subject: Re: Request for testers: Option 3G cards, also Sierra, Huawei and Novatel X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2008 10:52:25 -0000 You need to upgrade to a more recent FBSD 7 version. Like for example 7.1-RC1 or 7-STABLE. Nick > Hi, > > I was trying to test my PCMCIA but I got this message : > > link_elf: symbol ucom_attach_tty undefined > > FreeBSD 7.0-RELEASE-p5 PCMCIA Huawei E630 > > Please comment, > Thanks. > _______________________________________________ > freebsd-hardware@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hardware > To unsubscribe, send any mail to > "freebsd-hardware-unsubscribe@freebsd.org" From owner-freebsd-hardware@FreeBSD.ORG Wed Dec 3 11:02:04 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84D881065675 for ; Wed, 3 Dec 2008 11:02:04 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from hpsmtp-eml14.kpnxchange.com (hpsmtp-eml14.KPNXCHANGE.COM [213.75.38.114]) by mx1.freebsd.org (Postfix) with ESMTP id 1473F8FC13 for ; Wed, 3 Dec 2008 11:02:03 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from cpsmtp-eml104.kpnxchange.com ([213.75.84.104]) by hpsmtp-eml14.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 3 Dec 2008 12:02:03 +0100 Received: from uitsmijter.van-laarhoven.org ([81.207.207.222]) by cpsmtp-eml104.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 3 Dec 2008 12:02:00 +0100 Received: (qmail 12567 invoked by uid 98); 3 Dec 2008 11:01:51 -0000 Received: from 10.66.0.133 (nick@10.66.0.133) by uitsmijter.van-laarhoven.org (envelope-from , uid 82) with qmail-scanner-2.01 (clamdscan: 0.92/5270. f-prot: 4.6.7/3.16.15. spamassassin: 3.2.3. Clear:RC:1(10.66.0.133):. Processed in 1.129206 secs); 03 Dec 2008 11:01:51 -0000 Received: from unknown (HELO van-laarhoven.org) (nick@10.66.0.133) by uitsmijter.van-laarhoven.org with SMTP; 3 Dec 2008 11:01:50 -0000 Received: (nullmailer pid 12775 invoked by uid 1001); Wed, 03 Dec 2008 11:01:49 -0000 From: Nick Hibma To: freebsd-hardware@freebsd.org Date: Wed, 3 Dec 2008 12:01:48 +0100 User-Agent: KMail/1.9.10 References: <200810092344.10388.nick@van-laarhoven.org> <49364AE0.90206@paladin.bulgarpress.com> <200812031140.07605.nick@van-laarhoven.org> In-Reply-To: <200812031140.07605.nick@van-laarhoven.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812031201.49063.nick@van-laarhoven.org> X-OriginalArrivalTime: 03 Dec 2008 11:02:02.0865 (UTC) FILETIME=[9258AE10:01C95536] Subject: Re: Request for testers: Option 3G cards, also Sierra, Huawei and Novatel X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2008 11:02:04 -0000 Or just could try updating only sys/dev/usb/ucom.c and ucomvar.h, but I am not sure whether that works. Nick > You need to upgrade to a more recent FBSD 7 version. Like for example > 7.1-RC1 or 7-STABLE. > > Nick > > > Hi, > > > > I was trying to test my PCMCIA but I got this message : > > > > link_elf: symbol ucom_attach_tty undefined > > > > FreeBSD 7.0-RELEASE-p5 PCMCIA Huawei E630 > > > > Please comment, > > Thanks. > > _______________________________________________ > > freebsd-hardware@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-hardware > > To unsubscribe, send any mail to > > "freebsd-hardware-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-hardware@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hardware > To unsubscribe, send any mail to > "freebsd-hardware-unsubscribe@freebsd.org" From owner-freebsd-hardware@FreeBSD.ORG Thu Dec 4 06:02:29 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AEEFA106564A for ; Thu, 4 Dec 2008 06:02:29 +0000 (UTC) (envelope-from kungfujesus06@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.187]) by mx1.freebsd.org (Postfix) with ESMTP id 6A9688FC12 for ; Thu, 4 Dec 2008 06:02:29 +0000 (UTC) (envelope-from kungfujesus06@gmail.com) Received: by rn-out-0910.google.com with SMTP id j71so3527058rne.12 for ; Wed, 03 Dec 2008 22:02:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=KLCvwNibyRN7pi9kloYtej4tdS8Fs0Yoxr0zENzm0K8=; b=d5Z/qffajk/y4g/gXfsMVG9HE57jXmnvaZ42Xgia3b7lPZ3SYy6NTAwh+EznazWeJk RdYIWU6kfk34k1a+6eLwugO2D6TbU0PvPxCy9zbDCh3poxmNtY6eOkEzUI/58VRimoto JLsR6i4iKKRNAW5IvQVYZgimphXDfFKTk2yfY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=hMa+obdWQFU4kzsaBr6Hazp9zMehKAihfhs4st6t0+cCWH6gPX7r/shIGsxHzghtYa 8ANlvRnxvHBZIAREWTwoaoYNvD5vYHMsWw+zYH4MmsvQIpk0EzXDlNRYfCu7mfd5IyeA FsfnparJ5Zn/XgzAt4uzfn8IZLA/srLv4tDwg= Received: by 10.150.52.2 with SMTP id z2mr7249746ybz.0.1228368775949; Wed, 03 Dec 2008 21:32:55 -0800 (PST) Received: by 10.151.27.1 with HTTP; Wed, 3 Dec 2008 21:32:55 -0800 (PST) Message-ID: <96af083b0812032132g16a00863i71ca387f30223e83@mail.gmail.com> Date: Thu, 4 Dec 2008 00:32:55 -0500 From: "Adam Stylinski" To: freebsd-hardware@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Rosewill RC-218 Card X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Dec 2008 06:02:29 -0000 It would be spectacular if somebody wrote a driver for the Rosewill RC-218 card. It uses a marvell based chipset and I believe is compatible with the sata_mv linux drivers. At the moment on a reboot I actually get a kernel panic if the card is installed. I believe this has something to do with a conflicting Highpoint Rocket Raid module that is being inserted (which I think shares or has a similar chipset with this card). Whatever needles need to be poked, you can poke me with them. I would like to use this card with my nasbox, which is hosting FreeBSD 7.0 AMD64 on a CF card. From owner-freebsd-hardware@FreeBSD.ORG Thu Dec 4 06:22:17 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 709CA106564A for ; Thu, 4 Dec 2008 06:22:17 +0000 (UTC) (envelope-from fhard@ccstores.com) Received: from mail.qcislands.net (mail.qcislands.net [209.53.238.4]) by mx1.freebsd.org (Postfix) with ESMTP id 545028FC14 for ; Thu, 4 Dec 2008 06:22:17 +0000 (UTC) (envelope-from fhard@ccstores.com) Received: from [207.194.42.90] (helo=[192.168.1.23]) by mail.qcislands.net with esmtp (Exim 4.69) (envelope-from ) id 1L87bK-0001z6-7P; Wed, 03 Dec 2008 22:22:16 -0800 Message-ID: <49377719.2020605@ccstores.com> Date: Wed, 03 Dec 2008 22:22:17 -0800 From: fhard Organization: City Centre Stores Ltd User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: freebsd-hardware@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-local_scan: locally submitted (90) Subject: swap zone exhausted, increase kern.maxswzone X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Dec 2008 06:22:17 -0000 "swap zone exhausted, increase kern.maxswzone" I encountered this today on FreeBSD 7.1B2 With an HP DL165G5 dual quad-core AMD 64 8Gb ram .. 20Gb swap space Google doesn't bring up much more than similar inquiries in mid 2007, where the inquiry was met with "increase the value". I cannot find anywhere how to determine the existing value or how to alter it. When running "sysctl kern.maxswzone" I am greeted with sysctl: unknown oid 'kern.maxswzone' What am I doing wrong? TIA Jim Pazarena From owner-freebsd-hardware@FreeBSD.ORG Thu Dec 4 10:31:50 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4A9D1065679 for ; Thu, 4 Dec 2008 10:31:50 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from hpsmtp-eml16.kpnxchange.com (hpsmtp-eml16.KPNXCHANGE.COM [213.75.38.116]) by mx1.freebsd.org (Postfix) with ESMTP id 460358FC22 for ; Thu, 4 Dec 2008 10:31:49 +0000 (UTC) (envelope-from nick@van-laarhoven.org) Received: from cpsmtp-eml103.kpnxchange.com ([213.75.84.103]) by hpsmtp-eml16.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 4 Dec 2008 11:31:48 +0100 Received: from uitsmijter.van-laarhoven.org ([81.207.207.222]) by cpsmtp-eml103.kpnxchange.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 4 Dec 2008 11:31:45 +0100 Received: (qmail 61178 invoked by uid 98); 4 Dec 2008 10:31:43 -0000 Received: from 10.66.0.133 (nick@10.66.0.133) by uitsmijter.van-laarhoven.org (envelope-from , uid 82) with qmail-scanner-2.01 (clamdscan: 0.92/5270. f-prot: 4.6.7/3.16.15. spamassassin: 3.2.3. Clear:RC:1(10.66.0.133):. Processed in 3.009583 secs); 04 Dec 2008 10:31:43 -0000 Received: from unknown (HELO van-laarhoven.org) (nick@10.66.0.133) by uitsmijter.van-laarhoven.org with SMTP; 4 Dec 2008 10:31:39 -0000 Received: (nullmailer pid 22336 invoked by uid 1001); Thu, 04 Dec 2008 10:31:38 -0000 From: Nick Hibma To: freebsd-hardware@freebsd.org Date: Thu, 4 Dec 2008 11:31:37 +0100 User-Agent: KMail/1.9.10 References: <49377719.2020605@ccstores.com> In-Reply-To: <49377719.2020605@ccstores.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812041131.37944.nick@van-laarhoven.org> X-OriginalArrivalTime: 04 Dec 2008 10:31:45.0615 (UTC) FILETIME=[819815F0:01C955FB] Subject: Re: swap zone exhausted, increase kern.maxswzone X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Dec 2008 10:31:50 -0000 100%|nick@hind:/sys-CURRENT % grep -r maxswzone . ./conf/NOTES:# 2. In /boot/loader.conf, set the tunables kern.maxswzone, ./kern/.svn/text-base/subr_param.c.svn-base:int maxswzone; /* max swmeta KVA storage */ ./kern/.svn/text-base/subr_param.c.svn-base:SYSCTL_INT(_kern, OID_AUTO, maxswzone, CTLFLAG_RDTUN, &maxswzone, 0, ./kern/.svn/text-base/subr_param.c.svn-base: maxswzone = VM_SWZONE_SIZE_MAX; ./kern/.svn/text-base/subr_param.c.svn-base: TUNABLE_INT_FETCH("kern.maxswzone", &maxswzone); ./kern/subr_param.c:int maxswzone; /* max swmeta KVA storage */ ./kern/subr_param.c:SYSCTL_INT(_kern, OID_AUTO, maxswzone, CTLFLAG_RDTUN, &maxswzone, 0, ./kern/subr_param.c: maxswzone = VM_SWZONE_SIZE_MAX; ./kern/subr_param.c: TUNABLE_INT_FETCH("kern.maxswzone", &maxswzone); ./boot/forth/.svn/text-base/loader.conf.svn-base:#kern.maxswzone="" # Set the max swmeta KVA storage ./boot/forth/loader.conf:#kern.maxswzone="" # Set the max swmeta KVA storage ./boot/common/.svn/text-base/loader.8.svn-base:.It Va kern.maxswzone ./boot/common/loader.8:.It Va kern.maxswzone So: It is a kenv var not a sysctl. It's default is VM_SWZONE_SIZE_MAX I think and you can find more documentation in loader(8). So type in man loader and off you go! Nick > "swap zone exhausted, increase kern.maxswzone" > > I encountered this today on FreeBSD 7.1B2 > With an HP DL165G5 dual quad-core AMD 64 > 8Gb ram .. 20Gb swap space > > Google doesn't bring up much more than similar inquiries > in mid 2007, where the inquiry was met with "increase the value". > > I cannot find anywhere how to determine the existing value or how > to alter it. > > When running "sysctl kern.maxswzone" > I am greeted with sysctl: unknown oid 'kern.maxswzone' > > What am I doing wrong? > > TIA > Jim Pazarena > _______________________________________________ > freebsd-hardware@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hardware > To unsubscribe, send any mail to > "freebsd-hardware-unsubscribe@freebsd.org" From owner-freebsd-hardware@FreeBSD.ORG Thu Dec 4 10:44:53 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B48491065670 for ; Thu, 4 Dec 2008 10:44:53 +0000 (UTC) (envelope-from freebsd-hardware@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 37E6E8FC14 for ; Thu, 4 Dec 2008 10:44:52 +0000 (UTC) (envelope-from freebsd-hardware@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1L8BhS-0007Gn-It for freebsd-hardware@freebsd.org; Thu, 04 Dec 2008 10:44:50 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Dec 2008 10:44:50 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Dec 2008 10:44:50 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-hardware@freebsd.org From: Ivan Voras Date: Thu, 04 Dec 2008 11:44:43 +0100 Lines: 69 Message-ID: References: <49377719.2020605@ccstores.com> <200812041131.37944.nick@van-laarhoven.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF83778B632A5310696357F1E" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.18 (X11/20081125) In-Reply-To: <200812041131.37944.nick@van-laarhoven.org> X-Enigmail-Version: 0.95.0 Sender: news Subject: Re: swap zone exhausted, increase kern.maxswzone X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Dec 2008 10:44:53 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF83778B632A5310696357F1E Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Nick Hibma wrote: > 100%|nick@hind:/sys-CURRENT % grep -r maxswzone . > ./conf/NOTES:# 2. In /boot/loader.conf, set the tunables kern.maxswzon= e, > ./kern/.svn/text-base/subr_param.c.svn-base:int=20 > maxswzone; /* max swmeta KVA storage */ > ./kern/.svn/text-base/subr_param.c.svn-base:SYSCTL_INT(_kern, OID_AUTO,= =20 > maxswzone, CTLFLAG_RDTUN, &maxswzone, 0, > ./kern/.svn/text-base/subr_param.c.svn-base: maxswzone =3D=20 > VM_SWZONE_SIZE_MAX; > ./kern/.svn/text-base/subr_param.c.svn-base: =20 > TUNABLE_INT_FETCH("kern.maxswzone", &maxswzone); > ./kern/subr_param.c:int maxswzone; /* max swmeta K= VA=20 > storage */ > ./kern/subr_param.c:SYSCTL_INT(_kern, OID_AUTO, maxswzone, CTLFLAG_RDTU= N,=20 > &maxswzone, 0, > ./kern/subr_param.c: maxswzone =3D VM_SWZONE_SIZE_MAX; > ./kern/subr_param.c: TUNABLE_INT_FETCH("kern.maxswzone", &maxswzone)= ; > ./boot/forth/.svn/text-base/loader.conf.svn-base:#kern.maxswzone=3D"" = =20 > # Set the max swmeta KVA storage > ./boot/forth/loader.conf:#kern.maxswzone=3D"" # Set the max= swmeta=20 > KVA storage > ./boot/common/.svn/text-base/loader.8.svn-base:.It Va kern.maxswzone > ./boot/common/loader.8:.It Va kern.maxswzone >=20 >=20 > So: >=20 > It is a kenv var not a sysctl. It's default is VM_SWZONE_SIZE_MAX=20 Which is: /sys> grep -rn VM_SWZONE_SIZE_MAX * amd64/include/param.h:129:#ifndef VM_SWZONE_SIZE_MAX amd64/include/param.h:130:#define VM_SWZONE_SIZE_MAX (32 * 1024 * 1024) If I'm reading this correctly in the context of the OP, it costs more than 32 MB to keep track of 20 GB of swap space :) (I'm not suprised, just noticing) --------------enigF83778B632A5310696357F1E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJN7SbldnAQVacBcgRAqPqAJ90vnsQTRa4MV6kGyOegk3Z2u+hFgCfcLhs bkerCqR2eY/LHWWUB5xUQ/0= =hXmo -----END PGP SIGNATURE----- --------------enigF83778B632A5310696357F1E-- From owner-freebsd-hardware@FreeBSD.ORG Thu Dec 4 15:46:49 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4A73106570E for ; Thu, 4 Dec 2008 15:46:49 +0000 (UTC) (envelope-from fhard@ccstores.com) Received: from mail.qcislands.net (mail.qcislands.net [209.53.238.4]) by mx1.freebsd.org (Postfix) with ESMTP id 962608FC1F for ; Thu, 4 Dec 2008 15:46:49 +0000 (UTC) (envelope-from fhard@ccstores.com) Received: from [209.53.237.85] (helo=[192.168.1.4]) by mail.qcislands.net with esmtp (Exim 4.69) (envelope-from ) id 1L8GPf-000DiH-1R; Thu, 04 Dec 2008 07:46:49 -0800 Message-ID: <4937FB67.8000100@ccstores.com> Date: Thu, 04 Dec 2008 07:46:47 -0800 From: Jim Pazarena User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: freebsd-hardware@freebsd.org References: <49377719.2020605@ccstores.com> <200812041131.37944.nick@van-laarhoven.org> In-Reply-To: <200812041131.37944.nick@van-laarhoven.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-local_scan: locally submitted (85) Subject: Re: swap zone exhausted, increase kern.maxswzone X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Dec 2008 15:46:49 -0000 Nick Hibma wrote: > > So: > > It is a kenv var not a sysctl. It's default is VM_SWZONE_SIZE_MAX I think > and you can find more documentation in loader(8). > > So type in > > man loader > > and off you go! > > Nick thank you! All my googleing, manning & apropos-ing was fruitless. but I after re-read "man sysctl" I don't see how I missed it! Thanks again. Jim From owner-freebsd-hardware@FreeBSD.ORG Thu Dec 4 21:24:57 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9BBB21065706 for ; Thu, 4 Dec 2008 21:24:57 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id 39C988FC18 for ; Thu, 4 Dec 2008 21:24:57 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.3/8.14.3) with ESMTP id mB4LOIOk033364; Thu, 4 Dec 2008 16:24:46 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-hardware@freebsd.org Date: Thu, 4 Dec 2008 13:55:39 -0500 User-Agent: KMail/1.9.7 References: <49377719.2020605@ccstores.com> <200812041131.37944.nick@van-laarhoven.org> <4937FB67.8000100@ccstores.com> In-Reply-To: <4937FB67.8000100@ccstores.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812041355.39285.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Thu, 04 Dec 2008 16:24:47 -0500 (EST) X-Virus-Scanned: ClamAV 0.93.1/8721/Thu Dec 4 08:26:10 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Jim Pazarena Subject: Re: swap zone exhausted, increase kern.maxswzone X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Dec 2008 21:24:57 -0000 On Thursday 04 December 2008 10:46:47 am Jim Pazarena wrote: > Nick Hibma wrote: > > > > So: > > > > It is a kenv var not a sysctl. It's default is VM_SWZONE_SIZE_MAX I think > > and you can find more documentation in loader(8). > > > > So type in > > > > man loader > > > > and off you go! > > > > Nick > > thank you! > > All my googleing, manning & apropos-ing was fruitless. > but I after re-read "man sysctl" I don't see how I missed it! What I typically do for this panic is get the 'swapinfo' from the crash dump, and use (number of blocks in use) * (total swap blocks) / (maxswzone) to compute a new value for kern.maxswzone. -- John Baldwin From owner-freebsd-hardware@FreeBSD.ORG Fri Dec 5 09:12:32 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B6D51065676 for ; Fri, 5 Dec 2008 09:12:32 +0000 (UTC) (envelope-from todorov@paladin.bulgarpress.com) Received: from paladin.bulgarpress.com (paladin.bulgarpress.com [195.24.42.3]) by mx1.freebsd.org (Postfix) with ESMTP id AD9D78FC08 for ; Fri, 5 Dec 2008 09:12:31 +0000 (UTC) (envelope-from todorov@paladin.bulgarpress.com) Received: from localhost (localhost [127.0.0.1]) by paladin.bulgarpress.com (Postfix) with ESMTP id EDA6D6123; Fri, 5 Dec 2008 10:56:47 +0200 (EET) X-Virus-Scanned: amavisd-new at paladin.bulgarpress.com Received: from paladin.bulgarpress.com ([195.24.42.3]) by localhost (paladin.bulgarpress.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MnyUyWIVJffL; Fri, 5 Dec 2008 10:56:46 +0200 (EET) Received: from [192.168.0.151] (gate.stanga.net [195.34.122.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by paladin.bulgarpress.com (Postfix) with ESMTPSA id 3EB1F6111; Fri, 5 Dec 2008 10:56:46 +0200 (EET) Message-ID: <4938ECCD.1040700@paladin.bulgarpress.com> Date: Fri, 05 Dec 2008 10:56:45 +0200 From: Todorov Organization: Powerforge Net User-Agent: Thunderbird 2.0.0.18 (X11/20081124) MIME-Version: 1.0 To: Nick Hibma References: <200810092344.10388.nick@van-laarhoven.org> <200811071453.07665.nick@van-laarhoven.org> <49364AE0.90206@paladin.bulgarpress.com> <200812031140.07605.nick@van-laarhoven.org> In-Reply-To: <200812031140.07605.nick@van-laarhoven.org> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-hardware@freebsd.org Subject: Re: Request for testers: Option 3G cards, also Sierra, Huawei and Novatel X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Dec 2008 09:12:32 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nick Hibma написа: | You need to upgrade to a more recent FBSD 7 version. Like for example | 7.1-RC1 or 7-STABLE. | | Nick | |> Hi, |> |> I was trying to test my PCMCIA but I got this message : |> |> link_elf: symbol ucom_attach_tty undefined |> |> FreeBSD 7.0-RELEASE-p5 PCMCIA Huawei E630 |> |> Please comment, |> Thanks. |> _______________________________________________ |> freebsd-hardware@freebsd.org mailing list |> http://lists.freebsd.org/mailman/listinfo/freebsd-hardware |> To unsubscribe, send any mail to |> "freebsd-hardware-unsubscribe@freebsd.org" | | | _______________________________________________ | freebsd-hardware@freebsd.org mailing list | http://lists.freebsd.org/mailman/listinfo/freebsd-hardware | To unsubscribe, send any mail to "freebsd-hardware-unsubscribe@freebsd.org" Thanks! I will.. Regards, -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkk47M0ACgkQibJkIG65HMcxOACfQM3Bk18kpUPDvSJzNWOVqIDl KQ4AoLXQir1OfbGA7eWy2JHMGsLh6SsA =wG3L -----END PGP SIGNATURE----- From owner-freebsd-hardware@FreeBSD.ORG Fri Dec 5 19:06:41 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 808911065677 for ; Fri, 5 Dec 2008 19:06:41 +0000 (UTC) (envelope-from lijimlee@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by mx1.freebsd.org (Postfix) with ESMTP id 95F3C8FC23 for ; Fri, 5 Dec 2008 19:06:40 +0000 (UTC) (envelope-from lijimlee@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so74633nfh.33 for ; Fri, 05 Dec 2008 11:06:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=TUz+kK0tWywWE4DiKdgw5jsJGAlW2hf1Et9dnX0t1E8=; b=T0YEJnDOd71KxwUjM9L6J7JPcqSQG9OmxswuX4wmV7EAtVdZAyVdSJCLW907mBbG3Y sFx8abGi8Fa7IWU9udILTCT+8Ifk3WrA4pp/14Z2Jety1ApxBetbacpLakxQKuMJEeuF TkpKeL6nYOjBX8+iPMN08JWJe7vKWwzBz2ZA8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=N8EOgkfzUiZzldt1Hjxg+b4LQ/22XQc1qx5I6fx42ojScddKCD3Z6V/cuB2PP0wz/O U8rn82MBKZfiQU8ha6FU5uW5dCEMIdumPmRkFy5pBrR74tCHYDT2wM7+3Ks6QeiQzlRH XbUYEtND6JJLVhNE49tsslIkEzj5scjgQ77cU= Received: by 10.86.59.18 with SMTP id h18mr827565fga.77.1228502642444; Fri, 05 Dec 2008 10:44:02 -0800 (PST) Received: by 10.86.90.3 with HTTP; Fri, 5 Dec 2008 10:44:02 -0800 (PST) Message-ID: <8fd8f02c0812051044u1e9cde4mbe47eb49c100c3c9@mail.gmail.com> Date: Fri, 5 Dec 2008 10:44:02 -0800 From: Ji To: freebsd-hardware@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: interrupt problem when enabling serial console X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Dec 2008 19:06:41 -0000 Hi all, ( I posted the following on freebsd-questions, and Mel suggested me to post it here.) I ran into a weird problem when enabling serial console on the FreeBSD7.0. Your help is really appreciated. I installed FreeBSD 7.0 amd64 (from the CD) on a Dell R200, and then enabled the serial console by adding the following to /boot/loader.conf hint.sio.0.flags="0x30" console="comconsole vidconsole" comconsole_speed="9600" boot_multicons="yes" And also replaced the following line on /etc/ttys, ttyd0 "/usr/libexec/getty std.9600" dialup off secure with ttyd0 "/usr/libexec/getty std.9600" vt220 on secure. During rebooting, I found that the system hangs with the following messages and actually all devices can NOT get interrupt resource (see the attached message part 2 in the lower part of this email ). " ... Trying to mount root from ufs:/dev/ad4s1a Manual root filesystem specification: : Mount using filesystem eg. ufs:da0s1a ? List valid disk boot devices Abort manual input ..." (I tried type ?, there is nothing) And it confused me that if I keep rebooting again and again without doing any fixing, the problem comes and goes. When the problem is not present, the serial console works fine. Below, I attached booting message 1) with disabling serial, 2) with serial and problem showing up and 3) with serial and problem not showing up. Can anyone help me with that? Thanks a lot. Jim (The kernel configuration file is the original GENERIC on FBSD7 amd64 installation CD) > =============== 1) dmesg without enabling serial console =================== > Copyright (c) 1992-2008 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 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008 > root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Xeon(R) CPU E3110 @ 3.00GHz (3000.23-MHz K8-class CPU) > Origin = "GenuineIntel" Id = 0x10676 Stepping = 6 > Features=0xbfebfbff > Features2=0x8e3fd> > AMD Features=0x20100800 > AMD Features2=0x1 > Cores per package: 2 > usable memory = 2133360640 (2034 MB) > avail memory = 2058694656 (1963 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > ioapic0: Changing APIC ID to 2 > ioapic0 irqs 0-23 on motherboard > kbd1 at kbdmux0 > ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) > hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 10:34:18) > acpi0: on motherboard > acpi0: [ITHREAD] > acpi0: Power Button (fixed) > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 > acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 > Timecounter "HPET" frequency 14318180 Hz quality 900 > cpu0: on acpi0 > est0: on cpu0 > est: CPU supports Enhanced Speedstep, but is not recognized. > est: cpu_vendor GenuineIntel, msr 613091f06000613 > device_attach: est0 attach returned 6 > p4tcc0: on cpu0 > cpu1: on acpi0 > est1: on cpu1 > est: CPU supports Enhanced Speedstep, but is not recognized. > est: cpu_vendor GenuineIntel, msr 613091f06000613 > device_attach: est1 attach returned 6 > p4tcc1: on cpu1 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pcib1: irq 16 at device 1.0 on pci0 > pci1: on pcib1 > em0: port > 0xece0-0xecff mem 0xdfbc0000-0xdfbdffff,0xdfbe0000-0xdfbfffff irq 16 > at device 0.0 on pci1 > em0: Using MSI interrupt > em0: Ethernet address: 00:15:17:37:11:06 > em0: [FILTER] > pcib2: irq 16 at device 28.0 on pci0 > pci2: on pcib2 > em1: port > 0xdce0-0xdcff mem 0xdfcc0000-0xdfcdffff,0xdfce0000-0xdfcfffff irq 16 > at device 0.0 on pci2 > em1: Using MSI interrupt > em1: Ethernet address: 00:15:17:36:19:d4 > em1: [FILTER] > pcib3: irq 16 at device 28.4 on pci0 > pci3: on pcib3 > bge0: 0x4201> mem 0xdfdf0000-0xdfdfffff irq 16 at device 0.0 on pci3 > miibus0: on bge0 > brgphy0: PHY 1 on miibus0 > brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > 1000baseT-FDX, auto > bge0: Ethernet address: 00:1e:c9:ff:58:48 > bge0: [ITHREAD] > pcib4: irq 17 at device 28.5 on pci0 > pci4: on pcib4 > bge1: 0x4201> mem 0xdfef0000-0xdfefffff irq 17 at device 0.0 on pci4 > miibus1: on bge1 > brgphy1: PHY 1 on miibus1 > brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > 1000baseT-FDX, auto > bge1: Ethernet address: 00:1e:c9:ff:58:49 > bge1: [ITHREAD] > uhci0: port 0xbc60-0xbc7f irq 21 at > device 29.0 on pci0 > uhci0: [GIANT-LOCKED] > uhci0: [ITHREAD] > usb0: on uhci0 > usb0: USB revision 1.0 > uhub0: on usb0 > uhub0: 2 ports with 2 removable, self powered > uhci1: port 0xbc80-0xbc9f irq 20 at > device 29.1 on pci0 > uhci1: [GIANT-LOCKED] > uhci1: [ITHREAD] > usb1: on uhci1 > usb1: USB revision 1.0 > uhub1: on usb1 > uhub1: 2 ports with 2 removable, self powered > uhci2: port 0xbca0-0xbcbf irq 21 at > device 29.2 on pci0 > uhci2: [GIANT-LOCKED] > uhci2: [ITHREAD] > usb2: on uhci2 > usb2: USB revision 1.0 > uhub2: on usb2 > uhub2: 2 ports with 2 removable, self powered > ehci0: mem 0xdfaffc00-0xdfafffff > irq 21 at device 29.7 on pci0 > ehci0: [GIANT-LOCKED] > ehci0: [ITHREAD] > usb3: EHCI version 1.0 > usb3: companion controllers, 2 ports each: usb0 usb1 usb2 > usb3: on ehci0 > usb3: USB revision 2.0 > uhub3: on usb3 > uhub3: 6 ports with 6 removable, self powered > umass0: on uhub3 > uhub4: on uhub3 > uhub4: multiple transaction translators > uhub4: 4 ports with 4 removable, self powered > pcib5: at device 30.0 on pci0 > pci5: on pcib5 > vgapci0: port 0xcc00-0xccff mem > 0xd0000000-0xd7ffffff,0xdfff0000-0xdfffffff irq 19 at device 5.0 on > pci5 > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci0: port > 0xbc30-0xbc37,0xbc28-0xbc2b,0xbc38-0xbc3f,0xbc2c-0xbc2f,0xbc40-0xbc4f,0xbc50-0xbc5f > irq 23 at device 31.2 on pci0 > atapci0: [ITHREAD] > ata2: on atapci0 > ata2: [ITHREAD] > ata3: on atapci0 > ata3: [ITHREAD] > fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 > fdc0: does not respond > device_attach: fdc0 attach returned 6 > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 > sio0: type 16550A > sio0: [FILTER] > sio1: configured irq 3 not in bitmap of probed irqs 0 > sio1: port may not be enabled > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > atkbd0: [ITHREAD] > fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 > fdc0: does not respond > device_attach: fdc0 attach returned 6 > sio1: configured irq 3 not in bitmap of probed irqs 0 > sio1: port may not be enabled > orm0: at iomem > 0xc0000-0xc8fff,0xc9000-0xc9fff,0xca000-0xcb7ff,0xec000-0xeffff on > isa0 > ppc0: cannot reserve I/O port range > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > 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 > Timecounters tick every 1.000 msec > hptrr: no controller detected. > ad4: 76293MB at ata2-master SATA300 > SMP: AP CPU #1 Launched! > cd0 at umass-sim0 bus 0 target 0 lun 0 > cd0: Removable CD-ROM SCSI-0 device > cd0: 40.000MB/s transfers > cd0: Attempt to query device size failed: NOT READY, Medium not present > Trying to mount root from ufs:/dev/ad4s1a > > === 2) problematic booting After enabling serial (copied from serial console)===== > 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 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008 > root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Xeon(R) CPU E3110 @ 3.00GHz (3000.22-MHz K8-class CPU) > Origin = "GenuineIntel" Id = 0x10676 Stepping = 6 > Features=0xbfebfbff > Features2=0x8e3fd> > AMD Features=0x20100800 > AMD Features2=0x1 > Cores per package: 2 > usable memory = 2133360640 (2034 MB) > avail memory = 2058747904 (1963 MB) > kbd1 at kbdmux0 > ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) > hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 10:34:18) > cpu0 on motherboard > est0: on cpu0 > est: CPU supports Enhanced Speedstep, but is not recognized. > est: cpu_vendor GenuineIntel, msr 613091f06000613 > device_attach: est0 attach returned 6 > p4tcc0: on cpu0 > pcib0: pcibus 0 on motherboard > pci0: on pcib0 > pcib1: irq 15 at device 1.0 on pci0 > pci1: on pcib1 > em0: port > 0xece0-0xecff mem 0xdfbc0000-0xdfbdffff,0xdfbe0000-0xdfbfffff irq 15 > at device 0.0 on pci1 > em0: Unable to allocate bus resource: interrupt > em0: Allocation of PCI resources failed > device_attach: em0 attach returned 6 > pcib2: irq 15 at device 28.0 on pci0 > pci2: on pcib2 > em1: port > 0xdce0-0xdcff mem 0xdfcc0000-0xdfcdffff,0xdfce0000-0xdfcfffff irq 15 > at device 0.0 on pci2 > em1: Unable to allocate bus resource: interrupt > em1: Allocation of PCI resources failed > device_attach: em1 attach returned 6 > pcib3: irq 15 at device 28.4 on pci0 > pci3: on pcib3 > bge0: 0x4201> mem 0xdfdf0000-0xdfdfffff irq 15 at device 0.0 on pci3 > bge0: couldn't map interrupt > device_attach: bge0 attach returned 6 > pcib4: irq 14 at device 28.5 on pci0 > pci4: on pcib4 > bge1: 0x4201> mem 0xdfef0000-0xdfefffff irq 14 at device 0.0 on pci4 > bge1: couldn't map interrupt > device_attach: bge1 attach returned 6 > uhci0: port 0xbc60-0xbc7f irq 11 at > device 29.0 on pci0 > uhci0: Could not allocate irq > device_attach: uhci0 attach returned 6 > uhci1: port 0xbc80-0xbc9f irq 10 at > device 29.1 on pci0 > uhci1: Could not allocate irq > device_attach: uhci1 attach returned 6 > uhci2: port 0xbca0-0xbcbf irq 11 at > device 29.2 on pci0 > uhci2: Could not allocate irq > device_attach: uhci2 attach returned 6 > ehci0: mem 0xdfaffc00-0xdfafffff > irq 11 at device 29.7 on pci0 > ehci0: Could not allocate irq > device_attach: ehci0 attach returned 6 > pcib5: at device 30.0 on pci0 > pci5: on pcib5 > vgapci0: port 0xcc00-0xccff mem > 0xd0000000-0xd7ffffff,0xdfff0000-0xdfffffff irq 5 at device 5.0 on > pci5 > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci0: port > 0xbc30-0xbc37,0xbc28-0xbc2b,0xbc38-0xbc3f,0xbc2c-0xbc2f,0xbc40-0xbc4f,0xbc50-0xbc5f > irq 6 at device 31.2 on pci0 > atapci0: unable to map interrupt > device_attach: atapci0 attach returned 6 > orm0: at iomem > 0xc0000-0xc8fff,0xc9000-0xc9fff,0xca000-0xcb7ff,0xec000-0xeffff on > isa0 > atkbdc0: at port 0x60,0x64 on isa0 > fdc0: cannot reserve interrupt line > 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: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0 at port 0x3f8-0x3ff irq 4 flags 0x30 on isa0 > sio0: type 16550A, console > 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 > Timecounter "TSC" frequency 3000222630 Hz quality 800 > Timecounters tick every 1.000 msec > hptrr: no controller detected. > Trying to mount root from ufs:/dev/ad4s1a > > Manual root filesystem specification: > : Mount using filesystem > eg. ufs:da0s1a > ? List valid disk boot devices > Abort manual input > > mountroot> ? > > List of GEOM managed disk devices: > > > Manual root filesystem specification: > : Mount using filesystem > eg. ufs:da0s1a > ? List valid disk boot devices > Abort manual input > > mountroot> ufs:/dev/ad4s1a > Trying to mount root from ufs:/dev/ad4s1a > > Manual root filesystem specification: > : Mount using filesystem > eg. ufs:da0s1a > ? List valid disk boot devices > Abort manual input > > mountroot> > panic: Root mount failed, startup aborted. > cpuid = 0 > Uptime: 1s > Cannot dump. No dump device defined. > Automatic reboot in 15 seconds - press a key on the console to abort > --> Press a key on the console to reboot, > --> or switch off the system now. > Rebooting... > > ==== 3) normal booting after enabling serial (copied from serial console)========= > Copyright (c) 1992-2008 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 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008 > root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Xeon(R) CPU E3110 @ 3.00GHz (3000.22-MHz K8-class CPU) > Origin = "GenuineIntel" Id = 0x10676 Stepping = 6 > Features=0xbfebfbff > Features2=0x8e3fd> > AMD Features=0x20100800 > AMD Features2=0x1 > Cores per package: 2 > usable memory = 2133360640 (2034 MB) > avail memory = 2058694656 (1963 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > ioapic0: Changing APIC ID to 2 > ioapic0 irqs 0-23 on motherboard > kbd1 at kbdmux0 > ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) > hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 10:34:18) > acpi0: on motherboard > acpi0: [ITHREAD] > acpi0: Power Button (fixed) > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 > acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 > Timecounter "HPET" frequency 14318180 Hz quality 900 > cpu0: on acpi0 > est0: on cpu0 > est: CPU supports Enhanced Speedstep, but is not recognized. > est: cpu_vendor GenuineIntel, msr 613091f06000613 > device_attach: est0 attach returned 6 > p4tcc0: on cpu0 > cpu1: on acpi0 > est1: on cpu1 > est: CPU supports Enhanced Speedstep, but is not recognized. > est: cpu_vendor GenuineIntel, msr 613091f06000613 > device_attach: est1 attach returned 6 > p4tcc1: on cpu1 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pcib1: irq 16 at device 1.0 on pci0 > pci1: on pcib1 > em0: port > 0xece0-0xecff mem 0xdfbc0000-0xdfbdffff,0xdfbe0000-0xdfbfffff irq 16 > at device 0.0 on pci1 > em0: Using MSI interrupt > em0: Ethernet address: 00:15:17:37:11:06 > em0: [FILTER] > pcib2: irq 16 at device 28.0 on pci0 > pci2: on pcib2 > em1: port > 0xdce0-0xdcff mem 0xdfcc0000-0xdfcdffff,0xdfce0000-0xdfcfffff irq 16 > at device 0.0 on pci2 > em1: Using MSI interrupt > em1: Ethernet address: 00:15:17:36:19:d4 > em1: [FILTER] > pcib3: irq 16 at device 28.4 on pci0 > pci3: on pcib3 > bge0: 0x4201> mem 0xdfdf0000-0xdfdfffff irq 16 at device 0.0 on pci3 > miibus0: on bge0 > brgphy0: PHY 1 on miibus0 > brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > 1000baseT-FDX, auto > bge0: Ethernet address: 00:1e:c9:ff:58:48 > bge0: [ITHREAD] > pcib4: irq 17 at device 28.5 on pci0 > pci4: on pcib4 > bge1: 0x4201> mem 0xdfef0000-0xdfefffff irq 17 at device 0.0 on pci4 > miibus1: on bge1 > brgphy1: PHY 1 on miibus1 > brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, > 1000baseT-FDX, auto > bge1: Ethernet address: 00:1e:c9:ff:58:49 > bge1: [ITHREAD] > uhci0: port 0xbc60-0xbc7f irq 21 at > device 29.0 on pci0 > uhci0: [GIANT-LOCKED] > uhci0: [ITHREAD] > usb0: on uhci0 > usb0: USB revision 1.0 > uhub0: on usb0 > uhub0: 2 ports with 2 removable, self powered > uhci1: port 0xbc80-0xbc9f irq 20 at > device 29.1 on pci0 > uhci1: [GIANT-LOCKED] > uhci1: [ITHREAD] > usb1: on uhci1 > usb1: USB revision 1.0 > uhub1: on usb1 > uhub1: 2 ports with 2 removable, self powered > uhci2: port 0xbca0-0xbcbf irq 21 at > device 29.2 on pci0 > uhci2: [GIANT-LOCKED] > uhci2: [ITHREAD] > usb2: on uhci2 > usb2: USB revision 1.0 > uhub2: on usb2 > uhub2: 2 ports with 2 removable, self powered > ehci0: mem 0xdfaffc00-0xdfafffff > irq 21 at device 29.7 on pci0 > ehci0: [GIANT-LOCKED] > ehci0: [ITHREAD] > usb3: EHCI version 1.0 > usb3: companion controllers, 2 ports each: usb0 usb1 usb2 > usb3: on ehci0 > usb3: USB revision 2.0 > uhub3: on usb3 > uhub3: 6 ports with 6 removable, self powered > umass0: on uhub3 > uhub4: on uhub3 > uhub4: multiple transaction translators > uhub4: 4 ports with 4 removable, self powered > pcib5: at device 30.0 on pci0 > pci5: on pcib5 > vgapci0: port 0xcc00-0xccff mem > 0xd0000000-0xd7ffffff,0xdfff0000-0xdfffffff irq 19 at device 5.0 on > pci5 > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci0: port > 0xbc30-0xbc37,0xbc28-0xbc2b,0xbc38-0xbc3f,0xbc2c-0xbc2f,0xbc40-0xbc4f,0xbc50-0xbc5f > irq 23 at device 31.2 on pci0 > atapci0: [ITHREAD] > ata2: on atapci0 > ata2: [ITHREAD] > ata3: on atapci0 > ata3: [ITHREAD] > fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 > fdc0: does not respond > device_attach: fdc0 attach returned 6 > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x30 on acpi0 > sio0: type 16550A, console > sio0: [FILTER] > sio1: configured irq 3 not in bitmap of probed irqs 0 > sio1: port may not be enabled > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > atkbd0: [ITHREAD] > fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 > fdc0: does not respond > device_attach: fdc0 attach returned 6 > sio1: configured irq 3 not in bitmap of probed irqs 0 > sio1: port may not be enabled > orm0: at iomem > 0xc0000-0xc8fff,0xc9000-0xc9fff,0xca000-0xcb7ff,0xec000-0xeffff on > isa0 > ppc0: cannot reserve I/O port range > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > 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 > Timecounters tick every 1.000 msec > hptrr: no controller detected. > ad4: 76293MB at ata2-master SATA300 > SMP: AP CPU #1 Launched! > cd0 at umass-sim0 bus 0 target 0 lun 0 > cd0: Removable CD-ROM SCSI-0 device > cd0: 40.000MB/s transfers > cd0: Attempt to query device size failed: NOT READY, Medium not present > Trying to mount root from ufs:/dev/ad4s1a > Loading configuration files. > kernel dumps on /dev/ad4s3b > Entropy harvesting: interrupts ethernet point_to_point kickstart. > swapon: adding /dev/ad4s3b as swap device > Starting file system checks: > /dev/ad4s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS > /dev/ad4s1a: clean, 12820246 free (58710 frags, 1595192 blocks, 0.4% > fragmentation) > Setting hostuuid: 44454c4c-3400-1053-8059-b7c04f484831. > Setting hostid: 0x0188e958. > Mounting local file systems:. > Setting hostname: .fastsoft.com. > net.inet6.ip6.auto_linklocal: 1 -> 0 > bge0: link state changed to DOWN > bge0: no link .....bge0: link state changed to UP > got link > DHCPREQUEST on bge0 to 255.255.255.255 port 67 > DHCPACK from 172.16.0.22 > bound to 172.16.1.16 -- renewal in 345600 seconds. > lo0: flags=8049 metric 0 mtu 16384 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 > inet6 ::1 prefixlen 128 > inet 127.0.0.1 netmask 0xff000000 b > bge0: flags=884g3 metric: 0 mtu 1500 > op tions=9b > etkher 00:1e:c9:ff: 58:48 > inet 172s.16.1.16 netmaskt 0xffff0000 broaadcast 172.16.255t.255 > media: Etehernet autoselec t (1000baseTX ) > shtatus: active > aAdditional routinng options:. > Stgarting devd. > ed to UP > hw.acpi.cpu.cx_lowest: C1 > sysctl: hw.acpi.cpu.cx_lowest: Invalid argument > Additional IP options:. > Mounting NFS file systems:. > Creating and/or trimming log files:. > Starting syslogd. > Checking for core dump on /dev/ad4s3b... > savecore: no dumps found > ELF ldconfig path: /lib /usr/lib /usr/lib/compat > 32-bit compatibility ldconfig path: > Initial amd64 initialization:. > Additional ABI support:. > Clearing /tmp (X related). > Starting local daemons:. > Updating motd. > Mounting late file systems:. > Configuring syscons: blanktime. > Starting sshd. > Starting cron. > Local package initialization:. > Starting background file system checks in 60 seconds. > > Tue Dec 2 16:58:50 UTC 2008 > > FreeBSD/amd64 (xxxxx) (ttyd0) > > login: > From owner-freebsd-hardware@FreeBSD.ORG Fri Dec 5 19:33:02 2008 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB4221065676; Fri, 5 Dec 2008 19:33:02 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from ftp.translate.ru (ftp.translate.ru [195.131.4.140]) by mx1.freebsd.org (Postfix) with ESMTP id 82BCB8FC2D; Fri, 5 Dec 2008 19:33:02 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from desktop.home.serebryakov.spb.ru (blacklion.dialup.corbina.ru [89.179.122.169]) (Authenticated sender: lev@serebryakov.spb.ru) by ftp.translate.ru (Postfix) with ESMTPA id CFD6713DF5D; Fri, 5 Dec 2008 22:21:19 +0300 (MSK) Date: Fri, 5 Dec 2008 22:13:24 +0300 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <785999360.20081205221324@serebryakov.spb.ru> To: freebsd-hardware@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: jfv@FreeBSD.org, freebsdnic@mailbox.intel.com Subject: em0: watchdog timeout -- resetting X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lev@FreeBSD.org List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Dec 2008 19:33:02 -0000 Hello, . System: FreeBSD xxx.xxx.xx 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Fri Dec 5 20:= 37:31 MSK 2008 lev@xxx.xxx.xx:/usr/obj/usr/src/sys/BLOB amd64 Hardware: % dmesg | grep em0 em0: port 0xe880-0xe89f mem 0x= fea40000-0xfea5ffff,0xfea7a000-0xfea7afff irq 20 at device 25.0 on pci0 em0: [FILTER] em0: Ethernet address: 00:1e:8c:75:03:0d % pciconf -lv | grep em0@pci0:0:25:0: class=3D0x020000 card=3D0x82681043 chip=3D0x10bd808= 6 rev=3D0x02 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82566DM-2 Gigabit Network Connection' class =3D network subclass =3D ethernet % ifconfig em0 em0: flags=3D8843 metric 0 mtu 9014 options=3D19b ether 00:1e:8c:75:03:0d inet 192.168.134.3 netmask 0xffffff00 broadcast 192.168.134.255 media: Ethernet autoselect (1000baseTX ) status: active % Hardware is ASUS P5E-VM DO motherboard with integrated controller. Network is connected to HP ProCurce 1400-8G gigabit switch. I'm getting "em0: watchdog timeout -- resetting" (and all connections are lost!) very often. If here are network load it could be every 5 minutes sometimes... For example: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Dec 5 22:01:39 blob kernel: em0: watchdog timeout -- resetting Dec 5 22:01:39 blob kernel: em0: link state changed to DOWN Dec 5 22:01:42 blob kernel: em0: link state changed to UP Dec 5 22:01:56 blob kernel: em0: watchdog timeout -- resetting Dec 5 22:01:56 blob kernel: em0: link state changed to DOWN Dec 5 22:01:59 blob kernel: em0: link state changed to UP Dec 5 22:02:01 blob kernel: em0: link state changed to DOWN Dec 5 22:02:03 blob kernel: em0: link state changed to UP Dec 5 22:06:07 blob kernel: em0: watchdog timeout -- resetting Dec 5 22:06:07 blob kernel: em0: link state changed to DOWN Dec 5 22:06:09 blob kernel: em0: link state changed to UP Dec 5 22:07:18 blob kernel: em0: watchdog timeout -- resetting Dec 5 22:07:18 blob kernel: em0: link state changed to DOWN Dec 5 22:07:24 blob kernel: em0: link state changed to UP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D I could provide any additional information. --=20 // Black Lion AKA Lev Serebryakov From owner-freebsd-hardware@FreeBSD.ORG Sat Dec 6 21:38:50 2008 Return-Path: Delivered-To: freebsd-hardware@freeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7827A1065675 for ; Sat, 6 Dec 2008 21:38:50 +0000 (UTC) (envelope-from n0oct@sbcglobal.net) Received: from nlpi025.prodigy.net (nlpi025.sbcis.sbc.com [207.115.36.54]) by mx1.freebsd.org (Postfix) with ESMTP id 31EAD8FC1A for ; Sat, 6 Dec 2008 21:38:50 +0000 (UTC) (envelope-from n0oct@sbcglobal.net) Received: from shirley.brainski.com (adsl-70-237-223-155.dsl.stlsmo.sbcglobal.net [70.237.223.155]) (authenticated bits=0) by nlpi025.prodigy.net (8.13.8 smtpauth/dk/map_regex/8.13.8) with ESMTP id mB6LQoKp013190 for ; Sat, 6 Dec 2008 15:26:51 -0600 Date: Sat, 6 Dec 2008 15:26:49 -0600 From: jim smith To: freebsd-hardware@freeBSD.org Message-Id: <20081206152649.e991d54b.n0oct@sbcglobal.net> Organization: Amateur Radio Staion N0OCT X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: Re: Western Digital hard disks and ATA timeouts X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Dec 2008 21:38:50 -0000 On 7Nov, 2008, at 20:12 , Peter Wemm wrote: > On Thu, Nov 6, 2008 at 11:17 PM, Jeremy Chadwick =20 > wrote: > [..] >> As stated, FreeBSD's ATA command timeout is hard-set to 5 seconds, =20= >> and >> is not adjustable without editing the ATA code yourself and =20 >> increasing >> the value. . . .and where in the code is this? I've got some drives I'd like to experiment with. Thanks. -- jim smith