lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <20071025052654.04A665C@demolition.dls.net> Date: Thu, 25 Oct 2007 00:26:54 -0500 From: <mwester@....net> To: Andrew Morton <akpm@...ux-foundation.org>, linux-arm-kernel@...ts.arm.linux.org.uk, Russell King <rmk@....linux.org.uk>, Bill Gatliff <bgat@...lgatliff.com> Cc: svs1957@...il.com, bugme-daemon@...zilla.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [Bugme-new] [Bug 9217] New: CONFIG_CMDLINE doesn't pass to kernel > On Wed, 24 Oct 2007 05:32:14 -0700 (PDT) bugme-daemon@...zilla.kernel.org wrote: > > > http://bugzilla.kernel.org/show_bug.cgi?id=9217 > > > >            Summary: CONFIG_CMDLINE doesn't pass to kernel > >            Product: Other > >            Version: 2.5 > >      KernelVersion: 2.6.23 > >           Platform: All > >         OS/Version: Linux > >               Tree: Mainline > >             Status: NEW > >           Severity: high > >           Priority: P1 > >          Component: Other > >         AssignedTo: other_other@...nel-bugs.osdl.org > >         ReportedBy: svs1957@...il.com > > > > > > Most recent kernel where this bug did not occur:2.6.24-rc1 > > Distribution: Debian Armel (arm with EABI) > > Hardware Environment: Sharp Zaurus 750 (ARM pxa255) > > Software Environment: Debian > > Problem Description: > > I try to upgrade kernel from 2.6.22.9 to 2.6.23. > > 2.6.22.9 works correct. Kernel 2.6.23 doesn't use  CONFIG_CMDLINE and doesn't > > pass bootparams: > > CONFIG_CMDLINE="console=ttyS0,115200n8 console=tty1 noinitrd > > root=/dev/mmcblk0p1 rootfstype=ext3 rw rootdelay=5" > > But kernel still try to mount /dev/mtdblock2 using jffs2. > > Steps to reproduce: > > Compile kernel with CONFIG_CMDLINE and try to boot. > > > > > > Something broke CONFIG_CMDLINE of ARM (at least) between 2.6.22 and 2.6.23. > > I don't know whether it was an ARM patch one of those kernel-wide changes. > We have futzed with the command-line parsing a bit recently, but the 2.6.23 > changelog doesn't suggest anything obvious. I think the zaurus kernel deliberately ignored the bootparams passed in by the device's bootloader. The 2.6.23 kernel now honors the r2 setting from the bootloader, which is most likely pointing to those ATAGs that were being ignored earlier. I suppose you can hack up the logic in setup.c where the ATAGs are parsed, but it seems to me that it would be better to work out some logic, perhaps in the fixup section for that machine, to do whatever is necessary to override or otherwise get along with the bootloader. Mike (mwester) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists