All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Is there a "make hole" (truncate in middle) syscall?
From: Rob Landley @ 2003-12-15 11:52 UTC (permalink / raw)
  To: Vladimir Saveliev; +Cc: linux-kernel
In-Reply-To: <1071482402.11042.36.camel@tribesman.namesys.com>

On Monday 15 December 2003 04:00, Vladimir Saveliev wrote:

> > Truncate doesn't look at the contents of the file, it just frees the
> > space regardless of what the data was.  (It doesn't have to load the
> > contents of the blocks into memory and look at them in order to make the
> > file's length shorter in the metadata and de-allocate those blocks.)
> >
> > What was suggested a bit earlier was automatically looking at the
> > contents of the data being written to disk, and not allocating actual
> > blocks if the data is all zeroes.  (A bit like looking at pages of memory
> > and copy-on-write aliasing them to the zero page whenever the page is
> > entirely zeroes.)
> >
> > Truncate doesn't do any of that.  Truncate only plays with metadata, and
> > doesn't care about the contents of the file.
>
> I thought we are talking about something which would allow to create
> holes inside of non sparse file

Yes.  With a syscall that says "from here, to here, punch hole".

The earlier suggestion I was disagreeing with would automatically create holes 
in any file that wrote a sufficiently large range of zero bytes.  Hence the 
cache poisoning and general defeating the purpose of DMA and such.  Neither 
truncate, nor a punch syscall, would mess with the normal "write" path 
(beyond locking so write and truncate/punch didn't stomp each other).

Rob

^ permalink raw reply

* Re: udev - namedev configuration.
From: Kay Sievers @ 2003-12-15 11:54 UTC (permalink / raw)
  To: linux-hotplug
In-Reply-To: <marc-linux-hotplug-107146403123704@msgid-missing>

On Sun, Dec 14, 2003 at 09:51:55PM -0700, reg@dwf.com wrote:
> Ive probably missed something with the rapid evolution of udev, but
> Im having a problem with the udev-008 that I just installed.
> 
> I have the configuration line:
> 
>     # USB Disk.
>     LABEL, BUS="usb", vendor="IC25N020", NAME="usb_disk"

Is there a file named "vendor" for your disc in /sys?
If yes, what is in there?

You are missing the number replacement, otherwise only your disk
will be named and not the partitions:
NAME="usb_disk%n"


> in namedev.config.  The disk in question has 4 partitions on it.

There is no namedev.config in 008, it was renamed to
udev.config in 005 and later to udev.rules.


> I used to see usb_disk or usb_disk1, but now Im only seeing
>     
>     sda
>     sda1
>     sda2
>     sda3
>     sda4

Thats the default, no rule is matching.
Please make sure, as mentioned above if the kernel is exporting the file
"vendor" what you are trying to match against.

Please try:
REPLACE, KERNEL="sda*", NAME="usb_disk%n"
This works only for the first scsi-device, but we can see if udev is working.


> What am I doing wrong?

You can try "make DEBUG=true" an look at udev's debug in your syslog,
while connecting the disc.

thanks,
Kay



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id\x1278&alloc_id371&op=click
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply

* Re: Status of qlogic tcp/ip (fc0) support
From: Mario Giammarco @ 2003-12-15 11:56 UTC (permalink / raw)
  To: Fabien Salvi; +Cc: linux-scsi
In-Reply-To: <3FDD9D52.2060405@cri74.org>

Il lun, 2003-12-15 alle 12:38, Fabien Salvi ha scritto:

> Hello, using qla2200 from qlogic is IMHO the good solution.
> I've already tested it a few months ago and it worked fine except very 
> poor performance (around 20MB/s with a Qlogic switch despite of no load 
> at all).
> 
Poor tcp/ip performance or scsi performance?

> You should send your compile errors...

Yeah!

Here is the complete log:

BTW: How can I compile drivers into kernel and not as modules?
Instructions in drivers are erroneuos (I like a .diff ...)

 make IP=1
cc -D__KERNEL__ -DMODULE -Wall -O -g -DUDEBUG -DLINUX -Dlinux -DINTAPI
-DEXPORT_SYMTAB -DMODVERSIONS -include
/usr/src/linux-2.4/include/linux/modversions.h
-I/usr/src/linux-2.4/include
-I/usr/src/linux-2.4/include/../drivers/scsi -falign-functions=2
-falign-jumps=2 -falign-loops=2 -Wall -Wstrict-prototypes
-fomit-frame-pointer -fno-strength-reduce -pipe -DCONFIG_X86_LOCAL_APIC
-fno-strict-aliasing -fno-common -mpreferred-stack-boundary=2
-march=i686 -DFC_IP_SUPPORT   -DSHT_HAS_HIGHMEM_IO     -c qla2200.c -o
qla2200.o
In file included from qla2200.c:43:
qla2x00.c: In function `qla2x00_process_response_queue':
qla2x00.c:11581: warning: passing arg 2 of `qla2x00_ip_receive' from
incompatible pointer type
In file included from qla2200.c:43:
qla2x00.c: In function `qla2x00_register_snn':
qla2x00.c:14640: error: incompatible types in assignment
qla2x00.c:14641: error: incompatible types in assignment
In file included from qla2200.c:43:
qla2x00.c: In function `qla2x00_configure_local_loop':
qla2x00.c:16664: error: `list_entry_loop_id' undeclared (first use in
this function)
qla2x00.c:16664: error: (Each undeclared identifier is reported only
once
qla2x00.c:16664: error: for each function it appears in.)
In file included from qla2x00.c:18823,
                 from qla2200.c:43:
qla_cfg.c: In function `qla2x00_add_portname_to_mp_dev':
qla_cfg.c:1045: warning: comparison is always true due to limited range
of data type
qla_cfg.c:1057: warning: comparison is always false due to limited range
of data type
In file included from qla2x00.c:18823,
                 from qla2200.c:43:
qla_cfg.c: In function `qla2x00_find_mp_dev_by_id':
qla_cfg.c:3575: warning: comparison is always true due to limited range
of data type
In file included from qla2x00.c:18824,
                 from qla2200.c:43:
qla_fo.c: In function `qla2x00_fo_set_lun_data':
qla_fo.c:759: warning: comparison is always false due to limited range
of data type
In file included from qla2x00.c:18824,
                 from qla2200.c:43:
qla_fo.c: In function `qla2x00_fo_get_tgt':
qla_fo.c:1135: warning: comparison is always true due to limited range
of data type
qla_fo.c:1225: warning: comparison is always true due to limited range
of data type
make: *** [qla2200.o] Error 1

-- 
Mario Giammarco



^ permalink raw reply

* Re: Linux/ACPI 2.4 release status and cpufreq
From: wwp @ 2003-12-15 11:59 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
In-Reply-To: <3FDD9E37.2090307-wlebWZzHoyE@public.gmane.org>

Hi Luca Capello,


On Mon, 15 Dec 2003 12:42:47 +0100 Luca Capello <luca-wlebWZzHoyE@public.gmane.org> wrote:

> Hello,
> 
> on 12/15/03 12:26, Micha Feigin wrote:
> | The cvs version (iirc mentioned earlier in this thread, otherwise
> | search the archives) applied cleanly to 2.4.23 last time I checked.
> well, I just got an error applying the latest 'cpufreq' from
> 	http://ftp.linux.org.uk/pub/linux/cpufreq/
> 
> Here's the error (I used a fresh 2.4.23 with the latest ACPI patch):
> | gismo:/usr/src/linux-2.4.23# bunzip2 -c
> ../kernel/cpufreq-LINUX_2_4-20031215.tar.bz2 | patch -p1
> | missing header for unified diff at line 57 of patch
> | patching file Documentation/00-INDEX
> | patching file Documentation/Configure.help
> | patching file Makefile
> | patching file arch/i386/boot/setup.S
> | patching file arch/i386/config.in
> | patching file arch/i386/kernel/Makefile
> | patching file arch/i386/kernel/i386_ksyms.c
> | patching file arch/i386/kernel/setup.c
> | patching file arch/i386/kernel/time.c
> | patching file drivers/Makefile
> | patching file include/asm-i386/ist.h
> | patching file include/asm-i386/msr.h
> | patching file include/asm-i386/smp.h
> | patching file include/linux/smp.h
> | patch unexpectedly ends in middle of line
> | gismo:/usr/src/linux-2.4.23#

Using cpufreq-LINUX_2_4-20031215.tar.bz2, patching manually
w/ `patch -p1 --dry-run < patch` against a 2.4.33+acpi+ieee1394+
other-various-patches:

patching file Documentation/00-INDEX
patching file Documentation/Configure.help
patching file Makefile
patching file arch/i386/boot/setup.S
patching file arch/i386/config.in
patching file arch/i386/kernel/Makefile
patching file arch/i386/kernel/i386_ksyms.c
patching file arch/i386/kernel/setup.c
patching file arch/i386/kernel/time.c
patching file drivers/Makefile
patching file include/asm-i386/ist.h
patching file include/asm-i386/msr.h
patching file include/asm-i386/smp.h
patching file include/linux/smp.h

Seems OK here.


Regards,

-- 
wwp


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/

^ permalink raw reply

* Re: [patch] quite down SMP boot messages
From: Jes Sorensen @ 2003-12-15 11:57 UTC (permalink / raw)
  To: davidm; +Cc: Pavel Machek, Andrew Morton, linux-kernel, jbarnes, Rusty Russell
In-Reply-To: <16346.16576.987077.529284@napali.hpl.hp.com>

>>>>> "David" == David Mosberger <davidm@napali.hpl.hp.com> writes:

David> Sounds promising to me.  I also dislike the verbosity, but
David> getting rid of the messages completely makes me nervous, too,
David> because sometimes things do fail and then it's invaluable to
David> have some idea of how far the boot got (even if the person
David> booting the machines has no clue what the funny symbols on his
David> screen actually mean).

This is exactly why I added the smpverbose boot option so one can
reenable all the messages.

Cheers,
Jes

^ permalink raw reply

* Re: Multiple keyboard/monitor vs linux-2.6?
From: Helge Hafting @ 2003-12-15 12:18 UTC (permalink / raw)
  To: William Park; +Cc: linux-kernel
In-Reply-To: <20031213211234.GB448@node1.opengeometry.net>

William Park wrote:
> On Sat, Dec 13, 2003 at 02:14:05PM +0100, Helge Hafting wrote:
[...]
>>I run my home machine this way:
>>2 standard keyboards, one connected to the keyboard port and
>>another connected to the ps2 mouse port.
> 
> 
> Plug PS/2 keyboard into PS/2 mouse port???  I didn't know you can do
> that.

The two ports are the same hardware, which makes sense as they
serve the same purpose - serial communication with a slow device.

The common case is one keyboard and one mouse, but two mice
or two keyboards works just as well as long as the software
expects it.  Linux 2.6 have no problems with this.

You need the ruby patch to use the two keyboards independently,
the standard kernel merges input from all attached keyboards into
one console.

You may attach a lot more keyboards using usb keyboards.

Helge Hafting



^ permalink raw reply

* ATI Rage 128 problem with 2.4.23 & 2.6.0-test11
From: Jan Kara @ 2003-12-15 12:08 UTC (permalink / raw)
  To: linux-kernel

  Hello,

  I have a problem with acceleration on ATI Rage 128 on both 2.4.23 and
2.6.0-test11. If I run X with DRI enabled and some game using it then
shortly kernel starts printing message like:
 *ERROR* r128_freelist_get() returning NULL!

At that moment X freeze completely... Is there some solution for this
problem?

The machine is MSI KT4AVL board with Barton 2500+. agpgart is not
working in 2.4.23 but in 2.6.0-test11 it works perfectly (it runs in 1x
mode). If some more information or testing is needed please ask.

									Honza

-- 
Jan Kara <jack@suse.cz>
SuSE CR Labs

^ permalink raw reply

* Re: RFC - tarball/patch server in BitKeeper
From: Sergey Vlasov @ 2003-12-15 12:11 UTC (permalink / raw)
  To: linux-kernel; +Cc: bitkeeper-users
In-Reply-To: <2259130000.1071469863@[10.10.2.4]>

On Sun, 14 Dec 2003 22:31:04 -0800 Martin J. Bligh wrote:

> One thing that I've wished for in the past which looks like it *might*
> be trivial to do is to grab a raw version of the patch you already
> put out in HTML format, eg if I surf down changesets and get to a page
> like this:
> 
> http://linus.bkbits.net:8080/linux-2.5/patch@1.1522?nav=index.html|ChangeSet@-2w|cset@1.1522
> 
> except it got html formatted, so I can't play with it easily. Is there
> any way to provide the raw format of that? If not, or you don't want to,
> no problem - would just be convenient. This isn't a open source vs not
> issue, it's just I often want one fix without the whole tree, and it'd
> be a convenient place to grab it.

You almost can do this now - in most cases, copying the text from
Mozilla gives a good patch. The only problem is that the HTML
generation code seems to have a bug - it correctly escapes '<' as
"&lt;" and '>' as "&gt;", but does not escape '&' as "&amp;", and this
occasionally leads to problems.

I see another missing feature - there does not seem to be a way to
order the changesets by the order of merging them into the tree. E.g.
when you look at the linux-2.4 changesets, you will now find XFS all
over the place - even before 2.4.23, while it really has been merged
after 2.4.23.


^ permalink raw reply

* Re: 8xx drivers for 2.6
From: Pantelis Antoniou @ 2003-12-15 12:13 UTC (permalink / raw)
  To: Tom Rini; +Cc: Dan Malek, org, linuxppc-dev
In-Reply-To: <20031211212529.GL23731@stop.crashing.org>


Tom Rini wrote:

>On Thu, Dec 11, 2003 at 02:44:50PM -0500, Dan Malek wrote:
>
>
>>Tom Rini wrote:
>>
>>
>>
>>>Ok. I've gone and ported the 8xx serial driver, and other misc 8xx
>>>things up to what 2.6 wants them to be, as well as a few of the
>>>simpler changes to head_8xx.S.
>>>
>>>
>>Thanks. So, does the kernel at least compile now? :-)
>>
>>
>
>Compiles, links, boots and happily dies inside of head_8xx.S :)
>
>
>
>>>...and in 2.6 having request_8xxirq becomes much uglier because of
>>>the irqreturn_t stuff
>>>
>>>
>>I'm finally going to update this. I've got a pretty good implemenation
>>of the cascaded controller stuff for the 8560, once I get this
>>debugged I'll port it here.
>>
>>
>
>Sounds like a plan.
>
>>>Dan, if you have _anything_ done for head_8xx.S can you please post
>>>it?
>>>
>>Yeah, maybe I can do some debug now, too.
>>
>
>Hopefully :)
>
>--
>Tom Rini
>http://gate.crashing.org/~trini/
>
>
>
>
>
That sounds nice.

Any chance to push the changes to the linuxppc-2.5 tree for us poor saps?
It doesn't have to work or anything, just give us something to work...

Regards

Pantelis


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply

*  YENÝ YILINIZI EN   ÝÇTEN DÝLEKLERÝMÝZLE KUTLARIZ
From: akdeniz6357474 @ 2003-12-15 12:14 UTC (permalink / raw)
  To: akdeniz


AKDENÝZGOZE UGRAMADAN YENÝ YILA GÝRMEYÝN    
TUM LENSLERDE UYGUN FÝYATLAR

BAUSCH&LOMB YILLIK RENKLÝ  LENSLERDE KAMPANYA

OPTÝMA COLOR      1 çift     75.000.000 T.L
NATUREL LOOK     1 çift      90.000.000 T.L.

    En ucuz lensler icin lutfen tiklayin.
    Bir telefonla adrese teslim.

            www.akdenizgoz.com

         Akdeniz Goz 
Fevzipaþa No:73 Fatih    0 212 635 74 74


BU KAMPANYA 31 ARALIK 2003 TARÝHÝNE KADAR GEÇERLÝDÝR


Listeden cikmak icin    remove@akdenizgo.com adresine bos mail gonderiniz

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply

*  YENÝ YILINIZI EN   ÝÇTEN DÝLEKLERÝMÝZLE KUTLARIZ
From: akdeniz6357474 @ 2003-12-15 12:14 UTC (permalink / raw)
  To: akdeniz


AKDENÝZGOZE UGRAMADAN YENÝ YILA GÝRMEYÝN    
TUM LENSLERDE UYGUN FÝYATLAR

BAUSCH&LOMB YILLIK RENKLÝ  LENSLERDE KAMPANYA

OPTÝMA COLOR      1 çift     75.000.000 T.L
NATUREL LOOK     1 çift      90.000.000 T.L.

    En ucuz lensler icin lutfen tiklayin.
    Bir telefonla adrese teslim.

            www.akdenizgoz.com

         Akdeniz Goz 
Fevzipaþa No:73 Fatih    0 212 635 74 74


BU KAMPANYA 31 ARALIK 2003 TARÝHÝNE KADAR GEÇERLÝDÝR


Listeden cikmak icin    remove@akdenizgo.com adresine bos mail gonderiniz

-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply

*  YENÝ YILINIZI EN   ÝÇTEN DÝLEKLERÝMÝZLE KUTLARIZ
From: akdeniz6357474 @ 2003-12-15 12:14 UTC (permalink / raw)
  To: akdeniz


AKDENÝZGOZE UGRAMADAN YENÝ YILA GÝRMEYÝN    
TUM LENSLERDE UYGUN FÝYATLAR

BAUSCH&LOMB YILLIK RENKLÝ  LENSLERDE KAMPANYA

OPTÝMA COLOR      1 çift     75.000.000 T.L
NATUREL LOOK     1 çift      90.000.000 T.L.

    En ucuz lensler icin lutfen tiklayin.
    Bir telefonla adrese teslim.

            www.akdenizgoz.com

         Akdeniz Goz 
Fevzipaþa No:73 Fatih    0 212 635 74 74


BU KAMPANYA 31 ARALIK 2003 TARÝHÝNE KADAR GEÇERLÝDÝR


Listeden cikmak icin    remove@akdenizgo.com adresine bos mail gonderiniz


^ permalink raw reply

* Re: 2.4.23 Oops
From: Marcelo Tosatti @ 2003-12-15 12:03 UTC (permalink / raw)
  To: Frank van Maarseveen; +Cc: linux-kernel
In-Reply-To: <20031215110228.GA15976@iapetus.localdomain>



On Mon, 15 Dec 2003, Frank van Maarseveen wrote:

> Got a new kernel oops. Same machine as the previous reported oops
> in journal_try_to_free_buffers(). Something seems definately wrong
> in 2.4.23.
> 
> Marcelo, I'll follow your suggestion te revert a particular change.

Are you using SMP? 




^ permalink raw reply

* Re: Information
From: Russell Coker @ 2003-12-15 12:13 UTC (permalink / raw)
  To: Carlos Anísio Monteiro, selinux
In-Reply-To: <3FDD9A28.9070406@ipen.br>

On Mon, 15 Dec 2003 22:25, Carlos Anísio Monteiro <monteiro@ipen.br> wrote:
> I have seen that the binary policy file (policy.15) have "15" as version
> of the checkpolicy utility, right ?
> The change done in the sysvinit package load the policy as:
> /sbin/load_policy /etc/security/selinux/policy.15, right?
> If yes, a change in the version of the checkpolicy, I have that change
> the sysvinit too ?

The file /selinux/policyvers has the version.  A future version of sysvinit 
will examine that file to determine which (of possibly many) policy databases 
should be loaded.

Maybe Dan's rpm has this already, I haven't checked.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page



--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

^ permalink raw reply

* Re: 2.4.23 Oops
From: Frank van Maarseveen @ 2003-12-15 12:20 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: linux-kernel
In-Reply-To: <Pine.LNX.4.44.0312151000430.5362-100000@logos.cnet>

On Mon, Dec 15, 2003 at 10:03:29AM -0200, Marcelo Tosatti wrote:
> 
> Are you using SMP? 

no

-- 
Frank

^ permalink raw reply

* Re: [LARTC] Problems with ICQ etc. on nano-setup
From: c0g @ 2003-12-15 12:38 UTC (permalink / raw)
  To: lartc
In-Reply-To: <marc-lartc-107145755020004@msgid-missing>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

| Can one "bind" traffic from one LAN-user to the same DSL, effective in
| lets say 10 minutes from the initial connection?
| Can some magic with conntrack be put to use?

You should do Equal Cost Multipath (iproute) + MARK target instead of
state-based loadbalancing for problematic protocols/sites.

Create table with default route thru multiple gateways with equalize
option. Then direct problematic traffic to this table (using routing
rules and mark matching)

Equal Cost Multipath chooses route based on source and destination IP,
so it bounds client to route, no matter how many connections that client
made.

It works for me.

PS: I assume you have separate network interface in your Linux router
for each DSL, so you can do SNAT on each interface. If you have them
connected to one NIC then it not that simple, but may be resolved with
route realms (but not sure for 100%).

- --
c0g@wp.pl
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/3atPPqmVt5WhbA8RAo/HAJ9XJ1Fb+/LLDkEQs5aUh9nS7aN8DgCfbuVu
yfQXVOluF+uY7DC5+JZxM4g¤og
-----END PGP SIGNATURE-----

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply

* Re: PCI Express support for 2.4 kernel
From: Vladimir Kondratiev @ 2003-12-15 12:44 UTC (permalink / raw)
  To: Gabriel Paubert
  Cc: linux-kernel, Jeff Garzik, Alan Cox, Marcelo Tosatti,
	Martin Mares, zaitcev, hch
In-Reply-To: <20031215103142.GA8735@iram.es>

Gabriel Paubert wrote:

>>Sanity check do pretty good job here. If it is not PCI-E 
>>platform, this address in physical memory will not be connected to 
>>anything real. You will get 0xff's.
>>    
>>
>
>Or a machine check on some architectures which make you know that 
>they don't like a bus cycle which terminates on a master abort.
>  
>
Could you elaborate a bit? This code is for pci-pc.c, it is platform 
specific.
Are there surprises on pc platform? What is visible behavour in this case?

>The major problem I see is that using up 256 Mb of kernel virtual address 
>space for accessing PCI config space is gross. Besides that it won't
>work for 32 bit machines with 768 Mb of RAM or more.
>
>I believe that it would be better to use kmap/kunmap like tricks, especially 
>for something which is relatively infrequent. You could even reserve
>a fixmap entry for this and keep somewhere a pointer to the PTE, which 
>would be modified on every config space access (config space access was
>already properly serialized last time I looked, I believe that all you need 
>is a TLB flush after the PTE is updated).
>
>I have no strong opinion on how to handle 64 bit archs.
>  
>
I should be missing something here. You have 256M of physical address 
space at 0xe0000000 occupied.
You can do nothing with it, it is simply present. Then, ioremap maps it 
somewhere in high memory.
It should not conflict with kernel RAM, for which trivial mapping (+3G) 
used.

>  
>
>>>Further, PCI posting:  a writeb() / writew() / writel() will not be 
>>>flushed immediately to the processor.  The CPU and/or PCI bridge may 
>>>post (delay/combine) such writes.  I do not think this is a desireable 
>>>effect, for PCI config register accesses.
>>>
>>>      
>>>
>>Good point. Fixed.
>>    
>>
>
>Here I'm somehwat lost. Writes to uncacheable RAM will be in program 
>order and never combined. The bridge itself should not post writes to 
>config space. So it's a matter of pushing the write to the processor
>bus, a PCI read looks very heavy for this. Isn't there a more
>lightweight solution ?
>  
>
I am not expert here. I know that PCI-E bridge completes its transaction 
before data actually get to memory. Each intermediate bridge may do its 
own buffering. Besides read, I know nothing that will make you sure data 
reaches final destination. I'd appreciate if someone who knows better 
will step in. Config write is not very often procedure, I don't think 
extra read will make  any difference. I'll look for qualified person 
around, to consult on this issue.

Vladimir.


^ permalink raw reply

* Re: Is there a "make hole" (truncate in middle) syscall?
From: Jörn Engel @ 2003-12-15 12:47 UTC (permalink / raw)
  To: Rob Landley; +Cc: Hua Zhong, 'Andy Isaacson', linux-kernel
In-Reply-To: <200312121537.42303.rob@landley.net>

On Fri, 12 December 2003 15:37:42 -0600, Rob Landley wrote:
> On Friday 12 December 2003 08:24, Jörn Engel wrote:
> 
> > > ...and it sucks.  Same problem as with updatedb - 99% of all work is
> > > bogus, but you don't know which 99%, because the one knowing about it,
> > > the kernel, doesn't tell you a thing.
> >
> > Actually, updatedb sucks even worse.  The database is notoriously
> > outdated and each run of updatedb has the effect of flushing the
> > cache.  Because of the cache-flushing effect, you cannot even run it
> > with maximum niceness.  Running it still hurts you *afterwards*.
> >
> > Same goes for you userland daemon without kernel support.
> 
> 1) The date optimization, only looking at files newer than the last run, means
> you can avoid looking at 90% of the filesystem.

And how do you figure out the date?  ;)

> 2) If drop-behind ever gets working, life is good for this sort of thing.  If 
> not, there's always O_DIRECT or its replacement (whatever Linus and the 
> oracle guy were arguing about last month)...

Not sure what drop-behind is.  Sounds interesting.

Anyway, what updatedb, userspace defragmenters etc. need is a
notification, what has changed.  Without this notification, they have
to look at everything and figure it out themselves.  Ask the network
people why select doesn't scale too well - updatedb is even worse
because it doesn't even notice that *anything* has changed, much less
what change happened.

O_DIRECT, O_STREAMING or O_WHATEVER is also a different beast.  With
streaming media, there is no way to avoid touching the data in the
first place.  If there was, we could do even better, but there isn't.

For updatedb there is.

Jörn

-- 
When in doubt, punt.  When somebody actually complains, go back and fix it...
The 90% solution is a good thing.
-- Rob Landley

^ permalink raw reply

* Re: Fixes for nforce2 hard lockup, apic, io-apic, udma133 covered
From: Maciej W. Rozycki @ 2003-12-15 12:49 UTC (permalink / raw)
  To: ross.alexander; +Cc: linux-kernel
In-Reply-To: <OFAC3015E2.784FA52E-ON80256DFD.003A2DB1-80256DFD.003C2F2D@uk.neceur.com>

On Mon, 15 Dec 2003 ross.alexander@uk.neceur.com wrote:

> 2) If the local apic is running is it necessary to use the 8254 as a 
> timer?

 The 8254 timer is used for timekeeping -- it would be unnecessarily ugly 
to stuff this fuctionality to the APIC timer on one of CPUs.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +

^ permalink raw reply

* [uml-devel] ANNOUNCE: SKAS patch for SuSE 8.2 (linux-2.4.20.SuSE) available
From: La Monte H.P. Yarroll @ 2003-12-15 12:50 UTC (permalink / raw)
  To: user-mode-linux-devel; +Cc: timesysgpl-developers

I have put a revised version of skas-2.4.21.patch.bz2 on the TimeSysGPL 
site at SourceForge:

https://sourceforge.net/tracker/index.php?func=detail&aid=860308&group_id=89531&atid=590444

This was built against  kernel-source-2.4.20.SuSE-100.i586.rpm.

The .config I used for my kernel is here:

https://sourceforge.net/tracker/index.php?func=detail&aid=860309&group_id=89531&atid=590444

Why a SuSE-specific version of the patch?  The kernel for SuSE 8.2 
already includes an earlier version of the SKAS patch, so the patch from 
Jeff does not apply cleanly.

Warning: even with this patch I have trouble using gdb.  It fails to 
identify the threads as they are created and frequently jumps from 
function to function with no discernable rationale--not unlike an 
undecected source/object mismatch.




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply

* Re: [LARTC] graphics?  we don't need no stinkin graphics!
From: raptor @ 2003-12-15 12:51 UTC (permalink / raw)
  To: lartc
In-Reply-To: <marc-lartc-107121918932187@msgid-missing>

I'm getting this error when I try to start it :

Can't find a valid termcap file at /arh/bin/classmon line 37

how to solve this ?

|I know that graphs are all the rage as the format de jour for HTB output,
|but I've had some good times with this script.  It's not art, but it does
|what I need it to.  I'm also not sure how long that link will work before
|they notice I'm not in school.
|
|www.ocf.berkeley.edu/~toby/classmon.pl
|
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply

* Re: [LARTC] Problems with ICQ etc. on nano-setup
From: Steen Suder, privat @ 2003-12-15 13:03 UTC (permalink / raw)
  To: lartc
In-Reply-To: <marc-lartc-107145755020004@msgid-missing>

c0g wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> | Can one "bind" traffic from one LAN-user to the same DSL, effective in
> | lets say 10 minutes from the initial connection?
> | Can some magic with conntrack be put to use?
> 
> You should do Equal Cost Multipath (iproute) + MARK target instead of
> state-based loadbalancing for problematic protocols/sites.
> 
> Create table with default route thru multiple gateways with equalize
> option. Then direct problematic traffic to this table (using routing
> rules and mark matching)

Could I not just apply this method to all traffic?

> Equal Cost Multipath chooses route based on source and destination IP,
> so it bounds client to route, no matter how many connections that client
> made.

Sounds better, actually.

Can you point in the direction of some practical examples?
Perhaps some specific documentation?

> It works for me.
> 
> PS: I assume you have separate network interface in your Linux router
> for each DSL, so you can do SNAT on each interface. If you have them
> connected to one NIC then it not that simple, but may be resolved with
> route realms (but not sure for 100%).

This assumption is correct. The box has a separate, physical interface 
for each DSL and I do simple SNAT for each outgoing (DSL) interface as 
it is now.

-- 
Mvh. / Best regards,
Steen Suder		<http://www.suder.dk/>
ICQ UIN			4133803

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply

* Re: Masquerade problems
From: Ralf Spenneberg @ 2003-12-15 13:05 UTC (permalink / raw)
  To: john bowers; +Cc: Netfilter
In-Reply-To: <BAY8-F102WSsKt3NwAY00036ab1@hotmail.com>

Am Mon, 2003-12-15 um 12.34 schrieb john bowers:
> Is this a routing problem or am I misusing the 
> Masquerade function? when Any help would greatly be appreciated as I don't 
> know where else to ask
> iptables --policy OUTPUT DROP
> iptables -A OUTPUT -o lo -j ACCEPT
> iptables -A OUTPUT -o eth0 \
> 	-m state --state ESTABLISHED,RELATED -j ACCEPT

You are missing an OUTPUT rule:
iptables -A OUTPUT -o eth0 -m state --state NEW -j ACCEPT

Cheers,

Ralf
-- 
Ralf Spenneberg
RHCE, RHCX

Book: VPN mit Linux
Book: Intrusion Detection für Linux Server   http://www.spenneberg.com
IPsec-Howto				     http://www.ipsec-howto.org
Honeynet Project Mirror:                     http://honeynet.spenneberg.org


^ permalink raw reply

* Re: Fwd: Re: Working nforce2, was Re: Fixes for nforce2 hard lockup, apic, io-apic, udma133 covered
From: Maciej W. Rozycki @ 2003-12-15 13:11 UTC (permalink / raw)
  To: Bob; +Cc: linux-kernel
In-Reply-To: <3FDAFF79.5080509@nishanet.com>

On Sat, 13 Dec 2003, Bob wrote:

> APIC error on CPU0: 02(02)
> what?? no crash though.
[...]
> bob@where cat /proc/interrupts
>            CPU0      
>   0:    3350153    IO-APIC-edge  timer
>   1:       5775    IO-APIC-edge  i8042
>   2:          0          XT-PIC  cascade
>   8:          1    IO-APIC-edge  rtc
>   9:          0   IO-APIC-level  acpi
>  12:       5385    IO-APIC-edge  i8042
>  14:         10    IO-APIC-edge  ide0
>  15:         10    IO-APIC-edge  ide1
>  16:    1717957   IO-APIC-level  ide2, ide3, eth0
>  19:     472929   IO-APIC-level  ide4, ide5
>  21:          0   IO-APIC-level  NVidia nForce2
> NMI:        822
> LOC:    3350073
> ERR:         35
> MIS:      15818

 It looks like the infamous APIC delivery bug -- the "MIS" counter shows
how many level-triggered interrupts has been erronously delivered as
edge-triggered ones.  No wonder the system shows instability -- you have 
noise problems at the APIC bus.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +

^ permalink raw reply

* Re: Catching NForce2 lockup with NMI watchdog
From: Maciej W. Rozycki @ 2003-12-15 13:13 UTC (permalink / raw)
  To: George Anzinger; +Cc: linux-kernel
In-Reply-To: <3FDA40DA.20409@mvista.com>

On Fri, 12 Dec 2003, George Anzinger wrote:

> Having had cause to try and figure out all this, I vote for the following being 
> included in the source somewhere...

 Hmm, you could have simply asked... ;-)  Anyway, an inclusion is doable,
I guess.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +

^ permalink raw reply


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.