Linux-Misc Digest #652, Volume #26               Thu, 28 Dec 00 13:13:04 EST

Contents:
  Howto boot LILO on AH2940AU (Michael Joost)
  Re: Need MINIMAL Linux for a laptop dinosaur... (elmig)
  filesystems ("Paul robertson")
  running linux in RAM ("Paul robertson")
  Re: Howto boot LILO on AH2940AU (Lee Allen)
  Re: unset password (Jean-David Beyer)
  Re: Problem to understand entry in inittab (Michael Velten)
  Re: Problem to understand entry in inittab (Michael Velten)
  Re: filesystems ("Kilian A. Foth")
  Backup Windows 2000 partition from Linux (Lee Allen)
  Thrashing HD (Zippy)
  Re: How to make linux "sleep"? ("dont work")
  Re: Printing to an SMB Winprinter (Rod Smith)
  Re: Help-INIT (Dave Brown)
  Netscape frustration trying to view .txt docs ([EMAIL PROTECTED])
  Re: filesystems (John Culleton)
  Re: files #foo# (Andrew N McGuire)
  Newbie Question_Print/spool problems Cups (Matthew)
  performance tools / apps ("sylvianl")
  Re: Thrashing HD (Michael Heiming)
  Re: filesystems (Michael Heiming)
  craps for linux ([EMAIL PROTECTED])
  Re: Does anyone got Tomcat running on Redhat 7.0 (Carfield Yim)
  I can't play video CD at Mandrake 7.2 (Carfield Yim)
  How to set up network printer at linux? (Carfield Yim)
  Any fix for Java in Netscape? (Harmon Seaver)
  Re: How to set up network printer at linux? ("Stefan Carstens RHCE u. SysAdmin 
CoolSpot New Media AG")

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

From: Michael Joost <[EMAIL PROTECTED]>
Subject: Howto boot LILO on AH2940AU
Date: Thu, 28 Dec 2000 16:15:04 +0100
Reply-To: [EMAIL PROTECTED]

This note explains a solution to a LILO problem with a SCSI-controller
Adaptec AHA2940AU.

Linux had been installed on a system with three SCSI disks, connected
via an AHA2940AU controller.
The Linux resided on the third disk (bios=0x82), an 18 GB disk, in an
extended partition, starting above the 8 GB limit.

Fortunately, although the (SCSI-)BIOS dated from 1996, the AHA2940AU
supports LBA adressing in its BIOS.

After installation LILO booted fine from the boot floppy.
But when booted from disk, nothing at all happened.

The diagnostic floppy that comes with LILO 21.6 got stuck in the middle
of displaying EDD parameters.

After some investigation it was discovered that the BIOS has a bug in
the Int 13h function 48h: Get Disk Parameters.
This function returns without error (CY=0), but the buffer isn't updated
(hence, all 0).
In consequence, the diagnostic floppy and LILO itself got confused.

The problem could be solved by explicitly specifying the disc geometry
in the LILO configuration.
The geometry data was retrieved by means of the partition table
information displayed from /sbin/fdisk.


This is the /etc/lilo.conf file that solved the problem:

disk=/dev/sdc
        bios=0x82
        sectors=63
        heads=255
        cylinders=2231
boot=/dev/sdc5
map=/boot/map
install=/boot/boot-text.b
message=/boot/message2
lba32
image=/boot/vmlinuz-2.2.16-22
        label=linux
        initrd=/boot/initrd-2.2.16-22.img
        read-only
        root=/dev/sdc7

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

From: [EMAIL PROTECTED] (elmig)
Crossposted-To: alt.os.linux
Subject: Re: Need MINIMAL Linux for a laptop dinosaur...
Date: 28 Dec 2000 15:15:34 GMT

On www.debian.org you can still find the old debian 1.3 distribution. It's  
excelent distribution. Very small and fast. 
+--------------------------------+
|elmig                           |
|http://www.alunos.ipb.pt/~ee3931|
|Luis.Figueiredo AT pt.bosch.com |
+--------------------------------+

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

From: "Paul robertson" <[EMAIL PROTECTED]>
Subject: filesystems
Date: Thu, 28 Dec 2000 15:13:20 -0000
Reply-To: "Paul robertson" <[EMAIL PROTECTED]>

Hi,
Could someone point me at an overview of the different filesystems supported
by linux from a point of view of performance, features etc. I am looking for
soemthing very simple with good performance.

TIA

Paul Robertson



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

From: "Paul robertson" <[EMAIL PROTECTED]>
Subject: running linux in RAM
Date: Thu, 28 Dec 2000 15:17:05 -0000
Reply-To: "Paul robertson" <[EMAIL PROTECTED]>

Hi,
I've done this before in embedded systems, with a small kernel and ramdisk
loaded from FLASH memory.
Anyone done this with a graphical desktop? How much RAM is required?

TIA,

Paul Robertson



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

From: [EMAIL PROTECTED] (Lee Allen)
Subject: Re: Howto boot LILO on AH2940AU
Reply-To: [EMAIL PROTECTED]
Date: Thu, 28 Dec 2000 15:33:08 GMT

Thank you for taking the time to post this.  I think it may help me
with a problem I am having.

-Lee Allen

On Thu, 28 Dec 2000 16:15:04 +0100, Michael Joost
<[EMAIL PROTECTED]> wrote:

>This note explains a solution to a LILO problem with a SCSI-controller
>Adaptec AHA2940AU.
>
>Linux had been installed on a system with three SCSI disks, connected
>via an AHA2940AU controller.
>The Linux resided on the third disk (bios=0x82), an 18 GB disk, in an
>extended partition, starting above the 8 GB limit.
>
>Fortunately, although the (SCSI-)BIOS dated from 1996, the AHA2940AU
>supports LBA adressing in its BIOS.
>
>After installation LILO booted fine from the boot floppy.
>But when booted from disk, nothing at all happened.
>
>The diagnostic floppy that comes with LILO 21.6 got stuck in the middle
>of displaying EDD parameters.
>
>After some investigation it was discovered that the BIOS has a bug in
>the Int 13h function 48h: Get Disk Parameters.
>This function returns without error (CY=0), but the buffer isn't updated
>(hence, all 0).
>In consequence, the diagnostic floppy and LILO itself got confused.
>
>The problem could be solved by explicitly specifying the disc geometry
>in the LILO configuration.
>The geometry data was retrieved by means of the partition table
>information displayed from /sbin/fdisk.
>
>
>This is the /etc/lilo.conf file that solved the problem:
>
>disk=/dev/sdc
>       bios=0x82
>       sectors=63
>       heads=255
>       cylinders=2231
>boot=/dev/sdc5
>map=/boot/map
>install=/boot/boot-text.b
>message=/boot/message2
>lba32
>image=/boot/vmlinuz-2.2.16-22
>       label=linux
>       initrd=/boot/initrd-2.2.16-22.img
>       read-only
>       root=/dev/sdc7


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

From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: unset password
Date: Thu, 28 Dec 2000 10:46:22 -0500

[EMAIL PROTECTED] wrote:
> 
> In article <92ek50$fcr$[EMAIL PROTECTED]>,
>   [EMAIL PROTECTED] (Bill Unruh) wrote:
> > In <92dn7q$un8$[EMAIL PROTECTED]> [EMAIL PROTECTED] writes:
> > ]>
> > ]> type as root:
> > ]>
> > ]> passwd username
> > ]>
> > ]> and enter a new one, Re-enter and done...:-)
> > ]>
> > ]> Good luck
> >
> > ]that would only change the password. i want the password "unset", not
> > ]changed, locked or emptied.
> >
> > Wh, what in the world is an "unset" password? Tel us what you want first
> > and maybe we can help.
> >
> 
> ok, if you do "passwd -S" on your system accounts, most of them would show
> the status "password not set". these accts have no password set, so noone is
> able to authenticate himself using a password, so they can't log on to those
> accounts. what i want to do is unset the passwords for some of the accts on
> my machine. i'm not talking about a empty password here.
> 
You seem to resist defining what unsetting a password means.

You say you do not wish to run with no password. Running with no
password would be a dumb idea.

Another interpretation is that you want it disabled; i.e., unchanged,
but login impossible. You seem to say you do not want that either.

WHAT DO YOU WANT?

-- 
 .~.  Jean-David Beyer           Registered Linux User 85642.
 /V\                             Registered Machine    73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 10:40am up 1 day, 12:49, 4 users, load average: 2.21, 2.17, 2.11

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

From: Michael Velten <[EMAIL PROTECTED]>
Subject: Re: Problem to understand entry in inittab
Date: Thu, 28 Dec 2000 16:30:03 +0100

* Dave Brown <[EMAIL PROTECTED]> wrote:

>>f1:0:respawn:/sbin/sulogin
>>f2:6:respawn:/sbin/sulogin
>>
>>I don't understand why "sulogin" will be invoked when switching to
>>runlevel (0|6). What's the sense of this?
> You didn't mention which distro you found this on... I'd be curious.  

No special distro. I've found this on the LinuxFromScratch-Documentation
(http://www.linuxfromscratch.org) to build my own Linux. Therefor I'd
like to know the meaning of this entries.

> On some distros, I've seen something like :"su:S:wait:/sbin/sulogin".  
> The idea being here, that if you booted-up into single-user mode 
> (runlevel 1), you'd be prompted for a root password.  This is to protect 
> that fact that Linux is usually installed by default with runlevel 1 
> being enabled from the lilo boot prompt, allowing anyone with physical 
> access to the machine the ability to access it with root authority 
> absent the root password.  

Ok. Clear, thanks.

> I'm wondering if attaching sulogin to runlevels 0 and 6 are to 
> request a root password in the event that shutdown is invoked by 
> a non-root user. (But without some experimentation, I'm not sure 
> if this would work.)

AFAIK non-root user can't normally switch to runlevel (0|6) with
"shutdown", "halt" or "reboot", expect the combination of
"ctrl+alt+del" (if this is present in the inittab file) or any other
methods like 'sudo' for example.

Michael

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

From: Michael Velten <[EMAIL PROTECTED]>
Subject: Re: Problem to understand entry in inittab
Date: Thu, 28 Dec 2000 16:32:10 +0100

* Dan White <[EMAIL PROTECTED]> wrote:

>> f1:0:respawn:/sbin/sulogin
>> f2:6:respawn:/sbin/sulogin
>> 
>> I don't understand why "sulogin" will be invoked when switching to
>> runlevel (0|6). What's the sense of this?

> On my debian box, I've got this in inittab
>
> # Normally not reached, but fallthrough in case of emergency.
> z6:6:respawn:/sbin/sulogin
>
> In a rare instance, I've had run level 6 (which happens on a reboot) fail
> to properly come to a halt. Maybe some service doesn't die right, or init
> gets confused. sulogin will give you the oportunity to some maintanence
> if that happens.

I see! Thank you.

Michael

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

From: "Kilian A. Foth" <[EMAIL PROTECTED]>
Subject: Re: filesystems
Date: 28 Dec 2000 16:08:05 GMT

Paul robertson <[EMAIL PROTECTED]> wrote:
> Hi,
> Could someone point me at an overview of the different filesystems supported
> by linux from a point of view of performance, features etc. I am looking for
> soemthing very simple with good performance.

Well, the Filesystems HOWTO springs to mind, doesn't it.

   http://www.linuxdoc.org/HOWTO/Filesystems-HOWTO.html


-- 
Disclaimer: everything I told you might be wrong.

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

From: [EMAIL PROTECTED] (Lee Allen)
Subject: Backup Windows 2000 partition from Linux
Reply-To: [EMAIL PROTECTED]
Date: Thu, 28 Dec 2000 16:12:50 GMT

I have a system that has Windows 2000 Server on one disk, and Linux on
another.  I would like to backup the W2K partition from Linux, delete
it, and restore it later.

Is this possible?

The W2K disk looks like this, according to Linux fdisk:

   Device Boot    Start       End    Blocks   Id  System
/dev/sdc1   *         1       548   4401778+   7  HPFS/NTFS

I am thinking of something like this:

# copy raw W2K partition to file
dd if=/dev/sdc1 of=/tmp/sdc1.dd
# copy MBR to file
dd if=/dev/sdc of=/tmp/mbr.dd bs=512 count=1
# backup both files to tape
cd /tmp
tar -cf /dev/st0 sdc1.dd mbr.dd
# (maybe put a 'z' in the tar args to compress it, to make it 
#  fit on a single tape)

To restore, I would ensure the disk is partitioned exactly the same,
and then reverse the above steps.

Would this work?
Would this enable me to perform a "bare metal" recovery of my W2K
system, assuming I recreate the partitions exactly as they are now?

I know so little about W2K... 

Thanks.

-Lee Allen

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

From: [EMAIL PROTECTED] (Zippy)
Subject: Thrashing HD
Date: Thu, 28 Dec 2000 16:13:11 GMT

Hello,

        I just installed Mandrake, RH 6.5. While useing KDE i get
constant reading to/from HD. The OS seems to stall of course. 
        I have 64m ram and 50 meg swap on same HD.

        Solutions? Need more info?

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

From: "dont work" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: How to make linux "sleep"?
Date: Thu, 28 Dec 2000 16:16:20 -0000

who is the manufacturer of the keyboard?

maybe their website will have some hints for you..


<[EMAIL PROTECTED]> wrote in message
news:92fg47$[EMAIL PROTECTED]...
> On newer keyboard, there are two buttons called "Sleep" and
> "Wake up" each. In M$Win environment, when I push "Sleep",
> the OS enters the "sleep" mode. (I don't know what the mode
> is, it turns off monitor, hd, all of the fans includes power
> supply.) It comes back immediately as soon as I push "Wake up".
>
> Are there any daemons or programs which could handle this task?
>
> --
>
>
> Jang-Ying Lee <[EMAIL PROTECTED]>
> Kaohsiung, Taiwan, R.O.C.
>
> Taiwan, a sovereign independent country,
> is NOT part of mainland China.



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

Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: Printing to an SMB Winprinter
Date: Thu, 28 Dec 2000 16:21:24 GMT

[Posted and mailed]

In article <[EMAIL PROTECTED]>,
        [EMAIL PROTECTED] (David Bell) writes:
> Is it possible to print, over a network, to a Windoze98SE print server without
> the proper printer drivers?

You multi-posted this message -- posted it separately to different
newsgroups. I answered in another group. In the future, when you must
post to multiple groups, cross-post -- post once, listing all the groups
on one line. As a general rule, you should post to just one group, with
two or three as the absolute maximum. Multi-posting wastes time and
bandwidth. For instance, I wouldn't have answered if I'd seen Peter's
answer in this thread, which provides basically the same information I
did in my response.

-- 
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux & multi-OS configuration

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

From: [EMAIL PROTECTED] (Dave Brown)
Subject: Re: Help-INIT
Reply-To: [EMAIL PROTECTED]
Date: 28 Dec 2000 10:50:21 -0600

In article <[EMAIL PROTECTED]>, Joseph Howell wrote:
>Greets,
>
>I recently updated my ELF libraries. Now, on booting,  I get:
>
>INIT: Id "c1" respawning too fast; disabled for 5 minutes
>(and similar for c2, c3, c4)
>

This might indicate that the libraries you installed are not compatible 
with the version of agetty which is installed on your machine.  I suspect 
your only solution is to put back the libraries in the version you had 
before you updated.  

-- 
Dave Brown  Austin, TX

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

From: [EMAIL PROTECTED]
Subject: Netscape frustration trying to view .txt docs
Date: Thu, 28 Dec 2000 16:28:26 GMT

Can someone please explain to me how to get the Netscape for Linux 4.7
to DISPLAY a text document rather than saving it to disk?  I tried
setting up a mime type (Preferences>Navigator>Applications>New) but as
soon as "MIMEType" is changed, the "Handled by Netscape" radio button
dims out.

Netscape and IE on the Mac and Windows have no problem displaying text
pages.  What am I missing?

   Thank You
     Crayton Boswell III


Sent via Deja.com
http://www.deja.com/

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

From: John Culleton <[EMAIL PROTECTED]>
Subject: Re: filesystems
Date: Thu, 28 Dec 2000 16:33:38 GMT

In article <[EMAIL PROTECTED]>,
  "Paul robertson" <[EMAIL PROTECTED]> wrote:
> Hi,
> Could someone point me at an overview of the different filesystems
supported
> by linux from a point of view of performance, features etc. I am
looking for
> soemthing very simple with good performance.
>
> TIA
>
> Paul Robertson
>
>
My suggestion: Stick with the current standard: ext2 (2nd extended
filesystem.)

There is no reason to go after other obsolete formats on a new system.
There are enough complicatons without didling with the file system
format!

John Culleton
--
John Culleton
WexfordPress services for authors/publishers:
typesetting, indexing, book reviews.
Please visit http://www.wexfordpress.com


Sent via Deja.com
http://www.deja.com/

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

From: Andrew N McGuire <[EMAIL PROTECTED]>
Subject: Re: files #foo#
Date: Thu, 28 Dec 2000 16:36:11 GMT

In article <[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:
> In article <[EMAIL PROTECTED]>, Andrew N. McGuire
wrote:
> >
> >another option would be:
> >
> >  shopt -u interactive_comments
> >
> >in .bashrc.  from then on rm #foo# will suffice.
> >wondering why that option is enabled by default, very rarely
> >(if ever) have i had a need for comments in an interactive shell.
> >does anyone else use them?
>
> Often.  Didn't you ever type in a long command, and then realize that
> before you execute it, you need to execute another command first?  If
> you put a "#" at the beginning of the command line, and hit enter, the
> commandline will not be executed, but will be saved to your command
history.
> Then after you execute the forgotten command, you can retrieve the
saved
> command, delete the # and execute it.

[ snip ]

 Not me, in those situations I usually just go to the beginning of the
line <ESC>I, and type my first command, then a semi-colon.  It saves
a few keystrokes.  Or sometimes I just <ESC>dd, execute the first
command and then <ESC>p, to bring back the other one.   I still cant
think of a time when interactive comments are necessary.  The only
exception I can think of would be for instructive purposes, as in
a Usenet posting answering a newbies question, as in...

bash-2.03$ pwd # get the current working directory
/home/anm

or something similar.  I do not use bash though, so I guess the point
is moot for me.  I just dont see why interactive comments need to be
enabled by default.

anm

--
$ENV{PAGER} = 'perl -wpe0';
system perldoc => '-t', '-F', $0;

=head1 Just Another Perl Hacker


Sent via Deja.com
http://www.deja.com/

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

Date: Fri, 29 Dec 2000 03:51:24 +1100
From: Matthew <[EMAIL PROTECTED]>
Subject: Newbie Question_Print/spool problems Cups

Hello,  I have Cups 1.1.5 installed on RedHat 6.2 on an i686.
All the print jobs go to /var/spool/cups/tmp directory,  In the browser
admin tool- its says all print jobs completed.
But how do I get them to the printer?




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

From: "sylvianl" <[EMAIL PROTECTED]>
Subject: performance tools / apps
Date: Fri, 29 Dec 2000 01:09:31 +0800

Dear all,

Is there any performance tools or applications can monitor a Linux server
and it's network ability?

thanks.

sylvian



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

From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Thrashing HD
Date: Thu, 28 Dec 2000 19:23:22 +0100

Hello,

type:

ps aux

and

cat /proc/meminfo

to look if you're running anything not necessary?

You can post the results to this thread if you want.

64 MB is not very much, if you're using a memory hock like
NS-crashicator.

With 64 MB you should use 128 MB swap, but it won't help you much, try
to get more memory...:-(

Good luck

Michael Heiming
Sysadmin


Zippy wrote:

> Hello,
>
>         I just installed Mandrake, RH 6.5. While useing KDE i get
> constant reading to/from HD. The OS seems to stall of course.
>         I have 64m ram and 50 meg swap on same HD.
>
>         Solutions? Need more info?




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

From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: filesystems
Date: Thu, 28 Dec 2000 19:29:45 +0100

Paul robertson wrote:

> Hi,
> Could someone point me at an overview of the different filesystems supported
> by linux from a point of view of performance, features etc. I am looking for
> soemthing very simple with good performance.
>
> TIA
>
> Paul Robertson

Hello,

as someone else pointed out, use ext2, it's AFAIK one of the fastes file
systems in this world.

Only if you have big HDs/RAIDs > 100-200 GB, and don't have the time for a long
e2fsck, in case of
a rare hard reboot, you should look for reiserfs, which is journalized...:-)

http://www.namesys.com/

Good luck

Michael Heiming
Sysadmin

--
       __   __   __     Virtueller Bau-Markt AG
 \  / [__) [__] [ __    Meerbuscher Strasse 64
  \/  [__) |  | [_./    40670 Meerbusch
     www.vbag.de        Michael Heiming ([EMAIL PROTECTED])




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

From: [EMAIL PROTECTED]
Subject: craps for linux
Date: Thu, 28 Dec 2000 17:20:26 GMT

Has anyone ever seen an ascii/X version of craps or casino related game
for Linux? If not, anyone care to write an ascii version?

blanka.


Sent via Deja.com
http://www.deja.com/

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

From: Carfield Yim <[EMAIL PROTECTED]>
Subject: Re: Does anyone got Tomcat running on Redhat 7.0
Date: Thu, 28 Dec 2000 00:11:23 +0800

[EMAIL PROTECTED] wrote:
> 
> Does anyone got Tomcat running on Redhat 7.0
> 
> Please email me at [EMAIL PROTECTED]
> 
> Sent via Deja.com
> http://www.deja.com/

I am, any problem?

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

From: Carfield Yim <[EMAIL PROTECTED]>
Subject: I can't play video CD at Mandrake 7.2
Date: Thu, 28 Dec 2000 00:21:09 +0800

As title, when I use XMMS smpeg plugin to play, it just skip the file.
Then I try to copy the file to local disk, it reply:
I/O error.

I mount the cdrom as iso 9660, anything wrong?

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

From: Carfield Yim <[EMAIL PROTECTED]>
Subject: How to set up network printer at linux?
Date: Thu, 28 Dec 2000 00:22:00 +0800

As title, how to do?

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

From: Harmon Seaver <[EMAIL PROTECTED]>
Subject: Any fix for Java in Netscape?
Date: Thu, 28 Dec 2000 17:59:05 GMT

   Is there any fix for java and javascript for netscape? I've looked at
all the ns help, done the chkfontpath thing, etc. How come the ns for linux
can't deal with java, the ns for Macs seems to work with java and javascript
just fine.

-- 
Harmon Seaver, MLIS     Systems Librarian
Arrowhead Library System        Virginia, MN
(218) 741-3840  [EMAIL PROTECTED]  http://harmon.arrowhead.lib.mn.us

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

From: "Stefan Carstens RHCE u. SysAdmin CoolSpot New Media AG" 
Subject: Re: How to set up network printer at linux?
Date: Thu, 28 Dec 2000 19:01:33 +0100

Carfield Yim schrieb:

> As title, how to do?

Do you want to share a printer or dou yu have a printer to share ?


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


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

Reply via email to