Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750729AbWHGOoI (ORCPT ); Mon, 7 Aug 2006 10:44:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750964AbWHGOoH (ORCPT ); Mon, 7 Aug 2006 10:44:07 -0400 Received: from hellhawk.shadowen.org ([80.68.90.175]:60690 "EHLO hellhawk.shadowen.org") by vger.kernel.org with ESMTP id S1750958AbWHGOoH (ORCPT ); Mon, 7 Aug 2006 10:44:07 -0400 Message-ID: <44D75151.5070504@shadowen.org> Date: Mon, 07 Aug 2006 15:42:25 +0100 From: Andy Whitcroft User-Agent: Thunderbird 1.5.0.2 (X11/20060516) MIME-Version: 1.0 To: Andi Kleen CC: linux-kernel@vger.kernel.org Subject: Re: x86_64 command line truncated II References: <20060806030809.2cfb0b1e.akpm@osdl.org> <44D742DD.6090004@shadowen.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1114 Lines: 31 Andi Kleen wrote: > Andi Kleen writes: > >> Andy Whitcroft writes: >> >>> It seems that the command line on x86_64 is being truncated during boot: >> in mm right? >>> Will try and track it down. >> Don't bother, it is likely "early-param" (the patch from >> hell). I'll investigate. > > Following up myself ... > > Are you sure it's a regression? 2.6.17 does the same > and we always had that 255 character limit (I tried > to increase it once, but it broke some old lilo setups) > > i386 should be the same btw. Its not being truncated at 255 characters, its being truncated at the first space. This is coming out of parse_args, which dumps '\0's into the command_line as it rips it apart. We now only have one copy of the command line (in x86_64) instead of two, so we now expose this trashed copy in /proc/cmdline. -apw - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/