All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Lockless page cache test results
From: Nick Piggin @ 2006-04-30 11:20 UTC (permalink / raw)
  To: David Chinner
  Cc: Christoph Lameter, Jens Axboe, Andrew Morton, linux-kernel,
	npiggin, linux-mm
In-Reply-To: <44548834.5050204@yahoo.com.au>

Nick Piggin wrote:

> As well as lockless pagecache, I think we can batch tree_lock operations
> in readahead. Would be interesting to see how much this patch helps.

Btw. the patch introduces multiple locked pages in pagecache from a single
thread, however there should be no new deadlocks or lock orderings
introduced. They are always aquired because they are new pages, so will all
be released. Visibility from other threads is no different to the case
where multiple pages locked by multiple threads.

-- 
SUSE Labs, Novell Inc.
Send instant messages to your online friends http://au.messenger.yahoo.com 

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply

* [Bluez-users] bluetooth keyboard connects, but does not work
From: Philipp Glaser @ 2006-04-30 11:12 UTC (permalink / raw)
  To: bluez-users

i am using ubuntu breezy, with ms intelli mouse explorer and the
according bt usb dongle.
i would like to use an HP iPAQ Bluetooth Foldable Keyboard (because it
is so handy) and ran into the following problem:

i can connect to the keyboard and request the link quality, info, or
whatever. what i cannot is to type something using my keyboard.

i was also using sdptool search HID, and got no output, but when using
sdptool search SP i got:

Searching for SP on <bt-addr> ...
Service Name: SPP slave
Service RecHandle: 0x10000
Service Class ID List:
  "Serial Port" (0x1101)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 1
Language Base Attr List:
  code_ISO639: 0x656e
  encoding:    0x6a
  base_offset: 0x100

also when using kbluetoothd i just see, that my keyboard comes up with SPP.

i would like to know now, what i could do, to use keyboard as a
secondary keyboard for my computer.

thanks for your suggestions

philipp


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply

* Re: Lockless page cache test results
From: Nick Piggin @ 2006-04-30  9:49 UTC (permalink / raw)
  To: David Chinner
  Cc: Christoph Lameter, Jens Axboe, Andrew Morton, linux-kernel,
	npiggin, linux-mm
In-Reply-To: <20060428140146.GA4657648@melbourne.sgi.com>

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

Hi David,

Forgive my selective quoting...

David Chinner wrote:
> Take a large file - say Size = 5x RAM or so - and then start
> N threads runnnning at offset (n / Size) where n = the thread
> number. They each read (Size / N) and so typically don't overlap. 
> 
> Throughput with increasing numbers of threads on a 24p altix
> on an XFS filesystem on 2.6.15-rc5 looks like:
> 
> Loads      tput
> -----   -------
>   1      789.59
>   2     1191.56
>   4     1724.63
>   8     1213.63
>   16    1057.03
>   32     744.73
> 
> Basically,  we hit a scaling limitation at b/t 4 and 8 threads. This was
> consistent across I/O sizes from 4KB to 4MB. I took a simple 30s PC sample
> profile:

> Percent  Routine
> --------------------------
>   63.62  _write_lock_irqsave
>   15.66  _read_unlock_irq

> So read_unlock_irq looks to be triggered by the mapping->tree_lock.
> 
> I think that the write_lock_irqsave() contention is from memory
> reclaim (shrink_list()->try_to_release_page()-> ->releasepage()->
> xfs_vm_releasepage()-> try_to_free_buffers()->clear_page_dirty()->
> test_clear_page_dirty()-> write_lock_irqsave(&mapping->tree_lock...))
> because page cache memory was full of this one file and demand is
> causing them to be constantly recycled.

I'd say you're right.

tree_lock contention will be coming from a number of sources. reclaim,
as you say, will be a big one. mpage_readpages (from readahead) will
be another.

Then the read lock in find_get_page in generic_mapping_read will start
contending heavily on the writers and not get much concurrency.

I'm sure lockless (read-side) pagecache will help... not only will it
eliminate read_lock costs, but the reduced read contention should also
decrease write_lock contention and bouncing.

As well as lockless pagecache, I think we can batch tree_lock operations
in readahead. Would be interesting to see how much this patch helps.

-- 
SUSE Labs, Novell Inc.

[-- Attachment #2: mm-batch-ra-pagecache-add.patch --]
[-- Type: text/plain, Size: 6816 bytes --]

Index: linux-2.6/fs/mpage.c
===================================================================
--- linux-2.6.orig/fs/mpage.c	2006-04-30 19:19:14.000000000 +1000
+++ linux-2.6/fs/mpage.c	2006-04-30 19:23:08.000000000 +1000
@@ -26,6 +26,7 @@
 #include <linux/writeback.h>
 #include <linux/backing-dev.h>
 #include <linux/pagevec.h>
+#include <linux/swap.h>
 
 /*
  * I/O completion handler for multipage BIOs.
@@ -389,31 +390,57 @@
 	struct bio *bio = NULL;
 	unsigned page_idx;
 	sector_t last_block_in_bio = 0;
-	struct pagevec lru_pvec;
+	struct pagevec pvec;
 	struct buffer_head map_bh;
 	unsigned long first_logical_block = 0;
 
 	clear_buffer_mapped(&map_bh);
-	pagevec_init(&lru_pvec, 0);
+	pagevec_init(&pvec, 0);
 	for (page_idx = 0; page_idx < nr_pages; page_idx++) {
 		struct page *page = list_entry(pages->prev, struct page, lru);
 
 		prefetchw(&page->flags);
 		list_del(&page->lru);
-		if (!add_to_page_cache(page, mapping,
-					page->index, GFP_KERNEL)) {
-			bio = do_mpage_readpage(bio, page,
-					nr_pages - page_idx,
-					&last_block_in_bio, &map_bh,
-					&first_logical_block,
-					get_block);
-			if (!pagevec_add(&lru_pvec, page))
-				__pagevec_lru_add(&lru_pvec);
-		} else {
-			page_cache_release(page);
+
+		if (!pagevec_add(&pvec, page) || page_idx == nr_pages-1) {
+			int i = 0, in_cache;
+
+			if (radix_tree_preload(GFP_KERNEL))
+				goto pagevec_error;
+
+			write_lock_irq(&mapping->tree_lock);
+			for (; i < pagevec_count(&pvec); i++) {
+				struct page *page = pvec.pages[i];
+				unsigned long offset = page->index;
+
+				if (__add_to_page_cache(page, mapping, offset))
+					break; /* error */
+			}
+			write_unlock_irq(&mapping->tree_lock);
+			radix_tree_preload_end();
+
+			in_cache = i;
+			for (i = 0; i < in_cache; i++) {
+				struct page *page = pvec.pages[i];
+
+				bio = do_mpage_readpage(bio, page,
+						nr_pages - page_idx,
+						&last_block_in_bio, &map_bh,
+						&first_logical_block,
+						get_block);
+				lru_cache_add(page);
+			}
+
+pagevec_error:
+			for (; i < pagevec_count(&pvec); i++) {
+				struct page *page = pvec.pages[i];
+				page_cache_release(page);
+			}
+
+			pagevec_reinit(&pvec);
 		}
 	}
-	pagevec_lru_add(&lru_pvec);
+
 	BUG_ON(!list_empty(pages));
 	if (bio)
 		mpage_bio_submit(READ, bio);
Index: linux-2.6/mm/filemap.c
===================================================================
--- linux-2.6.orig/mm/filemap.c	2006-04-30 19:19:14.000000000 +1000
+++ linux-2.6/mm/filemap.c	2006-04-30 19:20:01.000000000 +1000
@@ -394,6 +394,21 @@
 	return err;
 }
 
+int __add_to_page_cache(struct page *page, struct address_space *mapping,
+		pgoff_t offset)
+{
+	int error = radix_tree_insert(&mapping->page_tree, offset, page);
+	if (!error) {
+		page_cache_get(page);
+		SetPageLocked(page);
+		page->mapping = mapping;
+		page->index = offset;
+		mapping->nrpages++;
+		pagecache_acct(1);
+	}
+	return error;
+}
+
 /*
  * This function is used to add newly allocated pagecache pages:
  * the page is new, so we can just run SetPageLocked() against it.
@@ -407,19 +422,10 @@
 	int error = radix_tree_preload(gfp_mask & ~__GFP_HIGHMEM);
 
 	if (error == 0) {
-		write_lock_irq(&mapping->tree_lock);
-		error = radix_tree_insert(&mapping->page_tree, offset, page);
-		if (!error) {
-			page_cache_get(page);
-			SetPageLocked(page);
-			page->mapping = mapping;
-			page->index = offset;
-			mapping->nrpages++;
-			pagecache_acct(1);
-		}
-		write_unlock_irq(&mapping->tree_lock);
+		error = __add_to_page_cache(page, mapping, offset);
 		radix_tree_preload_end();
 	}
+
 	return error;
 }
 
Index: linux-2.6/mm/readahead.c
===================================================================
--- linux-2.6.orig/mm/readahead.c	2006-04-30 19:19:14.000000000 +1000
+++ linux-2.6/mm/readahead.c	2006-04-30 19:23:19.000000000 +1000
@@ -14,6 +14,7 @@
 #include <linux/blkdev.h>
 #include <linux/backing-dev.h>
 #include <linux/pagevec.h>
+#include <linux/swap.h>
 
 void default_unplug_io_fn(struct backing_dev_info *bdi, struct page *page)
 {
@@ -164,37 +165,60 @@
 
 EXPORT_SYMBOL(read_cache_pages);
 
-static int read_pages(struct address_space *mapping, struct file *filp,
+static void __pagevec_read_pages(struct file *filp,
+		struct address_space *mapping, struct pagevec *pvec)
+{
+	int i = 0, in_cache;
+
+	if (radix_tree_preload(GFP_KERNEL))
+		goto out_error;
+
+	write_lock_irq(&mapping->tree_lock);
+	for (; i < pagevec_count(pvec); i++) {
+		struct page *page = pvec->pages[i];
+		unsigned long offset = page->index;
+
+		if (__add_to_page_cache(page, mapping, offset))
+			break; /* error */
+	}
+	write_unlock_irq(&mapping->tree_lock);
+	radix_tree_preload_end();
+
+	in_cache = i;
+	for (i = 0; i < in_cache; i++) {
+		struct page *page = pvec->pages[i];
+		mapping->a_ops->readpage(filp, page);
+		lru_cache_add(page);
+	}
+
+out_error:
+	for (; i < pagevec_count(pvec); i++) {
+		struct page *page = pvec->pages[i];
+		page_cache_release(page);
+	}
+
+	pagevec_reinit(pvec);
+}
+
+static void read_pages(struct address_space *mapping, struct file *filp,
 		struct list_head *pages, unsigned nr_pages)
 {
-	unsigned page_idx;
-	struct pagevec lru_pvec;
-	int ret;
+	unsigned i;
+	struct pagevec pvec;
 
 	if (mapping->a_ops->readpages) {
-		ret = mapping->a_ops->readpages(filp, mapping, pages, nr_pages);
-		goto out;
+		mapping->a_ops->readpages(filp, mapping, pages, nr_pages);
+		return;
 	}
 
-	pagevec_init(&lru_pvec, 0);
-	for (page_idx = 0; page_idx < nr_pages; page_idx++) {
+	pagevec_init(&pvec, 0);
+	for (i = 0; i < nr_pages; i++) {
 		struct page *page = list_to_page(pages);
 		list_del(&page->lru);
-		if (!add_to_page_cache(page, mapping,
-					page->index, GFP_KERNEL)) {
-			ret = mapping->a_ops->readpage(filp, page);
-			if (ret != AOP_TRUNCATED_PAGE) {
-				if (!pagevec_add(&lru_pvec, page))
-					__pagevec_lru_add(&lru_pvec);
-				continue;
-			} /* else fall through to release */
-		}
-		page_cache_release(page);
+
+		if (!pagevec_add(&pvec, page) || i == nr_pages-1)
+			__pagevec_read_pages(filp, mapping, &pvec);
 	}
-	pagevec_lru_add(&lru_pvec);
-	ret = 0;
-out:
-	return ret;
 }
 
 /*
Index: linux-2.6/include/linux/pagemap.h
===================================================================
--- linux-2.6.orig/include/linux/pagemap.h	2006-04-30 19:19:14.000000000 +1000
+++ linux-2.6/include/linux/pagemap.h	2006-04-30 19:20:01.000000000 +1000
@@ -97,6 +97,8 @@
 extern int read_cache_pages(struct address_space *mapping,
 		struct list_head *pages, filler_t *filler, void *data);
 
+int __add_to_page_cache(struct page *page, struct address_space *mapping,
+				unsigned long index);
 int add_to_page_cache(struct page *page, struct address_space *mapping,
 				unsigned long index, gfp_t gfp_mask);
 int add_to_page_cache_lru(struct page *page, struct address_space *mapping,

^ permalink raw reply

* Re: another kconfig target for building monolithic kernel (for security) ?
From: Nix @ 2006-04-30 10:57 UTC (permalink / raw)
  To: Arjan van de Ven; +Cc: Dave Jones, devzero, linux-kernel
In-Reply-To: <1146345747.3125.14.camel@laptopd505.fenrus.org>

On 29 Apr 2006, Arjan van de Ven prattled cheerily:
> On Sat, 2006-04-29 at 12:43 -0400, Dave Jones wrote:
>> On Sat, Apr 29, 2006 at 03:03:55PM +0200, devzero@web.de wrote:
>> 
>>  > i want to harden a linux system (dedicated root server on the internet) by recompiling the kernel without support for lkm (to prevent installation of lkm based rootkits etc)
>> 
>> Loading modules via /dev/kmem is trivial thanks to a bunch of tutorials and
>> examples on the web, so this alone doesn't make life that much more difficult for attackers.
> 
> /dev/kmem should be a config option too though

Yeah, but in practice this should work (somewhat old patch, should still
apply):

diff -durN 2.6.14-seal-orig/include/linux/capability.h 2.6.14-seal/include/linux/capability.h
--- 2.6.14-seal-orig/include/linux/capability.h	2005-10-29 15:15:00.000000000 +0100
+++ 2.6.14-seal/include/linux/capability.h	2005-10-29 15:25:48.000000000 +0100
@@ -311,7 +311,7 @@
 
 #define CAP_EMPTY_SET       to_cap_t(0)
 #define CAP_FULL_SET        to_cap_t(~0)
-#define CAP_INIT_EFF_SET    to_cap_t(~0 & ~CAP_TO_MASK(CAP_SETPCAP))
+#define CAP_INIT_EFF_SET    to_cap_t(~0 & ~CAP_TO_MASK(CAP_SETPCAP) & ~CAP_TO_MASK(CAP_SYS_RAWIO))
 #define CAP_INIT_INH_SET    to_cap_t(0)
 
 #define CAP_TO_MASK(x) (1 << (x))

> (and /dev/mem should get the filter patch that fedora has ;-) 

Agreed.

-- 
`On a scale of 1-10, X's "brokenness rating" is 1.1, but that's only
 because bringing Windows into the picture rescaled "brokenness" by
 a factor of 10.' --- Peter da Silva

^ permalink raw reply

* [ALSA - driver 0002086]: Module fails to load
From: bugtrack @ 2006-04-30 10:53 UTC (permalink / raw)
  To: alsa-devel


The following issue has been SUBMITTED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2086> 
======================================================================
Reported By:                psgood
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   2086
Category:                   PCI - cs46xx
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             
======================================================================
Date Submitted:             04-30-2006 12:53 CEST
Last Modified:              04-30-2006 12:53 CEST
======================================================================
Summary:                    Module fails to load
Description: 
Have tried this with various kernels now from 2.6.15 to .17-rc3.

The module compiles fine, installs fine, even comes up in lsmod, but I get
this error on module insertion

ERROR: snd-cs46xx: never read ISV3 & ISV4 from AC'97
    Try reloading the ALSA driver, if you find something
    broken or not working on your soundcard upon
    this message please report to alsa-devel@lists.sourceforge.net

Soundcard is a Gametheater XP 5.1. The last kernel I had on here was
2.6.13 and it worked fine under that without this error. Have tried with
kernel drivers, manual download of drivers, with and without the debian
standard alsa tools. The NEW_DSP code is also enabled in all instances.

I have also tried with and without udev installed, to see if that was
causing an issue.

This also halts my intel8x0 card from working as well. Whatever is causing
it virtually causes all the alsactl stuff to die.

Output of lsmod:
snd_cs46xx             78024  0
snd_intel8x0           31772  0
snd_rawmidi            24608  1 snd_cs46xx
snd_seq_device          8972  1 snd_rawmidi
snd_ac97_codec         85024  2 snd_cs46xx,snd_intel8x0
snd_ac97_bus            3328  1 snd_ac97_codec
snd_pcm                78340  3 snd_cs46xx,snd_intel8x0,snd_ac97_codec
snd_timer              22916  1 snd_pcm
snd                    52192  7
snd_cs46xx,snd_intel8x0,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm,snd_timer
snd_page_alloc         10504  3 snd_cs46xx,snd_intel8x0,snd_pcm
soundcore              10848  1 snd

Output of /proc/asound/cards

pontius:/etc/modprobe.d# cat /proc/asound/cards
--- no soundcards ---



======================================================================

Issue History
Date Modified  Username       Field                    Change              
======================================================================
04-30-06 12:53 psgood         New Issue                                    
======================================================================




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

^ permalink raw reply

* Re: IO randomly blocked for >1 minute while disk writes still in 2.6.16.1 + 2.6.16-reiser4-1
From: rvalles @ 2006-04-30 10:49 UTC (permalink / raw)
  To: reiserfs-list
In-Reply-To: <20060331022359.GA14664@rvalles.homedns.org.>

Using 2.6.16.11 with reiser4 for 2.6.16-2, things are still very bad.

-- 
- Do you study theories? - Oh yes! Theories are fun. - How do you use them? - When I must act, theories are too slow. To act, I must know.

^ permalink raw reply

* JOB OPENINGS
From: Sherman Spints @ 2006-04-30 10:46 UTC (permalink / raw)


SHERMAN SPINTS ARTIFICIAL AND NATURAL ARTS .
158 rue Julian Grimau Bat C1,
94400 Vitry sur seine
TEL : (33) 01 46 82 00 00
FAX : (33) 01 46 82 14 00
http://kwuakegold.esmartbuyer.com

My name is Mr. Sherman Spints I am an Artist and a consultant. I live in FRANCE, with my three kids, two cats, one dog and the love of my life i.e. my wife. It is definitely a full house and I have been doing Artworks since I was young, I also have been in the business of precious stone for a longtime and earned enough to have my personal GOLD mine. That made me had about 22 years experience in the profession. I have a major in Art in high school and took a few College Art Courses. Most of my works are done in either pencil or airbrush mixed with color pencils, which I have recently added to make my work more presentable to world.
I design and create artwork on the computer too. I have been selling my artworks for the past 6 years and have had my work featured on trading cards, prints, dailies, magazines and others. I have sold my artworks, sapphires gold and gold dust in galleries and to private collectors from all over the world. I am always facing serious difficulties when it comes to selling my art works to Americans and British’s and people in some other countries of the world, they are always offering to pay with a US MONEY ORDER or CHEQUE and Other Forms of Negotiable Instruments, which is difficult to be cashed here in Europe.
I am looking for a representative in the STATE or UK and other countries of the World who will be working for me as a per time worker and I will be willing to pay the person 15% for every transaction, which wouldn’t affect your present state of work. I mean someone who would help me receive payments from my customers in the STATE or UK and Other Countries of the world. I need a good person who is responsible, reliable and trustworthy. Because the cost of coming to the state and getting payments is very expensive for me and I am working on setting up a branch in the STATE and UK, so for now I need a representative in the United states and UK who will be handling the payment aspect for me.
These payments are either going to be coming in form of a MONEY ORDER, TRAVLLERS CHECKS, PERSONAL CHECK or BUSINESS CHECKS. This payments will be coming from my clients to you and your name and address will be effected on any of the negotiable instruments my clients are paying you with ok. So all you need to do is to cash the PAYMENTS, deduct your said percentage and send the balance of the money back to us through Western Union Money Transfer or Money Gram to any place I will have to instruct you to do that. But the problem I have is Trust and Honesty, but I have my way of getting anyone that gets away with our money, I have contacted the FEDERAL BUREAU OF INVESTIGATIONS (FBI) branch in Washington and I've been given an assurace to get that person tracked down before the next 48hours.  Once you have cashed the payment there, your meant to deduct your15% and send the balance to me via Western Union Money Transfer or Money Gram Money Transfer, all transfer fees should be deducted from the money. If you are interested, please get back to me as soon as possible. Thanks
Regards,

Mr. Sherman Spints,
http://kwuakegold.esmartbuyer.com

________________________________________________________________________
SERVIZIO VOICE: TELEFONA e INVIA SMS dal tuo computer a tariffe vantaggiose! 
Scopri come telefonare e videochiamare gratis da pc a pc.
http://voice.repubblica.it



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

^ permalink raw reply

* JOB OPENINGS
From: Sherman Spints @ 2006-04-30 10:45 UTC (permalink / raw)


SHERMAN SPINTS ARTIFICIAL AND NATURAL ARTS .
158 rue Julian Grimau Bat C1,
94400 Vitry sur seine
TEL : (33) 01 46 82 00 00
FAX : (33) 01 46 82 14 00
http://kwuakegold.esmartbuyer.com

My name is Mr. Sherman Spints I am an Artist and a consultant. I live in FRANCE, with my three kids, two cats, one dog and the love of my life i.e. my wife. It is definitely a full house and I have been doing Artworks since I was young, I also have been in the business of precious stone for a longtime and earned enough to have my personal GOLD mine. That made me had about 22 years experience in the profession. I have a major in Art in high school and took a few College Art Courses. Most of my works are done in either pencil or airbrush mixed with color pencils, which I have recently added to make my work more presentable to world.
I design and create artwork on the computer too. I have been selling my artworks for the past 6 years and have had my work featured on trading cards, prints, dailies, magazines and others. I have sold my artworks, sapphires gold and gold dust in galleries and to private collectors from all over the world. I am always facing serious difficulties when it comes to selling my art works to Americans and British’s and people in some other countries of the world, they are always offering to pay with a US MONEY ORDER or CHEQUE and Other Forms of Negotiable Instruments, which is difficult to be cashed here in Europe.
I am looking for a representative in the STATE or UK and other countries of the World who will be working for me as a per time worker and I will be willing to pay the person 15% for every transaction, which wouldn’t affect your present state of work. I mean someone who would help me receive payments from my customers in the STATE or UK and Other Countries of the world. I need a good person who is responsible, reliable and trustworthy. Because the cost of coming to the state and getting payments is very expensive for me and I am working on setting up a branch in the STATE and UK, so for now I need a representative in the United states and UK who will be handling the payment aspect for me.
These payments are either going to be coming in form of a MONEY ORDER, TRAVLLERS CHECKS, PERSONAL CHECK or BUSINESS CHECKS. This payments will be coming from my clients to you and your name and address will be effected on any of the negotiable instruments my clients are paying you with ok. So all you need to do is to cash the PAYMENTS, deduct your said percentage and send the balance of the money back to us through Western Union Money Transfer or Money Gram to any place I will have to instruct you to do that. But the problem I have is Trust and Honesty, but I have my way of getting anyone that gets away with our money, I have contacted the FEDERAL BUREAU OF INVESTIGATIONS (FBI) branch in Washington and I've been given an assurace to get that person tracked down before the next 48hours.  Once you have cashed the payment there, your meant to deduct your15% and send the balance to me via Western Union Money Transfer or Money Gram Money Transfer, all transfer fees should be deducted from the money. If you are interested, please get back to me as soon as possible. Thanks
Regards,

Mr. Sherman Spints,
http://kwuakegold.esmartbuyer.com

________________________________________________________________________
SERVIZIO VOICE: TELEFONA e INVIA SMS dal tuo computer a tariffe vantaggiose! 
Scopri come telefonare e videochiamare gratis da pc a pc.
http://voice.repubblica.it



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

^ permalink raw reply

* JOB OPENINGS
From: Sherman Spints @ 2006-04-30 10:46 UTC (permalink / raw)


SHERMAN SPINTS ARTIFICIAL AND NATURAL ARTS .
158 rue Julian Grimau Bat C1,
94400 Vitry sur seine
TEL : (33) 01 46 82 00 00
FAX : (33) 01 46 82 14 00
http://kwuakegold.esmartbuyer.com

My name is Mr. Sherman Spints I am an Artist and a consultant. I live in FRANCE, with my three kids, two cats, one dog and the love of my life i.e. my wife. It is definitely a full house and I have been doing Artworks since I was young, I also have been in the business of precious stone for a longtime and earned enough to have my personal GOLD mine. That made me had about 22 years experience in the profession. I have a major in Art in high school and took a few College Art Courses. Most of my works are done in either pencil or airbrush mixed with color pencils, which I have recently added to make my work more presentable to world.
I design and create artwork on the computer too. I have been selling my artworks for the past 6 years and have had my work featured on trading cards, prints, dailies, magazines and others. I have sold my artworks, sapphires gold and gold dust in galleries and to private collectors from all over the world. I am always facing serious difficulties when it comes to selling my art works to Americans and British’s and people in some other countries of the world, they are always offering to pay with a US MONEY ORDER or CHEQUE and Other Forms of Negotiable Instruments, which is difficult to be cashed here in Europe.
I am looking for a representative in the STATE or UK and other countries of the World who will be working for me as a per time worker and I will be willing to pay the person 15% for every transaction, which wouldn’t affect your present state of work. I mean someone who would help me receive payments from my customers in the STATE or UK and Other Countries of the world. I need a good person who is responsible, reliable and trustworthy. Because the cost of coming to the state and getting payments is very expensive for me and I am working on setting up a branch in the STATE and UK, so for now I need a representative in the United states and UK who will be handling the payment aspect for me.
These payments are either going to be coming in form of a MONEY ORDER, TRAVLLERS CHECKS, PERSONAL CHECK or BUSINESS CHECKS. This payments will be coming from my clients to you and your name and address will be effected on any of the negotiable instruments my clients are paying you with ok. So all you need to do is to cash the PAYMENTS, deduct your said percentage and send the balance of the money back to us through Western Union Money Transfer or Money Gram to any place I will have to instruct you to do that. But the problem I have is Trust and Honesty, but I have my way of getting anyone that gets away with our money, I have contacted the FEDERAL BUREAU OF INVESTIGATIONS (FBI) branch in Washington and I've been given an assurace to get that person tracked down before the next 48hours.  Once you have cashed the payment there, your meant to deduct your15% and send the balance to me via Western Union Money Transfer or Money Gram Money Transfer, all transfer fees should be deducted from the money. If you are interested, please get back to me as soon as possible. Thanks
Regards,

Mr. Sherman Spints,
http://kwuakegold.esmartbuyer.com

________________________________________________________________________
SERVIZIO VOICE: TELEFONA e INVIA SMS dal tuo computer a tariffe vantaggiose! 
Scopri come telefonare e videochiamare gratis da pc a pc.
http://voice.repubblica.it



-
To unsubscribe from this list: send the line "unsubscribe linux-raid" 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

* JOB OPENINGS
From: Sherman Spints @ 2006-04-30 10:45 UTC (permalink / raw)


SHERMAN SPINTS ARTIFICIAL AND NATURAL ARTS .
158 rue Julian Grimau Bat C1,
94400 Vitry sur seine
TEL : (33) 01 46 82 00 00
FAX : (33) 01 46 82 14 00
http://kwuakegold.esmartbuyer.com

My name is Mr. Sherman Spints I am an Artist and a consultant. I live in FRANCE, with my three kids, two cats, one dog and the love of my life i.e. my wife. It is definitely a full house and I have been doing Artworks since I was young, I also have been in the business of precious stone for a longtime and earned enough to have my personal GOLD mine. That made me had about 22 years experience in the profession. I have a major in Art in high school and took a few College Art Courses. Most of my works are done in either pencil or airbrush mixed with color pencils, which I have recently added to make my work more presentable to world.
I design and create artwork on the computer too. I have been selling my artworks for the past 6 years and have had my work featured on trading cards, prints, dailies, magazines and others. I have sold my artworks, sapphires gold and gold dust in galleries and to private collectors from all over the world. I am always facing serious difficulties when it comes to selling my art works to Americans and British’s and people in some other countries of the world, they are always offering to pay with a US MONEY ORDER or CHEQUE and Other Forms of Negotiable Instruments, which is difficult to be cashed here in Europe.
I am looking for a representative in the STATE or UK and other countries of the World who will be working for me as a per time worker and I will be willing to pay the person 15% for every transaction, which wouldn’t affect your present state of work. I mean someone who would help me receive payments from my customers in the STATE or UK and Other Countries of the world. I need a good person who is responsible, reliable and trustworthy. Because the cost of coming to the state and getting payments is very expensive for me and I am working on setting up a branch in the STATE and UK, so for now I need a representative in the United states and UK who will be handling the payment aspect for me.
These payments are either going to be coming in form of a MONEY ORDER, TRAVLLERS CHECKS, PERSONAL CHECK or BUSINESS CHECKS. This payments will be coming from my clients to you and your name and address will be effected on any of the negotiable instruments my clients are paying you with ok. So all you need to do is to cash the PAYMENTS, deduct your said percentage and send the balance of the money back to us through Western Union Money Transfer or Money Gram to any place I will have to instruct you to do that. But the problem I have is Trust and Honesty, but I have my way of getting anyone that gets away with our money, I have contacted the FEDERAL BUREAU OF INVESTIGATIONS (FBI) branch in Washington and I've been given an assurace to get that person tracked down before the next 48hours.  Once you have cashed the payment there, your meant to deduct your15% and send the balance to me via Western Union Money Transfer or Money Gram Money Transfer, all transfer fees should be deducted from the money. If you are interested, please get back to me as soon as possible. Thanks
Regards,

Mr. Sherman Spints,
http://kwuakegold.esmartbuyer.com

________________________________________________________________________
SERVIZIO VOICE: TELEFONA e INVIA SMS dal tuo computer a tariffe vantaggiose! 
Scopri come telefonare e videochiamare gratis da pc a pc.
http://voice.repubblica.it



-
To unsubscribe from this list: send the line "unsubscribe linux-raid" 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

* Re: Update: Patch-o-matic cleanup
From: Thomas Jarosch @ 2006-04-30 10:44 UTC (permalink / raw)
  To: netfilter-devel
In-Reply-To: <4433CA75.9040607@trash.net>

Hi Patrick,

> Patrick McHardy wrote:
> How to set up a repository:
>
> The repository must be accessible in a way supported by curl (HTTP or
> FTP for example). The name of each patchlet is listed in a file named
> "index". Each patchlet must be contained in a .tar.gz file, which
> contains a directory named like the patchlet itself. The directories
> contents are similar to those in patchlets/ today, but the Repository
> specified in the info file must be "external".

I've set up a repository for ACCOUNT here:

http://www.intra2net.com/de/produkte/opensource/ipt_account/

Hope everything is ok.

The tarball is currently named ACCOUNT.tar.gz.
Is there a way to add a version number to it?
Or is it safe to include some kind of "Changelog"
file in the distribution?

btw: "README.new_patches" doesn't know anything
about the "Repository: external" stuff yet.

Cheers,
Thomas

^ permalink raw reply

* Re: [Qemu-devel] [PATCH] VNC display support for QEMU
From: Johannes Schindelin @ 2006-04-30 10:43 UTC (permalink / raw)
  To: qemu-devel
In-Reply-To: <44543BF1.60304@codemonkey.ws>

Hi,

On Sat, 29 Apr 2006, Anthony Liguori wrote:

> I would have been more inclined to use LibVNCServer if it wasn't based 
> on threading.  I really wanted an asynchronous implementation of a VNC 
> server that didn't depend on threads.

AFAICT it does not. In vnc_refresh(), there is a call to rfbProcessEvents, 
which says to select() the socket(s) for 0 microseconds. Same thread.

Now, there is a facility in LibVNCServer to take advantage of pthreads, 
and in some applications it is actually better to run a background thread 
to handle all the VNC stuff. But it is not used in QEmu.

Ciao,
Dscho

^ permalink raw reply

* Re: led_class: storing a value can act but return -EINVAL
From: Pavel Machek @ 2006-04-30 10:02 UTC (permalink / raw)
  To: Johannes Berg; +Cc: Linux Kernel list, John Lenz, Richard Purdie
In-Reply-To: <1146310432.5019.45.camel@localhost>

Hi!

> When I store something into the brightness sysfs attribute of an LED, it
> will accept the value but return -EINVAL:
> 
> johannes:/sys/class/leds/pmu-front-led# echo 255 > brightness
> bash: echo: write error: Invalid argument
> 
> (yet the LED turns on)
> 
> This happens because the store callback doesn't consume all the input.

Well, I'd argue current behaviour is okay... can you strace it? It
should accept the number (return 3) then return -EINVAL.

> There are two possible ways to handle this:
> a) accept anything that begins with a valid number.
> b) reject anything that isn't *only* a number

c) accept anything that is number, ignore newlines.

a) is just way too ugly...
						Pavel

-- 
Thanks, Sharp!

^ permalink raw reply

* Re: More qgit defects
From: Marco Costalba @ 2006-04-30 10:13 UTC (permalink / raw)
  To: Pavel Roskin; +Cc: ydirson, git
In-Reply-To: <1146390144.13634.9.camel@dv>

On 4/30/06, Pavel Roskin <proski@gnu.org> wrote:
> On Sun, 2006-04-30 at 05:26 -0400, Pavel Roskin wrote:
> > No, something still feels wrong.  I think even the gurus of GUI cannot
> > decide what to do if many frames need to be on screen.  Do you know that
> > many graphic designers hate GIMP for the overuse of dockable toplevel
> > windows?  Krita prefers dockable frames.  Photoshop uses non-dockable
> > child windows, I believe.
> >
> > The difference for qgit is that is generally wants bigger windows.
> > Whether the revision tree or the patch, having more space allows the
> > frame to present a better picture to the users.
>
> Replying to myself, sorry.  How about tabs?
>
> One tab for the main view.  Basically what we have now.
>
> Then tabs for revisions.  We can have more than one revision open, with
> the comment and with the patch, and and with affected files.  They will
> have the GUI centered on the change made by the revision.  StGIT commits
> would have an editable comment.
>
> Then tabs for files.  Again, possibly more than one.  Each tab about a
> specific file.  The file history, annotations, maybe even an editor for
> the file.
>
> The idea was inspired by Azureus.
>

Throwing in the tabs is a *very* big change, but, just to discuss....I
agree on the note that in qgit we have three different approaches:
fixed frames (revisions, file tree, affected files), detachable frames
(patch) and separate windows (annotations).

This is a bit strange and could give an odd GUI feeling.

I like the tab idea because it's clear and simple and fixes the 'many
approaches' problem. What I would suggest is, at least at first step,
do not change the main view and have only three tabs:

Tab1: Main view with revisions, file tree (hide able), affected files.
Tab2: Patch view with patch stat and diffs
Tab3: File history + file content/annotation view

In other words just put the frames/windows as are now in browse able
tabs. In this way main view still gives a good amount of information
without requiring changing the tab and the tabs are reserved for 'big
space' needed infos only.


   Marco

^ permalink raw reply

* [lm-sensors] Address configuration for scx200_acb
From: Thomas Andrews @ 2006-04-30 10:12 UTC (permalink / raw)
  To: lm-sensors
In-Reply-To: <20060427234114.941c9657.khali@linux-fr.org>

Hi Jean,

On Sun, Apr 30, 2006 at 09:43:33AM +0200, Jean Delvare wrote:

[Jean Delvare]
> > > This is a propsal to make the scx200_acb driver's default base
> > > addresses configurable through Kconfig. What do you think?
> > > 
> > > Another possibility would be to detect them at runtime depending on
> > > some platform data. Sounds more complex, if possible at all.
> > > 
> > > Or we can stick to the current state (default addresses, can be
> > > overriden with module parameters).
> > > 
> > > What makes the current default addresses (0x820 and 0x840) more
> > > legitimate than what Alexander has (0x810 and 0x820)?
> 
[Thomas Andrews]
> > I've been wondering about this myself. I also use the wrap boards, and
> > I've found that the address can be automatically set using something
> > like this:
> > 
> > static void detect_acb_base_addresses(int *acb1, int* acb2)
> > {
> >     unsigned char h1 = 0;
> >     unsigned char l1 = 0;
> >     unsigned char h2 = 0;
> >     unsigned char l2 = 0;
> > 
> >     /* Select ACB1  (LDN 5) */
> >     outb(0x07,CFG_INDEX);
> >     outb(0x05,CFG_DATA);
> >     outb(0x60,CFG_INDEX);
> >     h1 = inb(CFG_DATA);
> >     outb(0x61,CFG_INDEX);
> >     l1 = inb(CFG_DATA);
> > 
> >     /* ACB2 (LDN 6) */
> >     outb(0x07,CFG_INDEX);
> >     outb(0x06,CFG_DATA);
> >     outb(0x60,CFG_INDEX);
> >     h2 = inb(CFG_DATA);
> >     outb(0x61,CFG_INDEX);
> >     l2 = inb(CFG_DATA);
> >     *acb1 = (h1 << 8) | l1;
> >     *acb2 = (h2 << 8) | l2;    
> >     DEBUG(1,printk("ACB1 at %x, ACB2 at %x",*acb1,*acb2));
> > }
> > 
> > Would this not work for the whole family ?
> 
[Jean Delvare]
> Looks like standard LPC/Super-IO register mapping. Are the SC1100 and
> SCx200 LPC chips? What are the values of CFG_INDEX and CFG_DATA in the
> code snippet above? I'd guess/hope 0x2e and 0x2f respectively (or 0x4e
> and 0x4f.)
> 
> I don't have much time to work on that myself, especially when I have
> no hardware to test this on, but if you or anyone else could prepare a
> patch implementing the idea above in the scx200_acb driver, so that
> other users can give it some testing, this would be great.

I don't actually know what "LPC/Super-IO" means, but the data-sheet for
the SC1100 seems to indicate that it is so:

    "The LPC interface of the Core Logic module is based on the Intel Low
    Pin Count (LPC) Interface specification, revision 1.0."

and also:

    "LPC SuperI/O Addressing. SuperI/O control addresses I/O Ports 2Eh-2Fh.
    See bit 16 for decode"

And as you suggested, there is another address pair that can be used:

    "LPC Alternate SuperI/O Addressing. Alternate SuperI/O control addresses
    4Eh-4Fh. See bit 16 for decode."

In the code snippet above, I used 0x2e & x2f. I don't know how you
determine which pair to use. I just tried the first one. Is there a
"standard" way to select it?

I will submit a patch once I have a better understanding.

Regards,
Thomas


^ permalink raw reply

* [ALSA - driver 0001851]: No support for C-Media CMI9761 chip
From: bugtrack @ 2006-04-30  9:59 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1851> 
======================================================================
Reported By:                duffymcdrew
Assigned To:                perex
======================================================================
Project:                    ALSA - driver
Issue ID:                   1851
Category:                   0_compilation problem_!!!
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     assigned
Distribution:               Ubuntu
Kernel Version:             2.6.12-10-386
======================================================================
Date Submitted:             02-17-2006 04:55 CET
Last Modified:              04-30-2006 11:59 CEST
======================================================================
Summary:                    No support for C-Media CMI9761 chip
Description: 
Recently installed Ubunut onto a new machine, and the sound is not working
at all.  I have an ASUS P4V8X-MX motherboard with an onboard VIA 8237 card
/ C-Media Electronics CMI9761 chip. Finally realized that ALSA soes not
support the CMI9761 chip.  Requesting a driver for this chipset.
======================================================================

----------------------------------------------------------------------
 nouguisa - 04-30-06 11:59 
----------------------------------------------------------------------
I encounter a similar problem with an ASUS A7N8X-XE board equiped with the
CMI9761A sound processor and Ubuntu dapper beta 2, Mandriva One beta 3 or
debian Sarge distributions.

Hardware : ASUS A7N8X-XE with Nforce2 MCP2-RAID, C-Media CMI9761A
Athlon XP 2000+, 2x256 Mb memory, ASUS A9250 graphic board, broadband
access.
Problem :
Installation of RealPlayer (file
realplay-10.0.7.785-linux-2.2-libc6-gcc32-i586)
When listening to the BBC, sound OK but :
1. sound master level has no effect on the sound level
2. Firefox reacts very slowly to mouse movements or keyboard actions

With ubuntu dapper :
/proc/asound/cards returns :
0 [CK8 ]: NFORCE - NVidia CK8
                     NVidia CK8 with CMI9761 at 0xff6ff000, irq 193

/proc/asound/oss/sndstat returns :
Sound Driver:3.8.1a-980706 (ALSA v1.0.10rc3 emulation code)
Kernel: Linux ubuntu 2.6.15-20-386 #1 PREEMPT Tue Apr 4 17:48:51 UTC 2006
i686
Config options: 0
Installed drivers:
Type 10: ALSA emulation
Card config:
NVidia CK8 with CMI9761 at 0xff6ff000, irq 193
Audio devices:
0: NVidia CK8 (DUPLEX)
Synth devices: NOT ENABLED IN CONFIG
Midi devices: NOT ENABLED IN CONFIG
Timers:
7: system timer
Mixers:
0: C-Media Electronics CMI9761

Sound loaded modules :
snd_intel8x0 33564 3
snd_ac97_codec 92704 1 snd_intel8x0
snd_ac97_bus 2304 1 snd_ac97_codec
snd_pcm_oss 53664 1
snd_mixer_oss 18688 2 snd_pcm_oss
snd_pcm 89736 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer 25220 1 snd_pcm
snd 55268 8
snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 10208 3 snd
snd_page_alloc 10632 2 snd_intel8x0,snd_pcm

Issue History
Date Modified  Username       Field                    Change              
======================================================================
02-17-06 04:55 duffymcdrew    New Issue                                    
02-17-06 04:55 duffymcdrew    Distribution              => Ubuntu          
02-17-06 04:55 duffymcdrew    Kernel Version            => 2.6.12-10-386   
04-30-06 11:59 nouguisa       Note Added: 0009546                          
======================================================================




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

^ permalink raw reply

* Re: Simple header cleanups
From: David Woodhouse @ 2006-04-30  9:59 UTC (permalink / raw)
  To: Peter Chubb; +Cc: Linus Torvalds, Adrian Bunk, akpm, linux-kernel
In-Reply-To: <17492.34204.844839.262357@wombat.chubb.wattle.id.au>

On Sun, 2006-04-30 at 19:38 +1000, Peter Chubb wrote:
> So now we need something new.

No we don't. We need only what we've already got. Our headers are
perfectly sufficient in principle -- we're already _relatively_ careful
not to pollute them with random kernel-private type and other stuff.
It's just that we need to be a little more competent at that, and that's
why we need the set of cleanups I've made and a tool to make life
easier. There's nothing particularly exciting to see here; there's no
need for any more fundamental change in the way things work.

Eliminating ifdefs and moving stuff into appropriate directories might
make it even easier still, if we do end up going that far. Certainly
it's the kind of cleanup which is _welcomed_ in C files, although
headers seem to be a touchy subject so I'm avoiding that question for
now.

But if we keep talking like this about crap like random userland
namespaces then I have a feeling Linus is just going to shut down and
not even take the normal, uncontentious cleanup patches which I was
careful to limit myself to because I didn't want to have wasted my time.

-- 
dwmw2


^ permalink raw reply

* bowling
From: Minna Contreras @ 2006-04-30  9:57 UTC (permalink / raw)
  To: alsa-devel


[-- Attachment #1.1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #1.2: Type: text/html, Size: 422 bytes --]

[-- Attachment #2: reader.gif --]
[-- Type: image/gif, Size: 40846 bytes --]

^ permalink raw reply

* Re: Login load balancing
From: Arnt Karlsen @ 2006-04-30  9:51 UTC (permalink / raw)
  To: Drew Leske; +Cc: netfilter
In-Reply-To: <445260BF.5010406@uvic.ca>

On Fri, 28 Apr 2006 11:36:47 -0700, Drew wrote in message 
<445260BF.5010406@uvic.ca>:

> Arnt Karlsen wrote:
> >> I'm not sure I understand, but you seem to be suggesting a way by
> >> which I could use a console window in X.  As a base case, I have to
> >> support somebody connecting with a vt100 and a 9600 baud modem. 
> >This > solution needs to be completely independent of X.
> > 
> > ..yup, and I was thinking of the various ttys, on which again you
> > offer a shell menu to choose from, instead of the usual shell
> > prompt, any tty (except mingetty or fgetty) should do this for you,
> > a few quick ideas: arnt@a45:~ $ apt-cache search tty |grep tty
> > [...]
> 
> Okay, so what you're talking about now has nothing to do with
> sdm-terminal,

..yes and no, it can remain as an alternative on the console login menu
and vice versa.

> and is just a script run when users log in 

..yup.

> to the director

..no need, just have each box fetch the menu text du jour from it.

>, which will
> give the user a menu and then shunt them off through ssh or some other
> means to one of the participating hosts.
> 
> I wouldn't bother with the menu, though, because that defeats the
> 'load-balacing' part of it (unless I put the latest load figures in
> the menu and let the user choose).
> 
> This solution requires login access to the director host.  Not
> necessarily a show-stopper, but it's a drawback.


-- 
..med vennlig hilsen = with Kind Regards from Arnt... ;o)
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.




^ permalink raw reply

* [ALSA - driver 0001934]: make problem
From: bugtrack @ 2006-04-30  9:48 UTC (permalink / raw)
  To: alsa-devel


A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1934> 
======================================================================
Reported By:                kvo
Assigned To:                perex
======================================================================
Project:                    ALSA - driver
Issue ID:                   1934
Category:                   0_compilation problem_!!!
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     assigned
Distribution:               RHEL4 Update 3
Kernel Version:             2.6.9-34.EL
======================================================================
Date Submitted:             03-17-2006 12:19 CET
Last Modified:              04-30-2006 11:48 CEST
======================================================================
Summary:                    make problem
Description: 
./configure works OK. running make give error during compilation: module
'include/asound.h' (line 210) has some 'typedef' that doesn't match with
(probably) OS include. As a result, compilation stops and driver can not
be produced.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0002042 Compile error : /usr/local/src/alsa/als...
======================================================================

----------------------------------------------------------------------
 mnemotronic - 04-30-06 06:04 
----------------------------------------------------------------------
<engage whiney rant>
I would really like to get a working sound card for my Linux system.  I
bought a specific card (Creative SB Live 24 bit) that was available (Ok,
CompUSA ... serves me right), and which is listed as "compatible" with RHL
E4 (https://hardware.redhat.com/hwcert/show.cgi?id=153338).  Where did I
go wrong?  Expecting the documentation to be correct?  Mis-interpreting
"compatible" with "supported"?  Ok.  My mistake.  Fourty lashes for the
idiot with the expectations.  Fine.  Please.  I just.  Want.  Sound.  I'll
buy another card if it'll do any good.  I'll wax your car.  I'll wash your
dog (and vice versa).  Anything.  Now, I haven't done C or C++ for 8
years, so patching the kernel is right out.  Why can't these pesky drivers
be written in XML, Perl, or SQL?

FYI
$ cat /proc/version
Linux version 2.6.9-34.ELsmp (buildcentos@build-i386) (gcc version 3.4.5
20051201 (Red Hat 3.4.5-2)) #1 SMP WedMar 8 00:27:03 CST 2006

----------------------------------------------------------------------
 Raymond - 04-30-06 11:48 
----------------------------------------------------------------------
For example, the prototype of kmalloc() has changed to:

    void *kmalloc(size_t size, unsigned int __nocast flags);

For normal compilation, this attribute expands to an empty string; it has
no effect. 

alsa-driver-1.0.11/include/adriver.h  ( Fedora Core 1 - Kernel 2.4 )

#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,12)
#include <linux/compiler.h>
...
#ifndef __nocast
#define __nocast
#endif
...
#endif


When the sparse tool is being used, however, the __nocast attribute
disables many of the implicit type conversions performed by the compiler.
In the kmalloc() case, sparse will complain whenever a signed integer
value is passed as the flags argument.


typedef int gfp_t;

in gpf.h

Issue History
Date Modified  Username       Field                    Change              
======================================================================
03-17-06 12:19 kvo            New Issue                                    
03-17-06 12:19 kvo            Distribution              => RHEL4 Update 3  
03-17-06 12:19 kvo            Kernel Version            => 2.6.9-34.EL     
03-17-06 12:25 tiwai          Note Added: 0008643                          
03-19-06 22:26 kvo            Note Added: 0008697                          
03-21-06 17:33 tiwai          Note Added: 0008749                          
03-25-06 20:47 kvo            File Added: config.log                       
03-25-06 22:19 kvo            Note Added: 0008952                          
04-09-06 18:47 kvo            File Added: info.zip                         
04-09-06 18:56 kvo            Note Added: 0009181                          
04-09-06 19:05 kvo            Issue Monitored: tiwai                       
04-09-06 19:05 kvo            Note Added: 0009182                          
04-10-06 16:46 tiwai          Note Added: 0009196                          
04-10-06 18:38 kvo            Note Added: 0009213                          
04-10-06 18:43 tiwai          Note Added: 0009214                          
04-20-06 15:30 tiwai          Relationship added       has duplicate 0002042
04-20-06 22:04 mnemotronic    Issue Monitored: mnemotronic                    
04-21-06 00:03 mnemotronic    Note Added: 0009402                          
04-21-06 05:39 Raymond        Note Added: 0009406                          
04-30-06 06:04 mnemotronic    Note Added: 0009544                          
04-30-06 11:48 Raymond        Note Added: 0009545                          
======================================================================




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

^ permalink raw reply

* Re: [PATCH] git builtin "push"
From: sean @ 2006-04-30  9:40 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: junkio, git
In-Reply-To: <Pine.LNX.4.64.0604292111570.9901@g5.osdl.org>

On Sat, 29 Apr 2006 21:22:49 -0700 (PDT)
Linus Torvalds <torvalds@osdl.org> wrote:

> Comments?  I wrote it so that it _should_ be fairly easy to re-use at 
> least the branches/remotes helper functions for a built-in "git fetch" as 
> well. But I didn't have the multi-URI issue with anything but pushing.


> +	if (strncmp(ref, "tags/", 5))
> +		return 0;
[...]
> +	for_each_ref(expand_one_ref);

How about a for_each_tag() function?


> +	int i, n = get_uri(repo, uri);
[...]
> +	n = get_uri(repo, uri);
> +	if (n <= 0)
> +		die("bad repository '%s'", repo);

get_uri() called twice.


The patch looks good and is easy to read, but wouldn't it be better
to require new c code to be thread safe and not leak memory?  Assuming
run-once-and-exit is making it difficult to push into a library.

Sean

builtin-push.c |   11 +++--------
refs.c         |    5 +++++
refs.h         |    1 +
3 files changed, 9 insertions(+), 8 deletions(-)

0e0e3cff71d65ac4cdc560ae143aded03acb4ceb
diff --git a/builtin-push.c b/builtin-push.c
index a0c1caa..0d74ed1 100644
--- a/builtin-push.c
+++ b/builtin-push.c
@@ -31,10 +31,6 @@ static int expand_one_ref(const char *re
 {
 	/* Ignore the "refs/" at the beginning of the refname */
 	ref += 5;
-
-	if (strncmp(ref, "tags/", 5))
-		return 0;
-
 	add_refspec(strdup(ref));
 	return 0;
 }
@@ -51,9 +47,8 @@ static void expand_refspecs(void)
 		 */
 		return;
 	}
-	if (!tags)
-		return;
-	for_each_ref(expand_one_ref);
+	if (tags)
+		for_each_tag(expand_one_ref);
 }
 
 static void set_refspecs(const char **refs, int nr)
@@ -156,7 +151,7 @@ static int get_uri(const char *repo, con
 static int do_push(const char *repo)
 {
 	const char *uri[MAX_URI];
-	int i, n = get_uri(repo, uri);
+	int i, n;
 	int remote;
 	const char **argv;
 	int argc;
diff --git a/refs.c b/refs.c
index 03398cc..c5a2dd0 100644
--- a/refs.c
+++ b/refs.c
@@ -178,6 +178,11 @@ int head_ref(int (*fn)(const char *path,
 	return 0;
 }
 
+int for_each_tag(int (*fn)(const char *path, const unsigned char *sha1))
+{
+	return do_for_each_ref("refs/tags", fn);
+}
+
 int for_each_ref(int (*fn)(const char *path, const unsigned char *sha1))
 {
 	return do_for_each_ref("refs", fn);
diff --git a/refs.h b/refs.h
index 2625596..b74cd4d 100644
--- a/refs.h
+++ b/refs.h
@@ -7,6 +7,7 @@ #define REFS_H
  */
 extern int head_ref(int (*fn)(const char *path, const unsigned char *sha1));
 extern int for_each_ref(int (*fn)(const char *path, const unsigned char *sha1));
+extern int for_each_tag(int (*fn)(const char *path, const unsigned char *sha1));
 
 /** Reads the refs file specified into sha1 **/
 extern int get_ref_sha1(const char *ref, unsigned char *sha1);
-- 
1.3.1.g9c203

^ permalink raw reply related

* Re: Simple header cleanups
From: Peter Chubb @ 2006-04-30  9:38 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Adrian Bunk, David Woodhouse, akpm, linux-kernel
In-Reply-To: <Pine.LNX.4.64.0604271439100.3701@g5.osdl.org>

>>>>> "Linus" == Linus Torvalds <torvalds@osdl.org> writes:

Linus> On Thu, 27 Apr 2006, Adrian Bunk wrote:
>>  A definition of the kernel <-> userspace ABI is required.


Linus> This is one reason why we shouldn't even _plan_ on having
Linus> header files that can just be _directly_ used by the C
Linus> libraries etc, even if it's just a "small" kernel ABI header.

I think I disagree with you here.  It should be possible to have Linux
kernel abi header files that are directly usable, and shared between
kernel and user space, precisely because they are _Linux_ kernel ABI
headers, not POSIX, not SUS, not XOPEN_SOURCE.  The consumers of the
header files shouldn't expect to be able necessarily to do 
       #include <stdio.h>
       $include <linux/kabi/xxx.h>
and have it work (although I think we should avoid breaking things if
it's easy to do so), because that's mixing interface definitions --
libc vs raw Linux.

Originally (back in edition 6 days) /usr/include/sys was precisely the
kind of thing that's being proposed, in that it contained system call
numbers, and the shapes of structures shared between user and kernel
space.  Over time, that directory became a compatibility layer for
POSIX-like systems, and has been implemented in terms of whatever the
OS provides.  So now we need something new.

-- 
Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au           ERTOS within National ICT Australia

^ permalink raw reply

* Re: World writable tarballs
From: Willy Tarreau @ 2006-04-30  9:37 UTC (permalink / raw)
  To: Heikki Orsila; +Cc: Alistair John Strachan, Mark Rosenstand, linux-kernel
In-Reply-To: <20060430091501.GA19566@zakalwe.fi>

On Sun, Apr 30, 2006 at 09:15:01AM +0000, Heikki Orsila wrote:
> On Sun, Apr 30, 2006 at 01:48:12AM +0100, Alistair John Strachan wrote:
> > There's no need to repeatedly discuss it.
> 
> I think there is. Sorry for wasting bandwidth.
> 
> It's a big security hole deliberately caused by the kernel people (files
> in the tar ball have og+w, so it's not problem in roots umask or tar).
> Real security needs _simplicity_ but current file modes require
> unnecessary _tricks_ for admins. There should be nothing against
> untarring files as root. In this case it makes sense too, because only
> the tar balls are crypto signed, not the individual files inside the tar
> ball, so root can conveniently just verify the crypto signature and
> untar the file without any race conditions or trusting other users. The
> only real alternative is to create an _unnecessary_ trusted user to do
> tar ball handling.
> 
> PS. this file permission bug almost bit me. People make errors and this
> one is potentially a big privilege escalation, because it potentially
> turns normal application bugs into root privileges.

Although I don't like finding world-writable files in tar archives, I
think you're exagerating a bit. First, you're not turning normal bugs
into root privileges, and second, you don't need to create a user just
for this, you just have to extract it in a directory that other users
cannot access (chmod o-x).

Also, you'll find several other software on the net with full rights,
so if this really is a concern to you, you'd better get used to this
with simple and reliable solutions (ntp comes to mind).

> Heikki Orsila                   Barbie's law:
> heikki.orsila@iki.fi            "Math is hard, let's go shopping!"
> http://www.iki.fi/shd

Regards,
Willy


^ permalink raw reply

* Re: [PATCH 3/3] Eleminate HZ from ROSE kernel interfaces
From: Bernard Pidoux @ 2006-04-30  9:35 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: David S. Miller, netdev, linux-hams
In-Reply-To: <20060429141924.GA2941@linux-mips.org>

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


Ralf Baechle wrote :

> Index: linux-net.git/net/rose/af_rose.c
> ===================================================================
> --- linux-net.git.orig/net/rose/af_rose.c	2006-04-29 01:54:21.000000000 +0100
> +++ linux-net.git/net/rose/af_rose.c	2006-04-29 11:37:34.000000000 +0100

While patching af_rose.c, would you consider the following patch 
ROSE/FPAC users have introduced a year ago with good success.

73 de Bernard, f6bvp

http://f6bvp.org
http://rose.fpac.free.fr/MINI-HOWTO/
http://rose.fpac.free.fr/MINI-HOWTO-FR/


[-- Attachment #2: af_rose.diff --]
[-- Type: text/x-patch, Size: 716 bytes --]

--- linux/net/rose/af_rose.c.orig	2006-04-30 11:30:48.000000000 +0200
+++ linux/net/rose/af_rose.c	2006-04-30 11:27:35.000000000 +0200
@@ -753,6 +753,7 @@
 
 		rose_insert_socket(sk);		/* Finish the bind */
 	}
+rose_try_next_neigh:
 	rose->dest_addr   = addr->srose_addr;
 	rose->dest_call   = addr->srose_call;
 	rose->rand        = ((long)rose & 0xFFFF) + rose->lci;
@@ -810,6 +811,11 @@
 	}
 
 	if (sk->sk_state != TCP_ESTABLISHED) {
+	/* Try next neighbour */
+		rose->neighbour = rose_get_neigh(&addr->srose_addr, &cause, &diagnostic);
+		if (rose->neighbour)
+			goto rose_try_next_neigh;
+	/* No more neighbour */
 		sock->state = SS_UNCONNECTED;
 		return sock_error(sk);	/* Always set at this point */
 	}

^ permalink raw reply

* Re: IP1000 gigabit nic driver
From: Pekka Enberg @ 2006-04-30  9:26 UTC (permalink / raw)
  To: David Gómez; +Cc: David Vrabel, Francois Romieu, Linux-kernel, netdev
In-Reply-To: <1146342905.11271.3.camel@localhost>

On Sat, 2006-04-29 at 14:21 +0200, David Gómez wrote:
> > I already had it modified, just needed to create the patch... Anyway,
> > have you submitted it to netdev?

On Sat, 2006-04-29 at 23:35 +0300, Pekka Enberg wrote:
> No, I haven't. I don't have the hardware, so I can't test the driver.
> Furthermore, there's plenty of stuff to fix before it's in any shape for
> submission. If someone wants to give this patch a spin, I would love to
> hear the results.

I killed the I/O write/read macros and switched the driver to iomap.

			Pekka

Subject: [PATCH] IP1000 Gigabit Ethernet device driver

This is a cleaned up fork of the IP1000A device driver:

  <http://www.icplus.com.tw/driver-pp-IP1000A.html>

Open issues include but are not limited to:

  - ipg_probe() looks really fishy and doesn't handle all errors
    (e.g. ioremap failing).
  - ipg_nic_do_ioctl() is playing games with user-space pointer.
    We should use ethtool ioctl instead as suggested by Arjan.
  - For multiple devices, the driver uses a global root_dev and
    ipg_remove() play some tricks which look fishy.

I don't have the hardware, so I don't know if I broke anything.
The patch is 138 KB in size, so I am not including it in this
mail. You can find the patch here:

  http://www.cs.helsinki.fi/u/penberg/linux/ip1000-driver.patch

Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>


^ 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.