Hebrew on Slackware 9.1

2003-10-21 Thread vordoo
Hi,  
  
I have never install/used Hebrew on my Linux sys.  
  
I'm abut to install a new slackware 9.1 sys. 
and would like to have Hebrew working on it later on.
  
First I got to get the computer up & running so I
would appreciate any recommendations on what to select
at set up time (Israel keyboard? Hebrew keyboard? &
what so ever) so my Hebrew setup later will be fast &
easy.
 
I would like Hebrew on the console as well as window
mangers as Blackbox etc. 
(I understand that on KDE it is simpler) 
 
Thanks, 
Jeff

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



RE: WAP

2003-10-21 Thread Jacob Broido
Try
www.slashdot.org

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Meir Kriheli
Sent: Wednesday, October 22, 2003 1:29 AM
To: Amichai Rotman; Linux-IL
Subject: Re: WAP

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 21 October 2003 19:19, Amichai Rotman wrote:
> Hi All,
> 
> I recently upgraded my cell phone to a Motorola C350.
> 
> Cute phone, color, intergraded GPRS WAP browser. 
> 
> Any Linux WAP websites any of you can recommend ?
> 
> News, games, etc.
> 
> Is there a WAP version for the IGLU site?
> 
> Thanks,
> 
> Amichai.

Not linux specific (but includes it), OSNews supports WAP:
http://wap.osnews.com/index.wml

WAP support is planned for Whatsup as well, but very low on priority right 
now.
- -- 
Meir Kriheli
MKsoft systems
http://www.mksoft.co.il
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/lcFYRkS5DWK1mZkRAgS6AJ4vWsxc1+nYr6FfHi4SdtLbeX1zgwCfZpX2
xwXoSc9fwML7EX7ENsnDfr0=
=Ga95
-END PGP SIGNATURE-

==
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: WAP

2003-10-21 Thread Meir Kriheli
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 21 October 2003 19:19, Amichai Rotman wrote:
> Hi All,
> 
> I recently upgraded my cell phone to a Motorola C350.
> 
> Cute phone, color, intergraded GPRS WAP browser. 
> 
> Any Linux WAP websites any of you can recommend ?
> 
> News, games, etc.
> 
> Is there a WAP version for the IGLU site?
> 
> Thanks,
> 
> Amichai.

Not linux specific (but includes it), OSNews supports WAP:
http://wap.osnews.com/index.wml

WAP support is planned for Whatsup as well, but very low on priority right 
now.
- -- 
Meir Kriheli
MKsoft systems
http://www.mksoft.co.il
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/lcFYRkS5DWK1mZkRAgS6AJ4vWsxc1+nYr6FfHi4SdtLbeX1zgwCfZpX2
xwXoSc9fwML7EX7ENsnDfr0=
=Ga95
-END PGP SIGNATURE-

To unsubscribe, send 
mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: ADSL - What is the current recommendation?

2003-10-21 Thread Doron Shikmoni
Shachar Shemesh wrote:

While in no way a Jess replacement, I can confirm this. I even have 
the instructions somewhere as to how to make an Alcatel Home modem 
talk PPPoE instead of PPTP. It does NOT require making it into a Pro. 
It does not require new firmware. It does NOT require a technician 
password. Sadly, the modem cannot be made to talk both protocols 
simultaniously.


You might mean this: http://www.isoc.org.il/~doron/PPPoE.html

Best,
Doron


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


Re: distro with 2.6 kernel ?

2003-10-21 Thread Dan Armak
On Monday 20 October 2003 16:29, Oded Arbel wrote:
> Thing is - I want to install a new distro. I have a computer with no linux
> and for various reasons I want to install on it a distro with 2.6 - where
> the installer itself uses 2.6.
>
> If I understand there is currently no such beast, right ?

AFAIK Gentoo's cds don't have 2.6 yet. But, if you have another linux box 
handy, you can create a custom livecd by using the livecd-ng script. This is 
installed on a Gentoo system via the ebuild app-admin/livecd-ng, and then you 
just feed it a list of Gentoo packages you want the cd to have and a 
kernel .config file, and it makes you a nice ISO. (Disclaimer haven't tried 
myself, but that's how it's supposed to work ;-)

So you could extract a Gentoo stage3 tarball (ie tarball with a base system 
precompiled), chroot into it, and do the above.

-- 
Dan Armak
Matan, Israel
Public GPG key: http://dev.gentoo.org/~danarmak/danarmak-gpg-public.key
Fingerprint: DD70 DBF9 E3D4 6CB9 2FDD  0069 508D 9143 8D5F 8951


pgp0.pgp
Description: signature


WAP

2003-10-21 Thread Amichai Rotman
Hi All,

I recently upgraded my cell phone to a Motorola C350.

Cute phone, color, intergraded GPRS WAP browser. 

Any Linux WAP websites any of you can recommend ?

News, games, etc.

Is there a WAP version for the IGLU site?

Thanks,

Amichai.


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



RE: AOL doesn't accept mail - free relaying of email

2003-10-21 Thread Rony Shapiro
Actually, there is a company that does Israeli ISP rating. Their metrics are
more performance and reliability oriented, but I don't see why they can't
add block-IPs as a metric, at least in principle

http://www.marnetics.com/ISPrating.asp

Disclaimer: I have no interest, commercial or otherwise in this company. I
have never used their service, and have no idea regarding the quality of
their data, or lack of thereof.

Cheers,

Rony

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Arik Baratz
> Sent: Tue, 21 Oct 2003 16:18
> To: [EMAIL PROTECTED]
> Subject: RE: AOL doesn't accept mail - free relaying of email
>
>
>
> -Original Message-
> From: Stanislav Malyshev [mailto:[EMAIL PROTECTED]
>
> AB>> And they should. They should suffer for choosing an ISP that
> AB>> disrespects its own acceptable use policy, and gets itself into
> AB>> some kind of blackhole or another. What the customer must do is
>
> > Oh come on. It is a common knowledge that at least some of these relays
> > are too quick to add whole netblocks and too slow to explain
> why they did
> > that or how to make this not happen again. And the ISP couldn't
> care less
> > what some freak out there thinks about its policies - its responcibility
> > is its own paying clients and not convinvcing some
> trigger-happy sysadmin
> > jumping out of his pants to be BOFH-like and blacklist whatever possible
> > without too much investigation.
>
> As I see it, depending on who you are and how important it is for
> your messages to get 'there'.
>
> If you're a corporate and contact mostly other corporates, mostly
> you don't care. I know I don't. If someone from my company wants
> to send mail to someone with an RBL that doesn't let my static IP
> (I don't use the IP relay, heavens forbid) send him mail - I'm
> fine with that. The person on the other side will have to find a
> way to accept this mail message, because it's also his priority
> to do business with us.
>
> If you're a private person, or contact mostly private people,
> that's damn annoying. In the rare occasions I have encountered it
> I opted to use a different provider to send a message telling
> that person that they are using an RBL and he should do something
> about it.
>
> Personally I use a BezeqInt ISDN line to send and receive email,
> and it seems like this IP range is pretty much okay. I had it
> blocked once, and the BezeqInt guys went out of their way to un-block it.
>
> But BezeqInt is guilty of spamming me themselves, for which I did
> never forgive them. I have stopped buying new services from them
> and I am slowly switching.
>
> There should really be an Israeli ISP monitoring site, which will
> score ISPs based on their non-blackholeness, but I am not the one
> who will set it up so I have no right to speak about it.
>
> You're right about RBL admins that are too trigger happy, but I
> never encountered a case when I asked to be removed (when I had
> my own address range) and not removed within a few days. Yes,
> some ignoramus has misconfigured a mail server on my range, and I
> picked up the pieces.
>
> And regarding the ISP's responsibility for the customer - the
> quick BezeqInt reaction came after I have told them that since I
> use their network to send email, and it is important to me that
> the email gets there, I hold them responsible for any blackholing
> of their range and will switch if I can't send my email decently
> from my equipment.
>
> -- Arik
>
> ==
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]
>


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



RE: AOL doesn't accept mail - free relaying of email

2003-10-21 Thread Arik Baratz

> > Well, you can start by moving to a different ISP, explaining them
> > why you did. Then you should choose the one with the best record...
> > If none of them is perfect, choose the least worse.

> Yes, and don't forget to put an elephant at the end to make sure the
> algorithm will terminate.

Do you want to open the Israeli ISP-monitoring site? You can rate the
ISPs based on the precentage of their address ranges that are black-holed.
The position is yours if you accept :-)

-- Arik

To unsubscribe, send 
mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



RE: AOL doesn't accept mail - free relaying of email

2003-10-21 Thread Arik Baratz

-Original Message-
From: Stanislav Malyshev [mailto:[EMAIL PROTECTED]

AB>> And they should. They should suffer for choosing an ISP that
AB>> disrespects its own acceptable use policy, and gets itself into
AB>> some kind of blackhole or another. What the customer must do is

> Oh come on. It is a common knowledge that at least some of these relays
> are too quick to add whole netblocks and too slow to explain why they did
> that or how to make this not happen again. And the ISP couldn't care less
> what some freak out there thinks about its policies - its responcibility
> is its own paying clients and not convinvcing some trigger-happy sysadmin
> jumping out of his pants to be BOFH-like and blacklist whatever possible
> without too much investigation.

As I see it, depending on who you are and how important it is for your messages to get 
'there'.

If you're a corporate and contact mostly other corporates, mostly you don't care. I 
know I don't. If someone from my company wants to send mail to someone with an RBL 
that doesn't let my static IP (I don't use the IP relay, heavens forbid) send him mail 
- I'm fine with that. The person on the other side will have to find a way to accept 
this mail message, because it's also his priority to do business with us.

If you're a private person, or contact mostly private people, that's damn annoying. In 
the rare occasions I have encountered it I opted to use a different provider to send a 
message telling that person that they are using an RBL and he should do something 
about it.

Personally I use a BezeqInt ISDN line to send and receive email, and it seems like 
this IP range is pretty much okay. I had it blocked once, and the BezeqInt guys went 
out of their way to un-block it.

But BezeqInt is guilty of spamming me themselves, for which I did never forgive them. 
I have stopped buying new services from them and I am slowly switching.

There should really be an Israeli ISP monitoring site, which will score ISPs based on 
their non-blackholeness, but I am not the one who will set it up so I have no right to 
speak about it.

You're right about RBL admins that are too trigger happy, but I never encountered a 
case when I asked to be removed (when I had my own address range) and not removed 
within a few days. Yes, some ignoramus has misconfigured a mail server on my range, 
and I picked up the pieces.

And regarding the ISP's responsibility for the customer - the quick BezeqInt reaction 
came after I have told them that since I use their network to send email, and it is 
important to me that the email gets there, I hold them responsible for any blackholing 
of their range and will switch if I can't send my email decently from my equipment.

-- Arik

To unsubscribe, send 
mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: AOL doesn't accept mail - free relaying of email

2003-10-21 Thread linux-il
Arik Baratz wrote:

-Original Message-
From: Herouth Maoz [mailto:[EMAIL PROTECTED]

Great. I don't know which ISPs AOL blocks, but I assume based on my own past
spams that these include Internet Zahav, Netvision, 012, Actcom, and if I'm not
mistaken, Barak. Now tell me which viable option can I have for an ISP in Israel
that knows how to spell "Linux", and is not a lying cheat (like, say, Aquanet).


Well, you can start by moving to a different ISP, explaining them why you did. Then you should choose the one with the best record... If none of them is perfect, choose the least worse.
Yes, and don't forget to put an elephant at the end to make sure the
algorithm will terminate.
:-)

--Amos



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


RE: AOL doesn't accept mail - free relaying of email

2003-10-21 Thread Arik Baratz

-Original Message-
From: Herouth Maoz [mailto:[EMAIL PROTECTED]

> Great. I don't know which ISPs AOL blocks, but I assume based on my own past
> spams that these include Internet Zahav, Netvision, 012, Actcom, and if I'm not
> mistaken, Barak. Now tell me which viable option can I have for an ISP in Israel
> that knows how to spell "Linux", and is not a lying cheat (like, say, Aquanet).

Well, you can start by moving to a different ISP, explaining them why you did. Then 
you should choose the one with the best record... If none of them is perfect, choose 
the least worse.

-- Arik

To unsubscribe, send 
mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



RE: AOL doesn't accept mail - free relaying of email

2003-10-21 Thread Stanislav Malyshev
AB>> And they should. They should suffer for choosing an ISP that
AB>> disrespects its own acceptable use policy, and gets itself into
AB>> some kind of blackhole or another. What the customer must do is

Oh come on. It is a common knowledge that at least some of these relays
are too quick to add whole netblocks and too slow to explain why they did
that or how to make this not happen again. And the ISP couldn't care less
what some freak out there thinks about its policies - its responcibility
is its own paying clients and not convinvcing some trigger-happy sysadmin
jumping out of his pants to be BOFH-like and blacklist whatever possible
without too much investigation.

It is impossible to prevent sending email from a customer of an ISP to any
address on the internet - be the mail contents UCE or not. It is not
possible for the ISP to know if the content of the message is UCE or not.
So what the hell you want them to do? Cut their own throats by terminating
contracts with paying customers just because some obsucre email address
claiming to be sysadmin demands that?

This all "spam blocking" fun have gotten by far out of proportion nowdays.
Every week, and later - almost every other day I hear from legitimate
users having their legitimate emails blocked because of some
"spamblocking" usually from third-party "relay lists" that answer along
the line of "somebody from your country once sent spam, so we blocked the
whole class A - if you want to send email again, you better choose another
country to live or piss off".
Do you propose for these users to start hopping ISPs (on the way
convincing  all relatives and acquaintances to change their address books)
in hope they will find one that would satisfy the spamblockers? Do
you really think this is the solution for anything? For the spammer to
change ISP is a matter of one configuration setting in his spam machine.
For the legitimate Joe User is like moving to another city. So who do you
want to punish?

-- 
[EMAIL PROTECTED]   \/  There shall be counsels taken
Stanislav Malyshev  /\  Stronger than Morgul-spells
phone +972-50-624945/\  JRRT LotR.
whois:!SM8333



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



RE: AOL doesn't accept mail - free relaying of email

2003-10-21 Thread Herouth Maoz
Quoting Arik Baratz <[EMAIL PROTECTED]>:

> What the customer must do is switch to an ISP that actually enforces
> its AUP and doesn't get its address blocks blackholed. This is the ONLY way
> IMHO to convince an ISP to change their ways.

Great. I don't know which ISPs AOL blocks, but I assume based on my own past
spams that these include Internet Zahav, Netvision, 012, Actcom, and if I'm not
mistaken, Barak. Now tell me which viable option can I have for an ISP in Israel
that knows how to spell "Linux", and is not a lying cheat (like, say, Aquanet).

Herouth

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: kernel q

2003-10-21 Thread Gleb Natapov
On Tue, Oct 21, 2003 at 02:24:19PM +0200, Erez Doron wrote:
> afaik, /proc/bus/pci/XX/YY is configuration space and not memory space
it is configuration space when you read/write it and memory space when you
mmap it. Look up the implementation of mmap for this file in kernel 
(drivers/pci/proc.c)
Newest XFree86 uses this method instead of /dev/mem.

> 
> also:
> dd if=/dev/mem skip= bs=4 count=1 of=
> does not generate any read cycle to my pci card
You can't reach PCI address space by reading /dev/mem. Look at 
drivers/char/mem.c:read_mem

/*
 * This funcion reads the *physical* memory. The f_pos points directly to the 
 * memory location. 
 */
static ssize_t read_mem(struct file * file, char * buf,
size_t count, loff_t *ppos)
{
unsigned long p = *ppos;
unsigned long end_mem;
ssize_t read;
   
end_mem = __pa(high_memory);
if (p >= end_mem)
return 0;
^

> 
> cheers,
> erez.
> 
> 
> Gleb Natapov wrote:
> 
> >Hello,
> >
> >On Tue, Oct 21, 2003 at 10:53:54AM +0200, Erez Doron wrote:
> > 
> >
> >>o.k., here is the story:
> >>
> >>we are developping a uwb (ultra wide band) network chip.
> >>this should be a wireless 100-500 Mbps with Qos communication chip. ( 
> >>bluetooth and WiFi, beware  ;-)
> >>
> >>the prototype i am working on has it's registers and rams mapped as 
> >>memory on a PCI card.
> >>
> >>i tried using /dev/mem to access it, but it didn't work.
> >>so i  tried looking at examples and builded my own driver.
> >>   
> >>
> >The new way of doing it from userspace is by mmapping /proc/bus/pci/XX/YY 
> >AFAIK, but /dev/mem
> >works for me. You must be doing something wrong.
> >
> >--
> > Gleb.
> > 
> >
> 
> 
> 
> =
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]

--
Gleb.

=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: kernel q

2003-10-21 Thread Erez Doron
afaik, /proc/bus/pci/XX/YY is configuration space and not memory space

also:
dd if=/dev/mem skip= bs=4 count=1 of=
does not generate any read cycle to my pci card
cheers,
erez.
Gleb Natapov wrote:

Hello,

On Tue, Oct 21, 2003 at 10:53:54AM +0200, Erez Doron wrote:
 

o.k., here is the story:

we are developping a uwb (ultra wide band) network chip.
this should be a wireless 100-500 Mbps with Qos communication chip. ( 
bluetooth and WiFi, beware  ;-)

the prototype i am working on has it's registers and rams mapped as 
memory on a PCI card.

i tried using /dev/mem to access it, but it didn't work.
so i  tried looking at examples and builded my own driver.
   

The new way of doing it from userspace is by mmapping /proc/bus/pci/XX/YY AFAIK, but 
/dev/mem
works for me. You must be doing something wrong.
--
		Gleb.
 



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


Re: AOL doesn't accept mail - free relaying of email

2003-10-21 Thread linux-il
Arie Folger wrote:

So what is it I should do? And who is blacklisted, I or my ISP? (I am, as I 
Unless you bothered to register an IP block on your name (which I
doubt), it's your ISP.
stated earlier, on a private IP from an ADSL router - that does have a public 
IP - connected to an ISP. My box is a plain vanilla RH9.)
It's only the public IP that matters here.

--Amos



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]


Re: AOL doesn't accept mail - free relaying of email

2003-10-21 Thread Arie Folger
So what is it I should do? And who is blacklisted, I or my ISP? (I am, as I 
stated earlier, on a private IP from an ADSL router - that does have a public 
IP - connected to an ISP. My box is a plain vanilla RH9.)

Arie Folger

On Tuesday 21 October 2003 03:59, Boris Ratner wrote:
> I happen to stumble across the AOL antispam policies several times
> all large Israeli (might be international as well) ISPs suffer from those.

> Arie Folger wrote:
> >We discussed this matter in the past, that AOL decided no longer to accept
> >mail from servers that relay mail freely or have open proxies. The funny
> >thing is that I am on a private network, and should therefore not be
> > visible to the outside world, definitely not as a mail server. So, am I
> > right to conclude that this complaint of AOL's is directed towards my
> > ISP? Or is it towards the ADSL router of ours?

-- 
If an important person, out of humility, does not want to rely on [the Law, as 
applicable to his case], let him behave as an ascetic. However, permission 
was not granted to record this in a book, to rule this way for the future 
generations, and to be stringent of one's own accord, unless he shall bring 
clear proofs from the Talmud [to support his argument].
paraphrase of Rabbi Asher ben Ye'hiel, as quoted by Rabbi Yoel
Sirkis, Ba'h, Yoreh De'ah 187:9, s.v. Umah shekatav.


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: kernel q

2003-10-21 Thread Matan Ziv-Av
On Tue, 21 Oct 2003, Erez Doron wrote:

> o.k., here is the story:
> 
> we are developping a uwb (ultra wide band) network chip.
> this should be a wireless 100-500 Mbps with Qos communication chip. ( 
> bluetooth and WiFi, beware  ;-)
> 
> the prototype i am working on has it's registers and rams mapped as 
> memory on a PCI card.
> 
> i tried using /dev/mem to access it, but it didn't work.
> so i  tried looking at examples and builded my own driver.

You did something wrong there, since /dev/mem surely works for PCI MMIO 
regions.

You can look at the kernel module in svgalib for a simple device driver 
that allows mmap to MMIO regions.

> i am succesfull at accessing my card as a file. (/dev/uwb/0)
> i was not successful at accessing it as mmapped (i can mmap it, 
> write/read to/from it, but it does not do the real writing/reading 
> to/from the card, and i get no errors either).
> 
> the only issue, is that when i do a read or write, even that the length 
> of the copy_from_user or copy_to_user is 4 bytes long, it seems to 
> read/write more than that
> so if i access (read) adress  0xa4, i get the register at 0xa0 
> also read. (probably being cached)
> 
> arch is x86 (Pentium III)
> 
> any idea ?

Look at the MTRR setup (cat /proc/mtrr). The default is uncached, so if 
your range is not in any of the MTRRs listed, it is accessed uncached by 
the CPU.

> btw, here are the main code:

> if (num>num_boards) return -EFAULT;
> if (p>(unsigned int)mem_size) return -EFAULT;
> size=MIN(count,(unsigned int)mem_size-p);
> size=MIN(size,4);
> //printk(KERN_INFO UWB "read addres 0x%lx..0x%lx ... ",p,p+size-1);
> //printk(KERN_INFO UWB "coping to user space\n");
> if (copy_to_user (buf, uwb_mem[num]+p,  size))
>  return -EFAULT;

I would not use copy to user directly from IO regions, since you should 
access ioremapped regions with readb, readw, readl, rather than pointer 
derefernce.  Try first reading the data, and then copying it to 
userspace. A similar remark holds for the writes, of course. Here's a 
working example from svgalib:

case _IOC_NR(SVGAHELPER_READL):
   copy_from_user(&iov,(char *)arg,sizeof(iov));
   iov.val=readl(iov.port);
   copy_to_user((char *)arg,&iov,sizeof(iov));
   break;


> static int uwb_dev_mmap(struct file * filp, struct vm_area_struct * vma)
> {
> //if (noncached_address(offset) || (file->f_flags & O_SYNC))
>  //   vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);

Why did you leave out this code? You do want the accesses to be 
uncached.


-- 
Matan Ziv-Av. [EMAIL PROTECTED]


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



RE: AOL doesn't accept mail - free relaying of email

2003-10-21 Thread Arik Baratz

-Original Message-
From: Boris Ratner [mailto:[EMAIL PROTECTED]

> Now all customers suffer from this if their ISP got blocked by AOL.

And they should. They should suffer for choosing an ISP that disrespects its own 
acceptable use policy, and gets itself into some kind of blackhole or another. What 
the customer must do is switch to an ISP that actually enforces its AUP and doesn't 
get its address blocks blackholed. This is the ONLY way IMHO to convince an ISP to 
change their ways. Once large customers start doing their business elsewhere because 
of the ISP's incompetence, they will think twice before deleting the next abuse report.

-- Arik

To unsubscribe, send 
mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: filesystem for database box

2003-10-21 Thread Ben-Nes Michael
Hi List

As im also interesting in the same question I asked what FS I should use for
postgres.

after lots of answers the thread got quite big :) and still growing.

http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&threadm=00c501c3970b%246900f250%240500a8c0%40canaan.co.il&rnum=1&prev=/groups%3Fhl%3Den%26lr%3D%26ie%3DISO-8859-1%26q%3DRecomended%2BFS%26meta%3Dgroup%253Dcomp.databases.postgresql.general

What I understood from it is that JFS is more suitable and any way I should
not use Reiseref as its not good in handling big files.

Also The HD should be SCSI and even better RAID ( Never IDE - to avoid file
corruptions ).

Also check the following links

Generic FS benchmarks:
http://fsbench.netnation.com/

Hardware consideration for Postgres ( probably good thinking for other db
too )
http://www.ca.postgresql.org/docs/momjian/hw_performance/

Cheers

--
Canaan Surfing Ltd.
Internet Service Providers
Ben-Nes Michael - Manager
Tel: 972-4-6991122
Fax: 972-4-6990098
http://www.canaan.net.il
--
- Original Message - 
From: "Maxim K." <[EMAIL PROTECTED]>
To: "Linux-IL Mailing List" <[EMAIL PROTECTED]>
Sent: Sunday, October 19, 2003 4:50 PM
Subject: filesystem for database box


> Hello, Linux People!
>
> after short consultation, i have come to this conclusion about which
> filesystem i should use on my database box (or server)
> the winner is: ex2 linux extended filesystem, yes, lassies & lads
>
> - "why not ext3/Reiser's ?"
> - "because journalling is already implemented in the DBMS."
> - "why not jfs then ?
> - "it is too young, my friends + journalling..."
> - "why not xfs , it is so ... juicy ?
> - "it is too resource demanding (i have p2 670MHz + 256 MB )"
>
> if somebody thinks otherwise, please tell me why!
> thank you.
>


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Re: kernel q

2003-10-21 Thread Erez Doron
o.k., here is the story:

we are developping a uwb (ultra wide band) network chip.
this should be a wireless 100-500 Mbps with Qos communication chip. ( 
bluetooth and WiFi, beware  ;-)

the prototype i am working on has it's registers and rams mapped as 
memory on a PCI card.

i tried using /dev/mem to access it, but it didn't work.
so i  tried looking at examples and builded my own driver.
i am succesfull at accessing my card as a file. (/dev/uwb/0)
i was not successful at accessing it as mmapped (i can mmap it, 
write/read to/from it, but it does not do the real writing/reading 
to/from the card, and i get no errors either).

the only issue, is that when i do a read or write, even that the length 
of the copy_from_user or copy_to_user is 4 bytes long, it seems to 
read/write more than that
so if i access (read) adress  0xa4, i get the register at 0xa0 
also read. (probably being cached)

arch is x86 (Pentium III)

any idea ?

cheers,
erez.
btw, here are the main code:

static ssize_t uwb_dev_read (struct file *filp, char *buf, size_t count,
loff_t * offp)
{
   unsigned int num=(unsigned int)filp->private_data-1;
   unsigned long p=*offp;
   ssize_t ret = 0;
   int size;
   //printk(KERN_INFO UWB "read: addr=%d, len=%d\n",(int)p,(int)count);
   //printk(KERN_INFO UWB "num=%d, 
num_boards=%d\n",(int)num,(int)num_boards);
   if (num>num_boards) return -EFAULT;
   if (p>(unsigned int)mem_size) return -EFAULT;
   size=MIN(count,(unsigned int)mem_size-p);
   size=MIN(size,4);
   //printk(KERN_INFO UWB "read addres 0x%lx..0x%lx ... ",p,p+size-1);
   //printk(KERN_INFO UWB "coping to user space\n");
   if (copy_to_user (buf, uwb_mem[num]+p,  size))
return -EFAULT;
   ret=size;
   //printk(KERN_INFO UWB "done read\n");
   //printk("%d bytes read \n",ret);
   *offp+=ret;
   return ret;
}

static ssize_t uwb_dev_write(struct file *filp, const char *buf, size_t 
count, loff_t * offp)
{
   unsigned int num=(unsigned int)filp->private_data-1;
   unsigned long p=*offp;
   ssize_t ret = 0;
   int size;

   if (num>num_boards) return -EFAULT;
   if (p>(unsigned int)mem_size) return -EFAULT;
   size=MIN(count,(unsigned int)mem_size-p);
   size=MIN(size,4);
   if (copy_from_user (uwb_mem[num]+p, buf, size))
 return -EFAULT;
   ret=size;
   *offp+=ret;
   return ret;
}


static int uwb_dev_mmap(struct file * filp, struct vm_area_struct * vma)
{
   unsigned int num=(unsigned int)filp->private_data-1;
   //unsigned int num=0;
   //unsigned long offset = vma->vm_pgoff << PAGE_SHIFT;
   ssize_t ret = 0;
   unsigned long prot = pgprot_val(vma->vm_page_prot);
   if (boot_cpu_data.x86 > 3)
   prot |= _PAGE_PCD | _PAGE_PWT;
   vma->vm_page_prot = __pgprot(prot);
   /*
* Accessing memory above the top the kernel knows about or
* through a file pointer that was marked O_SYNC will be
* done non-cached.
*/
   //if (noncached_address(offset) || (file->f_flags & O_SYNC))
//   vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
   /* Don't try to swap out physical pages.. */
   vma->vm_flags |= VM_RESERVED;
   /*
* Don't dump addresses that are not real memory to a core file.
*/
/*
   if (offset >= __pa(high_memory) || (file->f_flags & O_SYNC))
   vma->vm_flags |= VM_IO;
   */
   vma->vm_flags |= VM_IO;
   if (vma->vm_end-vma->vm_start > mem_size[num]) ret= -EAGAIN;
   else
   if (remap_page_range(vma->vm_start, (unsigned long) uwb_mem[num],
vma->vm_end-vma->vm_start,
vma->vm_page_prot))
   ret= -EAGAIN;
   printk ("uwb: mmap, physical_ptr=0x%8X, size=0x%X, uwb num=%d, 
vm_ptr=0x%08X, ret=%d\n",(unsigned int) uwb_mem[num],(unsigned 
int)(vma->vm_end-vma->vm_start),(int)num,(unsigned 
int)vma->vm_start,(unsigned int)ret);
   return ret;
}



/*
* uwb_init_one - look for and attempt to init a single UWB
*/
static int __init uwb_init_one (struct pci_dev *dev, int num)
{
   int rc;
   //u8 hw_status;
   DPRINTK ("ENTER\n");

   mem_size[num]=UWB_ADDR_END(dev)-UWB_ADDR(dev)+1;
   uwb_mem[num] = ioremap (UWB_ADDR(dev), mem_size[num]);
   if (uwb_mem[num] == NULL) {
   printk (KERN_ERR UWB "cannot ioremap UWB Memory\n");
   DPRINTK ("EXIT, returning -EBUSY\n");
   rc = -EBUSY;
   return rc;
   }
   //printk(KERN_INFO UWB "found addr 
%lX..%lX\n",UWB_ADDR(dev),UWB_ADDR_END(dev));
   DPRINTK ("EXIT, returning 0\n");
   return 0;

}

static int __init uwb_init (void)
{
   int rc=0;
   struct pci_dev *pdev;
   int num=0;
   int i;
   char name[15];
   DPRINTK ("ENTER\n");

//  init_MUTEX (&