Linux-Setup Digest #603, Volume #20              Sat, 10 Feb 01 17:13:08 EST

Contents:
  Mandrake 7.2 and XFree 4.0.2 Help! (Joseph Wilkicki)
  Re: Mandrake 7.2 and XFree 4.0.2 Help! (Joseph Wilkicki)
  Re: Help setting up a lilo script (Craig Van Tassle)
  Re: win98 and linux networking ("James")
  Re: Sendmail problem... ("James")
  Problem upgrading to RedHat kernal 2.2-17 from 2.2-16 (Neuralmancer)
  promise raid fasttrak33 under suse7.1 ("Steffie")
  Re: Howto stop the xdm login (level 5) and get a console? (Bill Unruh)
  Just Out Of Curiosity: Do you know of any good (free) C++ developers suite, other 
than the standard stuff that comes with Red Hat?; How about Pascal/Delphi? ("Bjarke 
Thor Iversen")
  Re: php4 & mysql setup pb (Robert Wessels)
  Re: php4 & mysql setup pb (Mark Wilkinson)
  I want to KILL caps lock, not swap it... (Michael W. Godfrey)
  Mandrake 7.2 and XFree86 4.0.2 Help! - Repost (Joseph Wilkicki)
  mounting udf discs as nonroot (Gregory Davis)
  Re: I want to KILL caps lock, not swap it... ("Peter T. Breuer")
  Re: Invisible ".filename" files in user ftp directories (Dan Poynor)
  Re: Sound Blaster 16 PCI, setup, etc. ("fabrizio FF")
  Re: Sendmail problem... ("Peter T. Breuer")

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

From: Joseph Wilkicki <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x,comp.windows.x.i386unix,alt.os.linux.mandrake
Subject: Mandrake 7.2 and XFree 4.0.2 Help!
Date: Sat, 10 Feb 2001 13:28:11 -0500

Hi!

I recently installed XFree86 4.0.2 from the RPMs rebuilt for Mandrake
7.2.  My 3D acceleration broke when I did however.  In
/var/log/XFree86.0.log the error appears to be this:

(EE) R128(0): R128DRIScreenInit failed (DRM version = 1.0.0, expected
2.1.x).  Disabling DRI.
(0): [drm] failed to remove DRM signal handler
(0): [drm] removed 1 reserved context for kernel
DRIUnlock called when not locked               

So I downloaded the DRI CVS tree and tried to compile the
/xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel directory
which contains the r128 kernel module I need (I don't have enough space
to make World like DRI suggests).  When I placed the built module in the
appropriate place (well, where Mandrake put the old one anyway) and
rebooted (yes, I know this isn't really necessary) an lsmod said that
r128 was initializing, but the agpgart module was not loaded.  After
disabling DRI in my XF86Config-4 file I rebooted, installed the modules
in the proper order (they loaded without errors) then reenabled dri and
restarted X.  When I tried to run the Mesa gears demo I got an error
where it appeared that drm was giving a bad buffer = -14.  I don't have
the exact text now because I rolled back my kernel module to the old
one.  In any case, it didn't work.

So my question is how do I successfully compile the kernel module so it
works (and loads in the correct order, that is agpgart first, then
r128).  The relevant file snippets:
host.def - configured according to the DRI compilation guide:

/*#define DefaultGcc2AxpOpt -O2 -mcpu=ev6*/
#define DefaultGcc2i386Opt -O2
#ifdef AlphaArchitecture
#define LibraryCDebugFlags -O2 -mcpu=ev6
#else
#define LibraryCDebugFlags -O2
#endif
#define BuildServersOnly YES
#define XF86CardDrivers vga tdfx i810 mga ati glint
#define LinuxDistribution LinuxRedHat
#define GccWarningOptions -Wall -Wpointer-arith -Wstrict-prototypes \
                          -Wmissing-prototypes -Wmissing-declarations \
                          -Wnested-externs
#define DefaultCCOptions -ansi GccWarningOptions -pipe -g
#define NormalLibGlx NO
 
#define BuildXF86DRI YES
/*#define HasGlide3 YES*/
 
/*#ifdef i386Architecture*/
#define MesaUse3DNow YES
/*#if HasKatmaiSupport */
/*#  define MesaUseKatmai YES */
/*#endif*/
/*#endif*/
 
/* To do profiling of the dynamically loaded 'xyz_dri.so' object, turn
 * this on.
 * Use 'xc/lib/GL/makeprofile.sh' to make it work.
 */
/* #define GlxSoProf YES */
 
#ifdef GlxSoProf
#  undef DefaultCCOptions
#  define DefaultCCOptions -ansi GccWarningOptions -pipe -g -p
#endif
 
/* Optionally turn these on for debugging */
/* #define GlxBuiltInTdfx YES */
/* #define GlxBuiltInI810 YES */
/* #define GlxBuiltInMga YES */
/* #define GlxBuiltInR128 YES */
/* #define GlxBuiltInRadeon YES */
/* #define DoLoadableServer NO */
 
/* Optionally turn this on to change the place where you install the
build */
#define ProjectRoot /usr/X11R6-DRI
 
/* Optionally turn this on to force the kernel modules to build */
#define BuildXF86DRM YES
 
#define XnestServer NO
#define XVirtualFramebufferServer NO
#define XprtServer NO            

Relevant section of XF86Config-4:

Section "Module"
 
# This loads the DBE extension module.
 
    Load        "dbe"
 
 
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
 
    SubSection  "extmod"
        #Option "omit xfree86-dga"
    EndSubSection
 
    Load        "glx"
    Load        "dri"
 
 
# This loads the Type1 and FreeType font modules
    Load        "type1"
    Load        "freetype"
EndSection
 
Section "DRI"
        Mode 0666
EndSection        

And finally, my hardware setup:

AMD Duron 700 Mhz
128 MB RAM
ATI All-in-Wonder 128 16MB AGP (with Rage128 GL chip)
Linux Kernel: 2.2.17-21mdk (the default from Mandrake 7.2)

Any help on this issue would be greatly appreciated.

Joe Wilkicki

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

From: Joseph Wilkicki <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x,comp.windows.x.i386unix,alt.os.linux.mandrake
Subject: Re: Mandrake 7.2 and XFree 4.0.2 Help!
Date: Sat, 10 Feb 2001 13:31:33 -0500

Sorry for the double post... my newsreader got a little messed up

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

From: Craig Van Tassle <[EMAIL PROTECTED]>
Subject: Re: Help setting up a lilo script
Date: Sat, 10 Feb 2001 12:30:55 -0600

Craig Van Tassle wrote:

> I am running a dual-boot win98se and Rh7 Kernel 2.2.16.  I want to find
> a way to change the PNP in the epom of my NIC.  I am using a 3c509b
> and linux can not use it in PNP mode and I cant get my window box to use
> my NIC in non-PNP mode.  I want to set up a script to change the
> NIC's pnp mode upon boot.
> Thanks

Never mind I got it working



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

From: "James" <[EMAIL PROTECTED]>
Subject: Re: win98 and linux networking
Date: Sat, 10 Feb 2001 19:37:46 +0100

add the linux-machine's internal ip (eth1) as the default gateway for your
win98 box
read the ip-masquerading howto at www.linuxdoc.org. Good luck!



"Todd Ahlstrom" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I have my linux machine up and running Red Hat 6.1 currently.  I have a
> cable modem which I have hooked to eth0.  I also have a win98 machine
> that I would like to be able to access the internet through the cable
> modem.  I connected the win 98 machine to my linux machines eth1 card.
> What I need to know is how to get the windows machine and the linux
> machine to communicate.  I am very new to linux networking, so I am not
> sure how to do this with tcp/ip.  Like I mentioned I have the cable
> modem working fine on eth0, I just need to get the win98 machine to
> communicate with eth1 and be able to access the internet.  If I am doing
> something horribly wrong here, excuse my ignorance.  I am excited about
> Linux, but I still need to have that win98 machine hooked up to the
> internet for my wife.
>
> Thanks,
> Todd
>



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

From: "James" <[EMAIL PROTECTED]>
Subject: Re: Sendmail problem...
Date: Sat, 10 Feb 2001 19:45:18 +0100

sendmail doesn't receive mail. to receive mail you need a program like
fetchmail.


"avi" <[EMAIL PROTECTED]> wrote in message news:95qnsa$cni$[EMAIL PROTECTED]...
> Hi,
>
> I had install my domain and send mail to my server.
> I can send mail but I cann't resive any mail.
> is there any setting I need to do or somewhere I can check to solve the
> problem?
>
> redhat 7.0
> Thanks
>
>



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

Subject: Problem upgrading to RedHat kernal 2.2-17 from 2.2-16
From: [EMAIL PROTECTED] (Neuralmancer)
Date: Sat, 10 Feb 2001 19:08:41 GMT

I used up2date to upgrade the kernal from 2.2-16 to 2.2-17.  Upon reboot 
none of the eth and USB devices would come up.  RE-installed the 2.2-16 
kernal and everything appears to be back to normal.  I noticed the Lilo 
attempted to boot up 2.2-16 rather than 2.2-17.  What went wrong?

Lee

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

From: "Steffie" <[EMAIL PROTECTED]>
Subject: promise raid fasttrak33 under suse7.1
Date: Sat, 10 Feb 2001 20:12:11 +0100

i have a problem to install suse on my raid system. suse cant correctly read
the partition table. can somebody help??


regrets steffie



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

From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: Howto stop the xdm login (level 5) and get a console?
Date: 10 Feb 2001 19:37:07 GMT

In <9632n7$j6e$[EMAIL PROTECTED]> "Malcolm Hudson" <[EMAIL PROTECTED]> 
writes:

]G'day!
]Made some changes following suggestions for tt fonts.
]Must have messed up, and now the screen just flashes after
]the auto login through Mandrake 7.0
]Ctrl-Alt-BS doesn't stop the blinking and I can't work out how
]to get out of this mess, just have to crash out and reboot.

alt-ctrl-F2, alt-ctrl-F3, ... alt-ctrl-F6

Or reboot in single user mode (linux 1 at LILO prompt) and change
/etc/inittab

]Can't get it to do any different on the reboot however.
]I type "I" following Mandrake screen prompt to break in,
]but don't seem to be able to turn off the auto login.
]Any suggestions would be most helpful!!!
]Malcolm




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

From: "Bjarke Thor Iversen" <[EMAIL PROTECTED]>
Subject: Just Out Of Curiosity: Do you know of any good (free) C++ developers suite, 
other than the standard stuff that comes with Red Hat?; How about Pascal/Delphi?
Date: Sat, 10 Feb 2001 19:50:49 -0000

thanx



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

From: Robert Wessels <[EMAIL PROTECTED]>
Crossposted-To: alt.php
Subject: Re: php4 & mysql setup pb
Date: Sat, 10 Feb 2001 20:11:38 GMT

edit your php.ini file ;-)

be sure the line "extension_dir = /path/to/your/php/extensions" is
correct and the mysql.so is in that dir 
now add somwhere in your php.ini file

the line "extension=mysql.so" an restart apache!

This should fix the problem :-)

-- 

  Grass And Cows
 Web Applications
Klimopstraat 56
7552SP Hengelo
The Netherlands
T (0031) 74 250 4758
M (0031) 61 962 6702
F (0031) 20 869 4638
W http://GrassAndCows.eu.org
E [EMAIL PROTECTED]


JM wrote:

> 
> Hi,
> I upgraded my system to RH7, which installed php4 (i was running php3
> before).
> The only problem i have is that the install compiled php without mysql.
> So now i have to add in my scripts the line <? dl("mysql.so"); ?> so it
> would load the mysql functions, and it works.
> Can somebody help me change the configuration so that the mysql support
> would be automatically loaded when the server starts?
> Thanks,
>         JM

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

From: Mark Wilkinson <[EMAIL PROTECTED]>
Crossposted-To: alt.php
Subject: Re: php4 & mysql setup pb
Date: Sat, 10 Feb 2001 20:25:55 +0000

Hi,

You need to get the latest distribution of php4 and configure it
--with-mysql to enable the mysql functions IMHO.

JM wrote:

> Hi,
> I upgraded my system to RH7, which installed php4 (i was running php3
> before).
> The only problem i have is that the install compiled php without mysql.
> So now i have to add in my scripts the line <? dl("mysql.so"); ?> so it
> would load the mysql functions, and it works.
> Can somebody help me change the configuration so that the mysql support
> would be automatically loaded when the server starts?
> Thanks,
>         JM

--
Mark Wilkinson
Wiggis Web Works
http://www.wiggis.com



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

From: [EMAIL PROTECTED] (Michael W. Godfrey)
Subject: I want to KILL caps lock, not swap it...
Date: 10 Feb 2001 20:18:41 GMT


I have a Mandrake 7.2 setup.

I want to turn the caps lock key into a second cntl key.
I DON'T want to just swap the caps lock and cntl.

I would like this to work inside and outside of X windows and be global for
all users.  So far, google was found lots of receipes for just swapping the
caps lockand cntl.

I'm assuming there's some global file I can just edit and have work forever
more...but which one is it?

Enlightenment much appreciated.



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

From: Joseph Wilkicki <[EMAIL PROTECTED]>
Crossposted-To: 
alt.os.linux.mandrake,comp.os.linux.x,comp.windows.x,comp.windows.x.i386unix
Subject: Mandrake 7.2 and XFree86 4.0.2 Help! - Repost
Date: Sat, 10 Feb 2001 16:12:51 -0500

This is a repost of my earlier posting because it apparently got deleted 
from some servers.  I apologize to the group for these repetitive posts.  
Teaches me for being lazy and using Netscape

Hi!

I recently installed XFree86 4.0.2 from the RPMs rebuilt for Mandrake
7.2.  My 3D acceleration broke when I did however.  In
/var/log/XFree86.0.log the error appears to be this:

(EE) R128(0): R128DRIScreenInit failed (DRM version = 1.0.0, expected
2.1.x).  Disabling DRI.
(0): [drm] failed to remove DRM signal handler
(0): [drm] removed 1 reserved context for kernel
DRIUnlock called when not locked               

So I downloaded the DRI CVS tree and tried to compile the
/xc/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel directory
which contains the r128 kernel module I need (I don't have enough space
to make World like DRI suggests).  When I placed the built module in the
appropriate place (well, where Mandrake put the old one anyway) and
rebooted (yes, I know this isn't really necessary) an lsmod said that
r128 was initializing, but the agpgart module was not loaded.  After
disabling DRI in my XF86Config-4 file I rebooted, installed the modules
in the proper order (they loaded without errors) then reenabled dri and
restarted X.  When I tried to run the Mesa gears demo I got an error
where it appeared that drm was giving a bad buffer = -14.  I don't have
the exact text now because I rolled back my kernel module to the old
one.  In any case, it didn't work.

So my question is how do I successfully compile the kernel module so it
works (and loads in the correct order, that is agpgart first, then
r128).  The relevant file snippets:
host.def - configured according to the DRI compilation guide:

/*#define DefaultGcc2AxpOpt -O2 -mcpu=ev6*/
#define DefaultGcc2i386Opt -O2
#ifdef AlphaArchitecture
#define LibraryCDebugFlags -O2 -mcpu=ev6
#else
#define LibraryCDebugFlags -O2
#endif
#define BuildServersOnly YES
#define XF86CardDrivers vga tdfx i810 mga ati glint
#define LinuxDistribution LinuxRedHat
#define GccWarningOptions -Wall -Wpointer-arith -Wstrict-prototypes \
                          -Wmissing-prototypes -Wmissing-declarations \
                          -Wnested-externs
#define DefaultCCOptions -ansi GccWarningOptions -pipe -g
#define NormalLibGlx NO
 
#define BuildXF86DRI YES
/*#define HasGlide3 YES*/
 
/*#ifdef i386Architecture*/
#define MesaUse3DNow YES
/*#if HasKatmaiSupport */
/*#  define MesaUseKatmai YES */
/*#endif*/
/*#endif*/
 
/* To do profiling of the dynamically loaded 'xyz_dri.so' object, turn
 * this on.
 * Use 'xc/lib/GL/makeprofile.sh' to make it work.
 */
/* #define GlxSoProf YES */
 
#ifdef GlxSoProf
#  undef DefaultCCOptions
#  define DefaultCCOptions -ansi GccWarningOptions -pipe -g -p
#endif
 
/* Optionally turn these on for debugging */
/* #define GlxBuiltInTdfx YES */
/* #define GlxBuiltInI810 YES */
/* #define GlxBuiltInMga YES */
/* #define GlxBuiltInR128 YES */
/* #define GlxBuiltInRadeon YES */
/* #define DoLoadableServer NO */
 
/* Optionally turn this on to change the place where you install the
build */
#define ProjectRoot /usr/X11R6-DRI
 
/* Optionally turn this on to force the kernel modules to build */
#define BuildXF86DRM YES
 
#define XnestServer NO
#define XVirtualFramebufferServer NO
#define XprtServer NO            

Relevant section of XF86Config-4:

Section "Module"
 
# This loads the DBE extension module.
 
    Load        "dbe"
 
 
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
 
    SubSection  "extmod"
        #Option "omit xfree86-dga"
    EndSubSection
 
    Load        "glx"
    Load        "dri"
 
 
# This loads the Type1 and FreeType font modules
    Load        "type1"
    Load        "freetype"
EndSection
 
Section "DRI"
        Mode 0666
EndSection        

And finally, my hardware setup:

AMD Duron 700 Mhz
128 MB RAM
ATI All-in-Wonder 128 16MB AGP (with Rage128 GL chip)
Linux Kernel: 2.2.17-21mdk (the default from Mandrake 7.2)

Any help on this issue would be greatly appreciated.

Joe Wilkicki




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

From: Gregory Davis <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: mounting udf discs as nonroot
Date: Sat, 10 Feb 2001 16:20:34 -0500

I am trying to mount a udf cd in KDE as a user.  Just clicking the
desktop icon to mount a cd mounts the cd as an iso9660 filesystem.  When
I run "mount /dev/cdrom1 /burner -t udf" I get an error message saying
only root has permission to do that.  If I use the "su" command, I can
mount the cd; however, I want to mount the cd as a user.  How do I
seduce "mount" into mounting the disc for me?

Greg


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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: I want to KILL caps lock, not swap it...
Date: Sat, 10 Feb 2001 22:16:35 +0100

Michael W. Godfrey <[EMAIL PROTECTED]> wrote:

> I want to turn the caps lock key into a second cntl key.

man xmodmap.

Peter

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

From: [EMAIL PROTECTED] (Dan Poynor)
Subject: Re: Invisible ".filename" files in user ftp directories
Date: Sat, 10 Feb 2001 13:40:02 -0800

This problem occurs on multiple platforms using multiple ftp clients so I
know that it's not specific one ftp clients preference settings. It's
definitely something I remember doing on the server for when users log in.

I'm not manually entering any commands in GUI ftp clients like 'ls -a' or other.

Any server side thoughts?

DAN



In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:

> On Wed, 07 Feb 2001 19:41:23 -0800, Dan Poynor <[EMAIL PROTECTED]> wrote:
> >  I can't remember how I made .filename files invisible to users when they
> >login via ftp. Somehow I thought I was being security conscious and
> >avoiding questions from users who didn't really need to know they even
> >existed. But now I need to see the .qmail files in my personal user
> >directory at least when I ftp into the my server.
> >
> >After going over ftpaccess and other man pages I don't think I did this via
> >a flag in the /etc/inetd.conf ftpd line or anything too obvious. If I
> >telnet in and do "ls -la" in a directory the .filename files are definitely
> >there.
> >
> >Now how'd I do that? (Using RH6.2 and wu-ftpd)
> 
> Are you saying that when you do 'ls -a' or 'ls -al' in your ftp client,
> the dot files do NOT show up (sometimes 'dir' is an alias for that too)?
> 
> For GUI ftp clients it depends upon settings in the client program.
> 
> -- 
> David Efflandt  [EMAIL PROTECTED]  http://www.de-srv.com/
> http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
> http://cgi-help.virtualave.net/  http://hammer.prohosting.com/~cgi-wiz/

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

From: "fabrizio FF" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: Sound Blaster 16 PCI, setup, etc.
Date: Sat, 10 Feb 2001 22:39:45 +0100

I'm having the same trouble with a SB PCI 128. Please help us.



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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Sendmail problem...
Date: Sat, 10 Feb 2001 22:23:52 +0100

Uh...

James <[EMAIL PROTECTED]> wrote:
> "avi" <[EMAIL PROTECTED]> wrote in message news:95qnsa$cni$[EMAIL PROTECTED]...
>> I had install my domain and send mail to my server.
>> I can send mail but I cann't resive any mail.
>> is there any setting I need to do or somewhere I can check to solve the
>> problem?

Yes. Check the sendmail configuration (/etc/mail/sendmail.cf, in all
probability).

> sendmail doesn't receive mail. to receive mail you need a program like
> fetchmail.

... sendmail DOES receive mail. That's it's main functionality (it also
sends mail). Fetchmail fetches it, but does not receive it. Fetchmail
fetches it from a pop or imap server and passes it to a local sendmail,
which receives it, and passes it to the appropriate delivery agent.

For more enlightenment, try comp.os.sendmail, or something.

Peter

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


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