All of lore.kernel.org
 help / color / mirror / Atom feed
* help me
@ 2005-07-04 10:39 umar draz
  2005-07-04 10:47 ` Christoph Georgi
  0 siblings, 1 reply; 28+ messages in thread
From: umar draz @ 2005-07-04 10:39 UTC (permalink / raw)
  To: Mr NetFilter

hi dear members!

  i have one interface card in my linux machine <eth0>

  now i attache DSL modem with this interface now i
want block all incoming traffic.

but i want i can access every thing.

how i can do it

regards

Umar Draz

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


^ permalink raw reply	[flat|nested] 28+ messages in thread
* Help Me
@ 2019-04-07 23:46 Ms. Heba Oudeh
  0 siblings, 0 replies; 28+ messages in thread
From: Ms. Heba Oudeh @ 2019-04-07 23:46 UTC (permalink / raw)
  To: sparclinux

Dear sir/Madam,

Greetings! I would like to apologize for barging into your privacy without your concent. My name is Heba Oudeh from Damascus Syria and i am 29 years old orphan.

I have decided to make this contact after many thoughts and hard decision. On 27 may 2017 i lost my parents to the Syrian war in one day and since then i have been in the refugee camp where am been raped every other day with no one to come to my aid. It is rather risky for me to send this mail and would be punished if caught but i have no choice than to take the risk and either die or be completely freed.

I have contacted you for help. I have come to realize that all my late father's investments were made here and have been destroyed as well except a little money he has in his foreign account in the U.S.A. Before i was taken to the camp i discovered he has deposited the sum of $1,875,000USD in an American bank with me as next-of-kin. I have contacted the bank to explain things to them and they have agreed to accept anybody i would present as the new next-of-kin so they will transfer they money to the person since i can not transfer the money to Syria.

The decision to make you the next-of-kin was not made because i need this money but because i want to leave this country to a better and safer place. All i need from you is to receive this money and make arrangement for me to join you in your country so i can complete my education and the remaining money can be invested in a business which both of us will be co-owners/partners and share profit equally. This might sound stupid but only option for me.

If you feel you will be able to help me on this, please let me know as soon as you can so i can contact the bank to know the steps to be taken and what is reqired from our side. I will give you a copy of my ID in my next mail.

Thanks,
Heba.

^ permalink raw reply	[flat|nested] 28+ messages in thread
* Help Me
@ 2014-09-10 12:02 Alina Yukov
  0 siblings, 0 replies; 28+ messages in thread
From: Alina Yukov @ 2014-09-10 12:02 UTC (permalink / raw)


Good day to you,My name is Alina a dying widow contacting you from the sick
bed. Please I need your assistance in establishing my late husband
investment fund before I depart.
Mrs Alina Yukov.


^ permalink raw reply	[flat|nested] 28+ messages in thread
* help me
@ 2010-07-01  5:01 oleg ershov
  2010-07-01  5:36 ` Mike Frysinger
  0 siblings, 1 reply; 28+ messages in thread
From: oleg ershov @ 2010-07-01  5:01 UTC (permalink / raw)
  To: linux-mtd; +Cc: dworden



My board is CM-F82 CompuLab.I am using LynxOS-178 2.1.0.
>I use U-boot 1.1.3 as my bootloader.
>I have target platform - PowerPC; Board: CM-F82 CompuLab, busfreq 
>100 MHz; processor MPC8272 Freescale.
>
>I need driver File System for LynxOS for CF of size >= 1Gb.
>
>Any ideas?
>Best regards,
>Oleg Ershov

^ permalink raw reply	[flat|nested] 28+ messages in thread
* Help me
@ 2007-01-04  6:21 Debasree Mallick
  2007-01-04  8:26 ` Matthew Palmer
  0 siblings, 1 reply; 28+ messages in thread
From: Debasree Mallick @ 2007-01-04  6:21 UTC (permalink / raw)
  To: openembedded-devel

Hi,
When i try to run this command
mtn --db=OE.mtn co -b org.openembedded.dev
It givs a error..Error is

mtn: misuse: layout of database /stuff/OE.mtn doesn't match this version
of monotone
mtn: misuse: wanted schema ae196843d368d042f475e3dadfed11e9d7f9f01e, got
48fd5d84f1e5a949ca093e87e5ac558da6e5956d
mtn: misuse: try 'mtn db migrate' to upgrade
mtn: misuse: (this is irreversible; you may want to make a backup copy
first)

I am using Fedora5...
Please help me to solve this problem..
Thanks
Debasree


^ permalink raw reply	[flat|nested] 28+ messages in thread
* help me
@ 2006-11-26 10:01 ahmed nabel
  0 siblings, 0 replies; 28+ messages in thread
From: ahmed nabel @ 2006-11-26 10:01 UTC (permalink / raw)
  To: kernel-discuss, familiar, linux-omap-open-source

hello

I have successfuly installed the Linux on my 6340 iPAQ, following the 
instructions on:

http://aragorn.kortex.jyu.fi:8080/h6300/H6300_Boot.html

and its very cool. Thank you all.

However I have two problems:

1. The phone can not work. When I try to modify the buttons settings, so 
that i choose one of them for the phone, i can not see the phone as an 
option in the list available... However, the system info reads the device 
correctly as h6300 series...

2. I can not shut down the device. The power button does not work and the 
suspend option in the start menu causes the the system to halt and make a 
loud noies, so then I have to hardware reset the device, which goes back to 
WinCe

Please note that I have followed your installation instructions as they 
were, however I only canceled the TCP/IP connection part through the cardle 
because I thought I would not need it. I wonder if that is the problem?

Thank you in advance for your time and efforts.

Yours.

_________________________________________________________________
Get free, personalized commercial-free online radio with MSN Radio powered 
by Pandora http://radio.msn.com/?icid=T002MSN03A07001

_______________________________________________
The Familiar Linux Distribution
Familiar mailing list
Familiar@handhelds.org
https://handhelds.org/mailman/listinfo/familiar
irc://irc.freenode.net #familiar

^ permalink raw reply	[flat|nested] 28+ messages in thread
* help me
@ 2006-05-09  9:44 abdul hafeez
  0 siblings, 0 replies; 28+ messages in thread
From: abdul hafeez @ 2006-05-09  9:44 UTC (permalink / raw)
  To: nfs

[-- Attachment #1: Type: text/html, Size: 845 bytes --]

^ permalink raw reply	[flat|nested] 28+ messages in thread
* help me
@ 2006-03-29  0:19 bash
  2006-03-29  1:50 ` John A. Sullivan III
  0 siblings, 1 reply; 28+ messages in thread
From: bash @ 2006-03-29  0:19 UTC (permalink / raw)
  To: netfilter

 Hello All,

I wanna dynamically block some ip's that load my router with --state NEW
packets (usually it's generated by very aggressive NetLook win
program). But there is a problem -m limit will block all my router's
user, and I wanna block just one ip :/

-- 
Biomechanica Artificial Sabotage Humanoid


^ permalink raw reply	[flat|nested] 28+ messages in thread
* Help Me
@ 2004-11-29 11:41 Umar Draz
  2004-11-29 12:02 ` DervishD
  0 siblings, 1 reply; 28+ messages in thread
From: Umar Draz @ 2004-11-29 11:41 UTC (permalink / raw)
  To: linux-kernel

i want help about kernel recompile

thanks

Umar Draz

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


^ permalink raw reply	[flat|nested] 28+ messages in thread
* HELP ME
@ 2004-09-17 13:08 Marcel Bogdan
  0 siblings, 0 replies; 28+ messages in thread
From: Marcel Bogdan @ 2004-09-17 13:08 UTC (permalink / raw)
  To: marcel00


  
REPLY ONLY TO: marcelbogdan@handbag.com
DEAR FRIEND 
I AM MARCEL BOGDAN,I AM 56 YEARS 
OLD.I AM A CITIZEN OF ROMANIA, BUT I AM RESIDENT IN SOUTH AFRICA. 

I WAS BORN AN ORPHAN AND GOD BLESSED ME ABUNDANTLY.BUT I AM NOT A HAPPY MAN.I HAVE 
NO WIFE AND I HAVE NO CHILDREN. AS AT NOW I AM  SERIOUSLY SICK. I JUST CAME OUT OF 
THE HOSPITAL BACK TO MY HOME . I AM  SUFFERING FROM LUNG CANCER AND I HAD PATIAL 
STROKE WHICH HAS AFFECTED MY SPEACH. I CAN NO LONGER TALK.AND HALF OF MY BODY IS 
PARALYSED. THE DOCTORS SAY I HAVE ABOUT 2 MOUNTHS TO LIVE. I SEND THIS EMAIL TO 
YOU  WITH THE HELP OF MY PRIVATE MALE NURSE WHO IS TYPING MY REQUEST. 

I HAVE LITTLE TIME SO I HAVE COMMITTED IT TO SPREADING MY WEALTH  TOWARDS BETTER 
HEALTH CARE FOR MANKIND.IN THE HOSPITAL WHERE I AM ,I  HAVE GIVEN THE MANAGEMENT 
US$15 MILLION TO UPGRADE AND BUILD A NEW  CANCER RESEACH FACILITY.I HAVE ALSO MADE 
SOME CASH DONATIONS TO  ORPHANAGE CHILDREN HOMES IN SOMALIA,ETHIOPIA,SUDAN,AND 
SOME IN SOUTH AFRICA. I HAVE SUCCEDED IN SPREADING MY LIQUID CASH TOWARDS WELL 
DESERVED MEANS. MY SOUL IS HAPPY. 

WHAT I AM DOING GIVES ME JOY.I AM NOW SHARING MY PROPERTIES AND 
VALUABLES.I DONT KNOW YOU, BUT I AM CONTACTING YOU WITH THE HOPE THAT YOU WILL 
CARRY OUT MY WISH FOR THE SAKE OF HUMANITY. I HAVE 8 MILLION DOLLARS (USD ) 
DEPOSITED WITH A DIPLOMATIC COURIER COMPANY IN EUROPE. I WANT YOU TO TAKE CUSTODY 
OF  THE 8 MILLION DOLLARS (USD ) AND USE IT TO BUILD AND OPERATE(YOU COULD LOOK 
FOR SOMEONE TO OPERATE IT IF YOU ARE UNABLE TO) AN ORPHANAGE IN YOUR COUNTRY.YOU 
WILL NAME THE ORPHANAGE MARCEL BOGDAN ORPHANAGE HOME. YOU MUST FOLLOW MY WISH FOR 
IT WILL GLADEN MY  HEART. 

IF YOU ARE READY TO DO THIS AND CARRYOUT MY WISH, THEN SEND ME 
[1]YOUR NAMES, 
[2]YOUR PHONE AND FAX NUMBER, 
[3]YOUR RESIDENTIAL ADDRESS, 
MY LAWYER WILL BE IN CONTACT WITH YOU.MAY GOD GUIDE US. 
SEND YOUR REPLY ALONG WITH YOUR PERSONAL DETAILS ONLY TO THE EMAIL 
ADDRESS BELOW : marcelbogdan@handbag.com
I AWAIT YOUR REPLY. 
MY WARM GREETINGS 
MARCEL BOGDAN 






^ permalink raw reply	[flat|nested] 28+ messages in thread
* [Bluez-users] help me
@ 2004-05-23 14:51 Vitaliy
  2004-05-23 15:01 ` Marcel Holtmann
  0 siblings, 1 reply; 28+ messages in thread
From: Vitaliy @ 2004-05-23 14:51 UTC (permalink / raw)
  To: bluez-users

Really nobody knows how to solve this problem ("can't connect" topic)?
I can post any required info here..



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 28+ messages in thread
* RE: Help Me
@ 2003-06-10 22:20 George Vieira
  0 siblings, 0 replies; 28+ messages in thread
From: George Vieira @ 2003-06-10 22:20 UTC (permalink / raw)
  To: Pham Dinh Hieu, netfilter

[-- Attachment #1: Type: text/plain, Size: 3346 bytes --]

My advice:
 
1. Download a new kernel source (don't use RedHat's source)
2. Place it in /usr/src/linux-2.4.xx  and then use    ln -s /usr/src/linux.2.4.xx /usr/src/linux
3. Compile iptables against the new kernel (make clean && make)
 
It's easier when you have fresh source code and easier when it's time to patch other stuff in..

Thanks,

 
____________________________________________
George Vieira
Citadel Computer Systems Pty Ltd Systems Manager georgev AT citadelcomputer DOT com DOT au 
Citadel Computer Systems Pty Ltd
Phone : +61 2 9955 2644 HelpDesk: +61 2 9955 2698  <http://www.citadelcomputer.com.au/> http://www.citadelcomputer.com.au
 
 
-----Original Message-----
From: Pham Dinh Hieu [mailto:pdhieu@saigontel.com]
Sent: Tuesday, June 10, 2003 4:31 PM
To: netfilter@lists.samba.org
Subject: Help Me


Dear All,
I want to install iptables-1.2.7a but I have a trouble as compile it.
The system displays the following message 
 
[ root@fw iptables-1.2.7a]# make KERNEL_DIR=/home/test/linux-2.4.17
Making dependencies: please wait...
Extensions found:
cc -O2 -Wall -Wunused -I/home/user/linux-2.4.17/include -Iinclude/ -DIPTABLES_VERSION=\"1.2.7a\"  -fPIC -o\
extensions/libipt_ah_sh.o -c extensions/libipt_ah.c
ld -shared -o extensions/libipt_ah.so extensions/libipt_ah_sh.o
cc -O2 -Wall -Wunused -I/home/user/linux-2.4.17/include -Iinclude/ -DIPTABLES_VERSION=\"1.2.7a\"  -fPIC -o\
extensions/libipt_conntrack_sh.o -c extensions/libipt_conntrack.c
In file included from extensions/libipt_conntrack.c:15:
include/linux/netfilter_ipv4/ipt_conntrack.h:28: `IP_CT_DIR_MAX' undeclared here (not in a function)
include/linux/netfilter_ipv4/ipt_conntrack.h:29: `IP_CT_DIR_MAX' undeclared here (not in a function)
include/linux/netfilter_ipv4/ipt_conntrack.h:29: `IP_CT_DIR_MAX' undeclared here (not in a function)
extensions/libipt_conntrack.c: In function `parse_status':
extensions/libipt_conntrack.c:103: `IPS_EXPECTED' undeclared (first use in this function)
extensions/libipt_conntrack.c:103: (Each undeclared identifier is reported only once
extensions/libipt_conntrack.c:103: for each function it appears in.)
extensions/libipt_conntrack.c:105: `IPS_SEEN_REPLY' undeclared (first use in this function)
extensions/libipt_conntrack.c:107: `IPS_ASSURED' undeclared (first use in this function)
extensions/libipt_conntrack.c: In function `parse':
extensions/libipt_conntrack.c:202: `IP_CT_DIR_ORIGINAL' undeclared (first use in this function)
extensions/libipt_conntrack.c:259: `IP_CT_DIR_REPLY' undeclared (first use in this function)
extensions/libipt_conntrack.c: In function `print_status':
extensions/libipt_conntrack.c:364: `IPS_EXPECTED' undeclared (first use in this function)
extensions/libipt_conntrack.c:368: `IPS_SEEN_REPLY' undeclared (first use in this function)
extensions/libipt_conntrack.c:372: `IPS_ASSURED' undeclared (first use in this function)
extensions/libipt_conntrack.c: In function `matchinfo_print':
extensions/libipt_conntrack.c:420: `IP_CT_DIR_ORIGINAL' undeclared (first use in this function)
extensions/libipt_conntrack.c:440: `IP_CT_DIR_REPLY' undeclared (first use in this function)
make: *** [extensions/libipt_conntrack_sh.o] Error 1

 
Please help me to install iptables on Redhat Linux 7.3 or 8.0 
Thanks.
 
Best Regards
 
DunHill

[-- Attachment #2: Type: text/html, Size: 7421 bytes --]

^ permalink raw reply	[flat|nested] 28+ messages in thread
* Help Me
@ 2003-06-10  6:31 Pham Dinh Hieu
  0 siblings, 0 replies; 28+ messages in thread
From: Pham Dinh Hieu @ 2003-06-10  6:31 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 2498 bytes --]

Dear All,
I want to install iptables-1.2.7a but I have a trouble as compile it.
The system displays the following message 

[root@fw iptables-1.2.7a]# make KERNEL_DIR=/home/test/linux-2.4.17
Making dependencies: please wait...
Extensions found:
cc -O2 -Wall -Wunused -I/home/user/linux-2.4.17/include -Iinclude/ -DIPTABLES_VERSION=\"1.2.7a\"  -fPIC -o\
extensions/libipt_ah_sh.o -c extensions/libipt_ah.c
ld -shared -o extensions/libipt_ah.so extensions/libipt_ah_sh.o
cc -O2 -Wall -Wunused -I/home/user/linux-2.4.17/include -Iinclude/ -DIPTABLES_VERSION=\"1.2.7a\"  -fPIC -o\
extensions/libipt_conntrack_sh.o -c extensions/libipt_conntrack.c
In file included from extensions/libipt_conntrack.c:15:
include/linux/netfilter_ipv4/ipt_conntrack.h:28: `IP_CT_DIR_MAX' undeclared here (not in a function)
include/linux/netfilter_ipv4/ipt_conntrack.h:29: `IP_CT_DIR_MAX' undeclared here (not in a function)
include/linux/netfilter_ipv4/ipt_conntrack.h:29: `IP_CT_DIR_MAX' undeclared here (not in a function)
extensions/libipt_conntrack.c: In function `parse_status':
extensions/libipt_conntrack.c:103: `IPS_EXPECTED' undeclared (first use in this function)
extensions/libipt_conntrack.c:103: (Each undeclared identifier is reported only once
extensions/libipt_conntrack.c:103: for each function it appears in.)
extensions/libipt_conntrack.c:105: `IPS_SEEN_REPLY' undeclared (first use in this function)
extensions/libipt_conntrack.c:107: `IPS_ASSURED' undeclared (first use in this function)
extensions/libipt_conntrack.c: In function `parse':
extensions/libipt_conntrack.c:202: `IP_CT_DIR_ORIGINAL' undeclared (first use in this function)
extensions/libipt_conntrack.c:259: `IP_CT_DIR_REPLY' undeclared (first use in this function)
extensions/libipt_conntrack.c: In function `print_status':
extensions/libipt_conntrack.c:364: `IPS_EXPECTED' undeclared (first use in this function)
extensions/libipt_conntrack.c:368: `IPS_SEEN_REPLY' undeclared (first use in this function)
extensions/libipt_conntrack.c:372: `IPS_ASSURED' undeclared (first use in this function)
extensions/libipt_conntrack.c: In function `matchinfo_print':
extensions/libipt_conntrack.c:420: `IP_CT_DIR_ORIGINAL' undeclared (first use in this function)
extensions/libipt_conntrack.c:440: `IP_CT_DIR_REPLY' undeclared (first use in this function)
make: *** [extensions/libipt_conntrack_sh.o] Error 1


Please help me to install iptables on Redhat Linux 7.3 or 8.0 
Thanks.

Best Regards

DunHill

[-- Attachment #2: Type: text/html, Size: 3377 bytes --]

^ permalink raw reply	[flat|nested] 28+ messages in thread
* Help me
@ 2003-04-26  4:52 cyberyam
  0 siblings, 0 replies; 28+ messages in thread
From: cyberyam @ 2003-04-26  4:52 UTC (permalink / raw)
  To: netfilter-devel

[-- Attachment #1: Type: text/plain, Size: 2911 bytes --]

Hello:
    I program the firewall used the iptable under linux ,The kernel is 2.4.18 ,
I see , the sys_open is call from userspace ,so i convert kernelspace to userspace ,


but failed (The source is atteched ).
I coun't call the system call ,example sys_open ,sys_close, 
The problem is i could't write file ,what can i do ,
 mm_segment_t old_fs =get_fs() ;

    set_fs(new_fs) ;

 fd = sys_open(pathname,O_WRONLY|O_CREAT,S_IRUSR|S_IWUSR);
 printk("fd is [%d]",fd);
 sys_write(fd,"Mail has develope sucesses , ",20) ; 
 sys_close(fd);
 
set_fs(old_fs) ;
 

when the packet is accor ,the machine will panic ,
the error is :

error .... 
kernel panic :Aiee,killing interrupt handler! 
In interrupt handler - not syncing 

    Please help me ,Thank you .
                                                            yours zpeak 
                                                            

/*-----------------------------------------------------------------------------------------------------
 *Atteched the source and the problem 
----------------------------------------------------------------------------------------------------*/
#ifndef __KERNEL__
#define __KERNEL__
#endif
#ifndef MODULE
#define MODULE
#endif

#include <linux/module.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <linux/config.h>
#include <linux/ip.h>
#include <linux/tcp.h>
#include <linux/udp.h>
#include <linux/spinlock.h>
#include <asm-i386/segment.h>
#include <asm-i386/uaccess.h>
#include <linux/netfilter_ipv4.h>




static unsigned int myfirewall(unsigned int hooknum,struct sk_buff **skb,
  const struct net_device *in,
  const struct net_device *out,int (*okfn)(struct sk_buff*))
{
 mm_segment_t old_fs =get_fs() ;
 mm_segment_t new_fs =get_ds();
 printk("The old fs is [%lu]\n",old_fs.seg) ;
 printk("The neww fs is [%lu]\n ",new_fs.seg) ;

/* I found the old_fs and  new_fs is in the same address  
  * But in other module is different ,why,can you tell me 
*/ 
 
 
 int fd = 0;
 char pathname[50] ="/test/log/8.mail" ;

set_fs(new_fs) ;

 fd = sys_open(pathname,O_WRONLY|O_CREAT,S_IRUSR|S_IWUSR);
 printk("fd is [%d]",fd);
 sys_write(fd,"Mail has develope sucesses , ",20) ; 
 sys_close(fd);
 
set_fs(old_fs) ;
 
 
 return NF_ACCEPT;

}

static struct nf_hook_ops iplimitfilter=
{
 {NULL,NULL},
 myfirewall,
 PF_INET,
 NF_IP_PRE_ROUTING,
 NF_IP_PRI_FILTER
};

int init_module(void)
{
 mm_segment_t old_fs =get_fs() ;
 mm_segment_t new_fs =get_ds();
 printk("The** old fs is [%lu]\n",old_fs.seg) ;
 printk("The** neww fs is [%lu]\n ",new_fs.seg) ;
 return nf_register_hook(&iplimitfilter);
}

void cleanup_module(void)
{
 nf_unregister_hook(&iplimitfilter);
}

------------------------------------------------------------
gcc -D__KERNEL__ -WALL -I /usr/src/linux.2.4.18/include  myfirewall.c 

[-- Attachment #2: Type: text/html, Size: 6237 bytes --]

^ permalink raw reply	[flat|nested] 28+ messages in thread
* help me...
@ 2002-10-31  4:01 곽동원
  0 siblings, 0 replies; 28+ messages in thread
From: 곽동원 @ 2002-10-31  4:01 UTC (permalink / raw)
  To: reiser fs

[-- Attachment #1: Type: text/plain, Size: 646 bytes --]

hi.. i'm king ^^ beginner~

i learn reiserfs berfoer one week...

i have question...

my disk /dev/hda9 filesystem is reiserfs... size 102M, journal size=32M

then free space = 68 M

i'm copy data (100M) .... 

[jellicle@dual reiserfs]$ df           
Filesystem           1k-blocks        Used    Available Use%   Mounted on
/dev/hda5              4538124     3835128      472468      90%  /
/dev/hda2                 54447        18169         33467      36% /boot
/dev/hda9                104380      102384          1996      99% /reiser/fs    <<<------

why free space 1996 not use???

free space 1996... special purpose??

^ permalink raw reply	[flat|nested] 28+ messages in thread
* Help me.
@ 2001-06-28 21:05 강신규
  2001-06-28 16:43 ` Ralph Metzler
  0 siblings, 1 reply; 28+ messages in thread
From: 강신규 @ 2001-06-28 21:05 UTC (permalink / raw)
  To: linux-mips, linux-mips

Hi, my name is Shinkyu Kang.

I am trying to port a linux 2.4 to R3000 based system (LSI LOGIC
SC2000).
SC2000 have caches. one is Two-way set associative or direct mapped
Instruction cache (16K) and another is Direct-mapped data cache(8K).

The following show the contents of each RAM(data and tag) cache.

- I-Cache Set 0 or D-Cache Data Ram
31-24(bit) : byte 3
23-16 : byte 2
15-8   : byte 1
7-0 : byte 0

- I-Cache Set 0 or D-Cache Tag Ram
23-5 : Cache Tag ID
4 : Cache Lock bit
3 : High word valid bit
2 : Third word valid bit
1 :  Second word valid bit
0 : Low word valid bit

- I-Cache Set 1 Data Ram
31-0 : Instruction

- I-Cache Set 1 Tag Ram
22-4 : Cache Tag ID
3 : High word valid bit
2 : Third word valid bit
1 : Second word valid bit
0 : Low word valid bit


SC2000 have a BBCC(Basic BIU and Cache Controller) Configuration
Register like following :
31(bit) : MMU enable -> setting this bit enables the full memory
management unit(MMU).
30 : Write buffer enable -> setting this bit enables the write buffer.
29-14 : reserved
13: Data error - the BBCC sets this bit when a bus error ouccurs duringa
data load/store. Clearing this bit acknowledges the error.
12-10 : Page Size -> These bits inform the BBCC of the page size so that
the BBCC can determine if stores are burst write transactions; in
otherwords, if they are consecutive stores to the same page.
---------------
    ps        page size
   0b000    16 words
   0b001    32 words
   0b010    64 words
   0b011    128 words
   0b100    256 words
   0b101    512 words
   0b110    1024 words
   0b111    2048 words
----------------

9-8 : Cache Mode -> These bits determine the Cache mode.
    CM        Cache Mode
------------------
  0b00        Nomal
  0b01        I-Cache Software Test (Data Ram)
  0b10        I-Cache Software Test(Tag Ram)
  0b11        D-Cache Software Test(Tag Ram)
-------------------

7 : Read Priority Enable  -> Setting this bit causes the BBCC to assign
higher priority to loads over stores, whenever possible.
6-5 : D-Cache Block Refill Size  -> These bits specify the D-cache block

refill size
    DRS     Refill Size
-------------------
   0b00       1 word
   0b01       2 words
   0b10       4 words
   0b11       8 words
-------------------

4 : D-Cache Enable  -> setting this bit enable the D-cache

3-2 : I-Cache Block Refill Size -> these bits specifiy the I-cache block

refill size.
  -------------------
   0b00       1 word
   0b01       2 words
   0b10       4 words
   0b11       8 words
-------------------

1 : I-Cache Set 1 Enable -> setting this bit enables the I-cache Set 1.

0 : I-Cache Enable -> setting this bit enables the I-cache.
----------------------------------------------------------------------------




I modify the r2300.c and add a new file (lsi-cache.S) like following :

-------------------r2300.c-------------------------------
static void r3k_flush_icache_range(unsigned long start, unsigned long
end)
{
         flush_icache();
}

void __init ld_mmu_r23000(void)
{
        unsigned long config;

        printk("CPU revision is: %08x\n",
read_32bit_cp0_register(CP0_PRID));

        _clear_page = r3k_clear_page;
        _copy_page = r3k_copy_page;

        r3k_probe_cache();

        _flush_cache_all = r3k_flush_cache_all;
        ___flush_cache_all = r3k_flush_cache_all;
        _flush_cache_mm = r3k_flush_cache_mm;
        _flush_cache_range = r3k_flush_cache_range;
        _flush_cache_page = r3k_flush_cache_page;
        _flush_cache_sigtramp = r3k_flush_cache_sigtramp;
        _flush_page_to_ram = r3k_flush_page_to_ram;
        _flush_icache_page = r3k_flush_icache_page;
        _flush_icache_range = r3k_flush_icache_range;

        _dma_cache_wback_inv = r3k_dma_cache_wback_inv;

        printk("Primary instruction cache %dkb, linesize %d bytes\n",
                (int) (icache_size >> 10), (int) icache_lsize);
        printk("Primary data cache %dkb, linesize %d bytes\n",
                (int) (dcache_size >> 10), (int) dcache_lsize);

        flush_tlb_all();
}
---------------lsi-cache.S--------------------------------

/* void flush_icache(void) */
LEAF(flush_icache)
        .set    noreorder

        la      a3, icache_size     # 8Kbyte
        lw      t4, 0(a3)

        mfc0    t7, CP0_STATUS          # save SR
        nop
        nop

        and     t0, t7, ~ST0_IEC        # disable interrupts
        mtc0    t0, CP0_STATUS
        nop
        nop

        li      t3, CBSYS             # BBCC configuration register
        lw      t8, 0(t3)               # save config. register
        nop

        li      t0, KSEG0
        or      t4, t4, t0              # end of I-cache

        move    t5, t0

2:        la      t0, 3f                  # switch to Kseg1
        or      t0, KSEG1
        jr      t0
        nop

#
# flush I-cache set 0
#
3:
        li      t0, (CFG_DCEN | CFG_ICEN)
        or      t0, CFG_CMODE_ITEST     # I-cache set1 enable
                                        # D-cache enable, I-cache set0
enable
                                        # I-cache software test
        sw      t0, 0(t3)
        lw      zero, 0(t3)
        addi    zero, zero, 1

        move    t0, t5
4:      sw      zero, (t0)
        nop
        lw      zero, (t0)
        addu    t0, t6
        bltu    t0, t4, 4b
        nop

#
# flush I-cache set 1
#
        li      t0, (CFG_DCEN | CFG_ICEN | CFG_IS1EN)
        or      t0, CFG_CMODE_ITEST     # I-cache set1 enable
                                        # D-cache enable, I-cache set0
enable
                                        # I-cache software test
        sw      t0, 0(t3)
        lw      zero, 0(t3)
        addi    zero, zero, 1

        move    t0, t5
5:      sw      zero, (t0)
        nop
        lw      zero, (t0)
        addu    t0, t6
        bltu    t0, t4, 5b
#
# restore status and config. register
#
        sw      t8, 0(t3)               # restore config. register
        lw      zero, 0(t3)
        addi    zero, zero, 1

        mtc0    t7, CP0_STATUS          # restore SR
        nop
        nop

        j       ra
        nop

        .set    reorder
END(flush_icache)
        nop
-----------------------------------------------------------------------

The default setting of CBSYS register is 0xC0000013 (MMU on, Write
buffer on, I, D-Cache on, I cache set 1 on)

-----Question.------------
When I turn off I, D-cache, bash or sash is doing well.
but when I turn on the cache, kernel die during sash or bash is up.

1. Is there more file to modified in kernel ?

2.  Here is a booting message when caches are off.

Starting kernel ...
command line: root=/dev/ram
Loading R[23]000 MMU routines.
CPU Revision Number is: 00002597
Primary instruction cache 8kb, linesize 16 bytes
Primary data cache 8kb, linesize 16 bytes
Linux version 2.4.3 (root@localhost.localdomain) (gcc version 3.0
20010422 (prerelease)) #442 목 6월 28 16 :42:17 EDT 2001
Determined physical RAM map:
 memory: 01000000 @ 00000000 (usable)
Initial ramdisk at: 0x800f6000 (2214364 bytes)
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/ram
sc2000 timer init...
Calibrating delay loop... 6.63 BogoMIPS
Memory: 12836k/16384k available (859k kernel code, 3548k reserved, 2226k
data, 56k init)
Dentry-cache hash table entries: 2048 (order: 2, 16384 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 1024 (order: 1, 8192 bytes)
Checking for 'wait' instruction...  unavailable.
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Starting kswapd v1.8
initialize_kbd: Keyboard failed self test
block: queued sectors max/low 8456kB/2818kB, 64 slots per queue
keyboard: Timeout - AT keyboard not present?
keyboard: Timeout - AT keyboard not present?
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 2162k freed
loop: loaded (max 8 devices)
Serial driver version 1.00 (2001-02-27)
ttyS00 at 0x0000 (irq = 0) is a LSI UART
VFS: Mounted root (ext2 filesystem).
Freeing prom memory: 0kb freed
Freeing unused kernel memory: 56k freed
<load_elf_binary> start
<load_elf_binary> padzero start
<load_elf_binary> new_pc : 400150, new_sp : 7fff7f80
<do_execve> end
<sys_execve> end
Algorithmics/MIPS FPU Emulator v1.4
Stand-alone shell (version 3.4)
>
----------------------------------------------
Here is a booting message when cache on.

Starting kernel ...
command line: root=/dev/ram
Loading R[23]000 MMU routines.
CPU Revision Number is: 00002597
Primary instruction cache 8kb, linesize 16 bytes
Primary data cache 8kb, linesize 16 bytes
Linux version 2.4.3 (root@localhost.localdomain) (gcc version 3.0
20010422 (prerelease)) #442 목 6월 28 16
:42:17 EDT 2001
Determined physical RAM map:
 memory: 01000000 @ 00000000 (usable)
Initial ramdisk at: 0x800f6000 (2214364 bytes)
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/ram
sc2000 timer init...
Calibrating delay loop... 107.72 BogoMIPS
Memory: 12836k/16384k available (859k kernel code, 3548k reserved, 2226k
data, 56k init)
Dentry-cache hash table entries: 2048 (order: 2, 16384 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 1024 (order: 1, 8192 bytes)
Checking for 'wait' instruction...  unavailable.
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Starting kswapd v1.8
initialize_kbd: Keyboard failed self test
block: queued sectors max/low 8456kB/2818kB, 64 slots per queue
keyboard: Timeout - AT keyboard not present?
keyboard: Timeout - AT keyboard not present?
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 2162k freed
loop: loaded (max 8 devices)
Serial driver version 1.00 (2001-02-27)
ttyS00 at 0x0000 (irq = 0) is a LSI UART
VFS: Mounted root (ext2 filesystem).
Freeing prom memory: 0kb freed
Freeing unused kernel memory: 56k freed
<load_elf_binary> start
<load_elf_binary> padzero start
<load_elf_binary> new_pc : 400150, new_sp : 7fff7f80
-----------------------------------------------------------------
Please tell me what can I do?


-----------------------------------------------------------------
Best Regards
Shinkyu.

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2019-04-07 23:46 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-04 10:39 help me umar draz
2005-07-04 10:47 ` Christoph Georgi
2005-07-04 13:45   ` /dev/rob0
  -- strict thread matches above, loose matches on Subject: below --
2019-04-07 23:46 Help Me Ms. Heba Oudeh
2014-09-10 12:02 Alina Yukov
2010-07-01  5:01 help me oleg ershov
2010-07-01  5:36 ` Mike Frysinger
2007-01-04  6:21 Help me Debasree Mallick
2007-01-04  8:26 ` Matthew Palmer
2007-01-05  7:31   ` Debasree Mallick
2007-01-05  7:31   ` Debasree Mallick
2006-11-26 10:01 help me ahmed nabel
2006-05-09  9:44 abdul hafeez
2006-03-29  0:19 bash
2006-03-29  1:50 ` John A. Sullivan III
2006-03-29  3:29   ` bash
2004-11-29 11:41 Help Me Umar Draz
2004-11-29 12:02 ` DervishD
2004-09-17 13:08 HELP ME Marcel Bogdan
2004-05-23 14:51 [Bluez-users] help me Vitaliy
2004-05-23 15:01 ` Marcel Holtmann
2004-05-23 15:20   ` [Bluez-users] " Vitaliy
2004-05-23 15:30     ` Marcel Holtmann
2004-05-23 15:48       ` Vitaliy Pronkin
2004-05-23 16:04         ` Marcel Holtmann
2004-05-23 16:12           ` Vitaliy Pronkin
2003-06-10 22:20 Help Me George Vieira
2003-06-10  6:31 Pham Dinh Hieu
2003-04-26  4:52 Help me cyberyam
2002-10-31  4:01 help me 곽동원
2001-06-28 21:05 Help me 강신규
2001-06-28 16:43 ` Ralph Metzler
2001-06-29 13:28   ` 강신규
2001-07-02 13:47   ` 강신규

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.