Kernel should hand over all cmdline args to the init environment

Bug #586386 reported by Oliver Grawert on 2010-05-27
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Medium
Andy Whitcroft
Maverick
Medium
Andy Whitcroft
linux-ti-omap4 (Ubuntu)
Medium
Bryan Wu
Maverick
Medium
Bryan Wu

Bug Description

in maverick we plan to have an upstart job that automatically spawns a getty if a console= argument for a serial console is set on the kernel cmdline. to do that properly init needs to have this argument available so we dont need to do racy parsing of /proc/cmdline.

apparently there is already a patch available that implements the CONFIG_INIT_PASS_ALL_PARAMS but its not applied to all maverick tres and has not seen the final testing yet. once this is available in an omap3 binary, please close this bug.

Andy Whitcroft (apw) on 2010-05-27
Changed in linux-ti-omap (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Andy Whitcroft (apw)
tags: added: kernel-core kernel-reviewed maverick
Oliver Grawert (ogra) on 2010-06-11
Changed in linux-ti-omap (Ubuntu):
milestone: none → maverick-alpha-2

omap3 in Maverick is maintained in the linux master branch, thus i'm reassigning this to the linux kernel package. The patch to resolve this bug should be available in the most recent 2.6.35-5.6 kernel upload and available for testing via linux-image-2.6.35-5-omap. As a result I'm marking this bug Fix Released. If this is not resolved with this latest 2.6.35-5.6 kernel, feel free to reopen this bug by setting the status back to New. Thanks.

https://edge.launchpad.net/ubuntu/+source/linux/2.6.35-5.6

* SAUCE: add option to hand off all kernel parameters to init
    - LP: #586386

affects: linux-ti-omap (Ubuntu Maverick) → linux (Ubuntu Maverick)
Changed in linux (Ubuntu Maverick):
status: In Progress → Fix Released
Bryan Wu (cooloney) wrote :

ti-omap4 also needs this change, otherwise some omap4 based machine can't boot properly.

Changed in linux-ti-omap4 (Ubuntu Maverick):
importance: Undecided → Medium
assignee: nobody → Bryan Wu (cooloney)
milestone: none → maverick-updates
status: New → In Progress

$ ubuntu-maverick/debian.ti-omap4/config$ grep CONFIG_INIT_PASS_ALL_PARAMS config.common.ubuntu
# CONFIG_INIT_PASS_ALL_PARAMS is not set

This change is needed in order to have jasper working for OMAP 4 Blaze devices, otherwise it can't see the correct mmc device.

summary: - omap3 kernel should hand over all comdline args to the init environment
+ Kernel should hand over all comdline args to the init environment
tags: added: armel
Tobin Davis (gruemaster) on 2010-10-07
summary: - Kernel should hand over all comdline args to the init environment
+ Kernel should hand over all cmdline args to the init environment
tags: added: iso-testing

Accepted linux-ti-omap4 into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in linux-ti-omap4 (Ubuntu Maverick):
status: In Progress → Fix Committed
tags: added: verification-needed
Tobin Davis (gruemaster) wrote :

Tested on kernel rev 2.6.35-903.19 in proposed. Configuration is currently CONFIG_INIT_PASS_ALL_PARAMS=y which is the correct behavior.

tags: added: verification-done
removed: verification-needed
Paolo Pisati (p-pisati) on 2011-03-28
Changed in linux-ti-omap4 (Ubuntu):
status: Fix Committed → Fix Released
Changed in linux-ti-omap4 (Ubuntu Maverick):
status: Fix Committed → Fix Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related blueprints