Linux-Misc Digest #636, Volume #26 Mon, 25 Dec 00 18:13:01 EST
Contents:
Re: cdrom driver ([EMAIL PROTECTED])
Re: DVD software for Linux yet? (Robert Kiesling)
Re: Why does my GCC create only static executables ? (Old version of Linux) (-ljl-)
Re: cdrom driver (Stan Flatto)
A way to set X resolution w/o CTL-ALT-+/- (Andrew Purugganan)
CPU Incorrect in /proc/cpuinfo. Please help! I'm desperate! ("MrTaboo")
Re: A way to set X resolution w/o CTL-ALT-+/- (Robert Kiesling)
Re: Problems with /var (Michael Heiming)
Re: HD size? (Michael Heiming)
Only with Linux... (MH)
Re: Only with Linux... ("Aitch")
Re: Linux Type Opinion (John =?iso-8859-1?Q?Grundb=E4ck?=)
Re: Only with Linux... (Bit Twister)
Re: about apache (Michael Heiming)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Subject: Re: cdrom driver
Date: Mon, 25 Dec 2000 20:25:10 GMT
Hello,
To let you know in modconf I have not been able to install any cdrom
driver. All failed.
I tried what you guys have suggested but here is in brief output:
$mount -t iso9660 /dev/hdb /cdrom
mount: block device /dev/hdb is write-protected, mounting read-only
isofs_read_super: bread failed, dev=03:40, iso_blknum=16, block=32
mount: wrong fs type, bad option, bad superblock on /dev/hdb,
or too many mounted file systems
(aren't you trying to mount an extended partition,
instead of some logical partition inside?)
Here is snippet of /var/log/messages:
=====================================
Dec 25 08:45:37 debian kernel: loop: registered device at major 7
Dec 25 08:45:37 debian kernel: hda: FUJITSU MPB3032ATU E, ATA DISK drive
Dec 25 08:45:37 debian kernel: hdb: ATAPI CDROM, ATAPI CDROM drive
Dec 25 08:45:37 debian kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Dec 25 08:45:37 debian kernel: hda: FUJITSU MPB3032ATU E, 3093MB w/0kB
Cache, CHS=6285/16/63
Dec 25 08:45:37 debian kernel: hdb: ATAPI 24X CD-ROM drive, 128kB Cache
Dec 25 08:45:37 debian kernel: Uniform CD-ROM driver Revision: 3.11
Dec 25 08:45:37 debian kernel: Floppy drive(s): fd0 is 1.44M
Dec 25 08:45:37 debian kernel: FDC 0 is a post-1991 82077
Dec 25 08:45:37 debian kernel: md driver 0.36.6 MAX_MD_DEV=4, MAX_REAL=8
In article <[EMAIL PROTECTED]>,
Stan Flatto <[EMAIL PROTECTED]> wrote:
>
>
> [EMAIL PROTECTED] wrote:
>
> > Hello,
> Welcome to Linux-land!
>
> > I have momitsu cdm-j514.
>
> > boot up shows hdb as cdrom atapi with some uniform version.
>
> This means that Linux says "hello" to the hardware.
> Now lets address the fleshware.
> To mount it, first read 'man mount'.
> It will tell you to prepare a mount point, usually a directory, lets
say
> /cdrom. Then you have to tell the mount what file system to use when
> addressing this device. So the command, as root, will be:
> mount -t iso9660 /dev/hdb /cdrom.
>
> > I am unable to mount it as I donot know how to mount it to what.
> Hope this answers you first question.
>
> > donot have /dev/cdrom and donnot know how to make one
>
> /dev/cdrom is a soft link pointing to another device, in your case
hdb.
> So in your case create one, like this:
> ln -s /dev/hdb /dev/cdrom
> It will create an entry in /dev directory, which will show like
@cdrom,
> but will point to hdb.
>
> And read the man pages.
>
> > Thanks.
> Welcome.
> Stanislaw.
> Slak user from Ulladulla.
>
>
Sent via Deja.com
http://www.deja.com/
------------------------------
Crossposted-To: alt.video.dvd,alt.video.dvd.software
Subject: Re: DVD software for Linux yet?
From: Robert Kiesling <[EMAIL PROTECTED]>
Date: Mon, 25 Dec 2000 21:17:49 GMT
[EMAIL PROTECTED] (Rod Smith) writes:
> In article <[EMAIL PROTECTED]>,
> Pineapple <[EMAIL PROTECTED]> writes:
> >
> > ..But its really great that intellectual property is free to steal and rip.
> > This really eases my mind, being a programmer and making my living doing
> > it. It's so nice to know that anyone can reverse-engineer my product and
> > rip it and use it for free. I'm sure there will be hundreds of programmers
> > and companies which will develop and distribute free (and therefor
> > unprofitable) software..
>
> There are two issues here, at least with respect to DVD and the DeCSS
> software:
>
> 1) The copyright or patent on the "official" DVD-playing algorithms.
> 2) The copyright on the movie being played.
>
> Your objection is to the use of DeCSS because it infringes #1. It
> doesn't, because the developers of the original algorithms made **NO
> EFFORT** to protect those algorithms by patenting or copyrighting them.
> They're trade secrets. That means that once somebody reverse engineers
> them, the original developer has *NO RECOURSE*. There are plenty of
> cases littering the legal system in which a reverse-engineered product
> has been held to be legal. (IANAL, though, so don't take this as legal
> advice.) Now, if the original DVD developers had applied for a patent
> on the DVD-playing algorithm, it would have been protected, but it
> would also be public (registered with the patent office), and the
> patent would expire after a few years, and somebody might come up with
> some alternative algorithm to do the same thing. No doubt that's why
> they tried to handle it as a trade secret. A copyright would only
> protect one individual program -- and these do exist, of course, on the
> many competing DVD players, but they protect the individual programs,
> not the program classes. Your sarcastic comment about how intellectual
> property is free game is misplaced because you CAN copyright an
> individual program, or patent an idea. These things simply were not
> done in the case of the DVD encryption algorithm. Technically and
> legally, nothing was stolen.
>
> The legal challenges to DeCSS, as I understand the matter, relate to
> the fact that the Digital Millennium Copyright Act (DMCA) ties points
> #1 and #2 together, by saying that it's illegal to circumvent digital
> copy protection measures. DeCSS does this, according to the movie
> industry. According to its advocates, DeCSS as originally written
> doesn't copy films; it's used to play them, so no actual copying is
> going on. So far the movie industry has mostly won in court, but the
> battle is far from over. This also has nothing to do with your
> sarcastic objection, which relates not to copy PROTECTION
> circumvention, but to copyRIGHT circumvention.
You didn't explain that very well.
I don't think the spirit of whatever authority you're citing has a
position on the idea that someone could create a _better_ version of
the software. It's like saying that if you write a play in iambic
pentameter verse, you're infringing on Shakespeare. It's only if you
use a significant amount of the _content_ (say more than one
contiguous line, in this form), that you'd be risking accusations of
infringement of copyright, intellectual property, and so on.
--
Robert Kiesling <[EMAIL PROTECTED]>
Web Page : http://www.mainmatter.com/kiesling
Linux FAQ:
http://www.mainmatter.com/linux-faq/toc.html http://www.mainmatter.com/
---
Tired of spam? Please forward messages to [EMAIL PROTECTED]
------------------------------
From: -ljl- <[EMAIL PROTECTED]>
Crossposted-To: linux.dev.gcc,gnu.gcc
Subject: Re: Why does my GCC create only static executables ? (Old version of Linux)
Date: Mon, 25 Dec 2000 21:34:46 GMT
In article <927lfd$rfe$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> I have a very old installation of Linux, running Debian 1.3. It works
very
> well, except that the GCC only creates static executables. Note that
the
> system itself has dynamic executables and all the libs to support it
(I.e.,
> the command "ldd /bin/ls" generates the expected output). But when I
> compile anything myself on this system, I get a very large executable
and
> ldd says it is "statically linked (ELF)".
>
> I have no idea how this situation occurred, I've never seen it on any
other
> Linux system, and I'd like to know how to debug/fix it. I'd like to
be able
> to create normal, dynamically linked executables. Anyone have any
ideas? I
> still have the CD for this system, so if there is any other package to
> install, I can do that.
>
> BTW, "Upgrade to a current version of Linux" is not an option.
See if somewhere in your source the -g (debug) switch is used.
Also, check out the gcc howto.
BTW: all the GNU stuff used to assume you wanted to debug their
code and therefore used the -g switch in their makefiles.
--
Louis-ljl-{ Louis J. LaBash, Jr. }
Sent via Deja.com
http://www.deja.com/
------------------------------
From: Stan Flatto <[EMAIL PROTECTED]>
Subject: Re: cdrom driver
Date: Tue, 26 Dec 2000 09:10:33 +1100
[EMAIL PROTECTED] wrote:
> Hello,
>
> To let you know in modconf
Me back. And what the heck is modconf??????? Who needs it?????
>
> I tried what you guys have suggested but here is in brief output:
>
> $mount -t iso9660 /dev/hdb /cdrom
>
> mount: block device /dev/hdb is write-protected, mounting read-only
> isofs_read_super: bread failed, dev=03:40, iso_blknum=16, block=32
> mount: wrong fs type, bad option, bad superblock on /dev/hdb,
> or too many mounted file systems
> (aren't you trying to mount an extended partition,
> instead of some logical partition inside?)
>
That is exactly what it should say if the directory /cdrom does not exist.
You do not need ANY drivers, your kernel can address "hard disk
connected as slave on first controller = hdb" in your case the ATAPI
CD-ROM drive. And it mounts it read-only.
To open the drive for changing disks you have to umount it (NOT a typo).
HTH
Stanislaw.
------------------------------
From: [EMAIL PROTECTED] (Andrew Purugganan)
Subject: A way to set X resolution w/o CTL-ALT-+/-
Date: 25 Dec 2000 22:02:32 GMT
Is there a command to set the resolution in X? I know about CTL-ALT-
+ or -, but what does this execute 'under the covers'?
I was thinking of making this a menu option or probably assign a two-key
combination to do the same thing
I was looking for it in man startx but I didn't see much...
--
jazz
Registered linux user no. 164098 +--+--+--+ Litestep user no. 386
Doesn't it bother you, that we have to search for intelligent life
--- OUT THERE??
------------------------------
From: "MrTaboo" <[EMAIL PROTECTED]>
Subject: CPU Incorrect in /proc/cpuinfo. Please help! I'm desperate!
Crossposted-To: comp.os.linux.setup
Date: Mon, 25 Dec 2000 22:15:44 GMT
I'm running RedHat 7 on a Tyan Trinity 400 (S1854) mobo. I have 96MB of
RAM and an Intel Pentium-II 400MHz processor.
I've recently switched almost completely over to Linux but the
performance of the system has been disappointing thus far. Everytime I
loaded Windows everything seemed to load and boot faster.
After recompiling the kernel there still didn't seem to be any
improvement. Then, lo-and-behold, in KDE and Gnome the system
information screens show a Celeron (Covington) CPU with 0 cache!
I know I have a PII 400 w/ 512k cache so what can I do to make it
recognize the CPU correctly and utilize all its features?
My BIOS settings have both L1 and L2 caches enabled. My BIOS reports the
CPU as a PII 400 w/ 100MHz bus using 100MHz RAM.
I don't think they even sold Celeron 400's without any cache.
I'm frustrated! Can ya tell? At this point Windoze is really a speed
demon.
Any help you can give would be greatly appreciated.
------------------------------
Subject: Re: A way to set X resolution w/o CTL-ALT-+/-
From: Robert Kiesling <[EMAIL PROTECTED]>
Date: Mon, 25 Dec 2000 22:22:47 GMT
[EMAIL PROTECTED] (Andrew Purugganan) writes:
> Is there a command to set the resolution in X? I know about CTL-ALT-
> + or -, but what does this execute 'under the covers'?
>
> I was thinking of making this a menu option or probably assign a two-key
> combination to do the same thing
Nope, or, actually, probably not. A window manager function would
probably cause too much interference between itself and the X server.
In any event, you'd have to have a detailed understanding of the
X protocol if you're going to do it without crashing the server.
--
Robert Kiesling <[EMAIL PROTECTED]>
Web Page : http://www.mainmatter.com/kiesling
Linux FAQ:
http://www.mainmatter.com/linux-faq/toc.html http://www.mainmatter.com/
---
Tired of spam? Please forward messages to [EMAIL PROTECTED]
------------------------------
Date: Mon, 25 Dec 2000 23:19:47 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Problems with /var
Hallo,
boot from floppy/CD some kind of rescue system that hopfully came with
your distro
, run
e2fsck -fp /dev/<wherever_your_var_sits_on>
mount your /var to /mnt and look with df -h and du how much space is used
and where?
maybe your logrotate is not working and you sit on a huge bloat of
/var/log/* files...or your mail system is
full of junkmails...who knows...:-)
if you're done reboot...
Hope you know what /dev/? your devices are...
Good luck
Michael Heiming
Thaddeus L Olczyk wrote:
> I was using Mandrake 7.1 and would get problems where the system would
> complain about /var ( a seperate partition ) being full. Even though
> 0.6 gigs were free ( I understand now that it may be an inode problem.
> I just upgraded to Mandrake 7.2 and now syslogd hangs when I boot
> because there is not enough space on the device.
> Can anyone help?
------------------------------
Date: Mon, 25 Dec 2000 23:34:07 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: HD size?
Hello,
what about typing:
df -h
If your kernel produces lots of messages, the info dmesg provides short
after booting could be away...:-(
Michael Heiming
Matt Haley wrote:
> On Mon, 25 Dec 2000 17:15:31 GMT,
> Kimji <[EMAIL PROTECTED]> wrote:
> >
> >
> >Hello,
> >
> >Is there a command which can report the total size
> >of a hd (under Linux) without having superuser privileges?
> >I'm aware that "/sbin/sfdisk -s" does this but one must
> >either use sudo or be root (AFAICT). I could write
> >a small script to add the partition sizes reported
> >by "df", but I was wondering if there was an even
> >simpler way...
>
> 'dmesg | grep hd' produces :
>
> ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:pio, hdb:pio
> ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
> hda: WDC AC22500L, ATA DISK drive
> hdb: WDC WD136AA, ATA DISK drive
> hdc: TOSHIBA CD-ROM XM-6102B, ATAPI CDROM drive
> hda: WDC AC22500L, 2441MB w/256kB Cache, CHS=620/128/63, UDMA
> ^^^^^^
> 2.5 GB Drive
>
> hdb: WDC WD136AA, 12971MB w/2048kB Cache, CHS=1653/255/63
> ^^^^^^^
> 13.6 GB Drive
>
> hdc: ATAPI 24X CD-ROM drive, 256kB Cache
> hda: hda1 hda2 < hda5 hda6 >
> hdb: hdb1 hdb2 hdb3 < hdb5 hdb6 hdb7 >
>
> Hope that helps.
>
> --
> Matt Haley <[EMAIL PROTECTED]>
------------------------------
From: MH <[EMAIL PROTECTED]>
Subject: Only with Linux...
Date: Mon, 25 Dec 2000 14:51:58 -0800
Installed EMACS from RPM. Cannot find a way to start the program. Spent
half an hour looking through README, MAN, INFO...ridiculous.
------------------------------
Reply-To: "Aitch" <[EMAIL PROTECTED]>
From: "Aitch" <[EMAIL PROTECTED]>
Subject: Re: Only with Linux...
Date: Mon, 25 Dec 2000 22:55:26 GMT
"MH" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
: Installed EMACS from RPM. Cannot find a way to start the program. Spent
: half an hour looking through README, MAN, INFO...ridiculous.
:
Well did you open a terminal window and type "emacs"?
--
4:54pm up 38 days, 7:33, 2 users, load average: 1.00, 1.00, 1.00
------------------------------
From: John =?iso-8859-1?Q?Grundb=E4ck?= <[EMAIL PROTECTED]>
Subject: Re: Linux Type Opinion
Date: Mon, 25 Dec 2000 22:59:35 GMT
Jared wrote:
> Hi, i'm planning on experimenting with web hosting using a DSL line to
> my house. I'd like to have a Linux box as the Name Server, and the
> Mail Server. So far i experimented with Slackware, i though it was
> pretty decent, but it didnt agree with my computer when i upgraded to
> the newer version. I played around with FreeBSD and it seems to work
> the best, a little easier to use and it seems to agree with my
> hardware better than slackware did. But before i go out and start
> buying books about BSD, i was wondering if maybe Redhat is an option.
> I've never used Redhat, so i was wondering if anyone has an opinion in
> general about which Linux OS they like the best. If you are working
> with a hosting company, it'd be great to hear which Linux you use, and
> how it is going. Thanks for your Help / Opinions.
>
> -Jared
I know this is probably a flamebait, but I don't care. I have tried
several linuxes
including both slack and RedHat. In my opinion, slack and debian are the
best dists.
Slack should work for you if you could work out those problems of yours
(try
compiling your own kernel). Otherwise try debian (it is stable and it's
packagesystem
exceeds RedHats in usability (apt-get and dselect absolutely DOMINATES)).
You say you plan to run a server, then choose a distrubution that focuses
onstability
and security, not new and untested software as RedHat does. (You don't
needto run
XFree86 4 on a server)
About *BSD. FreeBSD is a very cool OS, I have tried it on my workstation,
but never
on a server, but if Hotmail (yes the microsoft thingy), yahoo and
apache.org think this os
is the greatest, you probably would too! Another os that focuses on
stability and security
is OpenBSD. It is a little behind on userfriendliness, but then again
this is not one of their
primary goals.
conclusion: choose debian or FreeBSD.
/john
------------------------------
From: [EMAIL PROTECTED] (Bit Twister)
Subject: Re: Only with Linux...
Reply-To: [EMAIL PROTECTED]
Date: Mon, 25 Dec 2000 23:02:56 GMT
On Mon, 25 Dec 2000 14:51:58 -0800, MH <[EMAIL PROTECTED]> wrote:
>Installed EMACS from RPM. Cannot find a way to start the program. Spent
>half an hour looking through README, MAN, INFO...ridiculous.
>
Well, I did a man emacs and it says
SYNOPSIS
emacs [ command-line switches ] [ files ... ]
So, I spin up a console window and did a
emacs junk.file
and it worked for me
------------------------------
Date: Tue, 26 Dec 2000 00:00:55 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: about apache
Hello,
maybe you have somewhere the option >AllowOveride None< set in your
httpd.conf
It's set per default in apache for better control, where you allow those
.htaccess files.
You can enable it in an <Directory /?/?/?> statement in
httpd.conf.
Be sure to put your .htgoup & .htpasswd somewhere out of documentRoot,
but readable for apache.
You should lookup www.apache.org and read some docs!
Good luck
Michael Heiming
Ella wrote:
> Hi
>
> I just down and install apche1.3.14 into my Linux,
> I need to do dome Authorization by .htaccess, but I notice
> that it only works at htdocs/, but not cgi-bin/
>
> Could anybody tell me why?
>
> Thanks very much.
------------------------------
** 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
******************************