Bug#338911: udev 0.074-2 fails to start with linux 2.6.14

2005-11-14 Thread Uwe Schindler
I recompiled the kernel with the missing option, reinstalled udev 
0.074-2 again - udev works as exspected. The linux-images should all 
be checked, that this option is enabled (I do not know how this 
affecs older images 2.6.14 - eventually there should be a dependance 
of udev to the newer linux images).


Uwe

P.S.: @Marco: The corrupt rule does not show in syslog with 0.074-2



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



Bug#338911: udev 0.074-2 fails to start with linux 2.6.14

2005-11-13 Thread Uwe Schindler


Package: udev
Version: 0.074-2
Severity: grave

Since today I have a linux-2.6.12 (with mkinitrd) and linux-2.6.14
(with yaird) running in parallel on an alpha machine (Alphastation
500/500).
With udev-0.071-1 the system starts without any problems with both
kernels.
When then switching to udev-0.074-2 (installed by apt-get with testing
today), udevd fails to start with linux-2.6.14. The entries from
syslog:
Nov 13 18:22:14 localhost udevd[8989]: main: uevent socket not
available
Nov 13 18:22:14 localhost udevd[8994]: init_uevent_netlink_sock: bind
failed: No such file or directory
Additionally I have a lot of occurences of the following warning with
udev-0.071-1:
Nov 13 19:04:09 localhost udev[3832]: add_to_rules: invalid rule
'PROGRAM'
All this does not happen with 2.6.12. The problem is, that the new initrd
system (yaird) uses udev extensively because the initrd does only loads
the root file system no network drivers or other scsi dirvers. A failing
udev hangs the whole boot process.
So I started the system in emergency mode with kernel 2.6.12
again, reinstalled old udev and set pacakage to
HOLD.
System information:alpha:~# cat /proc/cpuinfo
cpu
: Alpha
cpu
model
: EV56
cpu variation
: 7
cpu
revision
: 0
cpu serial number :
system
type
: Alcor
system variation : Alcor
system revision : 0
system serial number :
cycle frequency [Hz] : 5
timer frequency [Hz] : 1024.00
page size [bytes] : 8192
phys. address bits : 40
max. addr. space # : 127
BogoMIPS
: 994.44
kernel unaligned acc : 0 (pc=0,va=0)
user unaligned acc : 0 (pc=0,va=0)
platform string : Digital
AlphaStation 500/500
cpus detected
: 1
L1
Icache
: 8K, 1-way, 32b line
L1
Dcache
: 8K, 1-way, 32b line
L2
cache
: 96K, 3-way, 64b line
L3
cache
: 8192K, 1-way, 64b line
alpha:~# mount
/dev/sda3 on / type ext3 (rw,errors=remount-ro)
/dev/sda2 on /boot type ext2 (rw)
/dev/sda4 on /var type ext3 (rw)
/dev/sdb1 on /home type ext3 (rw)
/dev/shm on /tmp type none (rw,bind)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
tmpfs on /dev type tmpfs (rw,size=10M,mode=0755)
automount(pid3918) on /misc type autofs
(rw,fd=4,pgrp=3918,minproto=2,maxproto=4)
alpha:~# lspci
:00:06.0 Ethernet controller: Digital Equipment Corporation DECchip
21040 [Tulip] (rev 26)
:00:07.0 RAID bus controller: Silicon Image, Inc. SiI 3114
[SATALink/SATARaid] Serial ATA Controller (rev 02)
:00:08.0 VGA compatible controller: Digital Equipment Corporation
PBXGB [TGA2] (rev 22)
:00:09.0 SCSI storage controller: QLogic Corp. ISP1020 Fast-wide SCSI
(rev 02)
:00:0a.0 Non-VGA unclassified device: Intel Corporation 82375EB/SB
PCI to EISA Bridge (rev 15)
:00:0b.0 Ethernet controller: Digital Equipment Corporation DECchip
21140 [FasterNet] (rev 20)
:00:0c.0 USB Controller: NEC Corporation USB (rev 43)
:00:0c.1 USB Controller: NEC Corporation USB (rev 43)
:00:0c.2 USB Controller: NEC Corporation USB 2.0 (rev 04)

-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen

http://www.thetaphi.de -

http://www.schindlers-software.de
eMails: [EMAIL PROTECTED] (private); [EMAIL PROTECTED]
(company)
Tel./Fax: +49 700 PCLATEIN (+49 700 72528346)
Schindlers Software - Home of Schindlers PC-LATEIN 3.20
DIE Software zum Lateinlernen! 



Bug#338911: udev 0.074-2 fails to start with linux 2.6.14

2005-11-13 Thread Marco d'Itri
severity 338911 important
tag 338911 unreproducible moreinfo
thanks

On Nov 13, Uwe Schindler [EMAIL PROTECTED] wrote:

 Since today I have a linux-2.6.12 (with mkinitrd) and linux-2.6.14 
 (with yaird) running in parallel on an alpha machine (Alphastation 500/500).
Did you build your own kernel? I wonder if this is alpha-specific.

 Nov 13 18:22:14 localhost udevd[8994]: init_uevent_netlink_sock: bind 
 failed: No such file or directory
This is the code that fails:

snl.nl_family = AF_NETLINK;
snl.nl_pid = getpid();
snl.nl_groups = 0x;

uevent_netlink_sock = socket(PF_NETLINK, SOCK_DGRAM, 
NETLINK_KOBJECT_UEVENT);

retval = bind(uevent_netlink_sock, (struct sockaddr *) snl, 
sizeof(struct sockaddr_nl));

But I do not know exactly what ENOENT means when binding an AF_NETLINK
socket.


 Additionally I have a lot of occurences of the following warning with 
 udev-0.071-1:
 
 Nov 13 19:04:09 localhost udev[3832]: add_to_rules: invalid rule 'PROGRAM'
As it says, it looks like one or more of your rules are broken.

-- 
ciao,
Marco


signature.asc
Description: Digital signature


Bug#338911: udev 0.074-2 fails to start with linux 2.6.14

2005-11-13 Thread Uwe Schindler

At 20:23 13.11.2005, Marco d'Itri wrote:

severity 338911 important
tag 338911 unreproducible moreinfo
thanks

On Nov 13, Uwe Schindler [EMAIL PROTECTED] wrote:

 Since today I have a linux-2.6.12 (with mkinitrd) and linux-2.6.14
 (with yaird) running in parallel on an alpha machine 
(Alphastation 500/500).

Did you build your own kernel? I wonder if this is alpha-specific.


Yes its my own kernel, but this is only a patched debian one (fixed 
IRQ handler). So almost exactly the debian one.



 Nov 13 18:22:14 localhost udevd[8994]: init_uevent_netlink_sock: bind
 failed: No such file or directory
This is the code that fails:

snl.nl_family = AF_NETLINK;
snl.nl_pid = getpid();
snl.nl_groups = 0x;

uevent_netlink_sock = socket(PF_NETLINK, SOCK_DGRAM, 
NETLINK_KOBJECT_UEVENT);


retval = bind(uevent_netlink_sock, (struct sockaddr *) 
snl, sizeof(struct sockaddr_nl));


But I do not know exactly what ENOENT means when binding an AF_NETLINK
socket.


Cannot help here, you should send the bug upstream. Is there a change 
in the code compared to 0.071?



 Additionally I have a lot of occurences of the following warning with
 udev-0.071-1:

 Nov 13 19:04:09 localhost udev[3832]: add_to_rules: invalid rule 'PROGRAM'
As it says, it looks like one or more of your rules are broken.


I will look after it, but I did not change any of the default rules...




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



Bug#338911: udev 0.074-2 fails to start with linux 2.6.14

2005-11-13 Thread Marco d'Itri
On Nov 13, Uwe Schindler [EMAIL PROTECTED] wrote:

 Cannot help here, you should send the bug upstream.
I did.

 Is there a change in the code compared to 0.071?
Many.

-- 
ciao,
Marco


signature.asc
Description: Digital signature


Bug#338911: udev 0.074-2 fails to start with linux 2.6.14

2005-11-13 Thread Uwe Schindler

Found the problem. It seem that for alpha kernels the following is not enabled:
alpha:/boot# grep UEV config-2.6.14-alcor
# CONFIG_KOBJECT_UEVENT is not set

I did not change that, in the original kernel it is the same:

[EMAIL PROTECTED]:~/boot$ grep UEV config-2.6.14-1-alpha-generic
# CONFIG_KOBJECT_UEVENT is not set

So we should assign this bug to package linux-2.6 for alpha

From the Release Notes of udev:

udev 073

Fixed bug in udevd, if inotify is not available. We depend on netlink
uevents now, kernels without that event source will not work with that
version of udev anymore.

Uwe

At 20:40 13.11.2005, Marco d'Itri wrote:

On Nov 13, Uwe Schindler [EMAIL PROTECTED] wrote:

 Cannot help here, you should send the bug upstream.
I did.

 Is there a change in the code compared to 0.071?
Many.

--
ciao,
Marco



-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de - http://www.schindlers-software.de
eMails: [EMAIL PROTECTED] (private); [EMAIL PROTECTED] (company)
Tel./Fax: +49 700 PCLATEIN (+49 700 72528346)

Schindlers Software - Home of Schindlers PC-LATEIN 3.20
DIE Software zum Lateinlernen!  




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