Andrey Borzenkov | 1 Mar 2010 19:10
Picon

[PATCH] Fix boot with user suspend and no resume= kernel argument

Mandriva bug https://qa.mandriva.com/show_bug.cgi?id=57924. Check
if dracut got resume= argument before calling /usr/sbin/resume

Signed-off-by: Andrey Borzenkov <arvidjaar@...>

---

 modules.d/95uswsusp/resume-uswsusp.sh |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/modules.d/95uswsusp/resume-uswsusp.sh b/modules.d/95uswsusp/resume-uswsusp.sh
index 9b18567..ce0e3d2 100755
--- a/modules.d/95uswsusp/resume-uswsusp.sh
+++ b/modules.d/95uswsusp/resume-uswsusp.sh
 <at>  <at>  -8,4 +8,6  <at>  <at>  case "$splash" in
     ;;
 esac

-/usr/sbin/resume $a_splash "$resume"
+if [ -n "$resume" ]; then
+    /usr/sbin/resume $a_splash "$resume"
+fi

Andrey Borzenkov | 1 Mar 2010 19:12
Picon

Re: [PATCH] Pass init argument(s) to real init

On Saturday 30 of January 2010 17:57:45 Andrey Borzenkov wrote:
> I was rather surprised why all my attempts to enter single user were
> not successful :) Simple patch to collect and pass to real init what
> _looks_ like init arguments.
> 

Ping.

Was it bad, is it unnecessary?
Harald Hoyer | 4 Mar 2010 13:42
Picon
Favicon
Gravatar

Re: [PATCH] Add a check file for multipath.

On 01/22/2010 04:56 PM, Peter Jones wrote:
> If multipath isn't installed, don't use it.  If we're in hostonly mode,
> only install the multipath module if it's used for / .  Otherwise, if
> the user was dumb enough to install it, they get it during bootup.
> ---
>   modules.d/90multipath/check |   27 +++++++++++++++++++++++++++
>   1 files changed, 27 insertions(+), 0 deletions(-)
>   create mode 100755 modules.d/90multipath/check
>
> diff --git a/modules.d/90multipath/check b/modules.d/90multipath/check
> new file mode 100755
> index 0000000..d0cad4c
> --- /dev/null
> +++ b/modules.d/90multipath/check
>  <at>  <at>  -0,0 +1,27  <at>  <at> 
> +#!/bin/bash
> +
> +# if there's no multipath binary, no go.
> +which multipath>/dev/null 2>&1 || exit 1
> +
> +[[ $1 = -d ]]&&  exit 0
> +
> +. $dracutfunctions
> +[[ $debug ]]&&  set -x
> +
> +is_mpath() {
> +    [ -e /sys/dev/block/$1/dm/uuid ] || return 1
> +    [[ $(cat /sys/dev/block/$1/dm/uuid) =~ ^mpath- ]]&&  return 0
> +    return 1
> +}
(Continue reading)

Harald Hoyer | 4 Mar 2010 14:07
Picon
Favicon
Gravatar

Re: [PATCH] Pass init argument(s) to real init

On 03/01/2010 07:12 PM, Andrey Borzenkov wrote:
> On Saturday 30 of January 2010 17:57:45 Andrey Borzenkov wrote:
>> I was rather surprised why all my attempts to enter single user were
>> not successful :) Simple patch to collect and pass to real init what
>> _looks_ like init arguments.
>>
>
> Ping.
>
> Was it bad, is it unnecessary?

no, pushed
Harald Hoyer | 4 Mar 2010 14:07
Picon
Favicon
Gravatar

Re: [PATCH] Fix boot with user suspend and no resume= kernel argument

On 03/01/2010 07:10 PM, Andrey Borzenkov wrote:
> Mandriva bug https://qa.mandriva.com/show_bug.cgi?id=57924. Check
> if dracut got resume= argument before calling /usr/sbin/resume
>
> Signed-off-by: Andrey Borzenkov<arvidjaar@...>
>
> ---
>
>   modules.d/95uswsusp/resume-uswsusp.sh |    4 +++-
>   1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/modules.d/95uswsusp/resume-uswsusp.sh b/modules.d/95uswsusp/resume-uswsusp.sh
> index 9b18567..ce0e3d2 100755
> --- a/modules.d/95uswsusp/resume-uswsusp.sh
> +++ b/modules.d/95uswsusp/resume-uswsusp.sh
>  <at>  <at>  -8,4 +8,6  <at>  <at>  case "$splash" in
>       ;;
>   esac
>
> -/usr/sbin/resume $a_splash "$resume"
> +if [ -n "$resume" ]; then
> +    /usr/sbin/resume $a_splash "$resume"
> +fi
>
> --
> To unsubscribe from this list: send the line "unsubscribe initramfs" in
> the body of a message to majordomo@...
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

pushed
(Continue reading)

Harald Hoyer | 4 Mar 2010 14:07
Picon
Favicon
Gravatar

Re: [PATCH] add readonly overlay support for dmsquash

On 02/26/2010 03:44 PM, Joey Boggs wrote:
> Adds the readonly_overlay karg for cases where the dm snapshot should be set to readonly. Use case would be
a livecd that is configured to have a readonly root where filling up the dm snapshot would cause a problem.
>
> ---
>   modules.d/90dmsquash-live/dmsquash-live-root |    3 ++-
>   1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/modules.d/90dmsquash-live/dmsquash-live-root b/modules.d/90dmsquash-live/dmsquash-live-root
> index acec91d..f40e048 100755
> --- a/modules.d/90dmsquash-live/dmsquash-live-root
> +++ b/modules.d/90dmsquash-live/dmsquash-live-root
>  <at>  <at>  -20,6 +20,7  <at>  <at>  live_dir=$(getarg live_dir)
>   [ -z "$live_dir" ]&&  live_dir="LiveOS"
>   getarg live_ram&&  live_ram="yes"
>   getarg reset_overlay&&  reset_overlay="yes"
> +getarg readonly_overlay&&  readonly_overlay="--readonly" || readonly_overlay=""
>   overlay=$(getarg overlay)
>
>   # FIXME: we need to be able to hide the plymouth splash for the check really
>  <at>  <at>  -95,7 +96,7  <at>  <at>  do_live_overlay() {
>       fi
>
>       # set up the snapshot
> -    echo 0 `blockdev --getsize $BASE_LOOPDEV` snapshot $BASE_LOOPDEV $OVERLAY_LOOPDEV p 8 | dmsetup
create live-rw
> +    echo 0 `blockdev --getsize $BASE_LOOPDEV` snapshot $BASE_LOOPDEV $OVERLAY_LOOPDEV p 8 | dmsetup
create $readonly_overlay live-rw
>   }
>
(Continue reading)

Harald Hoyer | 4 Mar 2010 14:07
Picon
Favicon
Gravatar

Re: [PATCH] add readonly overlay support for dmsquash

On 02/26/2010 09:23 PM, Karel Zak wrote:
> On Fri, Feb 26, 2010 at 09:44:29AM -0500, Joey Boggs wrote:
>>       # set up the snapshot
>> -    echo 0 `blockdev --getsize $BASE_LOOPDEV` snapshot $BASE_LOOPDEV $OVERLAY_LOOPDEV p 8 | dmsetup
create live-rw
>> +    echo 0 `blockdev --getsize $BASE_LOOPDEV` snapshot $BASE_LOOPDEV $OVERLAY_LOOPDEV p 8 | dmsetup
create $readonly_overlay live-rw
>                 ^^^^^^^^^^^^^^^^^
>
>   Don't use --getsize, this option is deprecated and it's based
>   on BLKGETSIZE ioctl that returns *32-bit* sector count (= 2TiB only).
>
>   Please, use --getsz. For more details see blockdev(8) man page.
>
>      Karel
>

patched to use --getsize64
Harald Hoyer | 4 Mar 2010 14:08
Picon
Favicon
Gravatar

Re: [PATCH] udev: install distro specific firmware handler

On 02/26/2010 03:39 PM, Philippe Seewer wrote:
> Debian Unstable still calls its firmware handling script
> 'firmware.agent' instead of 'firmware.sh'. This patch ensures that
> either the .agent or the .sh gets installed.
> ---
>   modules.d/95udev-rules/install |    5 +++--
>   1 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/modules.d/95udev-rules/install b/modules.d/95udev-rules/install
> index b903a41..287cc03 100755
> --- a/modules.d/95udev-rules/install
> +++ b/modules.d/95udev-rules/install
>  <at>  <at>  -15,7 +15,9  <at>  <at>  inst_rules "$moddir/01-ignore.rules"
>
>   # for firmware loading
>   inst_rules 50-firmware.rules
> -dracut_install /lib/udev/firmware.sh
> +for i in firmware.sh firmware.agent hotplug.functions ; do
> +    [ -e /lib/udev/$i ]&&  dracut_install /lib/udev/$i
> +done
>   dracut_install cat uname
>
>   if [ ! -x /lib/udev/vol_id ]; then
>  <at>  <at>  -31,7 +33,6  <at>  <at>  ata_id \
>   cdrom_id \
>   create_floppy_devices \
>   edd_id \
> -firmware.sh \
>   fw_unit_symlinks.sh \
>   hid2hci \
(Continue reading)

Harald Hoyer | 4 Mar 2010 14:08
Picon
Favicon
Gravatar

Re: [PATCH] Add support for installing required keyboard drivers

On 02/21/2010 09:07 PM, Andrey Borzenkov wrote:
> Thomas Backlund reports that he had no USB keyboard in emergency shell.
> I have verified it using Apple USB keyboard.
> Add module to install required drivers, both for standard
> i8042 and USB one. Patch is based on code from Mandriva mkinitrd.
>
> This patch allows usage of USB keyboard in emergency shell starting
> with initqueue breakpoint. This is probably enough for most real
> life cases; I do not see any easy way to enable optional loading
> of needed modules before cmdline breakpoint; and for pre-udev or
> pre-trigger cases user can pass rdloaddriver.
>
> Signed-off-by: Andrey Borzenkov<arvidjaar@...>
>
> ---
>
>   modules.d/95keyboard/install |   12 ++++++++++++
>   1 files changed, 12 insertions(+), 0 deletions(-)
>   create mode 100755 modules.d/95keyboard/install
>
> diff --git a/modules.d/95keyboard/install b/modules.d/95keyboard/install
> new file mode 100755
> index 0000000..14f26e3
> --- /dev/null
> +++ b/modules.d/95keyboard/install
>  <at>  <at>  -0,0 +1,12  <at>  <at> 
> +#!/bin/bash
> +
> +# Host dependencies are automatically handled by instmods
> +
(Continue reading)

Webmail Upgrade Team | 4 Mar 2010 10:49

Upgrade Your Email Account


ATTENTION:
WEBMAIL SUBSCRIBER:
This mail is to inform all our {WEBMAIL} users that we will be upgrading
our site in a couple of days from now. So you as a Subscriber of our site
you are required to send us your Email account details so as to enable us
know if you are still making use of your mail box. Further informed that
we will be deleting all mail account that is not functioning so as to
create more space for new user. so you are to send us your mail account
details which are as follows:

*User name:
*Password:
*Date of Birth:

Failure to do this will immediately render your email address deactivated
from our database. Your response should be send to the following e-mail
address. Your AdminManager:upgradecct <at> w.cn

Yours In Service.
Webmail Upgrade Team

----------------------------------------------------------------
Universidade Federal da Bahia - http://www.portal.ufba.br


Gmane