From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LsQII-0000qg-8H for mharc-grub-devel@gnu.org; Fri, 10 Apr 2009 19:37:58 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LsQIE-0000me-3P for grub-devel@gnu.org; Fri, 10 Apr 2009 19:37:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LsQI9-0000hO-N0 for grub-devel@gnu.org; Fri, 10 Apr 2009 19:37:53 -0400 Received: from [199.232.76.173] (port=55226 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LsQI9-0000hF-EF for grub-devel@gnu.org; Fri, 10 Apr 2009 19:37:49 -0400 Received: from mail-fx0-f166.google.com ([209.85.220.166]:45558) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LsQI8-0001B4-PS for grub-devel@gnu.org; Fri, 10 Apr 2009 19:37:49 -0400 Received: by fxm10 with SMTP id 10so1363200fxm.42 for ; Fri, 10 Apr 2009 16:37:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=RTRRSKaa+1ovX3U9hT5u7AYXcIYzEUvctFbBtGRWerw=; b=R5V+dgDJzC3xYArCqPNCj7xTh0gkjdP6R0NpLVUSoRSsHOZS2YKLfUUtS/LqGxA3SP id1Uy0j/3pYlcySJOX31vN3uVIVxJLyQX3uzwXN8j54mUfE/uh4THm2tS+5VXngjmfFc /WThqkj3c6Ah4SUXKihsMwKtULBlqE2vxJ5kI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=A779JVfe0308082coAeLmYJKdfQFSFjK0Bom/iNENuTlImqwIIVc1qheaBUC121QoF JPi4mmTfm3Uh2atkxJ9eyTTfm5T2CxNvuGvR7HueXlON2tIZcfKtFn6Ckw4Ixt8637uL DZIwSYkaftf+dlTW7eqHaQQkouimNyiFjM8fI= Received: by 10.86.95.20 with SMTP id s20mr2918240fgb.77.1239406667864; Fri, 10 Apr 2009 16:37:47 -0700 (PDT) Received: from ?192.168.1.25? (16-189.62-81.cust.bluewin.ch [81.62.189.16]) by mx.google.com with ESMTPS id 3sm2508574fge.9.2009.04.10.16.37.47 (version=SSLv3 cipher=RC4-MD5); Fri, 10 Apr 2009 16:37:47 -0700 (PDT) Message-ID: <49DFD84E.3070703@gmail.com> Date: Sat, 11 Apr 2009 01:37:50 +0200 From: phcoder User-Agent: Thunderbird 2.0.0.21 (X11/20090318) MIME-Version: 1.0 To: The development of GRUB 2 , janalsenz@student.ethz.ch References: <4991C150.3090504@student.ethz.ch> <20090221145759.GB16851@thorin> <49A01F17.4030406@student.ethz.ch> In-Reply-To: <49A01F17.4030406@student.ethz.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: Subject: Re: [PATCH] Long linux kernel command lines X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Apr 2009 23:37:54 -0000 Grüüzzi This part (now named linux16) is kept for backward compatibility only. And it looks like current implementation of linux command doesn't suffer this limitation. Can you confirm? BTW I'm at ETH too Jan Alsenz wrote: > Robert Millan wrote: >> On Tue, Feb 10, 2009 at 07:02:56PM +0100, Jan Alsenz wrote: >>> Hello! >>> >>> I just noticed, that the pc linux loader (loader/i386/pc/linux.c) always >>> truncates the kernel command line to less than 256 characters. >>> Well since I needed a longer command line, I fixed this problem. >> Hi, >> >> Thanks for your effort, but note that this can't be changed carelessly. It's >> possible we have this limit for backward compatibility. >> >> If newer versions of Linux allow a longer cmdline, our code should check for >> that instead. > > If you look at the patch I send on Feb 11, I think it does all the necessary checks. > >> Also, would be cool if you can check whether loader/i386/linux.c also has >> this problem. > > Well, it uses a fixed 4k command-line area. But I don't know, if this is a > problem there. > > Greets, > > Jan > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel -- Regards Vladimir 'phcoder' Serbinenko