Some services fail when rebooting after kernel update
Dear folks I'm running SuSE Linux 8.0 and updated the kernel package from k_deflt-2.4.18-58 to k_deflt-2.4.18-281 as described in yesterdays SuSE security announcement. However, two services fail to start repeatedly when rebooting my machine. 1) SSH daemon SSH daemon exits with status 7. I tried to discover what this error code is supposed to tell, but I couldn't find it in the sshd manpage. So, I haven't got any clue and would really appreciate a hint from the list. Here are the full logs grabbed from /var/log/boot.msg: <notice>/etc/init.d/rc5.d/S10sshd start Starting SSH daemon failed <notice>startproc: execve (/usr/sbin/sshd) [ /usr/sbin/sshd ], [ PWD=/ HOSTNAME=lux CONSOLE=/dev/console PREVLEVEL=N AUTOBOOT=YES REDIRECT=/dev/tty1 MACHTYPE=i386-suse-linux LINES=34 SHLVL=2 COLUMNS=105 BOOT_IMAGE=linux SHELL=/bin/bash HOSTTYPE=i386 OSTYPE=linux HOME=/ TERM=linux PATH=/sbin:/bin:/usr/sbin:/usr/bin RUNLEVEL=5 INIT_VERSION=sysvinit-2.82 _=/sbin/startproc DAEMON=/usr/sbin/sshd ] <notice>'/etc/init.d/rc5.d/S10sshd start' exits with status 7 2) Alsa sound daemon It seems that some modules have been renamed, so that they can't be found anymore. The logs read: <notice>/etc/init.d/rc5.d/S12alsasound start Starting sound driver: intel8x0modprobe: Can't locate module snd-intel8x0 failed <notice>'/etc/init.d/rc5.d/S12alsasound start' exits with status 0 I checked the directory /lib/modules/2.4.18-4GB/misc and assume that the appropriate module should be called snd-card-intel8x0 instead of snd-intel8x0, which no longer exists. Could I just create a link to solve this? Thank you for your help in advance! /Sven
Hi,
This looks like startproc exits with status code 7. (There is no exit(7) in the openssh shource code anywhere). Exit code 7 from startproc means "program is not running". This sounds a little weird. Does sshd run despite this error? What does sshd say if you try to run it manually using "sshd -Ddd"?
I'll try to find out why that module was renamed, because all our other kernels seem to use snd-intel8x0.o
Could I just create a link to solve this?
You could, but I think the better approach is to edit /etc/modules.conf and change the "alias snd-card-0" line: alias snd-card-0 snd-card-intel8x0 Olaf -- Olaf Kirch | Stop wasting entropy - start using predictable okir@suse.de | tempfile names today! ---------------+
Hi Olaf On Monday 08 December 2003 09:55, Olaf Kirch wrote:
Whoops, how incompetent of me. I just trusted the status message and didn't check this before. Yes, it is up and running. Must be something wrong with the startproc script then. Anyhow, thanks a lot.
I'll try to find out why that module was renamed, because all our other kernels seem to use snd-intel8x0.o
For the sake of completeness I should say that the module has not only been renamed, but also moved from /lib/modules/2.4.18-4GB/kernel/sound/pci to /lib/modules/2.4.18-4GB/misc
I tried so, but it didn't work out. Now I'm getting the following error message: Starting sound driver: card-intel8x0 done The running ALSA driver looks obsolete. Stop ALSA now./usr/sbin/alsactl: get_controls:432: snd_ctl_open error: Sound protocol is not compatible failed
On Mon, Dec 08, 2003 at 10:59:17AM +0100, Sven Wahl wrote:
Looks like you're trying to use a plain kernel sound module as ALSA module. They're not compatible, even if the module names are similar. ALSA sound modules were not integrated in the kernel package on Suse 8.0 but needs to be updated separately. I don't remember the package name for ALSA kernel modules since I stopped using ALSA after my first kernel update :-) HTH, Michel -- Michel Messerschmidt lists@michel-messerschmidt.de antiVirusTestCenter, Computer Science, University of Hamburg
Hello Michel On Monday 08 December 2003 14:12, Michel Messerschmidt wrote:
I can not verify this. The original rpm of the default kernel that shipped with the 8.0 installation CDs (k_deflt-2.4.18-58.i386.rpm) _does_ contain the soundcard module "snd-intel8x0.o" and installs it into the directory /lib/modules/2.4.18-4GB/kernel/sound/pci However, the kernel rpm released last week (k_deflt-2.4.18-281.i386.rpm) doesn't contain this module anymore. Instead, I found the file "snd-card-intel8x0.o" in the directory /lib/modules/2.4.18-4GB/misc which has not been there in release 58. I have no idea if these two files have something to do with each other. I just want to get my soundcard working again :-)
Hi,
This looks like startproc exits with status code 7. (There is no exit(7) in the openssh shource code anywhere). Exit code 7 from startproc means "program is not running". This sounds a little weird. Does sshd run despite this error? What does sshd say if you try to run it manually using "sshd -Ddd"?
I'll try to find out why that module was renamed, because all our other kernels seem to use snd-intel8x0.o
Could I just create a link to solve this?
You could, but I think the better approach is to edit /etc/modules.conf and change the "alias snd-card-0" line: alias snd-card-0 snd-card-intel8x0 Olaf -- Olaf Kirch | Stop wasting entropy - start using predictable okir@suse.de | tempfile names today! ---------------+
Hi Olaf On Monday 08 December 2003 09:55, Olaf Kirch wrote:
Whoops, how incompetent of me. I just trusted the status message and didn't check this before. Yes, it is up and running. Must be something wrong with the startproc script then. Anyhow, thanks a lot.
I'll try to find out why that module was renamed, because all our other kernels seem to use snd-intel8x0.o
For the sake of completeness I should say that the module has not only been renamed, but also moved from /lib/modules/2.4.18-4GB/kernel/sound/pci to /lib/modules/2.4.18-4GB/misc
I tried so, but it didn't work out. Now I'm getting the following error message: Starting sound driver: card-intel8x0 done The running ALSA driver looks obsolete. Stop ALSA now./usr/sbin/alsactl: get_controls:432: snd_ctl_open error: Sound protocol is not compatible failed
On Mon, Dec 08, 2003 at 10:59:17AM +0100, Sven Wahl wrote:
Looks like you're trying to use a plain kernel sound module as ALSA module. They're not compatible, even if the module names are similar. ALSA sound modules were not integrated in the kernel package on Suse 8.0 but needs to be updated separately. I don't remember the package name for ALSA kernel modules since I stopped using ALSA after my first kernel update :-) HTH, Michel -- Michel Messerschmidt lists@michel-messerschmidt.de antiVirusTestCenter, Computer Science, University of Hamburg
Hello Michel On Monday 08 December 2003 14:12, Michel Messerschmidt wrote:
I can not verify this. The original rpm of the default kernel that shipped with the 8.0 installation CDs (k_deflt-2.4.18-58.i386.rpm) _does_ contain the soundcard module "snd-intel8x0.o" and installs it into the directory /lib/modules/2.4.18-4GB/kernel/sound/pci However, the kernel rpm released last week (k_deflt-2.4.18-281.i386.rpm) doesn't contain this module anymore. Instead, I found the file "snd-card-intel8x0.o" in the directory /lib/modules/2.4.18-4GB/misc which has not been there in release 58. I have no idea if these two files have something to do with each other. I just want to get my soundcard working again :-)
participants (3)
-
Michel Messerschmidt
-
Olaf Kirch
-
Sven Wahl