Linux-Misc Digest #949, Volume #27 Sat, 26 May 01 20:13:01 EDT
Contents:
Re: error conditions (Dave Uhring)
Re: which linux dist? ("Florian Schmidt")
Re: automount with cd's? ("Florian Schmidt")
Re: XTerm Question ("Florian Schmidt")
Resize the swap file? (Liam Watts)
Re: RH7.1 in endless loop: & mouse not detected (Leonard Evens)
Re: Creating rescue disk in Red Hat 7.1 (Leonard Evens)
Why ext2 filesystem check after some time? (Kai =?iso-8859-1?q?Gro=DFjohann?=)
Re: console keyboard failure (SammyTheSnake)
Re: automount with cd's? (SammyTheSnake)
Re: chmod +s (SammyTheSnake)
Re: Debian: Installed package list (SammyTheSnake)
Re: how to undo a ramdisk ( /dev/ram* ) ? (SammyTheSnake)
Re: Ls120 (SammyTheSnake)
Re: Test Mail (SammyTheSnake)
Re: Installing Linux on a Laptop ("Major Dondo")
----------------------------------------------------------------------------
From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: error conditions
Date: Sat, 26 May 2001 16:12:58 -0500
Allan Adler wrote:
>
> I'm running RedHat 7.2 on a Dell Latitude CSx. When I mount /a or /c
> as msdos file systems (which they are) I have trouble reading them.
> Specifically, executing "ls /a" or "ls /c" gives me segmentation
> faults. If instead I execute "ls /a/wqrszt" (there is no file /a/wqrszt)
> instead the system logs me out. I gather that the error condition provoked
> by "ls /a/wqrszt" is much more serious than the error condition provoked
> by "ls /a".
>
> Can anyone guess what the difference might be? I don't know much about
> error conditions.
>
> Allan Adler
> [EMAIL PROTECTED]
RedHat 7.2 !?!?!?
Did you compile a new kernel without providing for MS-DOS filesystem
compatibility? A kernel source tree downloaded from kernel.org does not
have that enabled by default.
------------------------------
From: "Florian Schmidt" <[EMAIL PROTECTED]>
Subject: Re: which linux dist?
Date: Sat, 26 May 2001 23:29:51 +0200
In article <[EMAIL PROTECTED]>, "Carl"
<[EMAIL PROTECTED]> wrote:
.
> Beware. I'm using slack7.1 with the 2.2.16 kernel. I downloaded source
> for kernel 2.4.4 and built it and mysterious problems crop up, mostly to
> do with inserting modules. I've tried tinkering with modules.conf but
> just today I ended up doing a clean install of 7.1. I look forward to
> getting 7.2 which hopefully will include a configuration for 2.4 kernels
> that has the problems ironed out.
------------------------------
From: "Florian Schmidt" <[EMAIL PROTECTED]>
Subject: Re: automount with cd's?
Date: Sat, 26 May 2001 23:30:03 +0200
In article <[EMAIL PROTECTED]>, "Glitch"
<[EMAIL PROTECTED]> wrote:
.
> you can use the 'auto' option to and put it in your /etc/fstab file so
> that the cdrom is mounted automaticaly at boot time.
>
> if u want it mounted automatically whenever u put a new CD in the drive
> i don't know if that is possible let alone if a program is available for
> that
------------------------------
From: "Florian Schmidt" <[EMAIL PROTECTED]>
Subject: Re: XTerm Question
Date: Sat, 26 May 2001 23:30:03 +0200
In article <HuYO6.56753$[EMAIL PROTECTED]>, "Buck
Turgidson" <[EMAIL PROTECTED]> wrote:
> Sorry if this is a dumb question. Is there a way to run Xterm on a MS
> Windows machine, so I can access a linux machine running X, kinda like
> PC Anywhere or Reachout?
>
> Thanks for any replies.
i once tried vnc to connect to a unix box (i don't remember which
flavor). it's very easy, if u have the right to start the vnc-server on
the unix side. once u got that done, u give the vnc-client the ipadress
of your unixbox, and off u go.. then u can open as many xterms as u want
on the remote side...
--
florian schmidt
------------------------------
From: Liam Watts <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.help,comp.os.linux.questions
Subject: Resize the swap file?
Date: Sat, 26 May 2001 22:11:48 GMT
I've been monitoring my swap file, and it almost never gets over 5%
used.
I have 128 MB RAM and 250 MB swap file. That's a lot of unused HD space
I'd like to get back.
Is there a way to resize that partition and reapply the space to the
root partition? Or at least take a chunk of it as another partition?
Thanks for any assistance!!
Liam
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: RH7.1 in endless loop: & mouse not detected
Date: Sat, 26 May 2001 17:16:33 -0500
hassard wrote:
>
> hi-
> The "Device or Resource busy" message suggests an interrupt conflict.
>
> To check, boot as you've been able to with "Linux single" then look at the
> file
> /proc/interrupt. Look for what's MISSING:
> if a card in your PC is not properly recognized by RH7.1
> (in my case it was an ISA netword card, a Netgear EA201)
> then it won't be allocated an interrupt and won't appear in /proc/interrupt
> as it should.
>
> What happens in this case, is that the system mistakenly allocates the
> interrupt
> (in my case IRQ 12) that this card should have, to another device such as
> the mouse.
I believe that irq 12 is the normal interrupt assigned to the
PS/2 mouse. Usually to solve the problem you have to change
the interrupt assigned to the other device.
>
> When this happens, when gpm tries to start up, it attempts to "talk"
> simultaneously
> to the mouse and to the PC card: this IRQ conflict produces the "Device or
> Resource busy" message.
>
> Assuming all this theory is correct, here is a procedure to try to resolve
> the conflict.
>
> (1) under Windows: Start -> Settings ->Control Panel
> Click on "System". Select "View Devices by type".
> For each device, select "properties", then look at "Resources".
> Make a list of the cards that use IRQs.
>
> (2) boot into RH7.1 using "Linux single". Look at the file
> "/proc/interrupt"
> for cards on the list from (1), but that are not mentionned as having
> been allocated IRQs in the file /proc/interrupt.
>
> (3) Remove the suspect cards from your system and see if the mouse
> will then work under RH7.1: try
> /usr/sbin/gpm
> This should continue to give the "Device or Resouce busy" message
> while the
> IRQ conflict continues, but start up normally when the conflict is
> resolved.
>
> Hope this helps. In my case, the "Device or Resource busy" message
> disappeared
> (and the mouse worked normally) after removing the Netgear EA201 (ISA) card.
> There seems to be a problem of some type with RH7.1 "Plug and Play", at
> least
> for this particular ISA card.
>
> Micro Hue wrote in message <[EMAIL PROTECTED]>...
> >G'day all,
> >
> >I have been trying to upgrade from Redhat 6.2 to 7.1 but the
> >the installed system chokes on my Logitech Wheelmouse when I boot.
> >
> >I am relatively new to Linux (occasional use on my dual boot PII 333
> >64MB box) and would like some pointers please on my tale of woe...
> >
> >My mouse has been working fine with RH 6.2 and still does since Ive
> >had to revert to 6.2 after many abortive attempts to get RH7.1 going.
> >
> >On install (or upgrade) of RH7.1, the mouse is recognized as Generic 3
> >button mouse (PS/2) - same as RH 6.2 does. Mouse works fine during
> >install.
> >After install exits, I reboot. Error message, something like:
> >
> >"gpm: oops() invoked from gpm.c[978]
> >Device or Resource busy"
> >
> >Then the computer goes into an endless loop between a text login
> >prompt which disappears when (presumably) X tries to start and
> >reappears briefly a few seconds later only to disappear before I have
> >a chance to log in. Repeat ad nauseum. No keypresses seem to stop it.
> >I've tried numerous keys: Alt-Ctl-F2, Alt-Ctl-Back, A-C-Tab etc.
> >Nothing works but A-C-Del which only reboots into the same problem. (I
> >use Loadlin to boot linux)
> >However the shut down produces a message:
> >"Shutting down console mouse services [FAILED]"
> >
> >How do I stop the startup looping?
> >How do I fix the mouse?
> >Why does RH7.1 choke on a simple mouse that RH6.2 happily swallows?
> >
> >I've tried reinstalling using every combination of Generic PS/2 mouse,
> >even the Logitech PS/2 ones. All give same result.
> >
> >I even tried the floppy boot disk using 'Linux single'.
> >At least I got a prompt.
> >Ran 'mouseconfig'
> >"There was an error reading file /etc/sysconfig/mouse
> >Would you like to create a new configuration?
> >(Would I ever!) OK
> >Mouseconfig can update Xfree86 configuration file?
> >YES
> >
> >Reboot. Same problem.
> >
> >It must be something simple I've overlooked...
> >
> >Tony
> >
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: Creating rescue disk in Red Hat 7.1
Date: Sat, 26 May 2001 17:26:24 -0500
Christian Rose wrote:
>
> Jeff Shepherd wrote:
> > In the last version I worked with (6.2) in the images directory there
> > was a rescue.img file used to make a rescue disk. The 7.0 docs talk
> > about using it at
> >
> >
>http://www.redhat.com/support/manuals/RHL-7-Manual/ref-guide/s1-sysadmin-rescue.html
> >
> > Oops. The 7.1 docs talk about it here
> >
> >
>http://www.redhat.com/support/manuals/RHL-7.1-Manual/customization-guide/rescuemode.html
> >
> > Though the above web page says the rescue.img file is on CD1 in the
> > images directory, my CD does not have it there. Also, looking at the
> > Red Hat ftp server, *they* are missing the rescue.img file from
> > ftp://ftp.redhat.com/redhat/linux/7.1/en/os/i386/images/ as well.
> > Anyone have the image?
>
> Read the page again. It says you can use boot.img, not rescue.img.
> boot.img is available on the ftp sites and on your cd. Use this boot
> image to make a boot diskette, and type "linux rescue" at the first
> prompt upon boot from this.
>
> Or, you can boot directly from your first installation cd as well (it's
> the same image as the boot image on the CD), followed by the entering of
> the same "linux rescue".
>
> Christian
I believe that RedHat stopped providing a rescue.img as early
as RH 6.1 or 6.2. They introduced a new method of doing rescue
using the installation CD. Unfortunately, they didn't include
very many tools for typical troubleshooting and fixing problems.
According to their documentation, they have much improved this
in the latest version in RH7.1. So you don't need a separate
"rescue" disk, the purpose of which is to run a system entirely
in memory using a ramdisk. You just use the installation media
with "linux rescue".
The boot floppy you make with mkbootdisk just provides a means
of booting from a floppy in case something goes wrong either
with lilo on the hard disk or if the kernel image on the hard disk
gets corrupted. But that won't help if for example the file
system on the disk is corrupted. In circumstances like that
you have to run independent of the disk from a ramdisk.
You can find other "resuce" or "root/boot" disks. A good one
is Tom's root boot disk, but that was a bit behind in the
kernel it provided the last time I looked, so it may not be
compaitiable with the system you have and hence may not be usable
to repair all problems.
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: [EMAIL PROTECTED] (Kai =?iso-8859-1?q?Gro=DFjohann?=)
Subject: Why ext2 filesystem check after some time?
Date: 27 May 2001 01:15:44 +0200
Every once in a while, the system tells me `mount count exceeded --
file system check forced' or something like this.
Why does it do that?
My thinking is: either the system is sure the filesystem is okay, then
why run fsck? Or the system isn't sure, then run fsck every time.
But why run it after 20 (or so) mounts?
kai
--
~/.signature: No such file or directory
------------------------------
From: [EMAIL PROTECTED] (SammyTheSnake)
Crossposted-To: comp.os.linux.hardware
Subject: Re: console keyboard failure
Date: Sat, 26 May 2001 13:49:23 +0100
In article
<[EMAIL PROTECTED]>, Matt
Vanderveer wrote:
>I am having console keyboard problems. I am running Red Hat 6.2. I shut
>down my machine to add additional memory and then rebooted. Upon reboot
>I was able to enter the bios, so the keyboard was working fine at that
>point. I made no changes in the bios. The booted up fine, with no error
>messages on the screen. However, once the system was up, the keyboard no
>longer worked. I am able to get into the machine via ssh. I checked the
>logs and there were no error messages or bott-time failures listed in
>either boot.log or messages. I have tried using different keyboards, but
>none of them work. I don't believe that it is a hardware problem as the
>keyboard worked fine before the reboot and at boot time to access the
>bios. The only thing that changed between shutdown and startup was the
>addition of memory. Any help or pointers you can provide would be much
>appreciated.
have you since re-booted again? do you get the same symptoms again? the only
thing that comes to mind off the top of my head (if that isn't mixing
metaphors ;) is that your keyboard socket or some related part of the mobo
suffered some mysterious hardware failure between BIOS time and using it at
the console...
when you say it "doesn't work" I assume you mean there's no response to the
keyboard at all, right?
Cheers & God bless
SammyTheSnake
--
Sam.Penny @ Ntlworld.com | Looking for a computer related
Linux, Hardware & Juggling specialist :-) | job, if you can help, e-mail me :)
Wheels: bike, 'ickle bike, and unicycle. | /o \/ Working on 5 ball 1/2 shower
Boxen: K6-266@300, dual Celery500 & Nx486 | \__/\ & some 6 / 7 ball exercises
------------------------------
From: [EMAIL PROTECTED] (SammyTheSnake)
Subject: Re: automount with cd's?
Date: Sat, 26 May 2001 14:03:45 +0100
In article <[EMAIL PROTECTED]>, Dave Uhring wrote:
>Glitch wrote:
>
>> In article <[EMAIL PROTECTED]>, "Florian Schmidt"
>> <[EMAIL PROTECTED]> wrote:
>>
>>> hi..
>>>
>>> i ws wondering, if there is a way to reach the following:
>>>
>>> whenever i open the directory /cdrom, where i now manually mount my
>>> cdrom as root everytime i need it, i would like the cdrom to be
>>> automounted. i browsed the mountd and automount man-pages, but i just
>>> didn't get it..
>>>
>>
>> you can use the 'auto' option to and put it in your /etc/fstab file so
>> that the cdrom is mounted automaticaly at boot time.
>>
>> if u want it mounted automatically whenever u put a new CD in the drive i
>> don't know if that is possible let alone if a program is available for
>> that
>>
>
>You have to switch from Slackware to Red Hat or Mandrake to get that
>Windoze feature.
err, or install amd (or some other automounter)
>Hell, Slackware doesn't even automatically install the
>cdrom line in /etc/fstab. For almost a year, everytime I wanted to mount a
>cdrom I had to
>
># mount -t iso9660 -r /dev/hdc /cdrom
>
>Too lazy to edit /etc/fstab, I guess :-)
you daft berk! ;)
Cheers & God bless
SammyTheSnake
--
Sam.Penny @ Ntlworld.com | Looking for a computer related
Linux, Hardware & Juggling specialist :-) | job, if you can help, e-mail me :)
Wheels: bike, 'ickle bike, and unicycle. | /o \/ Working on 5 ball 1/2 shower
Boxen: K6-266@300, dual Celery500 & Nx486 | \__/\ & some 6 / 7 ball exercises
------------------------------
From: [EMAIL PROTECTED] (SammyTheSnake)
Subject: Re: chmod +s
Date: Sat, 26 May 2001 14:06:25 +0100
In article <[EMAIL PROTECTED]>, Vilmos Soti wrote:
>Dave Uhring <[EMAIL PROTECTED]> writes:
>
>>> I though that since root owns the script, then setting -rwsrwsr-- would
>>> allow a user (of the appropriate group) to call the script which calls the
>>> startup script as if he were root.
>>
>> Your user who is not a member of the group owning that file only has read
>> permissions. If you want any user to be able to execute the file with suid
>> root permission
>>
>> # chmod 4755 <file_name>
>
>Wrong. Just take a look at passwd:
>
>-r-s--x--x 1 root root 10704 Apr 14 1999 passwd
>
>I am not logged in as root, neither in root group, but I can still
>execute it and have my password changed. The SUID bit is there so
>when the program (binary, not script) is executed, then it will run
>with the owner's (in this case root) credentials.
however, a binary is entirely different from a script in the way it's
executed. SUID scripts are not allowed by default (and for good reason) and
also you need _read_ permission to execute a script...
Cheers & God bless
SammyTheSnake
--
Sam.Penny @ Ntlworld.com | Looking for a computer related
Linux, Hardware & Juggling specialist :-) | job, if you can help, e-mail me :)
Wheels: bike, 'ickle bike, and unicycle. | /o \/ Working on 5 ball 1/2 shower
Boxen: K6-266@300, dual Celery500 & Nx486 | \__/\ & some 6 / 7 ball exercises
------------------------------
From: [EMAIL PROTECTED] (SammyTheSnake)
Crossposted-To: linux.debian.user
Subject: Re: Debian: Installed package list
Date: Sat, 26 May 2001 14:09:02 +0100
In article <9emg94$2ut$[EMAIL PROTECTED]>, Colin Watson wrote:
>* Tong * <[EMAIL PROTECTED]> wrote:
>>How can I get a list of what packages are installed on my Debian?
>
> dpkg -l
>
>or:
>
> dpkg --get-selections
>
>(The former has more detail, the latter is machine-parseable.)
err, just what are you trying to do with the output of dpkg -l that you
can't do automatically?
Cheers & God bless
SammyTheSnake
--
Sam.Penny @ Ntlworld.com | Looking for a computer related
Linux, Hardware & Juggling specialist :-) | job, if you can help, e-mail me :)
Wheels: bike, 'ickle bike, and unicycle. | /o \/ Working on 5 ball 1/2 shower
Boxen: K6-266@300, dual Celery500 & Nx486 | \__/\ & some 6 / 7 ball exercises
------------------------------
From: [EMAIL PROTECTED] (SammyTheSnake)
Subject: Re: how to undo a ramdisk ( /dev/ram* ) ?
Date: Sat, 26 May 2001 14:12:43 +0100
In article <[EMAIL PROTECTED]>, Michael Heiming wrote:
> df -h | grep ram
why not
df -h /dev/ram0
Cheers & God bless
SammyTheSnake
--
Sam.Penny @ Ntlworld.com | Looking for a computer related
Linux, Hardware & Juggling specialist :-) | job, if you can help, e-mail me :)
Wheels: bike, 'ickle bike, and unicycle. | /o \/ Working on 5 ball 1/2 shower
Boxen: K6-266@300, dual Celery500 & Nx486 | \__/\ & some 6 / 7 ball exercises
------------------------------
From: [EMAIL PROTECTED] (SammyTheSnake)
Subject: Re: Ls120
Date: Sat, 26 May 2001 14:16:54 +0100
In article <[EMAIL PROTECTED]>, faeychyld wrote:
>I would like to remove any old partitions and format
>as ext2, but I need fdisk.
wave a pair of pants to fdisk, try doing
dd if=/dev/zero of=/dev/hdd bs=512 count=1
mke2fs /dev/hdd
Cheers & God bless
SammyTheSnake
--
Sam.Penny @ Ntlworld.com | Looking for a computer related
Linux, Hardware & Juggling specialist :-) | job, if you can help, e-mail me :)
Wheels: bike, 'ickle bike, and unicycle. | /o \/ Working on 5 ball 1/2 shower
Boxen: K6-266@300, dual Celery500 & Nx486 | \__/\ & some 6 / 7 ball exercises
------------------------------
From: [EMAIL PROTECTED] (SammyTheSnake)
Subject: Re: Test Mail
Date: Sat, 26 May 2001 14:20:29 +0100
In article <[EMAIL PROTECTED]>, Sanvir Singh Jham wrote:
>> Hi!
>
>This is a test mail!
no it's not, it's a newsgroup posting, I suggest you find out what the
difference is before preceeding.
Test messages should be sent to *.test groups (e.g. alt.test)
>Thanks for Bearing!
<sarcasm>hanks for giving me the option</sarcasm>
Cheers & God bless
SammyTheSnake
--
Sam.Penny @ Ntlworld.com | Looking for a computer related
Linux, Hardware & Juggling specialist :-) | job, if you can help, e-mail me :)
Wheels: bike, 'ickle bike, and unicycle. | /o \/ Working on 5 ball 1/2 shower
Boxen: K6-266@300, dual Celery500 & Nx486 | \__/\ & some 6 / 7 ball exercises
------------------------------
From: "Major Dondo" <[EMAIL PROTECTED]>
Subject: Re: Installing Linux on a Laptop
Date: Sat, 26 May 2001 18:09:09 -0400
In article <[EMAIL PROTECTED]>, "Sumit Dhar"
<[EMAIL PROTECTED]> wrote:
> But this machine is already running RHL 4.2 and hence I know, everything
> it has is supported.
>
> My questions are:
>
> 1. What can I do to get the driver disks.. (Longshine site does not
> provide them for Linux)
Well, if it's running a linux driver for the network card, you should
have the source. Recompile it for the new version of linux, and you
should be OK. You can also try peanut linux. That'w what I run on my
486 laptop, and it works OK.
--Yan
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list by posting to comp.os.linux.misc.
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************