Bug#651520: live-build: booting a custom image fails because of missing /live/vmlinuz and /live/initrd symlinks

2011-12-22 Thread slo.sle...@gmail.com
I attempted to follow the guidelines:


You need a hook to fix this. Create a file named renamekernel.binary.
Place this in the hook dir. The file should have the following
contents:

mv binary/live/initrd.img-* binary/live/initrd.lz
mv binary/live/vmlinuz-* binary/live/vmlinuz


I my config/hooks/renamekernel.binary is executable, and has the contents:

mv binary/live/initrd.img-* binary/live/initrd.img
mv binary/live/vmlinuz-* binary/live/vmlinuz

but with 'lb build', I get this error:

P: Begin executing hooks...
mv: target `binary/live/initrd.img' is not a directory
mv: target `binary/live/vmlinuz' is not a directory
E: config/hooks/renamekernel.binary failed (exit non-zero). You should
check for errors.

I can change to binary/live/ and manually rename the kernel and initrd, but
I can't figure out why the mv command fails in the hooks script.

Ah wait, I can, but I'll continue this in case someone else has the
problem:  I have both 486 and 686-pae kernels and initrd in the directory,
to mv is looking for a dir.  Deleting the unwanted kernel and initrd will
fix.  Configuring lb config to only supply one kernel will prevent
recurrence.


Bug#619343: [Pkg-utopia-maintainers] Bug#619343: screen still blinks

2011-04-28 Thread slo.sle...@gmail.com
I still experience screen blinking in Debian Testing with upowerd 0.9.9,
desktop system with ASUS P7P55D mobo

Symptoms: Screen double blink every 10 seconds.  Occurs, not surprisingly,
in virtual console.  Killing upowerd reduces blink to once every 10 seconds,
so some other poll event is also causing problems.  Changing or disabling
gnome-power-manager has no effect.  Changing screen resolutions has no
effect.

Graphics card is Nvidia GeForce 9500GT, using nouveau driver.

Booting with 'nomodeset' kernel parameter prevents problem, but screen
resolution is reduced to 800x600 from 1280x1024.

Daemon:
  daemon-version:  0.9.9
  can-suspend: yes
  can-hibernateno
  on-battery:  no
  on-low-battery:  no
  lid-is-closed:   no
  lid-is-present:  no
  is-docked:   no

Screen blinks in conjunction with this upowerd debug output (repeats every
10 seconds):
(upowerd:2520): UPower-Linux-DEBUG: graphics device
/sys/devices/pci:00/:00:05.0/:01:00.0/drm/card0/card0-DVI-I-1 is
on
(upowerd:2520): UPower-Linux-DEBUG: graphics device
/sys/devices/pci:00/:00:05.0/:01:00.0/drm/card0/card0-DVI-I-2 is
off
(upowerd:2520): UPower-DEBUG: is_docked = no

full debug output:
(upowerd:2520): UPower-DEBUG: Starting upowerd version 0.9.9
(upowerd:2520): UPower-DEBUG: cannot find a keyboard backlight
(upowerd:2520): UPower-Linux-DEBUG: excuting command:
/usr/bin/pm-is-supported --suspend
(upowerd:2520): UPower-Linux-DEBUG: excuting command:
/usr/bin/pm-is-supported --hibernate
(upowerd:2520): UPower-Linux-DEBUG: no swap devices
(upowerd:2520): UPower-DEBUG: daemon now coldplug
(upowerd:2520): UPower-Linux-DEBUG: registering subsystem : power_supply
(upowerd:2520): UPower-Linux-DEBUG: registering subsystem : usb
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devices/pci:00/:00:1a.0/usb1
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devices/pci:00/:00:1a.0/usb1
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devices/pci:00/:00:1a.0/usb1
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devices/pci:00/:00:1a.0/usb1/1-0:1.0
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devices/pci:00/:00:1a.0/usb1/1-0:1.0
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devices/pci:00/:00:1a.0/usb1/1-0:1.0
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devices/pci:00/:00:1a.0/usb1/1-1
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devices/pci:00/:00:1a.0/usb1/1-1
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devices/pci:00/:00:1a.0/usb1/1-1
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.1
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.1
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.1
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.1
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.1
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.1
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1:1.0
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1:1.0
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devices/pci:00/:00:1a.0/usb1/1-1/1-1:1.0
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devices/pci:00/:00:1d.0/usb2
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devices/pci:00/:00:1d.0/usb2
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devices/pci:00/:00:1d.0/usb2
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devices/pci:00/:00:1d.0/usb2/2-0:1.0
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devices/pci:00/:00:1d.0/usb2/2-0:1.0
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devices/pci:00/:00:1d.0/usb2/2-0:1.0
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devices/pci:00/:00:1d.0/usb2/2-1
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devices/pci:00/:00:1d.0/usb2/2-1
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devices/pci:00/:00:1d.0/usb2/2-1
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devices/pci:00/:00:1d.0/usb2/2-1/2-1.1
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devices/pci:00/:00:1d.0/usb2/2-1/2-1.1
(upowerd:2520): UPower-DEBUG: failed to coldplug
/sys/devi