On Mon, 2005-10-31 at 11:56 +1100, Amos Shapira wrote: > On 10/31/05, Aaron <[EMAIL PROTECTED]> wrote: > > Hi all, > > > > I have this strange behaviour that when I open a new term session or > > even in an existing term sesstion I will execute a common command such > > as ls or cd and the shell returns command not found. usually I can close > > "cd" command not found?? "cd" is an internal shell command (doesn't make > sense to run it in a separate process). Are you sure that's what happened? > > What's your PATH ("echo $PATH")? demudi linux $ echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games demudi linux $ >
> I'd reckon it's a favourite passtime for "real" linux users to try to get out > of > any "broken" situation without having to (in degrading order of preferences) > kill-program/exit-shell/logout/kill-xserver (ctrl-backspace)/reboot/reinstall. > I think it's a very instructive experience to try to achieve these > goals (what is > a learned "for fun" one day can come up as a real session-saver on another, > "/usr/bin/reset" might turn out to be more useful than you would > normally expect :). not sure I get your point, I do know that expeinced users don't do what I do, but search for the cause of the problem and a solution. I usually panic and try the above options... > > > > > Any thoughts on what might be causing this very strange behaviour would > > be most appreciated. > > Messed up environment (variables), trojans, bad disk blocks, broken packages > installed come up to my mind right now. > > Try looking in dmesg(8) and /var/log/messages* for odd kernel messages. > from dmesg: ----------------------------clip------------------ sda: assuming drive cache: write through usb 1-1.2: USB disconnect, address 15 scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device sda : READ CAPACITY failed. sda : status=0, message=00, host=1, driver=04 sda : sense not available. scsi7 (0:0): rejecting I/O to dead device sda: Write Protect is off sda: Mode Sense: 00 00 00 00 sda: assuming drive cache: write through /dev/scsi/host7/bus0/target0/lun0:<3>scsi7 (0:0): rejecting I/O to dead device Buffer I/O error on device sda, logical block 0 scsi7 (0:0): rejecting I/O to dead device Buffer I/O error on device sda, logical block 0 unable to read partition table scsi7 (0:0): rejecting I/O to dead device Buffer I/O error on device sda, logical block 0 Buffer I/O error on device sda, logical block 1 Buffer I/O error on device sda, logical block 2 Buffer I/O error on device sda, logical block 3 Buffer I/O error on device sda, logical block 4 Buffer I/O error on device sda, logical block 5 Buffer I/O error on device sda, logical block 6 Buffer I/O error on device sda, logical block 7 scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device scsi7 (0:0): rejecting I/O to dead device my cdr started doing this after ram upgrade -------------------clip--------------------------- Attached scsi removable disk sda at scsi9, channel 0, id 0, lun 0 Attached scsi generic sg0 at scsi9, channel 0, id 0, lun 0, type 0 usb-storage: device scan complete EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended printk: 77 messages suppressed. UDP: short packet: From 213.97.234.10:39074 35764/43 to 192.117.110.160:356 > Is this a private personal computer or some public/lab/family box used > by others? my own personal computer. > > --Amos ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]