Linux-Setup Digest #346, Volume #21               Fri, 1 Jun 01 03:13:06 EDT

Contents:
  Re: Installation On a 20GB HArd disk with More than 12Gb for windows ??? does not 
seem possible , Help! (Michael Perry)
  Re: Install of SuSE 7.1 hangs in reboot (Michael Perry)
  Re: Damage root filesystem (Dave Uhring)
  Re: Linux PDA (Michael Perry)
  Re: Retrieving PPP IP Address - answer (Lew Pitcher)
  Re: Program for Quicktime? ("Duane Healing")
  vgetty, mgetty, RH6.2, US-Robotics Sposter Voice 33.6 ("xhc")
  routed ( gated ) and subnet 10.x.x.0 netmask 255.255.255.0 (Garry)
  Re: Install of SuSE 7.1 hangs in reboot (N. Yeamans)
  Mod_Auth_MySQL makes website file listing slow ("John Mravunac")
  Re: Installation On a 20GB HArd disk with More than 12Gb for windows ??? does not 
seem possible , Help! ("Eric")
  Re: core umped ("Eric")
  setting up php 4.0.5 + MySQL: limits.h not found (Neil Zanella)

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

From: [EMAIL PROTECTED] (Michael Perry)
Subject: Re: Installation On a 20GB HArd disk with More than 12Gb for windows ??? does 
not seem possible , Help!
Date: Fri, 01 Jun 2001 05:32:00 -0000
Reply-To: [EMAIL PROTECTED]

On 31 May 2001 22:00:23 -0700, Gopalakrishnan <[EMAIL PROTECTED]> wrote:
> I have a Samsung 20GB hdd , However I have been Unable to Install
> Redhat Linux 6.2 on it , when My windows partition Is more than 8Gb ,
> the redhat Install scripts , simply refuses to create / and /boot
> partitions , saying that the partitions are too big , even if i try to
> givethem just the default 1MB .Please help.

I'm betting that the lilo version in redhat 6.2 does not support booting
past the 1024 cylinder limit.  Get a new redhat or perhaps manduck.

-- 
Michael Perry
[EMAIL PROTECTED]
====================

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

From: [EMAIL PROTECTED] (Michael Perry)
Subject: Re: Install of SuSE 7.1 hangs in reboot
Date: Fri, 01 Jun 2001 05:38:19 -0000
Reply-To: [EMAIL PROTECTED]

On Thu, 31 May 2001 20:07:04 +0200, oz1dcv <[EMAIL PROTECTED]> wrote:
> Pretty new to linux, installed SuSE 7.1 successfully on laptop, but
> problem with an old desktop. Hardware:
> Pentium 100 MHz, 32MB RAM 1 GB IDE hard disk, 3Com ether net 3c905
> PCI.
> 
> Installation on a clean hard disk, default values all around except
> for danish keyboard, minimum system. 
> Installation is non graphical due to amount of RAM. 
> SuSE decides partitioning.
> Using original CD and boot disk from SuSE.
> 
> When the installation reboots everything seems normal until message
> "Starting syslog services"
> after 4-5 seconds with some disk activity the screen clears and there
> remains just a blinking cursor at the top left corner. Disk activity
> continues for a further 5-6 seconds, but after that nothing happens,
> at least not for an hour. (then I pushed the reset button).
> 
> I have tried with both the old kernel and with 2.4 - same results.
> Fresh partitioning on both installs.
> 
> Booting a rescue system (floppy+CD) succeeds, but I have not found
> anything on the harddisk that tells me what could be wrong ( I
> probably don't know what to look after).
> 
> /etc/fstab contains:
> 
> /dev/root   /         etx2            defaults    0     0
> proc  /proc proc                    defaults     0    0
> devpts    /dev/pts   devpts  defaults     0    0
> 
> seems a bit odd to me, but maybe just because the installation hasn't
> completed?
> 
> Any ideas -  how to proceed ?
> 
> -- 
> Yours
> Hans Erik Busk
> Registered Linux user #104633
> [EMAIL PROTECTED]

There is nothing to mount.  Here is my /etc/fstab for a debian unstable
system:

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>
<dump><pass>
/dev/hda2       /               ext2    defaults,errors=remount-ro      01
/dev/hda4       none            swap    sw                      0       0
proc            /proc           proc    defaults                        00
/dev/fd0        /floppy         auto    defaults,user,noauto            00
/dev/cdrom      /cdrom          iso9660 defaults,ro,user,noauto         00
/dev/hda1 /boot ext2 rw                 0       2
/dev/hda3 /home ext2 rw                 0       2
/dev/sda1       /zip            ext2    defaults,rw,user,noauto         00

I don't know what happened to the installation but it creates mount points
that I bet do not exist on the system.  What does the /etc/lilo.conf file
say?  Next time you boot with a rescue cd, check out /dev/root...  Does it
exist?  Do you recall how you partitioned the drive?  One big file system
mounted under /?  Is it /dev/hda1?  Try running fdisk and checking out where
and what SuSE created.  I don't personally like the distros which allow
people the option of letting the distro set things up.  RedHat's gremlin
program or whatever its called would cheerfully write file systems it could
not boot.  Have you tried manually setting this up using cfdisk under the
SuSE installation?  IOW, you do the partitioning?


-- 
Michael Perry
[EMAIL PROTECTED]
====================

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

From: Dave Uhring <[EMAIL PROTECTED]>
Subject: Re: Damage root filesystem
Date: Thu, 31 May 2001 21:13:43 -0500

Robert Morelli wrote:

> I recently installed Red Hat 7.1 on a fresh partition.  The day after
> the installation,  linux froze up and wouldn't respond to
> Ctrl-Alt-Backspace or Ctrl-Alt-Delete.  I was forced to
> do a hard reboot.  During the next boot,  I got some messages
> about the root filesystem having inconsistencies and I had to
> run fsck to repair them.  However,  there was some stuff put
> in lost+found resulting from inodes fsck didn't know what to
> with.
> 
> My question is,  is it safe to keep using this installation?  It
> seems to be working.   (It's a little flakey,  but that's life with
> linux).
> However,  I'm wondering what that lost data was and whether
> it's likely to pop up in some nasty way some time.
> 
> Thanks,
> Robert Morelli
> 

Linux is not flaky, not even a little bit.  You have some hardware 
problems.  Check your heat sink/fan assembly; is it full of lint?  Grab 
memtest86 off the web, build it, install it to floppy and run it overnight. 
 Loosen and reseat all your plug-in adapters.

Learn how to use Alt-SysRq sequences.  Better yet reinstall using reiserfs 
or XFS.


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

From: [EMAIL PROTECTED] (Michael Perry)
Subject: Re: Linux PDA
Date: Fri, 01 Jun 2001 05:40:50 -0000
Reply-To: [EMAIL PROTECTED]

On Wed, 30 May 2001 17:52:05 GMT, BetrOffDed <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>, "Alexander Martinez"
><[EMAIL PROTECTED]> wrote:
> 
>> Hello,
>> 
>> I want to purchase a Linux PDA, but I'm kind of clueless about the model
>> to purchase. Is there a place, where I can get a complete listing of all
>> the Linux PDAs and Organizers out there? It must be Linux, because I
>> don't want to use any Windoze crap again.
>> 
>> Thanks in advance.
>> 
>> Greetings
>> Alex
> 
> The PDA needs to run linux? Or just work with linux?
> 
> The only PDA currently available that I am aware of running linux
> out-of-the-box is the Agenda. http://www.agendacomputing.com/
> 
> You can use palms and visors with linux though.
> 
> YOPY, a multimedia PDA (akin to a pocketpc I suppose) is being developed,
> but AFAIK is only availalbe in a developers kit at this time.
> http://www.gmate.co.kr/english/products/development_kit.htm
> 
> Sorry, I'm not aware of a linux PDA page. Have you tried google.com?

www.handhelds.org is a good web page devoted to pda type information.  As a
point of interest, ipaqs can run linux in several different flavors.  The
YOPY kit is rediculously prices and I don't believe I would ever buy one
with the advances being made by the developers of Linux on the IPAQ.   ImO,
that is where the fun is if you want to work with linux on a pda.  If you
just want to use a linux pda you could get an agenda or wait for perhaps
sharp to release one later this year.  HP has also made rumblings about a
linux pda.


-- 
Michael Perry
[EMAIL PROTECTED]
====================

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

From: Lew Pitcher <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.admin,comp.protocols.ppp
Subject: Re: Retrieving PPP IP Address - answer
Date: Fri, 01 Jun 2001 05:44:42 GMT

Bill Unruh wrote:
> 
> In <[EMAIL PROTECTED]> Robert A Munro <[EMAIL PROTECTED]> writes:
> 
> ]Mark,
> 
> ]Here's what you need:
> 
> ]IP=$(/sbin/iconfig | /bin/grep P-t-P | /usr/bin/cut -c 21-38 | /bin/awk
> ]'{print $1}' );
> 
> Or remember that the IP address is reported ( arg. 4 I believe) to the ip-up script
> when ppp starts up. You can run your ipchains scripts from ip-up using the address.

 #!/bin/bash
 # /etc/ppp/ip-up Interface Device Speed Our_ip_addr Isp_ip_address ...
 #                "$1"      "$2"   "$3"  "$4"        "$5"
 #
 # Record a sentinal file
 echo $4 >/var/run/$1.ip
 # at this point, /var/run/<interface>.ip will contain our IP address
 #
 # There's nothing stopping us from running <interface> or <ip>
 # specific firewalling rules from here, is there..   ;-)


-- 
Lew Pitcher

Master Codewright and JOAT-in-training
Registered Linux User #112576

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

From: "Duane Healing" <[EMAIL PROTECTED]>
Subject: Re: Program for Quicktime?
Date: Fri, 01 Jun 2001 05:46:11 GMT

There isn't such a thing.

Harangue Apple. I write their customer service department every six months
asking them to release a version of the Quicktime player for Linux. It
hasn't worked yet. This is (one of) the exact reason(s) why proprietary
file formats are bad, m'kay. Stick with mpeg whenever possible.

--
-Duane
-DNAware SoftLabs

In a feverish moment of semi-lucidity, "tsugi_t" <[EMAIL PROTECTED]>
flailed at the keyboard thusly:
> Hello.  I am new to linux and trying to find a program to watch quick
> time movie.
> I found Xanim, but it is to difficult for me to install.  Is there any
> RPM package to
> view Quicktime movie that is easy to install?
> 
> Thank you,
> 
> Tsugi
>

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

From: "xhc" <[EMAIL PROTECTED]>
Subject: vgetty, mgetty, RH6.2, US-Robotics Sposter Voice 33.6
Date: Fri, 1 Jun 2001 14:14:16 +0800

Finally I got everything work. But the problem is by running vgetty in
inittab, my modem handle the data connection as a voice. I have tried use
force-init-chat but still does not work.
For now, i can only chose two function to work, either data + fax or voice +
fax.
Can anyone help me to have my Sposter Voice modem to recognize the data when
running vgetty?



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

From: [EMAIL PROTECTED] (Garry)
Subject: routed ( gated ) and subnet 10.x.x.0 netmask 255.255.255.0
Date: Fri, 01 Jun 2001 05:42:16 GMT

I have several hosts under Linux Red Hat. Every host have several
ethernet  interfaces subnet 10.x.x.0 netmask 255.255.255.0 and 
connected with other via ethernet. I start routed or gated 
but hosts don't got routing table one from another. If subnet is
192.168.x.x
routed and gated work correct.
Why ? 
How can I make routed and gated don't use default netmask for own
class?
Thanks for help.

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

From: [EMAIL PROTECTED] (N. Yeamans)
Subject: Re: Install of SuSE 7.1 hangs in reboot
Date: Fri, 01 Jun 2001 06:49:43 GMT

Upon the 31 of May in the hour of 23 MDT, the great Michael Perry did decree:

> On Thu, 31 May 2001 20:07:04 +0200, oz1dcv <[EMAIL PROTECTED]> wrote:
>> When the installation reboots everything seems normal until message
>> "Starting syslog services"
>> after 4-5 seconds with some disk activity the screen clears and there
>> remains just a blinking cursor at the top left corner. Disk activity
>> continues for a further 5-6 seconds, but after that nothing happens,
>> at least not for an hour. (then I pushed the reset button).
...
>> /etc/fstab contains:
>> 
>> /dev/root   /         etx2            defaults    0     0
>> proc  /proc proc                    defaults     0    0
>> devpts    /dev/pts   devpts  defaults     0    0

The filesystem type for /dev/root doesn't look right.  The etx2 should
probably be ext2, unless you made a typo when you entered it into the post.
May not matter for root though. If it did you would have seen some sort of
mount error.

>> seems a bit odd to me, but maybe just because the installation hasn't
>> completed?

Do you have more than one linux partition on this machine?  If so, you
just need to add them.  This may be causing your problem:  if you have a
/usr partition, then some of your startup programs are probably in there.
For example, on my system's syslogd is at /usr/sbin.

When you boot your rescue floppy next time, try 'fdisk -l' to see what
partitions you have.

> There is nothing to mount.  Here is my /etc/fstab for a debian unstable
> system:
...
> say?  Next time you boot with a rescue cd, check out /dev/root...  Does it
> exist?

Actually, he does have something to mount.  IIRC, /dev/root is just a
reference to the root device--and no, I don't think it has to exist, however
it is probably good form to make a symbolic link to the actual device that it
represents.

Also note, that everything should still work if you don't put the root device
in fstab.  The kernel is told by the boot loader (or the kernel settings)
which filesystem is root.  When the fs is remounted to rw, I believe most
startup scripts reference / to mount, eliminating any need to know what
root is on.  Lastly, when shutting down, 'umount -a' is used, which only
looks at /etc/mtab.

It is a good idea to have the line there for reference, and maybe something
could depend on it, however I don't think it is required.

> I don't personally like the distros which allow
> people the option of letting the distro set things up.  RedHat's gremlin
> program or whatever its called would cheerfully write file systems it could
> not boot.  Have you tried manually setting this up using cfdisk under the
> SuSE installation?  IOW, you do the partitioning?

I agree with this, when my friend was setting up his webserver with RedHat,
the install automatically wrote over all his partitions marked for Linux.
Including the ones on his second drive that had his backups and his
ethernet card driver.  The computer had no floppy, so he couldn't just
load it back on.  We had a fun time playing with his null modem cable
to see if we could transfer it that way...but all he had on his other box
was a crappy windows program.  At any rate, we gave up, so he decided
to buy a CD burner and put it on a CD.  I guess it was a great excuse to
give to his wife, but still...

-- 
Norman Yeamans - [EMAIL PROTECTED]
The guardian of the sacred moldy cup of crustations.

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

Reply-To: "John Mravunac" <[EMAIL PROTECTED]>
From: "John Mravunac" <[EMAIL PROTECTED]>
Subject: Mod_Auth_MySQL makes website file listing slow
Date: Fri, 1 Jun 2001 16:38:57 +1000

Hi,

I have a dual processor Pentium 3 machine with Apache 1.3.12 and
Mod_Auth_MySQL 2.20 installed running RedHat 6.2 server with the 2.2.14-5.0
kernel. I have a problem in that the directories which require
authentication take quite some time to list, taking even longer depending on
how many directories/files are within the directory being listed.
Times are:
4 seconds to list a directory with 3 subdirectories
12 seconds to list a directory with 19 subdirectories
Comparing this to directory listings with no authentication which popup
immediatley, it does seem like forever.

Is this how it is supposed to be, or have I perhaps misconfigured something.
When I move through the directories requiring authentication, each time I
wait for the listings to appear, the mysqld process shoots up to 100% CPU
utilisation.

I'm not sure how exactly this authentication occurs, as looking in the
mysql.log file, this is what appear when I access a directory with only 3
subdirectories within it:
010601 13:14:12     153 Connect    wwwguest@localhost on
                    153 Init DB    CitAdmin
                    153 Query      select Password from tb_sites where
ID='staff'
010601 13:14:13     153 Init DB    CitAdmin
                    153 Query      select ChargeForSupport from tb_sites
where ID='staff'
010601 13:14:14     153 Init DB    CitAdmin
                    153 Query      select count(*) from groups where
ID='staff' and (GroupName='INET Members Default')
                    153 Init DB    CitAdmin
                    153 Query      select Password from tb_sites where
ID='staff'
010601 13:14:15     153 Init DB    CitAdmin
                    153 Query      select ChargeForSupport from tb_sites
where ID='staff'
010601 13:14:16     153 Init DB    CitAdmin
                    153 Query      select count(*) from groups where
ID='staff' and (GroupName='INET Members Default')
                    153 Init DB    CitAdmin
                    153 Query      select Password from tb_sites where
ID='staff'
010601 13:14:17     153 Init DB    CitAdmin
                    153 Query      select ChargeForSupport from tb_sites
where ID='staff'
                    153 Init DB    CitAdmin
                    153 Query      select count(*) from groups where
ID='staff' and (GroupName='INET Members Default')
010601 13:14:18     153 Init DB    CitAdmin
                    153 Query      select Password from tb_sites where
ID='staff'
                    153 Init DB    CitAdmin
                    153 Query      select ChargeForSupport from tb_sites
where ID='staff'
010601 13:14:19     153 Init DB    CitAdmin
                    153 Query      select count(*) from groups where
ID='staff' and (GroupName='INET Members Default')
010601 13:14:20     153 Init DB    CitAdmin
                    153 Query      select Password from tb_sites where
ID='staff'
                    153 Init DB    CitAdmin
                    153 Query      select ChargeForSupport from tb_sites
where ID='staff'
010601 13:14:21     153 Init DB    CitAdmin
                    153 Query      select count(*) from groups where
ID='staff' and (GroupName='INET BetaCitect Default')
                    153 Init DB    CitAdmin
                    153 Query      select Password from tb_sites where
ID='staff'
010601 13:14:22     153 Init DB    CitAdmin
                    153 Query      select ChargeForSupport from tb_sites
where ID='staff'
010601 13:14:23     153 Init DB    CitAdmin
                    153 Query      select count(*) from groups where
ID='staff' and (GroupName='INET BetaP2B Default')
                    153 Init DB    CitAdmin
                    153 Query      select Password from tb_sites where
ID='staff'
010601 13:14:24     153 Init DB    CitAdmin
                    153 Query      select ChargeForSupport from tb_sites
where ID='staff'
010601 13:14:25     153 Init DB    CitAdmin
                    153 Query      select count(*) from groups where
ID='staff' and (GroupName='INET BetaCitect Default'
 or GroupName='INET BetaP2B Default')
                    153 Init DB    CitAdmin
                    153 Query      select Password from tb_sites where
ID='staff'
010601 13:14:26     153 Init DB    CitAdmin
                    153 Query      select ChargeForSupport from tb_sites
where ID='staff'
010601 13:14:27     153 Init DB    CitAdmin
                    153 Query      select count(*) from groups where
ID='staff' and (GroupName='INET Members Default')
                    153 Quit
Why so many queries?

This is my configuration in access.conf which declares the permissions:
<Directory "/usr/local/apache/cit/others/addevent">

        Auth_MySQL_DB CitAdmin
        Auth_MySQL_Password_Table tb_sites
        Auth_MySQL_Group_Table groups
        Auth_MySQL_Username_Field ID
        Auth_MySQL_Password_Field Password
        Auth_MySQL_Group_Field GroupName
        Auth_MySQL_Empty_Passwords off
        Auth_MySQL_Encryption_Types Plaintext
        Auth_MySQL_Encrypted_Passwords off
        Auth_MySQL_Non_Persistent on
        AuthName "Restricted Access"
        Options FollowSymLinks MultiViews
        AuthType Basic
        require group "INET Distributors"
        Order allow,deny
        Allow from all

</Directory>
Any help anybody can offer would be greatly appreciated! :)

Thanks,
John Mravunac :^)



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

From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: Installation On a 20GB HArd disk with More than 12Gb for windows ??? does 
not seem possible , Help!
Date: Fri, 1 Jun 2001 08:40:38 +0200

> > I have a Samsung 20GB hdd , However I have been Unable to Install
> > Redhat Linux 6.2 on it , when My windows partition Is more than 8Gb ,
> > the redhat Install scripts , simply refuses to create / and /boot
> > partitions , saying that the partitions are too big , even if i try to
> > givethem just the default 1MB .Please help.
>
> I'm betting that the lilo version in redhat 6.2 does not support booting
> past the 1024 cylinder limit.  Get a new redhat or perhaps manduck.
>

You could do that.
Or you can use fdisk instead of DiskDruid to partition for linux.
(There's a check box in the upper right corner of one of the install screens
 to use fdisk)

Make sure to make a bootfloppy though, or else you will have a problem
booting.
After you finished the install, you can always update to a newer lilo that
does
support booting from beyond cylinder 1024.

Eric



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

From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: core umped
Date: Fri, 1 Jun 2001 08:43:05 +0200

> I could install an old distribution of Red Hat, altough I can't start
> startX.
>
> When I do fdisk -l, I see my mounts and closed the message:
>
> " Segmentation Fault (core dumped)"
>
> Seems there is something wrong, but don't now enough yet of linux to hit
the
> right keys to get my next steps todo. Any help appreciated.
>

Test your RAM and check the HDD for badblocks. Both
would be good next steps to take.

Erc



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

From: Neil Zanella <[EMAIL PROTECTED]>
Subject: setting up php 4.0.5 + MySQL: limits.h not found
Date: Fri, 1 Jun 2001 03:54:23 -0230


Hello,

I just downloaded php-4.0.5 and already have Apache 1.3.14 and MySQL
3.23.38 installed on my system. MySQL is from the RPMs provided at
the MySQL site. These install MySQL files all over the place such as
under /usr/include, /usr/lib, /usr/bin, /usr/sbin, /usr/share, and
/var/lib/mysql, etc... hence I could not really specify one particular
directory to --with-mysql. I ran configure with no trouble but then
I have problems at the make phase. I am running Red Hat 6.2 with the
various packages it provides. Now what is this error about linux/limits.h
missing and how can I specify the location of my MySQL files?
By the way does anyone know what distributions come with a version of
php supporting mysql? Also why is make using egcs and not gcc?

Thanks,

Neil

[root@tulip php-4.0.5]# ./configure --with-apxs=/usr/sbin/apxs --with-mysql
[root@tulip php-4.0.5]# make
Making all in Zend
make[1]: Entering directory `/tmp/php-4.0.5/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../main   -DLINUX=2 -DEAPI -DUSE_EXPAT -DSUPPORT_UTF8
-DXML_BYTE_ORDER=12  -g -O2 -c zend_language_scanner.c
In file included from /usr/include/errno.h:36,
                 from zend_language_scanner.c:2718:
/usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
In file included from /usr/include/bits/posix1_lim.h:126,
                 from /usr/include/limits.h:30,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:117,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/syslimits.h:7,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:11,
                 from zend_language_scanner.c:2719:
/usr/include/bits/local_lim.h:27: linux/limits.h: No such file or
directory
make[1]: *** [zend_language_scanner.lo] Error 1
make[1]: Leaving directory `/tmp/php-4.0.5/Zend'
make: *** [all-recursive] Error 1
[root@tulip php-4.0.5]#






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


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

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

Reply via email to