From owner-freebsd-geom@FreeBSD.ORG Mon May 26 11:06:48 2008 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 4F1BD1065671 for ; Mon, 26 May 2008 11:06:48 +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 3AC9D8FC1C for ; Mon, 26 May 2008 11:06:48 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4QB6mEi064891 for ; Mon, 26 May 2008 11:06:48 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4QB6ldN064887 for freebsd-geom@FreeBSD.org; Mon, 26 May 2008 11:06:47 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 26 May 2008 11:06:47 GMT Message-Id: <200805261106.m4QB6ldN064887@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, 26 May 2008 11:06:48 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/73177 geom kldload geom_* causes panic due to memory exhaustion o kern/76538 geom [gbde] nfs-write on gbde partition stalls and continue o kern/83464 geom [geom] [patch] Unhandled malloc failures within libgeo o kern/84556 geom [geom] GBDE-encrypted swap causes panic at shutdown o kern/87544 geom [gbde] mmaping large files on a gbde filesystem deadlo s kern/89102 geom [geom] [panic] panic when forced unmount FS from unplu o kern/89546 geom [geom] GEOM error a kern/89660 geom [vinum] [patch] [panic] due to g_malloc returning null o bin/90093 geom fdisk(8) incapable of altering in-core geometry o kern/90582 geom [geom] [panic] Restore cause panic string (ffs_blkfree o kern/98034 geom [geom] dereference of NULL pointer in acd_geom_detach o kern/104389 geom [geom] [patch] sys/geom/geom_dump.c doesn't encode XML o kern/113419 geom [geom] geom fox multipathing not failing back o kern/113957 geom [gmirror] gmirror is intermittently reporting a degrad o kern/115572 geom [gbde] [patch] gbde partitions fail at 28bit/48bit LBA o kern/120021 geom net-p2p/qbittorrent crashes system when it works thoug o kern/120231 geom [geom] GEOM_CONCAT error adding second drive o kern/121364 geom [gmirror] Removing all providers create a "zombie" mir o kern/122067 geom [panic]: Geom crashed during boot f kern/122415 geom [geom] UFS labels are being constantly created and rem o kern/123122 geom GEOM / gjournal kernel lock o kern/123962 geom [panic] gjournal(8): gjournal (455Gb data, 8Gb journal 22 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/78131 geom gbde(8) "destroy" not working. o kern/79035 geom [vinum] gvinum unable to create a striped set of mirro o kern/79251 geom [2TB] newfs fails on 2.6TB gbde device o kern/94632 geom [geom] Kernel output resets input while GELI asks for o kern/107707 geom [geom] [patch] [request] add new class geom_xbox360 to p bin/110705 geom gmirror(8) control utility does not exit with correct o kern/113837 geom [geom] unable to access 1024 sector size storage o kern/113885 geom [gmirror] [patch] improved gmirror balance algorithm o kern/114532 geom [geom] GEOM_MIRROR shows up in kldstat even if compile o kern/115547 geom [geom] [patch] [request] let GEOM Eli get password fro o kern/119743 geom [geom] geom label for cds is keeped after dismount and o kern/120044 geom [msdosfs] [geom] incorrect MSDOSFS label fries adminis o kern/121559 geom [patch] [geom] geom label class allows to create inacc f kern/121907 geom [request] [geom] geom output to console obscures other o kern/123630 geom [patch] [gmirror] gmirror doesnt allow the original dr 15 problems total. From owner-freebsd-geom@FreeBSD.ORG Tue May 27 04:23:33 2008 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 117FB1065671 for ; Tue, 27 May 2008 04:23:33 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: from kiwi-computer.com (keira.kiwi-computer.com [63.224.10.3]) by mx1.freebsd.org (Postfix) with SMTP id 98AE98FC28 for ; Tue, 27 May 2008 04:23:32 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: (qmail 68586 invoked by uid 2001); 27 May 2008 03:56:50 -0000 Date: Mon, 26 May 2008 22:56:50 -0500 From: "Rick C. Petty" To: Marauder Message-ID: <20080527035650.GA68298@keira.kiwi-computer.com> References: <48357420.5689.0089.0@pi.avalonnetworks.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48357420.5689.0089.0@pi.avalonnetworks.us> User-Agent: Mutt/1.4.2.3i Cc: freebsd-geom@freebsd.org Subject: Re: Unable to write to drive X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rick-freebsd@kiwi-computer.com List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 May 2008 04:23:33 -0000 On Thu, May 22, 2008 at 01:24:49PM -0600, Marauder wrote: > > I have a problem that is driving me crazy. Hopefully I'm submitting this question to the correct place. > > My problem is... I have opened the drive /dev/ad0 with open("/dev/ad0", O_WRONLY) and it return's a valid file descriptor. The I attempt to write using the file descriptor returned. The write fails with errno=22 (EINVAL) What does your write instruction look like? I don't know if this still applies, but writes used to fail if not an integer multiple of 512 bytes in length. > I have attempted to first open /dev/io with READ/WRITE access to see if that help's. No luck I believe the io(4) device is used to directly access the I/O ports via the assembly instructions IN, INS, OUT, OUTS, CLI, and STI. This device is not used to gain privs on other devices. -- Rick C. Petty From owner-freebsd-geom@FreeBSD.ORG Tue May 27 16:58:26 2008 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 20ED31065681 for ; Tue, 27 May 2008 16:58:26 +0000 (UTC) (envelope-from marauder@pi.avalonnetworks.us) Received: from pi.avalonnetworks.us (pi.avalonnetworks.us [76.164.27.10]) by mx1.freebsd.org (Postfix) with ESMTP id CA4228FC17 for ; Tue, 27 May 2008 16:58:25 +0000 (UTC) (envelope-from marauder@pi.avalonnetworks.us) Received: from Project_Infinity-MTA by pi.avalonnetworks.us with Novell_GroupWise; Tue, 27 May 2008 10:58:10 -0600 Message-Id: <483BE93B.5689.0089.0@pi.avalonnetworks.us> X-Mailer: Novell GroupWise Internet Agent 7.0 Date: Tue, 27 May 2008 10:57:52 -0600 From: "Marauder" To: "Rick Petty" References: <48357420.5689.0089.0@pi.avalonnetworks.us> <20080527035650.GA68298@keira.kiwi-computer.com> In-Reply-To: <20080527035650.GA68298@keira.kiwi-computer.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: freebsd-geom@freebsd.org Subject: Re: Unable to write to drive 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, 27 May 2008 16:58:26 -0000 Actually I managed to fix this problem on Friday with the help of Sean = Bruno. The problem was the one you described bellow that Read's and writes = must be multiple's of 512. Thank you everybody for your help Binon >>> "Rick C. Petty" 5/26/2008 9:56 PM >>> On Thu, May 22, 2008 at 01:24:49PM -0600, Marauder wrote: >=20 > I have a problem that is driving me crazy. Hopefully I'm submitting this = question to the correct place.=20 >=20 > My problem is... I have opened the drive /dev/ad0 with open("/dev/ad0", = O_WRONLY) and it return's a valid file descriptor. The I attempt to write = using the file descriptor returned. The write fails with errno=3D22 = (EINVAL) What does your write instruction look like? I don't know if this still applies, but writes used to fail if not an integer multiple of 512 bytes = in length. > I have attempted to first open /dev/io with READ/WRITE access to see if = that help's. No luck I believe the io(4) device is used to directly access the I/O ports via = the assembly instructions IN, INS, OUT, OUTS, CLI, and STI. This device is = not used to gain privs on other devices. -- Rick C. Petty _______________________________________________ freebsd-geom@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-geom=20 To unsubscribe, send any mail to "freebsd-geom-unsubscribe@freebsd.org" From owner-freebsd-geom@FreeBSD.ORG Fri May 30 15:06:58 2008 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 E1DB61065673; Fri, 30 May 2008 15:06:58 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CBF2E8FC0C; Fri, 30 May 2008 15:06:58 +0000 (UTC) (envelope-from remko@FreeBSD.org) Received: from freefall.freebsd.org (remko@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4UF6w5q062520; Fri, 30 May 2008 15:06:58 GMT (envelope-from remko@freefall.freebsd.org) Received: (from remko@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4UF6wmT062516; Fri, 30 May 2008 15:06:58 GMT (envelope-from remko) Date: Fri, 30 May 2008 15:06:58 GMT Message-Id: <200805301506.m4UF6wmT062516@freefall.freebsd.org> To: kena@vodka-pomme.net, remko@FreeBSD.org, freebsd-geom@FreeBSD.org From: remko@FreeBSD.org Cc: Subject: Re: kern/124130: [gmirror][usb] gmirror fails to start usb devices that were present at boot time 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: Fri, 30 May 2008 15:06:59 -0000 Synopsis: [gmirror][usb] gmirror fails to start usb devices that were present at boot time State-Changed-From-To: feedback->open State-Changed-By: remko State-Changed-When: Fri May 30 15:06:14 UTC 2008 State-Changed-Why: Return this to the open state, the ticket gets forwarded to -geom because this is a boot-time issue, the modules are loaded but not detected, unless the user unplugs the hardware and replugs it. http://www.freebsd.org/cgi/query-pr.cgi?pr=124130 From owner-freebsd-geom@FreeBSD.ORG Fri May 30 15:20:03 2008 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 BDD521065675 for ; Fri, 30 May 2008 15:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C0DD38FC20 for ; Fri, 30 May 2008 15:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4UFK3Q8064288 for ; Fri, 30 May 2008 15:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4UFK3kv064287; Fri, 30 May 2008 15:20:03 GMT (envelope-from gnats) Date: Fri, 30 May 2008 15:20:03 GMT Message-Id: <200805301520.m4UFK3kv064287@freefall.freebsd.org> To: freebsd-geom@FreeBSD.org From: Kena Cc: Subject: Re: misc/124130: [gmirror][usb] gmirror fails to start usb devices that were present at boot time X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kena List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 May 2008 15:20:03 -0000 The following reply was made to PR kern/124130; it has been noted by GNATS. From: Kena To: Remko Lodder Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: misc/124130: [gmirror][usb] gmirror fails to start usb devices that were present at boot time Date: Fri, 30 May 2008 16:56:52 +0200 Op 30 mei 2008, om 16:34 heeft Remko Lodder het volgende geschreven: > 1) the severity is not important, I understand it is frustrating to > detach/attach the devices though. It's not only frustrating; it borders on "impossible" without physical access to the system. (unless I'm missing something and it is actually possible to unload/ reload drives using tools and the usb stack -- which I don't know how to do) > 2) Just to be sure you have a gmirror_load="YES" in /boot/ > loader.conf ? Both are set: geom_mirror_load="YES" geom_journal_load="YES" anything else to help? -- k From owner-freebsd-geom@FreeBSD.ORG Fri May 30 15:30:21 2008 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 44577106566C for ; Fri, 30 May 2008 15:30:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 47C318FC16 for ; Fri, 30 May 2008 15:30:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4UFULxe065761 for ; Fri, 30 May 2008 15:30:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4UFUL8V065760; Fri, 30 May 2008 15:30:21 GMT (envelope-from gnats) Date: Fri, 30 May 2008 15:30:21 GMT Message-Id: <200805301530.m4UFUL8V065760@freefall.freebsd.org> To: freebsd-geom@FreeBSD.org From: Remko Lodder Cc: Subject: Re: misc/124130: [gmirror][usb] gmirror fails to start usb devices that were present at boot time X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Remko Lodder List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 May 2008 15:30:21 -0000 The following reply was made to PR kern/124130; it has been noted by GNATS. From: Remko Lodder To: Kena Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: misc/124130: [gmirror][usb] gmirror fails to start usb devices that were present at boot time Date: Fri, 30 May 2008 16:34:26 +0200 2 notes: 1) the severity is not important, I understand it is frustrating to detach/attach the devices though. 2) Just to be sure you have a gmirror_load="YES" in /boot/loader.conf ? -- /"\ Best regards, | remko@FreeBSD.org \ / Remko Lodder | remko@EFnet X http://www.evilcoder.org/ | / \ ASCII Ribbon Campaign | Against HTML Mail and News