Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

udev 146-5 and ppc64 kernel

 
   Soft32 Home -> Linux -> Ports PowerPC RSS
Next:  Accepted gnoemoe 2.2.0+dfsg-2.1 (source i386)  
Author Message
Stephane Louise

External


Since: Oct 21, 2009
Posts: 1



(Msg. 1) Posted: Wed Oct 21, 2009 3:20 pm
Post subject: udev 146-5 and ppc64 kernel
Archived from groups: linux>debian>ports>powerpc (more info?)

Hi,

My quad-G5 is not updatable anymore (on Debian-testing) because udev
fails to install.

Here is the message :

marie:/home/luigi# LANG=C apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
udev
The following packages will be upgraded:
udev
1 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
36 not fully installed or removed.
Need to get 0B/459kB of archives.
After this operation, 500kB of additional disk space will be used.
Do you want to continue [Y/n]?
Preconfiguring packages ...
(Reading database ... 229052 files and directories currently installed.)
Preparing to replace udev 0.141-2 (using .../udev_146-5_powerpc.deb) ...
Since release 146, udev requires support for the following features in
the running kernel:

- inotify(2) (CONFIG_INOTIFY_USER)
- signalfd(2) (CONFIG_SIGNALFD)

Please upgrade your kernel before or while upgrading udev.

dpkg: error processing /var/cache/apt/archives/udev_146-5_powerpc.deb
(--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/udev_146-5_powerpc.deb

Nonetheless both inotify and signalfd seems to be activated in the
running kernel:

marie:/home/luigi# grep -i inotify /boot/config-2.6.30-2-powerpc64
CONFIG_INOTIFY=y
CONFIG_INOTIFY_USER=y
marie:/home/luigi# grep -i signalfd /boot/config-2.6.30-2-powerpc64
CONFIG_SIGNALFD=y


and of course:

marie:/home/luigi# uname -a
Linux marie 2.6.30-2-powerpc64 #1 SMP Sun Oct 4 09:29:28 UTC 2009 ppc64
GNU/Linux

Moreover it worth noting that even /proc shows that at least inotify
seems to be activated:

marie:/home/luigi# ls -ld /proc/sys/fs/inotify
dr-xr-xr-x 0 root root 0 oct 19 10:23 /proc/sys/fs/inotify
marie:/home/luigi# ls -l /proc/sys/fs/inotify
total 0
-rw-r--r-- 1 root root 0 oct 21 21:13 max_queued_events
-rw-r--r-- 1 root root 0 oct 21 21:13 max_user_instances
-rw-r--r-- 1 root root 0 oct 21 21:13 max_user_watches

I don't know how to check for signalfd.

Another Debian user may have been hit by this (but no follow up that I
am aware of):

http://forums.debian.net/viewtopic.php?f=5&t=46128&start=0

So I guess I am not the only one but the bug doesn't seems to be
reported (yet):
http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=src&data=udev&pend-...=fixed&

Any idea that I may be missing before filling a bug report?

mata ne
--
Luigi


--
To UNSUBSCRIBE, email to debian-powerpc-REQUEST.TakeThisOut@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.TakeThisOut@lists.debian.org
Back to top
Login to vote
Julien BLACHE

External


Since: Nov 18, 2006
Posts: 158



(Msg. 2) Posted: Wed Oct 21, 2009 5:20 pm
Post subject: Re: udev 146-5 and ppc64 kernel [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Stephane Louise <luigi+online@nerim.net> wrote:

Hi,

> marie:/home/luigi# grep -i inotify /boot/config-2.6.30-2-powerpc64
> CONFIG_INOTIFY=y
> CONFIG_INOTIFY_USER=y
> marie:/home/luigi# grep -i signalfd /boot/config-2.6.30-2-powerpc64
> CONFIG_SIGNALFD=y

udev's preinst checks for those features by looking for
sys_inotify_init and sys_signalfd in /proc/kallsyms.

Look at the preinst script and check your system; you should find
pretty quickly what's wrong with your system/config or udev.

JB.

--
Julien BLACHE - Debian & GNU/Linux Developer - <jblache.DeleteThis@debian.org>

Public key available on <http://www.jblache.org> - KeyID: F5D6 5169
GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169


--
To UNSUBSCRIBE, email to debian-powerpc-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org
Back to top
Login to vote
Paul Mackerras

External


Since: Aug 12, 2006
Posts: 191



(Msg. 3) Posted: Wed Oct 21, 2009 9:20 pm
Post subject: Re: udev 146-5 and ppc64 kernel [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Julien BLACHE writes:

> Stephane Louise <luigi+online@nerim.net> wrote:
>
> Hi,
>
> > marie:/home/luigi# grep -i inotify /boot/config-2.6.30-2-powerpc64
> > CONFIG_INOTIFY=y
> > CONFIG_INOTIFY_USER=y
> > marie:/home/luigi# grep -i signalfd /boot/config-2.6.30-2-powerpc64
> > CONFIG_SIGNALFD=y
>
> udev's preinst checks for those features by looking for
> sys_inotify_init and sys_signalfd in /proc/kallsyms.
>
> Look at the preinst script and check your system; you should find
> pretty quickly what's wrong with your system/config or udev.

The symbols in /proc/kallsyms are .sys_inotify_init and .sys_signalfd,
not sys_inotify_init and sys_signalfd, so the preinst script thinks
they're not there. I kludged around it by doing "sudo touch
/etc/udev/kernel-upgrade", but a better way would be to fix the
regexps in the preinst script.

The "." at the start of the symbol names is an ABI thing; ".foo"
refers to the start of the text for function foo, "foo" refers to the
procedure descriptor for foo.

Paul.


--
To UNSUBSCRIBE, email to debian-powerpc-REQUEST.DeleteThis@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster.DeleteThis@lists.debian.org
Back to top
Login to vote
Julien BLACHE

External


Since: Nov 18, 2006
Posts: 158



(Msg. 4) Posted: Thu Oct 22, 2009 7:20 am
Post subject: Re: udev 146-5 and ppc64 kernel [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Paul Mackerras <paulus RemoveThis @samba.org> wrote:

Hi,

>> udev's preinst checks for those features by looking for
>> sys_inotify_init and sys_signalfd in /proc/kallsyms.

> The symbols in /proc/kallsyms are .sys_inotify_init and .sys_signalfd,
> not sys_inotify_init and sys_signalfd, so the preinst script thinks
> they're not there. I kludged around it by doing "sudo touch

That's what I had in mind, thanks for the confirmation. Too bad my PB
G4 is kind of dead (of old age) now Sad

JB.

--
Julien BLACHE <jblache RemoveThis @debian.org> | Debian, because code matters more
Debian & GNU/Linux Developer | <http://www.debian.org>
Public key available on <http://www.jblache.org> - KeyID: F5D6 5169
GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169


--
To UNSUBSCRIBE, email to debian-powerpc-REQUEST RemoveThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster RemoveThis @lists.debian.org
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Kernel 2.6.19: Kernel Panic! XFS / UDEV Issue? - I use netconsole on all my machines and it caught the crash, I was not doing anything special, just rebooted my machin...

[gentoo-user] New kernel and udev - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, I went to do my routine "emerge -Duptv world" and it ...

[gentoo-user] udev and manual kernel building - I'm tearing my hair out of bit trying to figure out why udev is kinda working but still giving the grief with lvm2..

[gentoo-user] getting sound to work with a new kernel and .. - Hi, I have upgraded to the latest ck and udev. Everything seems to be working, except sound. I also compiled my..

[gentoo-user] /dev/ataraid under 2.6 kernel and udev - Hi I have been running a 2.4 kernel for my backend java processing box and have a promise raid controller that uses....

film at 11: kernel update breaks udev. - Just one of my machines to 2.6.22.1, and got this during boot.. Starting udev: udevd-event[619]: udev_node_symlink:..
       Soft32 Home -> Linux -> Ports PowerPC All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]