Linux-Misc Digest #438, Volume #27               Sat, 24 Mar 01 23:13:01 EST

Contents:
  Re: Partition Table (Svend Olaf Mikkelsen)
  Re: restricted bash shell question (Tom Hoffmann)
  Re: pdf (was: Best E-mail Client?) (Grant Edwards)
  LILO vs. loadlin ("Taavi Hein")
  Re: mouse roller? ("Taavi Hein")
  switchdesk problem... (ed)
  Re: ALSA problems (Peter Petersen)
  Re: ALSA problems (Peter Petersen)
  Re: Linux crash like a Windows! ("Kelledin")
  Re: Linux for a 486? ("green")
  mount isofs-files (peter pilsl)
  Re: *Good* Office software for linux??? (Carl Fink)
  Re: mount isofs-files (David Efflandt)
  Re: Best E-mail Client? (Johan Kullstam)
  Re: mount isofs-files (Dances With Crows)
  Re: Shutdown permissions (Steve Smith)

----------------------------------------------------------------------------

From: [EMAIL PROTECTED] (Svend Olaf Mikkelsen)
Subject: Re: Partition Table
Date: Sun, 25 Mar 2001 00:23:02 GMT

"David Griffith" <[EMAIL PROTECTED]> wrote:

>Does anyone here know what has gone wrong with my system.
>I have 1 20GB hd (IDE) partitioned into many smaller parts. Because windows
>went on first, i have a primary DOS partition and a secondary dos partition.
>Linux used to go
>
>hda1 hda2 <hda5 ......... > etc
> but since a reboot it finds hda1 and 2, but the extended partion appears
>empty. The kernel then panics as the root should be hda7.
>What has happened?
>Can I fix it?
>fdisk reports an inconsistency in partion table 5, but i darent 'fix' it in
>case it deletes what may be otherwise recoverable.
>I really need to get todays work off of it!
>
>Please help
>David Griffith

You can download Findpart at http://inet.uni2.dk/~svolaf/utilities.htm

do from DOS or Windows:

findpart all fp.txt

and post the content from fp.txt.

If data are important, the command should be run from boot to floppy,
and nothing written to the disk until the nature of the problem is
known. Especially if the data were in hda5.
-- 
Svend Olaf

------------------------------

From: [EMAIL PROTECTED] (Tom Hoffmann)
Crossposted-To: comp.os.linux.powerpc,comp.os.linux.security
Subject: Re: restricted bash shell question
Reply-To: [EMAIL PROTECTED]
Date: Sun, 25 Mar 2001 00:44:20 GMT

On Sat, 24 Mar 2001 13:38:23 -0700, Dave <dave@???.com> wrote:
[snip] ...

>I then set $HOME/bin as the only thing for PATH in >~/.bash_profile.

Did you export PATH after you set it???dd

------------------------------

From: [EMAIL PROTECTED] (Grant Edwards)
Subject: Re: pdf (was: Best E-mail Client?)
Date: Sun, 25 Mar 2001 00:50:48 GMT

In article <[EMAIL PROTECTED]>, John Thompson wrote:
>steve wrote:
>
>> >> > Perhaps they could get ghostscript, but they have stuff in
>> >> > Microsoft Word, not .ps, so how do they convert Word .doc files to
>> >> > .ps files so they can use ghostscript to convert that to .pdf?
>> >> Doesn't "Print to file" in Windows generate a postscript just like in
>> >> *nix?
> 
>> Yes a windoze user can simply print to file, creating a .prn file which
>> is MickeySoft's version of a .ps file. Then the user needs distiller to
>> create the pdf. It's expensive btw, but very useful, especially if one
>> often needs to send documents out for approval and one wants the
>> formatting to be exact. That's something even different versions of
>> Word can't do btw [keep formatting exact].
>
>It doesn't have to be expensive.  There is a Windows version of
>ghostscript that can convert postscript printer file output to
>.pdf format.

That's probably too complicated for the average Windows user.  Unless they
can pick it the same as any other "printer" (like you can w/ distiller),
it's probablly beyond 90% of Windows users.  :(

-- 
Grant Edwards                   grante             Yow!  Why am I in this ROOM
                                  at               in DOWNTOWN PHILADELPHIA?
                               visi.com            

------------------------------

From: "Taavi Hein" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: LILO vs. loadlin
Date: Sat, 24 Mar 2001 23:45:50 +0200

#the questions are marked with '***' (three asterisks)
#the other stuff is here only to make the message longer ;)

My computer was/is running W98SE (oem), and I installed RH7 on top of it,
conf. as follows:

/dev/hda1 -- W98 -- fat32 -- 10GB
/dev/hdb  -- CDROM -- iso*
/dev/hdc1 -- Linux -- ext2fs -- 20GB
/dev/hdd5 -- file archive -- fat32 -- 2GB
+swap

When I started the install, I switched drives for BIOS to boot to Linux (on
/dev/hda - the only option available - referred to as drive C: in BIOS) ,
where I planned to install LILO(for more information look at the table
below) and everything worked fine, until I tried LILO to boot W98, then it
hanged, saying booting windows...

The trouble seemed to be, that W98 would only boot as /dev/hda (primary
master), so I switched the drives back. Now, not wanting to install LILO in
/dev/hda (it being a windoze drive and all), I set up W98 to display boot
menu with choices, which OS to boot - using loadlin.exe to boot Linux.
Command to invoke Linux is as follows: "shell=c:\loadlin\loadlin.exe
c:\loadlin\vmlinuz2 mem=128M root=/dev/hdc1 ro"

*** The questions are: "If I installed LILO on /dev/hdc1 (currently on
/dev/hdc (MBR) as installed since the drive was /dev/hda), booted to Linux
using loadlin.exe, would it first run LILO (for kernel testing etc.) and use
the kernel image defined there, or would it still use the kernel image on
/dev/hda1 (W98 drive - for loadlin.exe to find it)? Would it be worth the
hassle, or should I just copy a new compiled kernel image to the appropriate
directory on /dev/hda1 and rewrite the startup menu?"

TABLE1:
"which drives were where" aka 'changelog'
===
at first i had only w98
---
/dev/hda1 -- W98 -- fat32 -- 10GB
/dev/hdd  -- CDROM -- iso*
/dev/hdc5 -- file archive -- fat32 -- 2GB
===
bought a hd and installed rh7
---
/dev/hda1 -- Linux -- ext2fs -- 20GB
/dev/hdb5 -- file archive -- fat32 -- 2GB
/dev/hdc1 -- W98 -- fat32 -- 10GB
/dev/hdd  -- CDROM -- iso*
+swap
===
switched the drives back
---
/dev/hda1 -- W98 -- fat32 -- 10GB
/dev/hdb  -- CDROM -- iso*
/dev/hdc1 -- Linux -- ext2fs -- 20GB
/dev/hdd5 -- file archive -- fat32 -- 2GB
+swap

--
Taavi Hein
Registered Linux user #209546
[EMAIL PROTECTED]



------------------------------

From: "Taavi Hein" <[EMAIL PROTECTED]>
Subject: Re: mouse roller?
Date: Sun, 25 Mar 2001 00:49:18 +0200

Sudhakar R. wrote: "Is it possible to get the mouse roller working under RH
7.0. If so, how do i got about it."

Depends on what type of mouse you have ... try 'mouseconfig'
I have a Logitech Wheel Mouse ("M-S48a" or smth.), and the "logitech
mouseman+" setting worked for me. I guess "microsoft intellimouse" should
work for Micro$oft Intellimouse, etc. You can just play around with the
settings.

NB! it is important to set up the port type right (serial/usb/ps2), if you
screw this up (assuming you use graphical login screen - it won't start if
it doesn't find a mouse at the specified port), you should type 'linux 3' at
LILO prompt, to get to console login screen, where you can run 'mouseconfig'
again, and then 'init 5' to get back to graphical login screen.

--
Taavi Hein
Registered Linux user #209546
[EMAIL PROTECTED]



------------------------------

From: ed <[EMAIL PROTECTED]>
Subject: switchdesk problem...
Date: Sat, 24 Mar 2001 19:10:00 -0600

I'm running rh7 and initially installed it with kde as my default
   desktop manager. I then used switchdesk to change to gnome to try it.
I
   prefer kde and used switchdesk to select kde. I logged out and used
   startx again but gnome is now my desktop manager. I tried to find a
file
   that I could edit to get back to kde but am having no luck. Can
anyone
   point me to an .rc file or another file that I can access to cure the

   problem? thanks in advance...

   Ed





------------------------------

From: Peter Petersen <[EMAIL PROTECTED]>
Subject: Re: ALSA problems
Date: Sun, 25 Mar 2001 03:16:35 +0100

Hi!


Bart Friederichs <[EMAIL PROTECTED]> schrieb:

>> I didn't have those problems with 2.2.14, it just began with this kernel
>> 2.4.2.
>Aha, maybe I'll stumble into the same problems then, when I try to
>upgrade. Although I am pretty happy with 2.2.16, runs on my server too.

You know... if it is not broken... etc. :)
So if you are satisfied with 2.2.16, just stay with it.


>> - Do you have midi (without timidity)?
>I think MIDI is not worth trying.

I don't agree. :) But then again it's just me liking those midi
things.


>> - If you happen to be a gamer, do you have sound in quake1/2/3?
>Nope, not a gamer, sorry.
>
>Sorry I couldn't help.

No problem, I am glad when people answer.


Regards
Peter

------------------------------

From: Peter Petersen <[EMAIL PROTECTED]>
Subject: Re: ALSA problems
Date: Sun, 25 Mar 2001 03:17:14 +0100

Hello!


Dave Phillips <[EMAIL PROTECTED]> schrieb:

>> Each and every system boot resets the mixer channels to "mute", since
>> alsasound complains that no soundcard "snd-card-0" is found, more
>> exactly it is alsactl that gives that message and that it cannot set
>> any mixer settings therefore.
>> 
>> But despite this "no soundcard found" message, I do have sound!?
>> Only that each and any time the channels get muted again.
>
>Yes, that is the default behavior for ALSA. Jaroslav believes (and I
>agree) that it's much safer than supposing some average setting for each
>and every soundcard. It also prevents naive users from inadvertently
>blowing up their speakers. :)

Yes, I see that this is a good idea.
But what I mean is that even once the mixer settings are fixed to some
values by me, the next time I boot they are gone. So though the driver
gets loaded, something goes wrong with alsactl (and this was NOT so
with my kernel 2.2.14).


>I think what you want to do is: Open your system, unmute and set your
>channels, then run 'alsactl store'. That will set your changes
>permanently.

Sorry, doesn't work here; if I run "alsactl store" I get a message:
"no soundcards found" (although I do have sound!).
If, however, I say "alsactl store 0", it reads: "cannot find soundcard
'0'". And this happens for whatever number or name I choose for the
soundcard (snd-card-0, card0, via686, whatever I chose).


>Btw, I note that your /etc/modules.conf includes a 'alsactl restore'
>statement. You may want to remove that if the problem persists.

tried it, with no luck


>> A second problem is that ALSA doesn't give me sound in any of the
>> quake games (except quakeforge's quakeworld which I could compile for
>> SDL sound output). Furthermore, midi doesn't work directly, only by
>> intervention of timidity, but I can live with that.
>
>See the README in the driver package:
>
>Sound Blaster 16/AWE
>--------------------
>    Quake and other OSS/Free programs should abort with 'Segmentation
>fault' or other errors. This is due to ALSA driver isn't able support
>8-bit or 16-bit sample wide for mmaped (direct) access at some time 
>(this depends if some other application isn't using record or playback
>direction). For normal access ALSA driver does sample width conversions.
>You can try use different sample width for these programs.
>(END) 

Yes, I know this. But I just wanted to hear about people getting sound
in some way, using the kernel drivers or some beta ALSA drivers, or
whatever.
But it looks like there is no chance of getting quake sound at the
moment. If only I could get someone to code SDL sound output for quake
(I participate in quakeforge mailing lists and already talked about
this), because SDl sound output is there for quakeworld and works for
me, but no one did it for singleplayer quake (not to mention quake2,
which is not part of quakeforge).


>When you say that MIDI doesn't work directly, what do you mean ? I
>notice from your reports that you have MPU-401 capability, that means
>you have a working external MIDI port. Or does your chipset have an
>on-board synth that you wish to access ? If that's the case, ALSA may
>not yet support it. You're right though, TiMidity is a fine solution for
>such cards.

I thought of using on-board synthesis (since it works with VIA AC97
under windows and under pure dos), just to get the most complete sound
support under linux as well. But this is not really much of an issue,
for, as I told you, timidity sounds way better under windows as well!

And it can be a problem with midi in games; fortunately prboom/glboom
offers timidity integration, so that's phantastic!


>> Please, don't recommend the 2.4.2. kernel modules instead of ALSA...
>
>I wouldn't dream of it...  ;)

Yeah!
I was thinking of people with VIA AC97 who talk about having perfect
sound, whereas this doesn't seem to work for me in any way.


>I hope that helps somewhat. If you continue to have difficulties with
>the driver I suggest joining the ALSA users mailing list. Details are on
>the ALSA site.

Yes, this may be worth it, I have already been reading archived
articles there for quite some time now.


Thanks for your time
Peter

------------------------------

From: "Kelledin" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.slackware,linux.dev.kernel
Subject: Re: Linux crash like a Windows!
Date: Sun, 25 Mar 2001 01:18:19 GMT

There's supposedly a BadRAM patch out there that works around this
problem.  Even if you've already gotten some non-faulty RAM, it's
a good idea to apply this patch, just to make your system even more
stable.

Check it out at http://webrum.uni-mannheim.de/math/schmoigl/linux/



------------------------------

From: "green" <[EMAIL PROTECTED]>
Subject: Re: Linux for a 486?
Date: Sun, 25 Mar 2001 11:32:04 +1000


"Troy Loveday" <[EMAIL PROTECTED]> wrote in message
news:99g8i4$8jt$[EMAIL PROTECTED]...
> green <[EMAIL PROTECTED]> wrote:
> >I just got peanut loaded on mine with kde.
>
> >netscape chrashes it.
>
> >but the kde html prog works ok.
>
> >16mb ram, 486 dx/4 100 33mhz bus 200mb disk, tvga 9800c svga card, svga
> >monitor.
>
> >don't give up it's possible.
>
> I'm still fairly satisfied running an ancient Slackware distribution
> (Linux kernel 1.2.13) on a 486 DX/2 66 w/ 32 MB RAM.  It runs X
> decently.  Netscape is no problem (though it takes a few seconds to
> load).
>

yes theres nothing wrong with slack. I used Tiny wich is a small slack 4
distro
for a while and plan to put it on another computer. I had trouble setting up
a window manager
though. library problems. but i hope to solve that soon.





------------------------------

From: peter pilsl <[EMAIL PROTECTED]>
Subject: mount isofs-files
Date: Sun, 25 Mar 2001 03:39:01 +0200


I created a isofs-file (with mkisofs) and now want to mount it directly 
from the file. I know there is an easy way, but I dont find it. (man mount 
is no help)

Is there a way to create an 'empty' isofs-container, mount it and then 
fill it with files.

The problem: I have a lot of bigger and smaller files in various 
structures that needs to be burned on a cd-set. Compiling the sets is a 
difficult task (I dont want to waste much space on a cd) and it would help 
me to mount all the files and then sort the files in ....

thnx,

peter

-- 
pilsl@
goldfisch.at

------------------------------

From: [EMAIL PROTECTED] (Carl Fink)
Subject: Re: *Good* Office software for linux???
Date: 25 Mar 2001 02:49:46 GMT
Reply-To: [EMAIL PROTECTED]

On Sat, 24 Mar 2001 23:58:33 GMT Grant Edwards <[EMAIL PROTECTED]> wrote:

>The import filters aside, it's IMO definitely the best office suite for
>Linux.  (Like I said, I haven't tried the new Corel Office/Wine combo, but
>I don't have high hopes for it.)

It's faster than StarOffice and has a better UI to my taste, but the
implementation is so buggy as to make it unusable (for me).  Their
port of PhotoPaint isn't half-bad, though.
-- 
Carl Fink               [EMAIL PROTECTED]
I-Con's Science and Technology Programming
<http://www.iconsf.org/>

------------------------------

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: mount isofs-files
Date: Sun, 25 Mar 2001 03:06:38 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]

On Sun, 25 Mar 2001 03:39:01 +0200, peter pilsl <[EMAIL PROTECTED]> wrote:
>
>I created a isofs-file (with mkisofs) and now want to mount it directly 
>from the file. I know there is an easy way, but I dont find it. (man mount 
>is no help)

You mount it on a loop device if your kernel has support or module for
that.  For example from the CD-Writing-HOWTO:

mount -t iso9660 -o ro,loop=/dev/loop0 cd_image /cdrom

>Is there a way to create an 'empty' isofs-container, mount it and then 
>fill it with files.

An iso file is like a cdrom, you can read it, but cannot write to it when 
mounted on a loop.

>The problem: I have a lot of bigger and smaller files in various 
>structures that needs to be burned on a cd-set. Compiling the sets is a 
>difficult task (I dont want to waste much space on a cd) and it would help 
>me to mount all the files and then sort the files in ....

I thought of a ramdisk or ramfs, but that would not hold a whole cd unless
you had alot of RAM.  I guess you could use symlinks to gather everything
into one dir for the mkisofs.

-- 
David Efflandt  [EMAIL PROTECTED]  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://cgi-help.virtualave.net/  http://hammer.prohosting.com/~cgi-wiz/

------------------------------

Crossposted-To: comp.os.linux.setup,comp.os.linux.networking
Subject: Re: Best E-mail Client?
From: Johan Kullstam <[EMAIL PROTECTED]>
Date: Sun, 25 Mar 2001 03:11:06 GMT

John Beardmore <[EMAIL PROTECTED]> writes:

> In article <[EMAIL PROTECTED]>, Dowe Keller
> <[EMAIL PROTECTED]> writes
> >On Fri, 23 Mar 2001 13:20:17 GMT, Grant Edwards <[EMAIL PROTECTED]> wrote:
> 
> >In a world with LaTeX, SGML and Texinfo, why do some people still
> >insist on doing things the *HARD WAY*?
> 
> The LaTeX world sounds like rather hard work compared to WISIWIG.

but things like ms-word are *not* WISIWIG.  there is a lot of
formatting which changes font, margins &c.  all of this is invisible
since you don't see it on the page.  it's lots of fun working around
these unseen land mines.

> What's the SGML scene like ?  What's the over all aim and to what
> extent is it achieved ?
> 
> Does SGML offer a tidy way to author for the web and paper from the
> same 'source code' ?  If so, where do you start ?
> 
> 
> Cheers, J/.
> -- 
> John Beardmore

-- 
J o h a n  K u l l s t a m
[[EMAIL PROTECTED]]
Don't Fear the Penguin!

------------------------------

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: mount isofs-files
Reply-To: [EMAIL PROTECTED]
Date: 25 Mar 2001 04:01:34 GMT

On Sun, 25 Mar 2001 03:39:01 +0200, peter pilsl staggered into the Black
Sun and said:
>I created a isofs-file (with mkisofs) and now want to mount it directly 
>from the file. I know there is an easy way, but I dont find it. (man mount 
>is no help)

You didn't read the man page very well, then.

mount -t iso9660 /path/to/file.iso /mnt/mountpoint -o loop

>Is there a way to create an 'empty' isofs-container, mount it and then 
>fill it with files.

No.  ISO9660 filesystems are *ALWAYS* read-only.  An ISO9660 filesystem
is generated with a fixed size, and there is no provision for adding
directory entries or any of the things that you generally need to do
when writing to a normal filesystem.  See the mkisofs source code or the
ISO9660 standard for details.  Programs like Sleazy CD Cremator that let
you "mount an ISO9660 filesystem read/write" are doing some clever
fakery behind the scenes.

>The problem: I have a lot of bigger and smaller files in various 
>structures that needs to be burned on a cd-set. Compiling the sets is a 
>difficult task (I dont want to waste much space on a cd) and it would help 
>me to mount all the files and then sort the files in ....

Programs like XCDRoast and gcombust have a reasonably good GUI frontend
to mkisofs, or you could read the man page for mkisofs and find out what
you need to do yourself.  I suggest the XCDroast route if you need to do
anything more complicated than "put all the files in directories X, Y,
and Z into the ISO9660 image".  HTH,

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /  Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com     /   Workin' in a code mine, whoops!
=============================/    I hit a seg fault....

------------------------------

From: Steve Smith <[EMAIL PROTECTED]>
Subject: Re: Shutdown permissions
Date: Sat, 24 Mar 2001 21:07:02 -0700

I'm under the impression I tried this, but I will check.
Thanks,
Steve

Dances With Crows wrote:

> On Fri, 23 Mar 2001 21:15:08 -0700, Steve Smith staggered into the Black
> Sun and said:
> >We have a standalone PC at home running both Suse 7.1 Linux and Windows
> >ME. We use KDE on Linux, with the default graphical login manager.
> >
> >Since this is at home, it would be nice if pushing the "shutdown" button
> >
> >on the graphical login manager would allow anyone to shut the machine
> >down. Unfortunately, I can't figure out how to do this. Pushing this
> >button requires entering the root password before shutdown will occur.
> >
> >/etc/shutdown.allow sounded like a good possibility, but it doesn't seem
> >to do
> >the job. The man page implies that you have to be logged in and have
> >permission in the shutdown.allow file. No one is logged in when the
> >graphical login manager is up.
> >
> >Any suggestions of what to do or what to read to figure this out will be
> >greatly appreciated.
>
> Log in to X as root.
> KDE Control Panel -> Login Manager
>    One of the options here is "allow to shutdown."  You can set this to
> "root only", "console only", or "all".  I set mine to "console only",
> but "all" will also work.  HTH,
>
> --
> Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
> Brainbench MVP for Linux Admin /  Workin' in a code mine, hittin' Ctrl-Alt
> http://www.brainbench.com     /   Workin' in a code mine, whoops!
> -----------------------------/    I hit a seg fault....


------------------------------


** 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
******************************

Reply via email to