Linux-Misc Digest #745, Volume #24 Wed, 7 Jun 00 23:13:01 EDT
Contents:
Dialpad-like site that is Linux friendly? (Chuko Liang)
Re: How can I find which machine a binary was compiled for? (Robert Schweikert)
Re: Mounting proc filesystem dup2: bad file descriptor? (Adrian)
Re: LILO Boot Disk (Leonard Evens)
Newbie with networking questions. Please help! (Edward J. Smiley Jr.)
Re: Serious fragmentation under Linux (David Steuber)
Re: Delaying eth0 initialization (David Steuber)
Modem, Soundcard, and Zip Drive Problems (Paul Eisenberg)
Re: change ctime (ljb)
Help->PC can't boot =~( ("Jackie")
Clone hard disks of diff. geometry ([EMAIL PROTECTED])
Re: Clone hard disks of diff. geometry (Dances With Crows)
Re: Java SDK 1.2.2 - Linux (Florian E.J. Fruth)
Shortcut to directory ("Bill Sherrard")
virtual user, virtusertable question ([EMAIL PROTECTED])
Re: Modem, Soundcard, and Zip Drive Problems (Dances With Crows)
Re: Newbie with networking questions. Please help! ("Thomas \(Xiaoxi\) Hu")
Re: Modem, Soundcard, and Zip Drive Problems (Donald K Knepshield)
Booting a Linux drive from a different port than original. (mike)
Re: Open Source Windows Based X Server? ([EMAIL PROTECTED])
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Chuko Liang)
Subject: Dialpad-like site that is Linux friendly?
Date: 8 Jun 2000 00:11:20 GMT
Are there any sites like dialpad.com which can deal with Linux?
--
_ __ /
' ) ) / / /
/--' ________/_____. /_ '
/ (_) (_) /_) (_/|_/ / o
------------------------------
From: Robert Schweikert <[EMAIL PROTECTED]>
Subject: Re: How can I find which machine a binary was compiled for?
Date: Wed, 07 Jun 2000 20:12:35 -0400
Have you tried "file"? I am not sure whether this will give you exactly
what you're after, but it might:
On machine A I get this:
$ file /usr/bin/gcc
/usr/bin/gcc: ELF 32-bit LSB executable, Intel 80386, version 1,
dynamically linked (uses shared libs), stripped
On machine B I get this:
t-> file /usr/local/bin/gcc
/usr/local/bin/gcc: ELF N32 MSB mips-4 dynamic executable (not stripped)
MIPS - version 1
Robert
jd wrote:
> objdump -f always returns i386, even on binaries compiled with gcc
> -dumpmachine returning i686. Is there some other utility that will find
> the target machine? Or am I missing something with objdump?
>
> Thanks,
>
> -jd
--
Robert Schweikert MAY THE SOURCE BE WITH YOU
[EMAIL PROTECTED] LINUX
------------------------------
From: Adrian <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,linux.redhat,linux.redhat.misc
Subject: Re: Mounting proc filesystem dup2: bad file descriptor?
Date: Wed, 07 Jun 2000 17:25:08 -0700
ION wrote:
>
> What's this mean??!!
>
> I have a RedHat6.2 linux version installed, and now when I reboot, I get
> nothing but FAILED signs when trying to mount the filesystem.
>
> I get all "Bad File Descriptors [failed]" for each of the following:
>
> Mounting proc filesystem dup2:
> configuring kernel parameters dup2:
> Setting Clock dup2:
> Loading default keymap/etc/rc.d/rc.sysinit: /dev/null: Read-only File system
> Activacting swap partitions dup2:
> Setting hostname
> checking root filesystem dup2:
>
> then it says
> "an error occurred during the file system check.
> Dropping you to a shell; the system will reboot when you leave the shell
>
> Give root passsword for maintenance (or type Control-D for normal Startup)."
>
> 1) What could be the prob and how would i fix it?
> (also, using e2fsck and e2fsck -b 8193 does not work either. It gives the
> following error: Couldn't open /dev/null (read-only file system)
> Bad magic number in super-block while trying to open /dev/sda1"
>
> ALSO
>
> 2) what exactly does the /dev/null file do for the system??
>
> 3) any other options to try to fix this??
>
Boy... this looks real screwed up. I haven't seen this "dup2" problem
before but here's the general way to fix it. ODrop into the shell and
then run "fsck /dev/sda1" assuming sda1 is actually your Linux partition
(in this case, the first partition of the first SCSI drive). /dev/null
is a bit bucket device, essentially banning anything written to it to
oblivion. You may want to drag out the RH CD and instead of installing,
type in "linux rescue" at the boot prompt to start this rescue disk.
>From there, you can run fsck without starting from the corrupted disk
(you may need to make the device node first, like "mknod /dev/sda1").
Adrian
--
- I just tried this on my old Packard Bell 486/66 w/4MB (Hey ...
- shut-up! I was young, ignorant, and didn't know anything about
- hardware or quality manufacturers.).
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: LILO Boot Disk
Date: Wed, 07 Jun 2000 19:17:59 -0500
"news.socket.net" wrote:
>
> Does anyone have a LILO boot disk for Red Hat 6.1? I have a boot.img
> install but I need a LILO boot.
>
> Thanks,
>
> Jody Thigpen
> [EMAIL PROTECTED]
I'm not sure what you want, but if you install Linux from the
RedHat 6.1 CD, you aought to be prompted along the way to
create a boot floppy. This floppy will have the lilo boot
loader on it for the purpose of booting the kernel which also
lies on it.
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: Edward J. Smiley Jr. <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.unix.solaris,comp.unix.admin
Subject: Newbie with networking questions. Please help!
Date: Thu, 08 Jun 2000 00:35:18 GMT
Hi,
I want to network some computers I have. They are listed below:
1. Celeron 333, 256MB RAM, 18GB HD, running Linux
2. Toshiba P133 Laptop, 32MB RAM, 2.1GB HD, running Windows 98 and Linux
3. Sun Sparcstation 20, 128MB RAM, 4GB HD, running Solaris 8
4. Pentium 200, 64 MB RAM, 10GB HD, no OS at this time
5. Numerous 386 and 486 with 16 MB RAM and small HD's < 500 MB. (A lot
of people say that these make great little servers, do not really need
to network them if not necessary.)
First of all, which one should I use as the server?
'1' is my powerhouse that I use all the time. '2' I just use for when
I travel. '3' is not really being used for anything at the time, but I
want to keep Solaris 8 on it. So that leads to another question...
Should I use Solaris or Linux for the server? I am posting this to
both Solaris and Linux NG's.
I would like to use a cable modem. Is it possible to have this on the
server and have access to the modem from all the other computers?
Finally, I need a good book (or link, FAQ, How-to, anything) on how to
set up a home server. I am having a lot of trouble with what I am
reading on the web. I have a few books (Unix Networking Clearly
Explained and Comer's Internets and Networks), but they seem
confusing. I have been using Linux for a few years, so I am not a
Guru. I have minimal experience at Solaris.
Sorry for so many questions, but I need to start somewhere.
Thanks for any help!
--
Ed Smiley
[EMAIL PROTECTED] <remove NOSPAM>
[EMAIL PROTECTED] <--Please Reply here!
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
Subject: Re: Serious fragmentation under Linux
From: David Steuber <[EMAIL PROTECTED]>
Date: Thu, 08 Jun 2000 01:00:00 GMT
"Peter T. Breuer" <[EMAIL PROTECTED]> writes:
' I believe it's called "demonization".
'
' "I am not a number" Peter
No. 6, this is Peter. He will demonize you, then you will be stamped,
filed, indexed, pushed, pulled, folded, spindled, stapled, and
mutilated.
kill -HUP 6
The prisoner will never be the same ;-)
--
David Steuber | Hi! My name is David Steuber, and I am
NRA Member | a hoploholic.
All bits are significant. Some bits are more significant than others.
-- Charles Babbage Orwell
------------------------------
Crossposted-To:
alt.os.linux,alt.uu.comp.os.linux.questions,comp.os.linux.hardware,comp.os.linux.networking,tw.bbs.comp.linux
Subject: Re: Delaying eth0 initialization
From: David Steuber <[EMAIL PROTECTED]>
Date: Thu, 08 Jun 2000 01:00:01 GMT
[EMAIL PROTECTED] (Hugh Lawson) writes:
' Try a www.deja.com search on this card. I made a trial effort and found
' several references, but they are over my head.
Try using a step ladder. That often works.
--
David Steuber | Hi! My name is David Steuber, and I am
NRA Member | a hoploholic.
All bits are significant. Some bits are more significant than others.
-- Charles Babbage Orwell
------------------------------
From: [EMAIL PROTECTED] (Paul Eisenberg)
Crossposted-To: comp.os.linux.setup
Subject: Modem, Soundcard, and Zip Drive Problems
Date: Thu, 08 Jun 2000 01:25:23 GMT
Hello. I apologize for not looking into this more, and hopefully this
isn't too much of a ignorant question, I just am in a rush to get
everything working. I have the Corel Linux 1.1 Version and the modem,
soundcard, and zip drive all do not work. I have a US Robotics
V.90/56K Modem, my soundcard is a TBS Montego II, and the zip drive is
just an iomega 100 one. I just would love to get all these three
things up and running and life would be a lot easier concerning this.
Thanks for all the help. Take Care. Paul!
------------------------------
From: [EMAIL PROTECTED] (ljb)
Subject: Re: change ctime
Date: 8 Jun 2000 01:34:23 GMT
(Can't let this go without clearing it up...)
ctime (the function) is a C library call which formats and returns a
date/time string. No relation at all to "ctime", the file attribute,
which represents the last time the file's inode was changed. There
isn't any practical way to for the file's ctime to an arbitrary value.
Calling the "ctime" file attribute the "creation time" is one of the
most widely spread Unix/Linux errors around...
[EMAIL PROTECTED] wrote:
>I am under the impression that there *is* a ctime; see for example
>'man ctime'. It is a c function (man 3) and not a command. My 'Perl
>Cookbook' gives recipes for altering atime and mtime and explicity
>states something to the effect that there is virtually no way to alter
>the ctime, it the creation time.
>
>I will forge ahead and alter the atimes and the mtimes and hope that
>all goes well.
>
>Thanks for your input,
>John Hunter
>
>>>>>> "Juergen" == Juergen Heinzl <[EMAIL PROTECTED]> writes:
>
> Juergen> There is no such thing as the creation time and just see
> Juergen> man touch for the rest.
>
> Juergen> You can do something like this ... find . -exec touch
> Juergen> [options] {} \; ... to run touch on whole directory tree.
>
------------------------------
From: "Jackie" <[EMAIL PROTECTED]>
Crossposted-To: alt.comp.periphs.mainboard,tw.bbs.comp.hardware
Subject: Help->PC can't boot =~(
Date: Thu, 8 Jun 2000 05:52:13 +0800
All of a sudden, my Pentium II can't boot! I'm sure all the cables are
beautifully connected.
After pressed the power-on button, the Hard Disk light was on; the Keyboard
light turned on & then off.
The Fan was spinning. The CD drive light turned on, BUT the A: drive light
NEVER turned on!
The PC beeped for about 3 seconds, then shouted up for about 1 second. It
kept on beeping in this pattern.
Then the CD drive light turned off, and the Hard Disk light was off too.
Neither the HD could boot nor could the CD drive / A: drive.
The monitor was blank/black all the time and was received no power (the
on-off of monitor was controlled by the PC).
I opened the case and made sure everything was firmly plugged in.
Took out the display card and put it back again carefully.
I seriously doubted that it was the RAM that caused the trouble.
(1) I put the 168-pin SDRAM in another slot to test then
(2) I did test the SDRAM one by one => the machine still couldn't boot for
a single time!
No display, beep 3 sec, quiet 1 sec, beep 3 sec, quiet 1 sec, beep 3 sec...
So, what possibly go wrong?? The display card or the motherboard or anything
else??
--
Biostar M6TLC system board
AWARD BIOS
Magic-Pro Multimedia Add On MP-100S/AGP Display Card
--
Thankxxx in advance, Jackie => [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED]
Subject: Clone hard disks of diff. geometry
Date: Thu, 08 Jun 2000 01:34:49 GMT
I want /dev/hdb to have the same information and boot-ability as
/dev/hda.
I know I can do:
dd if=/dev/hda of=/dev/hdb
to clone disks of the same geometry. However my two drives are of
different sizes. I also tried, with /dev/hdb1 mounted to /mnt:
tar clf - . | (cd /mnt; tar xvBpf -)
however it seems that, although I can boot hdb via lilo, no hidden files
were copied over, X doesn't start, a lot of errors.
Any ideas as to how I can do this cleanly?
Thanks.
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Clone hard disks of diff. geometry
Date: 07 Jun 2000 21:48:43 EDT
Reply-To: [EMAIL PROTECTED]
On Thu, 08 Jun 2000 01:34:49 GMT, [EMAIL PROTECTED]
<<8hmt7p$v5b$[EMAIL PROTECTED]>> shouted forth into the ether:
>I want /dev/hdb to have the same information and boot-ability as
>/dev/hda.
>I know I can do:
>dd if=/dev/hda of=/dev/hdb
>to clone disks of the same geometry. However my two drives are of
>different sizes. I also tried, with /dev/hdb1 mounted to /mnt:
>tar clf - . | (cd /mnt; tar xvBpf -)
>however it seems that, although I can boot hdb via lilo, no hidden files
>were copied over, X doesn't start, a lot of errors.
Check the Hard-Disk-Upgrade mini-HOWTO, which is designed to answer
questions like this:
http://linuxdoc.org/HOWTO/mini/Hard-Disk-Upgrade.html
The -l option given to tar prevents it from recursing into different
filesystems. So if you have / and /usr and /home as separate partitions
on the first drive, you've only tarred / over here. This could cause
problems with X, among other things. You'd have to use multiple tar
commands if you have several partitions to transfer.
--
Matt G / Dances With Crows \###| You have me mixed up with more
There is no Darkness in Eternity \##| creative ways of being stupid?
But only Light too dim for us to see \#| Beer is a vegetable. WinNT
(Unless, of course, you're working with NT)\| is the study of cool. --MegaHAL
------------------------------
From: Florian E.J. Fruth <[EMAIL PROTECTED]>
Subject: Re: Java SDK 1.2.2 - Linux
Date: Thu, 8 Jun 2000 03:34:57 +0200
Bryan Galvin
wrote in <[EMAIL PROTECTED]>
> All,
>
> I downloaded the Java 1.2.2 SDK for Linux from Sun.
> I downloaded the large 21 MB file using the FTP utility on a Win 98 PC.
> When the download was complete I transferred the file to my 486 PC upon
> which I have a Slackware LINUX distribution installed.
> Following the installation instructions from the website I attempted to
> decompress the 21 MB file.
> However, the following error is returned:
>
> "gzip: stdin: invalid compressed data --format violated
> tar: Child returned status 1
> tar: Error exit delayed from previous errors"
>
> I used the this command line, "tar xvzf jdk1_2_2-linux-i386.tar.gz"
>
> I had to rename the file to its original name as it was truncated when
> transferred.
>
> Has the file been compromised or affected by download to a WIn 98 PC?
i've also downloaded it with windoze 98
perhaps this ftp-tool doesn't look for fileerrors and u don't see it
before getting an error on opening...
perhaps try an download manager like getright or flashget...
fejf
------------------------------
From: "Bill Sherrard" <[EMAIL PROTECTED]>
Subject: Shortcut to directory
Date: Wed, 7 Jun 2000 20:54:25 -0500
I would like to know if it is possible to place a shortcut to a directory on
my Gnome desktop. I would like to be able to double click on it and have it
open a window with that directory open,like windows does.
Thanks
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.mail.sendmail
Subject: virtual user, virtusertable question
Date: Thu, 08 Jun 2000 01:48:50 GMT
I posted a question earlier about how to do mail forwarding for a group
of users. I got a partial answer of using virtusertable, which is close
to what I want.
I was told that virtusertable supports limited regex for specifying
users based on certain patterns.
However, I was unable to find any example of virtusertable using regular
expression for pattern matching.
Does anyone know how to do it, using regex in virtusertable? Any
example, no matter how simple, will help.
Thanks.
Weidong Wang
[EMAIL PROTECTED]
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Crossposted-To: comp.os.linux.setup
Subject: Re: Modem, Soundcard, and Zip Drive Problems
Date: 07 Jun 2000 22:00:39 EDT
Reply-To: [EMAIL PROTECTED]
On Thu, 08 Jun 2000 01:25:23 GMT, Paul Eisenberg
<<[EMAIL PROTECTED]>> shouted forth into the ether:
>Hello. I apologize for not looking into this more, and hopefully this
>isn't too much of a ignorant question, I just am in a rush to get
>everything working.
"They stumble that run fast."
>soundcard, and zip drive all do not work. I have a US Robotics
>V.90/56K Modem, my soundcard is a TBS Montego II, and the zip drive is
>just an iomega 100 one.
Modem: http://www.o2.net/~gromitkc/ and make sure it's not a
LoseModem. If it is, rip it out of the machine and go buy a Real Modem.
Soundcard: not sure. "Montego" isn't mentioned in the kernel docs for
even the development kernel.
ZIP: Well, they all work, but you failed to mention how the drive's
attached. Is it a parallel-port drive, a USB drive, a SCSI drive, or an
internal IDE drive? I'll go with the internal IDE drive as those are the
most common:
At boot, there should be a number of messages displayed on screen, one of
which should say something like
hdd: IOMEGA ZIP 100 ATAPI, ATAPI FLOPPY drive
These scroll by kind of fast, but they're logged in /var/log/boot.msg in
most cases. If so, put an MS-DOS formatted ZIP disk into the drive, become
root, and enter the following commands--
mkdir /mnt/zip
mount -t vfat /dev/hdd4 /mnt/zip
Replace "hdd" with whatever your ZIP drive was detected as. Corel/Debian
should include the ide-floppy driver as a module in their base distro.
Visit the site http://linuxdoc.org/HOWTO/ and scrounge for useful
information. Also make sure to Read The Fine Manual that Corel should've
provided you with. HTH,
--
Matt G / Dances With Crows \###| You have me mixed up with more
There is no Darkness in Eternity \##| creative ways of being stupid?
But only Light too dim for us to see \#| Beer is a vegetable. WinNT
(Unless, of course, you're working with NT)\| is the study of cool. --MegaHAL
------------------------------
From: "Thomas \(Xiaoxi\) Hu" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.unix.solaris,comp.unix.admin
Subject: Re: Newbie with networking questions. Please help!
Date: Wed, 7 Jun 2000 22:12:11 -0400
As long as #1-3 are connected, either one or all can be server. It does
not matter.
I guess your concern is really on which one should be
used as "gateway". I would say #3.
Tom
"Edward J. Smiley Jr." <[EMAIL PROTECTED]> wrote in message
news:8hmpo5$smm$[EMAIL PROTECTED]...
> Hi,
> I want to network some computers I have. They are listed below:
>
> 1. Celeron 333, 256MB RAM, 18GB HD, running Linux
> 2. Toshiba P133 Laptop, 32MB RAM, 2.1GB HD, running Windows 98 and Linux
> 3. Sun Sparcstation 20, 128MB RAM, 4GB HD, running Solaris 8
> 4. Pentium 200, 64 MB RAM, 10GB HD, no OS at this time
> 5. Numerous 386 and 486 with 16 MB RAM and small HD's < 500 MB. (A lot
> of people say that these make great little servers, do not really need
> to network them if not necessary.)
>
> First of all, which one should I use as the server?
>
> '1' is my powerhouse that I use all the time. '2' I just use for when
> I travel. '3' is not really being used for anything at the time, but I
> want to keep Solaris 8 on it. So that leads to another question...
>
> Should I use Solaris or Linux for the server? I am posting this to
> both Solaris and Linux NG's.
>
> I would like to use a cable modem. Is it possible to have this on the
> server and have access to the modem from all the other computers?
>
> Finally, I need a good book (or link, FAQ, How-to, anything) on how to
> set up a home server. I am having a lot of trouble with what I am
> reading on the web. I have a few books (Unix Networking Clearly
> Explained and Comer's Internets and Networks), but they seem
> confusing. I have been using Linux for a few years, so I am not a
> Guru. I have minimal experience at Solaris.
>
> Sorry for so many questions, but I need to start somewhere.
>
> Thanks for any help!
>
> --
> Ed Smiley
>
> [EMAIL PROTECTED] <remove NOSPAM>
> [EMAIL PROTECTED] <--Please Reply here!
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Donald K Knepshield)
Crossposted-To: comp.os.linux.setup
Subject: Re: Modem, Soundcard, and Zip Drive Problems
Date: 8 Jun 2000 02:37:12 GMT
Paul Eisenberg ([EMAIL PROTECTED]) wrote:
: Hello. I apologize for not looking into this more, and hopefully this
: isn't too much of a ignorant question, I just am in a rush to get
: everything working. I have the Corel Linux 1.1 Version and the modem,
: soundcard, and zip drive all do not work. I have a US Robotics
: V.90/56K Modem, my soundcard is a TBS Montego II, and the zip drive is
: just an iomega 100 one. I just would love to get all these three
: things up and running and life would be a lot easier concerning this.
: Thanks for all the help. Take Care. Paul!
What type of interface is the zip drive (ide, parallel, scsi, usb) and
what type of cards are the modem and soundcard. I heard Corel doesn't support
ISA cards well, if at all, and if the modem is a winmodem you are basically
out of luck.
Kevin Knepshield
[EMAIL PROTECTED]
------------------------------
From: mike <[EMAIL PROTECTED]>
Subject: Booting a Linux drive from a different port than original.
Date: Wed, 07 Jun 2000 22:48:22 -0400
Hi,
I have moved my hard drive with Redhat 5.1 from one
computer to another. The root directory was located on /dev/hda1
and now it is located on /dev/hdc1. How would I now boot
the system up?
Mike
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Open Source Windows Based X Server?
Date: Thu, 08 Jun 2000 02:48:17 GMT
In article <[EMAIL PROTECTED]>,
David Steuber <[EMAIL PROTECTED]> wrote:
>
> Uhm, I've never tried it, and I don't know what sort of development
> platform you need, but XFree86 comes with install instructions and a
> makefile for MSC ( 5.0, I think ). The implication is that XFree86
> can be built for Windows.
>
XFree86 does have a makefile for Windows, unfortunately it's a WinNT
build and the doco from XFree86 makes it sound a little on the flaky
side.
I guess it's back to wading through search engine results (I don't
really want to try porting XFree86 to Win98 - it's a huge amount of
source code to look through and a big learning curve)
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
** 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
******************************