From owner-freebsd-hardware@FreeBSD.ORG Mon Dec 26 14:37:36 2005 Return-Path: X-Original-To: hardware@freebsd.org Delivered-To: freebsd-hardware@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D828D16A41F; Mon, 26 Dec 2005 14:37:36 +0000 (GMT) (envelope-from anton@nikiforov.ru) Received: from vika.newlines.ru (anna.newlines.ru [195.246.218.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06BA843D4C; Mon, 26 Dec 2005 14:37:30 +0000 (GMT) (envelope-from anton@nikiforov.ru) Received: from localhost (unknown [127.0.0.1]) by vika.newlines.ru (Postfix) with ESMTP id 961EB11489; Mon, 26 Dec 2005 17:37:28 +0300 (MSK) Received: from vika.newlines.ru ([127.0.0.1]) by localhost (anna.newlines.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18982-04; Mon, 26 Dec 2005 17:37:26 +0300 (MSK) Received: from [192.168.80.100] (ushakova.office.sportlottery.ru [192.168.80.100]) by vika.newlines.ru (Postfix) with ESMTP; Mon, 26 Dec 2005 17:37:26 +0300 (MSK) Message-ID: <43B00022.40709@nikiforov.ru> Date: Mon, 26 Dec 2005 17:37:22 +0300 From: Anton Nikiforov Organization: NewLines Ltd. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217 X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: Wilko Bulte References: <43AC84A2.9090804@nikiforov.ru> <20051223232523.GA1628@freebie.xs4all.nl> <43ADBA70.6090002@nikiforov.ru> <20051224214502.GA7321@freebie.xs4all.nl> In-Reply-To: <20051224214502.GA7321@freebie.xs4all.nl> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms040407050102000708090305" X-Virus-Scanned: By amavis at office-gw.newlines.ru Cc: stable@freebsd.org, hardware@freebsd.org Subject: Re: StorageWorks X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: anton@nikiforov.ru List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2005 14:37:37 -0000 This is a cryptographically signed message in MIME format. --------------ms040407050102000708090305 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Wilko Bulte wrote: > On Sun, Dec 25, 2005 at 12:15:28AM +0300, Anton Nikiforov wrote.. > >>Wilko Bulte wrote: >> >> >>>On Sat, Dec 24, 2005 at 02:13:38AM +0300, Anton Nikiforov wrote.. >>> >>> >>>>Dear ALL! >>>>I have a Intel XEON based server and Compaq StorageWorks FC adapter with >>>>FC disk subsystem. >>>>I did not found any info about drivers available in >>>>FreeBSD-5.4-RELEASE-p8 (maybe vendor developed drivers/utilities?). >>>> >>>>Could you please help? is there any solution to make this three parts >>>>(server, FC adapter and disk subsystem) to work under FreeBSD? >>> >>> >>>*What* Compaq StorageWorks adapter? There are lots of different >>>adapters, both from own Compaq production as well as QLogic and Emulex >>>OEM origin. Only the Qlogics have a driver in FreeBSD, isp(4). >>> >> >>Hello and thanks for the replay. >>Here is what i can find in the board >>Compaq >>1999 compaq >>66MHz 64bit PCI controller >>SP# 161290-001 >>DG# 010007-000 >>AS# 010006-001 >>Rev 0E >>P225C0EBFK3JXE >>The biggest chip is Agilent Tachyon TS HPFC-5166A/1.2 L2C1090 J 0026 >>WEC26005 >> >>On the other side: >>BOARD NO 01008-001 A/W REV A FAB REV A >>2000 (logo) NM4 94V-0 >> >>Could you please tell me if this will work under FreeBSD? Because i >>cannot find any QLogic lables or chips. And cannot take this to "play" > > > No luck I'm afraid. Like you say, the Qlogic chips are easily > distinguishable. What you have sounds like a Compaq-design, the folks > in HOU used to use the Tachyon chips quite a lot. These days we OEM > most (all?) of the FC HBAs. > Thanks for the replay. Could you please supply me with the right card name that will work with FreeBSD and this StorageWorks array? Maybe i can find something cheep to use this box? And is there any software to manage the array box (in case i'll get QLogic card) or i'll have boot into windows to change 0+1 array type to something else? Best regards, Anton Nikiforov --------------ms040407050102000708090305 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGKDCC AuEwggJKoAMCAQICAw6AYzANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UE ChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNv bmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwHhcNMDUwNDE2MTEwMzExWhcNMDYwNDE2MTEwMzEx WjBEMR8wHQYDVQQDExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMSEwHwYJKoZIhvcNAQkBFhJh bnRvbkBuaWtpZm9yb3YucnUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDp45jI HORB4RVcbIIDMttb19fW9gb9dIX4CVBbCZSPmX+gpsYUCswB/wcqnF98LoSTIYxiY/hUrENH 5lObA+oEazWWmZQR5MQIgZViQ3H7vJ1KpaQ8tR7atUsCMudFb9Wu4jYgvFbjhYLO0cOFOfhr n99ucG5qpsXwriIbDYLT20xFvsbCk/zlMwPsIfxell+EM87MglUH5uym8LtcWVvfZgzYuNN0 1lJXF4Qs17X3y3XELuuRowdQGZQ6nNM2StTePuOL6J3piVERqhscLIpM9rjfH6nV8HM1+BW3 trgt5rWqzSfFlvxk6MF6cvz06xnE6Yw4FV63lrRzaiwm914/AgMBAAGjPzA9MA4GA1UdDwEB /wQEAwIHgDAdBgNVHREEFjAUgRJhbnRvbkBuaWtpZm9yb3YucnUwDAYDVR0TAQH/BAIwADAN BgkqhkiG9w0BAQQFAAOBgQASvk2h3CLH4S3NOw9yRfEdpHruWxov2mQvsV8qZKwjG8/661ze FmsQhAS18+6hCgK84qNrCINydH06Y5jsAGmwS8r9m+xOPxDKiehmOSsOpSVShzIfWdRx5Ni1 uFvPwH9L6czsOlw0PAQnYEv0jVbel6SA5MUWHwJ8liIGxkhi3jCCAz8wggKooAMCAQICAQ0w DQYJKoZIhvcNAQEFBQAwgdExCzAJBgNVBAYTAlpBMRUwEwYDVQQIEwxXZXN0ZXJuIENhcGUx EjAQBgNVBAcTCUNhcGUgVG93bjEaMBgGA1UEChMRVGhhd3RlIENvbnN1bHRpbmcxKDAmBgNV BAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMgRGl2aXNpb24xJDAiBgNVBAMTG1RoYXd0ZSBQ ZXJzb25hbCBGcmVlbWFpbCBDQTErMCkGCSqGSIb3DQEJARYccGVyc29uYWwtZnJlZW1haWxA dGhhd3RlLmNvbTAeFw0wMzA3MTcwMDAwMDBaFw0xMzA3MTYyMzU5NTlaMGIxCzAJBgNVBAYT AlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNU aGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQTCBnzANBgkqhkiG9w0BAQEFAAOB jQAwgYkCgYEAxKY8VXNV+065yplaHmjAdQRwnd/p/6Me7L3N9VvyGna9fww6YfK/Uc4B1OVQ CjDXAmNaLIkVcI7dyfArhVqqP3FWy688Cwfn8R+RNiQqE88r1fOCdz0Dviv+uxg+B79AgAJk 16emu59l0cUqVIUPSAR/p7bRPGEEQB5kGXJgt/sCAwEAAaOBlDCBkTASBgNVHRMBAf8ECDAG AQH/AgEAMEMGA1UdHwQ8MDowOKA2oDSGMmh0dHA6Ly9jcmwudGhhd3RlLmNvbS9UaGF3dGVQ ZXJzb25hbEZyZWVtYWlsQ0EuY3JsMAsGA1UdDwQEAwIBBjApBgNVHREEIjAgpB4wHDEaMBgG A1UEAxMRUHJpdmF0ZUxhYmVsMi0xMzgwDQYJKoZIhvcNAQEFBQADgYEASIzRUIPqCy7MDaNm rGcPf6+svsIXoUOWlJ1/TCG4+DYfqi2fNi/A9BxQIJNwPP2t4WFiw9k6GX6EsZkbAMUaC4J0 niVQlGLH2ydxVyWN3amcOY6MIE9lX5Xa9/eH1sYITq726jTlEBpbNU1341YheILcIRk13iSx 0x1G/11fZU8xggJEMIICQAIBATBpMGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUg Q29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1h aWwgSXNzdWluZyBDQQIDDoBjMAkGBSsOAwIaBQCggbEwGAYJKoZIhvcNAQkDMQsGCSqGSIb3 DQEHATAcBgkqhkiG9w0BCQUxDxcNMDUxMjI2MTQzNzIyWjAjBgkqhkiG9w0BCQQxFgQU1KDN vyWLBNymmEO6YRrvvQsh8/8wUgYJKoZIhvcNAQkPMUUwQzAKBggqhkiG9w0DBzAOBggqhkiG 9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcwDQYIKoZIhvcNAwICASgwDQYJKoZI hvcNAQEBBQAEggEAEVfy+5cbzgNDqCpPPB6nqIjVGtu8YETTtiaisc1BbsINkn4Lv0otLu1l rA0wkoAp0Twqw4d7iJSxj7dNGxJnYYSMMrAWDz+nhZ6HJ/+w7pk8ZXrpnUpQTGLXHBpPXM7J 4b9HfT3kP/ww0r8Mp/zLQ3TSevH0doeGUh88kTShz6kZShoHjir5L8eq5QcdCi8L2gssRGKm WXyKCzL66Gy9n+A6rhzxXGO/jDnq5qKissNUhxQV1yvIM1KSfUs32x9qFTBmh82J74ojAtoa BYtiWtu41XQr20AAYOymv6OhiiV09udu3oda47WYpHzRrDbPbV1Us5XKPexcL5ffi74ZOAAA AAAAAA== --------------ms040407050102000708090305-- From owner-freebsd-hardware@FreeBSD.ORG Mon Dec 26 15:42:54 2005 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB69816A420 for ; Mon, 26 Dec 2005 15:42:54 +0000 (GMT) (envelope-from lukas@razik.de) Received: from fmmailgate07.web.de (fmmailgate07.web.de [217.72.192.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id 89A4843D46 for ; Mon, 26 Dec 2005 15:42:30 +0000 (GMT) (envelope-from lukas@razik.de) Received: by fmmailgate07.web.de (8.12.10/8.12.10/webde Linux 0.7) with SMTP id jBQFgDDu002247 for ; Mon, 26 Dec 2005 16:42:25 +0100 Received: from [84.158.168.116] by freemailng5301.web.de with HTTP; Mon, 26 Dec 2005 16:42:25 +0100 Date: Mon, 26 Dec 2005 16:42:25 +0100 Message-Id: <413235521@web.de> MIME-Version: 1.0 From: Lukas Razik To: freebsd-hardware@freebsd.org Precedence: fm-user Organization: http://freemail.web.de/ X-Sender: lukasrazik@web.de Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Subject: Issue with WEP and ath wlan driver on 6.0-STABLE X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2005 15:42:55 -0000 Hello! Yesterday I've cvsuped my 5.3 system to RELENG_6 and now I have an issue with my Atheros 5212 wlan card. The problem is that if I don't use WEP mode then all works fine. But if I want to use WEP as I've done it under 5.3-RELEASE then I can't ping any hosts in the network (I wait and get no answeres and no error message from ping)... I've tried to load the wlan, wlan_wep, if_ath modules in different ways (from loader.conf, manually, in different order...) but there's always the same problem - i can't get a connection to the wlan network. The loaded kernel modules are: ... wlan.ko wlan_wep.ko if_ath.ko ath_rate.ko ath_hal.ko The config line in rc.conf is: ifconfig_ath0="inet 192.168.0.12 netmask 255.255.255.0 ssid razik.de wepmode mixed wepkey 1234567890123" The ifconfig ath0 output is: ath0:... inet6 ... inet 192.168.0.12 netmask 255.255.255.0.... ether ... media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/54Mbps) status: associated ssid: razik.de channel 9 bssid 00:04e2:ab:85:6e authmode OPEN privacy MIXED deftxkey UNDEF wepkey 1:104-bit txpowmax 47 protmode CTS burst bintval 100 dmesg output is: ath0: mem ..... ath0: Ethernet address: 00:0f:a3....... ath0: mac 5.9 phy 4.3 radio 4.6 ath0: link state changed to UP Does anyone have an idea what there could be wrong? Regards, Lukas From owner-freebsd-hardware@FreeBSD.ORG Mon Dec 26 16:19:15 2005 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 759D216A41F for ; Mon, 26 Dec 2005 16:19:15 +0000 (GMT) (envelope-from lukas@razik.de) Received: from fmmailgate07.web.de (fmmailgate07.web.de [217.72.192.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC62D43D45 for ; Mon, 26 Dec 2005 16:19:14 +0000 (GMT) (envelope-from lukas@razik.de) Received: by fmmailgate07.web.de (8.12.10/8.12.10/webde Linux 0.7) with SMTP id jBQGHUDw006828 for ; Mon, 26 Dec 2005 17:19:13 +0100 Received: from [84.158.168.116] by freemailng5302.web.de with HTTP; Mon, 26 Dec 2005 17:19:07 +0100 Date: Mon, 26 Dec 2005 17:19:07 +0100 Message-Id: <413256541@web.de> MIME-Version: 1.0 From: Lukas Razik To: freebsd-hardware@freebsd.org Precedence: fm-user Organization: http://freemail.web.de/ X-Sender: lukasrazik@web.de Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Issue with WEP and ath wlan driver on 6.0-STABLE X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2005 16:19:15 -0000 Hello! Sorry, I found my mistake: I didn't set 'weptxkey 1' in the config line because I only looked for 'deftxkey' (like it's shown from ifconfig) and didn't find anything in the manpage of ifconfig. Regards, Lukas Lukas Razik schrieb am 26.12.05 16:47:24: > > Hello! > > Yesterday I've cvsuped my 5.3 system to RELENG_6 and now I have an issue with my Atheros 5212 wlan card. > The problem is that if I don't use WEP mode then all works fine. But if I want to use WEP as I've done it under 5.3-RELEASE then I can't ping any hosts in the network (I wait and get no answeres and no error message from ping)... > I've tried to load the wlan, wlan_wep, if_ath modules in different ways (from loader.conf, manually, in different order...) but there's always the same problem - i can't get a connection to the wlan network. > > The loaded kernel modules are: > ... > wlan.ko > wlan_wep.ko > if_ath.ko > ath_rate.ko > ath_hal.ko > > The config line in rc.conf is: > ifconfig_ath0="inet 192.168.0.12 netmask 255.255.255.0 ssid razik.de wepmode mixed wepkey 1234567890123" > > The ifconfig ath0 output is: > ath0:... > inet6 ... > inet 192.168.0.12 netmask 255.255.255.0.... > ether ... > media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/54Mbps) > status: associated > ssid: razik.de channel 9 bssid 00:04e2:ab:85:6e > authmode OPEN privacy MIXED deftxkey UNDEF wepkey 1:104-bit txpowmax 47 > protmode CTS burst bintval 100 > > dmesg output is: > ath0: mem ..... > ath0: Ethernet address: 00:0f:a3....... > ath0: mac 5.9 phy 4.3 radio 4.6 > ath0: link state changed to UP > > Does anyone have an idea what there could be wrong? > > Regards, > Lukas From owner-freebsd-hardware@FreeBSD.ORG Mon Dec 26 16:43:19 2005 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B534716A41F; Mon, 26 Dec 2005 16:43:19 +0000 (GMT) (envelope-from kono@kth.se) Received: from omega.nanophys.kth.se (omega.nanophys.kth.se [130.237.35.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id C2DAA43D5F; Mon, 26 Dec 2005 16:43:18 +0000 (GMT) (envelope-from kono@kth.se) Received: from omega.nanophys.kth.se (localhost [127.0.0.1]) by omega.nanophys.kth.se (8.13.4/8.13.1) with ESMTP id jBQGiYPL029227; Mon, 26 Dec 2005 17:44:34 +0100 (CET) (envelope-from kono@kth.se) Received: from localhost (kono@localhost) by omega.nanophys.kth.se (8.13.4/8.13.1/Submit) with ESMTP id jBQGiXBA029224; Mon, 26 Dec 2005 17:44:33 +0100 (CET) (envelope-from kono@kth.se) X-Authentication-Warning: omega.nanophys.kth.se: kono owned process doing -bs Date: Mon, 26 Dec 2005 17:44:33 +0100 (CET) From: Alexander Konovalenko X-X-Sender: kono@omega.nanophys.kth.se To: freebsd-acpi@freebsd.org, freebsd-hardware@freebsd.org Message-ID: <20051226172520.V29157@omega.nanophys.kth.se> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: "no carrier" on vr0 caused by suspend (FreeBSD 6.0) 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, 26 Dec 2005 16:43:19 -0000 Hello, recently I have upgraded my AMD Athlono-XP laptop to 6.0 STABLE, everything works fine, even suspending with zzz works except network interface vr0 which is in state "no carrier" right after wake up. The only thing which helps is reboot. Is there any work around? RIGHT AFTER WAKE UP: # ifconfig vr0: flags=8843 mtu 1500 ether 00:40:d0:2d:b2:3f media: Ethernet autoselect status: no carrier lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 # # # sysctl -a | grep vr dev.vr.0.%desc: VIA VT6102 Rhine II 10/100BaseTX dev.vr.0.%driver: vr dev.vr.0.%location: slot=18 function=0 handle=\_SB_.PCI0.LAN0 dev.vr.0.%pnpinfo: vendor=0x1106 device=0x3065 subvendor=0x1631 subdevice=0x7002 class=0x020000 dev.vr.0.%parent: pci0 dev.vr.0.wake: 0 dev.miibus.0.%parent: vr0 NORMAL STATE: # ifconfig vr0: flags=8843 mtu 1500 inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255 ether 00:40:d0:2d:b2:3f media: Ethernet autoselect (100baseTX ) status: active lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 # # sysctl -a|grep vr dev.vr.0.%desc: VIA VT6102 Rhine II 10/100BaseTX dev.vr.0.%driver: vr dev.vr.0.%location: slot=18 function=0 handle=\_SB_.PCI0.LAN0 dev.vr.0.%pnpinfo: vendor=0x1106 device=0x3065 subvendor=0x1631 subdevice=0x7002 class=0x020000 dev.vr.0.%parent: pci0 dev.vr.0.wake: 0 dev.miibus.0.%parent: vr0 /Alexander Konovalenko From owner-freebsd-hardware@FreeBSD.ORG Mon Dec 26 21:37:14 2005 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E99C416A41F; Mon, 26 Dec 2005 21:37:14 +0000 (GMT) (envelope-from groot@kde.org) Received: from pandora.cs.kun.nl (pandora.cs.kun.nl [131.174.33.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id E453F43D80; Mon, 26 Dec 2005 21:37:05 +0000 (GMT) (envelope-from groot@kde.org) Received: from odin.cs.kun.nl [131.174.33.33] (helo=localhost.englishbreakfastnetwork.org) by pandora.cs.kun.nl (8.13.5/5.7) with ESMTP id jBQLb262012580; Mon, 26 Dec 2005 22:37:02 +0100 (MET) From: Adriaan de Groot To: freebsd-acpi@freebsd.org Date: Mon, 26 Dec 2005 22:36:56 +0100 User-Agent: KMail/1.9 References: <20051226172520.V29157@omega.nanophys.kth.se> In-Reply-To: <20051226172520.V29157@omega.nanophys.kth.se> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1591578.ScZFQImDFy"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200512262237.02342.groot@kde.org> X-Spam-Score: -0.01 () BAYES_40,FORGED_RCVD_HELO X-Scanned-By: MIMEDefang 2.48 on 131.174.33.4 Cc: Alexander Konovalenko , freebsd-hardware@freebsd.org Subject: Re: "no carrier" on vr0 caused by suspend (FreeBSD 6.0) 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, 26 Dec 2005 21:37:15 -0000 --nextPart1591578.ScZFQImDFy Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 26 December 2005 17:44, Alexander Konovalenko wrote: > recently I have upgraded my AMD Athlono-XP laptop to 6.0 STABLE, > everything works fine, even suspending with zzz works except > network interface vr0 which is in state "no carrier" right after wake up. > The only thing which helps is reboot. I just finished working on a Via C3-mini ITX box, also with a vr0 interface= ;=20 it's not a laptop, but I felt it needed to suspend anyway. Suspend into S3= =20 causes the vr0 to hang on resume, in my case with regular vr0: watchdog=20 timeout messages. Solution: reset the driver. Implementation: build a custom kernel with _no_ vr interface built in. Make= =20 sure vr is built as a module. In the suspend script, unload the module. In= =20 resume, reload it, then run rc.d/netif and rc.d/routing. For simple machine= s=20 with uncomplicated interfaces and routing, that ought to do the trick. =2D-=20 These are your friends - Adem GPG: FEA2 A3FE Adriaan de Groot --nextPart1591578.ScZFQImDFy Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBDsGJ+dqzuAf6io/4RAtjjAJ9kFr2KydYZeb8mF625Zk0Ab9kCjQCfaZOr uhKegr8HdPq/q4UHwQo4aI4= =/ijv -----END PGP SIGNATURE----- --nextPart1591578.ScZFQImDFy-- From owner-freebsd-hardware@FreeBSD.ORG Tue Dec 27 00:17:49 2005 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43BF116A420 for ; Tue, 27 Dec 2005 00:17:49 +0000 (GMT) (envelope-from j_guojun@lbl.gov) Received: from smtp104.sbc.mail.mud.yahoo.com (smtp104.sbc.mail.mud.yahoo.com [68.142.198.203]) by mx1.FreeBSD.org (Postfix) with SMTP id 3B52A43D62 for ; Tue, 27 Dec 2005 00:17:47 +0000 (GMT) (envelope-from j_guojun@lbl.gov) Received: (qmail 83070 invoked from network); 27 Dec 2005 00:17:47 -0000 Received: from unknown (HELO ?192.168.2.8?) (jinmtb@sbcglobal.net@68.127.171.235 with plain) by smtp104.sbc.mail.mud.yahoo.com with SMTP; 27 Dec 2005 00:17:47 -0000 Message-ID: <43B08825.1050906@lbl.gov> Date: Mon, 26 Dec 2005 16:17:41 -0800 From: "Jin Guojun [VFFS]" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051013 X-Accept-Language: zh, zh-CN, en MIME-Version: 1.0 To: Adriaan de Groot References: <20051226172520.V29157@omega.nanophys.kth.se> <200512262237.02342.groot@kde.org> In-Reply-To: <200512262237.02342.groot@kde.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Alexander Konovalenko , freebsd-acpi@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: "no carrier" on vr0 caused by suspend (FreeBSD 6.0) 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, 27 Dec 2005 00:17:49 -0000 Adriaan de Groot wrote: >On Monday 26 December 2005 17:44, Alexander Konovalenko wrote: > > >>recently I have upgraded my AMD Athlono-XP laptop to 6.0 STABLE, >>everything works fine, even suspending with zzz works except >>network interface vr0 which is in state "no carrier" right after wake up. >>The only thing which helps is reboot. >> >> > >I just finished working on a Via C3-mini ITX box, also with a vr0 interface; >it's not a laptop, but I felt it needed to suspend anyway. Suspend into S3 >causes the vr0 to hang on resume, in my case with regular vr0: watchdog >timeout messages. > >Solution: reset the driver. > >Implementation: build a custom kernel with _no_ vr interface built in. Make >sure vr is built as a module. In the suspend script, unload the module. In >resume, reload it, then run rc.d/netif and rc.d/routing. For simple machines >with uncomplicated interfaces and routing, that ought to do the trick. > Just bought a ECS P4M800-M7 (V3.1), and had some problems on vr0 with FreeBSD 6.0. Without carrier, system hangs. With cable plugged in, vr0 doesn't work properly. Dhclient fails. Even manually ifconfig vr0 to a IP, machine cannot ping the gateway. Plugged in a fxp0 NIC and dhclient works on fxp0. So, I wonder if this vr driver issue or is it a bad NIC? (vr0 is on board NIC). -- ------------ Jin Guojun ----------- v --- jin@george.lbl.gov --- Distributed Systems Department http://www.dsd.lbl.gov/~jin Lawrence Berkeley National Laboratory, Berkeley, CA 94720 From owner-freebsd-hardware@FreeBSD.ORG Tue Dec 27 05:21:46 2005 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6323416A420 for ; Tue, 27 Dec 2005 05:21:46 +0000 (GMT) (envelope-from j_guojun@lbl.gov) Received: from smtp104.sbc.mail.mud.yahoo.com (smtp104.sbc.mail.mud.yahoo.com [68.142.198.203]) by mx1.FreeBSD.org (Postfix) with SMTP id 86F9943D4C for ; Tue, 27 Dec 2005 05:21:43 +0000 (GMT) (envelope-from j_guojun@lbl.gov) Received: (qmail 49478 invoked from network); 27 Dec 2005 05:21:39 -0000 Received: from unknown (HELO ?192.168.2.10?) (jinmtb@sbcglobal.net@68.127.171.235 with plain) by smtp104.sbc.mail.mud.yahoo.com with SMTP; 27 Dec 2005 05:21:39 -0000 Message-ID: <43B0CFF6.2050005@lbl.gov> Date: Mon, 26 Dec 2005 21:24:06 -0800 From: "Jin Guojun [VFFS]" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050108 X-Accept-Language: zh, zh-CN, en MIME-Version: 1.0 To: freebsd-hardware@freebsd.org References: <20051226172520.V29157@omega.nanophys.kth.se> <200512262237.02342.groot@kde.org> <43B08825.1050906@lbl.gov> In-Reply-To: <43B08825.1050906@lbl.gov> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: "no carrier" on vr0 caused by suspend (FreeBSD 6.0) 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, 27 Dec 2005 05:21:46 -0000 Jin Guojun [VFFS] wrote: > Just bought a ECS P4M800-M7 (V3.1), and had some problems on vr0 with > FreeBSD 6.0. > Without carrier, system hangs. With cable plugged in, vr0 doesn't work > properly. > Dhclient fails. Even manually ifconfig vr0 to a IP, machine cannot > ping the gateway. > Plugged in a fxp0 NIC and dhclient works on fxp0. > So, I wonder if this vr driver issue or is it a bad NIC? (vr0 is on > board NIC). It seems to be hardware problem because Windows 2000 even will not boot from this motherboard. -Jin From owner-freebsd-hardware@FreeBSD.ORG Tue Dec 27 16:16:59 2005 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 32B2016A41F; Tue, 27 Dec 2005 16:16:59 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34C0E43D5F; Tue, 27 Dec 2005 16:16:58 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.5b3) with ESMTP id 4660867 for multiple; Tue, 27 Dec 2005 11:18:47 -0500 Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id jBRGGthN019190; Tue, 27 Dec 2005 11:16:56 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-hardware@freebsd.org Date: Tue, 27 Dec 2005 11:17:13 -0500 User-Agent: KMail/1.8.2 References: <20051226172520.V29157@omega.nanophys.kth.se> <200512262237.02342.groot@kde.org> In-Reply-To: <200512262237.02342.groot@kde.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512271117.15361.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1218/Mon Dec 26 08:46:59 2005 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx X-Server: High Performance Mail Server - http://surgemail.com r=1653887525 Cc: Adriaan de Groot , Alexander Konovalenko , freebsd-acpi@freebsd.org Subject: Re: "no carrier" on vr0 caused by suspend (FreeBSD 6.0) 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, 27 Dec 2005 16:16:59 -0000 On Monday 26 December 2005 04:36 pm, Adriaan de Groot wrote: > On Monday 26 December 2005 17:44, Alexander Konovalenko wrote: > > recently I have upgraded my AMD Athlono-XP laptop to 6.0 STABLE, > > everything works fine, even suspending with zzz works except > > network interface vr0 which is in state "no carrier" right after wake up. > > The only thing which helps is reboot. > > I just finished working on a Via C3-mini ITX box, also with a vr0 > interface; it's not a laptop, but I felt it needed to suspend anyway. > Suspend into S3 causes the vr0 to hang on resume, in my case with regular > vr0: watchdog timeout messages. > > Solution: reset the driver. > > Implementation: build a custom kernel with _no_ vr interface built in. Make > sure vr is built as a module. In the suspend script, unload the module. In > resume, reload it, then run rc.d/netif and rc.d/routing. For simple > machines with uncomplicated interfaces and routing, that ought to do the > trick. You can try stopping the chip during suspend and init on resume. Something like this: Index: if_vr.c =================================================================== RCS file: /usr/cvs/src/sys/pci/if_vr.c,v retrieving revision 1.114 diff -u -r1.114 if_vr.c --- if_vr.c 11 Nov 2005 16:04:58 -0000 1.114 +++ if_vr.c 27 Dec 2005 16:16:55 -0000 @@ -132,6 +132,8 @@ static int vr_probe(device_t); static int vr_attach(device_t); static int vr_detach(device_t); +static int vr_suspend(device_t); +static int vr_resume(device_t); static int vr_newbuf(struct vr_softc *, struct vr_chain_onefrag *, struct mbuf *); @@ -182,6 +184,8 @@ DEVMETHOD(device_probe, vr_probe), DEVMETHOD(device_attach, vr_attach), DEVMETHOD(device_detach, vr_detach), + DEVMETHOD(device_suspend, vr_suspend), + DEVMETHOD(device_resume, vr_resume), DEVMETHOD(device_shutdown, vr_shutdown), /* bus interface */ @@ -830,6 +834,30 @@ return (0); } +static int +vr_suspend(device_t dev) +{ + struct vr_softc *sc = device_get_softc(dev); + + VR_LOCK(sc); + sc->suspended = 1; + vr_stop(sc); + VR_UNLOCK(sc); + return (0); +} + +static int +vr_resume(device_t dev) +{ + struct vr_softc *sc = device_get_softc(dev); + + VR_LOCK(sc); + sc->suspended = 0; + vr_init_locked(sc); + VR_UNLOCK(sc); + return (0); +} + /* * Initialize the transmit descriptors. */ -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-hardware@FreeBSD.ORG Wed Dec 28 21:38:51 2005 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4F78416A41F for ; Wed, 28 Dec 2005 21:38:51 +0000 (GMT) (envelope-from akbeech@gmail.com) Received: from msgmmp-2.gci.net (msgmmp-2.gci.net [209.165.130.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7E3043D5D for ; Wed, 28 Dec 2005 21:38:50 +0000 (GMT) (envelope-from akbeech@gmail.com) Received: from stargate.akparadise.com ([209.124.141.64]) by msgmmp-2.gci.net (Sun Java System Messaging Server 6.2-3.03 (built Jun 27 2005)) with ESMTPA id <0IS800DQ89FLLBC0@msgmmp-2.gci.net> for freebsd-hardware@freebsd.org; Wed, 28 Dec 2005 12:38:13 -0900 (AKST) Received: by stargate.akparadise.com (Postfix, from userid 0) id 2C8443F82; Wed, 28 Dec 2005 12:38:08 -0900 (AKST) Date: Wed, 28 Dec 2005 12:37:55 -0900 From: Beech Rintoul To: freebsd-hardware@freebsd.org Message-id: <200512281238.07902.akbeech@gmail.com> Organization: NorthWind Communications MIME-version: 1.0 Content-type: multipart/signed; boundary=nextPart567903911.vRujyKpocY; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-transfer-encoding: 7bit User-Agent: KMail/1.8.3 Subject: ath problems 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, 28 Dec 2005 21:38:51 -0000 --nextPart567903911.vRujyKpocY Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I'm trying to get ath working with a D-Link AG530 wireless card on a 6-STAB= LE=20 machine. It returns the following: Dec 28 12:24:12 pinnacle kernel: ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212,= =20 RF5111, RF5112, RF2413) Dec 28 12:24:12 pinnacle kernel: ath0: mem=20 0xcffe0000-0xcffeffff irq 10 at device 10.0 on pci0 Dec 28 12:24:12 pinnacle kernel: ath0: unable to collect channel list from= =20 hal; regdomain likely 18 country code 0 Dec 28 12:24:12 pinnacle kernel: device_attach: ath0 attach returned 22 This card / driver works perfectly on my -CURRENT box. Is this supported in= =20 =2DCURRENT only? I don't want to upgrade the box, it's in production and I= =20 can't risk -CURRENT. BTW, this card is not in the supported devices list, b= ut=20 does work. Is it feasible to move the sources from -CURRENT to this box? If= =20 so which ones? Thanks, Beech =2D-=20 =2D------------------------------------------------------------------------= =2D------------- Beech Rintoul - System Administrator - akbeech@gmail.com /"\ ASCII Ribbon Campaign | NorthWind Communications \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://akparadise.byethost33.com =2D------------------------------------------------------------------------= =2D------------- --nextPart567903911.vRujyKpocY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDswW/Vq19LUoGB+MRAj/sAJ95Pd/bgbqLGVkxuC01E+gebZyk9ACfVFJz p9AOzQPPMNXHSq2aInsghDs= =tINi -----END PGP SIGNATURE----- --nextPart567903911.vRujyKpocY-- From owner-freebsd-hardware@FreeBSD.ORG Thu Dec 29 02:56:20 2005 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 243DC16A41F for ; Thu, 29 Dec 2005 02:56:20 +0000 (GMT) (envelope-from lvcargnini@gmail.com) Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DCCF43D46 for ; Thu, 29 Dec 2005 02:56:19 +0000 (GMT) (envelope-from lvcargnini@gmail.com) Received: by nproxy.gmail.com with SMTP id p77so586186nfc for ; Wed, 28 Dec 2005 18:56:18 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=cxBVY/90fa7QcfpcrfRdBJi3rE/7S3Um6z1uA7C1/jf/Vyb2lm2W9l3CYhUVZG3Tx08qJnQbtWijjEkpThl7F6oD9ceq8snM7HPbIbt4RD4/GUw94ip50Ud3vbQ0MNPG9sy8lv4ehwPU1QNdIFSxZ0kKMRygzYSq+EnEp0iX7+A= Received: by 10.48.143.6 with SMTP id q6mr357520nfd; Wed, 28 Dec 2005 18:56:17 -0800 (PST) Received: by 10.48.224.16 with HTTP; Wed, 28 Dec 2005 18:56:17 -0800 (PST) Message-ID: Date: Thu, 29 Dec 2005 00:56:17 -0200 From: =?ISO-8859-1?Q?Lu=EDs_Cargnini?= To: freebsd-hardware@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Dlink DWL-G520+ X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lvcargnini@ieee.org List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2005 02:56:20 -0000 Hi i have an Dlink DWL-G520+ as following: ndis0@pci0:9:0: class=3D0x028000 card=3D0x3b041186 chip=3D0x9066104c rev=3D= 0x00 hdr=3D0x00 vendor =3D 'Texas Instruments (TI)' device =3D 'TNETW1130(ACX111) 802.11b/g Wireless Cardbus/PCI Adapter' class =3D network but it isn't working well, someone knows if exist an native driver or how i must proceed (walktrhough) to put this net device to work thanks. i'm using ascii wep keys on fbsd it shows wepkeys with 104 bits but in AP it has 128 bits, another syntom whe it tried it first time cpu take at 98%, please any info about is welcome. -- Thanks && Regards Msc. Bsc. Lu=EDs Vit=F3rio Cargnini IEEE Member Mastering Degree student @ PUC-RS Electrical Engineer Faculty From owner-freebsd-hardware@FreeBSD.ORG Thu Dec 29 19:02:59 2005 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C098C16A420; Thu, 29 Dec 2005 19:02:59 +0000 (GMT) (envelope-from tlp@liquidx.org) Received: from illusionist.sov.kewlio.net.uk (fxp-0.712-illusionist.sov.kewlio.net.uk [85.116.0.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2629343D4C; Thu, 29 Dec 2005 19:02:58 +0000 (GMT) (envelope-from tlp@liquidx.org) Received: from [192.168.0.18] (71-33-104-72.bois.qwest.net [71.33.104.72]) (authenticated bits=0 user=tlp) by illusionist.sov.kewlio.net.uk (8.13.4/8.13.4) with ESMTP id jBTJ2rPm050529 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Thu, 29 Dec 2005 19:02:56 GMT From: Travis Poppe To: freebsd-questions@freebsd.org, freebsd-hardware@freebsd.org Date: Thu, 29 Dec 2005 12:02:51 -0700 User-Agent: KMail/1.8.3 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512291202.51955.tlp@liquidx.org> Cc: Subject: Harddrive size being reported incorrectly? 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, 29 Dec 2005 19:02:59 -0000 Hello, I've recently purchased an IDE 320GB Western Digital WD3200JB-22KFA0 harddrive for use in my FreeBSD 6.0-RELEASE fileserver. The BIOS in the system reports the drive as being a 320GB, but FreeBSD (dmesg) sees it as a 305245MB (or 298GB drive) in two separate machines. When it has finally been formatted for use, I get 289GB of available space. Now, I understand that harddrive manufacturers measure things differently (1000kbytes per gbyte rather than 1024, or something like that) than expected, but I've been told by a few people that I should be getting around 305-312GB of available space after the drive has been formatted. sysinstall had to adjust the drive geometry because the reported one was 'invalid'. I tried to manually specify the geometry BIOS reported, but this too was rejected as invalid. BIOS Geometry-CYL/HD/SECT: 65535/16/255 Am I really getting the full potential out of this drive, or is something wrong? Thanks, -- Travis Poppe IRC: tlp @ irc.freenode.net From owner-freebsd-hardware@FreeBSD.ORG Thu Dec 29 19:18:10 2005 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0DA816A41F; Thu, 29 Dec 2005 19:18:10 +0000 (GMT) (envelope-from fbsd_user@a1poweruser.com) Received: from mta13.adelphia.net (mta13.mail.adelphia.net [68.168.78.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66D5743D53; Thu, 29 Dec 2005 19:18:09 +0000 (GMT) (envelope-from fbsd_user@a1poweruser.com) Received: from barbish ([69.172.31.117]) by mta13.adelphia.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with SMTP id <20051229191808.IIJE26442.mta13.adelphia.net@barbish>; Thu, 29 Dec 2005 14:18:08 -0500 From: "fbsd_user" To: "Travis Poppe" , , Date: Thu, 29 Dec 2005 14:18:03 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <200512291202.51955.tlp@liquidx.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Importance: Normal Cc: Subject: RE: Harddrive size being reported incorrectly? X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fbsd_user@a1poweruser.com List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2005 19:18:10 -0000 Just use FreeBSD's best guess and it will work fine. -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Travis Poppe Sent: Thursday, December 29, 2005 2:03 PM To: freebsd-questions@freebsd.org; freebsd-hardware@freebsd.org Subject: Harddrive size being reported incorrectly? Hello, I've recently purchased an IDE 320GB Western Digital WD3200JB-22KFA0 harddrive for use in my FreeBSD 6.0-RELEASE fileserver. The BIOS in the system reports the drive as being a 320GB, but FreeBSD (dmesg) sees it as a 305245MB (or 298GB drive) in two separate machines. When it has finally been formatted for use, I get 289GB of available space. Now, I understand that harddrive manufacturers measure things differently (1000kbytes per gbyte rather than 1024, or something like that) than expected, but I've been told by a few people that I should be getting around 305-312GB of available space after the drive has been formatted. sysinstall had to adjust the drive geometry because the reported one was 'invalid'. I tried to manually specify the geometry BIOS reported, but this too was rejected as invalid. BIOS Geometry-CYL/HD/SECT: 65535/16/255 Am I really getting the full potential out of this drive, or is something wrong? Thanks, -- Travis Poppe IRC: tlp @ irc.freenode.net _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-hardware@FreeBSD.ORG Thu Dec 29 19:20:58 2005 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C0BA616A429 for ; Thu, 29 Dec 2005 19:20:58 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDC8C43D7E for ; Thu, 29 Dec 2005 19:20:47 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 21969 invoked from network); 29 Dec 2005 19:20:44 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 29 Dec 2005 19:20:44 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 3DBD728423; Thu, 29 Dec 2005 14:20:43 -0500 (EST) Sender: lowell@be-well.ilk.org To: Travis Poppe References: <200512291202.51955.tlp@liquidx.org> From: Lowell Gilbert Date: 29 Dec 2005 14:20:43 -0500 In-Reply-To: <200512291202.51955.tlp@liquidx.org> Message-ID: <444q4ryak4.fsf@be-well.ilk.org> Lines: 33 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: Harddrive size being reported incorrectly? X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Dec 2005 19:20:59 -0000 Travis Poppe writes: > Hello, > > I've recently purchased an IDE 320GB Western Digital WD3200JB-22KFA0 > harddrive for use in my FreeBSD 6.0-RELEASE fileserver. The BIOS in the system > reports the drive as being a 320GB, but FreeBSD (dmesg) sees it as a 305245MB > (or 298GB drive) in two separate machines. When it has finally been formatted > for use, I get 289GB of available space. > > Now, I understand that harddrive manufacturers measure things differently > (1000kbytes per gbyte rather than 1024, or something like that) than > expected, but I've been told by a few people that I should be getting around > 305-312GB of available space after the drive has been formatted. Well, no. 305245MB is (305245x1024x1024), or just a *hair* larger than 320 x 10e10 bytes. So what FreeBSD reports is exactly what you should expect from the manufacturer's specification. > sysinstall had to adjust the drive geometry because the reported one was > 'invalid'. I tried to manually specify the geometry BIOS reported, but this > too was rejected as invalid. > > BIOS Geometry-CYL/HD/SECT: 65535/16/255 C/H/S geometries are (more or less) fictitious these days anyway. I let the installer do what it wants, and haven't had a problem in a long time. > Am I really getting the full potential out of this drive, or is something > wrong? Looks like things are working fine. From owner-freebsd-hardware@FreeBSD.ORG Thu Dec 29 19:22:34 2005 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B3D116A41F; Thu, 29 Dec 2005 19:22:34 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: from mail.localelinks.com (web.localelinks.com [64.39.75.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id B1B4743D5F; Thu, 29 Dec 2005 19:22:26 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: from draco.over-yonder.net (adsl-072-148-013-213.sip.jan.bellsouth.net [72.148.13.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.localelinks.com (Postfix) with ESMTP id 95035168; Thu, 29 Dec 2005 13:22:25 -0600 (CST) Received: by draco.over-yonder.net (Postfix, from userid 100) id C510161C21; Thu, 29 Dec 2005 13:22:24 -0600 (CST) Date: Thu, 29 Dec 2005 13:22:24 -0600 From: "Matthew D. Fuller" To: Travis Poppe Message-ID: <20051229192224.GC63497@over-yonder.net> References: <200512291202.51955.tlp@liquidx.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200512291202.51955.tlp@liquidx.org> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.11-fullermd.2 Cc: freebsd-questions@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: Harddrive size being reported incorrectly? 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, 29 Dec 2005 19:22:34 -0000 On Thu, Dec 29, 2005 at 12:02:51PM -0700 I heard the voice of Travis Poppe, and lo! it spake thus: > > reports the drive as being a 320GB, but FreeBSD (dmesg) sees it as a > 305245MB (or 298GB drive) in two separate machines. When it has > finally been formatted for use, I get 289GB of available space. > > Now, I understand that harddrive manufacturers measure things > differently (1000kbytes per gbyte rather than 1024, or something > like that) than expected, but I've been told by a few people that I > should be getting around 305-312GB of available space after the > drive has been formatted. Don't be told. Do the math. 320,000,000,000 bytes (hard drive manufacturer 'gigabytes'), divided by 1024 gives 312,500,000 kbytes, divided by 1024 gives 305,175.8 mbytes, divided by 1024 gives 298.023 gbytes according to a quick dc(1). -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream. From owner-freebsd-hardware@FreeBSD.ORG Thu Dec 29 19:23:11 2005 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A6AE16A425; Thu, 29 Dec 2005 19:23:11 +0000 (GMT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADEEA43D5D; Thu, 29 Dec 2005 19:22:52 +0000 (GMT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (localhost [127.0.0.1]) by clunix.cl.msu.edu (8.12.10+Sun/8.12.2) with ESMTP id jBTJMniU000934; Thu, 29 Dec 2005 14:22:49 -0500 (EST) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.12.10+Sun/8.12.2/Submit) id jBTJMnYA000933; Thu, 29 Dec 2005 14:22:49 -0500 (EST) From: Jerry McAllister Message-Id: <200512291922.jBTJMnYA000933@clunix.cl.msu.edu> To: tlp@liquidx.org (Travis Poppe) Date: Thu, 29 Dec 2005 14:22:49 -0500 (EST) In-Reply-To: <200512291202.51955.tlp@liquidx.org> X-Mailer: ELM [version 2.5 PL7] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: Harddrive size being reported incorrectly? 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, 29 Dec 2005 19:23:11 -0000 > > Hello, > > I've recently purchased an IDE 320GB Western Digital WD3200JB-22KFA0 > harddrive for use in my FreeBSD 6.0-RELEASE fileserver. The BIOS in the system > reports the drive as being a 320GB, but FreeBSD (dmesg) sees it as a 305245MB > (or 298GB drive) in two separate machines. When it has finally been formatted > for use, I get 289GB of available space. A nominal 320GB drive works out to 298.02 GB using the 1024 MB number system that the system uses. eg 320,000,000,000 / 1024 / 1024 / 1024 / 1024 = 298.02 or 320,000,000,000 / 1,073,741,824 = 298.02 > Now, I understand that harddrive manufacturers measure things differently > (1000kbytes per gbyte rather than 1024, or something like that) than > expected, but I've been told by a few people that I should be getting around > 305-312GB of available space after the drive has been formatted. They didn't do their arithmetic. When you slice and partition the drive, there will likely be a handful of sectors that don't round out to an even value so those are dropped. Then, when you do the newfs, some space is taken by the spare superblocks and finally the system reserves 8%. So, I would say you are getting it all. > sysinstall had to adjust the drive geometry because the reported one was > 'invalid'. I tried to manually specify the geometry BIOS reported, but this > too was rejected as invalid. Let the system do what it thinks is right. You are not losing any due to invalid geometry. > > BIOS Geometry-CYL/HD/SECT: 65535/16/255 > > Am I really getting the full potential out of this drive, or is something > wrong? Doesn't look like anything is wrong. It looks right. ////jerry > > Thanks, > -- > Travis Poppe > IRC: tlp @ irc.freenode.net > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-hardware@FreeBSD.ORG Thu Dec 29 19:32:13 2005 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 517E816A41F; Thu, 29 Dec 2005 19:32:13 +0000 (GMT) (envelope-from tlp@liquidx.org) Received: from illusionist.sov.kewlio.net.uk (fxp-0.712-illusionist.sov.kewlio.net.uk [85.116.0.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id A591843D7F; Thu, 29 Dec 2005 19:32:12 +0000 (GMT) (envelope-from tlp@liquidx.org) Received: from [192.168.0.18] (71-33-104-72.bois.qwest.net [71.33.104.72]) (authenticated bits=0 user=tlp) by illusionist.sov.kewlio.net.uk (8.13.4/8.13.4) with ESMTP id jBTJW2Ya050857 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Thu, 29 Dec 2005 19:32:04 GMT From: Travis Poppe To: Jerry McAllister Date: Thu, 29 Dec 2005 12:32:00 -0700 User-Agent: KMail/1.8.3 References: <200512291922.jBTJMnYA000933@clunix.cl.msu.edu> In-Reply-To: <200512291922.jBTJMnYA000933@clunix.cl.msu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512291232.01100.tlp@liquidx.org> Cc: freebsd-questions@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: Harddrive size being reported incorrectly? 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, 29 Dec 2005 19:32:13 -0000 On Thursday 29 December 2005 12:22 pm, Jerry McAllister wrote: > > Now, I understand that harddrive manufacturers measure things differently > > (1000kbytes per gbyte rather than 1024, or something like that) than > > expected, but I've been told by a few people that I should be getting > > around 305-312GB of available space after the drive has been formatted. > > They didn't do their arithmetic. > > When you slice and partition the drive, there will likely be a handful > of sectors that don't round out to an even value so those are dropped. > Then, when you do the newfs, some space is taken by the spare superblocks > and finally the system reserves 8%. So, I would say you are getting > it all. 289GB is before the 8% reservation. I actually turned that off with tunefs. Thanks to all who responded so quickly, makes me feel better about filling the drive up. Wanted to verify this before using the drive as to not end up having to re-newfs it in the future to gain back any possible unused space. Thanks, -- Travis Poppe IRC: tlp @ irc.freenode.net From owner-freebsd-hardware@FreeBSD.ORG Thu Dec 29 21:34:38 2005 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5716516A420; Thu, 29 Dec 2005 21:34:38 +0000 (GMT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D825243D46; Thu, 29 Dec 2005 21:34:37 +0000 (GMT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: from clunix.cl.msu.edu (localhost [127.0.0.1]) by clunix.cl.msu.edu (8.12.10+Sun/8.12.2) with ESMTP id jBTLYaiU001274; Thu, 29 Dec 2005 16:34:36 -0500 (EST) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.12.10+Sun/8.12.2/Submit) id jBTLYaSH001273; Thu, 29 Dec 2005 16:34:36 -0500 (EST) From: Jerry McAllister Message-Id: <200512292134.jBTLYaSH001273@clunix.cl.msu.edu> To: tlp@liquidx.org (Travis Poppe) Date: Thu, 29 Dec 2005 16:34:36 -0500 (EST) In-Reply-To: <200512291232.01100.tlp@liquidx.org> X-Mailer: ELM [version 2.5 PL7] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, freebsd-hardware@freebsd.org Subject: Re: Harddrive size being reported incorrectly? 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, 29 Dec 2005 21:34:38 -0000 > > On Thursday 29 December 2005 12:22 pm, Jerry McAllister wrote: > > > Now, I understand that harddrive manufacturers measure things differently > > > (1000kbytes per gbyte rather than 1024, or something like that) than > > > expected, but I've been told by a few people that I should be getting > > > around 305-312GB of available space after the drive has been formatted. > > > > They didn't do their arithmetic. > > > > When you slice and partition the drive, there will likely be a handful > > of sectors that don't round out to an even value so those are dropped. > > Then, when you do the newfs, some space is taken by the spare superblocks > > and finally the system reserves 8%. So, I would say you are getting > > it all. > > 289GB is before the 8% reservation. I actually turned that off with tunefs. I strongly suggest you do not do that - at least completely off. Reduce it some, if you like, but keep some. ////jerry > > Thanks to all who responded so quickly, makes me feel better about filling the > drive up. Wanted to verify this before using the drive as to not end up > having to re-newfs it in the future to gain back any possible unused space. > > Thanks, > -- > Travis Poppe > IRC: tlp @ irc.freenode.net > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-hardware@FreeBSD.ORG Fri Dec 30 00:37:53 2005 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91CC716A41F for ; Fri, 30 Dec 2005 00:37:53 +0000 (GMT) (envelope-from mlalvarez@manquehue.net) Received: from mx.lc-1.netline.cl (mx.lc-1.netline.cl [216.241.9.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B26F43D49 for ; Fri, 30 Dec 2005 00:37:51 +0000 (GMT) (envelope-from mlalvarez@manquehue.net) Received: from app2 ([10.0.0.12]:35236 helo=mail.netline.cl) by mx.lc-1.netline.cl with esmtp (SMTP 1.0 #1) id 1Es8HF-0000IK-6G for ; Thu, 29 Dec 2005 21:37:49 -0300 Received: from [200.119.230.49] (port=52742 helo=adsl-200-119-230-49.manquehue.net) by mail.netline.cl with esmtpa (SMTP 1.0 #1) id 1Es8HE-0008Ju-IO for ; Thu, 29 Dec 2005 21:37:48 -0300 From: Olivier Gautherot To: freebsd-hardware@freebsd.org Date: Thu, 29 Dec 2005 21:36:50 -0300 User-Agent: KMail/1.8.3 References: <200512292134.jBTLYaSH001273@clunix.cl.msu.edu> In-Reply-To: <200512292134.jBTLYaSH001273@clunix.cl.msu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200512292136.50983.mlalvarez@manquehue.net> X-MAIL-AuthUser: mlalvarez@manquehue.net X-MAIL-Date: 2005-12-29 21:37:49 GMT-4 X-MAIL-SenderIP: 200.119.230.49 X-MAIL-Mta: app2 ([10.0.0.12]:35236 helo=mail.netline.cl) Subject: Re: Harddrive size being reported incorrectly? X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: olivier@gautherot.net List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2005 00:37:53 -0000 On Thursday 29 December 2005 18:34, Jerry McAllister wrote: > > > [...] > > > When you slice and partition the drive, there will likely be a handful > > > of sectors that don't round out to an even value so those are dropped. > > > Then, when you do the newfs, some space is taken by the spare superblocks > > > and finally the system reserves 8%. So, I would say you are getting > > > it all. > > > > 289GB is before the 8% reservation. I actually turned that off with tunefs. > > I strongly suggest you do not do that - at least completely off. > Reduce it some, if you like, but keep some. I too strongly recommend you keep these 8% in. The fact is that the space is not wasted: in the old days, it was meant to prevent the system from happily creating files until it dies - beyond 100%, files already opened could be written to but you could not create new files. Some kind of "soft landing". I suppose it is still the case. Actually, a friend asked me a few weeks ago how the file system could reach 110% and he was speculating on how the system could use the swap partition to get to this level: it was not the swap partition but this extra space artificially held up. You can safely and without afterthoughts let this 8% in. Cheers -- Olivier Gautherot olivier@gautherot.net From owner-freebsd-hardware@FreeBSD.ORG Fri Dec 30 06:01:16 2005 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 117F616A41F for ; Fri, 30 Dec 2005 06:01:16 +0000 (GMT) (envelope-from markir@paradise.net.nz) Received: from linda-5.paradise.net.nz (bm-5a.paradise.net.nz [203.96.152.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6858F43D58 for ; Fri, 30 Dec 2005 06:01:15 +0000 (GMT) (envelope-from markir@paradise.net.nz) Received: from smtp-3.paradise.net.nz (tclsnelb1-src-1.paradise.net.nz [203.96.152.172]) by linda-5.paradise.net.nz (Paradise.net.nz) with ESMTP id <0ISA005V4QRSW8@linda-5.paradise.net.nz> for freebsd-hardware@freebsd.org; Fri, 30 Dec 2005 18:47:54 +1300 (NZDT) Received: from [192.168.1.11] (218-101-29-175.dsl.clear.net.nz [218.101.29.175]) by smtp-3.paradise.net.nz (Postfix) with ESMTP id 831431251A6F; Fri, 30 Dec 2005 18:43:40 +1300 (NZDT) Date: Fri, 30 Dec 2005 18:43:37 +1300 From: Mark Kirkwood In-reply-to: <200512292136.50983.mlalvarez@manquehue.net> To: olivier@gautherot.net Message-id: <43B4C909.8020006@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.6 (X11/20051106) References: <200512292134.jBTLYaSH001273@clunix.cl.msu.edu> <200512292136.50983.mlalvarez@manquehue.net> Cc: freebsd-hardware@freebsd.org Subject: Re: Harddrive size being reported incorrectly? 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, 30 Dec 2005 06:01:16 -0000 Olivier Gautherot wrote: > On Thursday 29 December 2005 18:34, Jerry McAllister wrote: > >>>>[...] >>>>When you slice and partition the drive, there will likely be a handful >>>>of sectors that don't round out to an even value so those are dropped. >>>>Then, when you do the newfs, some space is taken by the spare superblocks >>>>and finally the system reserves 8%. So, I would say you are getting >>>>it all. >>> >>>289GB is before the 8% reservation. I actually turned that off with tunefs. >> >>I strongly suggest you do not do that - at least completely off. >>Reduce it some, if you like, but keep some. > > > I too strongly recommend you keep these 8% in. > > The fact is that the space is not wasted: in the old days, it was meant > to prevent the system from happily creating files until it dies - beyond > 100%, files already opened could be written to but you could not create > new files. Some kind of "soft landing". I suppose it is still the case. > > Actually, a friend asked me a few weeks ago how the file system could > reach 110% and he was speculating on how the system could use the > swap partition to get to this level: it was not the swap partition but this > extra space artificially held up. > > You can safely and without afterthoughts let this 8% in. > In addition, there are some potentially undesirable side effects that result from reduction - from the tunefs manpage discussing minfree: Note that lowering the threshold can adversely affect performance: o Settings of 5% and less force space optimization to always be used which will greatly increase the overhead for file writes. o The file system's ability to avoid fragmentation will be reduced when the total free space, including the reserve, drops below 15%. As free space approaches zero, throughput can degrade by up to a factor of three over the performance obtained at a 10% threshold. The first effect can be mitigated by specifying '-o time', but I always leave it at the 8% default (fewer customizations for me to forget...). Cheers Mark From owner-freebsd-hardware@FreeBSD.ORG Fri Dec 30 13:31:29 2005 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C7DA716A41F for ; Fri, 30 Dec 2005 13:31:29 +0000 (GMT) (envelope-from chrisl@grm.net) Received: from mail.grm.net (grmisp1.grm.net [216.139.111.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id 164FE43D48 for ; Fri, 30 Dec 2005 13:31:24 +0000 (GMT) (envelope-from chrisl@grm.net) Received: from localhost (localhost [127.0.0.1]) by mail.grm.net (Postfix) with ESMTP id ACC1E9D1BB for ; Fri, 30 Dec 2005 07:31:23 -0600 (CST) Received: from mail.grm.net ([127.0.0.1]) by localhost (isp1.grm.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 03053-10 for ; Fri, 30 Dec 2005 07:31:21 -0600 (CST) Received: from ns1 (customer120_235.grm.net [216.139.120.235]) by mail.grm.net (Postfix) with SMTP id 9B4139D180 for ; Fri, 30 Dec 2005 07:31:20 -0600 (CST) Message-ID: <000801c60d45$67efa160$e001fea9@grm.net.grm.net> From: "Chris and Mary LaMaster" To: Date: Fri, 30 Dec 2005 07:31:55 -0600 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Scanned: amavisd-new at grm.net Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Laptop Hardware 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, 30 Dec 2005 13:31:29 -0000 I have an old Fujitsu 735Tx laptop. =20 Pentium 150mmx 64MB Ram CD Floppy 2Gig Hd My question is this, I'm pretty sure FreeBSD will run on my laptop, but = I'm am curious to know if it would allow me to install a DVD-Rom and = watch DVDs. I'm too cheap to buy a portable DVD player, and I would = like to make good use of an old laptop. =20 Thanks for your replys in advace. Chris From owner-freebsd-hardware@FreeBSD.ORG Fri Dec 30 13:39:57 2005 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 36A2E16A420 for ; Fri, 30 Dec 2005 13:39:57 +0000 (GMT) (envelope-from baldur@foo.is) Received: from gremlin.foo.is (gremlin.foo.is [194.105.250.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1967E43D46 for ; Fri, 30 Dec 2005 13:39:55 +0000 (GMT) (envelope-from baldur@foo.is) Received: from 127.0.0.1 (unknown [127.0.0.1]) by injector.foo.is (Postfix) with SMTP id D03CB28513; Fri, 30 Dec 2005 13:39:54 +0000 (GMT) Received: by gremlin.foo.is (Postfix, from userid 1000) id 047A6284BB; Fri, 30 Dec 2005 13:39:51 +0000 (GMT) Date: Fri, 30 Dec 2005 13:39:51 +0000 From: Baldur Gislason To: Chris and Mary LaMaster Message-ID: <20051230133951.GN779@gremlin.foo.is> References: <000801c60d45$67efa160$e001fea9@grm.net.grm.net> In-Reply-To: <000801c60d45$67efa160$e001fea9@grm.net.grm.net> User-Agent: Mutt/1.4.2.1i X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on gremlin.foo.is X-Spam-Level: X-Spam-Status: No, score=-5.9 required=6.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 X-Sanitizer: Foo MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Cc: freebsd-hardware@freebsd.org Subject: Re: Laptop Hardware 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, 30 Dec 2005 13:39:57 -0000 It simply doesn't have the processing power to decode full res MPEG2. It may be able to play half res MPEG1 such as VCD but definitely not DVD. Portable DVD players are getting very cheap today, I've seen them for less than $200. Baldur On Fri, Dec 30, 2005 at 07:31:55AM -0600, Chris and Mary LaMaster wrote: > I have an old Fujitsu 735Tx laptop. > Pentium 150mmx > 64MB Ram > CD > Floppy > 2Gig Hd > > My question is this, I'm pretty sure FreeBSD will run on my laptop, but I'm am curious to know if it would allow me to install a DVD-Rom and watch DVDs. I'm too cheap to buy a portable DVD player, and I would like to make good use of an old laptop. > > Thanks for your replys in advace. > > Chris > _______________________________________________ > 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" >