Skip to contentSkip to conversation

business models [was patent stuff]

DISCUSSION Gilad Ben-Yossef 4 participants 6 messages May 28, 2002 – Jun 4, 2002 1 message not in the archive Alpha port

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 17 lines · On Tue, 2002-05-28 at 14:51, [email protected] wrote:

In a message dated 5/28/2002 3:55:00 AM Eastern Daylight Time,

Quoted 13 lines · [email protected] writes:
Quoted 5 lines · Larry McVoy

If the free software community is ever going to really compete with the non-free software community, they simply have to come up with a better business model than giving it away and trying to make money on support. It's economics 101 - a free market will go to whomever can provide the needed service most cheaply. With no barrier to entry, that means as

.........^^^^^^^^

Quoted 2 lines

soon as the price gets high enough, someone will resell the product for

..^^^^^^^

Quoted 1 line

less. Which results in razor thin profits, if any at all.

Quoted 8 lines
Quoted 2 lines

Software is not a "product" any more then a lawyer argument in a case is a "product" or an architect plan for a building is a "product".

Actually, a lawyer's argument or an architects plan can certainly be work products, and if I hire a lawyer to draw up a contract for me or an architect to design a building for me, unless our agreements say otherwise, I own the contract or the building plans.

Of course you *can*, but do you (or anyone else) actually does this? AFAIK this is not a very common business model.

Gilad.

Signature · 6 lines
Gilad Ben-Yossef <[email protected]>
Code mangler, senior coffee drinker and VP SIGSEGV
Qlusters ltd.

"A billion flies _can_ be wrong - I'd rather eat lamb chops than shit."
	-- Linus Torvalds on lkml
#2 lore raw

kernel 2.5.18 on alpha

Hi volks!

I get this error when trying to compile kernel 2.5.18 on alpha.

Please help me!

[ ... ]
gcc -D__KERNEL__ -I/root/linux-2.5.18/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mno-fp-regs -ffixed-8 -mcpu=ev5 -Wa,-mev6 -DKBUILD_BASENAME=do_mounts -c -o do_mounts.o do_mounts.c In file included from /root/linux-2.5.18/include/linux/thread_info.h:10,

                 from /root/linux-2.5.18/include/linux/spinlock.h:7,
                 from /root/linux-2.5.18/include/linux/tqueue.h:16,
                 from /root/linux-2.5.18/include/linux/sched.h:10,
                 from do_mounts.c:4:

/root/linux-2.5.18/include/linux/bitops.h: In function `get_bitmask_order':
/root/linux-2.5.18/include/linux/bitops.h:77: warning: implicit declaration of function `fls'
In file included from do_mounts.c:13:
/root/linux-2.5.18/include/linux/suspend.h:4:25: asm/suspend.h: No such file or directory
make[1]: *** [do_mounts.o] Error 1
make[1]: Leaving directory `/root/linux-2.5.18/init'
make: *** [_dir_init] Error 2
[ ... ]

Greetz,
Oliver

#3 lore raw

Re: kernel 2.5.18 on alpha

Is there really nobody who can help me with this error?

Greetz,
Oliver

----- Original Message -----
From: "Oliver Pitzeier" <[email protected]>
To: <[email protected]>
Sent: Tuesday, May 28, 2002 4:29 PM
Subject: kernel 2.5.18 on alpha

Quoted 38 lines

Hi volks!

I get this error when trying to compile kernel 2.5.18 on alpha.

Please help me!

[ ... ]
gcc -D__KERNEL__ -I/root/linux-2.5.18/include -Wall -Wstrict-prototypes

(quoted diff) +0 -3
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mno-fp-regs -ffixed-8 -mcpu=ev5 -Wa,-mev6
-DKBUILD_BASENAME=do_mounts  -c -o do_mounts.o do_mounts.c

In file included from /root/linux-2.5.18/include/linux/thread_info.h:10,

                 from /root/linux-2.5.18/include/linux/spinlock.h:7,
                 from /root/linux-2.5.18/include/linux/tqueue.h:16,
                 from /root/linux-2.5.18/include/linux/sched.h:10,
                 from do_mounts.c:4:

/root/linux-2.5.18/include/linux/bitops.h: In function `get_bitmask_order':
/root/linux-2.5.18/include/linux/bitops.h:77: warning: implicit declaration of function `fls'
In file included from do_mounts.c:13:
/root/linux-2.5.18/include/linux/suspend.h:4:25: asm/suspend.h: No such file or directory
make[1]: *** [do_mounts.o] Error 1
make[1]: Leaving directory `/root/linux-2.5.18/init'
make: *** [_dir_init] Error 2
[ ... ]

Greetz,
Oliver

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

#4 lore raw

Re: kernel 2.5.18 on alpha

Quoted 1 line · [email protected] said:

Is there really nobody who can help me with this error?

If you're not capable of reading the list archives, and picking up the patches which I believe I recall seeing, then no - I suspect you are indeed beyond help.

--
dwmw2

#5 lore raw

[patch] Re: kernel 2.5.18 on alpha

In reply to Gilad Ben-Yossef
Quoted 1 line · Oliver Pitzeier

I get this error when trying to compile kernel 2.5.18 on alpha.

Just intended to post the patch... :-)

- sync up with new pte/pfn/page/tlb macros
- pcibios_init() should return int;
- find last bit set: ctlz for ev67 and above, generic for others.

Quoted 2 lines

/root/linux-2.5.18/include/linux/suspend.h:4:25: asm/suspend.h: No such file or directory

I'm not sure what to do with this. I doubt that we ever want this file on alpha. For myself I moved "#include <asm/suspend.h>" under #ifdef CONFIG_SOFTWARE_SUSPEND and everything compiles.

Ivan.

arch/alpha/kernel/signal.c +1 -0
@@ -18,6 +18,7 @@
 #include <linux/smp_lock.h>
 #include <linux/stddef.h>
 #include <linux/tty.h>
+#include <linux/binfmts.h>
 
 #include <asm/bitops.h>
 #include <asm/uaccess.h>
arch/alpha/kernel/osf_sys.c +1 -0
@@ -33,6 +33,7 @@
 #include <linux/file.h>
 #include <linux/types.h>
 #include <linux/ipc.h>
+#include <linux/namei.h>
 
 #include <asm/fpu.h>
 #include <asm/io.h>
arch/alpha/kernel/pci.c +4 -4
@@ -193,12 +193,12 @@ pcibios_align_resource(void *data, struc
 #undef MB
 #undef GB
 
-static void __init
+static int __init
 pcibios_init(void)
 {
-	if (!alpha_mv.init_pci)
-		return;
-	alpha_mv.init_pci();
+	if (alpha_mv.init_pci)
+		alpha_mv.init_pci();
+	return 0;
 }
 
 subsys_initcall(pcibios_init);
include/asm-alpha/page.h +6 -2
@@ -95,8 +95,12 @@ extern __inline__ int get_order(unsigned
 #define __pa(x)			((unsigned long) (x) - PAGE_OFFSET)
 #define __va(x)			((void *)((unsigned long) (x) + PAGE_OFFSET))
 #ifndef CONFIG_DISCONTIGMEM
-#define virt_to_page(kaddr)	(mem_map + (__pa(kaddr) >> PAGE_SHIFT))
-#define VALID_PAGE(page)	(((page) - mem_map) < max_mapnr)
+#define pfn_to_page(pfn)	(mem_map + (pfn))
+#define page_to_pfn(page)	((unsigned long)((page) - mem_map))
+#define virt_to_page(kaddr)	pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)
+
+#define pfn_valid(pfn)		((pfn) < max_mapnr)
+#define virt_addr_valid(kaddr)	pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
 #endif /* CONFIG_DISCONTIGMEM */
 
 #define VM_DATA_DEFAULT_FLAGS		(VM_READ | VM_WRITE | VM_EXEC | \
include/asm-alpha/pgtable.h +20 -22

73 lines not on this page · raw message

include/asm-alpha/tlb.h +14 -0
@@ -1 +1,15 @@
+#ifndef _ALPHA_TLB_H
+#define _ALPHA_TLB_H
+
+#define tlb_start_vma(tlb, vma)			do { } while (0)
+#define tlb_end_vma(tlb, vma)			do { } while (0)
+#define tlb_remove_tlb_entry(tlb, pte, addr)	do { } while (0)
+
+#define tlb_flush(tlb)				flush_tlb_mm((tlb)->mm)
+
 #include <asm-generic/tlb.h>
+
+#define pte_free_tlb(tlb,pte)			pte_free(pte)
+#define pmd_free_tlb(tlb,pmd)			pmd_free(pmd)
+ 
+#endif
include/asm-alpha/bitops.h +14 -0
@@ -315,6 +315,20 @@ static inline int ffs(int word)
 	return word ? result+1 : 0;
 }
 
+/*
+ * fls: find last bit set.
+ */
+#if defined(__alpha_cix__) && defined(__alpha_fix__)
+static inline int fls(int word)
+{
+	long result;
+	__asm__("ctlz %1,%0" : "=r"(result) : "r"(word & 0xffffffff));
+	return 64 - result;
+}
+#else
+#define fls	generic_fls
+#endif
+
 /* Compute powers of two for the given integer.  */
 static inline int floor_log2(unsigned long word)
 {
#6 lore raw

RE: [patch] Re: kernel 2.5.18 on alpha

Quoted 9 lines · Ivan Kokshaysky
Quoted 1 line · Oliver Pitzeier

I get this error when trying to compile kernel 2.5.18 on alpha.

Just intended to post the patch... :-)

- sync up with new pte/pfn/page/tlb macros
- pcibios_init() should return int;
- find last bit set: ctlz for ev67 and above, generic for others.

Quoted 7 lines
Quoted 2 lines

/root/linux-2.5.18/include/linux/suspend.h:4:25: asm/suspend.h: No such file or directory

I'm not sure what to do with this. I doubt that we ever want this file on alpha. For myself I moved "#include <asm/suspend.h>" under #ifdef CONFIG_SOFTWARE_SUSPEND and everything compiles.

Yes. It does! Great job! But there are new problems with 2.5.20. I try to catch 'em. I may find the gizmo... :o)

I you want to know the error:
gcc -D__KERNEL__ -I/usr/src/linux-2.5.20/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mno-fp-regs -ffixed-8 -mcpu=ev5
-Wa,-mev6 -DKBUILD_BASENAME=main -c -o main.o main.c
In file included from /usr/src/linux-2.5.20/include/linux/pagemap.h:10,

                 from /usr/src/linux-2.5.20/include/linux/blkdev.h:9,
                 from /usr/src/linux-2.5.20/include/linux/blk.h:4,
                 from main.c:25:

/usr/src/linux-2.5.20/include/linux/highmem.h:80:42: macro "clear_user_page" passed 3 arguments, but takes just 2 /usr/src/linux-2.5.20/include/linux/highmem.h:114:45: macro "copy_user_page" passed 4 arguments, but takes just 3
In file included from /usr/src/linux-2.5.20/include/linux/pagemap.h:10,

                 from /usr/src/linux-2.5.20/include/linux/blkdev.h:9,
                 from /usr/src/linux-2.5.20/include/linux/blk.h:4,
                 from main.c:25:

/usr/src/linux-2.5.20/include/linux/highmem.h: In function `clear_user_highpage':
/usr/src/linux-2.5.20/include/linux/highmem.h:80: `clear_user_page' undeclared (first use in this function) /usr/src/linux-2.5.20/include/linux/highmem.h:80: (Each undeclared identifier is reported only once /usr/src/linux-2.5.20/include/linux/highmem.h:80: for each function it appears in.) /usr/src/linux-2.5.20/include/linux/highmem.h:79: warning: unused variable addr' /usr/src/linux-2.5.20/include/linux/highmem.h: In function copy_user_highpage':
/usr/src/linux-2.5.20/include/linux/highmem.h:114: `copy_user_page' undeclared (first use in this function)
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.5.20/init'
make: *** [init] Error 2

Greetz,
Oliver