* Re: [Qemu-devel] QEMU 0.5.2 testing
From: Sylvain OBEGI @ 2004-01-26 9:19 UTC (permalink / raw)
To: qemu-devel
In-Reply-To: <20040120040730.GA14683@gnu.org>
Le mar 20/01/2004 à 05:07, Lennert Buytenhek a écrit :
> Win98 second edition install CD. Spews a bunch of "FLOPPY ERROR: fd_seek:
> try to read 0 00 02 (max=1 00 01)" messages while starting up the setup.
> When copying files is complete, it says "Detection Manager failed to allocate
> memory for internal use." followed by "Error loading Explorer.exe. You must
> reinstall Windows." and the termination of the setup. If I then boot from
> hard disk (-boot c), Windows finishes the installation, but after reboot,
> I just get "While initializing device IOS: Windows protection error. You
> need to restart your computer."
I get the same things here with 0.5.2 final, except that it seems random
freezes during install causes some vxd errors, so I can't boot windows
at all.
--
Sylvain OBEGI
Email : katios@nolabel.net
ICQ : 661913
^ permalink raw reply
* Re: WP 5.1, graphical preview, in console
From: Bart Oldeman @ 2004-01-26 9:19 UTC (permalink / raw)
To: Rob Ristroph; +Cc: linux-msdos
In-Reply-To: <87oesrbbfk.fsf@rgristroph-austin.ath.cx>
On 25 Jan 2004, Rob Ristroph wrote:
> >>>>> "Justin" == Justin Zygmont <jzygmont@solarflow.dyndns.org> writes:
> Justin>
> Justin> did you set your $_console=1 and $_graphics=1 in dosemu.conf?
>
> Yes. Actually it is conf/dosemurc in the precompiled distribution. I
> also set $_video = "vga", $_rawkeyboard = (1), $_vbios_post = (1),
> $_chipset = "ati" and also tried $_chipset = "plainvga", and various
> combinations of those.
you must copy conf/dosemurc to ~/.dosemurc (as described in
README.bindist). Have a look at ~/.dosemu/boot.log to see which files are
exactly opened for configuration.
Bart
^ permalink raw reply
* Re: [ANNOUNCE] Cooperative Linux
From: Christoph Hellwig @ 2004-01-26 9:19 UTC (permalink / raw)
To: Ben Pfaff; +Cc: linux-kernel
In-Reply-To: <87ektn2tkn.fsf@pfaff.stanford.edu>
On Sun, Jan 25, 2004 at 08:59:52PM -0800, Ben Pfaff wrote:
> For what it's worth, this has been done in the proprietary world
> as successful commercial software, as VMware ESX Server.
Which seems to be nothing more than a hacked up Linux..
^ permalink raw reply
* [PATCH] RTC timer patches for 2.4.20/23
From: Clemens Ladisch @ 2004-01-26 9:09 UTC (permalink / raw)
To: alsa-devel
[-- Attachment #1: Type: TEXT/PLAIN, Size: 103 bytes --]
The last patch in alsa-driver/utils/patches is for 2.4.16 and doesn't
apply cleanly to newer kernels.
[-- Attachment #2: Type: TEXT/PLAIN, Size: 5533 bytes --]
diff -ur linux/drivers/char/Makefile linux-2.4.20/drivers/char/Makefile
--- linux/drivers/char/Makefile Sun Jan 25 14:01:48 2004
+++ linux-2.4.20/drivers/char/Makefile Sun Jan 25 13:59:13 2004
@@ -23,7 +23,7 @@
export-objs := busmouse.o console.o keyboard.o sysrq.o \
misc.o pty.o random.o selection.o serial.o \
- sonypi.o tty_io.o tty_ioctl.o generic_serial.o \
+ sonypi.o tty_io.o tty_ioctl.o generic_serial.o rtc.o \
au1000_gpio.o hp_psaux.o nvram.o
mod-subdirs := joystick ftape drm drm-4.0 pcmcia
diff -ur linux/drivers/char/rtc.c linux-2.4.20/drivers/char/rtc.c
--- linux/drivers/char/rtc.c Sun Jan 25 14:05:51 2004
+++ linux-2.4.20/drivers/char/rtc.c Sun Jan 25 14:08:22 2004
@@ -141,6 +141,11 @@
static unsigned long rtc_irq_data = 0; /* our output to the world */
static unsigned long rtc_max_user_freq = 64; /* > this, need CAP_SYS_RESOURCE */
+#if RTC_IRQ
+static spinlock_t rtc_task_lock = SPIN_LOCK_UNLOCKED;
+static rtc_task_t *rtc_callback = NULL;
+#endif
+
/*
* If this driver ever becomes modularised, it will be really nice
* to make the epoch retain its value across module reload...
@@ -182,6 +187,10 @@
spin_unlock (&rtc_lock);
/* Now do the rest of the actions */
+ spin_lock(&rtc_task_lock);
+ if (rtc_callback)
+ rtc_callback->func(rtc_callback->private_data);
+ spin_unlock(&rtc_task_lock);
wake_up_interruptible(&rtc_wait);
kill_fasync (&rtc_async_queue, SIGIO, POLL_IN);
@@ -278,8 +287,7 @@
#endif
}
-static int rtc_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
- unsigned long arg)
+static int rtc_do_ioctl(unsigned int cmd, unsigned long arg, int kernel)
{
struct rtc_time wtime;
@@ -329,7 +337,7 @@
* We don't really want Joe User enabling more
* than 64Hz of interrupts on a multi-user machine.
*/
- if ((rtc_freq > rtc_max_user_freq) &&
+ if (!kernel && (rtc_freq > rtc_max_user_freq) &&
(!capable(CAP_SYS_RESOURCE)))
return -EACCES;
@@ -528,7 +536,8 @@
* We don't really want Joe User generating more
* than 64Hz of interrupts on a multi-user machine.
*/
- if ((arg > rtc_max_user_freq) && (!capable(CAP_SYS_RESOURCE)))
+ if (!kernel && (arg > rtc_max_user_freq) &&
+ (!capable(CAP_SYS_RESOURCE)))
return -EACCES;
while (arg > (1<<tmp))
@@ -574,6 +583,12 @@
return copy_to_user((void *)arg, &wtime, sizeof wtime) ? -EFAULT : 0;
}
+static int rtc_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
+ unsigned long arg)
+{
+ return rtc_do_ioctl(cmd, arg, 0);
+}
+
/*
* We enforce only one user at a time here with the open/close.
* Also clear the previous interrupt data on an open, and clean
@@ -641,11 +656,8 @@
spin_lock_irq (&rtc_lock);
rtc_irq_data = 0;
- spin_unlock_irq (&rtc_lock);
-
- /* No need for locking -- nobody else can do anything until this rmw is
- * committed, and no timer is running. */
rtc_status &= ~RTC_IS_OPEN;
+ spin_unlock_irq (&rtc_lock);
return 0;
}
@@ -671,6 +683,88 @@
#endif
/*
+ * exported stuff
+ */
+
+EXPORT_SYMBOL(rtc_register);
+EXPORT_SYMBOL(rtc_unregister);
+EXPORT_SYMBOL(rtc_control);
+
+int rtc_register(rtc_task_t *task)
+{
+#if !RTC_IRQ
+ return -EIO;
+#else
+ if (task == NULL || task->func == NULL)
+ return -EINVAL;
+ spin_lock_irq(&rtc_lock);
+ if (rtc_status & RTC_IS_OPEN) {
+ spin_unlock_irq(&rtc_lock);
+ return -EBUSY;
+ }
+ spin_lock(&rtc_task_lock);
+ if (rtc_callback) {
+ spin_unlock(&rtc_task_lock);
+ spin_unlock_irq(&rtc_lock);
+ return -EBUSY;
+ }
+ rtc_status |= RTC_IS_OPEN;
+ rtc_callback = task;
+ spin_unlock(&rtc_task_lock);
+ spin_unlock_irq(&rtc_lock);
+ return 0;
+#endif
+}
+
+int rtc_unregister(rtc_task_t *task)
+{
+#if !RTC_IRQ
+ return -EIO;
+#else
+ unsigned char tmp;
+
+ spin_lock_irq(&rtc_task_lock);
+ if (rtc_callback != task) {
+ spin_unlock_irq(&rtc_task_lock);
+ return -ENXIO;
+ }
+ rtc_callback = NULL;
+ spin_lock(&rtc_lock);
+ /* disable controls */
+ tmp = CMOS_READ(RTC_CONTROL);
+ tmp &= ~RTC_PIE;
+ tmp &= ~RTC_AIE;
+ tmp &= ~RTC_UIE;
+ CMOS_WRITE(tmp, RTC_CONTROL);
+ CMOS_READ(RTC_INTR_FLAGS);
+ if (rtc_status & RTC_TIMER_ON) {
+ rtc_status &= ~RTC_TIMER_ON;
+ del_timer(&rtc_irq_timer);
+ }
+ rtc_status &= ~RTC_IS_OPEN;
+ spin_unlock(&rtc_lock);
+ spin_unlock_irq(&rtc_task_lock);
+ return 0;
+#endif
+}
+
+int rtc_control(rtc_task_t *task, unsigned int cmd, unsigned long arg)
+{
+#if !RTC_IRQ
+ return -EIO;
+#else
+ spin_lock_irq(&rtc_task_lock);
+ if (rtc_callback != task) {
+ spin_unlock_irq(&rtc_task_lock);
+ return -ENXIO;
+ }
+ spin_unlock_irq(&rtc_task_lock);
+ return rtc_do_ioctl(cmd, arg, 1);
+#endif
+}
+
+
+/*
* The various file operations we support.
*/
@@ -860,7 +954,6 @@
module_init(rtc_init);
module_exit(rtc_exit);
-EXPORT_NO_SYMBOLS;
#if RTC_IRQ
/*
diff -ur linux/include/linux/rtc.h linux-2.4.20/include/linux/rtc.h
--- linux/include/linux/rtc.h Sun Jan 25 14:01:22 2004
+++ linux-2.4.20/include/linux/rtc.h Sun Jan 25 13:58:57 2004
@@ -66,4 +66,17 @@
#define RTC_WKALM_SET _IOW('p', 0x0f, struct rtc_wkalrm)/* Set wakeup alarm*/
#define RTC_WKALM_RD _IOR('p', 0x10, struct rtc_wkalrm)/* Get wakeup alarm*/
+/* Exported functions to other kernel drivers */
+
+#ifdef __KERNEL__
+typedef struct rtc_task {
+ void (*func)(void *private_data);
+ void *private_data;
+} rtc_task_t;
+
+int rtc_register(rtc_task_t *task);
+int rtc_unregister(rtc_task_t *task);
+int rtc_control(rtc_task_t *task, unsigned int cmd, unsigned long arg);
+#endif
+
#endif /* _LINUX_RTC_H_ */
[-- Attachment #3: Type: TEXT/PLAIN, Size: 5565 bytes --]
diff -ur linux/drivers/char/Makefile linux-2.4.23/drivers/char/Makefile
--- linux/drivers/char/Makefile Thu Jan 15 14:34:08 2004
+++ linux-2.4.23/drivers/char/Makefile Thu Jan 15 14:33:01 2004
@@ -23,7 +23,7 @@
export-objs := busmouse.o console.o keyboard.o sysrq.o \
misc.o pty.o random.o selection.o serial.o \
- sonypi.o tty_io.o tty_ioctl.o generic_serial.o \
+ sonypi.o tty_io.o tty_ioctl.o generic_serial.o rtc.o \
au1000_gpio.o hp_psaux.o nvram.o scx200.o fetchop.o
mod-subdirs := joystick ftape drm drm-4.0 pcmcia
diff -ur linux/drivers/char/rtc.c linux-2.4.23/drivers/char/rtc.c
--- linux/drivers/char/rtc.c Sat Jan 24 12:06:07 2004
+++ linux-2.4.23/drivers/char/rtc.c Fri Jan 16 23:22:39 2004
@@ -142,6 +142,11 @@
static unsigned long rtc_irq_data = 0; /* our output to the world */
static unsigned long rtc_max_user_freq = 64; /* > this, need CAP_SYS_RESOURCE */
+#if RTC_IRQ
+static spinlock_t rtc_task_lock = SPIN_LOCK_UNLOCKED;
+static rtc_task_t *rtc_callback = NULL;
+#endif
+
/*
* If this driver ever becomes modularised, it will be really nice
* to make the epoch retain its value across module reload...
@@ -183,6 +188,10 @@
spin_unlock (&rtc_lock);
/* Now do the rest of the actions */
+ spin_lock(&rtc_task_lock);
+ if (rtc_callback)
+ rtc_callback->func(rtc_callback->private_data);
+ spin_unlock(&rtc_task_lock);
wake_up_interruptible(&rtc_wait);
kill_fasync (&rtc_async_queue, SIGIO, POLL_IN);
@@ -279,8 +288,7 @@
#endif
}
-static int rtc_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
- unsigned long arg)
+static int rtc_do_ioctl(unsigned int cmd, unsigned long arg, int kernel)
{
struct rtc_time wtime;
@@ -330,7 +338,7 @@
* We don't really want Joe User enabling more
* than 64Hz of interrupts on a multi-user machine.
*/
- if ((rtc_freq > rtc_max_user_freq) &&
+ if (!kernel && (rtc_freq > rtc_max_user_freq) &&
(!capable(CAP_SYS_RESOURCE)))
return -EACCES;
@@ -526,7 +534,8 @@
* We don't really want Joe User generating more
* than 64Hz of interrupts on a multi-user machine.
*/
- if ((arg > rtc_max_user_freq) && (!capable(CAP_SYS_RESOURCE)))
+ if (!kernel && (arg > rtc_max_user_freq) &&
+ (!capable(CAP_SYS_RESOURCE)))
return -EACCES;
while (arg > (1<<tmp))
@@ -572,6 +581,12 @@
return copy_to_user((void *)arg, &wtime, sizeof wtime) ? -EFAULT : 0;
}
+static int rtc_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
+ unsigned long arg)
+{
+ return rtc_do_ioctl(cmd, arg, 0);
+}
+
/*
* We enforce only one user at a time here with the open/close.
* Also clear the previous interrupt data on an open, and clean
@@ -639,11 +654,8 @@
spin_lock_irq (&rtc_lock);
rtc_irq_data = 0;
- spin_unlock_irq (&rtc_lock);
-
- /* No need for locking -- nobody else can do anything until this rmw is
- * committed, and no timer is running. */
rtc_status &= ~RTC_IS_OPEN;
+ spin_unlock_irq (&rtc_lock);
return 0;
}
@@ -669,6 +681,88 @@
#endif
/*
+ * exported stuff
+ */
+
+EXPORT_SYMBOL(rtc_register);
+EXPORT_SYMBOL(rtc_unregister);
+EXPORT_SYMBOL(rtc_control);
+
+int rtc_register(rtc_task_t *task)
+{
+#if !RTC_IRQ
+ return -EIO;
+#else
+ if (task == NULL || task->func == NULL)
+ return -EINVAL;
+ spin_lock_irq(&rtc_lock);
+ if (rtc_status & RTC_IS_OPEN) {
+ spin_unlock_irq(&rtc_lock);
+ return -EBUSY;
+ }
+ spin_lock(&rtc_task_lock);
+ if (rtc_callback) {
+ spin_unlock(&rtc_task_lock);
+ spin_unlock_irq(&rtc_lock);
+ return -EBUSY;
+ }
+ rtc_status |= RTC_IS_OPEN;
+ rtc_callback = task;
+ spin_unlock(&rtc_task_lock);
+ spin_unlock_irq(&rtc_lock);
+ return 0;
+#endif
+}
+
+int rtc_unregister(rtc_task_t *task)
+{
+#if !RTC_IRQ
+ return -EIO;
+#else
+ unsigned char tmp;
+
+ spin_lock_irq(&rtc_task_lock);
+ if (rtc_callback != task) {
+ spin_unlock_irq(&rtc_task_lock);
+ return -ENXIO;
+ }
+ rtc_callback = NULL;
+ spin_lock(&rtc_lock);
+ /* disable controls */
+ tmp = CMOS_READ(RTC_CONTROL);
+ tmp &= ~RTC_PIE;
+ tmp &= ~RTC_AIE;
+ tmp &= ~RTC_UIE;
+ CMOS_WRITE(tmp, RTC_CONTROL);
+ CMOS_READ(RTC_INTR_FLAGS);
+ if (rtc_status & RTC_TIMER_ON) {
+ rtc_status &= ~RTC_TIMER_ON;
+ del_timer(&rtc_irq_timer);
+ }
+ rtc_status &= ~RTC_IS_OPEN;
+ spin_unlock(&rtc_lock);
+ spin_unlock_irq(&rtc_task_lock);
+ return 0;
+#endif
+}
+
+int rtc_control(rtc_task_t *task, unsigned int cmd, unsigned long arg)
+{
+#if !RTC_IRQ
+ return -EIO;
+#else
+ spin_lock_irq(&rtc_task_lock);
+ if (rtc_callback != task) {
+ spin_unlock_irq(&rtc_task_lock);
+ return -ENXIO;
+ }
+ spin_unlock_irq(&rtc_task_lock);
+ return rtc_do_ioctl(cmd, arg, 1);
+#endif
+}
+
+
+/*
* The various file operations we support.
*/
@@ -858,7 +952,6 @@
module_init(rtc_init);
module_exit(rtc_exit);
-EXPORT_NO_SYMBOLS;
#if RTC_IRQ
/*
diff -ur linux/include/linux/rtc.h linux-2.4.23/include/linux/rtc.h
--- linux/include/linux/rtc.h Thu Jan 15 14:40:40 2004
+++ linux-2.4.23/include/linux/rtc.h Fri Jan 16 23:22:19 2004
@@ -90,4 +90,18 @@
#define RTC_PLL_GET _IOR('p', 0x11, struct rtc_pll_info) /* Get PLL correction */
#define RTC_PLL_SET _IOW('p', 0x12, struct rtc_pll_info) /* Set PLL correction */
+
+/* Exported functions to other kernel drivers */
+
+#ifdef __KERNEL__
+typedef struct rtc_task {
+ void (*func)(void *private_data);
+ void *private_data;
+} rtc_task_t;
+
+int rtc_register(rtc_task_t *task);
+int rtc_unregister(rtc_task_t *task);
+int rtc_control(rtc_task_t *task, unsigned int cmd, unsigned long arg);
+#endif
+
#endif /* _LINUX_RTC_H_ */
^ permalink raw reply
* Re: Fried the onboard Broadcom 4401 network...
From: Pavel Machek @ 2004-01-26 9:08 UTC (permalink / raw)
To: Tomas Ogren; +Cc: linux-kernel
In-Reply-To: <20040125024238.GA10424@ing.umu.se>
Hi!
> After that, I have not been able to get link (neither see it through
> Linux/WinXP or the physical LED). I have tried multiple cables and my
> laptop is perfectly happy with all of them, but the broadcom thingie
> seems not. The switch doesn't see link either.
Try to physically unplug machine from AC for a while.
Pavel
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
^ permalink raw reply
* [PATCH] fix names for MPU-401 ports
From: Clemens Ladisch @ 2004-01-26 9:07 UTC (permalink / raw)
To: alsa-devel
This moves the initialization of card->shortname before the
component creation so that the name for the rawmidi port is
"<shortname> MPU-401" instead of "MPU-401 (UART) x-0".
Index: alsa-kernel/Documentation/DocBook/writing-an-alsa-driver.tmpl
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/Documentation/DocBook/writing-an-alsa-driver.tmpl,v
retrieving revision 1.21
diff -u -r1.21 writing-an-alsa-driver.tmpl
--- alsa-kernel/Documentation/DocBook/writing-an-alsa-driver.tmpl 20 Jan 2004 16:15:02 -0000 1.21
+++ alsa-kernel/Documentation/DocBook/writing-an-alsa-driver.tmpl 26 Jan 2004 09:00:11 -0000
@@ -496,14 +496,14 @@
}
// (4)
- // implemented later
-
- // (5)
strcpy(card->driver, "My Chip");
strcpy(card->shortname, "My Own Chip 123");
sprintf(card->longname, "%s at 0x%lx irq %i",
card->shortname, chip->ioport, chip->irq);
+ // (5)
+ // implemented later
+
// (6)
if ((err = snd_card_register(card)) < 0) {
snd_card_free(card);
@@ -622,21 +622,8 @@
</para>
</section>
- <section id="basic-flow-constructor-create-other">
- <title>4) Create other components, such as mixer, MIDI, etc.</title>
- <para>
- Here you define the basic components such as
- <link linkend="pcm-interface"><citetitle>PCM</citetitle></link>,
- mixer (e.g. <link linkend="api-ac97"><citetitle>AC97</citetitle></link>),
- MIDI (e.g. <link linkend="midi-interface"><citetitle>MPU-401</citetitle></link>),
- and other interfaces.
- Also, if you want a <link linkend="proc-interface"><citetitle>proc
- file</citetitle></link>, define it here, too.
- </para>
- </section>
-
<section id="basic-flow-constructor-main-component">
- <title>5) Set the driver ID and name strings.</title>
+ <title>4) Set the driver ID and name strings.</title>
<para>
<informalexample>
<programlisting>
@@ -660,6 +647,19 @@
The shortname field is a string shown as more verbose
name. The longname field contains the information which is
shown in <filename>/proc/asound/cards</filename>.
+ </para>
+ </section>
+
+ <section id="basic-flow-constructor-create-other">
+ <title>5) Create other components, such as mixer, MIDI, etc.</title>
+ <para>
+ Here you define the basic components such as
+ <link linkend="pcm-interface"><citetitle>PCM</citetitle></link>,
+ mixer (e.g. <link linkend="api-ac97"><citetitle>AC97</citetitle></link>),
+ MIDI (e.g. <link linkend="midi-interface"><citetitle>MPU-401</citetitle></link>),
+ and other interfaces.
+ Also, if you want a <link linkend="proc-interface"><citetitle>proc
+ file</citetitle></link>, define it here, too.
</para>
</section>
Index: alsa-kernel/isa/als100.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/als100.c,v
retrieving revision 1.23
diff -u -r1.23 als100.c
--- alsa-kernel/isa/als100.c 21 Jan 2004 18:32:46 -0000 1.23
+++ alsa-kernel/isa/als100.c 26 Jan 2004 09:00:13 -0000
@@ -240,6 +240,12 @@
return error;
}
+ strcpy(card->driver, "ALS100");
+ strcpy(card->shortname, "Avance Logic ALS100");
+ sprintf(card->longname, "%s, %s at 0x%lx, irq %d, dma %d&%d",
+ card->shortname, chip->name, chip->port,
+ irq[dev], dma8[dev], dma16[dev]);
+
if ((error = snd_sb16dsp_pcm(chip, 0, NULL)) < 0) {
snd_card_free(card);
return error;
@@ -276,11 +282,6 @@
}
}
- strcpy(card->driver, "ALS100");
- strcpy(card->shortname, "Avance Logic ALS100");
- sprintf(card->longname, "%s soundcard, %s at 0x%lx, irq %d, dma %d&%d",
- card->shortname, chip->name, chip->port,
- irq[dev], dma8[dev], dma16[dev]);
if ((error = snd_card_register(card)) < 0) {
snd_card_free(card);
return error;
Index: alsa-kernel/isa/azt2320.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/azt2320.c,v
retrieving revision 1.23
diff -u -r1.23 azt2320.c
--- alsa-kernel/isa/azt2320.c 21 Jan 2004 18:32:46 -0000 1.23
+++ alsa-kernel/isa/azt2320.c 26 Jan 2004 09:00:13 -0000
@@ -271,6 +271,11 @@
return error;
}
+ strcpy(card->driver, "AZT2320");
+ strcpy(card->shortname, "Aztech AZT2320");
+ sprintf(card->longname, "%s, WSS at 0x%lx, irq %i, dma %i&%i",
+ card->shortname, chip->port, irq[dev], dma1[dev], dma2[dev]);
+
if ((error = snd_cs4231_pcm(chip, 0, NULL)) < 0) {
snd_card_free(card);
return error;
@@ -309,11 +314,6 @@
}
}
}
-
- strcpy(card->driver, "AZT2320");
- strcpy(card->shortname, "Aztech AZT2320");
- sprintf(card->longname, "%s soundcard, WSS at 0x%lx, irq %i, dma %i&%i",
- card->shortname, chip->port, irq[dev], dma1[dev], dma2[dev]);
if ((error = snd_card_register(card)) < 0) {
snd_card_free(card);
Index: alsa-kernel/isa/dt019x.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/dt019x.c,v
retrieving revision 1.14
diff -u -r1.14 dt019x.c
--- alsa-kernel/isa/dt019x.c 21 Jan 2004 18:32:46 -0000 1.14
+++ alsa-kernel/isa/dt019x.c 26 Jan 2004 09:00:13 -0000
@@ -227,6 +227,12 @@
return error;
}
+ strcpy(card->driver, "DT-019X");
+ strcpy(card->shortname, "Diamond Tech. DT-019X");
+ sprintf(card->longname, "%s, %s at 0x%lx, irq %d, dma %d",
+ card->shortname, chip->name, chip->port,
+ irq[dev], dma8[dev]);
+
if ((error = snd_sb16dsp_pcm(chip, 0, NULL)) < 0) {
snd_card_free(card);
return error;
@@ -268,11 +274,6 @@
}
}
- strcpy(card->driver, "DT-019X");
- strcpy(card->shortname, "Diamond Tech. DT-019X");
- sprintf(card->longname, "%s soundcard, %s at 0x%lx, irq %d, dma %d",
- card->shortname, chip->name, chip->port,
- irq[dev], dma8[dev]);
if ((error = snd_card_register(card)) < 0) {
snd_card_free(card);
return error;
Index: alsa-kernel/isa/es18xx.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/es18xx.c,v
retrieving revision 1.39
diff -u -r1.39 es18xx.c
--- alsa-kernel/isa/es18xx.c 21 Jan 2004 18:32:46 -0000 1.39
+++ alsa-kernel/isa/es18xx.c 26 Jan 2004 09:00:13 -0000
@@ -2101,6 +2101,20 @@
snd_card_free(card);
return err;
}
+
+ sprintf(card->driver, "ES%x", chip->version);
+ sprintf(card->shortname, "ESS AudioDrive ES%x", chip->version);
+ if (xdma1 != xdma2)
+ sprintf(card->longname, "%s at 0x%lx, irq %d, dma1 %d, dma2 %d",
+ card->shortname,
+ chip->port,
+ xirq, xdma1, xdma2);
+ else
+ sprintf(card->longname, "%s at 0x%lx, irq %d, dma %d",
+ card->shortname,
+ chip->port,
+ xirq, xdma1);
+
if ((err = snd_es18xx_pcm(chip, 0, NULL)) < 0) {
snd_card_free(card);
return err;
@@ -2142,18 +2156,6 @@
card->power_state_private_data = chip;
}
#endif
- sprintf(card->driver, "ES%x", chip->version);
- sprintf(card->shortname, "ESS AudioDrive ES%x", chip->version);
- if (xdma1 != xdma2)
- sprintf(card->longname, "%s at 0x%lx, irq %d, dma1 %d, dma2 %d",
- card->shortname,
- chip->port,
- xirq, xdma1, xdma2);
- else
- sprintf(card->longname, "%s at 0x%lx, irq %d, dma %d",
- card->shortname,
- chip->port,
- xirq, xdma1);
if ((err = snd_card_register(card)) < 0) {
snd_card_free(card);
return err;
Index: alsa-kernel/isa/ad1816a/ad1816a.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/ad1816a/ad1816a.c,v
retrieving revision 1.17
diff -u -r1.17 ad1816a.c
--- alsa-kernel/isa/ad1816a/ad1816a.c 21 Jan 2004 18:32:46 -0000 1.17
+++ alsa-kernel/isa/ad1816a/ad1816a.c 26 Jan 2004 09:00:13 -0000
@@ -221,6 +221,11 @@
return error;
}
+ strcpy(card->driver, "AD1816A");
+ strcpy(card->shortname, "ADI SoundPort AD1816A");
+ sprintf(card->longname, "%s, SS at 0x%lx, irq %d, dma %d&%d",
+ card->shortname, chip->port, irq[dev], dma1[dev], dma2[dev]);
+
if ((error = snd_ad1816a_pcm(chip, 0, NULL)) < 0) {
snd_card_free(card);
return error;
@@ -254,11 +259,6 @@
}
}
}
-
- strcpy(card->driver, "AD1816A");
- strcpy(card->shortname, "ADI SoundPort AD1816A");
- sprintf(card->longname, "%s soundcard, SS at 0x%lx, irq %d, dma %d&%d",
- card->shortname, chip->port, irq[dev], dma1[dev], dma2[dev]);
if ((error = snd_card_register(card)) < 0) {
snd_card_free(card);
Index: alsa-kernel/isa/cs423x/cs4231.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/cs423x/cs4231.c,v
retrieving revision 1.11
diff -u -r1.11 cs4231.c
--- alsa-kernel/isa/cs423x/cs4231.c 30 Oct 2003 14:21:08 -0000 1.11
+++ alsa-kernel/isa/cs423x/cs4231.c 26 Jan 2004 09:00:13 -0000
@@ -117,6 +117,14 @@
snd_card_free(card);
return err;
}
+
+ strcpy(card->driver, "CS4231");
+ strcpy(card->shortname, pcm->name);
+ sprintf(card->longname, "%s at 0x%lx, irq %d, dma %d",
+ pcm->name, chip->port, irq[dev], dma1[dev]);
+ if (dma2[dev] >= 0)
+ sprintf(card->longname + strlen(card->longname), "&%d", dma2[dev]);
+
if ((err = snd_cs4231_mixer(chip)) < 0) {
snd_card_free(card);
return err;
@@ -136,12 +144,6 @@
NULL) < 0)
printk(KERN_ERR "cs4231: MPU401 not detected\n");
}
- strcpy(card->driver, "CS4231");
- strcpy(card->shortname, pcm->name);
- sprintf(card->longname, "%s at 0x%lx, irq %d, dma %d",
- pcm->name, chip->port, irq[dev], dma1[dev]);
- if (dma2[dev] >= 0)
- sprintf(card->longname + strlen(card->longname), "&%d", dma2[dev]);
if ((err = snd_card_register(card)) < 0) {
snd_card_free(card);
return err;
Index: alsa-kernel/isa/cs423x/cs4236.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/cs423x/cs4236.c,v
retrieving revision 1.40
diff -u -r1.40 cs4236.c
--- alsa-kernel/isa/cs423x/cs4236.c 21 Jan 2004 18:32:47 -0000 1.40
+++ alsa-kernel/isa/cs423x/cs4236.c 26 Jan 2004 09:00:13 -0000
@@ -491,6 +491,15 @@
return err;
}
#endif
+ strcpy(card->driver, pcm->name);
+ strcpy(card->shortname, pcm->name);
+ sprintf(card->longname, "%s at 0x%lx, irq %i, dma %i",
+ pcm->name,
+ chip->port,
+ irq[dev],
+ dma1[dev]);
+ if (dma2[dev] >= 0)
+ sprintf(card->longname + strlen(card->longname), "&%d", dma2[dev]);
if ((err = snd_cs4231_timer(chip, 0, NULL)) < 0) {
snd_card_free(card);
@@ -519,15 +528,6 @@
mpu_irq[dev] >= 0 ? SA_INTERRUPT : 0, NULL) < 0)
printk(KERN_ERR IDENT ": MPU401 not detected\n");
}
- strcpy(card->driver, pcm->name);
- strcpy(card->shortname, pcm->name);
- sprintf(card->longname, "%s at 0x%lx, irq %i, dma %i",
- pcm->name,
- chip->port,
- irq[dev],
- dma1[dev]);
- if (dma2[dev] >= 0)
- sprintf(card->longname + strlen(card->longname), "&%d", dma2[dev]);
if ((err = snd_card_register(card)) < 0) {
snd_card_free(card);
return err;
Index: alsa-kernel/isa/es1688/es1688.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/es1688/es1688.c,v
retrieving revision 1.11
diff -u -r1.11 es1688.c
--- alsa-kernel/isa/es1688/es1688.c 14 Oct 2003 13:08:15 -0000 1.11
+++ alsa-kernel/isa/es1688/es1688.c 26 Jan 2004 09:00:13 -0000
@@ -130,6 +130,10 @@
return err;
}
+ strcpy(card->driver, "ES1688");
+ strcpy(card->shortname, pcm->name);
+ sprintf(card->longname, "%s at 0x%lx, irq %i, dma %i", pcm->name, chip->port, xirq, xdma);
+
if ((snd_opl3_create(card, chip->port, chip->port + 2, OPL3_HW_OPL3, 0, &opl3)) < 0) {
printk(KERN_ERR "es1688: opl3 not detected at 0x%lx\n", chip->port);
} else {
@@ -149,9 +153,6 @@
return err;
}
}
- strcpy(card->driver, "ES1688");
- strcpy(card->shortname, pcm->name);
- sprintf(card->longname, "%s at 0x%lx, irq %i, dma %i", pcm->name, chip->port, xirq, xdma);
if ((err = snd_card_register(card)) < 0) {
snd_card_free(card);
return err;
Index: alsa-kernel/isa/opti9xx/opti92x-ad1848.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/opti9xx/opti92x-ad1848.c,v
retrieving revision 1.37
diff -u -r1.37 opti92x-ad1848.c
--- alsa-kernel/isa/opti9xx/opti92x-ad1848.c 21 Jan 2004 18:32:47 -0000 1.37
+++ alsa-kernel/isa/opti9xx/opti92x-ad1848.c 26 Jan 2004 09:00:14 -0000
@@ -2106,6 +2106,17 @@
return error;
}
#endif
+ strcpy(card->driver, chip->name);
+ sprintf(card->shortname, "OPTi %s", card->driver);
+#if defined(CS4231) || defined(OPTi93X)
+ sprintf(card->longname, "%s, %s at 0x%lx, irq %d, dma %d&%d",
+ card->shortname, pcm->name, chip->wss_base + 4,
+ chip->irq, chip->dma1, chip->dma2);
+#else
+ sprintf(card->longname, "%s, %s at 0x%lx, irq %d, dma %d",
+ card->shortname, pcm->name, chip->wss_base + 4,
+ chip->irq, chip->dma1);
+#endif /* CS4231 || OPTi93X */
if (chip->mpu_port <= 0 || chip->mpu_port == SNDRV_AUTO_PORT)
rmidi = NULL;
@@ -2159,17 +2170,6 @@
}
}
- strcpy(card->driver, chip->name);
- sprintf(card->shortname, "OPTi %s", card->driver);
-#if defined(CS4231) || defined(OPTi93X)
- sprintf(card->longname, "%s soundcard, %s at 0x%lx, irq %d, dma %d&%d",
- card->shortname, pcm->name, chip->wss_base + 4,
- chip->irq, chip->dma1, chip->dma2);
-#else
- sprintf(card->longname, "%s soundcard, %s at 0x%lx, irq %d, dma %d",
- card->shortname, pcm->name, chip->wss_base + 4,
- chip->irq, chip->dma1);
-#endif /* CS4231 || OPTi93X */
if ((error = snd_card_register(card))) {
snd_card_free(card);
return error;
Index: alsa-kernel/isa/sb/sb16.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/sb/sb16.c,v
retrieving revision 1.42
diff -u -r1.42 sb16.c
--- alsa-kernel/isa/sb/sb16.c 21 Jan 2004 18:32:47 -0000 1.42
+++ alsa-kernel/isa/sb/sb16.c 26 Jan 2004 09:00:14 -0000
@@ -466,6 +466,22 @@
return -ENXIO;
}
+ strcpy(card->driver,
+#ifdef SNDRV_SBAWE_EMU8000
+ awe_port[dev] > 0 ? "SB AWE" :
+#endif
+ "SB16");
+ strcpy(card->shortname, chip->name);
+ sprintf(card->longname, "%s at 0x%lx, irq %i, dma ",
+ chip->name,
+ chip->port,
+ xirq);
+ if (xdma8 >= 0)
+ sprintf(card->longname + strlen(card->longname), "%d", xdma8);
+ if (xdma16 >= 0)
+ sprintf(card->longname + strlen(card->longname), "%s%d",
+ xdma8 >= 0 ? "&" : "", xdma16);
+
if (chip->mpu_port > 0 && chip->mpu_port != SNDRV_AUTO_PORT) {
if ((err = snd_mpu401_uart_new(card, 0, MPU401_HW_SB,
chip->mpu_port, 0,
@@ -536,21 +552,6 @@
(mic_agc[dev] ? 0x00 : 0x01));
spin_unlock_irqrestore(&chip->mixer_lock, flags);
- strcpy(card->driver,
-#ifdef SNDRV_SBAWE_EMU8000
- awe_port[dev] > 0 ? "SB AWE" :
-#endif
- "SB16");
- strcpy(card->shortname, chip->name);
- sprintf(card->longname, "%s at 0x%lx, irq %i, dma ",
- chip->name,
- chip->port,
- xirq);
- if (xdma8 >= 0)
- sprintf(card->longname + strlen(card->longname), "%d", xdma8);
- if (xdma16 >= 0)
- sprintf(card->longname + strlen(card->longname), "%s%d",
- xdma8 >= 0 ? "&" : "", xdma16);
if ((err = snd_card_register(card)) < 0) {
snd_card_free(card);
return err;
Index: alsa-kernel/pci/als4000.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/als4000.c,v
retrieving revision 1.27
diff -u -r1.27 als4000.c
--- alsa-kernel/pci/als4000.c 21 Jan 2004 18:32:47 -0000 1.27
+++ alsa-kernel/pci/als4000.c 26 Jan 2004 09:00:14 -0000
@@ -688,6 +688,11 @@
snd_als4000_configure(chip);
+ strcpy(card->driver, "ALS4000");
+ strcpy(card->shortname, "Avance Logic ALS4000");
+ sprintf(card->longname, "%s at 0x%lx, irq %i",
+ card->shortname, chip->alt_port, chip->irq);
+
if ((err = snd_mpu401_uart_new( card, 0, MPU401_HW_ALS4000,
gcr+0x30, 1, pci->irq, 0,
&chip->rmidi)) < 0) {
@@ -722,10 +727,6 @@
gameport_register_port(&acard->gameport);
}
#endif
- strcpy(card->driver, "ALS4000");
- strcpy(card->shortname, "Avance Logic ALS4000");
- sprintf(card->longname, "%s at 0x%lx, irq %i",
- card->shortname, chip->alt_port, chip->irq);
if ((err = snd_card_register(card)) < 0) {
snd_card_free(card);
Index: alsa-kernel/pci/es1938.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/es1938.c,v
retrieving revision 1.30
diff -u -r1.30 es1938.c
--- alsa-kernel/pci/es1938.c 21 Jan 2004 18:32:47 -0000 1.30
+++ alsa-kernel/pci/es1938.c 26 Jan 2004 09:00:14 -0000
@@ -1635,6 +1635,14 @@
snd_card_free(card);
return err;
}
+
+ strcpy(card->driver, "ES1938");
+ strcpy(card->shortname, "ESS ES1938 (Solo-1)");
+ sprintf(card->longname, "%s rev %i, irq %i",
+ card->shortname,
+ chip->revision,
+ chip->irq);
+
if ((err = snd_es1938_new_pcm(chip, 0, &pcm)) < 0) {
snd_card_free(card);
return err;
@@ -1669,13 +1677,6 @@
chip->gameport.io = chip->game_port;
gameport_register_port(&chip->gameport);
#endif
-
- strcpy(card->driver, "ES1938");
- strcpy(card->shortname, "ESS ES1938 (Solo-1)");
- sprintf(card->longname, "%s rev %i, irq %i",
- card->shortname,
- chip->revision,
- chip->irq);
if ((err = snd_card_register(card)) < 0) {
snd_card_free(card);
Index: alsa-kernel/pci/fm801.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/fm801.c,v
retrieving revision 1.37
diff -u -r1.37 fm801.c
--- alsa-kernel/pci/fm801.c 21 Jan 2004 18:32:47 -0000 1.37
+++ alsa-kernel/pci/fm801.c 26 Jan 2004 09:00:15 -0000
@@ -1083,6 +1083,13 @@
snd_card_free(card);
return err;
}
+
+ strcpy(card->driver, "FM801");
+ strcpy(card->shortname, "ForteMedia FM801-");
+ strcat(card->shortname, chip->multichannel ? "AU" : "AS");
+ sprintf(card->longname, "%s at 0x%lx, irq %i",
+ card->shortname, chip->port, chip->irq);
+
if ((err = snd_fm801_pcm(chip, 0, NULL)) < 0) {
snd_card_free(card);
return err;
@@ -1107,12 +1114,6 @@
snd_card_free(card);
return err;
}
-
- strcpy(card->driver, "FM801");
- strcpy(card->shortname, "ForteMedia FM801-");
- strcat(card->shortname, chip->multichannel ? "AU" : "AS");
- sprintf(card->longname, "%s at 0x%lx, irq %i",
- card->shortname, chip->port, chip->irq);
if ((err = snd_card_register(card)) < 0) {
snd_card_free(card);
Index: alsa-kernel/pci/sonicvibes.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/sonicvibes.c,v
retrieving revision 1.30
diff -u -r1.30 sonicvibes.c
--- alsa-kernel/pci/sonicvibes.c 21 Jan 2004 18:32:47 -0000 1.30
+++ alsa-kernel/pci/sonicvibes.c 26 Jan 2004 09:00:15 -0000
@@ -1469,6 +1469,15 @@
snd_card_free(card);
return err;
}
+
+ strcpy(card->driver, "SonicVibes");
+ strcpy(card->shortname, "S3 SonicVibes");
+ sprintf(card->longname, "%s rev %i at 0x%lx, irq %i",
+ card->shortname,
+ sonic->revision,
+ pci_resource_start(pci, 1),
+ sonic->irq);
+
if ((err = snd_sonicvibes_pcm(sonic, 0, NULL)) < 0) {
snd_card_free(card);
return err;
@@ -1499,13 +1508,6 @@
sonic->gameport.io = sonic->game_port;
gameport_register_port(&sonic->gameport);
#endif
- strcpy(card->driver, "SonicVibes");
- strcpy(card->shortname, "S3 SonicVibes");
- sprintf(card->longname, "%s rev %i at 0x%lx, irq %i",
- card->shortname,
- sonic->revision,
- pci_resource_start(pci, 1),
- sonic->irq);
if ((err = snd_card_register(card)) < 0) {
snd_card_free(card);
Index: alsa-kernel/pci/trident/trident.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/trident/trident.c,v
retrieving revision 1.20
diff -u -r1.20 trident.c
--- alsa-kernel/pci/trident/trident.c 12 Aug 2003 14:10:16 -0000 1.20
+++ alsa-kernel/pci/trident/trident.c 26 Jan 2004 09:00:16 -0000
@@ -106,6 +106,30 @@
snd_card_free(card);
return err;
}
+
+ switch (trident->device) {
+ case TRIDENT_DEVICE_ID_DX:
+ str = "TRID4DWAVEDX";
+ break;
+ case TRIDENT_DEVICE_ID_NX:
+ str = "TRID4DWAVENX";
+ break;
+ case TRIDENT_DEVICE_ID_SI7018:
+ str = "SI7018";
+ break;
+ default:
+ str = "Unknown";
+ }
+ strcpy(card->driver, str);
+ if (trident->device == TRIDENT_DEVICE_ID_SI7018) {
+ strcpy(card->shortname, "SiS ");
+ } else {
+ strcpy(card->shortname, "Trident ");
+ }
+ strcat(card->shortname, card->driver);
+ sprintf(card->longname, "%s PCI Audio at 0x%lx, irq %d",
+ card->shortname, trident->port, trident->irq);
+
if ((err = snd_trident_pcm(trident, pcm_dev++, NULL)) < 0) {
snd_card_free(card);
return err;
@@ -140,29 +164,6 @@
#endif
snd_trident_gameport(trident);
-
- switch (trident->device) {
- case TRIDENT_DEVICE_ID_DX:
- str = "TRID4DWAVEDX";
- break;
- case TRIDENT_DEVICE_ID_NX:
- str = "TRID4DWAVENX";
- break;
- case TRIDENT_DEVICE_ID_SI7018:
- str = "SI7018";
- break;
- default:
- str = "Unknown";
- }
- strcpy(card->driver, str);
- if (trident->device == TRIDENT_DEVICE_ID_SI7018) {
- strcpy(card->shortname, "SiS ");
- } else {
- strcpy(card->shortname, "Trident ");
- }
- strcat(card->shortname, card->driver);
- sprintf(card->longname, "%s PCI Audio at 0x%lx, irq %d",
- card->shortname, trident->port, trident->irq);
if ((err = snd_card_register(card)) < 0) {
snd_card_free(card);
Index: alsa-kernel/pci/ymfpci/ymfpci.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/ymfpci/ymfpci.c,v
retrieving revision 1.32
diff -u -r1.32 ymfpci.c
--- alsa-kernel/pci/ymfpci/ymfpci.c 28 Oct 2003 11:28:01 -0000 1.32
+++ alsa-kernel/pci/ymfpci/ymfpci.c 26 Jan 2004 09:00:16 -0000
@@ -247,6 +247,12 @@
#ifdef SUPPORT_JOYSTICK
chip->joystick_res = joystick_res;
#endif
+ strcpy(card->driver, str);
+ sprintf(card->shortname, "Yamaha DS-XG (%s)", str);
+ sprintf(card->longname, "%s at 0x%lx, irq %i",
+ card->shortname,
+ chip->reg_area_phys,
+ chip->irq);
if ((err = snd_ymfpci_pcm(chip, 0, NULL)) < 0) {
snd_card_free(card);
return err;
@@ -300,12 +306,6 @@
gameport_register_port(&chip->gameport);
}
#endif
- strcpy(card->driver, str);
- sprintf(card->shortname, "Yamaha DS-XG PCI (%s)", str);
- sprintf(card->longname, "%s at 0x%lx, irq %i",
- card->shortname,
- chip->reg_area_phys,
- chip->irq);
if ((err = snd_card_register(card)) < 0) {
snd_card_free(card);
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
^ permalink raw reply
* Apache:access_log - 408
From: ccddtt @ 2004-01-26 9:06 UTC (permalink / raw)
To: netfilter, netfilter
hi,all
please help me.
my linux server installed redhat 9 + apache 1.3.29. passing through some attack.
in apache acc_log,like :
221.233.227.230 - - [17/Jan/2004:17:26:32 +0800] "-" 408 -
221.233.227.230 - - [17/Jan/2004:17:26:32 +0800] "-" 408 -
221.233.227.230 - - [17/Jan/2004:17:26:32 +0800] "-" 408 -
61.145.188.110 - - [17/Jan/2004:17:26:32 +0800] "-" 408 -
210.38.179.145 - - [17/Jan/2004:17:26:32 +0800] "-" 408 -
221.233.227.230 - - [17/Jan/2004:17:26:32 +0800] "-" 408 -
but no err_log.
some packge like :
Jan 18 19:35:53 linux-sv1 kernel: IN=eth0 OUT= MAC=00:07:e9:6c:4c:49:00:02:b3:03:e3:67:08:00 SRC=220.173.8.56 DST=61.135.xx.xx LEN=40 TOS=0x00 PREC=0x00 TTL=114 ID=42497 DF PROTO=TCP SPT=60177 DPT=80 WINDOW=8280 RES=0x00 ACK URGP=0
Jan 18 19:35:53 linux-sv1 kernel: IN=eth0 OUT= MAC=00:07:e9:6c:4c:49:00:02:b3:03:e3:67:08:00 SRC=220.173.8.56 DST=61.135.xx.xx LEN=40 TOS=0x00 PREC=0x00 TTL=114 ID=42753 DF PROTO=TCP SPT=60177 DPT=80 WINDOW=8280 RES=0x00 ACK URGP=0
Jan 18 19:35:53 linux-sv1 kernel: IN=eth0 OUT= MAC=00:07:e9:6c:4c:49:00:02:b3:03:e3:67:08:00 SRC=61.173.25.88 DST=61.135.xx.xx LEN=40 TOS=0x00 PREC=0x00 TTL=115 ID=53402 DF PROTO=TCP SPT=63601 DPT=80 WINDOW=16560 RES=0x00 ACK URGP=0
Jan 18 19:35:53 linux-sv1 kernel: IN=eth0 OUT= MAC=00:07:e9:6c:4c:49:00:02:b3:03:e3:67:08:00 SRC=220.173.8.56 DST=61.135.xx.xx LEN=40 TOS=0x00 PREC=0x00 TTL=114 ID=43265 DF PROTO=TCP SPT=60182 DPT=80 WINDOW=8280 RES=0x00 ACK URGP=0
how to set this iptables rules?
what's this attack?
thanks your any help!
^ permalink raw reply
* [PATCH] usbmidi: remove superfluous error check
From: Clemens Ladisch @ 2004-01-26 9:04 UTC (permalink / raw)
To: alsa-devel
ENODEV actually never happens in a completion handler
Index: alsa-kernel/usb/usbmidi.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/usb/usbmidi.c,v
retrieving revision 1.21
diff -u -r1.21 usbmidi.c
--- alsa-kernel/usb/usbmidi.c 17 Jul 2003 17:42:25 -0000 1.21
+++ alsa-kernel/usb/usbmidi.c 26 Jan 2004 09:00:57 -0000
@@ -142,8 +142,7 @@
{
if (status == -ENOENT)
return status; /* killed */
- if (status == -ENODEV ||
- status == -EILSEQ ||
+ if (status == -EILSEQ ||
status == -ETIMEDOUT)
return -ENODEV; /* device removed */
snd_printk(KERN_ERR "urb status %d\n", status);
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
^ permalink raw reply
* NEXT OF KIN
From: Jean Butler @ 2004-01-26 8:55 UTC (permalink / raw)
To: linux-kernel
My Name is JEAN BUTLER an accountant with Durra Oil Refinery Company, in order to tranfer a total of $36M. US Dollars,
I have the courage to contact you to be Next of Kin. This is a very confidential transaction and I will forward all the information
to you as soon as you indicate your interest to assist me. This money was made from contracts with Durra Oil Refinery Company Iraq.
I am keeping this information short until you contact me for details. Immediately you contact me, I will forward all the details concerning
the business to you.
Contact me on: butlerjean@mmail.com
butlerjean1@mmail.com
Best regards
JEAN BUTLER
^ permalink raw reply
* Re: 2.6.2-rc1-mm2 (msp34xx badness in sched.c)
From: David Woodhouse @ 2004-01-26 8:43 UTC (permalink / raw)
To: Tony Vroon; +Cc: linux-kernel, kraxel
In-Reply-To: <200401242347.41497.tony@vroon.org>
On Sat, 2004-01-24 at 23:47 +0100, Tony Vroon wrote:
> sleep_on called without kernel_lock, from what it looks like in msp34xx.
Fairly typical example of the type of error the additional check was
expected to find. Note also that the same thread should be using
complete_and_exit().
I suspect some of the instances of del_timer() should be
del_timer_sync() too. Particularly in msp_wake_thread() and
map_detach().
Is there something we can do to make del_timer() break when it should
have been del_timer_sync()... like waiting five seconds and then
deliberately calling it on another CPU? :)
> Badness in interruptible_sleep_on at kernel/sched.c:2230
> Call Trace:
> [<c011ed24>] interruptible_sleep_on+0xf4/0x100
> [<c011e950>] default_wake_function+0x0/0x20
> [<c02b9a27>] msp3410d_thread+0xa7/0x680
> [<c02b9980>] msp3410d_thread+0x0/0x680
> [<c0108e69>] kernel_thread_helper+0x5/0xc
--
dwmw2
^ permalink raw reply
* RE: Q: Filesystem choice..
From: David Woodhouse @ 2004-01-26 8:38 UTC (permalink / raw)
To: joakim.tjernlund; +Cc: linux-mtd, 'Eric W. Biederman'
In-Reply-To: <000d01c3e3e7$385e71d0$0a01a8c0@LUMENTIS02>
On Mon, 2004-01-26 at 09:34 +0100, Joakim Tjernlund wrote:
> size = 63*1024*1024/50 = 1321205
> size += 252*100 = 1321457
> size += 256*1024 -1 = 1583600
>
> resv_blocks_write = 2 + 1583600/(256*1024) = 2 + 6 = 8
> resv_blocks_gcmerge = 2+1 = 3
>
> So now I need 8(2 MB) reserved blocks instead of 5?
> I never had any trouble with 5 reserved blocks, maybe one could do a
> resv_blocks_write = MIN(5, resv_blocks_write) iff NOR flash?
I'd be happier about reducing the 2% figure to 1% or 1.5%, maybe.
--
dwmw2
^ permalink raw reply
* Re: [OOPS] Linux-2.6.1 suspend/resume
From: Udo A. Steinberg @ 2004-01-26 8:35 UTC (permalink / raw)
To: Hugang; +Cc: Linux Kernel Mailing List
In-Reply-To: <20040126121632.70097914@localhost>
[-- Attachment #1: Type: text/plain, Size: 226 bytes --]
On Mon, 26 Jan 2004 12:16:31 +0800 Hugang (H) wrote:
H> I think if you can let usb, e100 as module, before suspend rmmod it,
H> resume will be ok.
H>
H> pls try.
The kernel is monolithic. I'm not using any modules.
-Udo.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply
* Re: PATCH: (as177) Add class_device_unregister_wait() and platform_device_unregister_wait() to the driver model core
From: Helge Hafting @ 2004-01-26 8:48 UTC (permalink / raw)
To: Steve Youngs; +Cc: Linux Kernel List
In-Reply-To: <microsoft-free.87d697s18l.fsf@eicq.dnsalias.org>
Steve Youngs wrote:
> * Valdis Kletnieks <Valdis.Kletnieks@vt.edu> writes:
>
> > On Mon, 26 Jan 2004 15:06:48 +1000, Steve Youngs <sryoungs@bigpond.net.au> said:
> >> > A boolean is just a one-bit reference count. If the maximum number of
> >> > simultaneous 'users' for a given module is one, then a boolean will work.
> >> > If there is potential for more than one simultaneous user then you need
> >> > more bits.
> >>
> >> Why? A module is either being used or it isn't, the number of uses
> >> shouldn't even come into it.
>
> > OK. There's 2 users of the module. The first one exits. How does
> > it (or anything else) know that it's NOT safe to just clear the
> > in-use bit and clean it up?
>
> Because the 2nd user is still using the module so its in-use bit
> should still be set. Remember that when the module was first loaded
> it registered a function with the kernel for testing whether the
> module is in use.
Are you talking about an in-use bit _per module_ or an in-use bit _per user_ ???
Either way has some problems:
In-use bit per module:
This is what everybody thought yopu were talking about up until now.
The problem above is real: There are 2 (or more) users. One exits.
How does the code know that it can't clear the module's in-use bit?
This one user doesn't know about the other users - how could it?
And there is no "number of users" anywhere because you said you
didn't want that. (The number would be the refcount you tries to get rid of)
Problems, and you haven't provided a solution yet.
Possible solution: Let each user know about all the others so it
can check wether it is ok to clear the in-use bit. This is unworkable!
In-use bit per user:
Your comment about the second users in-use bit being set seems to imply
that you want an in-use bit per module user. (instead of per module).
The rule now becomes "no unloading as long as there is at least one
in-use bit set for this module." There may be several such bits.
This seems straightforward enough until you try to manage such
a set of bits. I might try to unload a module: The unload code checks
the first user bit - it is not set. So that user isn't using the module
now. Fine. Check the next bit - not in use there either. And so on.
It is a lengthy procedure, which is dangerous. Think SMP or preempt:
The unload function are checking the last in-use bits (after first checking the first ones
and finding them all zeroed), and then the first
module user sets his bit because he starts using the module again.
This is what we call a "race". The module unloader comes to the wrong
conclusion - that the module isn't in use - because a user came in and
used it _while_ the bits were being counted.
Solutions:
1. Use locks for manipulating the multiple in-use bits. Too slow.
2. Use refcounting instead. Better, because the count can be changed and tested
atomically, avoiding the above mentioned race _and_ the slow locking.
There are some cases where even this is too slow, but such a module could
be made "not unloadable". To take Linus' example of a packet filter
module: It cannot be unloaded on its own because an interrupt can
make use of it anytime, making refcounting too expensive.
Unloading it is possible however, as part
of unloading the entire TCP/IP module as a whole. You may then
reload tcp/ip without packet filtering if you so wish...
>
> I must be overlooking something
Sure.
> because I see the answer so clearly.
> Maybe if someone could give me a real world example of a situation
> where it'd be hard/impossible/unsafe to unload a module and I'll see
> if my ideas can be applied.
Try the above. Or look at actual code people have problems with. Run tests
(on SMP) and get some surprises. Basically, the surprises revolve
around several things happening simultaneously.
Note that many modules (but not all of the existing ones) _can_ be made safely unloadable.
Those that can do it simply don't bother - because they have more important
and/or interesting work to do. Feel free to volunteer for fixing things . . .
Helge Hafting
^ permalink raw reply
* RE: Q: Filesystem choice..
From: Joakim Tjernlund @ 2004-01-26 8:34 UTC (permalink / raw)
To: 'David Woodhouse', 'Eric W. Biederman'; +Cc: linux-mtd
In-Reply-To: <1075102799.17157.209.camel@lapdancer.baythorne.internal>
> When you get down to the kind of sizes you're talking about, I suspect
> we need to be thinking in bytes rather than blocks -- because there
> isn't just one threshold; there's many, of which three are
> particularly
> relevant:
>
> /* Deletion should almost _always_ be allowed. We're fairly
> buggered once we stop allowing people to delete stuff
> because there's not enough free space... */
> c->resv_blocks_deletion = 2;
>
>
> /* Be conservative about how much space we need
> before we allow writes.
> On top of that which is required for deletia,
> require an extra 2%
> of the medium to be available, for overhead caused
> by nodes being
> split across blocks, etc. */
>
>
> size = c->flash_size / 50; /* 2% of flash size */
> size += c->nr_blocks * 100; /* And 100 bytes per eraseblock */
> size += c->sector_size - 1; /* ... and round up */
>
>
> c->resv_blocks_write = c->resv_blocks_deletion +
> (size / c->sector_size);
>
> /* When do we allow garbage collection to merge nodes to make
> long-term progress at the expense of short-term
> space exhaustion? */
> c->resv_blocks_gcmerge = c->resv_blocks_deletion + 1;
>
>
> You want resv_blocks_write to be larger than
> resv_blocks_deletion, and I
> suspect you could get away with values of 2 and 1.5
> respectively, if we
> were counting bytes rather than whole eraseblocks.
>
> Then resv_blocks_gcmerge wants to be probably about the same as
> resv_blocks_deletion, to make sure we get as much benefit from GC as
> possible.
Hmm, I got a ~63 MB JFFS2 NOR(EB=256 KB) FS. If I understand the above calculations above correcly, I get:
size = 63*1024*1024/50 = 1321205
size += 252*100 = 1321457
size += 256*1024 -1 = 1583600
resv_blocks_write = 2 + 1583600/(256*1024) = 2 + 6 = 8
resv_blocks_gcmerge = 2+1 = 3
So now I need 8(2 MB) reserved blocks instead of 5?
I never had any trouble with 5 reserved blocks, maybe one could do a
resv_blocks_write = MIN(5, resv_blocks_write) iff NOR flash?
Jocke
^ permalink raw reply
* Congratulations on 2.6!
From: m.mohr @ 2004-01-26 8:30 UTC (permalink / raw)
To: linux-kernel
Hello kernel developers:
I just want to congratulate you on an excellent (as usual) release of the
2.6 series Linux kernel. I recently upgraded from 2.4.23 to 2.6.1 and am
totally blown away by the improvements and upgrades.
Thank you so much for continuing to provide an excellent product.
Regards,
Michael Mohr
Slackware 9.1
San Diego, California, USA
P.S. Please CC me if you reply. I am not subscribed to this list.
^ permalink raw reply
* Re: New NUMA scheduler and hotplug CPU
From: Nick Piggin @ 2004-01-26 8:26 UTC (permalink / raw)
To: Rusty Russell, Martin J. Bligh; +Cc: linux-kernel
In-Reply-To: <20040125235431.7BC192C0FF@lists.samba.org>
Rusty Russell wrote:
>Hi Nick!
>
> Looking at your new scheduler in -mm, it uses cpu_online_map
>alot in arch_init_sched_domains. This means with hotplug CPU that it
>would need to be modified: certainly possible to do, but messy.
>
> The other option is to use cpu_possible_map to create the full
>topology up front, and then it need never change. AFAICT, no other
>changes are neccessary: you already check against moving tasks to
>offline cpus.
>
>Anyway, I was just porting the hotplug CPU patches over to -mm, and
>came across this, so I thought I'd ask.
>
Hi Rusty,
Yes I'd like to use the cpu_possible_map to create the full
topology straight up. Martin?
^ permalink raw reply
* Re: ax25 support in aprsd
From: John Williams @ 2004-01-26 8:22 UTC (permalink / raw)
To: linux-hams
In-Reply-To: <Pine.LNX.4.44.0401260113250.3685-100000@mobile.adis.ca>
WIDE is just an alias that another aprs digipeater will pick up on
With just WIDE the WIDE will be replaced by the call sign of the digipeater that picks up on
your packet.
For example if in aprsd my aprspath was set to APD223 v WIDE
It would look like this using 'listen' to monitor the packets.
1: fm VK5UJ-1 to APD223 via WIDE ctl UI^ pid=F0(Text) len 97
0000 }VK2JPJ-1>APZ186,TCPIP*,VK5UJ-1*:!3351.89SU15112.22E#PHG5750/ Di
0040 gi Supports RELAY, WIDE, TRACEM.M
The 223 is just the aprs version, APD is the typical prefix for aprsd. So APD223 makes up the
destination address and the ' v WIDE ' is the path you want the packet to attempt to digipeat
via.
You need to make it compatible with what is correct for your area. It could be further than just
one digipeater.
Suggest you look at monitoring frames in your area and see what is typical. Talk with the local
aprs groups or groups.
If you want to gate packets to RF, you will want to look at the following to limit the amount of
traffic going to RF.
An example
gate2rf VK5* PC* W3ADO* RS0ISS* ARISS* WU2Z
#gate2rf VK5*
#
# Call signs of stations whose posits are gated
# to RF every 15 minutes. Only posit packets are
# gated. Posits are taken from the history list.
# They are case sensitive! Use upper case.
#
posit2rf VK*
#posit2rf VK5*
#
# Define a list of message destination call signs or aliases
# to gate to RF full time. Note: the CQGA example
# below is CQ GA (Georgia). Edit to suite your locale.
# Up to 64 of these may be defined. They are case sensitive.
#
#msgdest2rf VK5* AX5* VI5* BLN*
msgdest2rf VK5* AX5* VI5*
#
#end
Regards
John
VK5ZTY
On 26 Jan 2004 at 1:19, Adi Linden wrote:
> > Set aprspath to "APRS v WIDE" or similar.
>
> What does the aprspath do? I don't quite understand the APRS v WIDE, but
> that could be because I should really be sleeping.
>
>
^ permalink raw reply
* [LARTC] Re: Problems with netfilter
From: Nikhil Jogia @ 2004-01-26 8:22 UTC (permalink / raw)
To: lartc
I have fixed half of the problem with:
iptables -A OUTPUT -t mangle -p tcp --dport 25 -j MARK --set-mark 25
ip rule add fwmark 25 lookup mail
ip route add default via xxx.xxx.xxx.xxx dev ppp0 table mail
Running tcpdump it appears that port 25 traffic is be routed through the
ADSL connection. However, the source IP address appears to be the cable IP
address (cable is the default gateway). I have put SNAT rules in place,
however they don't seem to work.
The SNAT rules I used were:
iptables -t nat -A POSTROUTING -o ppp0 -j SNAT --to yyy.yyy.yyy.yyy
and the same thing with the cable connection.
Rememeber, the packets are being generated locally through the mail server
(qmail).
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.563 / Virus Database: 355 - Release Date: 17/01/2004
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply
* [Qemu-devel] Reactos not booting
From: Jens Arm @ 2004-01-26 8:18 UTC (permalink / raw)
To: qemu-devel
Hi
The newest reactos 0.2 is not booting :(
Any hints.
Jens
^ permalink raw reply
* Re: Loadable module and kernel gp
From: Christian Hildner @ 2004-01-26 8:05 UTC (permalink / raw)
To: linux-ia64
In-Reply-To: <4010EEC0.7020003@hob.de>
Luck, Tony schrieb:
>>>>>>>On Fri, 23 Jan 2004 10:52:00 +0100, Christian Hildner
>>>>>>>
>>>>>>>
>><christian.hildner@hob.de> said:
>>
>> Christian> Hi, does anybody know a simple way for a loadable module
>> Christian> to get the gp value of the kernel? Is there any sample
>> Christian> code?
>>
>>The safest way is probably to materialize a function pointer for a
>>function that is known to be in the kernel (and exported) and then to
>>read the second word.
>>
Yes, that's it, thanks. Sometimes good solutions are also simple. I'll
try it.
>
>In case "materialzie a function pointer" is total greek:
>
>#include <linux/slab.h>
>
>struct fptr {
> unsigned long func_addr;
> unsigned long gp;
>};
>
>your_routine()
>{
> struct fptr = (struct fptr *)kmalloc; /*function known to be in kernel */
>
> printk("Kernel gp is %lx\n", fptr->gp);
>}
>
>
>Untested ... kmalloc is declared "inline" so that might mess things
>up. Just choose some other exported thing if it is.
>
I hope the compiler will not explode if I request the pointer to an
inlined function ;-). I like the idea of using kmalloc since this symbol
should be present in almost any kernel.
Thanks
Christian
^ permalink raw reply
* Re: [PATCH] 2.6.1 tg3 DMA engine test failure
From: David S. Miller @ 2004-01-26 7:52 UTC (permalink / raw)
To: grundler; +Cc: jgarzik, linux-kernel, linux-net
In-Reply-To: <20040125021306.GE16272@colo.lackof.org>
Ok, here is the final patch I added to my tree.
Thanks again Grant.
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.1519 -> 1.1520
# drivers/net/tg3.c 1.120 -> 1.121
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 04/01/25 grundler@parisc-linux.org 1.1520
# [TG3]: Fix DMA test failures.
#
# 1) Do not reset subcomponents. GRC reset takes care of it.
# 2) Improve test by verifying the data on the card too.
# 3) Do not set DMA_RWCTRL_ASSERT_ALL_BE on chips where the
# meaning of this bit is different.
# --------------------------------------------
#
diff -Nru a/drivers/net/tg3.c b/drivers/net/tg3.c
--- a/drivers/net/tg3.c Sun Jan 25 23:57:37 2004
+++ b/drivers/net/tg3.c Sun Jan 25 23:57:37 2004
@@ -7190,26 +7190,33 @@
test_desc.addr_lo = buf_dma & 0xffffffff;
test_desc.nic_mbuf = 0x00002100;
test_desc.len = size;
+
+ /*
+ * HP ZX1 was seeing test failures for 5701 cards running at 33Mhz
+ * the *second* time the tg3 driver was getting loaded after an
+ * initial scan.
+ *
+ * Broadcom tells me:
+ * ...the DMA engine is connected to the GRC block and a DMA
+ * reset may affect the GRC block in some unpredictable way...
+ * The behavior of resets to individual blocks has not been tested.
+ *
+ * Broadcom noted the GRC reset will also reset all sub-components.
+ */
if (to_device) {
test_desc.cqid_sqid = (13 << 8) | 2;
- tw32(RDMAC_MODE, RDMAC_MODE_RESET);
- tr32(RDMAC_MODE);
- udelay(40);
tw32(RDMAC_MODE, RDMAC_MODE_ENABLE);
tr32(RDMAC_MODE);
udelay(40);
} else {
test_desc.cqid_sqid = (16 << 8) | 7;
- tw32(WDMAC_MODE, WDMAC_MODE_RESET);
- tr32(WDMAC_MODE);
- udelay(40);
tw32(WDMAC_MODE, WDMAC_MODE_ENABLE);
tr32(WDMAC_MODE);
udelay(40);
}
- test_desc.flags = 0x00000004;
+ test_desc.flags = 0x00000005;
for (i = 0; i < (sizeof(test_desc) / sizeof(u32)); i++) {
u32 val;
@@ -7368,9 +7375,19 @@
GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5701) {
/* Remove this if it causes problems for some boards. */
tp->dma_rwctrl |= DMA_RWCTRL_USE_MEM_READ_MULT;
- }
- tp->dma_rwctrl |= DMA_RWCTRL_ASSERT_ALL_BE;
+ /* On 5700/5701 chips, we need to set this bit.
+ * Otherwise the chip will issue cacheline transactions
+ * to streamable DMA memory with not all the byte
+ * enables turned on. This is an error on several
+ * RISC PCI controllers, in particular sparc64.
+ *
+ * On 5703/5704 chips, this bit has been reassigned
+ * a different meaning. In particular, it is used
+ * on those chips to enable a PCI-X workaround.
+ */
+ tp->dma_rwctrl |= DMA_RWCTRL_ASSERT_ALL_BE;
+ }
tw32(TG3PCI_DMA_RW_CTRL, tp->dma_rwctrl);
@@ -7385,28 +7402,38 @@
goto out;
while (1) {
- u32 *p, i;
+ u32 *p = buf, i;
- p = buf;
for (i = 0; i < TEST_BUFFER_SIZE / sizeof(u32); i++)
p[i] = i;
/* Send the buffer to the chip. */
ret = tg3_do_test_dma(tp, buf, buf_dma, TEST_BUFFER_SIZE, 1);
- if (ret)
+ if (ret) {
+ printk(KERN_ERR "tg3_test_dma() Write the buffer failed %d\n", ret);
break;
+ }
- p = buf;
- for (i = 0; i < TEST_BUFFER_SIZE / sizeof(u32); i++)
+ /* validate data reached card RAM correctly. */
+ for (i = 0; i < TEST_BUFFER_SIZE / sizeof(u32); i++) {
+ u32 val;
+ tg3_read_mem(tp, 0x2100 + (i*4), &val);
+ if (val != p[i]) {
+ printk( KERN_ERR " tg3_test_dma() Card buffer currupted on write! (%d != %d)\n", val, i);
+ /* ret = -ENODEV here? */
+ }
p[i] = 0;
+ }
/* Now read it back. */
ret = tg3_do_test_dma(tp, buf, buf_dma, TEST_BUFFER_SIZE, 0);
- if (ret)
+ if (ret) {
+ printk(KERN_ERR "tg3_test_dma() Read the buffer failed %d\n", ret);
+
break;
+ }
/* Verify it. */
- p = buf;
for (i = 0; i < TEST_BUFFER_SIZE / sizeof(u32); i++) {
if (p[i] == i)
continue;
@@ -7417,6 +7444,7 @@
tw32(TG3PCI_DMA_RW_CTRL, tp->dma_rwctrl);
break;
} else {
+ printk(KERN_ERR "tg3_test_dma() buffer corrupted on read back! (%d != %d)\n", p[i], i);
ret = -ENODEV;
goto out;
}
^ permalink raw reply
* Re: NTP problems
From: Erik Hensema @ 2004-01-26 8:01 UTC (permalink / raw)
To: linux-kernel
In-Reply-To: <DC23FC33129BF1459F3105CC68E8581C5C6C9B@nbexmb01.aliant.icn>
Shaw, Marco (Marco.Shaw@aliant.ca) wrote:
> I've not been able to get NTP working on some of my RH7.2 and RHAS2.1 systems.
>
> Absolutely no TCP or UDP traffic shows in a tcpdump. The
> command ntpdate gives me this and nothing more:
>
> 15 Jan 10:06:59 ntpdate[22868]: poll(): nfound = 0, error: Success
Is this on a 2.6 kernel? I have similar problems between two 2.6
machines, but haven't investigated it much yet.
Both systems work well as a client. My home server running 2.6 is
NTP server to the rest of the network at home. A 2.4 machine can
sync its time, but a 2.6 machine can't. The 2.6 client can sync
to the public ntp servers on the internet.
(this is all IIRC)
--
Erik Hensema <erik@hensema.net>
^ permalink raw reply
* Re: MPC823E SMC/I2C/SPI micropatch
From: Wolfgang Denk @ 2004-01-26 8:00 UTC (permalink / raw)
To: Jan Damborsky; +Cc: Steven Blakeslee, linuxppc-dev
In-Reply-To: <4014C088.1020208@devcom.cz>
In message <4014C088.1020208@devcom.cz> you wrote:
>
> I have found out that CPM micropatch
> available in linux-2.4 from Wolfgang Denk
> site (the kernel we use successfuly on our
> custom boards at present) is applicable as well.
You have to select the _correct_ uCode patch.
There is one patch for the MPC850, and another one for all other 8xx
processors. And there is the USB SOF potch for the MPC823.
Best regards,
Wolfgang Denk
--
See us @ Embedded World, Nuremberg, Feb 17 - 19, Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
Another dream that failed. There's nothing sadder.
-- Kirk, "This side of Paradise", stardate 3417.3
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply
* Re: IPTABLES + IPROUTE2
From: Klemen Kecman @ 2004-01-26 7:53 UTC (permalink / raw)
To: netfilter
In-Reply-To: <EHENIKBEJAMHPLPJOJBPCEDKDIAA.lucho@galix.com>
$IPT -t nat -A PREROUTING -p tcp -d xxx.xxx.xxx.xxx --dport 53 -j
DNAT --to-destination xxx.xxx.xxx.xxx:53
It will forward the packet as it is to the destination ip and port. If u
have to change the packet what so ever then mangle it.
Klemen Kecman
----- Original Message -----
From: "L.Malinov" <lucho@galix.com>
To: <netfilter@lists.netfilter.org>
Sent: Friday, January 23, 2004 12:44 PM
Subject: IPTABLES + IPROUTE2
> Hi there,
>
> I have the following configuration: Local Net with Linux RedHat 9.0 Squid
> proxy server (with one net card) and 2 gateways - router1 and router2. The
> default gateway for everyone including the proxy is router1. I'd like, the
> http request from the local net sent to the proxy to be forwarded to the
> Internet via router2. I'm trying the following configuration:
>
> iptables -A OUTPUT -o eth0 -t mangle -p tcp --dport 80 -j MARK --set-mark
2
> echo 202 www.out >> /etc/iproute2/rt_tables
> ip rule add fwmark 2 table www.out
> ip route add default via router2 dev eth0 table www.out
>
> It looks like the packets go through the right chain under iptables and
get
> marked, however after that they still don't get forwarded via router2 but
> router1. What could be wrong in this config and is this possible to
achieve
> at all with the above configuration?
>
> Regards
>
> L.Malinov
>
>
^ permalink raw reply
* Re: chrp mmu and booting.
From: Segher Boessenkool @ 2004-01-26 7:52 UTC (permalink / raw)
To: Peter Bergner; +Cc: linuxppc-dev list, Sven Luther
In-Reply-To: <1074890984.2840.25.camel@otta.rchland.ibm.com>
> Yes, you can boot any 32-bit ELF binary from OF. Yaboot and the zImage
> wrapper for the 64-bit kernel are both 32-bit ELF binaries, so you can
> boot either of these. Note that you cannot boot a plain PPC64 vmlinux,
> as the OF ELF loader doesn't support 64-bit ELF binaries.
This is OF implementation dependent -- for example, the Apple one will
load 64-bit ELF just fine (iirc).
Segher
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
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.