From owner-freebsd-emulation@FreeBSD.ORG Sun Nov 5 04:12:04 2006 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCE8816A52D for ; Sun, 5 Nov 2006 04:12:04 +0000 (UTC) (envelope-from cuentosinfa40@ciudad.com.ar) Received: from ciudad.com.ar (host159.200-45-61.telecom.net.ar [200.45.61.159]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDB6643D60 for ; Sun, 5 Nov 2006 04:11:54 +0000 (GMT) (envelope-from cuentosinfa40@ciudad.com.ar) Message-ID: <20061105011134.C68B9456DE93C069@ciudad.com.ar> From: Maria Elena Pastori To: emulation@freebsd.org Date: 05 Nov 2006 01:11:38 -0300 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Cuentos infantiles. Su importancia. X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Nov 2006 04:12:04 -0000 Se=F1ores padres: El primer contacto que tienen sus ni=F1os con la literatura es a tra= v=E9s de las "nanas" o "canciones" que padres y abuelos le entonan cuando es= peque=F1o. Luego vendr=E1 la =E9poca de los cuentos narrados, de los libros le=EDdos= , m=E1s tarde prosigue en el Jard=EDn de infantes, donde "el libro" empieza = a tener importancia y se convierte en el nuevo juguete, que como ni=F1o tend= r=E1 a su alcance. En este lugar, tan enriquecedor de su vida escuchar=E1 narraciones, manip= ular=E1 libros de im=E1genes, jugar=E1 con poes=EDas. Recibir un cuento le=EDdo o narrado, es tambi=E9n una forma de lectura, y= a que el ni=F1o interact=FAa con el texto, representa las im=E1genes, evoca = objetos, animales conocidos, asocia escenas y paulatinamente llega al final = de la historia. As=ED el ni=F1o comienza a interesarse por la literatura, se acerca al te= xto con la curiosidad y placer y llega a la escuela primaria con deseos de a= prender las letras, unirlas, formar palabras, escribir oraciones y comenzar = a leer sus propias producciones. Luego entrar=E1 en la magia de comprender el mensaje escrito que encierra= n los libros y lo llevar=E1 a realizar viajes imaginarios, llorar, re=EDr di= vertirse con el personaje favorito, volar con la imaginaci=F3n, tomar contac= to con la realidad y adquirir herramientas para transformarlos. As=ED, aprender=E1 que leer es dialogar, como sintonizar con pensamientos= de otros, que es comunicarse con los dem=E1s y con espacios, tiempos y luga= res diferentes. Quizas usted comparta estas ideas, mas no tenga la p= osibilidad de leer a menudo un cuento a su hijo por diversas razones. P= or dicho motivo hemos recopilado en 4 cd=B4s la mejor coleccion de= cuentos infantiles aptos para ser escuchados en cualquier artefacto reprodu= ctor. CONTENIDOS DEL CD 1 Aladino y la l=E1mpara maravillosa Ali Baba y los 40 la= drones Alicia en el pa=EDs de las maravillas Pulgarcito Blancanieve= s y los siete enanitos Caperucita roja Don Fresquete El Barquito De= C=E1scara De Nuez El Flautista De Hamelin El Gato Con Botas CONTENIDOS DEL CD 2 El Gato Con Botas El lobo y los cabritos El Lobo, El= Zorro Y El Burro El ni=F1o y el lobo El Ni=F1o Y El Maestro El pat= ito feo El ping=FCino distra=EDdo El Pr=EDncipe Feliz El Sastrecill= o valiente El Soldadito de Plomo CONTENIDOS DEL CD 3 El Zapatero Y Los Duendes Garbancito Gulliver en el = Pa=EDs de los Gigantes Hansel y Gretel La aguja maravillosa La Bell= a Durmiente La casita de chocolate La cenicienta la cigarra y la ho= rmiga La gallina de los huevos de oro CONTENIDOS DEL CD 4 La Gallina Marcelina La Rana charlatana La ratita pr= esumida La Tinaja y la Aceitunas Los Dos Conejos Los Tres Cerditos<= BR>Los Tres Ositos Pinocho Pulgarcito **********************************************************= ********************** Todo este material reunido en 4 cd=B4s LANZAMIENT= O NOVIEMBRE 2006 por tan solo $59 (pesos argentinos) Solic=EDtelo hoy a: [1]cuarentacuentos@gmail.com Indicando todos sus datos personales: Nombre, Domicilio= , Localidad, Provincia, C=F3digo Postal y Tel=E9fono. **********************************************************= ********************** Asunto del mail: : "Cuentos infantil= es" - Envio sin cargo por Correo Argentino sistema contrareembolso Abon= a al recibir el producto en su hogar. References 1. 3D"mailto:cuarentacuentos@gmai= From owner-freebsd-emulation@FreeBSD.ORG Sun Nov 5 04:24:37 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14C0D16A526 for ; Sun, 5 Nov 2006 04:24:37 +0000 (UTC) (envelope-from kzi8ygtw@ricochet.com) Received: from ricochet.com (pc-56-220-47-190.cm.vtr.net [190.47.220.56]) by mx1.FreeBSD.org (Postfix) with SMTP id 473A443DFA for ; Sun, 5 Nov 2006 04:24:17 +0000 (GMT) (envelope-from kzi8ygtw@ricochet.com) To: From: "Lachelle Francesca" Date: Sun, 05 Nov 2006 01:24:17 -0400 Message-ID: <14905lo234c.988915@ricochet.com> User-Agent: Mozilla Thunderbird 1.5 (Windows/20060111) X-Accept-Language: en-us, en MIME-Version: 1.0 Content-Type: multipart/related; boundary="------------Next_Part_93697650" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: cx I HAVE ErectileDysfunction PROBLEM IN MY SexLife.. BUT WITH YOUR PRODUCT, WE ACHIEVED LONG LASTING CL1MAX buy X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Nov 2006 04:24:37 -0000 This is a multi-part message in MIME format. --------------Next_Part_93697650 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable VigraMax - Natural Anti_ImpotencePill BetterThanViagra, fast acting - start working within 30 mins We served over 100,000 satisfied returning customers worldwide (Ship all countries) VigraMax=$0.94/pill Cheaper 20 times than GenuineViagra=$17.50/pill It cures: Loss of Libido, ErectileDysfunction, LackOfSexual desire, Impotence, Mood swings, Sperm count and potency, General weakness & Depression To conclude, VigraMax is the best solution available for all impotence related problems with NO side effects. Only $0.94/pill, Dont waste $ on other pill (click the link to save) http://kwq.ohyeahwhatisthis.com embarrass argue understand friends pie tying fill quickly. getting independence action words similar quickly. prettier food greater thee quickly. --------------Next_Part_93697650 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" his tears might welcome short quickly. VigraMax - Natural = Anti_ImpotencePill We served = over 100,000 satisfied returning customers worldwide (Ship all = countries) BetterThanViagra, fast acting - start = working within 30 mins VigraMax=3D$0.94/pill Cheaper 20 times than = GenuineViagra=3D$17.50/pill It's fine blend of safe herbs and all essential vitamins to = give you a break from all those erection problems like impotence, ED, = loss of libido, lack of Sexual Derive, etc It cures: Loss of Libido, ErectileDysfunction, LackOfSexual desire, Impotence, Mood = swings, Sperm count and potency, = General weakness & Depression To conclude, VigraMax is the best solution available for = all impotence related problems with NO side effects. [1]sy Only $0.94/pill, Dont waste $ on = other pill (click here) = j hat saying glad, References 1. 3Dhttp://kwq.ohyeahwhatisthis.com/ --------------Next_Part_93697650-- From owner-freebsd-emulation@FreeBSD.ORG Sun Nov 5 08:18:08 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A84D16A4E6 for ; Sun, 5 Nov 2006 08:18:08 +0000 (UTC) (envelope-from kayogk@cargolink.com) Received: from cargolink.com (62-43-83-194.user.ono.com [62.43.83.194]) by mx1.FreeBSD.org (Postfix) with SMTP id D362C43D53 for ; Sun, 5 Nov 2006 08:18:07 +0000 (GMT) (envelope-from kayogk@cargolink.com) Message-ID: <05dd01c70012$3dec89d0$8747f2a0@gspyd> From: "Luisae Ernestine" To: Date: Sun, 05 Nov 2006 09:17:56 +0100 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: The Bull is Back in Select Small Caps q X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Luisae Ernestine List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Nov 2006 08:18:08 -0000 LISTEN UP This advisory is based on exclusive insiders/agents information. (AVLN.OB) Avalon Energy Corporation has an undivided 85% working interest in the Shotgun Draw Prospect in the prolific natural gas producing Uinta Basin , located in the US Rockies, Utah . The lease comprises 13,189 acres with a potential 4 TCF recoverable gas and is overpressured by a 0.55 . 0.85 gradient. ON MONDAY NOV 6th: at 11 cents its a STEAL - Volume: 389,001 - Volume: + 50% - Price: +5.77% The key to any tade is buying low and selling high, WELL the energy market has bottomed out and time to get in is now. We specialise in calling market bottom and when it comes to energy THIS IS THE BOTTOM, SO GET IN FOLKS YOU HAVE TO GET IN THIS ONE YOU HAVE TO GET IN THIS ONE Oyler "adamantly denies involvement in this fire and in any of these fires," attorney Mark McDonald said outside court. "He's very distraught and scared ... The finger is pointing at him." Last week's fire was stoked by Santa Ana winds as it swept southwest through the mountains about 90 miles east of Los Angeles. The flames overran the fire crew, destroyed 34 homes and charred more than 60 square miles before being contained Monday. Oyler was charged with five counts of murder, 11 counts of arson and 10 counts of use of an incendiary device. The charges include seven fires in June, one in July, one in September and two in October. Authorities were trying to determine whether Oyler has any links to at least 40 fires in the area since May, according to an official involved in the investigation who spoke on condition of anonymity because the case is continuing. From owner-freebsd-emulation@FreeBSD.ORG Sun Nov 5 15:50:33 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58BBF16A492; Sun, 5 Nov 2006 15:50:33 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83AA543D45; Sun, 5 Nov 2006 15:50:32 +0000 (GMT) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (aldan [127.0.0.1]) by aldan.algebra.com (8.13.8/8.13.7) with ESMTP id kA5FoVvY025305 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 5 Nov 2006 10:50:31 -0500 (EST) (envelope-from mi+kde@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by aldan.algebra.com (8.13.8/8.13.7/Submit) id kA5FoSAH025304; Sun, 5 Nov 2006 10:50:28 -0500 (EST) (envelope-from mi+kde@aldan.algebra.com) From: Mikhail Teterin To: Yoshihiko Sarumaru Date: Sun, 5 Nov 2006 10:50:28 -0500 User-Agent: KMail/1.9.5 References: <061102005927.M0121660@sachiko.yamayuri.org> <200611050840.05055@aldan> <454DFF42.6020203@imasy.or.jp> In-Reply-To: <454DFF42.6020203@imasy.or.jp> X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" Cc: sethk@meowfishies.com, freebsd-emulation@freebsd.org, erwin@freebsd.org Subject: linux-gdk-pixbuf vs. linux-gtk2 (Re: Can not install linux-realplayer) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Nov 2006 15:50:33 -0000 On Sunday 05 November 2006 10:12, Yoshihiko Sarumaru wrote: = Mikhail Teterin wrote: = > On Wednesday 01 November 2006 10:59, Yoshihiko Sarumaru wrote: = > = Hi, = > = = > = I have a problem with installing multimedia/linux-realplayer. = > = In Rev.1.46, linux-realplayer depends to linux-gtk2, linux-png = > = and linux-gdk-pixbuf, but linux-gdk-pixbuf seems conflicts to = > = linux-gtk2. = > = > Let's ask the maintainer of linux-gdk-pixbuf (CC-ed)... = There is a PR that points out the same as what I did: = http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/105140 = Cound you please take it? = = I also feel something strange that linux-gdk-pixbuf conflicts to = linux-gtk2, but linux-gtk2 has no CONFLICTS. = In fact, there is no conflicts between both pkg-plist, but I don't = know really there is any conflicts. Seth, can you comment? Does your linux-gdk-pixbuf really conflict with the linux-gtk2? -mi From owner-freebsd-emulation@FreeBSD.ORG Sun Nov 5 21:55:33 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D39F16A571; Sun, 5 Nov 2006 21:55:33 +0000 (UTC) (envelope-from sethk@magnesium.net) Received: from toxic.magnesium.net (toxic.magnesium.net [207.154.84.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE9A043DA8; Sun, 5 Nov 2006 21:55:20 +0000 (GMT) (envelope-from sethk@magnesium.net) Received: by toxic.magnesium.net (Postfix, from userid 1165) id 72C08DA8A0; Sun, 5 Nov 2006 13:55:20 -0800 (PST) Date: Sun, 5 Nov 2006 13:55:20 -0800 From: Seth Kingsley To: Mikhail Teterin Message-ID: <20061105215520.GJ38280@mail.meowfishies.com> References: <061102005927.M0121660@sachiko.yamayuri.org> <200611050840.05055@aldan> <454DFF42.6020203@imasy.or.jp> <200611051050.28607@aldan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200611051050.28607@aldan> X-Operating-System: FreeBSD 5.5-STABLE i386 X-GPG-Key-ID: 1024D/5C413B08 X-GPG-Key-Fingerprint: F772 5D24 02B4 D233 90F5 080F 0F50 3298 5C41 3B08 X-URL: http://www.meowfishies.com/ User-Agent: Mutt/1.5.11 Cc: freebsd-emulation@freebsd.org, Yoshihiko Sarumaru , netchild@freebsd.org, erwin@freebsd.org Subject: Re: linux-gdk-pixbuf vs. linux-gtk2 (Re: Can not install linux-realplayer) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Nov 2006 21:55:33 -0000 On Sun, Nov 05, 2006 at 10:50:28AM -0500, Mikhail Teterin wrote: > = There is a PR that points out the same as what I did: > = http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/105140 > = Cound you please take it? > = > = I also feel something strange that linux-gdk-pixbuf conflicts to > = linux-gtk2, but linux-gtk2 has no CONFLICTS. > = In fact, there is no conflicts between both pkg-plist, but I don't > = know really there is any conflicts. > > Seth, can you comment? Does your linux-gdk-pixbuf really conflict with > the linux-gtk2? This CONFLICTS was added by Alexander Leidinger in revision 1.4 of the Makefile as part of a mega-commit: http://www.freebsd.org/cgi/cvsweb.cgi/ports/graphics/linux-gdk-pixbuf/Makefile#rev1.4 Perhaps there was confusion about whether this port was in support of Linux GDK1 or GDK2. If somebody wants to remove the line, I definitely approve of the change. -- || Seth Kingsley || sethk@meowfishies.com || || http://www.meowfishies.com/ | Meow ^_^ || From owner-freebsd-emulation@FreeBSD.ORG Sun Nov 5 23:11:02 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FFFA16A407; Sun, 5 Nov 2006 23:11:02 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [80.253.10.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id D847743D77; Sun, 5 Nov 2006 23:10:58 +0000 (GMT) (envelope-from bsam@ipt.ru) Received: from sp34.ipt.ru ([217.147.20.50] helo=bs1.sp34.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1Ggr8R-0008bl-SC; Mon, 06 Nov 2006 02:10:39 +0300 Received: from bsam by bs1.sp34.ru with local (Exim 4.63 (FreeBSD)) (envelope-from ) id 1Ggr8X-0000Yr-Kp; Mon, 06 Nov 2006 02:10:45 +0300 To: Seth Kingsley References: <061102005927.M0121660@sachiko.yamayuri.org> <200611050840.05055@aldan> <454DFF42.6020203@imasy.or.jp> <200611051050.28607@aldan> <20061105215520.GJ38280@mail.meowfishies.com> From: Boris Samorodov Date: Mon, 06 Nov 2006 02:10:45 +0300 In-Reply-To: <20061105215520.GJ38280@mail.meowfishies.com> (Seth Kingsley's message of "Sun, 5 Nov 2006 13:55:20 -0800") Message-ID: <81457178@bs1.sp34.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@freebsd.org, Yoshihiko Sarumaru , netchild@freebsd.org, erwin@freebsd.org, Mikhail Teterin Subject: Re: linux-gdk-pixbuf vs. linux-gtk2 (Re: Can not install linux-realplayer) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Nov 2006 23:11:02 -0000 On Sun, 5 Nov 2006 13:55:20 -0800 Seth Kingsley wrote: > On Sun, Nov 05, 2006 at 10:50:28AM -0500, Mikhail Teterin wrote: > > = There is a PR that points out the same as what I did: > > = http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/105140 > > = Cound you please take it? > > = > > = I also feel something strange that linux-gdk-pixbuf conflicts to > > = linux-gtk2, but linux-gtk2 has no CONFLICTS. > > = In fact, there is no conflicts between both pkg-plist, but I don't > > = know really there is any conflicts. > > > > Seth, can you comment? Does your linux-gdk-pixbuf really conflict with > > the linux-gtk2? > This CONFLICTS was added by Alexander Leidinger in revision 1.4 of the > Makefile as part of a mega-commit: > http://www.freebsd.org/cgi/cvsweb.cgi/ports/graphics/linux-gdk-pixbuf/Makefile#rev1.4 > Perhaps there was confusion about whether this port was in support of Linux > GDK1 or GDK2. If somebody wants to remove the line, I definitely approve of > the change. I took the PR/105140 and here is the proposed ;-) patch for approval: ----- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/graphics/linux-gdk-pixbuf/Makefile,v retrieving revision 1.10 diff -u -r1.10 Makefile --- Makefile 26 Jun 2006 22:16:22 -0000 1.10 +++ Makefile 5 Nov 2006 23:04:15 -0000 @@ -13,8 +13,6 @@ MAINTAINER= sethk@meowfishies.com COMMENT= Linux version of the graphic library for GTK+ -CONFLICTS= linux-gtk2* - USE_LINUX_RPM= yes LINUX_DIST_VER= 4 ONLY_FOR_ARCHS= i386 amd64 ----- WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From owner-freebsd-emulation@FreeBSD.ORG Mon Nov 6 00:14:25 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F2CE16A47B; Mon, 6 Nov 2006 00:14:25 +0000 (UTC) (envelope-from sethk@magnesium.net) Received: from toxic.magnesium.net (toxic.magnesium.net [207.154.84.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4AC8943D66; Mon, 6 Nov 2006 00:14:16 +0000 (GMT) (envelope-from sethk@magnesium.net) Received: by toxic.magnesium.net (Postfix, from userid 1165) id B4841DA87F; Sun, 5 Nov 2006 16:14:16 -0800 (PST) Date: Sun, 5 Nov 2006 16:14:16 -0800 From: Seth Kingsley To: Boris Samorodov Message-ID: <20061106001416.GL38280@mail.meowfishies.com> References: <061102005927.M0121660@sachiko.yamayuri.org> <200611050840.05055@aldan> <454DFF42.6020203@imasy.or.jp> <200611051050.28607@aldan> <20061105215520.GJ38280@mail.meowfishies.com> <81457178@bs1.sp34.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <81457178@bs1.sp34.ru> X-Operating-System: FreeBSD 5.5-STABLE i386 X-GPG-Key-ID: 1024D/5C413B08 X-GPG-Key-Fingerprint: F772 5D24 02B4 D233 90F5 080F 0F50 3298 5C41 3B08 X-URL: http://www.meowfishies.com/ User-Agent: Mutt/1.5.11 Cc: freebsd-emulation@freebsd.org, Yoshihiko Sarumaru , netchild@freebsd.org, erwin@freebsd.org, Mikhail Teterin Subject: Re: linux-gdk-pixbuf vs. linux-gtk2 (Re: Can not install linux-realplayer) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2006 00:14:25 -0000 On Mon, Nov 06, 2006 at 02:10:45AM +0300, Boris Samorodov wrote: > I took the PR/105140 and here is the proposed ;-) patch for approval: > ----- > Index: Makefile > =================================================================== > RCS file: /home/pcvs/ports/graphics/linux-gdk-pixbuf/Makefile,v > retrieving revision 1.10 > diff -u -r1.10 Makefile > --- Makefile 26 Jun 2006 22:16:22 -0000 1.10 > +++ Makefile 5 Nov 2006 23:04:15 -0000 > @@ -13,8 +13,6 @@ > MAINTAINER= sethk@meowfishies.com > COMMENT= Linux version of the graphic library for GTK+ > > -CONFLICTS= linux-gtk2* > - > USE_LINUX_RPM= yes > LINUX_DIST_VER= 4 > ONLY_FOR_ARCHS= i386 amd64 Look good; I approve. -- || Seth Kingsley || sethk@meowfishies.com || || http://www.meowfishies.com/ | Meow ^_^ || From owner-freebsd-emulation@FreeBSD.ORG Mon Nov 6 11:07:51 2006 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DFB9016A4CE for ; Mon, 6 Nov 2006 11:07:51 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6371A43D64 for ; Mon, 6 Nov 2006 11:07:51 +0000 (GMT) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kA6B7pWa013849 for ; Mon, 6 Nov 2006 11:07:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kA6B7oov013845 for freebsd-emulation@FreeBSD.org; Mon, 6 Nov 2006 11:07:50 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 6 Nov 2006 11:07:50 GMT Message-Id: <200611061107.kA6B7oov013845@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: linimon set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-emulation@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2006 11:07:52 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/21463 emulation [linux] Linux compatability mode should not allow setu o kern/77710 emulation [linux] Linux page fault sigcontext information is wro f ports/90399 emulation vmware2 port not working on FreeBSD 6.0 o ports/94044 emulation emulators/vmware2: running $PREFIX/etc/rc.d/vmware.sh o kern/101453 emulation [linux] [patch] linprocfs disallows non-zero file offs f ports/102474 emulation linux_base-fc-4_8 appears broken, does not allow to ru o kern/102956 emulation [linux] [patch] Add partial support for SO_PEERCRED in 7 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/11165 emulation [ibcs2] IBCS2 doesn't work correctly with PID_MAX 9999 o kern/29698 emulation [linux] [patch] linux ipcs doesn'work o kern/39201 emulation [linux] [patch] ptrace(2) and rfork(RFLINUXTHPN) confu o kern/41543 emulation [patch] feature request: easier wine/w23 support o kern/55835 emulation [linux] [patch] Linux IPC emulation missing SETALL sys a kern/72920 emulation [linux]: path "prefixing" is not done on unix domain s o kern/73777 emulation [linux] [patch] linux emulation: root dir special hand o kern/91293 emulation [svr4] [patch] *Experimental* Update to the SVR4 emula o ports/104870 emulation audio/linux-esound: NOT_FOR_ARCH=amd64 not needed 9 problems total. From owner-freebsd-emulation@FreeBSD.ORG Mon Nov 6 12:18:47 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDB4516A412; Mon, 6 Nov 2006 12:18:47 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AE2543D4C; Mon, 6 Nov 2006 12:18:40 +0000 (GMT) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5ECCE.dip.t-dialin.net [84.165.236.206]) by redbull.bpaserver.net (Postfix) with ESMTP id 247E92E278; Mon, 6 Nov 2006 13:18:34 +0100 (CET) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id AB78F5B4C35; Mon, 6 Nov 2006 13:18:27 +0100 (CET) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id kA6CIQJP053478; Mon, 6 Nov 2006 13:18:26 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Mon, 06 Nov 2006 13:18:26 +0100 Message-ID: <20061106131826.fguzzhzuow4w4w8o@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Mon, 06 Nov 2006 13:18:26 +0100 From: Alexander Leidinger To: Mikhail Teterin References: <061102005927.M0121660@sachiko.yamayuri.org> <200611050840.05055@aldan> <454DFF42.6020203@imasy.or.jp> <200611051050.28607@aldan> In-Reply-To: <200611051050.28607@aldan> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.309, required 6, BAYES_00 -2.60, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14, TW_GD 0.08, TW_GT 0.08) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: sethk@meowfishies.com, freebsd-emulation@freebsd.org, Yoshihiko Sarumaru , erwin@freebsd.org Subject: Re: linux-gdk-pixbuf vs. linux-gtk2 (Re: Can not install linux-realplayer) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2006 12:18:48 -0000 Quoting Mikhail Teterin (from Sun, 5 Nov 2006 10:50:28 -0500): > On Sunday 05 November 2006 10:12, Yoshihiko Sarumaru wrote: > = Mikhail Teterin wrote: > = > On Wednesday 01 November 2006 10:59, Yoshihiko Sarumaru wrote: > = > = Hi, > = > = > = > = I have a problem with installing multimedia/linux-realplayer. > = > = In Rev.1.46, linux-realplayer depends to linux-gtk2, linux-png > = > = and linux-gdk-pixbuf, but linux-gdk-pixbuf seems conflicts to > = > = linux-gtk2. linux-gtk2 already contains (a newer) gdk-pixbuf stuff. The linux-gdk-pixbuf port is for gtk1. So someone should check if both of them are really needed for linux-realplayer. Bye, Alexander. -- God said it, I believe it and that's all there is to it. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-emulation@FreeBSD.ORG Mon Nov 6 17:40:44 2006 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA7C016A415 for ; Mon, 6 Nov 2006 17:40:44 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.176.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id E839E43D49 for ; Mon, 6 Nov 2006 17:40:38 +0000 (GMT) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) by eva.fit.vutbr.cz (envelope-from xdivac02@eva.fit.vutbr.cz) (8.13.8/8.13.7) with ESMTP id kA6HeXDX070864 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 6 Nov 2006 18:40:33 +0100 (CET) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.8/8.13.3/Submit) id kA6HeX09070863 for emulation@freebsd.org; Mon, 6 Nov 2006 18:40:33 +0100 (CET) Date: Mon, 6 Nov 2006 18:40:33 +0100 From: Divacky Roman To: emulation@freebsd.org Message-ID: <20061106174033.GA70360@stud.fit.vutbr.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i X-Scanned-By: MIMEDefang 2.57 on 147.229.176.14 Cc: Subject: [PATCH]: possible fix for the fifoor problem X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2006 17:40:44 -0000 hi pls test www.stud.fit.vutbr.cz/~xdivac02/linux-fifoor.patch and tell me if that helps you with fifoor affected tests (dup05, select03) I cannot afford panic now so I am unable to test ;( and wider testing never hurts :) thnx roman From owner-freebsd-emulation@FreeBSD.ORG Mon Nov 6 18:15:29 2006 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B26E916A416 for ; Mon, 6 Nov 2006 18:15:29 +0000 (UTC) (envelope-from jhein@timing.com) Received: from Daffy.timing.com (w.timing.com [206.168.13.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C40343D58 for ; Mon, 6 Nov 2006 18:15:16 +0000 (GMT) (envelope-from jhein@timing.com) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by Daffy.timing.com (8.13.1/8.13.1) with ESMTP id kA6IFDca082058; Mon, 6 Nov 2006 11:15:13 -0700 (MST) (envelope-from jhein@timing.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.13.8/8.13.8) with ESMTP id kA6IFAMk099689; Mon, 6 Nov 2006 11:15:10 -0700 (MST) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.13.8/8.13.8/Submit) id kA6IFA7Q099686; Mon, 6 Nov 2006 11:15:10 -0700 (MST) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17743.31662.483512.235264@gromit.timing.com> Date: Mon, 6 Nov 2006 11:15:10 -0700 From: John E Hein To: Divacky Roman In-Reply-To: <20061106174033.GA70360@stud.fit.vutbr.cz> References: <20061106174033.GA70360@stud.fit.vutbr.cz> X-Mailer: VM 7.19 under Emacs 22.0.50.1 X-Virus-Scanned: ClamAV version 0.87.1, clamav-milter version 0.87 on Daffy.timing.com X-Virus-Status: Clean Cc: emulation@freebsd.org Subject: Re: [PATCH]: possible fix for the fifoor problem X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2006 18:15:29 -0000 Divacky Roman wrote at 18:40 +0100 on Nov 6, 2006: > pls test > www.stud.fit.vutbr.cz/~xdivac02/linux-fifoor.patch > > and tell me if that helps you with fifoor affected tests (dup05, select03) > > I cannot afford panic now so I am unable to test ;( and wider testing > never hurts :) I noticed fifoor when trying to print to a file from linux-seamonkey. No panic - just hangs the browser. This is on 6.2-pre. I'll give it a try and let you know. From owner-freebsd-emulation@FreeBSD.ORG Mon Nov 6 09:50:12 2006 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FCA916A407 for ; Mon, 6 Nov 2006 09:50:12 +0000 (UTC) (envelope-from netchild@freebsd.org) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id B93BF43D64 for ; Mon, 6 Nov 2006 09:50:09 +0000 (GMT) (envelope-from netchild@freebsd.org) Received: from outgoing.leidinger.net (p54A5ECCE.dip.t-dialin.net [84.165.236.206]) by redbull.bpaserver.net (Postfix) with ESMTP id B2FF72E201; Mon, 6 Nov 2006 10:49:49 +0100 (CET) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 915E05B4C35; Mon, 6 Nov 2006 10:49:47 +0100 (CET) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id kA69nlBb029047; Mon, 6 Nov 2006 10:49:47 +0100 (CET) (envelope-from netchild@FreeBSD.org) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Mon, 06 Nov 2006 10:49:47 +0100 Message-ID: <20061106104947.wcfc6bvqgoogccss@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Mon, 06 Nov 2006 10:49:47 +0100 From: Alexander Leidinger To: Gary References: <20061106064944.DAE202E1AB@redbull.bpaserver.net> In-Reply-To: <20061106064944.DAE202E1AB@redbull.bpaserver.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.263, required 6, BAYES_00 -2.60, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14, IMPRONONCABLE_2 1.50, J_CHICKENPOX_34 0.60, SARE_FROM_SPAM_WORD3 0.10) X-BPAnet-MailScanner-From: netchild@freebsd.org X-Spam-Status: No X-Mailman-Approved-At: Mon, 06 Nov 2006 19:52:54 +0000 Cc: emulation@FreeBSD.org Subject: Re: linux emulation problem on releng6/7 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2006 09:50:12 -0000 Quoting Gary (from Mon, 06 Nov 2006 =20 01:49:23 -0500): Redirecting to emulation@, ENOTIME until the weekend on my side ATM... Bye, Alexander. > Greetings. > > With VALVe's Counter-Strike Source server, I noticed some strange cpu > usage readings (among other things) > > ktrace: > > 80786 srcds_amd RET old.recv -1 errno -11 Unknown error: -11 > 80786 srcds_amd CALL old.recv(0x5,0xbfbfb480) > 80786 srcds_amd RET old.recv -1 errno -11 Unknown error: -11 > 80786 srcds_amd CALL old.recv(0xc,0xbfbe4cf0) > 80786 srcds_amd RET old.recv -1 errno -11 Unknown error: -11 > 80786 srcds_amd CALL old.recv(0x5,0xbfbfb480) > 80786 srcds_amd RET old.recv -1 errno -11 Unknown error: -11 > 80786 srcds_amd CALL old.recv(0xc,0xbfbe4cf0) > 80786 srcds_amd RET old.recv -1 errno -11 Unknown error: -11 > 80786 srcds_amd CALL old.recv(0x5,0xbfbfb480) > 80786 srcds_amd RET old.recv -1 errno -11 Unknown error: -11 > 80786 srcds_amd CALL old.recv(0xc,0xbfbe4cf0) > 80786 srcds_amd RET old.recv -1 errno -11 Unknown error: -11 > 80786 srcds_amd CALL old.recv(0x5,0xbfbfb480) > 80786 srcds_amd RET old.recv -1 errno -11 Unknown error: -11 > 80786 srcds_amd CALL old.recv(0xc,0xbfbe4cf0) > 80786 srcds_amd RET old.recv -1 errno -11 Unknown error: -11 > 80786 srcds_amd CALL old.recv(0x5,0xbfbfb480) > 80786 srcds_amd RET old.recv -1 errno -11 Unknown error: -11 > 80786 srcds_amd CALL old.recv(0xc,0xbfbe4cf0) > 80786 srcds_amd RET old.recv -1 errno -11 Unknown error: -11 > 80786 srcds_amd CALL old.recv(0x5,0xbfbfb480) > 80786 srcds_amd RET old.recv -1 errno -11 Unknown error: -11 > 80786 srcds_amd CALL old.recv(0xc,0xbfbe4cf0) > 80786 srcds_amd RET old.recv -1 errno -11 Unknown error: -11 > 80786 srcds_amd CALL old.recv(0x5,0xbfbfb480) > 80786 srcds_amd RET old.recv -1 errno -11 Unknown error: -11 > 80786 srcds_amd CALL old.recv(0xc,0xbfbe4cf0) > 80786 srcds_amd RET old.recv -1 errno -11 Unknown error: -11 > 80786 srcds_amd CALL old.recv(0x5,0xbfbfb480) > 80786 srcds_amd RET old.recv -1 errno -11 Unknown error: -11 > 80786 srcds_amd CALL old.recv(0xc,0xbfbe4cf0) > 80786 srcds_amd RET old.recv -1 errno -11 Unknown error: -11 > 80786 srcds_amd CALL old.recv(0x5,0xbfbfb480) > > strace: > Process 590 attached - interrupt to quit > ^CProcess 590 detached > % time seconds usecs/call calls errors syscall > ------ ----------- ----------- --------- --------- ---------------- > 74.38 3.880256 690 5626 getdomainname > 14.09 0.734976 16 45039 mincore > 3.33 0.173690 15 11254 gethostid? > 3.02 0.157550 14 11254 SYS_175 > 2.10 0.109501 9125 12 gettimeofday > 1.53 0.079822 14 5648 5627 recv? > 1.49 0.077605 14 5639 read > 0.02 0.001223 102 12 open > 0.01 0.000626 30 21 kill > 0.01 0.000377 31 12 mmap > 0.01 0.000346 29 12 SYS_91 > 0.01 0.000303 14 22 fchdir > 0.01 0.000300 25 12 dup2 > 0.01 0.000299 25 12 close > 0.01 0.000261 22 12 getpid > ------ ----------- ----------- --------- --------- ---------------- > 100.00 5.217135 84587 5627 total > > Strange errors are being emitted from recv() flags. Could this be an > emulation bug? or a software design flaw? --=20 http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 Unprovided with original learning, unformed in the habits of thinking, unskilled in the arts of composition, I resolved to write a book. =09=09-- Edward Gibbon From owner-freebsd-emulation@FreeBSD.ORG Mon Nov 6 10:02:03 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE8BF16A403; Mon, 6 Nov 2006 10:02:03 +0000 (UTC) (envelope-from netchild@freebsd.org) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED86743D55; Mon, 6 Nov 2006 10:02:01 +0000 (GMT) (envelope-from netchild@freebsd.org) Received: from outgoing.leidinger.net (p54A5ECCE.dip.t-dialin.net [84.165.236.206]) by redbull.bpaserver.net (Postfix) with ESMTP id A2D812E25D; Mon, 6 Nov 2006 11:01:48 +0100 (CET) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id DAD125B4C35; Mon, 6 Nov 2006 11:01:46 +0100 (CET) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id kA6A1e5n031144; Mon, 6 Nov 2006 11:01:40 +0100 (CET) (envelope-from netchild@FreeBSD.org) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Mon, 06 Nov 2006 11:01:39 +0100 Message-ID: <20061106110139.ckupz4cg00ssksk4@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Mon, 06 Nov 2006 11:01:39 +0100 From: Alexander Leidinger To: Boris Samorodov References: <061102005927.M0121660@sachiko.yamayuri.org> <200611050840.05055@aldan> <454DFF42.6020203@imasy.or.jp> <200611051050.28607@aldan> <20061105215520.GJ38280@mail.meowfishies.com> <81457178@bs1.sp34.ru> In-Reply-To: <81457178@bs1.sp34.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.209, required 6, BAYES_00 -2.60, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14, SARE_FROM_SPAM_WORD3 0.10, TW_GD 0.08, TW_GT 0.08) X-BPAnet-MailScanner-From: netchild@freebsd.org X-Spam-Status: No X-Mailman-Approved-At: Mon, 06 Nov 2006 19:53:03 +0000 Cc: Sarumaru , Yoshihiko, Seth Kingsley , freebsd-emulation@FreeBSD.org, Mikhail Teterin , erwin@FreeBSD.org Subject: Re: linux-gdk-pixbuf vs. linux-gtk2 (Re: Can not install linux-realplayer) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2006 10:02:04 -0000 Quoting Boris Samorodov (from Mon, 06 Nov 2006 02:10:45 +0300)= : > On Sun, 5 Nov 2006 13:55:20 -0800 Seth Kingsley wrote: >> On Sun, Nov 05, 2006 at 10:50:28AM -0500, Mikhail Teterin wrote: >> > =3D There is a PR that points out the same as what I did: >> > =3D http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/105140 >> > =3D Cound you please take it? >> > =3D >> > =3D I also feel something strange that linux-gdk-pixbuf conflicts to >> > =3D linux-gtk2, but linux-gtk2 has no CONFLICTS. >> > =3D In fact, there is no conflicts between both pkg-plist, but I don't >> > =3D know really there is any conflicts. >> > >> > Seth, can you comment? Does your linux-gdk-pixbuf really conflict with >> > the linux-gtk2? > >> This CONFLICTS was added by Alexander Leidinger in revision 1.4 of the >> Makefile as part of a mega-commit: > >> http://www.freebsd.org/cgi/cvsweb.cgi/ports/graphics/linux-gdk-pixbuf/Mak= efile#rev1.4 > >> Perhaps there was confusion about whether this port was in support of Lin= ux >> GDK1 or GDK2. If somebody wants to remove the line, I definitely approve= of >> the change. I looked at the plist of the gtk2 (contains newer gdk-pixbuf) and =20 gdk-pixbuf (for gtk1) ports and I dodn't find a file in conflict when =20 looking quickly over it. So if it is tested, feel free to remove it. Bye, Alexander. --=20 http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 If we don't survive, we don't do anything else. =09=09-- John Sinclair From owner-freebsd-emulation@FreeBSD.ORG Mon Nov 6 21:00:25 2006 Return-Path: X-Original-To: freebsd-emulation@hub.freebsd.org Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EA2A116A412; Mon, 6 Nov 2006 21:00:24 +0000 (UTC) (envelope-from bsam@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8085843D49; Mon, 6 Nov 2006 21:00:24 +0000 (GMT) (envelope-from bsam@FreeBSD.org) Received: from freefall.freebsd.org (bsam@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kA6L0OiD078493; Mon, 6 Nov 2006 21:00:24 GMT (envelope-from bsam@freefall.freebsd.org) Received: (from bsam@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kA6L0OZH078489; Mon, 6 Nov 2006 21:00:24 GMT (envelope-from bsam) Date: Mon, 6 Nov 2006 21:00:24 GMT From: Boris Samorodov Message-Id: <200611062100.kA6L0OZH078489@freefall.freebsd.org> To: swhetzel@gmail.com, bsam@FreeBSD.org, freebsd-emulation@FreeBSD.org Cc: Subject: Re: ports/104870: audio/linux-esound: NOT_FOR_ARCH=amd64 not needed X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2006 21:00:25 -0000 Synopsis: audio/linux-esound: NOT_FOR_ARCH=amd64 not needed State-Changed-From-To: open->closed State-Changed-By: bsam State-Changed-When: Mon Nov 6 20:59:41 UTC 2006 State-Changed-Why: NOT_FOR_ARCH=amd64 is deletted now, thanks for the report! http://www.freebsd.org/cgi/query-pr.cgi?pr=104870 From owner-freebsd-emulation@FreeBSD.ORG Mon Nov 6 21:00:46 2006 Return-Path: X-Original-To: freebsd-emulation@hub.freebsd.org Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF59016A407 for ; Mon, 6 Nov 2006 21:00:46 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48FEF43D49 for ; Mon, 6 Nov 2006 21:00:46 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kA6L0kt7078621 for ; Mon, 6 Nov 2006 21:00:46 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kA6L0kvK078620; Mon, 6 Nov 2006 21:00:46 GMT (envelope-from gnats) Date: Mon, 6 Nov 2006 21:00:46 GMT Message-Id: <200611062100.kA6L0kvK078620@freefall.freebsd.org> To: freebsd-emulation@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: ports/104870: commit references a PR X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2006 21:00:47 -0000 The following reply was made to PR ports/104870; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/104870: commit references a PR Date: Mon, 6 Nov 2006 20:58:56 +0000 (UTC) bsam 2006-11-06 20:58:50 UTC FreeBSD ports repository Modified files: audio/linux-esound Makefile Log: NOT_FOR_ARCH=amd64 is absolete here. PR: 104870 Submitted by: Scot W. Hetzel Revision Changes Path 1.15 +0 -2 ports/audio/linux-esound/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" From owner-freebsd-emulation@FreeBSD.ORG Mon Nov 6 21:02:51 2006 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 443CD16A407; Mon, 6 Nov 2006 21:02:51 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 238C243D5C; Mon, 6 Nov 2006 21:02:47 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.6/8.13.8) id kA6L2kl6066066; Mon, 6 Nov 2006 15:02:46 -0600 (CST) (envelope-from dan) Date: Mon, 6 Nov 2006 15:02:46 -0600 From: Dan Nelson To: Alexander Leidinger Message-ID: <20061106210245.GA38327@dan.emsphone.com> References: <20061106064944.DAE202E1AB@redbull.bpaserver.net> <20061106104947.wcfc6bvqgoogccss@webmail.leidinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061106104947.wcfc6bvqgoogccss@webmail.leidinger.net> X-OS: FreeBSD 6.2-PRERELEASE X-message-flag: Outlook Error User-Agent: Mutt/1.5.13 (2006-08-11) Cc: emulation@freebsd.org, Gary Subject: Re: linux emulation problem on releng6/7 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2006 21:02:51 -0000 In the last episode (Nov 06), Alexander Leidinger said: > Quoting Gary (from Mon, 06 Nov 2006 > 01:49:23 -0500): > > Redirecting to emulation@, ENOTIME until the weekend on my side ATM... > > Bye, > Alexander. > > >With VALVe's Counter-Strike Source server, I noticed some strange > >cpu usage readings (among other things) > > > >ktrace: > > > > 80786 srcds_amd CALL old.recv(0x5,0xbfbfb480) > > 80786 srcds_amd RET old.recv -1 errno -11 Unknown error: -11 Running linux_kdump would give you more useful output here. Errno 11 on Linux is EAGAIN, and syscall 102 is socketcall. Call #5 is SYS_ACCEPT, so it looks like it's trying to accept() a connection on a listening socket with no pending connections. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-emulation@FreeBSD.ORG Tue Nov 7 16:38:43 2006 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8C08216A492 for ; Tue, 7 Nov 2006 16:38:43 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id D51C443D5F for ; Tue, 7 Nov 2006 16:38:36 +0000 (GMT) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.1/8.13.1) with ESMTP id kA7GcTsQ039770; Tue, 7 Nov 2006 11:38:29 -0500 (EST) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-emulation@FreeBSD.org Date: Tue, 7 Nov 2006 11:38:15 -0500 User-Agent: KMail/1.6.2 References: <20061106174033.GA70360@stud.fit.vutbr.cz> In-Reply-To: <20061106174033.GA70360@stud.fit.vutbr.cz> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200611071138.16795.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.88/2172/Tue Nov 7 09:04:48 2006 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Subject: Re: [PATCH]: possible fix for the fifoor problem X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Nov 2006 16:38:43 -0000 On Monday 06 November 2006 12:40 pm, Divacky Roman wrote: > pls test > www.stud.fit.vutbr.cz/~xdivac02/linux-fifoor.patch > > and tell me if that helps you with fifoor affected tests (dup05, > select03) This patch does not work nor fix the problem. In fact, I spent some time to tackle this problem. dup05 passes the test but when it attempts to clean up temporary directory, the fifo is opened with O_RDONLY in blocking mode. That is why it is blocked forever because there is no writer for the fifo. Ironically, this is not LTP's fault, i.e., translate_path_major_minor() in linux_stats.c calls kern_open() with O_RDONLY in blocking mode. Whenever we use this function from linux_*stat*(), it is blocked forever. If you change the function to use (O_RDONLY | O_NONBLOCK), this test passes normally. FYI... Jung-uk Kim From owner-freebsd-emulation@FreeBSD.ORG Tue Nov 7 16:39:48 2006 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED20016A416 for ; Tue, 7 Nov 2006 16:39:48 +0000 (UTC) (envelope-from jhein@timing.com) Received: from Daffy.timing.com (w.timing.com [206.168.13.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DD6343D6D for ; Tue, 7 Nov 2006 16:39:45 +0000 (GMT) (envelope-from jhein@timing.com) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by Daffy.timing.com (8.13.1/8.13.1) with ESMTP id kA7GdjJ7018360; Tue, 7 Nov 2006 09:39:45 -0700 (MST) (envelope-from jhein@timing.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.13.8/8.13.8) with ESMTP id kA7GdcTF037179; Tue, 7 Nov 2006 09:39:38 -0700 (MST) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.13.8/8.13.8/Submit) id kA7GdcF7037176; Tue, 7 Nov 2006 09:39:38 -0700 (MST) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17744.46794.149852.319567@gromit.timing.com> Date: Tue, 7 Nov 2006 09:39:38 -0700 From: John E Hein To: Divacky Roman In-Reply-To: <20061106174033.GA70360@stud.fit.vutbr.cz> References: <20061106174033.GA70360@stud.fit.vutbr.cz> X-Mailer: VM 7.19 under Emacs 22.0.50.1 X-Virus-Scanned: ClamAV version 0.87.1, clamav-milter version 0.87 on Daffy.timing.com X-Virus-Status: Clean Cc: emulation@freebsd.org Subject: Re: [PATCH]: possible fix for the fifoor problem X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Nov 2006 16:39:49 -0000 Divacky Roman wrote at 18:40 +0100 on Nov 6, 2006: > pls test > www.stud.fit.vutbr.cz/~xdivac02/linux-fifoor.patch > > and tell me if that helps you with fifoor affected tests (dup05, select03) > > I cannot afford panic now so I am unable to test ;( and wider testing > never hurts :) The patch fails against RELENG_6 and -CURRENT. It is probably against a local or p4 version? Here's one against RELENG_6 (that should also work for current). Index: sys/compat/linux/linux_file.c =================================================================== RCS file: /base/FreeBSD-CVS/src/sys/compat/linux/linux_file.c,v retrieving revision 1.91.2.1 diff -u -p -r1.91.2.1 linux_file.c --- sys/compat/linux/linux_file.c 17 Sep 2006 10:56:15 -0000 1.91.2.1 +++ sys/compat/linux/linux_file.c 7 Nov 2006 15:52:21 -0000 @@ -92,6 +92,7 @@ linux_open(struct thread *td, struct lin struct proc *p = td->td_proc; char *path; int bsd_flags, error; + struct stat sb; if (args->flags & LINUX_O_CREAT) LCONVPATHCREAT(td, args->path, &path); @@ -129,6 +130,11 @@ linux_open(struct thread *td, struct lin if (args->flags & LINUX_O_NOCTTY) bsd_flags |= O_NOCTTY; + /* linux opens RDWR fifos in a nonblocking manner */ + error = kern_stat(td, path, UIO_USERSPACE, &sb); + if (S_ISFIFO(sb.st_mode) && (bsd_flags & O_RDWR)) + bsd_flags |= O_NONBLOCK; + error = kern_open(td, path, UIO_SYSSPACE, bsd_flags, args->mode); PROC_LOCK(p); if (!error && !(bsd_flags & O_NOCTTY) && Anyway, after patching RELENG_6 (today's source) with the above patch, I tested it with: - run linux-seamonkey - ctrl-p to bring up print dialog box - check 'Print to File' - click the Print button - observe hang '/bin/ps -o wchan,command | grep seam' shows one process in the fifoor state. It is killable with ctrl-c. I am using linux_base-fc-4_9. From owner-freebsd-emulation@FreeBSD.ORG Tue Nov 7 17:01:39 2006 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79BA316A572 for ; Tue, 7 Nov 2006 17:01:39 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id C84B643D5F for ; Tue, 7 Nov 2006 17:01:38 +0000 (GMT) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.1/8.13.1) with ESMTP id kA7H1ODe041162; Tue, 7 Nov 2006 12:01:24 -0500 (EST) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-emulation@FreeBSD.org Date: Tue, 7 Nov 2006 12:01:07 -0500 User-Agent: KMail/1.6.2 References: <20061106174033.GA70360@stud.fit.vutbr.cz> <17744.46794.149852.319567@gromit.timing.com> In-Reply-To: <17744.46794.149852.319567@gromit.timing.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_XvLUFuHvM2Pa7el" Message-Id: <200611071201.11899.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.88/2172/Tue Nov 7 09:04:48 2006 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Subject: Re: [PATCH]: possible fix for the fifoor problem X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Nov 2006 17:01:39 -0000 --Boundary-00=_XvLUFuHvM2Pa7el Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Tuesday 07 November 2006 11:39 am, John E Hein wrote: > Divacky Roman wrote at 18:40 +0100 on Nov 6, 2006: > > pls test > > www.stud.fit.vutbr.cz/~xdivac02/linux-fifoor.patch > > > > and tell me if that helps you with fifoor affected tests (dup05, > > select03) > > > > I cannot afford panic now so I am unable to test ;( and wider > > testing never hurts :) > > The patch fails against RELENG_6 and -CURRENT. > It is probably against a local or p4 version? > > Here's one against RELENG_6 (that should also work for current). > > Index: sys/compat/linux/linux_file.c > =================================================================== > RCS file: /base/FreeBSD-CVS/src/sys/compat/linux/linux_file.c,v > retrieving revision 1.91.2.1 > diff -u -p -r1.91.2.1 linux_file.c > --- sys/compat/linux/linux_file.c 17 Sep 2006 10:56:15 > -0000 1.91.2.1 +++ sys/compat/linux/linux_file.c 7 Nov 2006 > 15:52:21 -0000 @@ -92,6 +92,7 @@ linux_open(struct thread *td, > struct lin struct proc *p = td->td_proc; > char *path; > int bsd_flags, error; > + struct stat sb; > > if (args->flags & LINUX_O_CREAT) > LCONVPATHCREAT(td, args->path, &path); > @@ -129,6 +130,11 @@ linux_open(struct thread *td, struct lin > if (args->flags & LINUX_O_NOCTTY) > bsd_flags |= O_NOCTTY; > > + /* linux opens RDWR fifos in a nonblocking manner */ > + error = kern_stat(td, path, UIO_USERSPACE, &sb); > + if (S_ISFIFO(sb.st_mode) && (bsd_flags & O_RDWR)) > + bsd_flags |= O_NONBLOCK; > + > error = kern_open(td, path, UIO_SYSSPACE, bsd_flags, > args->mode); PROC_LOCK(p); > if (!error && !(bsd_flags & O_NOCTTY) && > > > Anyway, after patching RELENG_6 (today's source) with the above > patch, I tested it with: > > - run linux-seamonkey > - ctrl-p to bring up print dialog box > - check 'Print to File' > - click the Print button > - observe hang > > '/bin/ps -o wchan,command | grep seam' shows one process in the > fifoor state. > > It is killable with ctrl-c. > > I am using linux_base-fc-4_9. Try the attached patch instead. Jung-uk Kim --Boundary-00=_XvLUFuHvM2Pa7el Content-Type: text/x-diff; charset="iso-8859-1"; name="linux_stats.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="linux_stats.diff" --- src/sys/compat/linux/linux_stats.c.orig Sun Oct 22 07:52:11 2006 +++ src/sys/compat/linux/linux_stats.c Tue Nov 7 11:59:21 2006 @@ -130,7 +130,7 @@ int temp; temp = td->td_retval[0]; - if (kern_open(td, path, UIO_SYSSPACE, O_RDONLY, 0) != 0) + if (kern_open(td, path, UIO_SYSSPACE, O_RDONLY | O_NONBLOCK, 0) != 0) return; fd = td->td_retval[0]; td->td_retval[0] = temp; --Boundary-00=_XvLUFuHvM2Pa7el-- From owner-freebsd-emulation@FreeBSD.ORG Tue Nov 7 17:19:42 2006 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D42A16A4CA; Tue, 7 Nov 2006 17:19:42 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.176.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id ACF1043D96; Tue, 7 Nov 2006 17:19:10 +0000 (GMT) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) by eva.fit.vutbr.cz (envelope-from xdivac02@eva.fit.vutbr.cz) (8.13.8/8.13.7) with ESMTP id kA7HJ5e2051528 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 7 Nov 2006 18:19:05 +0100 (CET) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.8/8.13.3/Submit) id kA7HJ5x7051527; Tue, 7 Nov 2006 18:19:05 +0100 (CET) Date: Tue, 7 Nov 2006 18:19:04 +0100 From: Divacky Roman To: Jung-uk Kim Message-ID: <20061107171904.GA50772@stud.fit.vutbr.cz> References: <20061106174033.GA70360@stud.fit.vutbr.cz> <17744.46794.149852.319567@gromit.timing.com> <200611071201.11899.jkim@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200611071201.11899.jkim@FreeBSD.org> User-Agent: Mutt/1.4.2.2i X-Scanned-By: MIMEDefang 2.57 on 147.229.176.14 Cc: freebsd-emulation@FreeBSD.org Subject: Re: [PATCH]: possible fix for the fifoor problem X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Nov 2006 17:19:42 -0000 On Tue, Nov 07, 2006 at 12:01:07PM -0500, Jung-uk Kim wrote: > On Tuesday 07 November 2006 11:39 am, John E Hein wrote: > > Divacky Roman wrote at 18:40 +0100 on Nov 6, 2006: > > > pls test > > > www.stud.fit.vutbr.cz/~xdivac02/linux-fifoor.patch > > > > > > and tell me if that helps you with fifoor affected tests (dup05, > > > select03) > > > > > > I cannot afford panic now so I am unable to test ;( and wider > > > testing never hurts :) > > > > The patch fails against RELENG_6 and -CURRENT. > > It is probably against a local or p4 version? > > > > Here's one against RELENG_6 (that should also work for current). > > > > Index: sys/compat/linux/linux_file.c > > =================================================================== > > RCS file: /base/FreeBSD-CVS/src/sys/compat/linux/linux_file.c,v > > retrieving revision 1.91.2.1 > > diff -u -p -r1.91.2.1 linux_file.c > > --- sys/compat/linux/linux_file.c 17 Sep 2006 10:56:15 > > -0000 1.91.2.1 +++ sys/compat/linux/linux_file.c 7 Nov 2006 > > 15:52:21 -0000 @@ -92,6 +92,7 @@ linux_open(struct thread *td, > > struct lin struct proc *p = td->td_proc; > > char *path; > > int bsd_flags, error; > > + struct stat sb; > > > > if (args->flags & LINUX_O_CREAT) > > LCONVPATHCREAT(td, args->path, &path); > > @@ -129,6 +130,11 @@ linux_open(struct thread *td, struct lin > > if (args->flags & LINUX_O_NOCTTY) > > bsd_flags |= O_NOCTTY; > > > > + /* linux opens RDWR fifos in a nonblocking manner */ > > + error = kern_stat(td, path, UIO_USERSPACE, &sb); > > + if (S_ISFIFO(sb.st_mode) && (bsd_flags & O_RDWR)) > > + bsd_flags |= O_NONBLOCK; > > + > > error = kern_open(td, path, UIO_SYSSPACE, bsd_flags, > > args->mode); PROC_LOCK(p); > > if (!error && !(bsd_flags & O_NOCTTY) && > > > > > > Anyway, after patching RELENG_6 (today's source) with the above > > patch, I tested it with: > > > > - run linux-seamonkey > > - ctrl-p to bring up print dialog box > > - check 'Print to File' > > - click the Print button > > - observe hang > > > > '/bin/ps -o wchan,command | grep seam' shows one process in the > > fifoor state. I might made mistake.... jung-uk kim seems to have better analysis > > It is killable with ctrl-c. > > > > I am using linux_base-fc-4_9. > > Try the attached patch instead. the patch is wrong.... this forces NONBLOCKing on all opened files which is wrong. according to a comment in linux source code linux never blocks for O_RDWR which is what I tried to implement with my patch roman From owner-freebsd-emulation@FreeBSD.ORG Tue Nov 7 17:25:29 2006 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91FCE16A4D0; Tue, 7 Nov 2006 17:25:29 +0000 (UTC) (envelope-from jhein@timing.com) Received: from Daffy.timing.com (ns1int.timing.com [206.168.13.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id C738643D60; Tue, 7 Nov 2006 17:24:16 +0000 (GMT) (envelope-from jhein@timing.com) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by Daffy.timing.com (8.13.1/8.13.1) with ESMTP id kA7HO7Rq023059; Tue, 7 Nov 2006 10:24:07 -0700 (MST) (envelope-from jhein@timing.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.13.8/8.13.8) with ESMTP id kA7HO4PF038099; Tue, 7 Nov 2006 10:24:04 -0700 (MST) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.13.8/8.13.8/Submit) id kA7HO4Dq038096; Tue, 7 Nov 2006 10:24:04 -0700 (MST) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17744.49460.325202.912653@gromit.timing.com> Date: Tue, 7 Nov 2006 10:24:04 -0700 From: John E Hein To: Jung-uk Kim In-Reply-To: <200611071201.11899.jkim@FreeBSD.org> References: <20061106174033.GA70360@stud.fit.vutbr.cz> <17744.46794.149852.319567@gromit.timing.com> <200611071201.11899.jkim@FreeBSD.org> X-Mailer: VM 7.19 under Emacs 22.0.50.1 X-Virus-Scanned: ClamAV version 0.87.1, clamav-milter version 0.87 on Daffy.timing.com X-Virus-Status: Clean Cc: freebsd-emulation@FreeBSD.org Subject: Re: [PATCH]: possible fix for the fifoor problem X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Nov 2006 17:25:29 -0000 Jung-uk Kim wrote at 12:01 -0500 on Nov 7, 2006: > Try the attached patch instead. > > Jung-uk Kim > --- src/sys/compat/linux/linux_stats.c.orig Sun Oct 22 07:52:11 2006 > +++ src/sys/compat/linux/linux_stats.c Tue Nov 7 11:59:21 2006 > @@ -130,7 +130,7 @@ > int temp; > > temp = td->td_retval[0]; > - if (kern_open(td, path, UIO_SYSSPACE, O_RDONLY, 0) != 0) > + if (kern_open(td, path, UIO_SYSSPACE, O_RDONLY | O_NONBLOCK, 0) != 0) > return; > fd = td->td_retval[0]; > td->td_retval[0] = temp; Yep. That fixes the problem with linux-seamonkey I reported. From owner-freebsd-emulation@FreeBSD.ORG Tue Nov 7 17:31:07 2006 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E9FB16A500; Tue, 7 Nov 2006 17:31:07 +0000 (UTC) (envelope-from jhein@timing.com) Received: from Daffy.timing.com (daffy.timing.com [206.168.13.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id EECA443D9B; Tue, 7 Nov 2006 17:30:57 +0000 (GMT) (envelope-from jhein@timing.com) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by Daffy.timing.com (8.13.1/8.13.1) with ESMTP id kA7HUvmh023795; Tue, 7 Nov 2006 10:30:57 -0700 (MST) (envelope-from jhein@timing.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.13.8/8.13.8) with ESMTP id kA7HUtZ9038311; Tue, 7 Nov 2006 10:30:55 -0700 (MST) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.13.8/8.13.8/Submit) id kA7HUtDB038307; Tue, 7 Nov 2006 10:30:55 -0700 (MST) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17744.49871.355255.856783@gromit.timing.com> Date: Tue, 7 Nov 2006 10:30:55 -0700 From: John E Hein To: Divacky Roman In-Reply-To: <20061107171904.GA50772@stud.fit.vutbr.cz> References: <20061106174033.GA70360@stud.fit.vutbr.cz> <17744.46794.149852.319567@gromit.timing.com> <200611071201.11899.jkim@FreeBSD.org> <20061107171904.GA50772@stud.fit.vutbr.cz> X-Mailer: VM 7.19 under Emacs 22.0.50.1 X-Virus-Scanned: ClamAV version 0.87.1, clamav-milter version 0.87 on Daffy.timing.com X-Virus-Status: Clean Cc: freebsd-emulation@FreeBSD.org, Jung-uk Kim Subject: Re: [PATCH]: possible fix for the fifoor problem X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Nov 2006 17:31:07 -0000 Divacky Roman wrote at 18:19 +0100 on Nov 7, 2006: > the patch is wrong.... this forces NONBLOCKing on all opened files > which is wrong. I don't think this patch was a commit candidate. I think jkim just wanted to see if my reported problem went away. From owner-freebsd-emulation@FreeBSD.ORG Tue Nov 7 17:33:51 2006 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D580816A416; Tue, 7 Nov 2006 17:33:51 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.176.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0B0443D77; Tue, 7 Nov 2006 17:33:48 +0000 (GMT) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) by eva.fit.vutbr.cz (envelope-from xdivac02@eva.fit.vutbr.cz) (8.13.8/8.13.7) with ESMTP id kA7HXkP3055613 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 7 Nov 2006 18:33:46 +0100 (CET) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.8/8.13.3/Submit) id kA7HXkCV055612; Tue, 7 Nov 2006 18:33:46 +0100 (CET) Date: Tue, 7 Nov 2006 18:33:46 +0100 From: Divacky Roman To: John E Hein Message-ID: <20061107173346.GB50772@stud.fit.vutbr.cz> References: <20061106174033.GA70360@stud.fit.vutbr.cz> <17744.46794.149852.319567@gromit.timing.com> <200611071201.11899.jkim@FreeBSD.org> <17744.49460.325202.912653@gromit.timing.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <17744.49460.325202.912653@gromit.timing.com> User-Agent: Mutt/1.4.2.2i X-Scanned-By: MIMEDefang 2.57 on 147.229.176.14 Cc: freebsd-emulation@FreeBSD.org, Jung-uk Kim Subject: Re: [PATCH]: possible fix for the fifoor problem X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Nov 2006 17:33:51 -0000 On Tue, Nov 07, 2006 at 10:24:04AM -0700, John E Hein wrote: > Jung-uk Kim wrote at 12:01 -0500 on Nov 7, 2006: > > Try the attached patch instead. > > > > Jung-uk Kim > > --- src/sys/compat/linux/linux_stats.c.orig Sun Oct 22 07:52:11 2006 > > +++ src/sys/compat/linux/linux_stats.c Tue Nov 7 11:59:21 2006 > > @@ -130,7 +130,7 @@ > > int temp; > > > > temp = td->td_retval[0]; > > - if (kern_open(td, path, UIO_SYSSPACE, O_RDONLY, 0) != 0) > > + if (kern_open(td, path, UIO_SYSSPACE, O_RDONLY | O_NONBLOCK, 0) != 0) > > return; > > fd = td->td_retval[0]; > > td->td_retval[0] = temp; > > Yep. > That fixes the problem with linux-seamonkey I reported. hm... why my patch doesnt work then? :) From owner-freebsd-emulation@FreeBSD.ORG Tue Nov 7 17:37:50 2006 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C05B216A4F4 for ; Tue, 7 Nov 2006 17:37:50 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id C363E43D45 for ; Tue, 7 Nov 2006 17:37:27 +0000 (GMT) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.1/8.13.1) with ESMTP id kA7HbOll043359; Tue, 7 Nov 2006 12:37:24 -0500 (EST) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: Divacky Roman Date: Tue, 7 Nov 2006 12:37:07 -0500 User-Agent: KMail/1.6.2 References: <20061106174033.GA70360@stud.fit.vutbr.cz> <200611071201.11899.jkim@FreeBSD.org> <20061107171904.GA50772@stud.fit.vutbr.cz> In-Reply-To: <20061107171904.GA50772@stud.fit.vutbr.cz> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200611071237.11856.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.88/2172/Tue Nov 7 09:04:48 2006 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: freebsd-emulation@FreeBSD.org Subject: Re: [PATCH]: possible fix for the fifoor problem X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Nov 2006 17:37:50 -0000 On Tuesday 07 November 2006 12:19 pm, Divacky Roman wrote: > the patch is wrong.... this forces NONBLOCKing on all opened files > which is wrong. Nope. It does not force anything. static void translate_path_major_minor(struct thread *td, char *path, struct stat *buf) { struct proc *p = td->td_proc; struct filedesc *fdp = p->p_fd; struct file *fp; int fd; int temp; temp = td->td_retval[0]; if (kern_open(td, path, UIO_SYSSPACE, O_RDONLY, 0) != 0) return; fd = td->td_retval[0]; td->td_retval[0] = temp; translate_fd_major_minor(td, fd, buf); FILEDESC_LOCK(fdp); fp = fdp->fd_ofiles[fd]; FILEDESC_UNLOCK(fdp); fdclose(fdp, fdp->fd_ofiles[fd], fd, td); } As you can see the function is only used internally to convert major/minor and fd is closed at the end of the function. > according to a comment in linux source code linux never blocks for > O_RDWR which is what I tried to implement with my patch We don't advertise it but we do the same, AFAIK. ;-) Jung-uk Kim From owner-freebsd-emulation@FreeBSD.ORG Tue Nov 7 17:49:03 2006 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B948416A584 for ; Tue, 7 Nov 2006 17:49:03 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 182BA43D5E for ; Tue, 7 Nov 2006 17:49:02 +0000 (GMT) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.1/8.13.1) with ESMTP id kA7HmvB6044030; Tue, 7 Nov 2006 12:48:57 -0500 (EST) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-emulation@FreeBSD.org Date: Tue, 7 Nov 2006 12:48:43 -0500 User-Agent: KMail/1.6.2 References: <20061106174033.GA70360@stud.fit.vutbr.cz> <17744.49460.325202.912653@gromit.timing.com> <20061107173346.GB50772@stud.fit.vutbr.cz> In-Reply-To: <20061107173346.GB50772@stud.fit.vutbr.cz> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200611071248.45570.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.88/2172/Tue Nov 7 09:04:48 2006 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Subject: Re: [PATCH]: possible fix for the fifoor problem X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Nov 2006 17:49:03 -0000 On Tuesday 07 November 2006 12:33 pm, Divacky Roman wrote: > On Tue, Nov 07, 2006 at 10:24:04AM -0700, John E Hein wrote: > > Jung-uk Kim wrote at 12:01 -0500 on Nov 7, 2006: > > > Try the attached patch instead. > > > > > > Jung-uk Kim > > > --- src/sys/compat/linux/linux_stats.c.orig Sun Oct 22 > > > 07:52:11 2006 +++ src/sys/compat/linux/linux_stats.c Tue Nov > > > 7 11:59:21 2006 @@ -130,7 +130,7 @@ > > > int temp; > > > > > > temp = td->td_retval[0]; > > > - if (kern_open(td, path, UIO_SYSSPACE, O_RDONLY, 0) != 0) > > > + if (kern_open(td, path, UIO_SYSSPACE, O_RDONLY | O_NONBLOCK, > > > 0) != 0) return; > > > fd = td->td_retval[0]; > > > td->td_retval[0] = temp; > > > > Yep. > > That fixes the problem with linux-seamonkey I reported. > > hm... why my patch doesnt work then? :) Your patch has two major flaws. 1) it does not check error, 2) actual failure happens in linux_*stat*(), not in linux_open(). :-) Jung-uk Kim From owner-freebsd-emulation@FreeBSD.ORG Wed Nov 8 00:17:09 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F55416A407; Wed, 8 Nov 2006 00:17:09 +0000 (UTC) (envelope-from bde@zeta.org.au) Received: from mailout2.pacific.net.au (mailout2-3.pacific.net.au [61.8.2.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 384B343D7F; Wed, 8 Nov 2006 00:17:02 +0000 (GMT) (envelope-from bde@zeta.org.au) Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.2.162]) by mailout2.pacific.net.au (Postfix) with ESMTP id 296EC1191F8; Wed, 8 Nov 2006 11:17:00 +1100 (EST) Received: from katana.zip.com.au (katana.zip.com.au [61.8.7.246]) by mailproxy1.pacific.net.au (Postfix) with ESMTP id 27DB28C12; Wed, 8 Nov 2006 11:16:59 +1100 (EST) Date: Wed, 8 Nov 2006 11:16:58 +1100 (EST) From: Bruce Evans X-X-Sender: bde@delplex.bde.org To: Jung-uk Kim In-Reply-To: <200611071237.11856.jkim@FreeBSD.org> Message-ID: <20061108104309.H55159@delplex.bde.org> References: <20061106174033.GA70360@stud.fit.vutbr.cz> <200611071201.11899.jkim@FreeBSD.org> <20061107171904.GA50772@stud.fit.vutbr.cz> <200611071237.11856.jkim@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-emulation@freebsd.org Subject: Re: [PATCH]: possible fix for the fifoor problem X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2006 00:17:09 -0000 On Tue, 7 Nov 2006, Jung-uk Kim wrote: > On Tuesday 07 November 2006 12:19 pm, Divacky Roman wrote: >> the patch is wrong.... this forces NONBLOCKing on all opened files >> which is wrong. > > Nope. It does not force anything. But it does. open() has side effects for some file types, and does have signifcant side effects for fifos. The original problem is caused by the side effect of blocking. Opening for writing or read/write would have the side effect of unblocking all readers blocked in open() and letting their open() complete. Opening for reading gives more delicate state changes which might be harmless, but this is not clear. > static void > translate_path_major_minor(struct thread *td, char *path, struct stat *buf) > { > struct proc *p = td->td_proc; > struct filedesc *fdp = p->p_fd; > struct file *fp; > int fd; > int temp; > > temp = td->td_retval[0]; > if (kern_open(td, path, UIO_SYSSPACE, O_RDONLY, 0) != 0) > return; > fd = td->td_retval[0]; > td->td_retval[0] = temp; > translate_fd_major_minor(td, fd, buf); > FILEDESC_LOCK(fdp); > fp = fdp->fd_ofiles[fd]; > FILEDESC_UNLOCK(fdp); > fdclose(fdp, fdp->fd_ofiles[fd], fd, td); > } > > As you can see the function is only used internally to convert > major/minor and fd is closed at the end of the function. Anything more than a stat() is too dangerous. >> according to a comment in linux source code linux never blocks for >> O_RDWR which is what I tried to implement with my patch > > We don't advertise it but we do the same, AFAIK. ;-) I think this happens automatically. The reader would block without O_NONBLOCK or a writer, but O_RDWR gives a writer so the only possible block is a transient internal one if the implementation opens the reader first. The thread doing the O_RDWR open() couldn't see this, but other threads might be able to see it if the implementation doesn't hold a lock throughout the open(). But utility functions cannot use O_RDWR due to its side effect. BTW, I never got around to committing the following workaround for a related bug in freopen(), since I'm not happy with the patch though I have been using it for about 10 years: %%% Index: freopen.c =================================================================== RCS file: /home/ncvs/src/lib/libc/stdio/freopen.c,v retrieving revision 1.13 diff -u -2 -r1.13 freopen.c --- freopen.c 22 May 2004 15:19:41 -0000 1.13 +++ freopen.c 23 May 2004 04:01:46 -0000 @@ -64,4 +64,5 @@ FILE *fp; { + struct stat st; int f; int dflags, flags, isopen, oflags, sverrno, wantfd; @@ -137,4 +138,7 @@ * a descriptor, defer closing it; freopen("/dev/stdin", "r", stdin) * should work. This is unnecessary if it was not a Unix file. + * However, not closing the descriptor is a bug if closing it would + * have side effects. We close fifos because completely closing a + * fifo flushes it, and the NIST POSIX test suite tests for this. */ if (fp->_flags == 0) { @@ -148,5 +152,9 @@ /* if close is NULL, closing is a no-op, hence pointless */ isopen = fp->_close != NULL; - if ((wantfd = fp->_file) < 0 && isopen) { + wantfd = fp->_file; + if (isopen && + (wantfd < 0 || + (_fstat(wantfd, &st) == 0 && S_ISFIFO(st.st_mode) + && st.st_ino != 0))) { (void) (*fp->_close)(fp->_cookie); isopen = 0; %%% stat() can be used similarly to give a workaround (that I'm not happy with) for translate_path_major_minor(): first stat() the path, and don't do anything unless it is a cdev or maybe a bdev (translate_fd_major_minor() still supports bdevs). This avoids the problem for fifos. However, cdevs must be handled, and opening of cdevs can have harmmful side effects (e.g., rewinding of tape drives). My fix for freopen() is incomplete because it doesn't handle the opposite problem. E.g., the missing close() might break setting of file marks on tapes. The problem is just smaller for freopen() since stdio shouldn't be used on tape drives, etc., while the translation function is used a lot and doesn't require much privilege. Bruce From owner-freebsd-emulation@FreeBSD.ORG Wed Nov 8 04:06:51 2006 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C6AF16A403; Wed, 8 Nov 2006 04:06:51 +0000 (UTC) (envelope-from gary@velocity-servers.net) Received: from velocity08.velocity-servers.net (fa.8d.1243.static.theplanet.com [67.18.141.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0808543D45; Wed, 8 Nov 2006 04:06:50 +0000 (GMT) (envelope-from gary@velocity-servers.net) Received: from pool-71-168-55-108.hag.east.verizon.net ([71.168.55.108] helo=orion-7d8713c59.velocity-servers.net) by velocity08.velocity-servers.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1GheiX-0004Ys-M4; Tue, 07 Nov 2006 22:07:13 -0600 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.7 (Beta) Date: Tue, 07 Nov 2006 23:06:46 -0500 To: Dan Nelson , Alexander Leidinger From: Gary In-Reply-To: <20061106210245.GA38327@dan.emsphone.com> References: <20061106064944.DAE202E1AB@redbull.bpaserver.net> <20061106104947.wcfc6bvqgoogccss@webmail.leidinger.net> <20061106210245.GA38327@dan.emsphone.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - velocity08.velocity-servers.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [26 6] X-AntiAbuse: Sender Address Domain - velocity-servers.net X-Source: X-Source-Args: X-Source-Dir: Message-Id: <20061108040650.0808543D45@mx1.FreeBSD.org> Cc: emulation@freebsd.org Subject: Re: linux emulation problem on releng6/7 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2006 04:06:51 -0000 At 04:02 PM 11/6/2006, Dan Nelson wrote: >In the last episode (Nov 06), Alexander Leidinger said: > > Quoting Gary (from Mon, 06 Nov 2006 > > 01:49:23 -0500): > > > > Redirecting to emulation@, ENOTIME until the weekend on my side ATM... > > > > Bye, > > Alexander. > > > > >With VALVe's Counter-Strike Source server, I noticed some strange > > >cpu usage readings (among other things) > > > > > >ktrace: > > > > > > 80786 srcds_amd CALL old.recv(0x5,0xbfbfb480) > > > 80786 srcds_amd RET old.recv -1 errno -11 Unknown error: -11 > >Running linux_kdump would give you more useful output here. Errno 11 >on Linux is EAGAIN, and syscall 102 is socketcall. Call #5 is >SYS_ACCEPT, so it looks like it's trying to accept() a connection on a >listening socket with no pending connections. > >-- > Dan Nelson > dnelson@allantgroup.com Here's with linux_kdump: 658 srcds_amd CALL gettimeofday(0xbfbfc5d0,0) 658 srcds_amd RET gettimeofday 0 658 srcds_amd CALL linux_socketcall(0x5,0xbfbfb4d0) 658 srcds_amd RET linux_socketcall -1 errno 11 Resource deadlock avoided 658 srcds_amd CALL gettimeofday(0xbfbfc5e0,0) 658 srcds_amd RET gettimeofday 0 658 srcds_amd CALL gettimeofday(0xbfbfc5b0,0) 658 srcds_amd RET gettimeofday 0 658 srcds_amd CALL linux_socketcall(0xc,0xbfbe4d40) 658 srcds_amd RET linux_socketcall -1 errno 11 Resource deadlock avoided 658 srcds_amd CALL gettimeofday(0xbfbfb4c0,0) 658 srcds_amd RET gettimeofday 0 658 srcds_amd CALL gettimeofday(0xbfbfc590,0) 658 srcds_amd RET gettimeofday 0 658 srcds_amd CALL gettimeofday(0xbfbfc5b0,0) 658 srcds_amd RET gettimeofday 0 658 srcds_amd CALL nanosleep(0xbfbfc830,0) 658 srcds_amd RET nanosleep 0 658 srcds_amd CALL linux_select(0x1,0xbfbfc670,0,0,0xbfbfc5e8) 658 srcds_amd RET linux_select 1 Strange, though, is linux_socketcall() the culprit for the strange error, or is it something else? From owner-freebsd-emulation@FreeBSD.ORG Wed Nov 8 07:03:03 2006 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58C0B16A403; Wed, 8 Nov 2006 07:03:03 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.176.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id A18D943D4C; Wed, 8 Nov 2006 07:03:01 +0000 (GMT) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) by eva.fit.vutbr.cz (envelope-from xdivac02@eva.fit.vutbr.cz) (8.13.8/8.13.7) with ESMTP id kA872w14061786 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 8 Nov 2006 08:02:59 +0100 (CET) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.8/8.13.3/Submit) id kA872wqS061783; Wed, 8 Nov 2006 08:02:58 +0100 (CET) Date: Wed, 8 Nov 2006 08:02:58 +0100 From: Divacky Roman To: Jung-uk Kim Message-ID: <20061108070258.GA61393@stud.fit.vutbr.cz> References: <20061106174033.GA70360@stud.fit.vutbr.cz> <200611071201.11899.jkim@FreeBSD.org> <20061107171904.GA50772@stud.fit.vutbr.cz> <200611071237.11856.jkim@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200611071237.11856.jkim@FreeBSD.org> User-Agent: Mutt/1.4.2.2i X-Scanned-By: MIMEDefang 2.57 on 147.229.176.14 Cc: freebsd-emulation@FreeBSD.org Subject: Re: [PATCH]: possible fix for the fifoor problem X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2006 07:03:03 -0000 On Tue, Nov 07, 2006 at 12:37:07PM -0500, Jung-uk Kim wrote: > On Tuesday 07 November 2006 12:19 pm, Divacky Roman wrote: > > the patch is wrong.... this forces NONBLOCKing on all opened files > > which is wrong. > > Nope. It does not force anything. > > static void > translate_path_major_minor(struct thread *td, char *path, struct stat *buf) > { > struct proc *p = td->td_proc; > struct filedesc *fdp = p->p_fd; > struct file *fp; > int fd; > int temp; > > temp = td->td_retval[0]; > if (kern_open(td, path, UIO_SYSSPACE, O_RDONLY, 0) != 0) > return; > fd = td->td_retval[0]; > td->td_retval[0] = temp; > translate_fd_major_minor(td, fd, buf); > FILEDESC_LOCK(fdp); > fp = fdp->fd_ofiles[fd]; > FILEDESC_UNLOCK(fdp); > fdclose(fdp, fdp->fd_ofiles[fd], fd, td); > } > > As you can see the function is only used internally to convert > major/minor and fd is closed at the end of the function. oh.. I overlooked that. then I think your patch might be correct. bde knows obviously more about it. but I personally dont object to the patch > > according to a comment in linux source code linux never blocks for > > O_RDWR which is what I tried to implement with my patch > > We don't advertise it but we do the same, AFAIK. ;-) I read the code and I think it does but I am no expert From owner-freebsd-emulation@FreeBSD.ORG Wed Nov 8 15:07:51 2006 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F267816A40F for ; Wed, 8 Nov 2006 15:07:50 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76B9C43D5E for ; Wed, 8 Nov 2006 15:07:50 +0000 (GMT) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.1/8.13.1) with ESMTP id kA8F7Tvs008152; Wed, 8 Nov 2006 10:07:30 -0500 (EST) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-emulation@FreeBSD.org Date: Wed, 8 Nov 2006 10:06:56 -0500 User-Agent: KMail/1.6.2 References: <20061106174033.GA70360@stud.fit.vutbr.cz> <200611071237.11856.jkim@FreeBSD.org> <20061108104309.H55159@delplex.bde.org> In-Reply-To: <20061108104309.H55159@delplex.bde.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200611081007.01759.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.88.6/2176/Wed Nov 8 06:53:41 2006 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Subject: Re: [PATCH]: possible fix for the fifoor problem X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2006 15:07:51 -0000 On Tuesday 07 November 2006 07:16 pm, Bruce Evans wrote: > On Tue, 7 Nov 2006, Jung-uk Kim wrote: > > On Tuesday 07 November 2006 12:19 pm, Divacky Roman wrote: > >> the patch is wrong.... this forces NONBLOCKing on all opened > >> files which is wrong. > > > > Nope. It does not force anything. > > But it does. open() has side effects for some file types, and does > have signifcant side effects for fifos. The original problem is > caused by the side effect of blocking. Opening for writing or > read/write would have the side effect of unblocking all readers > blocked in open() and letting their open() complete. Opening for > reading gives more delicate state changes which might be harmless, > but this is not clear. Ah, you are correct. I had to think more thoroughly. > > static void > > translate_path_major_minor(struct thread *td, char *path, struct > > stat *buf) { > > struct proc *p = td->td_proc; > > struct filedesc *fdp = p->p_fd; > > struct file *fp; > > int fd; > > int temp; > > > > temp = td->td_retval[0]; > > if (kern_open(td, path, UIO_SYSSPACE, O_RDONLY, 0) != 0) > > return; > > fd = td->td_retval[0]; > > td->td_retval[0] = temp; > > translate_fd_major_minor(td, fd, buf); > > FILEDESC_LOCK(fdp); > > fp = fdp->fd_ofiles[fd]; > > FILEDESC_UNLOCK(fdp); > > fdclose(fdp, fdp->fd_ofiles[fd], fd, td); > > } > > > > As you can see the function is only used internally to convert > > major/minor and fd is closed at the end of the function. > > Anything more than a stat() is too dangerous. Yeah, it is really ugly hack already. > >> according to a comment in linux source code linux never blocks > >> for O_RDWR which is what I tried to implement with my patch > > > > We don't advertise it but we do the same, AFAIK. ;-) > > I think this happens automatically. The reader would block without > O_NONBLOCK or a writer, but O_RDWR gives a writer so the only > possible block is a transient internal one if the implementation > opens the reader first. The thread doing the O_RDWR open() > couldn't see this, but other threads might be able to see it if the > implementation doesn't hold a lock throughout the open(). > > But utility functions cannot use O_RDWR due to its side effect. Thanks for the explanation. > BTW, I never got around to committing the following workaround for > a related bug in freopen(), since I'm not happy with the patch > though I have been using it for about 10 years: > > %%% > Index: freopen.c > =================================================================== > RCS file: /home/ncvs/src/lib/libc/stdio/freopen.c,v > retrieving revision 1.13 > diff -u -2 -r1.13 freopen.c > --- freopen.c 22 May 2004 15:19:41 -0000 1.13 > +++ freopen.c 23 May 2004 04:01:46 -0000 > @@ -64,4 +64,5 @@ > FILE *fp; > { > + struct stat st; > int f; > int dflags, flags, isopen, oflags, sverrno, wantfd; > @@ -137,4 +138,7 @@ > * a descriptor, defer closing it; freopen("/dev/stdin", "r", > stdin) * should work. This is unnecessary if it was not a Unix > file. + * However, not closing the descriptor is a bug if closing > it would + * have side effects. We close fifos because completely > closing a + * fifo flushes it, and the NIST POSIX test suite tests > for this. */ > if (fp->_flags == 0) { > @@ -148,5 +152,9 @@ > /* if close is NULL, closing is a no-op, hence pointless */ > isopen = fp->_close != NULL; > - if ((wantfd = fp->_file) < 0 && isopen) { > + wantfd = fp->_file; > + if (isopen && > + (wantfd < 0 || > + (_fstat(wantfd, &st) == 0 && S_ISFIFO(st.st_mode) > + && st.st_ino != 0))) { > (void) (*fp->_close)(fp->_cookie); > isopen = 0; > %%% > > stat() can be used similarly to give a workaround (that I'm not > happy with) for translate_path_major_minor(): first stat() the > path, and don't do anything unless it is a cdev or maybe a bdev > (translate_fd_major_minor() still supports bdevs). This avoids the > problem for fifos. However, cdevs must be handled, and opening of > cdevs can have harmmful side effects (e.g., rewinding of tape > drives). My fix for freopen() is incomplete because it doesn't > handle the opposite problem. E.g., the missing close() might break > setting of file marks on tapes. The problem is just smaller for > freopen() since stdio shouldn't be used on tape drives, etc., while > the translation function is used a lot and doesn't require much > privilege. Interesting... I knew the proper fix would be harder than my one-line patch. ;-) Thanks, Jung-uk Kim From owner-freebsd-emulation@FreeBSD.ORG Wed Nov 8 22:00:15 2006 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 317AE16A49E for ; Wed, 8 Nov 2006 22:00:15 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8438A43D46 for ; Wed, 8 Nov 2006 22:00:12 +0000 (GMT) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.1/8.13.1) with ESMTP id kA8Lx9VW033239; Wed, 8 Nov 2006 16:59:10 -0500 (EST) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-emulation@FreeBSD.org Date: Wed, 8 Nov 2006 16:58:55 -0500 User-Agent: KMail/1.6.2 References: <20061106174033.GA70360@stud.fit.vutbr.cz> <200611071237.11856.jkim@FreeBSD.org> <20061108070258.GA61393@stud.fit.vutbr.cz> In-Reply-To: <20061108070258.GA61393@stud.fit.vutbr.cz> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_hMlUFgRyAHZ0+qz" Message-Id: <200611081658.57145.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.88.6/2177/Wed Nov 8 11:10:40 2006 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Subject: Re: [PATCH]: possible fix for the fifoor problem X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2006 22:00:15 -0000 --Boundary-00=_hMlUFgRyAHZ0+qz Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Wednesday 08 November 2006 02:02 am, Divacky Roman wrote: > bde knows obviously more about it. but I personally dont object > to the patch The attached patch is what I came up with after reading bde's comment. I was not able to get rid of kern_open() but it is only used for char/block special files. I think this is less evil than what we have now in the tree. ;-) Jung-uk Kim --Boundary-00=_hMlUFgRyAHZ0+qz Content-Type: text/x-diff; charset="iso-8859-1"; name="linux_stats.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="linux_stats.diff" --- src/sys/compat/linux/linux_stats.c.orig Wed Nov 8 16:13:37 2006 +++ src/sys/compat/linux/linux_stats.c Wed Nov 8 16:29:31 2006 @@ -100,23 +100,16 @@ translate_fd_major_minor(struct thread *td, int fd, struct stat *buf) { struct file *fp; - int error; int major, minor; - if ((error = fget(td, fd, &fp)) != 0) + if ((!S_ISCHR(buf->st_mode) && !S_ISBLK(buf->st_mode)) || + fget(td, fd, &fp) != 0) return; - if (fp->f_vnode) { - if (fp->f_vnode->v_type == VCHR - || fp->f_vnode->v_type == VBLK) { - if (fp->f_vnode->v_un.vu_cdev) { - if (linux_driver_get_major_minor( - fp->f_vnode->v_un.vu_cdev->si_name, - &major, &minor) == 0) { - buf->st_rdev = (major << 8 | minor); - } - } - } - } + if (fp->f_vnode != NULL && + fp->f_vnode->v_un.vu_cdev != NULL && + linux_driver_get_major_minor(fp->f_vnode->v_un.vu_cdev->si_name, + &major, &minor) == 0) + buf->st_rdev = (major << 8 | minor); fdrop(fp, td); } @@ -129,6 +122,8 @@ int fd; int temp; + if (!S_ISCHR(buf->st_mode) && !S_ISBLK(buf->st_mode)) + return; temp = td->td_retval[0]; if (kern_open(td, path, UIO_SYSSPACE, O_RDONLY, 0) != 0) return; @@ -179,18 +174,19 @@ #endif error = kern_stat(td, path, UIO_SYSSPACE, &buf); - if (!error && strlen(path) > strlen("/dev/pts/") && - !strncmp(path, "/dev/pts/", strlen("/dev/pts/")) - && path[9] >= '0' && path[9] <= '9') { - /* - * Linux checks major and minors of the slave device to make - * sure it's a pty device, so let's make him believe it is. - */ - buf.st_rdev = (136 << 8); - } - - translate_path_major_minor(td, path, &buf); - + if (!error) { + if (strlen(path) > strlen("/dev/pts/") && + !strncmp(path, "/dev/pts/", strlen("/dev/pts/")) && + path[9] >= '0' && path[9] <= '9') { + /* + * Linux checks major and minors of the slave device to + * make sure it's a pty device, so let's make him + * believe it is. + */ + buf.st_rdev = (136 << 8); + } else + translate_path_major_minor(td, path, &buf); + } LFREEPATH(path); if (error) return (error); @@ -212,7 +208,8 @@ #endif error = kern_lstat(td, path, UIO_SYSSPACE, &sb); - translate_path_major_minor(td, path, &sb); + if (!error) + translate_path_major_minor(td, path, &sb); LFREEPATH(path); if (error) return (error); @@ -524,18 +521,19 @@ #endif error = kern_stat(td, filename, UIO_SYSSPACE, &buf); - if (!error && strlen(filename) > strlen("/dev/pts/") && - !strncmp(filename, "/dev/pts/", strlen("/dev/pts/")) - && filename[9] >= '0' && filename[9] <= '9') { - /* - * Linux checks major and minors of the slave device to make - * sure it's a pty deivce, so let's make him believe it is. - */ - buf.st_rdev = (136 << 8); + if (!error) { + if (strlen(filename) > strlen("/dev/pts/") && + !strncmp(filename, "/dev/pts/", strlen("/dev/pts/")) && + filename[9] >= '0' && filename[9] <= '9') { + /* + * Linux checks major and minors of the slave device to + * make sure it's a pty deivce, so let's make him + * believe it is. + */ + buf.st_rdev = (136 << 8); + } else + translate_path_major_minor(td, filename, &buf); } - - translate_path_major_minor(td, filename, &buf); - LFREEPATH(filename); if (error) return (error); @@ -557,7 +555,8 @@ #endif error = kern_lstat(td, filename, UIO_SYSSPACE, &sb); - translate_path_major_minor(td, filename, &sb); + if (!error) + translate_path_major_minor(td, filename, &sb); LFREEPATH(filename); if (error) return (error); --Boundary-00=_hMlUFgRyAHZ0+qz-- From owner-freebsd-emulation@FreeBSD.ORG Wed Nov 8 23:45:00 2006 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1BA7716A40F for ; Wed, 8 Nov 2006 23:45:00 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BA1443D46 for ; Wed, 8 Nov 2006 23:44:58 +0000 (GMT) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.1/8.13.1) with ESMTP id kA8NivDr038549 for ; Wed, 8 Nov 2006 18:44:57 -0500 (EST) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-emulation@FreeBSD.org Date: Wed, 8 Nov 2006 18:44:42 -0500 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_svmUFOyRrFvyJPN" Message-Id: <200611081844.44550.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.88.6/2177/Wed Nov 8 11:10:40 2006 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Subject: [PATCH] fixes for LTP mknod01, mknod07 and mknod09 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2006 23:45:00 -0000 --Boundary-00=_svmUFOyRrFvyJPN Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline The attached patch fixes LTP mknod01, mknod07 and mknod09. This is not a critical fix but it fixes a very annoying problem, i.e., LTP leaves a corrupt directory after each run. # rm -rf mknAawlFy rm: mknAawlFy/tnode: Bad file descriptor rm: mknAawlFy: Directory not empty # ls -al mknAawlFy ls: tnode: Bad file descriptor total 4 drwxrwxrwx 2 root wheel 512 11 7 17:06 . drwxrwxrwt 12 root wheel 512 11 8 18:41 .. Jung-uk Kim --Boundary-00=_svmUFOyRrFvyJPN Content-Type: text/x-diff; charset="iso-8859-1"; name="linux_misc.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="linux_misc.diff" --- src/sys/compat/linux/linux_misc.c.orig Tue Nov 7 17:46:33 2006 +++ src/sys/compat/linux/linux_misc.c Wed Nov 8 18:11:38 2006 @@ -890,11 +890,34 @@ printf(ARGS(mknod, "%s, %d, %d"), path, args->mode, args->dev); #endif - if (S_ISFIFO(args->mode)) + switch (args->mode & S_IFMT) { + case S_IFIFO: + case S_IFSOCK: error = kern_mkfifo(td, path, UIO_SYSSPACE, args->mode); - else + break; + + case S_IFCHR: + case S_IFBLK: error = kern_mknod(td, path, UIO_SYSSPACE, args->mode, args->dev); + break; + + case S_IFDIR: + error = EPERM; + break; + + case 0: + args->mode |= S_IFREG; + /* fall through */ + case S_IFREG: + error = kern_open(td, path, UIO_SYSSPACE, + O_WRONLY | O_CREAT | O_TRUNC, args->mode); + break; + + default: + error = EINVAL; + break; + } LFREEPATH(path); return (error); } --Boundary-00=_svmUFOyRrFvyJPN-- From owner-freebsd-emulation@FreeBSD.ORG Thu Nov 9 01:23:29 2006 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 921E916A501 for ; Thu, 9 Nov 2006 01:23:29 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from anuket.mj.niksun.com (gwnew.niksun.com [65.115.46.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07F7E43D4C for ; Thu, 9 Nov 2006 01:23:28 +0000 (GMT) (envelope-from jkim@FreeBSD.org) Received: from niksun.com (anuket [10.70.0.5]) by anuket.mj.niksun.com (8.13.1/8.13.1) with ESMTP id kA91NRB7041723 for ; Wed, 8 Nov 2006 20:23:27 -0500 (EST) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-emulation@FreeBSD.org Date: Wed, 8 Nov 2006 20:23:09 -0500 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: Multipart/Mixed; boundary="Boundary-00=_AMoUFwvyKMpVQZB" Message-Id: <200611082023.12907.jkim@FreeBSD.org> X-Virus-Scanned: ClamAV 0.88.6/2178/Wed Nov 8 19:08:09 2006 on anuket.mj.niksun.com X-Virus-Status: Clean Cc: Subject: [PATCH] Two new linprocfs IPC entries X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Nov 2006 01:23:29 -0000 --Boundary-00=_AMoUFwvyKMpVQZB Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline This patch adds /proc/sys/kernel/msgmni and /proc/sys/kernel/sem entries. This fixes LTP msgget03 and semget05 tests. Jung-uk Kim --Boundary-00=_AMoUFwvyKMpVQZB Content-Type: text/x-diff; charset="iso-8859-1"; name="linprocfs.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="linprocfs.diff" --- src/sys/compat/linprocfs/linprocfs.c.orig Mon Oct 30 08:56:58 2006 +++ src/sys/compat/linprocfs/linprocfs.c Wed Nov 8 20:01:54 2006 @@ -925,6 +925,24 @@ } /* + * Filler function for proc/sys/kernel/msgmni + */ +static int +linprocfs_domsgmni(PFS_FILL_ARGS) +{ + int msgmni; + size_t size; + + size = sizeof(msgmni); + if (kernel_sysctlbyname(td, "kern.ipc.msgmni", &msgmni, &size, + 0, 0, 0, 0) != 0) + msgmni = 0; + sbuf_printf(sb, "%i\n", msgmni); + + return (0); +} + +/* * Filler function for proc/sys/kernel/pid_max */ static int @@ -937,6 +955,44 @@ } /* + * Filler function for proc/sys/kernel/sem + */ +static int +linprocfs_dosem(PFS_FILL_ARGS) +{ + int semmsl, semmns, semopm, semmni; + size_t size; + + /* Field 1: SEMMSL */ + size = sizeof(semmsl); + if (kernel_sysctlbyname(td, "kern.ipc.semmsl", &semmsl, &size, + 0, 0, 0, 0) != 0) + semmsl = 0; + + /* Field 2: SEMMNS */ + size = sizeof(semmns); + if (kernel_sysctlbyname(td, "kern.ipc.semmns", &semmns, &size, + 0, 0, 0, 0) != 0) + semmns = 0; + + /* Field 3: SEMOPM */ + size = sizeof(semopm); + if (kernel_sysctlbyname(td, "kern.ipc.semopm", &semopm, &size, + 0, 0, 0, 0) != 0) + semopm = 0; + + /* Field 4: SEMMNI */ + size = sizeof(semmni); + if (kernel_sysctlbyname(td, "kern.ipc.semmni", &semmni, &size, + 0, 0, 0, 0) != 0) + semmni = 0; + + sbuf_printf(sb, "%i %i %i %i\n", semmsl, semmns, semopm, semmni); + + return (0); +} + +/* * Filler function for proc/scsi/device_info */ static int @@ -1080,7 +1136,11 @@ dir = pfs_create_dir(root, "sys", NULL, NULL, 0); /* /proc/sys/kernel/... */ dir = pfs_create_dir(dir, "kernel", NULL, NULL, 0); + pfs_create_file(dir, "msgmni", &linprocfs_domsgmni, + NULL, NULL, PFS_RD); pfs_create_file(dir, "pid_max", &linprocfs_dopid_max, + NULL, NULL, PFS_RD); + pfs_create_file(dir, "sem", &linprocfs_dosem, NULL, NULL, PFS_RD); return (0); --Boundary-00=_AMoUFwvyKMpVQZB-- From owner-freebsd-emulation@FreeBSD.ORG Sat Nov 11 11:48:20 2006 Return-Path: X-Original-To: freebsd-emulation@FreeBSD.org Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3702A16A58C for ; Sat, 11 Nov 2006 11:48:20 +0000 (UTC) (envelope-from jvd@delinocci.com) Received: from omr9.networksolutionsemail.com (omr9.networksolutionsemail.com [205.178.146.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87D4D43D62 for ; Sat, 11 Nov 2006 11:48:19 +0000 (GMT) (envelope-from jvd@delinocci.com) Received: from mail.networksolutionsemail.com (ns-omr9.mgt.hosting.dc2.netsol.com [10.49.6.72]) by omr9.networksolutionsemail.com (8.13.6/8.13.6) with SMTP id kABBmIDF028988 for ; Sat, 11 Nov 2006 06:48:18 -0500 Received: (qmail 17035 invoked by uid 78); 11 Nov 2006 11:48:18 -0000 Received: from unknown (HELO ?192.168.1.50?) (jvd@delinocci.com@24.16.99.67) by ns-omr9.lb.hosting.dc2.netsol.com with SMTP; 11 Nov 2006 11:48:18 -0000 From: JVD To: freebsd-emulation@FreeBSD.org Content-Type: text/plain Date: Sat, 11 Nov 2006 03:48:17 -0800 Message-Id: <1163245697.1513.48.camel@x.internal.delinocci.com> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: Subject: vmware 4.5 on FreeBSD 6.2 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Nov 2006 11:48:20 -0000 I setup VMware 4.5.2 workstation on my FreeBSD 6.2 machine and am having some issues I can't make it through. I know this topic has come up from time to time throughout various mailing lists, and I understand there isn't a large, current support base for VMware on FreeBSD .. but I was hoping someone out there could point me in the right direction to get this fully functional. I have successfully installed the application, gotten the vmmon_smp.ko and vmnet.ko modules compiled and loaded (even got vmmon_up.ko working but with the same issues), all my /dev objects are there, and the vmnet1 interface comes up fine. All the start-up scripts work, even have rtc.ko loaded. I can launch the application (with sudo rights to avoid the "NOT_IMPLEMENTED" errors), can use all the wizards, set up new guest profiles, format (preallocate) the physical disk and so on with no problems. My issue is actually starting the virtual machine. I do not have a vmware.log file anywhere, not in /tmp, not in /var, the vmware image directory, not anywhere. The only logging I have is from vmui under /tmp/vmware-root. When I try to start the virtual machine I get these errors in the UI log: Nov 11 03:13:04: vmui| VmSummaryIsScreenshotNew: failed to stat image .png: No such file or directory Nov 11 03:13:04: vmui| VmSummaryIsScreenshotNew: failed to stat image .png: No such file or directory Nov 11 03:13:04: vmui| VMHS: Exec()'ing /usr/lib/vmware/bin/vmware-vmx Nov 11 03:13:04: vmui| VmSummaryIsScreenshotNew: failed to stat image .png: No such file or directory Nov 11 03:13:04: vmui| The VMX process died prematurely Nov 11 03:13:04: vmui| VMHSLaunchVM failed: VMDB_E_LAUNCH_PEER_FAILED Nov 11 03:13:04: vmui| VmSummaryIsScreenshotNew: failed to stat image .png: No such file or directory Launching vmware-vmx manually puts a log into /tmp/vmware-log/123.log, just says it started up with no args to initialize the VMX VMDB instance. The only thing a ktrace shows are the configuration files and preference files, and /etc/localtime being accessed. The only issue I had when getting the vmmon module to build was with vmmon-only/freebsd/mli_file.c under mli_conjure_vnode() -- I was getting compile errors about the si_hlist struct member being missing. Since I couldn't figure out the fix I set the variable to NULL on the first round and then commented the section like this, both with the same results: /* vd = SLIST_FIRST(&dev->si_hlist); */ vd = NULL; /* if (vd == NULL) return ENODEV; */ This got me past my compile errors, and I'm not quite sold that my issues are related to this decision since I've read one or two mailing list postings talking about this same issue on Linux (no resolutions that I could use unfortunately). If anyone has ran into this and fixed it, or has any information that could help I'd appreciate it. -jvd Not that this will really help, but here's some basic output of how things are working: root@x:~ > uname -srp FreeBSD 6.2-PRERELEASE i386 root@x:~ > vmware -v VMware Workstation 4.5.2 build-8848 ## vmmon_smp.ko and vmnet.ko are loaded properly root@x:~ > kldstat Id Refs Address Size Name 1 23 0xc0400000 731768 kernel 2 7 0xc0b32000 1adb8 linux.ko 3 1 0xc0b4d000 4a47b4 nvidia.ko 4 1 0xc0ff2000 59f20 acpi.ko 5 1 0xc707c000 6000 linprocfs.ko 6 1 0xc71f5000 2000 blank_saver.ko 7 1 0xc7211000 8000 vmmon_smp.ko 8 1 0xc722a000 2000 vmnet.ko 9 1 0xc722c000 4000 if_tap.ko 10 1 0xc7253000 2000 rtc.ko 11 4 0xc7d7b000 a000 netgraph.ko 12 1 0xc7d8b000 3000 ng_ether.ko 13 1 0xc7d8e000 4000 ng_bridge.ko 14 1 0xc7db3000 4000 ng_socket.ko ## All the appropriate devices are there root@x:/dev > ls -al | grep vm lrwxr-xr-x 1 root wheel 10 Nov 11 02:30 net3 -> net/vmnet1 crw------- 1 root wheel 0, 120 Nov 11 02:27 vmmon crw------- 1 root wheel 0, 106 Nov 11 02:27 vmnet1 ## I have the logical vmnet interface root@x:~ > ifconfig vmnet1 vmnet1: flags=8943 mtu 1500 inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 ether 00:bd:e2:1f:03:01 ## Straight forward kernel include GENERIC ident X options SMP device sound device atapicam device snd_emu10k1 options HZ=1200 options VFS_AIO From owner-freebsd-emulation@FreeBSD.ORG Sat Nov 11 13:03:02 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E4A5916A415 for ; Sat, 11 Nov 2006 13:03:02 +0000 (UTC) (envelope-from qemu-l@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 985EF43D5A for ; Sat, 11 Nov 2006 13:02:55 +0000 (GMT) (envelope-from qemu-l@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn [127.0.0.1]) by gwyn.kn-bremen.de (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id kABD2s1K017244 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 11 Nov 2006 14:02:54 +0100 Received: from saturn.kn-bremen.de (uucp@localhost) by gwyn.kn-bremen.de (8.13.4/8.13.4/Submit) with UUCP id kABD2suj017242; Sat, 11 Nov 2006 14:02:54 +0100 Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.13.6/8.13.6) with ESMTP id kABCwhIi040270; Sat, 11 Nov 2006 13:58:43 +0100 (CET) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.13.6/8.13.6/Submit) id kABCwhsX040269; Sat, 11 Nov 2006 13:58:43 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Sat, 11 Nov 2006 13:58:43 +0100 To: qemu-devel@nongnu.org, freebsd-emulation@freebsd.org Message-ID: <20061111125843.GA39260@saturn.kn-bremen.de> Mail-Followup-To: qemu-devel@nongnu.org, freebsd-emulation@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 Cc: Subject: qemu 20061102 snapshot: trouble booting directly from cdrom device X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Nov 2006 13:03:03 -0000 Hi! I got a report yesterday of the win2k cd bsod'ing with an INACCESSIBLE_BOOT_DEVICE error when booted directly from the device (as opposed to from an iso, which worked.) I dont have a win2k cd, but I tried a KANOTIX-2006-01-RC2 cd (linux livecd), and that, although it did boot, said VFS: busy inodes on changed media repeatedly. Does anyone else get something like this on another host (I'm on FreeBSD)? I would like to know if its a FreeBSD problem (aio not working properly on the cdrom device?) or something to do with qemu itself... Thanx, Juergen From owner-freebsd-emulation@FreeBSD.ORG Sat Nov 11 22:10:09 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0894216A403 for ; Sat, 11 Nov 2006 22:10:08 +0000 (UTC) (envelope-from freebsd-emulation@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id C986543D70 for ; Sat, 11 Nov 2006 22:10:04 +0000 (GMT) (envelope-from freebsd-emulation@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Gj134-0005Ou-FD for freebsd-emulation@freebsd.org; Sat, 11 Nov 2006 23:10:02 +0100 Received: from r5h168.net.upc.cz ([86.49.7.168]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 Nov 2006 23:10:02 +0100 Received: from gamato by r5h168.net.upc.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 Nov 2006 23:10:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-emulation@freebsd.org From: martinko Date: Sat, 11 Nov 2006 22:19:45 +0100 Lines: 18 Message-ID: <45563E71.3050403@users.sf.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: r5h168.net.upc.cz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.0.8) Gecko/20061111 SeaMonkey/1.0.6 Sender: news Cc: freebsd-ports@freebsd.org Subject: emulators/qemu-launcher: unable to launch X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Nov 2006 22:10:09 -0000 Hello list, I've just compiled and installed emulators/qemu-launcher and this is what I've got when trying to run it: $ qemu-launcher /libexec/ld-elf.so.1: /usr/local/lib/libgthread-2.0.so.0: Undefined symbol "pthread_getschedparam" What's wrong please? What am I to do now? Cheers, Martin PS: FreeBSD mb-aw1n-bsd 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Sat Sep 23 10:05:07 CEST 2006 root@mb-aw1n-bsd:/usr/obj/usr/src/sys/MB-AW1N i386 From owner-freebsd-emulation@FreeBSD.ORG Sat Nov 11 23:25:10 2006 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 112C716A407 for ; Sat, 11 Nov 2006 23:25:10 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.176.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34EA643D68 for ; Sat, 11 Nov 2006 23:25:07 +0000 (GMT) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) by eva.fit.vutbr.cz (envelope-from xdivac02@eva.fit.vutbr.cz) (8.13.8/8.13.7) with ESMTP id kABNP4KH055895 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 12 Nov 2006 00:25:04 +0100 (CET) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.8/8.13.3/Submit) id kABNP4w7055894 for emulation@freebsd.org; Sun, 12 Nov 2006 00:25:04 +0100 (CET) Date: Sun, 12 Nov 2006 00:25:04 +0100 From: Divacky Roman To: emulation@freebsd.org Message-ID: <20061111232504.GA55742@stud.fit.vutbr.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i X-Scanned-By: MIMEDefang 2.57 on 147.229.176.14 Cc: Subject: new patchset against p4 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Nov 2006 23:25:10 -0000 hi www.stud.fit.vutbr.cz/~xdivac02/linuxolator061112.patch is the actual patcheset against p4. pls test and have fun :) roman From owner-freebsd-emulation@FreeBSD.ORG Sat Nov 11 23:28:40 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8BC2C16A4D8 for ; Sat, 11 Nov 2006 23:28:40 +0000 (UTC) (envelope-from freebsd-emulation@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19ED043D53 for ; Sat, 11 Nov 2006 23:28:39 +0000 (GMT) (envelope-from freebsd-emulation@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Gj2H3-0006W1-Ir for freebsd-emulation@freebsd.org; Sun, 12 Nov 2006 00:28:33 +0100 Received: from r5h168.net.upc.cz ([86.49.7.168]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Nov 2006 00:28:33 +0100 Received: from gamato by r5h168.net.upc.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Nov 2006 00:28:33 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-emulation@freebsd.org From: martinko Date: Sun, 12 Nov 2006 00:28:17 +0100 Lines: 22 Message-ID: <45565C91.3020604@users.sf.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: r5h168.net.upc.cz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.0.8) Gecko/20061111 SeaMonkey/1.0.6 Sender: news Cc: freebsd-questions@freebsd.org Subject: emulators/qemu: crashes with "Bad system call: 12" X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Nov 2006 23:28:40 -0000 Hello, I'm trying to install Win2K but QEMU is constantly crashing with: Bad system call: 12 The command line I'm using is a variation of the following: qemu -cdrom /opt/win2k.iso -hda /opt/c.img -m 256 -boot d -win2k-hack First I tried to boot directly from CD. Also I used QCOW disk image but QEMU crashed at a very early stage (before Win2K installer kicked in). Now I'm using RAW disk image and QEMU actually runs up to after initial Win2K installer reads device configuration files. What might be wrong and how to fix it please ? Cheers, Martin PS: QEMU is freshly installed from ports on FreeBSD 6.2-PRERELEASE. From owner-freebsd-emulation@FreeBSD.ORG Sat Nov 11 23:47:46 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 44B0A16A416 for ; Sat, 11 Nov 2006 23:47:46 +0000 (UTC) (envelope-from root@dreamtime.ca) Received: from dreamtime.ca (216-130-65-164.static.mts.net [216.130.65.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 49AE443D49 for ; Sat, 11 Nov 2006 23:47:44 +0000 (GMT) (envelope-from root@dreamtime.ca) Received: by dreamtime.ca (Postfix, from userid 0) id 690AA41AABA; Sat, 11 Nov 2006 17:53:12 -0600 (CST) To: freebsd-emulation@freebsd.org Message-ID: <1163289192.37932.qmail@eBay.com> From: "abuse@eBay.com" Date: Sat, 11 Nov 2006 17:53:12 -0600 (CST) MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Your account has been suspended X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Nov 2006 23:47:46 -0000 [spacer.gif] eBay Warning -- respond now [1][eBayLogo.gif] Dear member, Your account has been suspended. If you want to unsuspend your user please check the link below: [2]Unsuspend you eBay account:. Regards, eBay References 1. http://www.ebay.com/ 2. http://www.zachkoenig.com/doc/unsuspend.ebay.com/index.html