Linux-Misc Digest #828, Volume #19 Mon, 12 Apr 99 20:13:13 EDT
Contents:
Re: [LILO] Trying to boot, just get "L 01 01 01 01 01 01 01 01 01 01 01..."
([EMAIL PROTECTED])
Re: 3com / US robotics 56K (Mark Nielsen)
Re: CD-RW and Linux (jik-)
Re: Compiling for x86 CPUs (Was: ... seperate "i686" tree for Redhat ...) (StatiK)
Re: CD-RW and Linux (jik-)
Re: Apache and CGI-BIN (L J Bayuk)
Re: Why Linux still isn't my standard boot-up OS, or what are the Linux-equivalents
for these Windoze programs? (Harry)
Re: Internet site grabber for Linux? (Jean-Francois Landry)
Re: KDE:something missing!!! ("Chris Sykes")
Re: Looking for User statistics (Gary Momarison)
Shell Scripts (Timothy M Bryant)
Re: Moving Linux... (Gary Momarison)
Deleted partitions !! HELP! ("Roelof Jansen")
Re: Where's the source code? (Bill Anderson)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup
Subject: Re: [LILO] Trying to boot, just get "L 01 01 01 01 01 01 01 01 01 01 01..."
Date: 12 Apr 1999 16:48:10 -0400
[EMAIL PROTECTED] (Alex Taylor) writes:
>
> I just installed Debian 2.1 on my system (Asus P2B, BT-958 SCSI, two
> UW-SCSI hard drives & LS-120 on hda), and I can't seem to upgrade the kernel.
>
> I compiled a new kernel, tried creating a boot disk. A plain ("dd")
> boot disk refuses to even start booting, a LILO boot disk gets as far as
> "LI", and now I've rendered Debian unbootable by trying LILO on the hard
> drive.
>
> LILO is configured to install on /dev/sdb4 (my Debian partition), as
> I use OS/2 Boot Manager as the primary loader. The partition is just over
> 4 Gb in size.
>
> When I ran lilo -v on the new kernel, I got a warning that BIOS device 0x82
> might not be accessible.
>
> Then when I tried to boot, as soon as I chose Linux from Boot Manager, I
> got
>
> L 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 ...
>
> ad infinitum.
>
Sounds as though you didn't get support for your BT-958 in your kernel. Do
you have boot disks from your original Debian install?
Robert McBroom [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Mark Nielsen)
Crossposted-To: comp.os.linux.hardware,comp.os.linux.help
Subject: Re: 3com / US robotics 56K
Date: 12 Apr 1999 15:06:57 -0400
>The problem is that I can't find any of these being sold anywhere. The
>closest model number I can find is 1787, and I can't find any technical
>details that tell if this one would probably be compatible, too. I'm curious
>if anyone else out there has had any success with this model.
>
>Also, if you know of another 56K modem that works well with linux, I wouldn't
>mind hearing about that, either.
Well, I try not to plug my company when responding to questions, but...
I sell a $50 egenric modem Internal ISA that you can jumper.
I also sell USR internal for $84.
An external one for less than $100.
If you use an external one, just attach it to one of your serial ports.
MArk
--
Mark Nielsen "Where 98 has no meaning."
www.tcu-inc.com [EMAIL PROTECTED]
The Computer Underground, Inc. 614-485-0506
computers, programming, networking, Perl, PHP, SQL, HTMl, Linux, Unix
------------------------------
Date: Mon, 12 Apr 1999 13:06:06 -0700
From: jik- <[EMAIL PROTECTED]>
Subject: Re: CD-RW and Linux
> I assume you have SCSI emulation support turned on in your kernel. If you
> don't hava SCSI CD support, you will need to turn that on as well, and
> recompile.
Thanks, it was the sr_mod I was missing, and I was trying for /dev/hdd
or /dev/sga instead of scd0. Now it works great thanks a bunch.
------------------------------
From: [EMAIL PROTECTED] (StatiK)
Crossposted-To:
alt.linux,alt.os.linux,comp.os.linux.development.system,comp.os.linux.hardware
Subject: Re: Compiling for x86 CPUs (Was: ... seperate "i686" tree for Redhat ...)
Reply-To: [EMAIL PROTECTED]
Date: Mon, 12 Apr 1999 22:02:32 GMT
Buy another Pro / P][ and get rid of the dx2!!
StatiK
On 12 Apr 1999 14:28:40 +0200, Urs Thuermann
<[EMAIL PROTECTED]> wrote:
>Johan Kullstam <[EMAIL PROTECTED]> writes:
>
>> -mcpu=i686 makes the compiler schedule for a i686 core. it uses only
>> the i386 instruction set.
>>
>> -march=i686 enables usage of i686 instructions like cmov (which did
>> not exist on i[345]86. it also implies cpu=i686.
>>
>> if you compile with -mcpu=i686, then yes, it would work with any of
>> intels 32bit x86 cpus. however, by using -march=i686 you will
>> introduce new op-codes which are not implemented on previous
>> processors.
>>
>> based by my own experience with compiling various things with egcs
>> on a pentiumpro, it is not very important for performance no matter
>> what the cpu or arch settings are so long as you avoid pentium.
>
>
>Could someone give some more details about this whole story, please?
>I seem to have problems with this issue since a few days.
>
>I have a Pentium II running in my server machine (which has only a
>Herkules Video card and an Atari ST attached to the serial port) and a
>i486dx2 in my diskless client running Linux and X11.
>
>Both machines run the same 2.0.36 kernel image, the diskless machine
>has its own /tftpboot dir on the server and shares the /usr with the
>server (it mounts /usr read-only, though).
>
>I run egcs-1.1.2 and gcc-2.7.2.3 which have both configured themselves
>as a i686-pc-linux-gnu native compiler. What kind of code will these
>produce if called without any -m... option? How should I invoke egcs
>and gcc-2.7.2.3 to compile with maximum performance on i686 but with
>the constraint that the code should also be executable on i486?
>
>
>
>The problem I am observing is this: With egcs configured as described
>above I compiled the glibc-2.1. When I copy /lib/lib*2.1.so and the
>other glibc-2.1 files to the diskless' /tftpboot directory, the
>diskless i486 won't boot anymore. The statically linked /sbin/init
>seems ok, but (at least) the agetty's die immediately with an SIGILL
>(illegal instruction). So I assume, glibc-2.1 is compiled in a way by
>egcs so that it only runs on i686. This may, however, also be caused
>by glibc itself. glibc-2.1 configured itself as i686-pc-linux-gnu
>also, and obviously has code for this case, which is i686-specific,
>e.g. in glibc-2.1/sysdeps/libm-i387/i686/s_fdim.S there are
>fcomi/fucomi instructions. I think I read in this thread that these
>instructions exist only on the i686, right?
>
>What target should I specify to the glibc configure script? I guess
>i486-pc-linu-gnu does't what I want, right?
>
>However, then some i686 optimized routines are not used, although
>AFAICT based on my little x86 knowledge, these seem to run on other
>CPUs as well. For example
>glibc-2.1/sysdeps/unix/sysv/linux/i386/i686/sysdep.h.
>
>Maybe some pretty solution would be to have the i686-specific code in
>the lib and have an exception handler on the i486 that emulates the
>missing instructions, i.e. similar to the kernel's i387 emulation.
>Does something like this exist and how much performance loss would
>this cause compared to regular i486 code?
>
>
>
>And what about the kernel? The 2.0.36 config help files state that
>a kernel compiled for i486, pentium, or pentium pro will run on every
>cpu except i386. But in 2.2.5 this has changed and it is stated that
>code compiled for one CPU will not neccessarily run on a previous
>CPU. Is this due to compiler options or because of different inline
>assembly routines? I've looked at the make output and even if PPro
>is selected, the compiler is called with -m486, but -D586 is changed
>to -D686, so I assume some #ifdef selects between different inline
>assembly code, that will possibly not run on all ix86 CPUs.
>
>But what sense does the -m486 make, if the code does not necessarily
>run on an i486 anyway?
>
>
>
>OK, many questions and assumption in this posting. Can someone sched
>some light on all this and answer/correct/acknowledge.
>
>
>
>urs
>
>
>P.S. I have removed the linux.redhat.misc group from the Newsgroups
> line.
------------------------------
Date: Mon, 12 Apr 1999 13:49:18 -0700
From: jik- <[EMAIL PROTECTED]>
Subject: Re: CD-RW and Linux
I have the audio setup from the cd-rw drive.....I played a cd from it
with workman before I did the scsi emulation thing and it worked
fine.....as a scsi device it playes at very high speeds. Is there a way
to fix that?
I tried using sga, but that didn't work (apperently /dev/sga is just for
writing?) even after I chmod 666 /dev/sga
bash$ sudo lsmod
Module Size Used by
sr_mod 15992 0 (unused)
ide-scsi 6640 0
sg 3732 0 (unused)
scsi_mod 35564 3 [sr_mod ide-scsi sg]
ppp_deflate 39348 0 (autoclean)
bsd_comp 3504 0 (autoclean)
ppp 17544 2 [ppp_deflate bsd_comp]
slhc 4148 1 [ppp]
parport_pc 4904 1 (autoclean)
lp 4232 0 (unused)
parport 6540 1 [parport_pc lp]
vfat 11348 1 (autoclean)
fat 24656 1 (autoclean) [vfat]
kernel 2.2.3
HP CD-Writer Pluss 7200i
Its 6x read, so maybe the scsi device can't deal with that? Is there a
way to slow that down?
------------------------------
From: [EMAIL PROTECTED] (L J Bayuk)
Subject: Re: Apache and CGI-BIN
Date: 12 Apr 1999 22:06:48 GMT
[EMAIL PROTECTED] wrote:
>I've recently installed a Red Hat 5.0 Linux distribution on my Pentium.
>I've also downloaded the Apache Web Server (1.3.6) from www.apache.org.
>I've managed to fire-up netscape and load the local page "index.html-"
>via
>"http://localhost/index.html". I decided to be adventurous and explore
>CGI-BIN so I
>wrote a simple bash based "test.cgi". When I placed the file under
>"/home/httpd/cgi-bin" and tried to execute it via netscape
>"http://localhost/test.cgi?par=nothing"... I got a file not found error!
>
>So I copied the file to "/home/httpd/html"... and this time it found it
>but it merely showed the contents of the file, not the actual execution
>output.
>
>The file "test.cgi" contains:
>
> #!/bin/bash
> echo "<HTML>"
> echo "<BODY>"
> echo "Hello World!"
> echo "</BODY>
> echo "</HTML>
>
>I have two questions:
>
> 1) Why do I get the file not found error when I place the file under
>"/home/httpd/cgi-bin"?
> 2) Why do I get the content of the file as opposed to the execution
>result when I put the
> file under "/home/httpd/html"?
I recommend a good book on Apache/HTTP/CGI, like ORA's "Apache
The Definitive Guide".
1) http://localhost/cgi-bin/test.cgi would work, provided you have
a ScriptAlias command in the Apache config.
2) Because it wasn't in a ScriptAlias'ed directory.
3) Won't work anyway; CGI scripts have to produce at least a little header
with the Content-type and a blank line.
------------------------------
From: Harry <[EMAIL PROTECTED]>
Subject: Re: Why Linux still isn't my standard boot-up OS, or what are the
Linux-equivalents for these Windoze programs?
Date: Mon, 12 Apr 1999 18:15:18 -0400
>>>Which couldn't be done at all with a GUI. And nothing close
>>>to it can either.
>>
>>Really? I'm sure I could build a dialog to do _just_ that! The
>>simplest one would be a command button that links to the
>>abomination plus a few text boxes for options.
>>
>And how long would it take you. A darn sight longer than just
>typing that line into a script (or directly onto the command
>line) I would suggest.
Thanks for snipping the bit where I said that I wasn't advocating
the use of a GUI for everything - especially as it answers your
own point (how often are points pre-answered?).
To answer your question, with Visual Basic it would take me
less than five minutes to build the application comprising one
command button and one even handler. Whether this is time well
spent depends on how often it takes to type the abomination and
how often it's used.
Harry
------------------------------
From: [EMAIL PROTECTED] (Jean-Francois Landry)
Subject: Re: Internet site grabber for Linux?
Reply-To: [EMAIL PROTECTED]
Date: Mon, 12 Apr 1999 22:32:21 GMT
Once upon a time, Jan Panteltje <[EMAIL PROTECTED]> wrote:
>>Is there an Linux application/program to grab a internet site of the web?
>>Any suggestions welcome.
>>
>>Regards
>> Jens Sigersted
>>
You might want to take a look at wget. It's available prepackaged for Debian and
probably all other distros. If not, search for it on the net, it's somewhere.
Have fun,
Jean-Francois Landry
--
"Sendmail is the sort of tool that gave UNIX its bad reputation. It is
badly designed, its documentation is completely obtuse, and it is
absolutely essential."
--- System Performance Tuning,
O'Reilly & Associates, Inc.
--
------------------------------
From: "Chris Sykes" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.x,linux.redhat.misc
Subject: Re: KDE:something missing!!!
Date: Mon, 12 Apr 1999 23:06:51 +0100
The guys/gals at comp.windows.x.kde are the people to ask wrt KDE.
Chris
AlexAndre wrote in message <[EMAIL PROTECTED]>...
>Hi!
>When I boot I don't see the kde on the screen ...
>What I did I went to /home where I found .xinitrc
>I clicked on .xinitrc " et voila " kde !beautifull!!
>But I got this message:# ./.xinitrc
>Using old audio server with talk id 3
>
>kpanel:waiting for windowmanager
>kwm: it looks like there's already a window manager runing. kwm not
>started
>End of message.
>
>Info:RedHat 5.2
>Can you please help me.
>Many thanks!
>[EMAIL PROTECTED]
>
>
>
>
>
------------------------------
From: Gary Momarison <[EMAIL PROTECTED]>
Subject: Re: Looking for User statistics
Date: 12 Apr 1999 15:37:55 -0700
"VICTOR WU" <[EMAIL PROTECTED]> writes:
> Hello Linux fans,
>
> I am now working on a project trying to pursuate people to use Linux and
> need some data to support my pursuation. Will you guys point me to places
> that I can find out an estimated number of users of Linux globally
> categorised according to countries.
http://counter.li.org
Some other stuff that might help:
http://www.aa.net/~swear/pedia/promotion.html
------------------------------
From: Timothy M Bryant <[EMAIL PROTECTED]>
Subject: Shell Scripts
Date: Mon, 12 Apr 1999 18:01:04 -0500
How would I write a shell script that every time I login to Linux, I get
a message saying "Good Morning", "Good Afternoon", or "Good Evening"
and tell me Happy Birthday on my birthday???
------------------------------
From: Gary Momarison <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Moving Linux...
Date: 12 Apr 1999 15:53:21 -0700
Christophe Basset <[EMAIL PROTECTED]> writes:
> I know how to create the new partitions (swap+native) with fdisk, but is
> there an easy way to move Linux to the new drive without having to
> re-install and re-configure everything?
Think the following through before following.
I once made a mistake; it could happen again.
Ensure that all of the Linux partitions on the old drive are mounted.
Make ext2 filesystems on the new drive as desired. Not necessarily
the same organization.
Mount the new-disk partitions somewhere like /mnt/hdb1, etc.
Copy each old-disk partition to it's new-disk partition, like
cp -ax / /mnt/hdb1
cp -ax /usr /mnt/hdb2
(That last one might be wrong. You don't want to get the "usr"
dir itself under /mnt/hdb2 ).
You do one partition at a time so you don't get junk like /proc.
Change /mnt/hdb1/etc/fstab on for the new setup.
Edit /etc/lilo.conf and run lilo.
Reboot. Test using "df", etc. Delete the old-disk partition.
--
Look for Linux help at SearchLinux at http://www.searchlinux.com
and DejaNews at http://www.dejanews.com/home_ps.shtml and
Gary's Encyclopedia at http://www.aa.net/~swear/pedia/index.html
------------------------------
From: "Roelof Jansen" <[EMAIL PROTECTED]>
Subject: Deleted partitions !! HELP!
Date: Tue, 13 Apr 1999 01:11:38 +0200
Hi,
I accidently deleted some very important partitions using fdisk from DOS. I
unintentionally deleted my extended Linux native partition plus ANOTHER
extended Win95 partition using fdisk while it said it was deleting my Work2:
partition which I emptied before.
To make things even worse, I did not make a backup recently so lots of data
was destroyed or at least vanished for now.... as you can imagine, I'm
pretty desperate :((
I got a freespace gap from block 87 to 441 using partition list in fdisk on
linux.
I strongly believe all data just has to be still sitting there in this free
space, somewhere because I didn't create any partitions afterwards anymore,
let alone write data to it.
Problem is, I have to restore two partitions: linux native (/usr) and the
win95 fat32. Both extended partitions, created using linux's fdisk and dos's
fdisk respectively.
The /usr partition starts at block 87 (size:528MB) followed by my Win95
partition ending at block 441. The last, still existing, extended (Win95)
partition starts at block 442 filling up the HD .
>>>>>>>>>>>>
I wonder if fdisk can be used to create a partition, change its filesystem
type to "Linux native" and/or "Win95 FAT", mount it while still being able
to read the old data, without ever having to format the partition at hand?
What if I get the partition size wrong? Would I still be able to remove the
partition and try again with a different size? Does linux's fdisk
(over)write some super-block at the starting block of a partition?
<<<<<<<<<<<<
Has somebody had similar disasters before? Is there some other way to do
this, like a utility which can recognize linux ext2 fs data on raw harddisk
data and restore it similar to PC programs like PowerQuests' "Lost+Found"
(no Linux support in that program however :()?
N.B.:
A similar situation was described in THE LINUX PARTITION-RESCUE MINI-HOWTO.
Author of the mini howto also deleted (unintentionally) his Linux partition
using Win95 fdisk and created a partition using Partition Magic 3.x using
the unformatted option as filesystem type. He then changed the file system
type (set it to 83) from within linux's fdisk and could that way restore the
linux filetree. Only thing was he deleted just one Linux partition, so all
free space had to be Linuxs' anyhow. I deleted two, different fs-typed
paritions.... :(.
I'm quite desperate on this one. Months work have been lost...
Please help me...
Regards,
Roelof.
Netherlands
------------------------------
From: Bill Anderson <[EMAIL PROTECTED]>
Crossposted-To: comp.so.linux.redhat,comp.os.linux.development
Subject: Re: Where's the source code?
Date: Mon, 12 Apr 1999 23:35:55 +0000
"Christopher B. Browne" wrote:
>
> On Fri, 09 Apr 1999 17:54:21 GMT, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> posted:
> >I need help from the Linux community to find a resource that I am sure exists.
> >
> >I have been a a FreeBSD user for a couple years now, but at work I now have to
> >setup and live in a Linux world. The problem is how do I get real access to
> >sources for Linux?
>
> .... lots elided ...
>
> >How about an equilivant to /usr/ports? Is there a service that provides
> >wrappers to all the great open source software so everything builds and
> >installs consistantly. Something where everything builds from source and I
> >can fix problems?
> >
> >Is there another Linux distribution that works the way I want?
>
> There is no *precise* equivalence, but almost certainly the nearest
> thing to what you are looking for is the Debian distribution.
>
> Many of the distributions are based on the RPM packaging tool (due to
> Red Hat Software), which provides dependancy information, and has a
> compilation scheme whereby pristine sources are combined with
> customized patches.
>
> Things have not gone "full circle" in this process as to provide tools
> to allow one to automatically go off and query servers to get the
> latest editions of system components.
>
> There is a web site, <http://rpmfind.net>, which provides an
> integrated list of a whole *lot* of places where RPM files are bing
> produced; there are not yet in general use feedback mechanisms to
> automate upgrades, although I think the author of "rpmfind" has a tool
> that can indeed do that.
Try autorpm.
Based upon a config file, it can do all sorts of things with rpms, like
getting new version, installing new versions, pattern matching to
prevent, say kernel updates, etc.
> It's not the same thing as BSD Ports, but *most* of the same sorts of
> goals are accomplishable...
This also applies to autorpm ;-)
--
Bill Anderson Linux Administrator
MCS-Boise (ARC) [EMAIL PROTECTED]
My opinions are just that; _my_ opinions.
------------------------------
** 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
******************************