From owner-freebsd-geom@FreeBSD.ORG Mon Aug 17 04:49:52 2009 Return-Path: Delivered-To: freebsd-geom@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 822191065672; Mon, 17 Aug 2009 04:49:52 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 591C18FC41; Mon, 17 Aug 2009 04:49:52 +0000 (UTC) Received: from freefall.freebsd.org (marcel@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7H4nq1x031585; Mon, 17 Aug 2009 04:49:52 GMT (envelope-from marcel@freefall.freebsd.org) Received: (from marcel@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7H4npK4031581; Mon, 17 Aug 2009 04:49:51 GMT (envelope-from marcel) Date: Mon, 17 Aug 2009 04:49:51 GMT Message-Id: <200908170449.n7H4npK4031581@freefall.freebsd.org> To: bu7cher@yandex.ru, marcel@FreeBSD.org, freebsd-geom@FreeBSD.org From: marcel@FreeBSD.org Cc: Subject: Re: bin/137656: [geom][patch] gpart drops core when adding partition to non-existent geom X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Aug 2009 04:49:52 -0000 Synopsis: [geom][patch] gpart drops core when adding partition to non-existent geom State-Changed-From-To: open->closed State-Changed-By: marcel State-Changed-When: Mon Aug 17 04:49:37 UTC 2009 State-Changed-Why: Committed. http://www.freebsd.org/cgi/query-pr.cgi?pr=137656 From owner-freebsd-geom@FreeBSD.ORG Mon Aug 17 05:21:40 2009 Return-Path: Delivered-To: freebsd-geom@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E38601065690; Mon, 17 Aug 2009 05:21:40 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BB8A78FC52; Mon, 17 Aug 2009 05:21:40 +0000 (UTC) Received: from freefall.freebsd.org (pjd@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7H5LeLK065497; Mon, 17 Aug 2009 05:21:40 GMT (envelope-from pjd@freefall.freebsd.org) Received: (from pjd@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7H5LeMw065493; Mon, 17 Aug 2009 05:21:40 GMT (envelope-from pjd) Date: Mon, 17 Aug 2009 05:21:40 GMT Message-Id: <200908170521.n7H5LeMw065493@freefall.freebsd.org> To: don_oles@able.com.ua, pjd@FreeBSD.org, freebsd-geom@FreeBSD.org From: pjd@FreeBSD.org Cc: Subject: Re: kern/137797: gmirror(8): gmirror split does not improve performance X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Aug 2009 05:21:41 -0000 Synopsis: gmirror(8): gmirror split does not improve performance State-Changed-From-To: open->closed State-Changed-By: pjd State-Changed-When: pon 17 sie 2009 05:18:25 UTC State-Changed-Why: Note that sequential read from two local SATA disks is not the only possible workload. Split mode was implemented there more as an example, although the idea was that it could be used when disks are behind two slow links (eg. accessible over slow network). http://www.freebsd.org/cgi/query-pr.cgi?pr=137797 From owner-freebsd-geom@FreeBSD.ORG Mon Aug 17 11:06:55 2009 Return-Path: Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41DD5106568D for ; Mon, 17 Aug 2009 11:06:55 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2F6CF8FC15 for ; Mon, 17 Aug 2009 11:06:55 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7HB6tTf075796 for ; Mon, 17 Aug 2009 11:06:55 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7HB6sJV075792 for freebsd-geom@FreeBSD.org; Mon, 17 Aug 2009 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 17 Aug 2009 11:06:54 GMT Message-Id: <200908171106.n7HB6sJV075792@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-geom@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-geom@FreeBSD.org X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Aug 2009 11:06:55 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/135898 geom [geom] Severe filesystem corruption - large files or l o kern/134922 geom [gmirror] [panic] kernel panic when use fdisk on disk o kern/134113 geom [geli] Problem setting secondary GELI key o kern/134044 geom [geom] gmirror(8) overwrites fs with stale data from r o kern/133931 geom [geli] [request] intentionally wrong password to destr o bin/132845 geom [geom] [patch] ggated(8) does not close files opened a o kern/132273 geom glabel(8): [patch] failing on journaled partition f kern/132242 geom [gmirror] gmirror.ko fails to fully initialize o kern/131353 geom [geom] gjournal(8) kernel lock p docs/130548 geom [patch] gjournal(8) man page is missing sysctls o kern/129674 geom [geom] gjournal root did not mount on boot o kern/129645 geom gjournal(8): GEOM_JOURNAL causes system to fail to boo o kern/129245 geom [geom] gcache is more suitable for suffix based provid f kern/128276 geom [gmirror] machine lock up when gmirror module is used f kern/126902 geom [geom] geom_label: kernel panic during install boot o kern/124973 geom [gjournal] [patch] boot order affects geom_journal con o kern/124969 geom gvinum(8): gvinum raid5 plex does not detect missing s f kern/124294 geom [geom] gmirror(8) have inappropriate logic when workin o kern/123962 geom [panic] [gjournal] gjournal (455Gb data, 8Gb journal), o kern/123630 geom [patch] [gmirror] gmirror doesnt allow the original dr o kern/123122 geom [geom] GEOM / gjournal kernel lock o kern/122738 geom [geom] gmirror list "losts consumers" after gmirror de f kern/122415 geom [geom] UFS labels are being constantly created and rem o kern/122067 geom [geom] [panic] Geom crashed during boot o kern/121559 geom [patch] [geom] geom label class allows to create inacc o kern/121364 geom [gmirror] Removing all providers create a "zombie" mir o kern/120091 geom [geom] [geli] [gjournal] geli does not prompt for pass o kern/120021 geom [geom] [panic] net-p2p/qbittorrent crashes system when o kern/119743 geom [geom] geom label for cds is keeped after dismount and o kern/115856 geom [geli] ZFS thought it was degraded when it should have o kern/115547 geom [geom] [patch] [request] let GEOM Eli get password fro o kern/114532 geom [geom] GEOM_MIRROR shows up in kldstat even if compile o kern/113957 geom [gmirror] gmirror is intermittently reporting a degrad o kern/113885 geom [gmirror] [patch] improved gmirror balance algorithm o kern/113837 geom [geom] unable to access 1024 sector size storage o kern/113419 geom [geom] geom fox multipathing not failing back p bin/110705 geom gmirror(8) control utility does not exit with correct o kern/107707 geom [geom] [patch] [request] add new class geom_xbox360 to o kern/104389 geom [geom] [patch] sys/geom/geom_dump.c doesn't encode XML o kern/98034 geom [geom] dereference of NULL pointer in acd_geom_detach o kern/94632 geom [geom] Kernel output resets input while GELI asks for o kern/90582 geom [geom] [panic] Restore cause panic string (ffs_blkfree o bin/90093 geom fdisk(8) incapable of altering in-core geometry a kern/89660 geom [vinum] [patch] [panic] due to g_malloc returning null o kern/89546 geom [geom] GEOM error o kern/88601 geom [geli] geli cause kernel panic under heavy disk usage o kern/87544 geom [gbde] mmaping large files on a gbde filesystem deadlo o kern/84556 geom [geom] [panic] GBDE-encrypted swap causes panic at shu o kern/79251 geom [2TB] newfs fails on 2.6TB gbde device o kern/79035 geom [vinum] gvinum unable to create a striped set of mirro o bin/78131 geom gbde(8) "destroy" not working. s kern/73177 geom kldload geom_* causes panic due to memory exhaustion 52 problems total. From owner-freebsd-geom@FreeBSD.ORG Mon Aug 17 16:29:46 2009 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05719106568F for ; Mon, 17 Aug 2009 16:29:46 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout029.mac.com (asmtpout029.mac.com [17.148.16.104]) by mx1.freebsd.org (Postfix) with ESMTP id E65238FC6F for ; Mon, 17 Aug 2009 16:29:45 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii; format=flowed Received: from macbook-pro.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp029.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KOJ00EGK4HIKH10@asmtp029.mac.com> for freebsd-geom@freebsd.org; Mon, 17 Aug 2009 09:29:45 -0700 (PDT) From: Marcel Moolenaar In-reply-to: <4A579076.5070008@wagsky.com> Date: Mon, 17 Aug 2009 09:29:41 -0700 Message-id: References: <4A578E3F.8050305@wagsky.com> <4A579076.5070008@wagsky.com> To: Jeff Kletsky X-Mailer: Apple Mail (2.1074) Cc: freebsd-geom@freebsd.org Subject: Re: 7.x and 8.0 gpt and gpart GPT PMBR prevents Intel boot X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Aug 2009 16:29:46 -0000 On Jul 10, 2009, at 12:03 PM, Jeff Kletsky wrote: *snip* > The PR indicates patches for the CHS issue for gpt. For gpart, the > code is in /usr/src/sys/geom/part/g_part_gpt.c and, I believe, should > be modified to read > > le16enc(table->mbr + DOSMAGICOFFSET, DOSMAGIC); > table->mbr[DOSPARTOFF + 1] = 0x01; /* shd */ > table->mbr[DOSPARTOFF + 2] = 0x01; /* ssect */ > table->mbr[DOSPARTOFF + 3] = 0x00; /* scyl */ > table->mbr[DOSPARTOFF + 4] = 0xee; /* typ */ > table->mbr[DOSPARTOFF + 5] = 0xff; /* ehd */ > table->mbr[DOSPARTOFF + 6] = 0xff; /* esect */ > table->mbr[DOSPARTOFF + 7] = 0xff; /* ecyl */ > le32enc(table->mbr + DOSPARTOFF + 8, 1); /* start */ > le32enc(table->mbr + DOSPARTOFF + 12, MIN(last, 0xffffffffLL)); *snip* > In my opinion, these issues should be considered for inclusion in the > 8.0-RELEASE -- at the very least, the 0xffffff issue, as it cannot > easily be resolved from the command line. This particular change will be in 8.0-RELEASE. Making the EFI GPT slice active is questionable and such has not been done. As you said, there's a simple work-around for it by using fdisk. 7-STABLE needs addressing still. FYI, -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-geom@FreeBSD.ORG Mon Aug 17 23:13:34 2009 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FBA21065695 for ; Mon, 17 Aug 2009 23:13:34 +0000 (UTC) (envelope-from lev@serebryakov.spb.ru) Received: from ftp.translate.ru (ftp.translate.ru [77.221.156.50]) by mx1.freebsd.org (Postfix) with ESMTP id 31F1C8FC52 for ; Mon, 17 Aug 2009 23:13:33 +0000 (UTC) Received: from desktop.home.serebryakov.spb.ru (85-142-52-164.well-com.net [85.142.52.164]) (Authenticated sender: lev@serebryakov.spb.ru) by ftp.translate.ru (Postfix) with ESMTPA id 3049013DF4C for ; Tue, 18 Aug 2009 02:59:44 +0400 (MSD) Date: Tue, 18 Aug 2009 02:59:41 +0400 From: Lev Serebryakov X-Priority: 3 (Normal) Message-ID: <1226785293.20090818025941@serebryakov.spb.ru> To: freebsd-geom@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Subject: Difference between FreeBSD-7 and FreeBSD-8 in tasting? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Aug 2009 23:13:34 -0000 Hello, Freebsd-geom. I'm porting geom_raid5 to FreeBSD8, and have strange problem: when module is loaded after system start (with kldload) it tastes its consumers (configured early) and creates array. When it is loaded on boot time (with /boot/loader.conf), it doesn't see array components at all, as if taste is not called... It works on FreeBSD7 flawless in both cases... I've changed only two things: (1) allow root_mount_hold() tocken to be NULL (2) change working thread creation from kthread_create() to kproc_kthre= ad_add(). What are other differences in GEOM between 7 and 8? --=20 // Black Lion AKA Lev Serebryakov From owner-freebsd-geom@FreeBSD.ORG Tue Aug 18 07:38:37 2009 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7FBC1065697 for ; Tue, 18 Aug 2009 07:38:37 +0000 (UTC) (envelope-from lev@serebryakov.spb.ru) Received: from ftp.translate.ru (ftp.translate.ru [77.221.156.50]) by mx1.freebsd.org (Postfix) with ESMTP id 746B58FC72 for ; Tue, 18 Aug 2009 07:38:37 +0000 (UTC) Received: from desktop.home.serebryakov.spb.ru (85-142-52-164.well-com.net [85.142.52.164]) (Authenticated sender: lev@serebryakov.spb.ru) by ftp.translate.ru (Postfix) with ESMTPA id 30DB313DF46; Tue, 18 Aug 2009 11:38:36 +0400 (MSD) Date: Tue, 18 Aug 2009 11:38:33 +0400 From: Lev Serebryakov X-Priority: 3 (Normal) Message-ID: <852978746.20090818113833@serebryakov.spb.ru> To: Lev Serebryakov In-Reply-To: <1226785293.20090818025941@serebryakov.spb.ru> References: <1226785293.20090818025941@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: freebsd-geom@freebsd.org Subject: Re: Difference between FreeBSD-7 and FreeBSD-8 in tasting? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Aug 2009 07:38:37 -0000 Hello, Lev. You wrote 18 =E0=E2=E3=F3=F1=F2=E0 2009 =E3., 02:59:41: > I'm porting geom_raid5 to FreeBSD8, and have strange problem: when > module is loaded after system start (with kldload) it tastes its > consumers (configured early) and creates array. > When it is loaded on boot time (with /boot/loader.conf), it doesn't > see array components at all, as if taste is not called... > It works on FreeBSD7 flawless in both cases... > I've changed only two things: > (1) allow root_mount_hold() tocken to be NULL > (2) change working thread creation from kthread_create() to kproc_kth= read_add(). > What are other differences in GEOM between 7 and 8? I've found problem. geom_raid5 check cp->provider->sectorsize before g_access() call, and on boot it is zero before g_access() and 512 (which is proper value) after this call. --=20 // Black Lion AKA Lev Serebryakov From owner-freebsd-geom@FreeBSD.ORG Tue Aug 18 07:45:19 2009 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC338106564A for ; Tue, 18 Aug 2009 07:45:19 +0000 (UTC) (envelope-from lev@serebryakov.spb.ru) Received: from ftp.translate.ru (ftp.translate.ru [77.221.156.50]) by mx1.freebsd.org (Postfix) with ESMTP id 8853A8FC6C for ; Tue, 18 Aug 2009 07:45:19 +0000 (UTC) Received: from desktop.home.serebryakov.spb.ru (85-142-52-164.well-com.net [85.142.52.164]) (Authenticated sender: lev@serebryakov.spb.ru) by ftp.translate.ru (Postfix) with ESMTPA id B753013DF46; Tue, 18 Aug 2009 11:45:18 +0400 (MSD) Date: Tue, 18 Aug 2009 11:45:15 +0400 From: Lev Serebryakov X-Priority: 3 (Normal) Message-ID: <254357380.20090818114515@serebryakov.spb.ru> To: "Poul-Henning Kamp" In-Reply-To: <16362.1250581262@critter.freebsd.dk> References: Your message of "Tue, 18 Aug 2009 11:38:33 +0400." <852978746.20090818113833@serebryakov.spb.ru> <16362.1250581262@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: freebsd-geom@freebsd.org Subject: Re[2]: Difference between FreeBSD-7 and FreeBSD-8 in tasting? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Aug 2009 07:45:19 -0000 Hello, Poul-Henning. You wrote 18 =E0=E2=E3=F3=F1=F2=E0 2009 =E3., 11:41:02: >> I've found problem. geom_raid5 check cp->provider->sectorsize before >>g_access() call, and on boot it is zero before g_access() and 512 >>(which is proper value) after this call. > This is a bug in geom_raid5: > The sectorsize and mediasize are only valid if you hold a proper access > to the provider. Yep, I understand this. It worked on 7 and worked after proper boot, (when somebody tasted this providers -- disks -- already), so bug was well-hidden. --=20 // Black Lion AKA Lev Serebryakov From owner-freebsd-geom@FreeBSD.ORG Tue Aug 18 07:56:47 2009 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65F611065672 for ; Tue, 18 Aug 2009 07:56:47 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 2A3578FC3F for ; Tue, 18 Aug 2009 07:56:47 +0000 (UTC) Received: from critter.freebsd.dk (l106.freebsd.dk [192.168.60.106]) by phk.freebsd.dk (Postfix) with ESMTP id 863D069959; Tue, 18 Aug 2009 07:40:57 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.3/8.14.3) with ESMTP id n7I7f219016363; Tue, 18 Aug 2009 07:41:02 GMT (envelope-from phk@critter.freebsd.dk) To: Lev Serebryakov From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 18 Aug 2009 11:38:33 +0400." <852978746.20090818113833@serebryakov.spb.ru> Date: Tue, 18 Aug 2009 07:41:02 +0000 Message-ID: <16362.1250581262@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: freebsd-geom@freebsd.org Subject: Re: Difference between FreeBSD-7 and FreeBSD-8 in tasting? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Aug 2009 07:56:47 -0000 In message <852978746.20090818113833@serebryakov.spb.ru>, Lev Serebryakov write s: > I've found problem. geom_raid5 check cp->provider->sectorsize before >g_access() call, and on boot it is zero before g_access() and 512 >(which is proper value) after this call. This is a bug in geom_raid5: The sectorsize and mediasize are only valid if you hold a proper access to the provider. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-geom@FreeBSD.ORG Tue Aug 18 08:47:46 2009 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B8B3106568D for ; Tue, 18 Aug 2009 08:47:46 +0000 (UTC) (envelope-from votdev@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 502438FC6F for ; Tue, 18 Aug 2009 08:47:45 +0000 (UTC) Received: (qmail 7046 invoked by uid 0); 18 Aug 2009 08:21:04 -0000 Received: from 85.93.64.96 by www170.gmx.net with HTTP; Tue, 18 Aug 2009 10:21:02 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" Date: Tue, 18 Aug 2009 10:21:02 +0200 From: "Volker Theile" In-Reply-To: <16362.1250581262@critter.freebsd.dk> Message-ID: <20090818082102.184300@gmx.net> MIME-Version: 1.0 References: <16362.1250581262@critter.freebsd.dk> To: "Poul-Henning Kamp" , lev@serebryakov.spb.ru X-Authenticated: #1412882 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX19TlqIppfFTBmQG4WXgyrkk3P5NeeWQkzdESa+A3u yTkg0kHGAuZvoqu+Xh8gUTQNLCXYZJErtmsw== Content-Transfer-Encoding: 8bit X-GMX-UID: WlazcshyYW0tR3b8dGZp30J8amthc5sI X-FuHaFi: 0.52 Cc: freebsd-geom@freebsd.org Subject: Re: Difference between FreeBSD-7 and FreeBSD-8 in tasting? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Aug 2009 08:47:46 -0000 Can you please make a bugfix for geom_raid5 (FBSD7). I think some FreeNAS users will be happy, too. Regards Volker -------- Original-Nachricht -------- > Datum: Tue, 18 Aug 2009 07:41:02 +0000 > Von: "Poul-Henning Kamp" > An: Lev Serebryakov > CC: freebsd-geom@freebsd.org > Betreff: Re: Difference between FreeBSD-7 and FreeBSD-8 in tasting? > In message <852978746.20090818113833@serebryakov.spb.ru>, Lev Serebryakov > write > s: > > > I've found problem. geom_raid5 check cp->provider->sectorsize before > >g_access() call, and on boot it is zero before g_access() and 512 > >(which is proper value) after this call. > > This is a bug in geom_raid5: > > The sectorsize and mediasize are only valid if you hold a proper access > to the provider. > > -- > Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 > phk@FreeBSD.ORG | TCP/IP since RFC 956 > FreeBSD committer | BSD since 4.3-tahoe > Never attribute to malice what can adequately be explained by > incompetence. > _______________________________________________ > freebsd-geom@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-geom > To unsubscribe, send any mail to "freebsd-geom-unsubscribe@freebsd.org" -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 From owner-freebsd-geom@FreeBSD.ORG Tue Aug 18 09:36:53 2009 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 719CF106568C for ; Tue, 18 Aug 2009 09:36:53 +0000 (UTC) (envelope-from lev@serebryakov.spb.ru) Received: from ftp.translate.ru (ftp.translate.ru [77.221.156.50]) by mx1.freebsd.org (Postfix) with ESMTP id 2E65D8FC52 for ; Tue, 18 Aug 2009 09:36:52 +0000 (UTC) Received: from desktop.home.serebryakov.spb.ru (85-142-52-164.well-com.net [85.142.52.164]) (Authenticated sender: lev@serebryakov.spb.ru) by ftp.translate.ru (Postfix) with ESMTPA id DEBD013DF4B; Tue, 18 Aug 2009 13:36:51 +0400 (MSD) Date: Tue, 18 Aug 2009 13:36:48 +0400 From: Lev Serebryakov X-Priority: 3 (Normal) Message-ID: <1555318911.20090818133648@serebryakov.spb.ru> To: "Volker Theile" In-Reply-To: <20090818082102.184300@gmx.net> References: <16362.1250581262@critter.freebsd.dk> <20090818082102.184300@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Cc: Poul-Henning Kamp , freebsd-geom@freebsd.org Subject: Re[2]: Difference between FreeBSD-7 and FreeBSD-8 in tasting? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Aug 2009 09:36:53 -0000 Hello, Volker. You wrote 18 =E0=E2=E3=F3=F1=F2=E0 2009 =E3., 12:21:02: > Can you please make a bugfix for geom_raid5 (FBSD7). I think some FreeNAS= users will be happy, too. I'm working on it right now. It seems to be ready, but I need some more tresting. I want to cleanup code and polish it till it will be included in base system in fufutre. --=20 // Black Lion AKA Lev Serebryakov From owner-freebsd-geom@FreeBSD.ORG Tue Aug 18 13:27:09 2009 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4EBF8106568D for ; Tue, 18 Aug 2009 13:27:09 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id CD8B08FC43 for ; Tue, 18 Aug 2009 13:27:08 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1MdOiJ-0004qs-8G for freebsd-geom@freebsd.org; Tue, 18 Aug 2009 15:26:59 +0200 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 ; Tue, 18 Aug 2009 15:26:59 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 Aug 2009 15:26:59 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-geom@freebsd.org From: Ivan Voras Date: Tue, 18 Aug 2009 15:26:28 +0200 Lines: 14 Message-ID: References: <3E2345AC-55AD-4D23-B76C-B0C37CB62A51@gromit.dlib.vt.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.22 (X11/20090817) In-Reply-To: <3E2345AC-55AD-4D23-B76C-B0C37CB62A51@gromit.dlib.vt.edu> Sender: news Subject: Re: ZFS slow write performance X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Aug 2009 13:27:09 -0000 Paul Mather wrote: > Currently, I am just trying to rsync data locally from a read-only > UFS2-mounted USB-attached hard drive, and am getting (IMHO) poor write > speeds of only about 5 MiB/sec. I can't figure out why this is so > relatively low. > Any help or advice is appreciated. There could be many reasons, but you will have to dig more to find them. For example, it might be just that USB has a greater latency and it interferes with some assumptions, but it's only a guess. Try 8.0-BETA2, it has both new ZFS and new USB code. From owner-freebsd-geom@FreeBSD.ORG Wed Aug 19 21:59:06 2009 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B36FA106568C for ; Wed, 19 Aug 2009 21:59:06 +0000 (UTC) (envelope-from lulf@freebsd.org) Received: from decibel.pvv.ntnu.no (decibel.pvv.ntnu.no [IPv6:2001:700:300:1900::1:2]) by mx1.freebsd.org (Postfix) with ESMTP id 711B58FC43 for ; Wed, 19 Aug 2009 21:59:06 +0000 (UTC) Received: from 147.80-202-26.nextgentel.com ([80.202.26.147] helo=[10.0.0.6]) by decibel.pvv.ntnu.no with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1MdtBP-0005ED-0W; Wed, 19 Aug 2009 23:59:05 +0200 Message-ID: <4A8C75A6.30401@freebsd.org> Date: Wed, 19 Aug 2009 23:59:02 +0200 From: Ulf Lilleengen User-Agent: Thunderbird 2.0.0.22 (X11/20090608) MIME-Version: 1.0 To: Lev Serebryakov References: <1226785293.20090818025941@serebryakov.spb.ru> In-Reply-To: <1226785293.20090818025941@serebryakov.spb.ru> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Status=No hits=0.2 required=5.0 tests=ALL_TRUSTED, TVD_RCVD_IP version=3.2.4 Cc: freebsd-geom@freebsd.org Subject: Re: Difference between FreeBSD-7 and FreeBSD-8 in tasting? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Aug 2009 21:59:06 -0000 Lev Serebryakov wrote: > Hello, Freebsd-geom. > > I'm porting geom_raid5 to FreeBSD8, and have strange problem: when > module is loaded after system start (with kldload) it tastes its > consumers (configured early) and creates array. > > When it is loaded on boot time (with /boot/loader.conf), it doesn't > see array components at all, as if taste is not called... > > It works on FreeBSD7 flawless in both cases... > > I've changed only two things: > (1) allow root_mount_hold() tocken to be NULL > (2) change working thread creation from kthread_create() to kproc_kthread_add(). > > What are other differences in GEOM between 7 and 8? > > Just to mention: http://svn.freebsd.org/base/projects/geom_raid5/ In case you want a repo to submit patches against for people to test. I started to review it a while ago, but got bored too soon :) Nice to see someone works on getting this into the tree. -- Ulf Lilleengen From owner-freebsd-geom@FreeBSD.ORG Sat Aug 22 20:20:06 2009 Return-Path: Delivered-To: freebsd-geom@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1019E1065691; Sat, 22 Aug 2009 20:20:06 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 034788FC1D; Sat, 22 Aug 2009 20:20:05 +0000 (UTC) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n7MKK49h001331; Sat, 22 Aug 2009 20:20:04 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n7MKK417001327; Sat, 22 Aug 2009 20:20:04 GMT (envelope-from linimon) Date: Sat, 22 Aug 2009 20:20:04 GMT Message-Id: <200908222020.n7MKK417001327@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-geom@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: bin/138065: gpart(8) dumps core X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Aug 2009 20:20:06 -0000 Old Synopsis: gpart dumps core New Synopsis: gpart(8) dumps core Responsible-Changed-From-To: freebsd-bugs->freebsd-geom Responsible-Changed-By: linimon Responsible-Changed-When: Sat Aug 22 20:19:41 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=138065