Description of Problem: # rpm -ivh kernel-smp-2.4.18-5.59.i686.rpm Preparing... ########################################### [100%] 1:kernel-smp ########################################### [100%] find: /proc/scsi/usb-sto*: No such file or directory basename: too few arguments Try `basename --help' for more information. find: /proc/scsi/usb-sto*: No such file or directory basename: too few arguments Try `basename --help' for more information. fatal error: unable to find a suitable template Version-Release number of selected component (if applicable): kernel-smp-2.4.18-5.59.i686.rpm How Reproducible: Steps to Reproduce: 1. 2. 3. Actual Results: Expected Results: Additional Information:
Problem still exists, with additional stty errors, in kernel-smp-2.4.18-5.61 rpm -ivh kernel-smp-2.4.18-5.61.i686.rpm Preparing... ########################################### [100%] 1:kernel-smp ########################################### [100%] stty: standard input: Invalid argument stty: standard input: Invalid argument stty: standard input: Invalid argument find: /proc/scsi/usb-sto*: No such file or directory basename: too few arguments Try `basename --help' for more information. find: /proc/scsi/usb-sto*: No such file or directory basename: too few arguments Try `basename --help' for more information. fatal error: unable to find a suitable template
what version of mkinitrd are you running?
mkinitrd-3.4.12-1 rawhide-release-20020706-1
Ugh -- think I found it. Could you try fixing this by searching for "usb-storage" in /sbin/mkinitrd and changing the line: if [ -z "$usbHosts" -a /proc/scsi/usb-storage-0 ]; then to read: if [ -z "$usbHosts" -a -d /proc/scsi/usb-storage-0 ]; then To test this, run "mkinitrd -f /tmp/foo.img $(uname -r)" and see if you get any error messages. You should before the fix, but not after. Please let me know if this works.
That fixed the "basename" part of the problem. root@amber:root# mkinitrd -f /tmp/foo.img $(uname -r) find: /proc/scsi/usb-sto*: No such file or directory basename: too few arguments Try `basename --help' for more information. find: /proc/scsi/usb-sto*: No such file or directory basename: too few arguments Try `basename --help' for more information. root@amber:root# vi /sbin/mkinitrd root@amber:root# mkinitrd -f /tmp/foo.img $(uname -r) root@amber:root# But I'm still getting error messages from kernel upgrades: root@amber:rawhide# rpm -Uvh --replacepkgs kernel-smp-2.4.18-5.62.i686.rpm Preparing... ########################################### [100%] 1:kernel-smp ########################################### [100%] stty: standard input: Invalid argument stty: standard input: Invalid argument stty: standard input: Invalid argument fatal error: unable to find a suitable template stty: standard input: Invalid argument fatal error: unable to find a suitable template stty: standard input: Invalid argument fatal error: unable to find a suitable template stty: standard input: Invalid argument fatal error: unable to find a suitable template root@amber:rawhide#
the unable to find a suitable template messages are transitory (from the mkinitrd failures that occured); still trying to track down the stty stuff
The stty error is coming from /etc/bashrc; changing component to setup
I have not seen this anywhere else. How are you installing the kernel (terminal type, etc.)?
closing, lack of input