Linux-Misc Digest #54, Volume #25                 Thu, 6 Jul 00 05:13:02 EDT

Contents:
  Re: Rebuilding rpm database ("Lonni J. Friedman")
  Re: cron ("Quiney, Philip [HAL02:HH00:EXCH]")
  Re: Warning: unable to open initial console (Eric)
  Re: Rebuilding rpm database ("Lonni J. Friedman")
  Re: Rebuilding rpm database ("Lonni J. Friedman")
  Re: .sh file extension
  Re: Installing a CD burner...lots of dumb questions ("Quiney, Philip 
[HAL02:HH00:EXCH]")
  Re: The Big Dogs and the Tech Shitzus. ("Brian")
  Re: getting tapedrive working (Martijn Brouwer)
  Re: getting tapedrive working (Martijn Brouwer)
  Keyboard & RedHat6.2 (Antti-Jussi Korjonen)
  Re: SMB access to Linux from W95? ("Ross Goodley")
  create_module & init_module (Benjamin Morin)
  Clearing MBR (jkauffman)
  Re: SMB access to Linux from W95? (Bernhard K�fffff6nig)
  Case sensitive (Bernhard K�nig)
  Re: Netscape crashed on SMP system (Raymond Doetjes)
  Re: Clearing MBR (Benjamin Morin)

----------------------------------------------------------------------------

From: "Lonni J. Friedman" <[EMAIL PROTECTED]>
Subject: Re: Rebuilding rpm database
Date: Thu, 06 Jul 2000 02:04:35 -0400



Praedor Tempus wrote:
> 
> "Lonni J. Friedman" wrote:
> >
> > Praedor Tempus wrote:
> [...]
> > > Is there a method for regenerating packages.rpm?  I have
> > > tried "rpm --rebuilddb" but this doesn't work.  It sits
> > > there for a while, APPARENTLY doing something, but in the
> > > end, no database is generated/regenerated.
> >
> > How long is "a while"?  I've seen rpm DB rebuilds take upwards of 10
> > minutes on large systems.
> 
> I have let it run to completion several times with no result.  It
> generally
> takes about 5-6 minutes.  Whatever is going on, a database regeneration
> is not part of it.
> 
> If packages.rpm is lost, then rpm --rebuilddb IS supposed to regenerate
> it, is it not?

correct.

------------------------------

From: "Quiney, Philip [HAL02:HH00:EXCH]" <[EMAIL PROTECTED]>
Subject: Re: cron
Date: Thu, 06 Jul 2000 08:01:38 +0100

David Fleet wrote:
> 
> Hello,
> 
> cron keeps deleting a file from my tmp directory.
> 
> Can I stop this by protecting the file with umask, so it's set to the t tag?
> 
> How do I do this?
> 
Hi,

chattr +i <file> will prevent it being modified, deleted, renamed or
linked to.

Alternatively you change the script cron runs to not delete your file in
the first place...
Check files in /etc/cron.daily|hourly|monthly (whatever the repetition
rate your files are flushed). IIRC you are looking for something called
tmpwatch.

Regards

Phil Q

-- 

Phil Quiney                             CSIP Demonstrator
[EMAIL PROTECTED]              Nortel Networks,
Telephone: +44 (1279) 402363            London Rd, Harlow,
Fax:       +44 (1279) 402885            Essex CM17 9NA,
                                        United Kingdom.

"This message may contain information proprietary to Northern 
Telecom so any unauthorised disclosure, copying or distribution
of its contents is strictly prohibited."

------------------------------

Crossposted-To: comp.os.linux.setup,comp.os.linux.networking,comp.os.linux.hardware
From: Eric <[EMAIL PROTECTED]>
Subject: Re: Warning: unable to open initial console
Date: Thu, 6 Jul 2000 06:52:49 GMT
Reply-To: [EMAIL PROTECTED]

Roelof Knibbe wrote:
> 
> HELP!
> 
> The other day my system crashed, so I could'nt shutdown properly.
> Linux has'nt come back since. I use RedHat 6.0, with LILO dual boot.
> It used to work fine.
> 
> I've tried several LILO options like:
> linux single
> linux root=....
> linux /bin/sh
> 
> These options all produce the same error. I do not get a kernel panic
> error.
> It says:
> 
> ....
> VMS: Mounted root (ext2 filesystem) readonly
> Freeing unused kernel memory: 60 k freed
> Warning: unable to open an initial console.
> 
> I can boot with a rescue image. The other suggestion I found was to use
> mknod (forgot the rest of the command). This didn't work either, it
> coud'nt
> find dev/tty1. I can mount the root however (dev/hdb1) or perform
> e2fsck.
> 
> Does anyone have a suggestion?
> Thanx
> Roelof

Just some things to try,

Have you done a e2fsck on the / and /boot partitions?
Did anything show up in lost+found?
Did you tried re-running lilo

Eric

------------------------------

From: "Lonni J. Friedman" <[EMAIL PROTECTED]>
Subject: Re: Rebuilding rpm database
Date: Thu, 06 Jul 2000 03:09:40 -0400



Praedor Tempus wrote:
> 
> "Lonni J. Friedman" wrote:
> >
> > Praedor Tempus wrote:
> > >
> > > OK, in trying to fix a major problem I have been having with
> > > rpm on my Mandrake 7.1 system, I have lost the packages.rpm
> > > database file that lists all the packages installed on my
> > > system.
> > >
> > > Is there a method for regenerating packages.rpm?  I have
> > > tried "rpm --rebuilddb" but this doesn't work.  It sits
> > > there for a while, APPARENTLY doing something, but in the
> > > end, no database is generated/regenerated.
> >
> > How long is "a while"?  I've seen rpm DB rebuilds take upwards of 10
> > minutes on large systems.
> 
> What I DO have instead of "packages.rpm" is a directory:
> 
> /var/lib/rpmrebuilddb.1676
> 
> Within this directory are these files:
> Basenames     Group  Packages     Requirename
> Conflictname  Name   Providename  Triggername
> 
> Is THIS what rebuilddb does?  If so, is there no way to reproduce
> packages.rpm?  Without packages.rpm, rpm doesn't know what I have
> installed.  Trying to run "rpm -q <anything>" produces no results.
> Trying to run kpackage fails because kpackage cannot find/open
> packages.rpm.

Something is very wrong on your system.  I've rebuilt the rpm database
in the past, and never had problems like these.

Perhaps you could try creating a dummy database, packages.rpm, that is
rwx, and then rebuilding again.

------------------------------

From: "Lonni J. Friedman" <[EMAIL PROTECTED]>
Subject: Re: Rebuilding rpm database
Date: Thu, 06 Jul 2000 03:08:26 -0400



Praedor Tempus wrote:
> 
> "Lonni J. Friedman" wrote:
> >
> > Praedor Tempus wrote:
> > >
> > > OK, in trying to fix a major problem I have been having with
> > > rpm on my Mandrake 7.1 system, I have lost the packages.rpm
> > > database file that lists all the packages installed on my
> > > system.
> > >
> > > Is there a method for regenerating packages.rpm?  I have
> > > tried "rpm --rebuilddb" but this doesn't work.  It sits
> > > there for a while, APPARENTLY doing something, but in the
> > > end, no database is generated/regenerated.
> >
> > How long is "a while"?  I've seen rpm DB rebuilds take upwards of 10
> > minutes on large systems.
> 
> What I DO have instead of "packages.rpm" is a directory:
> 
> /var/lib/rpmrebuilddb.1676
> 
> Within this directory are these files:
> Basenames     Group  Packages     Requirename
> Conflictname  Name   Providename  Triggername
> 
> Is THIS what rebuilddb does?  If so, is there no way to reproduce
> packages.rpm?  Without packages.rpm, rpm doesn't know what I have
> installed.  Trying to run "rpm -q <anything>" produces no results.
> Trying to run kpackage fails because kpackage cannot find/open
> packages.rpm.

Something is very wrong on your system.  I've rebuilt the rpm database
in the past, and never had problems like these.

Perhaps you could try creating a dummy database, packages.rpm, that is
rwx, and then rebuilding again.

------------------------------

From: <[EMAIL PROTECTED]>
Subject: Re: .sh file extension
Date: Thu, 06 Jul 2000 07:30:06 GMT

Thanks for your help, i appreciate it. 

--
Posted via CNET Help.com
http://www.help.com/

------------------------------

From: "Quiney, Philip [HAL02:HH00:EXCH]" <[EMAIL PROTECTED]>
Subject: Re: Installing a CD burner...lots of dumb questions
Date: Thu, 06 Jul 2000 08:21:53 +0100

[EMAIL PROTECTED] wrote:
> 
> Help!  Anybody here ever install a CD Burner in a Linux box?
> 
> I have an old P90 with Red Hat 6.0, kernel 2.2.1-15.  I want to install
> a
> Ricoh MP 6200 A burner in it.  I have no idea how.  The CDRecord
> software I
> downloaded seems to do nothing.  Apparently it can't even detect the
> burner,
> which mounts just fine when I try to use it as a standard CD-ROM drive.
> 
> Anybody got any idea what I'm doing wrong?  Do I have to enable SCSI
> support, as one HOWTO suggests?  And how on earth do I do that?
> 
Hi,

You have an ATAPI CD Writer and the Linux cdwriter software only works
with SCSI devices. However there is a workaround. You basically need to
build a new kernel in one of 2 ways:

1/ Compile the ide cdrom stuff as a module. This allows you to
selectively ignore IDE devices (your Writer) so it is not 'grabbed' by
the IDE code. Then you can load the ide-scsi module and it should detect
your writer.

2/ Compile the ide-scsi  emulation mode into the kernel. This will make
your CD Writer appear to be SCSI from boot up - and will make any other
CD Reader also appear as a SCSI device.

Details of how to do this are in the /usr/doc/HOWTO/CD-Writing-HOWTO
file. Given that you are using RH6 I would try to get hold of an updated
version of this - try the Linux Documentation Project site on
http://www.linuxdoc.org

Regards

Phil Q

-- 

Phil Quiney                             CSIP Demonstrator
[EMAIL PROTECTED]              Nortel Networks,
Telephone: +44 (1279) 402363            London Rd, Harlow,
Fax:       +44 (1279) 402885            Essex CM17 9NA,
                                        United Kingdom.

"This message may contain information proprietary to Northern 
Telecom so any unauthorised disclosure, copying or distribution
of its contents is strictly prohibited."

------------------------------

From: "Brian" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.setup
Subject: Re: The Big Dogs and the Tech Shitzus.
Date: Thu, 06 Jul 2000 07:50:26 GMT


C.J. wrote in message <396410dc$0$8315$[EMAIL PROTECTED]>...
>While this isn't comp.os.linux.advocacy I had to put in my $.02

>I've worked with:
>  MS-DOS 3.x, 4.x, 5.x and 6.x
>  IBM-DOS 4.x, 5.x
>  DR-DOS 4.x on up
>  A few other DOSes that the "old timers" would recognize.
>  Windows 3.0, 3.1, 95, 98, NT 3.50, 3.51 and 4.0
>  Netware 2.x, 3.x, 4.x, and 5.0
>  For Linux I've only tired Slackware 3 and 4 and RedHat 5.2, 6.1 and 6.2


Seems you be happy with Redhat - works for me!

My first home computer was a Processor Technology SOL-10/20 - Intel 8080,
S-100 bus, 64k static memory maxed and 4k static memory video buffer - it
was and is a beautiful computer with solid walnut sides. Believe it or not,
Bill Gates was selling these great tiny BASIC interpreters as well as a
powerful assembler/emulator that ran on the SOL microcomputer; That was ~25
years ago - I still own two! My first version of Windows was Windows 386 but
I had worked with version 1 - just a graphical task switcher and an iconized
filemanager but lots of fun. I remember when Microsoft was Micro Soft.

>By worked with, I don't mean that I've simply used a PC with these O/Ses on
>them.  I mean I've installed them on completely blank systems and ran them
on
>my own systems (server or workstation.)  I've set them up for others and
>managed all sorts of networking combinations in them.  I've done
installation,
>maintenance, and troubleshooting as well has help-desk and end-user
training.
>I've done programming on many of the above (exception being Netware since I
>never took the time to learn how to make .NLMs)


Same deal - seemed to me Novell wanted as much to train you as they wanted
for their software, which was plenty! Is their history a train wreck or
what?

>I choose Linux as my OS of choice (I say hypocritcally as I use a Win95
news
>program.)  I do know what I'm doing with Windows.  I know how to baby it so
it
>keeps running more than 6 months (sometimes as much as 8) before it needs
to
>be rebuilt.

I run W98 with all upgrades and IE/OE-4.72 with all upgrades - lasts about
8-12 months! I have 12 nodes at home and 2 dual-boot to Windows - damn
games!

>I know how to fix a lot of things without rebuilding Windows
>too... including some of that infurating speed loss that creeps in during
>normal use over time.  (Note I said some... it eventaully still slows to a
>crawl.)  But still I choose Linux.


Agreed - totally.

>I choose linux because once I set it up it stays set up.  Even if something
>gets messed up (which, unlike Windows, rarely happens "spontaniously") I
can
>usually fix it without any kind of full re-install or reconfig.  I can
count
>on my desktop icons staying on my desktop.  I can count on my system files
and
>programs not spontainiously corrupting or being replaced by older versions.


Excellent point - because Windows is a black-box operating system, it is
impossible to trouble-shoot. According to Microsoft, you are not even
permitted to reverse compile Windows even if it's to correct errors.

Bear in mind that Microsoft could very easily publish it's source code and
still maintain the copyright - as a matter of fact it would certainly change
my stance as regards their products; The benefits they would reap would be
amazing!

<clipped for brevity>

>When they can get almost all the same services under Linux as they get
under
>Windows (plus some non-Windows services.)  They won't care what OS they
get.
>Then we'll hear the dreaded "I'm thinking of buying a new computer.  What
do
>you think I should get."  We'll recommend Linux.


There are many utilities, services and facilities under Linux that have no
equal on any Windows OS - they just require something of a learning process.
Earlier in this thread you mentioned that Windows doesn't have a telnet
service but I ask you, what could you do with a CLI telnet session in a
predominantly GUI OS? Windows is a single-user OS - Unix/Linux is a
multi-user OS with all the power that facility endows.

Just one guy's opinion.

Best regards,

Brian



------------------------------

From: [EMAIL PROTECTED] (Martijn Brouwer)
Subject: Re: getting tapedrive working
Date: 6 Jul 2000 07:53:08 GMT

[EMAIL PROTECTED] (Vilmos Soti) wrote in <[EMAIL PROTECTED]>:
>Do you have the necessary devices in /dev and did you load the drivers?
Which drivers? I have ftape, do I need more? In /dev I have some devices 
like nrtf0 (maybe a typo).

Bey
_________________________________________________________
Martijn Brouwer      [EMAIL PROTECTED]

Remove the capital letters S P A M from my adress

------------------------------

From: [EMAIL PROTECTED] (Martijn Brouwer)
Subject: Re: getting tapedrive working
Date: 6 Jul 2000 07:56:16 GMT

[EMAIL PROTECTED] (Georgia Jensen) wrote in 
<[EMAIL PROTECTED]>:
>> What do I need to get my QIC80 tape drive working.
>Way down in the ftape Howto I found a FAQ that said you also have to
>insmod zftape, now mine will access the
>tape drive but says it not formatted, even for an erase. Anyway read the
>HOWTO on ftape maybe you can figure it out.

Yes, I read this. However I got stuck when I could only find a zftape 
module of my old 2.0.36 kernel (now 2.2.14). Insmoding this did nog change 
anything. Reading the ftape.txt from the 2.2.14 kernel did not help me 
either. 

Bey,
 
_________________________________________________________
Martijn Brouwer      [EMAIL PROTECTED]

Remove the capital letters S P A M from my adress

------------------------------

From: Antti-Jussi Korjonen <[EMAIL PROTECTED]>
Subject: Keyboard & RedHat6.2
Date: Thu, 06 Jul 2000 07:56:29 GMT

Hi!

I'm having problems with Ins, Del, Home, End, Prior and
Down keys. I've got the right finnish kbd map loaded (fi-latin1).
Even though I've tried with us etc. maps and those keys still 
won't work. All they produce is a '~'. It's the same in X
although keys work fine for example in emacs.
xev reports that the keys produce the right key code but still
I get only '~'s...

Kernel version is 2.3.30. Has this got something to do with
the code pages? I've installed all code pages as modules
with module autoloader turned on.

------------------------------

From: "Ross Goodley" <[EMAIL PROTECTED]>
Subject: Re: SMB access to Linux from W95?
Date: Thu, 6 Jul 2000 09:17:12 +0100

I think the root of this problem is that by default W95 uses unencrypted
passwords, ISTR that there's a registry hack to solve the problem, but cant
remember off-hand what it is. I'd go check out www.samba.org you'll probably
find it there.
    regards
    R
"Ken Yasuda" <[EMAIL PROTECTED]> wrote in message
news:8k0gvl$7lk$[EMAIL PROTECTED]...
>
>
> I'm trying to connect to a Linux box from a W95 machine.
> The Linux box shows up on the Windows Network Neighborhood (no access
problems
> with NT!), but when the W95 machine user clicks on the data, he is asked
for a
> password without being able to specify his Linux username.  I have no
> problems accessing files and printing from NT machines onto
> my Linux box, just with W95 machines.  Any suggestions?
>
> Thanks!
>
>
> Info:
> Kernel version 2.2.13  (From SuSE 6.3 distrib.)
>
> my smb.conf file:
>
> [global]
>    workgroup = Bein
>    guest account = nobody
>    keep alive = 30
>    os level = 2
>    security = domain
>    netbios name = (The netbios name of the linux box in question )
>    encrypt passwords = yes
>    password server = (DNS server addresses here)
>
>    printing = bsd
>    printcap name = /etc/printcap
>    load printers = yes
>
>    socket options = TCP_NODELAY
>    socket address = (IP address of the linux box in question)
>
>    map to guest = Bad User
>
> ; Please uncomment the following entry and replace the
> ; ip number and netmask with the correct numbers for
> ; your ethernet interface.
>    interfaces = (IP address of the linux box)/255.255.255.0
>
>    wins support = no
>
>
> [homes]
>    comment = Home Directory
>    browseable = yes
>    read only = no
>    create mode = 0750
>
> [printers]
>    comment = All Printers
>    browseable = no
>    printable = yes
>    public = no
>    read only = yes
>    create mode = 0700
>    directory = /tmp



------------------------------

From: Benjamin Morin <[EMAIL PROTECTED]>
Subject: create_module & init_module
Date: Thu, 06 Jul 2000 10:16:50 +0200

Hello,

I'd like to insert a module dynamically, but I don't know how to get the
"size" value in the following function :

int create_module(char *module_name, unsigned long size);

How do I compute "size"? I've had a look at insmod source code, but it
seems that it has its own function to do this. Isn't there a simple way
to insert a module (int insmod(char* filename) :)), except
exec("/sbin/insmod", "module.o", NULL) ??

Thanks

Ben

------------------------------

From: jkauffman <[EMAIL PROTECTED]>
Subject: Clearing MBR
Date: Thu, 06 Jul 2000 01:07:30 -0700

I recently attempted to install Redhat 6.2 on a WinNT box
and, well things didn't go exactly according to plan and I
ended up with a broken linux installation and no NT (there
wasn't anything on the machine anyway). My problem is how do
I reset the MBR so I can start from scratch? Lilo seems to
have taken up permanent residence and insists on booting
straight into the failed linux install. Even if I try and
re-install NT from floppys when I get to the first reboot
lilo sends me straight back into the failed linux. What can
I do?

Many thanks

Jeremy.




* Sent from AltaVista http://www.altavista.com Where you can also find related Web 
Pages, Images, Audios, Videos, News, and Shopping.  Smart is Beautiful

------------------------------

From: Bernhard K�fffff6nig <[EMAIL PROTECTED]>
Subject: Re: SMB access to Linux from W95?
Date: Thu, 06 Jul 2000 01:13:17 -0700

Hey!

Execute REGEDIT
->HKEY_LOCAL_MACHINE
->System
->CurrentControlSet
->Services
->VxD
->VNETSUP
Make new dword
"EnablePlainTextPassword" and set it on 00000001

Set your Security not on Server bur un User

Hope I could help you,
Ben



* Sent from AltaVista http://www.altavista.com Where you can also find related Web 
Pages, Images, Audios, Videos, News, and Shopping.  Smart is Beautiful

------------------------------

From: Bernhard K�nig <[EMAIL PROTECTED]>
Subject: Case sensitive
Date: Thu, 06 Jul 2000 01:11:36 -0700

Hey!

How can I make Linux not case sensitive (Samba is it already
)

Ben


* Sent from AltaVista http://www.altavista.com Where you can also find related Web 
Pages, Images, Audios, Videos, News, and Shopping.  Smart is Beautiful

------------------------------

From: Raymond Doetjes <[EMAIL PROTECTED]>
Subject: Re: Netscape crashed on SMP system
Date: Thu, 06 Jul 2000 11:47:31 +0200

This is probably a hardware problem, I think that you might have two CPU's
with a different stepping level!
SMP machines should always have CPU's with the same stepping. Different
stepping levels result in crashes, core-dumps.

Raymond

Bettina Grohnert wrote:

> Netscap runs fine on all of my single processor linux boxes.
> But on the SMP (dual intel pentium with SuSE 6.4) most of the pages crash.
> I have the latest netscape version. The system itself is stable.
>
> Does anyone share this experience? Can you help me?
>
> Thanks,
> Betti


------------------------------

From: Benjamin Morin <[EMAIL PROTECTED]>
Subject: Re: Clearing MBR
Date: Thu, 06 Jul 2000 11:08:56 +0200

Did you try a "fdisk /MBR" ? This should reset your MBR, I think...

> 
> I recently attempted to install Redhat 6.2 on a WinNT box
> and, well things didn't go exactly according to plan and I
> ended up with a broken linux installation and no NT (there
> wasn't anything on the machine anyway). My problem is how do
> I reset the MBR so I can start from scratch? Lilo seems to
> have taken up permanent residence and insists on booting
> straight into the failed linux install. Even if I try and
> re-install NT from floppys when I get to the first reboot
> lilo sends me straight back into the failed linux. What can
> I do?
> 
> Many thanks
> 
> Jeremy.
>

------------------------------


** 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
******************************

Reply via email to