Bug#431534: yaird: fails to create initrd when running on 2.6.22-rcX

2007-07-13 Thread Andreas Henriksson
tags 431534 + patch
thanks

On tor, 2007-07-12 at 21:57 +0200, Fender Bender wrote:
 well i don't know alot of Perl but this patch fixed it for me :
 

I _guess_ the solution is as simple as that. Personally I solved the
problem by installing initramfs-tools instead.
Thanks for your patch. I'm sending it over to the bug tracking system
and marking the bug appropriately.

 
 --- InputTab.pm.OLD   2007-07-12 20:46:50.0 +0200
 +++ InputTab.pm   2007-07-12 20:48:11.0 +0200
 @@ -70,6 +70,12 @@
   # Do not keep track of this.
   # $work-{sysfs} = $1;
   }
 +
 + elsif ($line =~ /^U: Uniq=(.*)$/) {
 + # Do not keep track of this.
 + # $work-{sysfs} = $1;
 + }
 +
   elsif ($line =~ /^B: ([A-Z]+)=(.*)$/) {
   $work-{capabilities}{$1} = $2;
   }
 
 
 do a   patch -p0in  /usr/lib/yaird/perl   and you should be fine 
 ...it's a quick and dirty patch but that Uniq tag doesn't seem to be 
 important
 
 _
 Haben Spinnen Ohren? Finden Sie es heraus – mit dem MSN Suche Superquiz via  
 http://www.msn-superquiz.de  Jetzt mitmachen und gewinnen!
 




Bug#431534: yaird: fails to create initrd when running on 2.6.22-rcX

2007-07-03 Thread Andreas Henriksson
Package: yaird
Version: 0.0.12-20
Severity: important

I'm running a pre-release kernel from
http://kernel-archive.buildserver.net/ which has a new driver that I
need. Recently a new version of the 2.6.21 kernel was uploaded to
unstable and installation fails, because yaird barfs during config.


$ sudo dpkg --configure -a
Setting up linux-image-2.6.21-2-amd64 (2.6.21-5) ...
Running depmod.
Finding valid ramdisk creators.
Using mkinitrd.yaird to build the ramdisk.
yaird error: unrecognised line in /proc/bus/input/devices: U: Uniq= (fatal)
mkinitrd.yaird failed to create initrd image.
Failed to create initrd image.
dpkg: error processing linux-image-2.6.21-2-amd64 (--configure):
 subprocess post-installation script returned error exit status 9
dpkg: dependency problems prevent configuration of linux-image-2.6-amd64:
 linux-image-2.6-amd64 depends on linux-image-2.6.21-2-amd64; however:
  Package linux-image-2.6.21-2-amd64 is not configured yet.
dpkg: error processing linux-image-2.6-amd64 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-2.6.21-2-amd64
 linux-image-2.6-amd64
$ cat /proc/bus/input/devices
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name=AT Translated Set 2 keyboard
P: Phys=isa0060/serio0/input0
S: Sysfs=/class/input/input0
U: Uniq=
H: Handlers=kbd event0
B: EV=120013
B: KEY=40200 3802078f840d001 fedfffef fffe
B: MSC=10
B: LED=7

I: Bus=0003 Vendor=045e Product=0040 Version=0110
N: Name=Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)
P: Phys=usb-:00:02.1-3.4/input0
S: Sysfs=/class/input/input2
U: Uniq=
H: Handlers=mouse0 event2 ts0
B: EV=7
B: KEY=7 0 0 0 0
B: REL=103

I: Bus=0010 Vendor=001f Product=0001 Version=0100
N: Name=PC Speaker
P: Phys=isa0061/input0
S: Sysfs=/class/input/input3
U: Uniq=
H: Handlers=kbd event3
B: EV=40001
B: SND=6

I: Bus=0003 Vendor=0db0 Product=5581 Version=0101
N: Name=PC-DTV Receiver PC-DTV Receiver
P: Phys=usb-:00:02.1-3.3/input1
S: Sysfs=/class/input/input4
U: Uniq=0001
H: Handlers=kbd event1
B: EV=13
B: KEY=10007 ff87207ac14057ff febeffdfffef fffe




-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (300, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-rc3-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages yaird depends on:
ii  cpio 2.9-1   GNU cpio -- a program to manage ar
ii  dash 0.5.3-9 The Debian Almquist Shell
ii  libc62.5-11  GNU C Library: Shared libraries
ii  libhtml-template-perl2.9-1   HTML::Template : A module for usin
ii  libparse-recdescent-perl 1.94.free-4 Generates recursive-descent parser
ii  perl 5.8.8-7 Larry Wall's Practical Extraction 

yaird recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]