Re: [expert] kde and xinerama question

2002-07-13 Thread Hoyt

On Friday 12 July 2002 03:00 pm, Klar Brian D Contr MSG/SICN wrote:
> I have a Matrox G450. All I can say is I dl'ed the
> Matrox drivers, and powerdesk from their site.

I use a G450 with the default XFree drivers and have no problems, but I think 
Dean is concerned about the windows re-sizing things ince KDE2 is _supposed 
to be xinerama "aware". And it is to a point, but you do get some poor (read 
non-aware) window resizing behavior; KDE3 should be better.

The Enlightenment wm is better than kwin at being xinerama aware, but I 
forget how to use KDE with Enlightenment.

-- 
Hoyt

http://www.maximumhoyt.com

Fix it until it breaks.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Re: Sound Is Impossible

2002-07-13 Thread Larry Sword

civileme wrote:
> Larry Sword wrote:
> 

>>> plus an illegal CDROM request
>>>
>>> sr0: CDROM (ioctl) reports ILLEGAL REQUEST.
>>> sr0: CDROM (ioctl) reports ILLEGAL REQUEST.
>>
>>
>>
>> Maybe you don't have a cdron in the drive?
>>


>>
> Nope--doesn't matter if he has a CDROM in the drive  or not.  The 
> message is from sr, which means that he has a CDRW most likely and the 
> /dev/cdrom isn't pointing there.
> 
> as root
> 
> ln -fs /dev/scd0 /dev/cdrom
> 
> should improve playing audio CDs
> 
> Civileme
> 

Right you are.. I must have been thinking of when one clicks on the 
CDROM icon and having no disk in the drive you get a "Failure to Open" 
message or something to that effect.

Larry





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] USB numeric keypad

2002-07-13 Thread Michael Holt


Hello all,
I was thinking of getting one of those usb numeric keypads for my 
laptop and I was wondering if anyone has had any experience with those?  
If so, what's it like getting it running?  Thanks!  Mike

-- 
Michael Holt
Banning, CA(o_
[EMAIL PROTECTED](o_  (o_  //\
www.holt-tech.net(/)_ (/)_ V_/_www.mandrake.com 
<

  "AOL for Dummies" is kind of redundant, don't you think?






Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Re: Sound Is Impossible

2002-07-13 Thread civileme

Larry Sword wrote:

>
>
> Daryl Johnson wrote:
>
>> OK  things move on - with a degree of embarrassment  :o/
>>
>> Following on from some of Larry Swords comments  I ran the card down 
>> to the European web site (makes sense, I bought the card in 
>> Scotland).  I had the opportunity here to d/l a manual.  Query, if 
>> there is a manual available why wasn't it in the box?  Maybe it was 
>> but on the windows disk.  Hmmm
>>
>> Anyway, d/l the manual and have a glance through.
>>
>> Well, that's certainly a better set-up diagram than the leaflet - 
>> let's see if everything is as per... well, the cd line is to the 
>> right place tick one.  The line in is Oh sh&t, check back with 
>> the leaflet... degree of confusion, check with the manual, none at 
>> all.  Replace line out one socket up.
>>
>> Run Control Centre and sound card configuration and a LOUID american 
>> voice tells me that my card is configured!  A quick run of a cd and 
>> it plays.  Oh Joy.
>>
>> Further check shows that /etc/modules.conf is as per:
>>
>> alias usb-interface usb-uhci
>>
>> # ALSA native device support
>> options snd snd_major = 116 snd_cards_limit = 1
>>
>> #OSS/Free setup
>>
>> probeall scsi_hostadapter advansys
>> alias eth0 3c59x
>> alias sound-slot-0 es1371
>
>
> I would recommend, as root, make a backup of your /etc/modules.conf 
> file. Then edit /etc/modules.conf and remove these lines:
> (as you are no longer using the ALSA drivers.
>
> # ALSA native device support
> options snd snd_major = 116 snd_cards_limit = 1
>
> The ONLY entry for your sound card needsis:
>
> alias sound-slot-0 es1371
>
> Run depmod -a.
>
> Then reboot.
>
>
>>
>> Certainly seems a bit less elaborate than before.
>>
>> OK another test, shutdown and reboot.
>>
>> Dmesg now shows:
>>
>> es1371: version v0.30 time 01:49:49 Mar 15 2002
>> es1371: found chip, vendor id 0x1274 device id 0x5880 revision 0x02
>> es1371: found es1371 rev 2 at io 0xcc00 irq 11
>> es1371: features: joystick 0x0
>> ac97_codec: AC97 Audio codec, id: 0x8384:0x7608 (SigmaTel STAC9708)
>>
>> plus an illegal CDROM request
>>
>> sr0: CDROM (ioctl) reports ILLEGAL REQUEST.
>> sr0: CDROM (ioctl) reports ILLEGAL REQUEST.
>
>
> Maybe you don't have a cdron in the drive?
>
>
>
>
>
>> Furthermore there is no swelling chord when the KDE screen opens and 
>> there is an error message:
>>
>> Sound server fatal error:
>> cpu overload, aborting
>>
>> It seems that artsd is failing to connect somewhere.  A further test 
>> shows that noatun refuses to run HOWEVER calling up KDE Sound Server, 
>> restarting the server appears to work and noatun can now run (though 
>> I have to kill artsd to get Real video running again  (sheesh)
>>
>> Sooo, thanks for all the help and comments so far and u, 
>> where might I go from here?
>>
>> regards
>>
>> Daryl
>>
>>
>>
>>
>> 
>>
>> Want to buy your Pack or Services from MandrakeSoft? Go to 
>> http://www.mandrakestore.com
>
>
>
>
>
>
>
>Want to buy your Pack or Services from MandrakeSoft? 
>Go to http://www.mandrakestore.com
>
Nope--doesn't matter if he has a CDROM in the drive  or not.  The 
message is from sr, which means that he has a CDRW most likely and the 
/dev/cdrom isn't pointing there.

as root

ln -fs /dev/scd0 /dev/cdrom

should improve playing audio CDs

Civileme






Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] poor swap activation with kernel 2.4.18-8.2

2002-07-13 Thread kwan

On Thu, 11 Jul 2002, Terry Tremaine wrote:

> Hi
> 
> The results of 'swapon -s' is:
> Filename  TypeSize  Used  Priority
> /dev/hda5   partition 1118840 0   -1
> 
> I tried piling up lots of applications and drove up the physical memory usage 
> to 100% without any swap activation at all.
> 

Hmm, try this little program:

--- Start of listing ---
#include 
#include 

// Create a block of memory 1K in size
struct memblock {
struct memblock *next;
char nothing[1022];
 };

 int crash(void);

 main()
 {
printf("%d K free\n", crash());
return(0);
 }

 int crash(void)
 {

int count;
struct memblock *head, *current, *next;

// Point to the new
current = head = (struct memblock*) malloc(sizeof(struct memblock));

// If none available, leave
if (head == NULL)
   return 0; 

count = 0;
do
{
   count++;
   printf ("Number of blocks: %d \n", count );
   current->next = (struct memblock*) malloc(sizeof(struct memblock));
   current = current->next;
} while (current != NULL);

current = head;

do
{
   next = current->next;
   free(current);
   current = next;
} while (next != NULL);

return count;
 }

--- End of listing ---

Copy and paste the code to a file called crash.c. Then run:
  gcc -o crash crash.c

As a normal user, start the crash program with:
  ./crash

As another user, run 'top' and take a look at the swap usage. 

BTW, this could potentially lock up your machine.




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Re: Sound Is Impossible

2002-07-13 Thread Larry Sword



Daryl Johnson wrote:
> OK  things move on - with a degree of embarrassment  :o/
> 
> Following on from some of Larry Swords comments  I ran the card down to the 
> European web site (makes sense, I bought the card in Scotland).  I had the 
> opportunity here to d/l a manual.  Query, if there is a manual available why 
> wasn't it in the box?  Maybe it was but on the windows disk.  Hmmm
> 
> Anyway, d/l the manual and have a glance through.
> 
> Well, that's certainly a better set-up diagram than the leaflet - let's see 
> if everything is as per... well, the cd line is to the right place tick one.  
> The line in is Oh sh&t, check back with the leaflet... degree of 
> confusion, check with the manual, none at all.  Replace line out one socket 
> up.
> 
> Run Control Centre and sound card configuration and a LOUID american voice 
> tells me that my card is configured!  A quick run of a cd and it plays.  Oh 
> Joy.
> 
> Further check shows that /etc/modules.conf is as per:
> 
> alias usb-interface usb-uhci
> 
> # ALSA native device support
> options snd snd_major = 116 snd_cards_limit = 1
> 
> #OSS/Free setup
> 
> probeall scsi_hostadapter advansys
> alias eth0 3c59x
> alias sound-slot-0 es1371

I would recommend, as root, make a backup of your /etc/modules.conf 
file. Then edit /etc/modules.conf and remove these lines:
(as you are no longer using the ALSA drivers.

# ALSA native device support
options snd snd_major = 116 snd_cards_limit = 1

The ONLY entry for your sound card needsis:

alias sound-slot-0 es1371

Run depmod -a.

Then reboot.


> 
> Certainly seems a bit less elaborate than before.
> 
> OK another test, shutdown and reboot.
> 
> Dmesg now shows:
> 
> es1371: version v0.30 time 01:49:49 Mar 15 2002
> es1371: found chip, vendor id 0x1274 device id 0x5880 revision 0x02
> es1371: found es1371 rev 2 at io 0xcc00 irq 11
> es1371: features: joystick 0x0
> ac97_codec: AC97 Audio codec, id: 0x8384:0x7608 (SigmaTel STAC9708)
> 
> plus an illegal CDROM request
> 
> sr0: CDROM (ioctl) reports ILLEGAL REQUEST.
> sr0: CDROM (ioctl) reports ILLEGAL REQUEST.

Maybe you don't have a cdron in the drive?





> Furthermore there is no swelling chord when the KDE screen opens and there is 
> an error message:
> 
> Sound server fatal error:
> cpu overload, aborting
> 
> It seems that artsd is failing to connect somewhere.  A further test shows 
> that noatun refuses to run HOWEVER calling up KDE Sound Server, restarting 
> the server appears to work and noatun can now run (though I have to kill 
> artsd to get Real video running again  (sheesh)
> 
> Sooo, thanks for all the help and comments so far and u, where 
> might I go from here?
> 
> regards
> 
> Daryl
> 
> 
> 
> 
> 
> 
> Want to buy your Pack or Services from MandrakeSoft? 
> Go to http://www.mandrakestore.com





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] poor swap activation with kernel 2.4.18-8.2

2002-07-13 Thread Terry Tremaine

Hi

The results of 'swapon -s' is:
FilenameTypeSize  Used  Priority
/dev/hda5   partition   1118840 0   -1

I tried piling up lots of applications and drove up the physical memory usage 
to 100% without any swap activation at all.

TT

On Thursday 11 July 2002 04:24 pm, you wrote:
> Terry Tremaine wrote on Thu, Jul 11, 2002 at 04:11:00PM -0600 :
> > I enclose a copy of my previous question to the group. I upgraded to
>
> Your line wrap is not set.  Can you set it to 76 characters or so?
> Thanks.
>
> > I upgraded to kernel 2.4.18-8.2 recently and discovered that it does
> > not manage swap properly. All kernel messages seem correct on boot up
> > but it just doesn't work. Does anyone know a workaround for this or
> > perhaps there is a script that gets malconfigured on rpm installation
> > of the kernel.
>
> Post the results of 'swapon -s', should look similar to:
> [root@fiji ~]# swapon -s
> FilenameTypeSizeUsedPriority
> /dev/scsi/host0/bus1/target0/lun0/part5 partition 401584 2768   -1
>
> Blue skies... Todd



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] blocking an ip address

2002-07-13 Thread Michael Viron

This depends.  Do you want to block them from services that utilize
hosts.deny.  If so, add the ip address to /etc/hosts.deny.

Do you want to block network traffic from them entirely?  If so, use
ipchains or iptables (depending on your kernel version) to block them.

Michael

--
Michael Viron
Project Manager / Primary Developer / Manager of Online Operations
General Education Online
http://www.findaschool.org

At 08:33 PM 7/12/2002 -0400, you wrote:
>My brain isn't working right now... How do I block an IP address or range of
>IP addys from getting into my server (maybe having port sentry drop 'em
>off)?
>
>
>Want to buy your Pack or Services from MandrakeSoft? 
>Go to http://www.mandrakestore.com
>



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] blocking an ip address

2002-07-13 Thread logic7

PM Firewall works with ipchains. I've used it in the past. I'm using
Bastille.


- Original Message -
From: "J. Craig Woods" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 12, 2002 10:49 PM
Subject: Re: [expert] blocking an ip address


> Damon Lynch wrote:
> >
> > On Sat, 2002-07-13 at 13:36, J. Craig Woods wrote:
> > > if using ipchains, use ipchain rule.
> >
> > If using this, the script pmfirewall might come in handy.  Don't know if
> > it works with 2.4 kernels though.  It may do.
> >
> > Damon
> >
>
> Nope, pmfirewalls does not work with iptables but I sure wish the hell
> it did. You are totally right on, pmfirewall rocks! On his web page, the
> creator says he wants to get around to doing a program that supports
> iptables. Maybe if we offered him some money, he would find the time :-)
>
> drjung
>
> --
> J. Craig Woods
> UNIX/NT Network/System Administration
> http://www.trismegistus.net/resume.html
> Character is built upon the debris of despair --Emerson
>
>






> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com
>




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Linux on a Sun Sparc Machine

2002-07-13 Thread Richard Holt

There's an article in the July, Linux Journal on Multi-Heading of 
Linux systems with two monitors. Don't know if it's on the web site 
yet.

Richard.



On Friday 12 July 2002 10:27 am, %4 wrote:
> I also run Linux (Mandrake) on my Ultra2, and it runs
> beautifully. I have been trying with NO success to have it run
> using my two screens (Creator3D and TurboGX+). Is there any way
> you can help me set this up?
>
> > -Original Message-
> > From: Klar Brian D Contr MSG/SICN
> > [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002
> > 8:08 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: RE: [expert] Linux on a Sun Sparc Machine
> >
> >
> > There is an old version of Mandrake for Sparc.
> > Thereis an even older version of RH for Sparc.
> > Suse however released for free v 7.3 for Sparc
> > and it runs wonderfully on my Ultra 5.
> > I am going to install it this weekend on my two
> > Sparcstations as well.
> >
> > Brian D. Klar - CVE
> > OTS
> > WPAFB
> > (937) 904-2280
> > (937) 169-1081 (on base pager number)
> > (937) 257-0069 ext 1081 (if off base)
> >
> >
> > -Original Message-
> > From: ©¿©¬ [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, July 11, 2002 9:31 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [expert] Linux on a Sun Sparc Machine
> >
> >
> > Guys,
> >
> > I just want to know if I can run Linux Mandrake or
> > RedHat on a Sun Sparc Machine?
> >
> > Help is very much appreciated.
> >
> > Thank You
> > JGuevarra
> >
> > __
> > Do You Yahoo!?
> > Sign up for SBC Yahoo! Dial - First Month Free
> > http://sbc.yahoo.com




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] Re: Sound Is Impossible

2002-07-13 Thread Daryl Johnson

OK  things move on - with a degree of embarrassment  :o/

Following on from some of Larry Swords comments  I ran the card down to the 
European web site (makes sense, I bought the card in Scotland).  I had the 
opportunity here to d/l a manual.  Query, if there is a manual available why 
wasn't it in the box?  Maybe it was but on the windows disk.  Hmmm

Anyway, d/l the manual and have a glance through.

Well, that's certainly a better set-up diagram than the leaflet - let's see 
if everything is as per... well, the cd line is to the right place tick one.  
The line in is Oh sh&t, check back with the leaflet... degree of 
confusion, check with the manual, none at all.  Replace line out one socket 
up.

Run Control Centre and sound card configuration and a LOUID american voice 
tells me that my card is configured!  A quick run of a cd and it plays.  Oh 
Joy.

Further check shows that /etc/modules.conf is as per:

alias usb-interface usb-uhci

# ALSA native device support
options snd snd_major = 116 snd_cards_limit = 1

#OSS/Free setup

probeall scsi_hostadapter advansys
alias eth0 3c59x
alias sound-slot-0 es1371

Certainly seems a bit less elaborate than before.

OK another test, shutdown and reboot.

Dmesg now shows:

es1371: version v0.30 time 01:49:49 Mar 15 2002
es1371: found chip, vendor id 0x1274 device id 0x5880 revision 0x02
es1371: found es1371 rev 2 at io 0xcc00 irq 11
es1371: features: joystick 0x0
ac97_codec: AC97 Audio codec, id: 0x8384:0x7608 (SigmaTel STAC9708)

plus an illegal CDROM request

sr0: CDROM (ioctl) reports ILLEGAL REQUEST.
sr0: CDROM (ioctl) reports ILLEGAL REQUEST.

Furthermore there is no swelling chord when the KDE screen opens and there is 
an error message:

Sound server fatal error:
cpu overload, aborting

It seems that artsd is failing to connect somewhere.  A further test shows 
that noatun refuses to run HOWEVER calling up KDE Sound Server, restarting 
the server appears to work and noatun can now run (though I have to kill 
artsd to get Real video running again  (sheesh)

Sooo, thanks for all the help and comments so far and u, where 
might I go from here?

regards

Daryl


-- 
"Pascal is Pascal is Pascal is dog meat."
-- M. Devine and P. Larson, Computer Science 340



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] Re: Sound Is Impossible

2002-07-13 Thread Daryl Johnson

OK  things move on - with a degree of embarrassment  :o/

Following on from some of Larry Swords comments  I ran the card down to the 
European web site (makes sense, I bought the card in Scotland).  I had the 
opportunity here to d/l a manual.  Query, if there is a manual available why 
wasn't it in the box?  Maybe it was but on the windows disk.  Hmmm

Anyway, d/l the manual and have a glance through.

Well, that's certainly a better set-up diagram than the leaflet - let's see 
if everything is as per... well, the cd line is to the right place tick one.  
The line in is Oh sh&t, check back with the leaflet... degree of 
confusion, check with the manual, none at all.  Replace line out one socket 
up.

Run Control Centre and sound card configuration and a LOUID american voice 
tells me that my card is configured!  A quick run of a cd and it plays.  Oh 
Joy.

Further check shows that /etc/modules.conf is as per:

alias usb-interface usb-uhci

# ALSA native device support
options snd snd_major = 116 snd_cards_limit = 1

#OSS/Free setup

probeall scsi_hostadapter advansys
alias eth0 3c59x
alias sound-slot-0 es1371

Certainly seems a bit less elaborate than before.

OK another test, shutdown and reboot.

Dmesg now shows:

es1371: version v0.30 time 01:49:49 Mar 15 2002
es1371: found chip, vendor id 0x1274 device id 0x5880 revision 0x02
es1371: found es1371 rev 2 at io 0xcc00 irq 11
es1371: features: joystick 0x0
ac97_codec: AC97 Audio codec, id: 0x8384:0x7608 (SigmaTel STAC9708)

plus an illegal CDROM request

sr0: CDROM (ioctl) reports ILLEGAL REQUEST.
sr0: CDROM (ioctl) reports ILLEGAL REQUEST.

Furthermore there is no swelling chord when the KDE screen opens and there is 
an error message:

Sound server fatal error:
cpu overload, aborting

It seems that artsd is failing to connect somewhere.  A further test shows 
that noatun refuses to run HOWEVER calling up KDE Sound Server, restarting 
the server appears to work and noatun can now run (though I have to kill 
artsd to get Real video running again  (sheesh)

Sooo, thanks for all the help and comments so far and u, where 
might I go from here?

regards

Daryl


-- 
"Pascal is Pascal is Pascal is dog meat."
-- M. Devine and P. Larson, Computer Science 340



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com