VLAN tag stacking with bridge/tap device ?

2019-08-14 Thread Stephan von Krawczynski
Hello all, I try to do a setup with qemu and tap devices attached to bridges where 802.1Q vlan packets that are tag stacked are running through the tap device/bridge where the outer tag is stripped. But it seems on the way back out of qemu/guest and back through the tap and bridge no additional

Re: x86/fpu: Don't export __kernel_fpu_{begin,end}()

2019-01-21 Thread Stephan von Krawczynski
On Tue, 15 Jan 2019 14:42:21 +0100 Greg Kroah-Hartman wrote: > On Tue, Jan 15, 2019 at 02:01:48PM +0100, Rene Schickbauer wrote: > > To be frank, your argument, which boils down to "GPL is the only correct > > open source license", makes me ashamed to have been advocating people > > switching to

How to find the correct source address to a destination in a kernel driver?

2014-10-17 Thread Stephan von Krawczynski
Hello all, in former kernels with routing cache things were easy. We just used : rt = ip_route_output_key(XXX) src = rt->rt_src; Now if there is no routing cache, we tried this: rt = ip_route_output_key(XXX) src = inet_select_addr(rt->dst.dev, dst,

How to find the correct source address to a destination in a kernel driver?

2014-10-17 Thread Stephan von Krawczynski
Hello all, in former kernels with routing cache things were easy. We just used : rt = ip_route_output_key(XXX) src = rt-rt_src; Now if there is no routing cache, we tried this: rt = ip_route_output_key(XXX) src = inet_select_addr(rt-dst.dev, dst,

fstrim with raid controllers

2013-10-14 Thread Stephan von Krawczynski
Hello all, since SSDs are pretty widespread now the question seems valid. We have some raid controllers, namely: RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 2208 [Thunderbolt] (rev 05) We would like to use SSDs for raid1/5/6 setups but found out that the drivers don't seem to

fstrim with raid controllers

2013-10-14 Thread Stephan von Krawczynski
Hello all, since SSDs are pretty widespread now the question seems valid. We have some raid controllers, namely: RAID bus controller: LSI Logic / Symbios Logic MegaRAID SAS 2208 [Thunderbolt] (rev 05) We would like to use SSDs for raid1/5/6 setups but found out that the drivers don't seem to

Re: NUMA processor numbering

2013-10-03 Thread Stephan von Krawczynski
On Thu, 3 Oct 2013 07:22:55 -0300 Henrique de Moraes Holschuh wrote: > On Thu, 03 Oct 2013, Stephan von Krawczynski wrote: > > Does the above output mean that the cores are numbered right across the two > > physical cpus? Does this mean one has to pin processes to 0,

NUMA processor numbering

2013-10-03 Thread Stephan von Krawczynski
Hello all, I have a box with this kind of processor (0-31) and 128 GB RAM: processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 45 model name : Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz stepping: 7 microcode : 0x70d cpu MHz : 2486.000

NUMA processor numbering

2013-10-03 Thread Stephan von Krawczynski
Hello all, I have a box with this kind of processor (0-31) and 128 GB RAM: processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 45 model name : Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz stepping: 7 microcode : 0x70d cpu MHz : 2486.000

Re: NUMA processor numbering

2013-10-03 Thread Stephan von Krawczynski
On Thu, 3 Oct 2013 07:22:55 -0300 Henrique de Moraes Holschuh h...@hmh.eng.br wrote: On Thu, 03 Oct 2013, Stephan von Krawczynski wrote: Does the above output mean that the cores are numbered right across the two physical cpus? Does this mean one has to pin processes to 0,2,4,... to stay

Problem with ping command on 3.9.X compared to 3.2.45

2013-05-31 Thread Stephan von Krawczynski
Hello all, is there a good reason why the ping command gets different answers from 3.[2-8] and 3.9 kernels? Please have a look at this output from strace: First 3.2.45: sendmsg(3, {msg_name(16)={sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("1.2.3.4")},

Problem with ping command on 3.9.X compared to 3.2.45

2013-05-31 Thread Stephan von Krawczynski
Hello all, is there a good reason why the ping command gets different answers from 3.[2-8] and 3.9 kernels? Please have a look at this output from strace: First 3.2.45: sendmsg(3, {msg_name(16)={sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr(1.2.3.4)},

acpi_cpufreq on Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz problem (3.[4-9].X)

2013-05-08 Thread Stephan von Krawczynski
Hello all, I see some kind of bug with acpi_cpufreq on Intels Q6600 cpus. If you load the module you see this in proc: processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Quad CPUQ6600 @ 2.40GHz stepping:

acpi_cpufreq on Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz problem (3.[4-9].X)

2013-05-08 Thread Stephan von Krawczynski
Hello all, I see some kind of bug with acpi_cpufreq on Intels Q6600 cpus. If you load the module you see this in proc: processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Core(TM)2 Quad CPUQ6600 @ 2.40GHz stepping:

virtio-net in 3.9 and below

2013-05-06 Thread Stephan von Krawczynski
Hello all, during heavy testing I found out that kernel 3.9 virtio-net seems to have a lot better performance than former kernel versions. I am not quite sure if this is due to general enhancements in 3.9 or specific to the virtio-net code. In case someone thinks its really virtio-net, is there a

virtio-net in 3.9 and below

2013-05-06 Thread Stephan von Krawczynski
Hello all, during heavy testing I found out that kernel 3.9 virtio-net seems to have a lot better performance than former kernel versions. I am not quite sure if this is due to general enhancements in 3.9 or specific to the virtio-net code. In case someone thinks its really virtio-net, is there a

Question regarding include/linux/linkage.h (3.8.8)

2013-04-27 Thread Stephan von Krawczynski
Hello all, if you look at the above file it contains: #include where should this file come from? There is no "asm" directory inside linux-3.8.8/include/ ... ? If you need additional info please cc me. -- Regards, Stephan -- To unsubscribe from this list: send the line "unsubscribe

Question regarding include/linux/linkage.h (3.8.8)

2013-04-27 Thread Stephan von Krawczynski
Hello all, if you look at the above file it contains: #include asm/linkage.h where should this file come from? There is no asm directory inside linux-3.8.8/include/ ... ? If you need additional info please cc me. -- Regards, Stephan -- To unsubscribe from this list: send the line unsubscribe

Problem compiling firmware/yam/9600.bin in 3.8.8

2013-04-25 Thread Stephan von Krawczynski
Hello all, I just tried to compile a complete kernel 3.8.8 including firmwares. First I linked /usr/include/linux to /usr/src/linux/include/linux. I think this is for user-space compilations to use the right header files, correct? Then I tried the kernel and this is what happened: IHEX

Problem compiling firmware/yam/9600.bin in 3.8.8

2013-04-25 Thread Stephan von Krawczynski
Hello all, I just tried to compile a complete kernel 3.8.8 including firmwares. First I linked /usr/include/linux to /usr/src/linux/include/linux. I think this is for user-space compilations to use the right header files, correct? Then I tried the kernel and this is what happened: IHEX

Re: No serial since kernel 3.8

2013-04-18 Thread Stephan von Krawczynski
On Wed, 17 Apr 2013 20:55:04 +0200 "Rafael J. Wysocki" wrote: > On Wednesday, April 17, 2013 11:38:30 AM Bjorn Helgaas wrote: > > [+cc Rafael & linux-acpi] > > Thanks. > > > On Tue, Apr 16, 2013 at 10:14 AM, Stephan von Krawczynski > > wro

Re: No serial since kernel 3.8

2013-04-18 Thread Stephan von Krawczynski
On Wed, 17 Apr 2013 20:55:04 +0200 Rafael J. Wysocki r...@sisk.pl wrote: On Wednesday, April 17, 2013 11:38:30 AM Bjorn Helgaas wrote: [+cc Rafael linux-acpi] Thanks. On Tue, Apr 16, 2013 at 10:14 AM, Stephan von Krawczynski sk...@ithnet.com wrote: On Tue, 16 Apr 2013 10:59:53

Re: No serial since kernel 3.8

2013-04-16 Thread Stephan von Krawczynski
On Tue, 16 Apr 2013 10:59:53 -0400 Josh Boyer wrote: > On Tue, Apr 16, 2013 at 04:55:25PM +0200, richard -rw- weinberger wrote: > >On Tue, Apr 16, 2013 at 4:20 PM, Stephan von Krawczynski > > wrote: > >> Hello, > >> > >> can some kind soul please expla

Re: No serial since kernel 3.8

2013-04-16 Thread Stephan von Krawczynski
On Tue, 16 Apr 2013 16:55:25 +0200 richard -rw- weinberger wrote: > On Tue, Apr 16, 2013 at 4:20 PM, Stephan von Krawczynski > wrote: > > Hello, > > > > can some kind soul please explain how I can get my serial port back under > > kernel 3.8.X. Earlier kernels s

No serial since kernel 3.8

2013-04-16 Thread Stephan von Krawczynski
Hello, can some kind soul please explain how I can get my serial port back under kernel 3.8.X. Earlier kernels showed: Jan 10 13:57:18 mybox kernel: [0.712829] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A But 3.8.4: Mar 26 10:39:14 admin kernel: [0.603647] serial 00:0a:

No serial since kernel 3.8

2013-04-16 Thread Stephan von Krawczynski
Hello, can some kind soul please explain how I can get my serial port back under kernel 3.8.X. Earlier kernels showed: Jan 10 13:57:18 mybox kernel: [0.712829] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A But 3.8.4: Mar 26 10:39:14 admin kernel: [0.603647] serial 00:0a:

Re: No serial since kernel 3.8

2013-04-16 Thread Stephan von Krawczynski
On Tue, 16 Apr 2013 16:55:25 +0200 richard -rw- weinberger richard.weinber...@gmail.com wrote: On Tue, Apr 16, 2013 at 4:20 PM, Stephan von Krawczynski sk...@ithnet.com wrote: Hello, can some kind soul please explain how I can get my serial port back under kernel 3.8.X. Earlier kernels

Re: No serial since kernel 3.8

2013-04-16 Thread Stephan von Krawczynski
On Tue, 16 Apr 2013 10:59:53 -0400 Josh Boyer jwbo...@gmail.com wrote: On Tue, Apr 16, 2013 at 04:55:25PM +0200, richard -rw- weinberger wrote: On Tue, Apr 16, 2013 at 4:20 PM, Stephan von Krawczynski sk...@ithnet.com wrote: Hello, can some kind soul please explain how I can get my

Re: Problem with tg3 in 2.6.23.12

2008-01-20 Thread Stephan von Krawczynski
On Sun, 13 Jan 2008 15:04:07 +0100 Stephan von Krawczynski <[EMAIL PROTECTED]> wrote: > Hello all, > > we recently tried to stress several netblk configurations and got this kernel > log (amongst others). If additional information is required feel free to ask. > We ca

Re: Problem with tg3 in 2.6.23.12

2008-01-20 Thread Stephan von Krawczynski
On Sun, 13 Jan 2008 15:04:07 +0100 Stephan von Krawczynski [EMAIL PROTECTED] wrote: Hello all, we recently tried to stress several netblk configurations and got this kernel log (amongst others). If additional information is required feel free to ask. We can try patches as well the config

Problem with tg3 in 2.6.23.12

2008-01-13 Thread Stephan von Krawczynski
Hello all, we recently tried to stress several netblk configurations and got this kernel log (amongst others). If additional information is required feel free to ask. We can try patches as well the config is not in production yet. Jan 12 15:46:54 fs2 kernel: swapper: page allocation failure.

Problem with tg3 in 2.6.23.12

2008-01-13 Thread Stephan von Krawczynski
Hello all, we recently tried to stress several netblk configurations and got this kernel log (amongst others). If additional information is required feel free to ask. We can try patches as well the config is not in production yet. Jan 12 15:46:54 fs2 kernel: swapper: page allocation failure.

How to walk through the tasklist ?

2007-04-24 Thread Stephan von Krawczynski
Hello all, can anyone give me a short hint how walking through the tasklist in a device driver can be achieved nowadays. In ancient pre-20 times you could simply: read_lock(_lock); p=current; do { if (p->pid==pid) { read_unlock(_lock); /* found */

How to walk through the tasklist ?

2007-04-24 Thread Stephan von Krawczynski
Hello all, can anyone give me a short hint how walking through the tasklist in a device driver can be achieved nowadays. In ancient pre-20 times you could simply: read_lock(tasklist_lock); p=current; do { if (p-pid==pid) { read_unlock(tasklist_lock);