Linux-Misc Digest #125, Volume #25 Thu, 13 Jul 00 17:13:02 EDT
Contents:
DVD ioctl patch for 2.2.14 ([EMAIL PROTECTED])
Reading BIOS serial number (rumpole)
Re: Problems with a new ZIP-drive (Krzys Majewski)
Re: What's lost+found (Andres Soolo)
Re: NEWBIE: Stupid kernel compile quest: (Krzys Majewski)
Re: how to delete files named like "-002210" (Flukezero)
Re: modem won't pick up call with uugetty (Clifford Kite)
Re: md5sum ? ([EMAIL PROTECTED])
Re: Linux Crashes (Richard Goldberg)
Truetype -> Type1 font converter ("Martin Duspiva")
Re: and the web was silent . . . . . (Bill Anderson)
mpeg capture from video capture card (Thierry)
Play mpeg without Xwindows (Thierry)
Re: What's lost+found (Robert Heller)
RPM misery... Help please. (Chumkil)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Subject: DVD ioctl patch for 2.2.14
Date: Thu, 13 Jul 2000 19:15:21 GMT
Hi,
I was applying the DVD ioctl patch for kernel 2.2.14-5 (as distributed
with RH 6.2), and ran into some errors. Well, firstly, I believe that
the application of the patch should not ideally prompt for any 'input
files' as I was asked during the patch application. Now, I aborted the
patch, but, now, if I run a dry-run test, I get errors saying that the
hunks have failed as the patch already exists.
I figure that some components of the patch have been applied, while the
others have not. Is there any way to reverse this, i.e., remove the
patches already in place owing to my initial implementation of dvd-cd-
2.2.14-3.diff ? (from www.kernel.dk)
Another quick question : I was compiling a second kernel ( in addition
to the existing 2.2.14, and I tried 2.2.16, but the make bzImage failed
as it stated that the 'kernel' is too big [Error 2], try modules. I did
run make modules and make modules_install, but this did not help.
Thanks for you time,
Regards,
Nataraj Dasgupta.
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
Subject: Reading BIOS serial number
From: rumpole <[EMAIL PROTECTED]>
Date: Thu, 13 Jul 2000 12:47:49 -0700
Is there a utility to read the bios serial number and version
under linux?
I know I can see it just by rebooting, but I was just wondering
if such a tool existed....
i checked /var/log/messages , no serial numbers logged there...
===========================================================
Got questions? Get answers over the phone at Keen.com.
Up to 100 minutes free!
http://www.keen.com
------------------------------
From: Krzys Majewski <[EMAIL PROTECTED]>
Subject: Re: Problems with a new ZIP-drive
Date: 13 Jul 2000 13:01:04 -0700
I just installed one a few days ago. If you're using the imm driver
(you probably should be if it's a reasonably new drive) then you don't
need the ppa driver. To make my life easier I compiled all the
required drivers[*] into the kernel, rather than as modules (this way
the drive gets detected at boot time). See also the ZIP-drive HOWTO
(or maybe mini-HOWTO?). Go through it step by step, if you get
really stuck you can try sending me mail and maybe I'll remember what
I did but no guarantees.. -chris
[*] You will need a scsi driver, even if you have the || port drive.
Some other relevant drivers are the generic parallel port driver,
the PC parallel port driver, possibly the generic scsi device driver
(can't remember, doesn't hurt to put it in) and the imm driver of
course.
-chris
Thorsten Lange <[EMAIL PROTECTED]> writes:
> Hello,
> some days ago I bought a new Iomega Zip Drive for parallel port. My old
> and now crashed Zip drive has been running fine with a 2.0.35 kernel.
> The new drive is not detected with 2.0.35 ppa and with 2.2.14 ppa and
> imm.
> Can somebody help?
>
> Thanks
> Thorsten Lange
>
> --
> Thorsten Lange
> EMail [EMAIL PROTECTED]
> http://thola.de/
------------------------------
From: Andres Soolo <[EMAIL PROTECTED]>
Subject: Re: What's lost+found
Date: 13 Jul 2000 20:00:34 GMT
Chew GH <[EMAIL PROTECTED]> wrote:
> Though the lost+found directory does not appear to do anything to my RH 6.1
> system, what's the function of this ubiquitous directory? Everytime I make a
> file system on the floppy, this directory is automatically created. Why? How
> could I disable the creation of this directory everytime I mkfs?
Don't. The next fsck would recreate this.
It's a place where the unattached inodes, that is inodes that aren't deleted
but don't have any names either, are attached when found. In DOS world
a similar situation is called `lost clusters'. Since finding unattached
inodes signifies a (at least partially) corrupted filesystem that
should not be automatically modified beyond the absolute minimum, the
directory is created while creating the file system, i. e. when it's in a
known good state.
--
Andres Soolo <[EMAIL PROTECTED]>
I attribute my success to intelligence, guts, determination, honesty,
ambition, and having enough money to buy people with those qualities.
------------------------------
From: Krzys Majewski <[EMAIL PROTECTED]>
Subject: Re: NEWBIE: Stupid kernel compile quest:
Date: 13 Jul 2000 13:09:40 -0700
Quad <[EMAIL PROTECTED]> writes:
> 1) If I do a make modules and make modules install and all seems to go
> fine without any errors, why would it be that when I go to load a
> module, or at startup it says that it cant find the modules after a
> compile?
Hmm, for comparison this is what I do:
make xconfig && make dep && make clean && make zImage && make modules && \
make modules_install && mount /dosc && cp arch/i386/boot/zImage \
/dosc/linux/boot/vmlinuz && lilo -t && lilo && umount /dosc
(the part with /dosc is a bit weird but you can safely ignore it I
think.) After this you can look in /lib/modules/2.2.9 or whatever
your kernel version is to see if your modules are there. You might
also need a symbolic link called "current", as in:
cd /lib/modules/
ln -s 2.2.9 current
The next thing to check is whether you have the modutils package
(Debian has this, I'm assuming other dists have something similar but
I could be wrong) which automates some of the module configuration
stuff. If you don't, what are the errors you're getting?
> 2) When you recompile, all the settings that you currently have are
> set by default when answering the questions? (Am I totally wrong on
> this, my guess is that I am). I ask because last night I recompiled,
> all seemed to go great but both my NICs didnt start up. All that I
> changed was I took out etherexpress as I dotn have the intel NIC. My
> guess is I have to explicitly add the ones I have? I thought the
> kernel might load them up off conf.modules or something by itself.
When you recompile, the default values should be the ones you set the
last time you compiled. If you didn't ever compile before I think
the values there are probably not necessarily related to the hardware
you have. -chris
------------------------------
From: Flukezero <[EMAIL PROTECTED]>
Crossposted-To: alt.linux
Subject: Re: how to delete files named like "-002210"
Date: Thu, 13 Jul 2000 16:29:41 -0400
Biao Wu wrote:
> Hi, all
>
> Got a tricky problem. Somehow a file named "-002210" was created in
> a directory. I had no idea how to get rid of it 'cause commands like
> rm, cp, cat all regard everything after "-" as an option. So if I type
>
> rm ?002210
>
> I would get
>
> rm: invalid option --0
>
> Similar with cp and cat. Anyone got an idea to remove this file?
> Thanks in advance.
>
> Biao
Go into the dir where the file is and type "rm *2210*" that should
rm any files that contain 2210 in their names.
------------------------------
From: Clifford Kite <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: modem won't pick up call with uugetty
Date: Thu, 13 Jul 2000 15:32:07 -0500
Anurodh <[EMAIL PROTECTED]> wrote:
> I finally got uugetty running with out errors on Red hat 6.2 but
> it won't pick up any calls. I know that uugetty is running becaus
> it is shown when i type ps aux. When i try to dial in i get a click
> an a pause but nothing happens and it continues ringing. My modem
> is an external Hayes 33.6kbps modem which i know is working and the
> connection of the modem has been throughly checked. Cold some one
> help me.
> my entry in inittab is
> S3:2345:respawn:/sbin/uugetty -d /etc/conf.uugetty.ttyS1 ttyS1 F38400
This is what my uugetty inittab line looked like
d2:45:respawn:/sbin/uugetty -d /etc/default/uugetty.ttyS1 ttyS1 9600 \
vt100 LDISC0
although the LDISC0 may not be needed. Dunno whether the vt100 is needed
either, it's been too long since I did this. The 9600 instead of F9600
reflects the form of the gettydefs file that I used. See below.
> my /etc/conf.uugetty.ttyS1 looks like this:
> # sample uugetty configuration file for a Hayes compatible modem
> # to allow incoming modem connections
> #
> # alternate lock file to check... if this lock file exists, then
> # uugetty is restarted so that the modem is re-initialized
> ALTLOCK=ttyS1
> ALTLINE=ttyS1
> # line to initialize
> INITLINE=ttyS1
> # timeout to disconnect if idle...
> TIMEOUT=60
> # modem initialization string...
> # format: <expect> <send> ... (chat sequence)
> INIT="" AT\r OK\r\n
> WAITFOR=RING
> CONNECT="" ATA\r CONNECT\s\A
> # this line sets the time to delay before sending the login banner
> DELAY=1
> #DEBUG=010
This all looks OK, except that you need to make sure that you haven't
got the modem set to report the DCE speed with /AQR appended. That might
invalidate CONNECT\s\A since there would be no space after the CONNECT,
but I'm not sure. I actually initialized the modem in the INIT string,
which is what is supposed to be done there, although if it is set to an
appropriate default profile then initialization would not be necessary.
The gettydefs file is missing from the post. Mine was
----Start gettydefs----
# This file works only with getty_ps.
#
# Be sure to use CLOCAL for vt's and hard-wired terminals.
#
# default/virtual console entry:
#
vc# B9600 SANE # B9600 SANE -ISTRIP CLOCAL #@S login: #vc
# Modem locked at 38400:
#
38400# B38400 CS8 CRTSCTS # B38400 SANE -ISTRIP CRTSCTS #@S login: #38400
# Modem that autobauds to different speeds, terminal locked at 9600, etc:
# - SANE includes CS8 ISTRIP HUPCL
# - DON'T USE SANE or ECHO for initial config!!!!!
#
9600# B9600 CS8 # B9600 SANE -ISTRIP #@S login: #4800
4800# B4800 CS8 # B4800 SANE -ISTRIP #4800-login: #2400
2400# B2400 CS8 # B2400 SANE -ISTRIP #2400-login: #1200
1200# B1200 CS8 # B1200 SANE -ISTRIP #1200-login: #9600
----End gettydefs----
(the 38400 line is not relevant, it was a 9600 baud modem)
The uugetty program is venerable but not well maintained; the other
posts are probably right in suggesting that you switch to mgetty.
--
Clifford Kite <kite@inet%port.com> Not a guru. (tm)
/* Editing with vi is a lot better than using a huge swiss army knife.
Use =} to wrap paragraphs in vi. Or put map ^] !}fmt -72^M in
~/.exrc and use ^] to wrap to 72 columns or whatever you choose. */
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: md5sum ?
Date: Thu, 13 Jul 2000 20:32:30 GMT
Does anyone know where you can find the checksums for the RPM's on the
Redhat site. Is it on their web site ?
Thanks.
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Richard Goldberg)
Subject: Re: Linux Crashes
Date: 13 Jul 2000 20:27:22 GMT
Reply-To: [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
: On or about 28 Jun 2000 18:06:21 GMT, Richard Goldberg <[EMAIL PROTECTED]> scrivened:
: > Hi all,
:
: > I've been running linux for years on several different machines. My
: > current machine at work is a PII400 with 196 Mb ram running VA Linux's
: > version of Red Hat. The only interesting piece of software I'm running is
: > VMWare 2.0.1 (with winnt as a virtual machine).
:
: > After a year or so of almost perfect performance, in the past 1-2
: > months I've had 10-12 "crashes". Some of these crashes have been something
: > strange happening in KDE (like I can no longer interact with any
: > windows), so I try to logout and it just hands on me. I switch to a
: > virtual terminal and try to shutdown (either log in as root and issue a
: > shutdown/reboot command, or do a ctrl-alt-delete) and it gives me some
: > error about unable to go to init state *.
:
: This sounds strangely familiar. <g>
:
: What kernel version are your running, and are you by any chance using
: Samba to mount filesystems between your Linux and virtual NT (or other)
: systems?
:
: There is a fairly obscure bug affecting smbfs and the 2.2.14 kernel.
: Because of security problems with *all* 2.2.x kernels < 2.2.16, you
: should upgrade to the 2.2.16 kernel anyway.
:
: I had a similar set of crashes every several hours to ~10-12 days
: (typically 3-6 days) on a box, had me completely shamed at the office,
: and perplexed a number of people who generally know their way around a
: Linux box. I've posted several of my bug reports to the Linux kernel
: mailing list ([EMAIL PROTECTED]), you may want to compare
: your configuration with the information I posted.
:
: If you can, you might want to check your system error or kernel logs
: frequently, as I found an "Oops: 0002" generally preceeded the crash by
: several hours.
:
: In the process of trying to diagnose the problem, I replaced the *entire*
: system -- first memory, then swapping HD into a new box, then migrating
: filesystems to a new drive. Kernel upgrade finally fixed it. This
: occuring between mid-January and mid-May of this year.
:
I'm running kernel 2.2.14. I'm not running samba on my linux box (it's
installed, but not running). I'm waiting for VA linux to release 2.2.16
with their NFS patches so I can upgrade. I suspect it should be out
shortly.
I checked for the "Oops 0002" in my logs. It preceded a few of the
crashed by not all of them.
I guess before starting to upgrade hardware, I'll try the new kernel.
Thanks for the advice, I'll let you know how it works out.
***************************** **************************************
*Rick Goldberg * * *
*Graduate Student * * "I never wanted to be average, *
*Computer Science Dept * * because when you are average you *
*York University * * are just as far from the top as *
*Toronto, Canada * * you are from the bottom." *
*[EMAIL PROTECTED] * * -Stan Cottrell- *
*www.cs.yorku.ca/~rickg * * *
***************************** **************************************
"If you don't invest very much, the defeat doesn't hurt,
But winning isn't very exciting."
------------------------------
From: "Martin Duspiva" <[EMAIL PROTECTED]>
Subject: Truetype -> Type1 font converter
Date: Thu, 13 Jul 2000 22:44:29 +0200
I'm looking for a program, that would convert my TrueType fonts from Win. to
Type1. I know there's a font server that can handle TT fonts directly, but
conversion would be useful for printing..
Regards
Martin Duspiva
------------------------------
From: Bill Anderson <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,redhat.general,netscape.public.general
Subject: Re: and the web was silent . . . . .
Date: Thu, 13 Jul 2000 14:43:35 -0600
Jesse Drogin wrote:
>
> Magnus wrote:
>
> > >
> > >hum, what plug-in would that be?
> > >-Jesse
> >
> > "Plugger" is a nice tool.
> >
> > -----------------
> > Mvh Magnus Lundin
> > -----------------
>
> OK. So I now have Plugger 3.2 installed as the application to handle
> all the audio types. I get sound for midi and mpeg formats. Still I
> don't get any sound for wav files. I should add that my browser doesn't
> complain, it simply doesn't generate any sound. Is it possible this is
> a problem with my sound driver or audio chip? It is a bit confusing
> because the desktop sounds for the Gnome desktop are wav files and they
> play ok. I don't actually have a sound card, the sound is integrated
> with my motherboard (Intel SE440BX for Pentium II processor)? Recall
> that the sounds it does play are very quiet. I have to turn my speakers
> up to full blast to hear them a normal level.
>
> thanks, Jesse
Imm ..don't take this wrong, but... are you sure you connected your
speakers to the right plug? Perhaps they ar eplugged into 'Line Out' or
something?
--
Bill Anderson (ARC) Unix/Linux System Administrator
HPSO Engineering Productivity Team Thursday, June 22, 2000
Random Quote:
You look like s
------------------------------
From: Thierry <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system,comp.os.linux.hardware
Subject: mpeg capture from video capture card
Date: Thu, 13 Jul 2000 13:50:43 -0700
Hi,
Do you know an existing program (with sources) wich capture video from a
video capture card (bt chips) and save it in mpeg or quicktime format.
Without using Xwindows.
Thanks a lot.
thierry
------------------------------
From: Thierry <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system,comp.os.linux.hardware
Subject: Play mpeg without Xwindows
Date: Thu, 13 Jul 2000 13:52:57 -0700
Hi,
Is it possible to play a movie (mpeg or quicktime) without using Xwindows,
only in Shell screen.
Maybe using frame buffer ?
Thanks a lot for your help.
thierry
------------------------------
From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: What's lost+found
Date: Thu, 13 Jul 2000 21:02:15 GMT
"Chew GH" <[EMAIL PROTECTED]>,
In a message on Thu, 13 Jul 2000 17:14:39 +0800, wrote :
"G> Though the lost+found directory does not appear to do anything to my RH 6.1
"G> system, what's the function of this ubiquitous directory? Everytime I make a
"G> file system on the floppy, this directory is automatically created. Why? How
"G> could I disable the creation of this directory everytime I mkfs?
The "lost+found" directory is used by fsck as a place to put lost files.
In the event of major file system problems, the fsck will collect inodes
that look like pieces of files that were not deleted, but which are not
accounted for by the file system tree, and place these inodes in
"lost+found". You can delete it after mke2fs completes.
Why are making ext2 file systems on floppies? A (V)FAT file system
probably makes better use of the floppy.
--
\/
Robert Heller ||InterNet: [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED]
http://www.deepsoft.com /\FidoNet: 1:321/153
------------------------------
From: Chumkil <[EMAIL PROTECTED]>
Subject: RPM misery... Help please.
Date: Thu, 13 Jul 2000 14:09:20 -0700
[root@myhouse openssh]# rpm -Uvh ssh-1.2.27-7us_glibc20.i386.rpm
package ssh-1.2.27-7us is already installed
[root@myhouse openssh]# rpm -e ssh-1.2.27-7us_glibc20.i386.rpm
error: package ssh-1.2.27-7us_glibc20.i386.rpm is not installed
[root@myhouse openssh]#
As you can see I am a little pissed at this RPM....
I need to strip it out and fully install it so that I can make way for
SSH2 (I need
to maintain SSH1 backwards compatibility however...)
How do I "nuke and pave" this RPM set?
------------------------------
** 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
******************************