On ���, 2002-01-17 at 21:26, SI Reasoning wrote:
> pam-0.75-13mdk
>
> --- Borsenkow Andrej <[EMAIL PROTECTED]>
> wrote:
> > >
> > > On Don, 17 Jan 2002 10:25:12 SI Reasoning wrote:
> > >
> > > > I then
> > > > rebooted and the system now freezes consistently
> > > > (regardless of kernel used) during
> > > > loading compose keys: compose.latin1.inc
> > >
> > > I've got the same problem now. It seems to be
> > devfsd related; if I
> > change
> > > to devfs=nomount it doesn't hang. This is with
> > kernel 2.4.17-2mdk
> > which
> > > worked very well before updateding devfsd to
> > devfsd-1.3.21-2mdk (from
> > > latest 1.3.20 if I remember correctly).
> > >
> >
> > What pam version? There was a bug in shared library
> > before -13mdk that
> > resulted in flood of errors from devfsd and buffer
> > overflow in initlog.
> >
{pts/2}% rpm -q devfsd
devfsd-1.3.21-1mdk
What was the change in -2mdk? IIRC agpgart was added; may it be that
loadkeys triggers some weird module loading.
Please, remove everything from /lib/dev-state (but not the directory
itself) and reboot. Does it help?
Else I attach my devfsd.conf from -1mdk; does it work with it?
Else I really do not know because it works on another system with -2mdk
as well; the please when it hangs do
Alt-SysRq-tusb
and then in /var/log/messages you should have stack trace of running
processes. May be it gives some hint.
-andrej
# Sample /etc/devfsd.conf configuration file.
# Richard Gooch <[EMAIL PROTECTED]> 28-NOV-2001
#
# Enable full compatibility mode for old device names. You may comment these
# out if you don't use the old device names. Make sure you know what you're
# doing!
REGISTER .* MKOLDCOMPAT
UNREGISTER .* RMOLDCOMPAT
# You may comment out the above and uncomment the following if you've
# configured your system to use the original "new" devfs names or the really
# new names
#REGISTER ^vc/ MKOLDCOMPAT
#UNREGISTER ^vc/ RMOLDCOMPAT
#REGISTER ^pty/ MKOLDCOMPAT
#UNREGISTER ^pty/ RMOLDCOMPAT
#REGISTER ^misc/ MKOLDCOMPAT
#UNREGISTER ^misc/ RMOLDCOMPAT
# You may comment these out if you don't use the original "new" names
REGISTER .* MKNEWCOMPAT
UNREGISTER .* RMNEWCOMPAT
# Enable module autoloading. You may comment this out if you don't use
# autoloading
LOOKUP .* MODLOAD
# When removable media is (programmatically) ejected nodes for
# individual partitions are unregistered and if you have enabled
# RM(OLD|NEW)COMPAT actions links that point to them are removed.
# Unfortunately when you insert media and try to access it using
# any of these links there is nothing that tells the kernel to refresh
# partition table. To force refresh you may use something like this:
# SCSI NEWCOMPAT
LOOKUP ^(sd/c[0-9]+b[0-9]+t[0-9]+u[0-9]+).*$ EXECUTE /sbin/blockdev
--rereadpt $mntpnt/\1
# SCSI OLDCOMPAT
LOOKUP ^(sd[^/])[^/]+$ EXECUTE /sbin/blockdev --rereadpt $mntpnt/\1
# IDE NEWCOMPAT
LOOKUP ^(ide/hd/c[0-9]+b[0-9]+t[0-9]+u[0-9]+).+$ EXECUTE /sbin/blockdev
--rereadpt $mntpnt/\1
# IDE OLDCOMPAT
LOOKUP ^(hd[^/])[^/]+$ EXECUTE /sbin/blockdev --rereadpt $mntpnt/\1
#
# Uncomment this if you want permissions to be saved and restored
# Do not do this for pseudo-terminal devices
#REGISTER ^pt[sy] IGNORE
#CREATE ^pt[sy] IGNORE
#CHANGE ^pt[sy] IGNORE
#DELETE ^pt[sy] IGNORE
#REGISTER .* COPY /dev-state/$devname $devpath
#CREATE .* COPY $devpath /dev-state/$devname
#CHANGE .* COPY $devpath /dev-state/$devname
#DELETE .* CFUNCTION GLOBAL unlink /dev-state/$devname
RESTORE /lib/dev-state
#
# Uncomment this if you want the old /dev/cdrom symlink
#REGISTER ^cdroms/cdrom0$ CFUNCTION GLOBAL mksymlink $devname cdrom
#UNREGISTER ^cdroms/cdrom0$ CFUNCTION GLOBAL unlink cdrom
LOOKUP ^cdrom$ CFUNCTION GLOBAL symlink cdroms/cdrom0 cdrom
REGISTER ^cdroms/cdrom0$ CFUNCTION GLOBAL symlink cdroms/cdrom0 cdrom
UNREGISTER ^cdroms/cdrom0$ CFUNCTION GLOBAL unlink cdrom
REGISTER ^v4l/video0$ CFUNCTION GLOBAL symlink v4l/video0 video
UNREGISTER ^v4l/video0$ CFUNCTION GLOBAL unlink video
# ALSA stuff
LOOKUP snd MODLOAD ACTION snd
# Manage USB mouse
REGISTER ^input/mouse0$ CFUNCTION GLOBAL symlink input/mouse0 usbmouse
UNREGISTER ^input/mouse0$ CFUNCTION GLOBAL unlink usbmouse
# dynamic desktop and co
#REGISTER .*/part.* EXECUTE /etc/dynamic/scripts/part.script add $devpath
#UNREGISTER .*/part.* EXECUTE /etc/dynamic/scripts/part.script del $devpath
REGISTER v4l/video.* EXECUTE /etc/dynamic/scripts/webcam.script add $devpath
UNREGISTER v4l/video.* EXECUTE /etc/dynamic/scripts/webcam.script del $devpath
REGISTER usb/scanner.* EXECUTE /etc/dynamic/scripts/scanner.script add
$devpath
UNREGISTER usb/scanner.* EXECUTE /etc/dynamic/scripts/scanner.script del
$devpath
REGISTER usb/rio500 EXECUTE /etc/dynamic/scripts/rio500.script add $devpath
UNREGISTER usb/rio500 EXECUTE /etc/dynamic/scripts/rio500.script del $devpath
REGISTER usb/tts/[13579] EXECUTE /etc/dynamic/scripts/visor.script add $devpath
UNREGISTER usb/tts/[13579] EXECUTE /etc/dynamic/scripts/visor.script del $devpath
REGISTER \(usb/\)\?\(lp\|printer\).* EXECUTE /etc/dynamic/scripts/lp.script
add $devpath
UNREGISTER \(usb/\)\?\(lp\|printer\).* EXECUTE /etc/dynamic/scripts/lp.script
del $devpath
REGISTER .* CFUNCTION /lib/security/pam_console_apply_devfsd.so
pam_console_apply_single $devpath
# devfsd.conf ends here