Modify

Opened 9 years ago

Closed 9 years ago

Last modified 2 years ago

#1406 closed defect (fixed)

multiple grub opts not working due to quoting

Reported by: framer99 Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version:
Keywords: grub opts options cmdline arg Cc:

Description

when I add multiple grub options for a ext2 image in menuconfig, they are put
into menu.lst using double quotes and the kernel does not seem to use them.

Here's some logs that show the problem using the clocksource= arg. The
specified clock is ignored when quoted with another arg and the default
clock "tsc" is used.

root@xxx:/# logread | grep "command line\|Time:"
Feb 26 04:12:49 (none) user.notice kernel: Kernel command line: root=/dev/hdb2 rootfstype=ext2 "panic=10 clocksource=scx200_hrt" noinitrd console=ttyS0,9600n8 reboot=bios
Feb 26 04:12:49 (none) user.info kernel: Time: tsc clocksource has been installed.

/proc/cmdline does still show the quoted args, but they weren't actually used.

After editing menu.lst and remvoing the quotes:

root@xxx:/# logread | grep "command line\|Time:"
Feb 26 04:17:29 (none) user.notice kernel: Kernel command line: root=/dev/hdb2 rootfstype=ext2 panic=10 clocksource=scx200_hrt noinitrd console=ttyS0,9600n8 reboot=bios
Feb 26 04:17:29 (none) user.info kernel: Time: scx200_hrt clocksource has been installed.

a single arg that is quoted does work. You only see the problem when you put more than one arg in using menuconfig.

Attachments (0)

Change History (2)

comment:1 Changed 9 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

fixed in [6419]

comment:2 Changed 2 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.