Linux-Setup Digest #363, Volume #21 Sun, 3 Jun 01 17:13:10 EDT
Contents:
How restore Gnome as default desktop? (Murray Eisenberg)
Re: Root File System Corruption ("Peter T. Breuer")
Re: Root File System Corruption (Dave Uhring)
RH PPP Dialer applet in Gnome 1.4 ("Robert Morelli")
Re: Problem with Apache and SUSE 7.0 ("Syco")
Re: UDMA drives and linux DMA support (Dave Uhring)
Re: lp: no devices found... (Dave Uhring)
Re: rh7.1 install image: problem update (Dave Uhring)
Re: How restore Gnome as default desktop? (Jason Lott)
Re: Patching 2.4.3 kernel with XFS doesn't work (Dave Uhring)
ATA100 Card (John L. Sielke)
Re: Building Kernel 2.4.5 (Joal Heagney)
Re: Problem with Mouse Detection on Red Hat Linux 7.1 (Joal Heagney)
Re: HELP: Boot failure after IDE drive reconfiguration ("sdrumm3")
Re: ATA100 Card (Noble Pepper)
Lpr Print Error: No Spool Queue (Robert Parnes)
----------------------------------------------------------------------------
From: Murray Eisenberg <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: How restore Gnome as default desktop?
Date: Sun, 03 Jun 2001 19:11:58 GMT
I'm using Red Hat 7.1 and installed with Gnome as default desktop. I
also installed the KDE packages, just to try out the KDE desktop. I
used the Desktop Switching Tool in Gnome to switch to KDE and, sure
enough, after I rebooted then KDE came up as the desktop.
Now I want to restore Gnome as the default. I go through the desktop
switching tool in KDE and select Gnome, then log out and log in again
(or even reboot). But the KDE desktop keeps coming up.
Eventually I was able to fix this manuall, via some .X* files in my home
directory. But that seems like an extreme and awkward way to have to do
this.
Is it possible to get the desktop switchers to work so one REALLY gets
what one wants?
--
Murray Eisenberg [EMAIL PROTECTED]
Mathematics & Statistics Dept. phone 413 549-1020 (H)
Univ. of Massachusetts 413 545-2859 (W)
Amherst, MA 01003-4515
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Root File System Corruption
Date: Sun, 3 Jun 2001 21:16:10 +0200
Robert Morelli <[EMAIL PROTECTED]> wrote:
> is it likely that whatever was put in lost+found is part of an
> important file that is now damaged?
Have a look, and you may well find out.
Peter
------------------------------
From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: Root File System Corruption
Date: Sun, 3 Jun 2001 14:36:40 -0500
Robert Morelli wrote:
> A couple of days ago my Red Hat 7.1 system froze up. Neither
> Ctrl-Alt-Backspace nor Ctrl-Alt-Delete had any effect, so
> I had to do a hard reboot. The system stopped on the next boot
> with an error message about inconsistencies in the root file
> system. (The root partition inludes everything except /usr.)
> I ran fsck, which fixed some errors and put something
> in lost+found.
>
> After that the system started booting again. Some things are
> a little flakey, but I don't have any reason to believe that's a result
> of the disk problem. Every Linux system I've ever used has
> been flakey and somewhat unreliable. What I'm worried about
> here is the possibility of something more serious.
>
> My question is, can I trust this system anymore? Is it likely
> that there are still damaged files on the root partition that
> could cause a serious problem at some point? For instance,
> is it likely that whatever was put in lost+found is part of an
> important file that is now damaged?
>
> Thanks
>
If every Linux system you have ever used has been flakey, then you have had
flakey hardware. Check your memory with memtest86 - find it at google.
Open up your case and clean your heat sink/fan assembly. Clean out all the
ducts where the lint and crud have accumulated.
Re-install the system using reiserfs or SGI's XFS. Or learn how to
implement and use the Alt-SysRq key combinations to shut the system down
when everything else seems to freeze up. Read
/usr/src/linux/Documentation/sysrq.txt. In fact print it out and have it
handy the next time you need it.
You can find the XFS ISO at
ftp://oss.sgi.com/projects/xfs/download/Release-1.0/iso
You will also need the 2 RedHat-7.1 CD's with this.
You can install Mandrake-8.0 or Suse-7.1 using the reiserfs option.
------------------------------
From: "Robert Morelli" <[EMAIL PROTECTED]>
Subject: RH PPP Dialer applet in Gnome 1.4
Date: Sun, 03 Jun 2001 01:43:23 -0600
Crossposted-To: linux.redhat
I'm running Gnome 1.4 (installed using the Ximian installer).
I've installed this on both Red Hat 6.2 and Red Hat 7.1
systems. In both cases, I've found that the RH PPP Dialer
doesn't work. If I attempt to add it to a panel, it appears
as a small unresponsive icon. Does anyone know anything
about this?
Thanks
------------------------------
From: "Syco" <[EMAIL PROTECTED]>
Subject: Re: Problem with Apache and SUSE 7.0
Date: Sun, 3 Jun 2001 21:46:48 +0200
Yes, it's true : my SUSE was not complete version ( evaluation version
only ).
So I got squid in STABLE4 and I compile : all is OK. I have to work now.
Thanks a lot.
Bye
--
SYCO de SycoWeb
[EMAIL PROTECTED]
http://ww.chez.com/sycoweb/puces/index.htm
http://ww.multimania.com/sycoweb/puces/index.htm
Michael Heiming <[EMAIL PROTECTED]> a �crit dans le message :
[EMAIL PROTECTED]
> Syco wrote:
> >
> > So, I can try squid.
> > Is it available somewhere ( I don't see it in my distro ), and is it
free ?
>
> Where did you look? Sure it's free.
> squid 2.2.STABLE5 comes with SuSE 7.0, start yast and install squid.
>
> Michael Heiming
------------------------------
From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: UDMA drives and linux DMA support
Date: Sun, 3 Jun 2001 14:48:47 -0500
Jan Oberlaender wrote:
> In article <[EMAIL PROTECTED]>, "Dave Uhring"
> <[EMAIL PROTECTED]> wrote:
>
>> When it tells you that DMA is disabled, DMA is disabled. When you
>> configured your kernel, you needed to select yes in 2 places to use DMA
>> on your HDC. Also, you must select the chipset you use. Did you do all
>> of that?
>
> I can't specifically select the piix4 in the kernel config. But I
> activated these:
>
> - Generic PCI IDE chipset support
> - Generic PCI Bus-Master DMA support
> - Use DMA by default when available
>
> That should be enough; on bootup linux recognizes my piix4, but it
> doesn't use DMA. Anything missing?
>
> Thanks
>
> Jan
>
In /usr/src/linux
# make xconfig
First menu is Code maturity level options, select Y.
Go to ATA/IDE/MFM/RLL support
Next
Select Y for PIIXn chipsets support and PIXn Tuning support and read the
Help files for both.
Make certain the UDMA is set up or at least available in BIOS.
I can't say for certain that all this will work, only that the options are
available. I don't and won't use Intel CPU's or MB's.
------------------------------
From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: lp: no devices found...
Date: Sun, 3 Jun 2001 14:53:59 -0500
Laurent Bloch wrote:
> Dave Uhring <[EMAIL PROTECTED]> wrote:
>> Laurent Bloch wrote:
>
>>> Dave Uhring <[EMAIL PROTECTED]> wrote:
>>>> Laurent Bloch wrote:
>>>
>>>>> All is in the subject. The kernel has been compiled
>>>>> with the parallel port and parallel port printer
>>>>> options. MAKEDEV lp has been made. The printcap
>>>>> entry is:
>>>>>
>>>>> lp|otero:\
>>>>> :lp=/dev/lp0:\
>>>>> :sh:pw#80:pl#72:px#1440:mx#0:\
>>>>> :sd=/var/spool/lpd/lp:\
>>>>> :af=/var/log/lp-acct:\
>>>>> :lf=/var/log/lp-errs:
>>>>>
>>>>> lpq says:
>>>>>
>>>>> Status: cannot open '/dev/lp0' - 'No such device', attempt 1, sleeping
>>>>> 10...
>>>>>
>>>>> The printer is a Lexmark Optra E312, the motherboard an
>>>>> ASUS S97- V.
>>>
>>>> What is the ownership/group of /dev/lp0 and what are its permissions?
>>>
>>>> If you are running RedHat-7 or 7.1, the owner/group should be root/lp
>>>> or lp/lp with 660 permission.
>>>
>>> It' OK
>>>
>>>> BTW, you do not have an input filter configured in /etc/printcap and
>>>> unless your printer already knows to add a CR after a LF, you are going
>>>> to have stair-step printing.
>>>
>>> It is a PostScript printer, so I believe it doesn't need
>>> a filter.
>
>> Have you run "checkpc -f"?
>
> checkpc -f
> Warning - cannot open lp device '/dev/lp0' - Aucun p�riph�rique de ce type
>
>> Is your parallel port enabled in BIOS? And, presuming you are using the
>> installed kernel, is the parallel port module loaded? Is this line in
>> /etc/modules.conf
>
>> alias parport_lowlevel parport_pc
>
> Yes. When trying to load the module :
>
> /lib/modules/2.2.19pre17/misc/parport.o: invalid parameter parm_io
> /lib/modules/2.2.19pre17/misc/parport.o: insmod
> /lib/modules/2.2.19pre17/misc/parport.o failed
> /lib/modules/2.2.19pre17/misc/parport.o: insmod lp failed
>
> Mystery...
>
> Laurent
>
That is an experimental kernel source tree which you are using. Download
the final version from kernel.org, configure and build it, making sure that
all printer options are made available.
Again, since you didn't mention it, is the parallel port turned on in BIOS?
------------------------------
From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: rh7.1 install image: problem update
Date: Sun, 3 Jun 2001 15:02:26 -0500
Riyaz Mansoor wrote:
> Dave Uhring wrote:
>
>> Riyaz Mansoor wrote:
>>
>> >
>> > i checked the actual error message by doing an ALT+F4 and this is what
>> > i got
>> >
>> > <4> hdd: command error: status = 0x51 { DriveReady SeekComplete Error }
>> > <4> hdd: command error : error = 0x50
>> > <4> end_request: I/O error, dev 16:40 (hdd), sector 1130896
>> >
>> > hdd is my cd-rom drive from where i'm installing. i tried it two times
>> > and the first time there were 2 sets of the above, difference only in
>> > the sector number. the second time there were four sets and again the
>> > difference were in the sector number which were completely different
>> > from the first try.
>> >
>> > the message returned is "error ocuured in copying install image to hard
>> > drive". there is intense cdrom and harddisk activity before the error
>> > for about 3-4 second during the attempted "install image transfer".
>> >
>> > can someone tell me what's going on? how i can avert this?
>> >
>> > riyaz
>>
>>
>> Looks like you are trying to use legacy hardware. Something which
>> doesn't
>> support ATA-66 or -100. Go into BIOS and set that drive up for PIO-4
>> instead of DMA.
>
> it is already setup as PIO-4. my cdrom is 36x diamond data one. but i did
> try changing PIO-4 to "auto" and the same thing happened. there are
> options for PIO 1 to 5. bios auto detects the cdrom as PIO-4. should i try
> all of the numbers? the thing that bugs me is rh6.2 installs fine.
>
> please help.
>
> riyaz
>
>
>
The difference between the versions of the distribution is that RedHat-7.1
uses a 2.4.2 kernel and RedHat-6.2 uses a 2.2.XX kernel and the interaction
of the kernels with the hardware is different between the two. The 2.4.X
kernels do not work well with older hardware. And the 2.2.XX kernels do
not work well with new hardware.
If you already have your drives set up to use PIO-4, it may be that you
simply cannot install a distribution which uses a 2.4.X kernel. Perhaps
you could give Mandrake-8.0 a try.
------------------------------
From: Jason Lott <[EMAIL PROTECTED]>
Subject: Re: How restore Gnome as default desktop?
Date: Sun, 03 Jun 2001 15:03:27 -0500
On Sun, 03 Jun 2001 19:11:58 GMT, Murray Eisenberg <[EMAIL PROTECTED]> wrote:
>I'm using Red Hat 7.1 and installed with Gnome as default desktop. I
>also installed the KDE packages, just to try out the KDE desktop. I
>used the Desktop Switching Tool in Gnome to switch to KDE and, sure
>enough, after I rebooted then KDE came up as the desktop.
>
>Now I want to restore Gnome as the default. I go through the desktop
>switching tool in KDE and select Gnome, then log out and log in again
>(or even reboot). But the KDE desktop keeps coming up.
>
>Eventually I was able to fix this manuall, via some .X* files in my home
>directory. But that seems like an extreme and awkward way to have to do
>this.
>
>Is it possible to get the desktop switchers to work so one REALLY gets
>what one wants?
switchdesk gnome
I might have the case wrong for gnome, but I know that the switchdesk part is right. :)
------------------------------
From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: Patching 2.4.3 kernel with XFS doesn't work
Date: Sun, 3 Jun 2001 15:06:14 -0500
vrw wrote:
> Hi all,
> When I tried to patch a vanilla 2.4.3 kernel with SGI's
> "linux-2.4.3-core-xfs-1.0.patch.gz" patch and then tried to compile the
> kernel, it went bye-bye during the 'make dep' phase; it was complaining
> about sth. missing in the "openpromfs" directory, and there were also
> problems with 'pagebuf'. (Can supply actual errors if needed.)
> Does anyone know whether this is my shining ignorance of how to set this
> patch up, or is it a known problem with a workaround ?
>
> Thanks for any help,
>
> I REALLY wanna see how XFS performs... :o)
>
> Regards,
>
> Volkmar
>
>
You can download the ISO image from SGI and do a new install with
RedHat-7.1 if you don't mind overwriting your system.
ftp://oss.sgi.com/projects/xfs/download/latest/iso
------------------------------
From: John L. Sielke <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: ATA100 Card
Date: Sun, 3 Jun 2001 16:03:09 -0400
OK, I decided I needed a bigger HSD, so I got a Quantum 40GB drive. My old PII
300Mhz had an onboard IDE interface, which wouldn't work with the new drive, so
I go aSIIG UltraATA100 PCI card. Everything works in Windows, but Linux doesn't
see the card or drive. I have been running Linux 6.2, (kernel 2.2.5) but tried
installing RH 7.0 with the new HD, but it still didn't see it. Any suggestions
please?
John
------------------------------
From: Joal Heagney <[EMAIL PROTECTED]>
Subject: Re: Building Kernel 2.4.5
Date: Mon, 04 Jun 2001 06:03:58 +1000
Jason Lott wrote:
>
> On Sun, 03 Jun 2001 21:11:43 +1000, Joal Heagney <[EMAIL PROTECTED]> wrote:
>
> >Hi everybody. I thought I'd learnt enough that things like this wouldn't
> >happen to me any more. *sighs*
> >Anycase, I've been trying to build kernel 2.4.5 on my Mandrake 7.2
> >system and I keep running into the same problems, once I get a
> >successful kernel, no matter what, my PS/2 mouse won't work.
> >Anycase, if anyone can give some suggestions?
> >
> >Joal Heagney/AncientHart
>
> Provided that everything is enabled correctly in the system bios, I have a somewhat
> unusual question, "what kind of mouse are you using"?
Just a simple Logitech PS/2 mouse. Nothing special about it really. I've
checked my XF86Config to see what type of mouse it's running as under
2.2, and yep, it's a PS/2. As an update, even with kernel 2.2 where the
mouse does work, catting /dev/psaux and /dev/mouse doesn't have any
effect, so maybe that wasn't such a terrific diagnostic.
Joal Heagney/AncientHart
------------------------------
From: Joal Heagney <[EMAIL PROTECTED]>
Subject: Re: Problem with Mouse Detection on Red Hat Linux 7.1
Date: Mon, 04 Jun 2001 06:05:35 +1000
Herbert Axelrod wrote:
>
> Dear Linux User Community,
> I am wondering if someone could give me some
> advice. I have installed Red Hat Linux 7.1.
> The installation proceeds well, and during
> the installation I can use my serial mouse
> without any problems. However, when the
> X-server starts after login,
> the mouse will not activate.Any advice is
> appreciated. Previously I had not experienced
> this problem with Red Hat Linux 6.1.
What type of mouse are you using? I have the same new problem with my
PS/2 mouse. Haven't found a solution though.
Joal Heagney/AncientHart
------------------------------
From: "sdrumm3" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.misc
Subject: Re: HELP: Boot failure after IDE drive reconfiguration
Date: Sun, 03 Jun 2001 20:18:10 GMT
> "Tinkering" sounds like you were trying to get it to do something it did
> not want to do (maybe for good reason).
Perish the thought (grin). No, actually, when I re-powered the system the
first time, it was evident the BIOS had re-designated the 19.5GB drive from
Drive 2 to Drive 1, resulting in the phantom drive phenomenon you mentioned.
Selecting Linux from System Commander's boot menu failed to boot the OS. I
removed and then re-installed system commander and it auto-detected
(correctly) the Linux drive and boot partition; however, the partition
failed to boot.
> > 1. Restore the original drive configuration, get Linux back up, and
make
> > some rescue disks so I can go back in later.
>
> Probably a good idea, so even if you find you have to move it down to hdb,
> you can go in and fix lilo.conf and fstab to point to the proper drive.
I've accessed the ext2 partitions from the HAL 91 boot floppy. They
identify and mount as drive hdc w/o problem. I'll be backing up /etc later
today. The ONLY anomaly I saw in the HAL 91 boot sequence was during the
partition check of drive hdc. The line for hdc included something like
[PART TBL xxx/yyy/zzz] where x, y, and z were numbers I didn't right down,
but could get later.
As I understand it, each drive maintains it's own partition table, right?
If so, the table shouldn't be affected by the removal or addition of another
IDE device.
> Can you access the CD-burner or DVD drive in current configuration?
Yep, as a matter of fact, both work as designed....under Windows.
I still haven't determine the specific problem, but my plan is to try a LILO
re-install off the RedHat CD after backing up the pertinent Linux config
files. I'm not sure if this will work, as /etc/lilo.conf seems correct
as-is. Any other suggestions?
Scott Drumm
[EMAIL PROTECTED]
------------------------------
From: Noble Pepper <[EMAIL PROTECTED]>
Subject: Re: ATA100 Card
Date: Sun, 3 Jun 2001 15:36:06 -0500
Reply-To: [EMAIL PROTECTED]
John L. Sielke wrote:
> OK, I decided I needed a bigger HSD, so I got a Quantum 40GB drive. My
> old PII 300Mhz had an onboard IDE interface, which wouldn't work with
> the new drive, so I go aSIIG UltraATA100 PCI card. Everything works in
> Windows, but Linux doesn't see the card or drive. I have been running
> Linux 6.2, (kernel 2.2.5) but tried
> installing RH 7.0 with the new HD, but it still didn't see it. Any
> suggestions please?
>
> John
>
>
>
How about looking through the messages in the newsgroup before posting?
>From 2001-05-29:
Even though this was written in the days of Ultra66 most of this works
with ATA100 too:
http://www.linuxdoc.org/HOWTO/mini/Ultra-DMA.html
------------------------------
From: Robert Parnes <[EMAIL PROTECTED]>
Subject: Lpr Print Error: No Spool Queue
Date: Sun, 03 Jun 2001 16:56:48 -0400
Using printtool and setting up a postscript printer, I get the following
error
message when running a test:
Status Information:
sending job 'bp@sam+962' to lp0@localhost
connecting to 'localhost', attempt 1
connected to 'localhost'
requesting printer lp0@localhost
job 'bp@sam+962' transfer to lp0@localhost failed
error 'NONZERO RFC1179 ERROR CODE FROM SERVER' with ack 'ACK_FAIL'
sending str '^Blp0' to lp0@localhost
error msg: 'lp0: no spool queue'
Printtool set up /etc/printcap as follows:
lp0:\
:sd=/var/spool/lpd/lp0:\
:mx#0:\
:sh:\
:lp=/dev/lp0:\
:if=/var/spool/lpd/lp0/filter:
I verified that lpd is running and that the spool directory and filter
exist. Running
lpq states, "Queue: no printable jobs in queue." I also tried to run a
print job,
lpr -Plp0 <test file>
and received the same error message. In addition, I ran checkpc -fpV. It
didn't
report any problems.
Thanks for any help.
--
Bob Parnes
[EMAIL PROTECTED]
------------------------------
** 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.setup.
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-Setup Digest
******************************