Linux-Misc Digest #660, Volume #25 Sun, 3 Sep 00 16:13:02 EDT
Contents:
Re: Mkisofs: How to create an empty ISO9660 image (Rod Smith)
Re: so what do I do with my spare CPU cycles? (Rod Smith)
Re: PPPd dies and ram not all found. ([EMAIL PROTECTED])
Re: Toshiba Libretto Screen size smaller than X window desktop (Grega Bremec)
Microsoft Linux ("Nelson Pulgar")
Re: dialup and a proxy server (David Efflandt)
Re: dialup and a proxy server ("F.E. \"Chip\" Sharp")
Partitions (Dux)
Re: Sony Vaio HE HS JE JS (David Efflandt)
Re: Partitions ("Peter T. Breuer")
Re: so what do I do with my spare CPU cycles? ("Sjoerd Langkemper")
Re: Partitions (Kris)
Display trouble ("Henriette Holm")
Various questions (Michael Beaucourt)
hdc: lost interrupt & drive not ready for command (David Efflandt)
Re: Partitions (Dux)
Is there a limit to the number of files in 1 directory? ("Dave T")
----------------------------------------------------------------------------
Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: Mkisofs: How to create an empty ISO9660 image
Date: Sun, 03 Sep 2000 17:16:49 GMT
[Posted and mailed]
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Otto Wyss) writes:
>> >to create an empty 650MB ISO image possibly with Joliet and RockRidge
>> >
>> What would the purpose be? iso9660 file system is a read-only file system,
>> so what would you do with an empty read-onoy file system
>>
> Mounted through the loop device, it is just as writeable as anything
> what's laying physically on a harddisk.
Unless I'm very much mistaken, the Linux ISO-9660 support is read-only,
so you're working under a very important and very false assumption. If
you've evidence that it's possible to write to an ISO-9660 image via the
standard (or even modified) ISO-9660 drivers, please elaborate.
> I want to organize my backup that way. Dropping anything to backup on
> this image and burning it to CDR when it's full. I know I could to the
> same with a backup directory except it's much easier to see when the
> image is full.
You might want to consider using a different filesystem. Try:
# dd if=/dev/zero of=ext2.img bs=1024 count=665600
# mkfs -t ext2 ext2.img
# mount -t ext2 ext2.img /mnt/backup
{copy files to /mnt/backup}
# umount /mnt/backup
# cdrecord {options} ext2.img
Linux is perfectly happy reading an ext2fs CD-ROM, so the above should
work. You could use other read/write filesystems in the same way --
vfat, reiserfs, etc.; but at the moment, ext2fs is probably best in
terms of good default support in Linux and support for important Linux
filesystem features. If you really want ISO-9660 (presumably with Rock
Ridge), you could do something like the above but then create an
ISO-9660 image file using mkisofs from the mounted ext2 image file.
There might be some increase or decrease in image size vs. the files in
the ext2fs image file, though. Another very similar option would be to
create a 650MB ext2fs partition in which you dump your to-be-backed-up
files, then create an ISO-9660 image from that partition's contents. (Or
you could burn the partition directly to CD-R, if you want to create an
ext2fs CD-R.)
--
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux & multi-OS configuration
------------------------------
Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: so what do I do with my spare CPU cycles?
Crossposted-To: comp.society.futures,sci.astro.amateur
Date: Sun, 03 Sep 2000 17:23:51 GMT
[Posted and mailed]
In article <8ottai$[EMAIL PROTECTED]>,
"Dan Jacobson" <[EMAIL PROTECTED]> writes:
> So what can I do with my extra CPU cycles? Any 'extra cycles for peace'
> to
> donate to [but I am not on-line all day]? When my 166Mhz computer is
> idle, it's such a shame to think that it could be solving some of my other
> problems, ... indeed I got more MIPS than Einstein would die for, and no
> good use for them....
There's always SETI-at-home (http://setiathome.ssl.berkeley.edu/), which
uses spare CPU cycles to process radio signals in search of
extraterrestrial intelligence. There are also various code-breaking
projects, but I don't have any URLs handy. Look for an explosion of
commercial spare-CPU systems soon. I read recently (I believe at
http://www.nytimes.com) about several startups that are or plan to pay
people to do little bits of big companies' number-crunching. At least
one plans to support Linux as a number-crunching host.
FWIW, when I run Linux, I run SETI-at-home using a "nice" level so I'm
sure it doesn't interfere with my own CPU needs. I've noticed no
slowdown in my system when I do this. In MacOS, SETI-at-home runs only
in screen saver mode, so I also notice no slowdown, but the SETI
software gets less CPU time. In Windows, it can run in screensaver-only
mode or in always-running mode. In the latter mode, I notice a definite
and severe slowdown of the system.
--
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux & multi-OS configuration
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: PPPd dies and ram not all found.
Date: Sun, 03 Sep 2000 10:49:01 -0600
In article <[EMAIL PROTECTED]>, Kyle Parfrey <[EMAIL PROTECTED]> wrote:
> Hi there ,
> I am using mdk 7.1 with a US Robotics 56k modem. whenever I try to dial in with
> kppp or gnome ppp "pppd dies unexpectedly" . Annoying. I didn't fill out the
> dns field or hostname for the provider, I didn't have to do this in caldera.
> Could this have caused it? If so is there a sort of "generic" ip for use in
> kppp, because I didn't need a special ip for kppp in caldera.
As root:
chmod a+s /usr/sbin/pppd
> Also MDK has only recognised 64mb of my 256mb ram. In the installation when it
> asked me what my ram was (found 64mb) I had entered 256 . If I install again
> how can I get all my ram to work??
As root edit /etc/lilo.conf. add the line (before read-only)
append="mem=256M"
Run /sbin/lilo and reboot. All is (should be) well.
If you want it to work right after the install and before you can
make the append statement, at the boot prompt:
linux mem=256M
See 'man lilo.conf' for more things you can try (and likely
mess up a few times).
------------------------------
From: [EMAIL PROTECTED] (Grega Bremec)
Crossposted-To:
comp.os.linux.hardware,comp.os.linux.portable,comp.os.linux.setup,uk.comp.os.linux
Subject: Re: Toshiba Libretto Screen size smaller than X window desktop
Date: Sun, 03 Sep 2000 17:48:09 GMT
...and Roger <[EMAIL PROTECTED]> used the keyboard:
>Hi.Im running Red Hat 6.0 on my Toshiba Libretto 100CT.
>The bottom of the desk top (x window) is below the screen.
>I cant acess the bar there.Can someone tell me how to configure?
>Thanks.
>roger.
/usr/X11R6/bin/xvidtune is the program you want. Start it on a plain X
server (best thing to do is to just use "Xwrapper &" and then
"xvidtune -display :0" from a text console. With it, you can modify
modelines so that they result a wider/narrower/taller/shorter video
area. When you're done, just squeeze the "Show" button and it will
produce the full modeline of the mode you're currently editing on the
console. You can then paste it into XF86Config from there - just be
careful to read your laptop display's specs so you won't burn it. :-)
Cheers,
--
Grega Bremec
[EMAIL PROTECTED]
http://www.gbsoft.org/
------------------------------
From: "Nelson Pulgar" <[EMAIL PROTECTED]>
Subject: Microsoft Linux
Date: Sun, 3 Sep 2000 13:37:17 -0400
Check this!!!!
www.mslinux.org
--
Nelson Pulgar Gonz�lez
[EMAIL PROTECTED]
Temuco
Chile
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Crossposted-To: alt.os.linux,alt.os.linux.dial-up,comp.os.linux.setup
Subject: Re: dialup and a proxy server
Date: Sun, 3 Sep 2000 18:20:09 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Sat, 2 Sep 2000 14:17:58 -0700, Steven L. Dahlin <[EMAIL PROTECTED]> wrote:
>Can anyone tell me if there is a product or a way to setup a proxy server
>with dial up capabilities, i.e., allowing anyone on my network to make a
>request and, if there is no current connection to the ISP, disl up and
>establish the connection. Earlier I tried diald but despite a lot of input
>from several and a lot of elbow grease I was unable to make it work.
>Currently I am using a product call WinProxy on an NT workstation that works
>like a charm. It was easy to setup and configure and has been easy to
>maintain. But I would certainly prefer to have a linux server in that role,
>but the pain and trouble of diald was too much.
I had diald working great in RH 5.2, including a Perl fifo to monitor and
control it. But I never could get it to work in RH 6.1. My
pppd-demand.txt file at http://www.de-srv.com/linux/ may be helpful for
getting demand pppd working.
You don't really need a proxy. There is a 3-liner in the IPCHAINS-HOWTO
that will get you up and running with ip masquerade. But you have to load
the ip_masq_ftp module to ftp through it. If you have a dynamic IP, you
may also have to plug a 1 into /proc/sys/net/ipv4/ip_dynaddr.
Note: I run my own caching DNS with zones added for my LAN (DNS-HOWTO) and
haven't tried demand pppd with a dynamic IP. It works fine with my laptop
on the LAN whether it is running Mandrake or Win98se.
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/ http://cgi-help.virtualave.net/
------------------------------
From: "F.E. \"Chip\" Sharp" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,alt.os.linux.dial-up,comp.os.linux.setup
Subject: Re: dialup and a proxy server
Date: Sun, 3 Sep 2000 13:28:36 -0500
I know a man that wrote a web based script that works off of a web page, and
a connect button, email [EMAIL PROTECTED] The man you need to
talk to is Chris Gonnerman, he may (or may not) charge you some nominal fee
(less than the price of a 12 pack of Bud I would imagine) for the source to
his program, but it works very well and I have seen it in action.
-Chip Sharp
Steven L. Dahlin <[EMAIL PROTECTED]> wrote in message
news:Jtds5.108$[EMAIL PROTECTED]...
> Can anyone tell me if there is a product or a way to setup a proxy server
> with dial up capabilities, i.e., allowing anyone on my network to make a
> request and, if there is no current connection to the ISP, disl up and
> establish the connection. Earlier I tried diald but despite a lot of
input
> from several and a lot of elbow grease I was unable to make it work.
> Currently I am using a product call WinProxy on an NT workstation that
works
> like a charm. It was easy to setup and configure and has been easy to
> maintain. But I would certainly prefer to have a linux server in that
role,
> but the pain and trouble of diald was too much.
>
> Thanks,
> Steve
>
>
------------------------------
From: Dux <[EMAIL PROTECTED]>
Crossposted-To: linux.help
Subject: Partitions
Date: Sun, 03 Sep 2000 19:41:09 +0100
I am trying to understand the partitioning with Lilo boot. I created my
Linux
partition without knowing exactly what I was doing. The other day a
friend bought
a P.C and I tried to install Linux, but I had troubles at the end of the
install,
couldn't set up Lilo boot or something. The problems I have are
understanding what the
various partitions are for and the sizes they need allocating to each.
Root, boot, swap, home etc.
Any help?
Thanks
Ian.
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Sony Vaio HE HS JE JS
Date: Sun, 3 Sep 2000 18:38:44 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On Sat, 02 Sep 2000 22:46:13 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
>Has anyone ever gotten the modem of Sony Vaio HE HS JE JS (K)
>notebooks to work with Linux?
Not unless there is something new on linmodems.org. My PCG-F450 has a
Rockwell controllerless modem and Conexant has not released a Linux driver
for it yet. So I use a Zoom pccard. Zoom doesn't really support Linux,
but the 2975 is a real modem, so it works as long as your pcmcia-cs is
3.1.10 or newer (older pcmcia-cs did not set irq properly with serial
change in newer kernels).
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/ http://cgi-help.virtualave.net/
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: linux.help
Subject: Re: Partitions
Date: 3 Sep 2000 18:48:43 GMT
Dux <[EMAIL PROTECTED]> wrote:
: couldn't set up Lilo boot or something. The problems I have are
: understanding what the
: various partitions are for and the sizes they need allocating to each.
: Root, boot, swap, home etc.
: Any help?
Read the Partition-HOWTO.
Peter
------------------------------
From: "Sjoerd Langkemper" <[EMAIL PROTECTED]>
Crossposted-To: comp.society.futures,sci.astro.amateur
Subject: Re: so what do I do with my spare CPU cycles?
Date: Sun, 03 Sep 2000 19:09:48 GMT
"Dan Jacobson" <[EMAIL PROTECTED]> wrote:
> So what can I do with my extra CPU cycles?
You could learn POV-Ray, which is making 3D images. POV-Ray is a program
which calculates and follows every raylight in your imaginary image and eats
CPU cycles like hell. If you are good in Pov-Raying, you can create a large
scene, or even a movie, which you can render at 800x600 pixels. That would
keep your PC running for a couple of hours. Of course, it isn't very
usefull, but it is more fun as searching for aliens!
Sjoerd
------------------------------
From: Kris <[EMAIL PROTECTED]>
Subject: Re: Partitions
Date: Sun, 03 Sep 2000 20:19:23 +0100
Dux writes:
> I am trying to understand the partitioning with Lilo boot.
> I created my Linux partition without knowing exactly what I
> was doing. The other day a friend bought a P.C and I tried to
> install Linux, but I had troubles at the end of the install,
> couldn't set up Lilo boot or something. The problems I have are
> understanding what the various partitions are for and the sizes
> they need allocating to each. Root, boot, swap, home etc.
Different partitions are mainly used in servers (and in the machines of
cautious home uses) because, for example, if the partition for, say,
/home is filled, that bit of the disk will be filled, but the rest of
the OS will be able to run fine since it'll be on it's own partition.
Here's an example...
the "/" partition (the root partition) can fill an entire disk if you
want. Say that you'll be testing out beta programs as a normal user, and
using the disk space within your home directory (/home/username). Since
the /home directory could be mounted on its own partition, that
partition is filled, but the other (root) partition, containing / and
everything else below it such as /var, /usr, and so on, isn't touched,
since only the /home partition is filled up.
Understand? I'm a crap explainer, but there ya go.
For home users, me included (I use a Linux server as a development
machine), most probably use just one big "/" partition and have a bit of
swap (I have 120megs of swap with a machine with 64Mb RAM, and the swap
space is never used).
HTH :-)
Kris
--
Kris | ab imo pectore | PGP: 0x34941A9F
F438 005B 9700 E14E 0B8F D3D7 C98E CF45 3494 1A9F
http://www.users.globalnet.co.uk/~dufas/
------------------------------
From: "Henriette Holm" <[EMAIL PROTECTED]>
Subject: Display trouble
Date: Sun, 3 Sep 2000 21:34:27 +0200
Hello.
I have just installed Redhat 6.2 on my Compaq LTE 5200, and I�m having a bit
of trouble with the display. I don�t know which monitor there is on the
computer so I pick the generic one, and then I can only have 8 bit 480*620.
The result is that the picture on the screen doesn�t take up the full size
of the monitor. What do I do? Does anybody know which monitor to pick in the
setup?
Henriette
------------------------------
Subject: Various questions
From: Michael Beaucourt <[EMAIL PROTECTED]>
Date: Sun, 03 Sep 2000 19:39:29 GMT
Hi all,
I have a webserver up and running that uses Redhat Linux 6.1. I have a few
questions about various things.
1. I have SSH installed on the server to administrate everything. I tried to
create a user that has no shell access but failed to do so. Everytime I use
this username and password I can login with SSH. How do i prevent a user
from having shell access? (I created the user with linuxconf)
2. As FTP service I use ProFTPD. Now when a user logs in and his directory
is /home/testuser he can browse into /home and /. How do I prevent a user
from going up in the directory tree. In other words, how can I only give him
access to his directory and subdirectories?
3. When installing the server, I tried to upgrade the kernel from version
2.2.12 to 2.2.16. I used the site
http://www.redhat.com/support/docs/howto/kernel-upgrade/kernel-upgrade.html
to perform the upgrade. The installation of the new kernel worked fine but
after the upgrade I couldn't perform any 'make' anymore. Apparantly the gcc
compiler was missing several variables and files. What is causing this
problem and how should I normally perform a kernel upgrade?
Any help is really appreciated. Thanks in advance.
Best Regards,
Michael Beaucourt
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: hdc: lost interrupt & drive not ready for command
Date: Sun, 3 Sep 2000 19:42:11 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
I noticed brief messages like this on the console when I came home a
couple of days last week. It is an old P100 box running an Evergreen
Specta400 (K6-2/400) since January. My original WD 2.1G drive was
defective (bad sectors), but this replacement has not given me any trouble
for years, and has not lost any data even during this trouble.
Note: hdc is my primary Linux drive, hdd is cdrom (empty), hdparm is set
to put hda and hdb to sleep after 30 minutes. I have been using hdparm
-c1 -m8 /dev/hdc for years, but any ide reset clears that anyway.
/var/log/messages has repeated errors like this.
Sep 3 08:45:26 efflandt kernel: hdc: status error: status=0x00 { }
Sep 3 08:45:26 efflandt kernel: hdc: drive not ready for command
Sep 3 08:45:27 efflandt kernel: ide1: reset: success
Sep 3 08:45:43 efflandt kernel: hdd: status timeout: status=0x80 { Busy }
Sep 3 08:45:43 efflandt kernel: hdd: drive not ready for command
Sep 3 08:45:43 efflandt kernel: hdd: ATAPI reset complete
Sep 3 08:45:43 efflandt kernel: hdc: status error: status=0x00 { }
Sep 3 08:45:43 efflandt kernel: hdc: drive not ready for command
And then ground to a halt with this:
Sep 3 09:07:45 efflandt kernel: hdc: status error: status=0x00 { }
Sep 3 09:07:45 efflandt kernel: hdc: drive not ready for command
Sep 3 09:07:45 efflandt kernel: ide1: reset: success
Sep 3 09:07:55 efflandt kernel: hdc: lost interrupt
Sep 3 09:12:25 efflandt kernel: hdc: lost interrupt
Sep 3 09:12:36 efflandt kernel: hdc: lost interrupt
Sep 3 09:12:36 efflandt kernel: hdc: read_intr: status=0x50 { DriveReady
SeekComplete }
Sep 3 09:12:46 efflandt kernel: hdc: lost interrupt
Sep 3 09:12:46 efflandt kernel: hdc: read_intr: status=0x50 { DriveReady
SeekComplete }
Sep 3 09:12:56 efflandt kernel: hdc: lost interrupt
Sep 3 09:12:56 efflandt kernel: hdc: read_intr: status=0x50 { DriveReady
SeekComplete }
Sep 3 09:13:07 efflandt kernel: hdc: lost interrupt
Sep 3 09:13:38 efflandt last message repeated 3 times
Sep 3 09:13:38 efflandt kernel: hdc: read_intr: status=0x00 { }
Since I couldn't shutdown, I hit the kill switch.
In the process of putting an old Linux drive in place of hdb (Win95), I
noticed that the grill between the plastic case and inlet fan was packed
solid with lint, which I removed. I e2fsck'd from another drive which
fixed some things, ran badblocks which found nothing wrong, and copied
some essential data to another drive. Now it has been back up and running
for hours like nothing happened.
Any idea what could cause a drive to suddenly start losing its interrupt?
I have been running SETI@home at nearly 100% cpu time (nice 19) since May
1999. Maybe lint packed up in front of the inlet fan got the box too hot.
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/ http://cgi-help.virtualave.net/
------------------------------
From: Dux <[EMAIL PROTECTED]>
Crossposted-To: linux.help
Subject: Re: Partitions
Date: Sun, 03 Sep 2000 20:48:17 +0100
"Peter T. Breuer" wrote:
> Dux <[EMAIL PROTECTED]> wrote:
> : couldn't set up Lilo boot or something. The problems I have are
> : understanding what the
> : various partitions are for and the sizes they need allocating to each.
> : Root, boot, swap, home etc.
>
> : Any help?
>
> Read the Partition-HOWTO.
>
> Peter
Unfortunately I cannot locate a Partition -HOWTO.
------------------------------
From: "Dave T" <[EMAIL PROTECTED]>
Subject: Is there a limit to the number of files in 1 directory?
Date: Sun, 3 Sep 2000 20:32:36 +0100
Is there a limit to the number of files you can have in 1 directory in
Linux.
I'm approaching over 50,000 files in 1 directory.
--
|---------------------------------------------------|
| Anti-Spam - Please reply to address below |
| Email Address : [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 (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
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
******************************