sambo
-
Posts
45 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by sambo
-
-
Fixed! Looks like it was the "soundwrapper xmms" problem that Latem mentioned.
Thanks for the help all! :D
-
I've tried both 1.2.9 and 1.2.10 and they both freeze up as soon as I try and play an mp3.
Does anyone know what would cause this?
Thanks! :D
-
Kernel 2.4.25
-
I recently tried installing XMMS (the latest version), but found that it didn't work and crashed.
I remember reading somewhere that some versions of XMMS work better than others in mdk10.
Does anyone know which versions are better?
Which versions do you use?
Thanks.
-
I never thought I'd say this...
But I got the beta drivers to work!
It was a struggle, but man it feels good!
-
Attached is a copy of my oscompat.h file (I have renamed it to oscompat.txt, so I could upload it though).
-
I've also got a copy of the contents of the oscompat.h
/** Copyright © 2001-2002 Conexant Systems, Inc.
*
* 1. Permitted use. Redistribution and use in source and binary forms,
* with or without modification, are permitted under the terms set forth
* herein.
*
* 2. Disclaimer of Warranties. CONEXANT AND OTHER CONTRIBUTORS MAKE NO
* REPRESENTATION ABOUT THE SUITABILITY OF THIS SOFTWARE FOR ANY PURPOSE.
* IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTIES OF ANY KIND.
* CONEXANT AND OTHER CONTRIBUTORS DISCLAIMS ALL WARRANTIES WITH REGARD TO
* THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
* FOR A PARTICULAR PURPOSE, GOOD TITLE AND AGAINST INFRINGEMENT.
*
* This software has not been formally tested, and there is no guarantee that
* it is free of errors including, but not limited to, bugs, defects,
* interrupted operation, or unexpected results. Any use of this software is
* at user's own risk.
*
* 3. No Liability.
*
* (a) Conexant or contributors shall not be responsible for any loss or
* damage to Company, its customers, or any third parties for any reason
* whatsoever, and CONEXANT OR CONTRIBUTORS SHALL NOT BE LIABLE FOR ANY
* ACTUAL, DIRECT, INDIRECT, SPECIAL, PUNITIVE, INCIDENTAL, OR CONSEQUENTIAL
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED, WHETHER IN CONTRACT, STRICT OR OTHER LEGAL THEORY OF
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
* WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
* OF SUCH DAMAGE.
*
* (B) User agrees to hold Conexant and contributors harmless from any
* liability, loss, cost, damage or expense, including attorney's fees,
* as a result of any claims which may be made by any person, including
* but not limited to User, its agents and employees, its customers, or
* any third parties that arise out of or result from the manufacture,
* delivery, actual or alleged ownership, performance, use, operation
* or possession of the software furnished hereunder, whether such claims
* are based on negligence, breach of contract, absolute liability or any
* other legal theory.
*
* 4. Notices. User hereby agrees not to remove, alter or destroy any
* copyright, trademark, credits, other proprietary notices or confidential
* legends placed upon, contained within or associated with the Software,
* and shall include all such unaltered copyright, trademark, credits,
* other proprietary notices or confidential legends on or in every copy of
* the Software.
*
*/
#ifndef __OSCOMPAT_H
#define __OSCOMPAT_H
#ifdef __cplusplus
extern "C"
{
#endif
#include "osuniqredef.h"
#include <linux/version.h>
#include <linux/config.h>
#include <linux/sched.h>
#include <linux/tqueue.h>
#include <linux/mm.h>
#include <linux/interrupt.h>
#include <linux/wait.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/string.h>
#include <linux/kdev_t.h>
#if LINUX_VERSION_CODE == KERNEL_VERSION(2,4,9)
/* get rid of non-standard min/max macros */
#undef min
#undef max
#endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,2)
#include <linux/circ_buf.h>
#else
struct circ_buf {
char *buf;
int head;
int tail;
};
/* Return count in buffer. */
#define CIRC_CNT(head,tail,size) (((head) - (tail)) & ((size)-1))
/* Return space available, 0..size-1. We always leave one free char
as a completely full buffer has head == tail, which is the same as
empty. */
#define CIRC_SPACE(head,tail,size) CIRC_CNT((tail),((head)+1),(size))
/* Return count up to the end of the buffer. Carefully avoid
accessing head and tail more than once, so they can change
underneath us without returning inconsistent results. */
#define CIRC_CNT_TO_END(head,tail,size) \
({int end = (size) - (tail); \
int n = ((head) + end) & ((size)-1); \
n < end ? n : end;})
/* Return space available up to the end of the buffer. */
#define CIRC_SPACE_TO_END(head,tail,size) \
({int end = (size) - 1 - (head); \
int n = (end + (tail)) & ((size)-1); \
n <= end ? n : end+1;})
#endif
#ifdef CONFIG_KDB
#define KDB_ENTER() asm("\tint $129\n")
#else
#define KDB_ENTER()
#endif
#if defined(CONFIG_PREEMPT) && defined(PROJECT) && (PROJECT == PRJ_HSF)
#error Preemptible kernel option (CONFIG_PREEMPT) not yet supported. Reconfigure your kernel without it.
#endif
#ifndef minor
#define minor(d) MINOR(d)
#endif
#ifdef MODULE
#ifndef THIS_MODULE
#define THIS_MODULE (&__this_module)
#endif
#ifndef module_init
#define module_init(x) int init_module(void) { return x(); }
#endif
#ifndef module_exit
#define module_exit(x) void cleanup_module(void) { x(); }
#endif
#endif
#ifndef MODULE_LICENSE
#define MODULE_LICENSE(x)
#endif
#ifndef __exit
#define __exit
#endif
#ifndef DECLARE_MUTEX
#define DECLARE_MUTEX(name) struct semaphore name=MUTEX
#define init_MUTEX(x) *(x)=MUTEX
#endif
#ifndef DECLARE_WAITQUEUE
#define DECLARE_WAITQUEUE(wait, current) struct wait_queue wait = { current, NULL }
#define DECLARE_WAIT_QUEUE_HEAD(wait) wait_queue_head_t wait
typedef struct wait_queue *wait_queue_head_t;
#define init_waitqueue_head(x) *(x)=NULL
#endif
#ifndef set_current_state
#define __set_current_state(state_value) do { current->state = state_value; } while (0)
#ifdef __SMP__
#define set_current_state(state_value) do { __set_current_state(state_value); mb(); } while (0)
#else
#define set_current_state(state_value) __set_current_state(state_value)
#endif
#endif // set_current_state
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0)
#define get_zeroed_page get_free_page
#define try_inc_mod_count(mod) ((mod && !(mod->flags & MOD_DELETED)) ? __MOD_INC_USE_COUNT(mod), 1 : 0)
#endif // LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0)
#ifndef PREPARE_TQUEUE
/*
* Emit code to initialise a tq_struct's routine and data pointers
*/
#define PREPARE_TQUEUE(_tq, _routine, _data) \
do { \
(_tq)->routine = _routine; \
(_tq)->data = _data; \
} while (0)
#endif
#ifndef INIT_TQUEUE
/*
* Emit code to initialise all of a tq_struct
*/
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,0)
#define INIT_TQUEUE(_tq, _routine, _data) \
do { \
INIT_LIST_HEAD(&(_tq)->list); \
(_tq)->sync = 0; \
PREPARE_TQUEUE((_tq), (_routine), (_data)); \
} while (0)
#else
#define INIT_TQUEUE(_tq, _routine, _data) \
do { \
(_tq)->next = NULL; \
(_tq)->sync = 0; \
PREPARE_TQUEUE((_tq), (_routine), (_data)); \
} while (0)
#endif
#endif
#ifndef DECLARE_TASKLET
#define tasklet_struct tq_struct
#define tasklet_init(tlet, func, parm) INIT_TQUEUE(tlet, (void (*)(void *))(func), (void *)(parm))
#define tasklet_schedule(tlet) queue_task(tlet, &tq_immediate); mark_bh(IMMEDIATE_BH)
static inline void tasklet_kill(struct tasklet_struct *t)
{
unsigned long flags;
struct tq_struct **pp;
spin_lock_irqsave(&tqueue_lock, flags);
if(t->sync) {
for(pp = &tq_immediate; *pp; pp = &(*pp)->next) {
if(*pp == t) {
*pp = t->next;
t->sync = 0;
break;
}
}
}
spin_unlock_irqrestore(&tqueue_lock, flags);
}
#endif
#if defined(EXPORT_SYMTAB)
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,4,0)) && defined(memcpy)
/* accomodate references to memcpy caused by gcc */
void * memcpy_for_gcc(void *dest, const void *src, __kernel_size_t n)
{
return memcpy(dest, src, n);
}
#undef memcpy
void * memcpy(void *dest, const void *src, __kernel_size_t n) __attribute__ ((weak, alias ("memcpy_for_gcc")));
#endif
#if defined(PROJECT) && (PROJECT == PRJ_HSF)
void OsModuleUseCountInc(void)
{
MOD_INC_USE_COUNT;
}
void OsModuleUseCountDec(void)
{
MOD_DEC_USE_COUNT;
}
#endif
#endif // EXPORT_SYMTAB
#if defined(DEBUG_CHECK_STACK) && (defined(EXPORT_SYMTAB) || defined(CNXTSERIAL_INCLUDE_CORE))
/* inspired by Benjamin LaHaise's CONFIG_X86_STACK_CHECK patch */
static void __attribute__ ((unused, used))
_OSUNIQDEF(stack_overflow)(void *esp, void *eip)
{
printk(KERN_ERR "%s: from %p. esp: %p\n", __FUNCTION__, eip, esp);
KDB_ENTER();
}
void mcount(void) __attribute__ ((alias (_OSUNIQDEF_STR(mcount))));
static int __attribute__ ((unused)) stack_danger_zone =
sizeof(struct task_struct) + 512;
asm("
THREAD_SIZE = 8192 /* 2 * PAGE_SIZE */
.data
stack_overflowed:
.long 0
.text
.align 16
.type "_OSUNIQDEF_STR(mcount)",@function
.globl "_OSUNIQDEF_STR(mcount)"
"_OSUNIQDEF_STR(mcount)":
push %eax
movl $(THREAD_SIZE - 1),%eax
andl %esp,%eax
cmpl stack_danger_zone, %eax
jle 1f
2:
popl %eax
ret
1:
movl %esp,%eax
lock; btsl $0,stack_overflowed /* prevent re-entry */
jc 2b
pushf
cli
# push eip then esp of error for stack_overflow
pushl 4(%eax)
pushl %eax
call "_OSUNIQDEF_STR(stack_overflow)"
addl $8,%esp
popf
popl %eax
movl $0,stack_overflowed
ret
");
#warning stack check enabled
#endif
#if defined(PROJECT) && (PROJECT == PRJ_HSF)
void OsObtainedLock(void);
void OsReleasedLock(void);
int OsLocksHeld(void);
#define OSContextAllowsSleeping() (!in_interrupt()) && (!OsLocksHeld())
#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,20)
struct usb_ctrlrequest {
__u8 bRequestType;
__u8 bRequest;
__u16 wValue;
__u16 wIndex;
__u16 wLength;
} __attribute__ ((packed));
#endif
#ifdef __cplusplus
}
#endif
#endif /* __OSCOMPAT_H */
I've made the lines that it is having troubles with bold.
I think it's a C programming related issue.
Does anyone know how to fix it? :unsure:
I'm using kernel 2.4.25-2 and noticed that "KERNEL_VERSION(2,4,20)" appears a couple of times. Does this mean it's incompatible with my kernel?
-
I'm trying to run hsfconfig after the "hsflinmodem5.03.27.tar.gz" file has been installed.
I'm getting a problem when I'm at the kernel source part. The error I get is:
rm -f *.o *.amake[1]: Entering directory `/usr/lib/hsf/modules/osspec'
rm -f *.o *.a
make[1]: Leaving directory `/usr/lib/hsf/modules/osspec'
* compiling (gcc) mod_osspec.c
In file included from mod_osspec.c:51:
../modules/osspec/include/oscompat.h:274:5: missing terminating " character
../modules/osspec/include/oscompat.h:320:1: missing terminating " character
make: *** [mod_osspec.o] Error 1
Does anyone know what this means and how to fix it?
I'm using kernel 2.4.25-2 and I have the source installed.
Alternatively, where can I get the 'hsfcompat_24-1.0d.tar.gz' file from? (note: The http://www.mbsi.ca/hsfcompat/hsfcompat_24-1.0d.tar.gz link doesn't work)
-
Awesome!
Thanks mate. :D
-
Hi,
I'm trying to reinstall Mandrake (10.0 Official Download edition) on my system.
I would like to install Kernel 2.4.x (the one that comes with it), but there is no option as to which kernels I can install (the only option, to the best of my knowledge, being 2.4.x AND 2.6.3-7).
I have tried installing both kernels (but it has resulted in quite a few crashes), and also tried using the 2.4.x kernel from Lilo, but the mouse wont work and I get a whole heap of error messages.
Is there any way I can install only kernel 2.4.x?
-
I am thinking of getting Wine, but they say in their FAQ that it is only Intel x86 compatible. Does this mean that my Athlon XP processor wont run it?
-
In konqueror I believ there is an option under view->show hidden files. That should show all the files. If it doesn't you might want to hit refresh.
Geez, that was too obvious! I can't believe I missed that! Sorry bro! :D
-
I've just installed Gaim and am trying to install an icon set. I am told to put the files in /home/(username)/.gaim/smileys
However, this folder doesn't exist when i try to find it in the GUI.
Is there any way to make hidden folders appear in the GUI?
Alternatively, what is the command to move files or folders from one directory to the other in the konsole?
Thanks!
moved from hardware - tyme
-
I've just downloaded Firefox 0.91 and appear to have installed it correctly.
However, after installing (in which it runs Firefox) I closed Firefox and don't know how to use it again (ie. execute the file)
How do you do this?
Thanks!
-
Awesome!
Thanks SoulSe! :D
-
Thanks for feedback folks!
I've disabled the firewall and everything is going well!
I've nmapped myself to test my security and it came up with this:
(The 1651 ports scanned but not shown below are in state: closed)PORT STATE SERVICE
22/tcp open ssh
111/tcp open rpcbind
139/tcp open netbios-ssn
445/tcp open microsoft-ds
725/tcp open unknown
838/tcp open unknown
2049/tcp open nfs
6000/tcp open X11
Am I fairly safe with these ports open?
Which options should I keep checked/unchecked in my firewall settings to allow for me to browse, email, IM with maximum security?
The options it gives me are:
*Everything (no firewall)
*Web Server
*Domain name server
*ssh server
*ftp server
*mail server
*pop and imap server
*samba server
*echo request (ping)
I am a pretty average internet user (browsing, email, messaging) so I'm guessing I probably don't need most of this stuff going?
Thanks again!
-
I do have the firewall going.
Sily question, but is it fairly safe to let the firewall down? I'm used to windows where disabling zone alarm makes you a sitting duck.
Am I still fairly safe using Linux without a firewall?
Thanks!
-
Thanks for help folks!
Found the problem. I was try to find the kppp configuration folder in konqueror (which didn't list it). Tried to find the directory in the konsole and found it.
Deleted the kppp.pid file and it works just dandy.
I'm guessing the directory is hidden or something.
-
I have just configured KPPP to connect me to the internet, and it appears to do so correctly (ie. it says I'm connected, etc...). However, when I start up my internet browser (either Mozilla or Konqueror) it doesn't seem to be able to find a page I try to load. Kopete has the same problem, it doesn't connect to the networks.
It seems to be an internet configuration problem, rather than a specific program problem because no programs I have connect to the internet.
Does anyone know how I can fix my problems?
Thanks!
[moved from Hardware by spinynorman]
-
I checked through my Mandrake software manager (or whatever it's called) and found that the 2.4 kernel was listed as being installed as well as the 2.6.3-7 kernel.
I have now removed it. Hopefully it will stop the random crashes.
:D Thanks for your help everyone!
-
Thanks armondf! :D
Does anyone know of any good websites that go through the procedure step-by-step (preferably for newbies)?
Thanks!
-
I tryed to find the kppp.pid file, but couldn't find the directory it specified (is it hidden?) and also tried to search for the file itself which didn't result in any matches.
Hmmmmmmmmmmmmm?
-
Hey all.
I've had a problem with KPPP recently (ever since linux crashed whilst trying to connect to the internet) and the error message when I try to start KPPP is:
"KPPP can't read from /home/my username/.kde/share/apps/kppp/kppp.pid
Does anyone else know how to fix this?
Thanks!
-
Ahhhhhhhh. I probably didn't do that then.
Is it possible to have more than one installed kernel (in my case 2.6.3-7 and 2.4.x) on the same system, that you can switch between at startup?
Is it fairly easy to set up?
Bittorrent
in Software
Posted
I have just got Bittorent for linux, but I'm having trouble downloading files with it. I also have it for Windows, but it appears the Linux version might be slightly diffferent.
In windows you simply click on the torrent file and away it goes automatically. In linux I've tried the same thing but it doesn't automatically start a download and I don't know how to do it manually. How do I do it?
My browser is Firefox 0.9.
Thanks.