Re: mellanox mlx4_core and SR-IOV

2012-08-10 Thread Lukas Hejtmanek
On Fri, Aug 10, 2012 at 12:51:53PM -0600, Chris Friesen wrote: > On 08/03/2012 02:33 AM, Lukas Hejtmanek wrote: > >I also tried OFED package from Mellanox which seems to have better SR-IOV > >support (at least mlx4_ib does not complain that SR-IOV is not supported). > >Howe

Re: mellanox mlx4_core and SR-IOV

2012-08-06 Thread Lukas Hejtmanek
On Mon, Aug 06, 2012 at 10:07:06AM -0400, Konrad Rzeszutek Wilk wrote: > > good catch. I forgot to pass swiotl=force for DomU in Xen. So now, it seems > > that mlx4_core works, mlx4_en (ethernet part) works as well. Unfortunately, > > the IB part does not. IB layer complains that SR-IOV is currentl

Re: mellanox mlx4_core and SR-IOV

2012-08-05 Thread Lukas Hejtmanek
Hi, On Fri, Aug 03, 2012 at 06:49:59AM -0700, Konrad Wilk wrote: > This looks like you are using PV PCI passthrough? If so, did you > remember to use 'iommu=soft' to enable the Xen-SWIOTLB in your guest? > And are you booting with more than 4GB? Or is less than 3GB (so that you have > a nice gap i

Re: mellanox mlx4_core and SR-IOV

2012-08-03 Thread Lukas Hejtmanek
On Wed, Aug 01, 2012 at 04:36:14PM -0700, Yinghai Lu wrote: > > so it seems, that pic=nocsr is a must now. > > yes. Or you have bios provide SRIOV support or 64 bit resource in _CRS. Well, I can use PCI passthrough in Xen now, however, it seems SR-IOV does not work in case of Mellanox mlx4 driver

Re: mellanox mlx4_core and SR-IOV

2012-08-01 Thread Lukas Hejtmanek
On Wed, Aug 01, 2012 at 02:32:17PM -0700, Yinghai Lu wrote: > yes, i knew that. > > one patch in my for-pci-next should address that. > > http://git.kernel.org/?p=linux/kernel/git/yinghai/linux-yinghai.git;a=patch;h=fcce563f868e296f46a2eeaa88d6959bcee26a2d this is probably only half-way. well ml

Re: mellanox mlx4_core and SR-IOV

2012-08-01 Thread Lukas Hejtmanek
On Wed, Aug 01, 2012 at 02:27:34PM -0700, Yinghai Lu wrote: > you may try to boot with pci=nocrs ok, pci=nocrs i got: 02:00.0 InfiniBand: Mellanox Technologies MT26428 [ConnectX VPI PCIe 2.0 5GT/s - IB QDR / 10GigE] (rev b0) 02:00.1 InfiniBand: Mellanox Technologies MT25400 Family [ConnectX-2 Vir

Re: mellanox mlx4_core and SR-IOV

2012-08-01 Thread Lukas Hejtmanek
On Wed, Aug 01, 2012 at 11:29:02AM -0700, Yinghai Lu wrote: > iov bar is not assigned by BIOS, and kernel can not find range for it too. > > Lukas, can you post whole boot log with PCI_DEBUG enabled? That will > tell exact why kernel does not assign them. > > Recent kernel from 3.4... should enab

Re: mellanox mlx4_core and SR-IOV

2012-08-01 Thread Lukas Hejtmanek
On Wed, Aug 01, 2012 at 11:29:02AM -0700, Yinghai Lu wrote: > On Wed, Aug 1, 2012 at 10:37 AM, Roland Dreier wrote: > > On Wed, Aug 1, 2012 at 6:38 AM, Lukas Hejtmanek > > wrote: > >> [3.558296] mlx4_core :02:00.0: not enough MMIO resources for > >&

mellanox mlx4_core and SR-IOV

2012-08-01 Thread Lukas Hejtmanek
Hello, I tried to use SR-IOV virtualizaton for Mellanox ConnectX2 card with mlx4_core driver with kernel 3.5.0. I built firware for the IB card with sriov_en = true, lspci shows: 02:00.0 InfiniBand: Mellanox Technologies MT26428 [ConnectX VPI PCIe 2.0 5GT/s - IB QDR / 10GigE] (rev b0) Subs

Re: 2.6.25-rc2 Regression Thinkpad acpi

2008-02-26 Thread Lukas Hejtmanek
On Mon, Feb 25, 2008 at 08:00:35PM -0300, Henrique de Moraes Holschuh wrote: > On Mon, 25 Feb 2008, Lukas Hejtmanek wrote: > > volume keys work. But anything through acpid does not. Even AC/battery > > switch > > is not signalized. So the bug may be somewhere else? >

Re: 2.6.25-rc2 Regression Thinkpad acpi

2008-02-25 Thread Lukas Hejtmanek
On Mon, Feb 25, 2008 at 06:01:13PM -0300, Henrique de Moraes Holschuh wrote: > Not even over the new netlink socket? Or the thinkpad-acpi input device? how can I check this? volume keys work. But anything through acpid does not. Even AC/battery switch is not signalized. So the bug may be somewhe

Re: 2.6.25-rc2 Regression Thinkpad acpi

2008-02-25 Thread Lukas Hejtmanek
On Mon, Feb 25, 2008 at 05:03:54PM -0300, Henrique de Moraes Holschuh wrote: > This commit is indeed broken, and I have a tentative fix for it. But I'd > like to have a better description of just "how" the thinkpad keys do not > work anymore, to make sure I fix the entire breakage in one go. I wi

2.6.25-rc2 Regression Thinkpad acpi

2008-02-25 Thread Lukas Hejtmanek
Hello, 2.6.25-rc2-git7 has regression, thinkpad keys do not work any more. Probably this commit broke things 6c231bd5eb07ce546517019f334652b9ecfc329a -- Lukáš Hejtmánek -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

Re: Disk schedulers

2008-02-20 Thread Lukas Hejtmanek
On Sat, Feb 16, 2008 at 05:20:49PM +, Pavel Machek wrote: > Is cat /dev/zero > file enough to reproduce this? yes. > ext3 filesystem? yes. > Will cat /etc/passwd work while machine is unresponsive? yes. while find does not work: time find / / /etc /etc/manpath.config /etc/update-manager

Re: Recent driver in linux kernel 2.6.25-rc2

2008-02-19 Thread Lukas Hejtmanek
On Tue, Feb 19, 2008 at 02:28:58PM -0800, Chatre, Reinette wrote: > > as of pre 2.6.25 kernels, kismet monitoring tool does not work with > > the message: # kismet > > Launching kismet_server: //usr/bin/kismet_server > > Suid priv-dropping disabled. This may not be secure. > > No specific sources

Recent driver in linux kernel 2.6.25-rc2

2008-02-19 Thread Lukas Hejtmanek
Hello, as of pre 2.6.25 kernels, kismet monitoring tool does not work with the message: # kismet Launching kismet_server: //usr/bin/kismet_server Suid priv-dropping disabled. This may not be secure. No specific sources given to be enabled, all will be enabled. Non-RFMon VAPs will be destroyed on

Re: 2.6.24-git4+ regression

2008-02-17 Thread Lukas Hejtmanek
On Thu, Feb 14, 2008 at 10:25:51PM +0530, Srivatsa Vaddagiri wrote: > The patch is against 2.6.25-rc1. I would request you to check for > difference it makes with CONFIG_FAIR_GROUP_SCHED and > CONFIG_FAIR_USER_SCHED turned on. well, I tried the patch against 2.6.25-rc2-git1. It seems to be better

Re: Disk schedulers

2008-02-16 Thread Lukas Hejtmanek
On Fri, Feb 15, 2008 at 05:24:52PM +, Paulo Marques wrote: > If you want to take advantage of all that memory to buffer disk writes, > so that the reads can proceed better, you might want to tweak your > /proc/sys/vm/dirty_ratio amd /proc/sys/vm/dirty_background_ratio to more > appropriat

Re: Disk schedulers

2008-02-16 Thread Lukas Hejtmanek
On Fri, Feb 15, 2008 at 10:11:26AM -0700, Zan Lynx wrote: > Yes, I see this often myself. It's like the disk IO queue (I set mine > to 1024) fills up, and pdflush and friends can stuff write requests into > it much more quickly than any other programs can provide read requests. > > CFQ and ionice

Re: Disk schedulers

2008-02-15 Thread Lukas Hejtmanek
On Fri, Feb 15, 2008 at 03:42:58PM +0100, Jan Engelhardt wrote: > Also consider > - DMA (e.g. only UDMA2 selected) > - aging disk it's not the case. hdparm reports udma5 is used, if it is reliable with libata. The disk is 3 months old, kernel does not report any errors. And it has never been di

Re: 2.6.25-rc1 regression - IBM ACPI backlight

2008-02-15 Thread Lukas Hejtmanek
On Fri, Feb 15, 2008 at 12:07:20PM +, Matthew Garrett wrote: > On Fri, Feb 15, 2008 at 12:02:13PM +0100, Lukas Hejtmanek wrote: > > 2.6.24 kernel has two acpi_video[01]. 2.6.25-rc1 does not, it contains only > > acpi_video0 (even in text mode in single user without X bein

Re: 2.6.25-rc1 regression - IBM ACPI backlight

2008-02-15 Thread Lukas Hejtmanek
On Thu, Feb 14, 2008 at 10:24:52AM -0200, Henrique de Moraes Holschuh wrote: > > as of 2.6.25-rc1, there is no more /sys/class/backlight/acpi_video1 which > > controlled LVDS backlight on Lenovo ThinkPad T61. There is still > > acpi_video0 which seems to have sane values but echo N > brightness has

Re: Disk schedulers

2008-02-15 Thread Lukas Hejtmanek
On Fri, Feb 15, 2008 at 09:02:31AM +0900, Tejun Heo wrote: > > till the scp finishes. It is not caused by low free memory, while scping > > I have 500MB of free memory (not cached or buffered). > > > > I tried cfq and anticipatory scheduler, none is different. > > > > Does deadline help? well,

Disk schedulers

2008-02-14 Thread Lukas Hejtmanek
Hello, whom should I blame about disk schedulers? I have the following setup: 1Gb network 2GB RAM disk write speed about 20MB/s If I'm scping file (about 500MB) from the network (which is faster than the local disk), any process is totally unable to read anything from the local disk till the scp

2.6.25-rc1 regression - IBM ACPI backlight

2008-02-14 Thread Lukas Hejtmanek
Hello, as of 2.6.25-rc1, there is no more /sys/class/backlight/acpi_video1 which controlled LVDS backlight on Lenovo ThinkPad T61. There is still acpi_video0 which seems to have sane values but echo N > brightness has no effect at all. thinkpad_acpi module reports that ACPI controlled backlight i

Re: 2.6.25-rc1 regression - ondemand governor does not work at all

2008-02-13 Thread Lukas Hejtmanek
On Wed, Feb 13, 2008 at 12:36:40PM -0200, Carlos R. Mafra wrote: > Lukas Hejtmanek wrote: > > Hello, > > > > as of 2.6.25-rc1, ondemand governor from cpufreq (acpi-p states driver) does > > not change frequency. Machine is still running at max frequency regardless >

2.6.25-rc1 regression - ondemand governor does not work at all

2008-02-13 Thread Lukas Hejtmanek
Hello, as of 2.6.25-rc1, ondemand governor from cpufreq (acpi-p states driver) does not change frequency. Machine is still running at max frequency regardless of system load. -- Lukáš Hejtmánek -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: 2.6.25-rc1 regression - suspend to ram

2008-02-12 Thread Lukas Hejtmanek
On Mon, Feb 11, 2008 at 03:22:13PM -0800, Venki Pallipadi wrote: > Just sent this patch to fix a regression in acpi processor_idle.c on another > thread. Can you try the patch below and check whether that helps. Yeah, it seems that it fixed suspend troubles. -- Lukáš Hejtmánek -- To unsubscribe

2.6.25-rc1 regression - suspend to ram

2008-02-11 Thread Lukas Hejtmanek
Hello, 2.6.25-rc1 takes really long time till it suspends (about 30-40secs, used to be about 5 secs at all) and it is resuming about few minutes. While resuming, capslock toggles the capslock led but with few secs delay. 2.6.24-git15 was OK. 2.6.24 is OK. I have Lenovo ThinkPad T61. -- Lukáš

2.6.24 oops

2008-02-10 Thread Lukas Hejtmanek
Hello, I encountered an oops while playing a movie with mplayer. (couple of hours before, I tried this exploit: http://www.securityfocus.com/data/vulnerabilities/exploits/27704.c so the oops may be induced by the exploit.) [12695.120141] Unable to handle kernel paging request at 1000

Re: T61P sound issue

2008-02-07 Thread Lukas Hejtmanek
Hello, I have T61 and have no problem with sound. No sound problem could arise from hw mute that is controlled via volume buttons. Volume mute does just mute (*no unmute*!), buttons volume up/down unmutes volume. There is bar "Speaker" in alsa mixer, must not be muted. -- Lukáš Hejtmánek -- To

Re: 2.6.24-git4+ regression

2008-02-04 Thread Lukas Hejtmanek
On Mon, Feb 04, 2008 at 03:45:10PM +0100, Peter Zijlstra wrote: > > see my previous mail to Ingo (you were Cc.), latency top says that Xorg and > > gnome-terminal suffers 300+ms latency in scheduler: waiting for cpu. > > what happens when you turn CONFIG_FAIR_GROUP_SCHED off? If I disable CONFIG_

Re: 2.6.24-git4+ regression

2008-02-04 Thread Lukas Hejtmanek
On Mon, Feb 04, 2008 at 12:36:36PM +0100, Peter Zijlstra wrote: > I can't reproduce this with a pure cpu load. I started 10 > while :; do :; done & > instances and aside from slowing down, nothing bad happened. yes, while true; do true; does nothing wrong. But running make -j2 in kernel sources

Re: 2.6.24-git4+ regression

2008-02-04 Thread Lukas Hejtmanek
On Mon, Feb 04, 2008 at 01:01:32PM +0100, Ingo Molnar wrote: > > * Lukas Hejtmanek <[EMAIL PROTECTED]> wrote: > > > but in such a case, kernel 2.6.24-git13 does oops at startup in > > sched_slice. > > could you tell me more about this oops? You booted unmodif

Re: 2.6.24-git4+ regression

2008-02-04 Thread Lukas Hejtmanek
/1665.html) but in such a case, kernel 2.6.24-git13 does oops at startup in sched_slice. I think this is really *big* regression in 2.6.24 kernel. On Thu, Jan 31, 2008 at 11:29:19AM +0100, Ingo Molnar wrote: > > * Lukas Hejtmanek <[EMAIL PROTECTED]> wrote: > > > I noticed sho

Re: 2.6.24-git9 ACPI oops - regression

2008-02-01 Thread Lukas Hejtmanek
On Fri, Feb 01, 2008 at 12:07:03PM -0500, Len Brown wrote: > this worked in 2.6.24? At least in 2.6.24-rc8 seemed to be OK, for the first time, I encountered the bug in 2.6.24-git4. 2.6.24-git6 seemed to be OK. 2.6.24-git9 is not. > You are running the "dock" driver in both cases? I use thinkpa

2.6.24-git9 ACPI oops - regression

2008-02-01 Thread Lukas Hejtmanek
Hello, I encountered oops on my laptop Lenovo T61 and dock. If I press undock on the dock, I got the following oops: [79721.755165] BUG: unable to handle kernel paging request at 0034000e [79721.755165] IP: [] acpi_ns_map_handle_to_node+0x14/0x1d [79721.755165] PGD 7203a067 PUD 0 [79721.7

Re: 2.6.24-git4+ regression

2008-01-31 Thread Lukas Hejtmanek
On Thu, Jan 31, 2008 at 11:29:19AM +0100, Ingo Molnar wrote: > if you apply the current sched-fixes (rollup patch below), does it get > any better? No. Another observation, running two instances of while true; do true; done (on 1 dual core cpu) does not break interactivity. running make clean;

2.6.24-git4+ regression

2008-01-30 Thread Lukas Hejtmanek
Hello, I noticed short thread in LKM regarding "sched: add vslice" causes horrible interactivity under load. I can see similar behavior. If I stress both CPU cores, even typing on keyboard suffers from huge latencies, I can see letters appearing with delay (typing into xterm). No swap is used at

Re: swapping in 2.6.24-rc5-git3

2007-12-18 Thread Lukas Hejtmanek
On Mon, Dec 17, 2007 at 06:15:32PM +0100, Jan Kara wrote: > I think yes. 0 swappiness doesn't mean "no swapping at all". From the > code in shrink_active_list() it seems that it just decreases likeliness > of removing pages of mmaped files (i.e., also executables loaded in memory). So, I tried t

Re: swapping in 2.6.24-rc5-git3

2007-12-17 Thread Lukas Hejtmanek
On Mon, Dec 17, 2007 at 06:15:32PM +0100, Jan Kara wrote: > Yes, that's quite unpleasant. How much memory do you have? If you have > some time, you can try playing with the code in mm/vmscan.c to find out > what's happening in your case (putting some debugging output in > shrink_active_list() etc

swapping in 2.6.24-rc5-git3

2007-12-17 Thread Lukas Hejtmanek
Hello, does /proc/sys/vm/swappiness still work as expected? # /proc/sys/vm# cat swappiness 0 but scp-ing 2GB file causes many processes are swapped out due to increase of the file cache size. Why? This is totally catastrophic behaviour on the desktop. Is there a way to avoid it except turning

Re: ACPI related Warning in 2.6.24-rc3-git2

2007-12-13 Thread Lukas Hejtmanek
On Thu, Dec 13, 2007 at 09:41:23PM -0500, Len Brown wrote: > I've udpated the BIOS on my T61 to 1.26 to match yours, but > running 2.6.24-rc5 I don't see the issue you reported. > > If it still fails for you, please send me your .config It has been fixed in -rc4 I guess. -- Lukáš Hejtmánek -- T

Re: PATCH: Hitachi disk quirk

2007-12-04 Thread Lukas Hejtmanek
On Tue, Dec 04, 2007 at 02:48:27PM +0300, Michael Tokarev wrote: > Which problems, exactly? it is spurious completitions and I saw that because of that the drives are blacklisted. Moreover, the same drive is already blacklisted but with different firmware. > Note that recent massive "NCQ horkag

PATCH: Hitachi disk quirk

2007-12-04 Thread Lukas Hejtmanek
Hello, the following patch should be applied into 2.6.24-rc3 as the mentioned Hitachi disk has also problem with NCQ. -- Lukáš Hejtmánek --- a/drivers/ata/libata-core.c 2007-12-04 11:08:20.0 +0100 +++ b/drivers/ata/libata-core.c 2007-12-04 11:09:23.0 +0100 @@ -4159,6 +4159,7 @@

Re: ACPI related Warning in 2.6.24-rc3-git2

2007-11-29 Thread Lukas Hejtmanek
On Thu, Nov 29, 2007 at 04:22:43PM +0800, Zhao Yakui wrote: > Subject: ACPI : Delete the IRQ operation in throttling controll via PTC > >From : Zhao Yakui <[EMAIL PROTECTED]> > > The IRQ operation(enable/disable) should be avoided when throttling is > controlled via PTC method. It is replaced by t

Re: ACPI related Warning in 2.6.24-rc3-git2

2007-11-28 Thread Lukas Hejtmanek
On Wed, Nov 28, 2007 at 02:11:55AM -0200, Henrique de Moraes Holschuh wrote: > On Tue, 27 Nov 2007, Rafael J. Wysocki wrote: > > > in recent kernel, I got the following warnings while booting. It's ACPI > > > related. Does anybode care? Lenovo ThinkPad T61 (6465CTO). > > Could we know the BIOS ver

Re: e1000 driver problems

2007-11-27 Thread Lukas Hejtmanek
On Tue, Nov 27, 2007 at 08:48:52AM -0800, Kok, Auke wrote: > > unfortunately, the 7.6.9 driver cannot be compiled with 2.6.24-rc3-git2 > > kernel due to compilation errors. > > but the in-kernel version of e1000 supports the ich8 lan device just fine > and can be builtin. also this kernel has the

Re: ACPI related Warning in 2.6.24-rc3-git2

2007-11-27 Thread Lukas Hejtmanek
On Tue, Nov 27, 2007 at 04:37:12PM +0100, Rafael J. Wysocki wrote: > > in recent kernel, I got the following warnings while booting. It's ACPI > > related. Does anybode care? Lenovo ThinkPad T61 (6465CTO). > > Appropriate Ccs added. > > Did it happen before? didn't see it in 2.6.24-rc3-git1. >

Re: e1000 driver problems

2007-11-27 Thread Lukas Hejtmanek
On Mon, Nov 26, 2007 at 03:26:08PM -0800, Kok, Auke wrote: > The fix for this has been to grant more time for the hardware to recover > from this busy state. I'll make sure to check if the upstream drivers are OK > in this regard. > > you can try our out-of-tree e1000 driver (7.6.x or newer) which

ACPI related Warning in 2.6.24-rc3-git2

2007-11-27 Thread Lukas Hejtmanek
Hello, in recent kernel, I got the following warnings while booting. It's ACPI related. Does anybode care? Lenovo ThinkPad T61 (6465CTO). [ 13.114814] Pid: 1, comm: swapper Not tainted 2.6.24-rc3-git2 #3 [ 13.114885] [ 13.114885] Call Trace: [ 13.115020] [] acpi_ut_update_ref_count+0x50

e1000 driver problems

2007-11-20 Thread Lukas Hejtmanek
Hello, I have laptop thinkpad T61 with 82566MM Gigabit Network Connection (rev 03) (8086:1049). I have kernel 2.6.24-rc3. E1000E driver does not work (the card is not detected although it is PCI-E), with E1000 driver, it works mostly OK unless I force speed to 100Mbits. (ethtool -s eth0 autoneg of

CPU usage for 10Gbps UDP transfers

2007-09-15 Thread Lukas Hejtmanek
Hello, is it expected that application sending 8900bytes datagram through 10Gbps NIC utilizes CPU to 100% and similarly the receiver also utilizes CPU to 100%. Is it something wrong or this is quite OK? (The box is dual single core Opteron 2.4GHz with Myricom 10GE NIC.) -- Lukáš Hejtmánek - To

SLAB corruption

2007-07-07 Thread Lukas Hejtmanek
Hello, I'm trying to get to work InfiniBand card (Mellanox) in Xen and DomU. If I use SLAB_DEBUG I got the following message: Slab corruption: start=880098f513b8, len=256 Redzone: 0x160016/0x170017. Last user: <00180018>(0x180018) 000: 17 00 00 00 17 00 00 00 18 00 00 00

Re: Reboot PATCH (ACPI related)

2007-05-14 Thread Lukas Hejtmanek
On Sat, May 12, 2007 at 11:44:13PM -0700, Andrew Morton wrote: > We'd prefer to fix the problem, whatever it is, rather than just turning > APCI off. > > Please ensure that a full bug report has been entered at bugzilla.kernel.org, > thanks. The patch resulted from the following bug report: http:

Re: [PATCH] Workaround for a PCI restoring bug

2007-05-14 Thread Lukas Hejtmanek
On Sun, May 13, 2007 at 11:59:47AM -0700, Andrew Morton wrote: > Possibly we're saving the device's state when it is already partway or > fully through the suspend process, dunno. > > What if you were to put code into pci_save_state() to detect when it reads > an ox? Do a dump_stack() and

Re: [PATCH] Workaround for a PCI restoring bug

2007-05-13 Thread Lukas Hejtmanek
On Sun, May 13, 2007 at 02:11:19AM -0700, Andrew Morton wrote: > > I've also noticed that someone pointed out that for some reason, PCI config > > space is saved twice, the first is OK, the second saves already disabled > > devices. Unfortunately, I'm unable to find this discussion in LKM. > > Yea

Re: [PATCH] Workaround for a PCI restoring bug

2007-05-13 Thread Lukas Hejtmanek
Hello, On Sat, May 12, 2007 at 11:47:43PM -0700, Andrew Morton wrote: > This change might indeed be a suitable workaround for some busted hardware, > but we'd need to know quite a bit about the problem before we could merge > anything like this > > So, again, please send a full bug report. An em

[PATCH] Workaround for a PCI restoring bug

2007-05-12 Thread Lukas Hejtmanek
Hello, as of 2.6.21-git16, the bugs related to restoring PCI are still present. The save pci function reads only -1 from the PCI config space and when restoring, it messes up totaly most PCI devices. The attached patch is workaround only until proper fix is found and included. Could it be included

Reboot PATCH (ACPI related)

2007-05-12 Thread Lukas Hejtmanek
Hello, why the attached patch is still not included in mainline kernel? It fixes boot problems after suspend to RAM. -- Lukáš Hejtmánek --- arch/i386/kernel/reboot.c.old 2006-06-18 03:49:35.0 +0200 +++ arch/i386/kernel/reboot.c 2006-07-01 17:29:23.0 +0200 @@ -31,6 +31,12 @@ #ifd

Re: Suspend to disk bug 2.6.21-rc2-git1

2007-03-22 Thread Lukas Hejtmanek
On Wed, Mar 21, 2007 at 11:39:08PM +0100, Pavel Machek wrote: > > > > I'm not sure what version did exacly caused susped to disk problems but > > > > anyway, in 2.6.21-rc2-git1, suspend to disk breaks ACPI. ACPI events do > > > > not > > > > even emit ACPI interrupts. Suspend to ram works nicely.

Re: libata - 2.6.21-rc4-git5, ata channel still badly configured

2007-03-22 Thread Lukas Hejtmanek
On Thu, Mar 22, 2007 at 03:44:58PM +0900, Tejun Heo wrote: > Lukas Hejtmanek wrote: > >> Subject: ata_piix: PATA UDMA/100 configured as UDMA/33 > >> References : http://lkml.org/lkml/2007/2/20/294 > >> Submitter : Fabio Comolli <[EMAIL PROTECTED]> > >

libata - 2.6.21-rc4-git5, ata channel still badly configured

2007-03-21 Thread Lukas Hejtmanek
Hello, as of 2.6.21-rc4-git5 this issue is still present. > Subject: ata_piix: PATA UDMA/100 configured as UDMA/33 > References : http://lkml.org/lkml/2007/2/20/294 > Submitter : Fabio Comolli <[EMAIL PROTECTED]> > Status : unknown ata_piix :00:1f.1: version 2.10ac1 ACPI: PCI Interr

Re: Suspend to disk bug 2.6.21-rc2-git1

2007-03-21 Thread Lukas Hejtmanek
Hello, On Sat, Mar 10, 2007 at 11:16:39PM +0100, Pavel Machek wrote: > > I'm not sure what version did exacly caused susped to disk problems but > > anyway, in 2.6.21-rc2-git1, suspend to disk breaks ACPI. ACPI events do not > > even emit ACPI interrupts. Suspend to ram works nicely. > > Is 2.6.2

Re: UDP packets scheduling

2007-03-20 Thread Lukas Hejtmanek
On Tue, Mar 20, 2007 at 06:52:51PM +0100, Andi Kleen wrote: > > Flow control must be turned off for some other reason. > > That's your fundamental problem. Fix that. > > Even if you get the rate right there can be many reasons why timing > gets disrupted temporarily and to recover from any of t

Re: Re: ex-upload

2007-03-20 Thread Lukas Hejtmanek
Hello, >> How can I put delay between subsequent msg sends to achieve desired >> packet rate without loses, e.g., 3.5Gbps without bursts? Even nanosleep() >> with the lowest possible delay seems to be too much delay. Busy loop with >> clock_gettime(3) works OK on SMP boxes, but on UP it causes pro

UDP packets scheduling

2007-03-19 Thread Lukas Hejtmanek
Hello, can anyone suggest me a proper way how to schedule UDP packets to transmit at some given rate? E.g., I have two boxes both having 10 GE interfaces. One box is able to transmit at 9.9Gbps, the other one is able to receive only at about 5.5Gbps. Flow control must be turned off for some other

Re: [5/6] 2.6.21-rc3: known regressions

2007-03-13 Thread Lukas Hejtmanek
On Tue, Mar 13, 2007 at 01:50:16PM +0100, Adrian Bunk wrote: > Subject: suspend to disk breaks ACPI > References : http://lkml.org/lkml/2007/3/5/127 > Submitter : Lukas Hejtmanek <[EMAIL PROTECTED]> > Status : unknown seems to be fixed in 2.6.21-rc3 -- Lukáš Hejtmáne

Re: Suspend to disk bug 2.6.21-rc2-git1

2007-03-13 Thread Lukas Hejtmanek
On Sat, Mar 10, 2007 at 11:16:39PM +0100, Pavel Machek wrote: > Hi! > > > I'm not sure what version did exacly caused susped to disk problems but > > anyway, in 2.6.21-rc2-git1, suspend to disk breaks ACPI. ACPI events do not > > even emit ACPI interrupts. Suspend to ram works nicely. > > Is 2.6.

Suspend to disk bug 2.6.21-rc2-git1

2007-03-05 Thread Lukas Hejtmanek
Hello, I'm not sure what version did exacly caused susped to disk problems but anyway, in 2.6.21-rc2-git1, suspend to disk breaks ACPI. ACPI events do not even emit ACPI interrupts. Suspend to ram works nicely. -- Lukáš Hejtmánek - To unsubscribe from this list: send the line "unsubscribe linux

BUG in 2.6.20-git15, Suspend to disk

2007-02-22 Thread Lukas Hejtmanek
Hello, after some time I've tried to suspend to disk. It basically works but it complains into log with the following message: BUG: at drivers/pci/pci.c:823 pcim_enable_device() [] pcim_enable_device+0xbc/0xd0 [] ata_pci_device_do_resume+0x22/0x80 [] ata_pci_device_resume+0x15/0x30 [] pci_dev

Re: [git patches] libata ACPI support

2007-02-21 Thread Lukas Hejtmanek
On Tue, Feb 20, 2007 at 06:49:17PM -0500, Jeff Garzik wrote: > Can you narrow down the -gitX release further? i.e. does 2.6.20-git13 > perform at full speed? -git13 includes several libata changes, but does > not include the ACPI additions. > > Since this is an ACPI execution error in the bug,

Re: [git patches] libata ACPI support

2007-02-21 Thread Lukas Hejtmanek
On Tue, Feb 20, 2007 at 06:49:17PM -0500, Jeff Garzik wrote: > Can you narrow down the -gitX release further? i.e. does 2.6.20-git13 > perform at full speed? -git13 includes several libata changes, but does > not include the ACPI additions. > > Since this is an ACPI execution error in the bug,

Re: [git patches] libata ACPI support

2007-02-20 Thread Lukas Hejtmanek
On Tue, Feb 20, 2007 at 05:23:21PM -0500, Jeff Garzik wrote: > >introducing SATA ACPI does not work for me (I've filled the bug > >report: http://bugzilla.kernel.org/show_bug.cgi?id=8046) beside those error > >messages, IDE performance is decreased. libata.noacpi=1 option works ok but > >the perfor

Re: [git patches] libata ACPI support

2007-02-20 Thread Lukas Hejtmanek
On Tue, Feb 20, 2007 at 05:23:56PM -0500, Jeff Garzik wrote: > >introducing SATA ACPI does not work for me (I've filled the bug > >report: http://bugzilla.kernel.org/show_bug.cgi?id=8046) beside those error > >messages, IDE performance is decreased. libata.noacpi=1 option works ok but > >the perfor

Re: [git patches] libata ACPI support

2007-02-20 Thread Lukas Hejtmanek
Hello, introducing SATA ACPI does not work for me (I've filled the bug report: http://bugzilla.kernel.org/show_bug.cgi?id=8046) beside those error messages, IDE performance is decreased. libata.noacpi=1 option works ok but the performance is still slightly degraded (about 10%). -- Lukáš Hejtmáne

Re: 2.6.19.2, 2.6.20 Kernel oops

2007-02-06 Thread Lukas Hejtmanek
On Tue, Feb 06, 2007 at 01:09:07AM -0800, Andrew Morton wrote: > > these are lines above: > > > > kernel: [ 144.639984] ACPI: Power Button (FF) [PWRF] > > kernel: [ 144.640006] input: Power Button (CM) as /class/input/input3 > > kernel: [ 144.640017] ACPI: Power Button (CM) [PWRB] > > kernel: [

Re: 2.6.19.2, 2.6.20 Kernel oops

2007-02-06 Thread Lukas Hejtmanek
On Mon, Feb 05, 2007 at 07:57:39PM -0800, Andrew Morton wrote: these are lines above: kernel: [ 144.639984] ACPI: Power Button (FF) [PWRF] kernel: [ 144.640006] input: Power Button (CM) as /class/input/input3 kernel: [ 144.640017] ACPI: Power Button (CM) [PWRB] kernel: [ 222.002010] PGD 25311

2.6.19.2, 2.6.20 Kernel oops

2007-02-05 Thread Lukas Hejtmanek
Hello, playing with my java application that sends data into network I got the following oops. I got also similar oops in interrupt handler but such situation results in kernel panic so I'm unable to provide exact oops, however, it also crashes in page_to_pfn. kernel: [ 222.002013] CPU 0 kernel:

[PATCH] asus_acpi M6000A model support

2005-08-23 Thread Lukas Hejtmanek
Hello, here is patch for Asus M6A laptop support. It works fine for me. -- Lukáš Hejtmánek --- asus_acpi.c.old 2005-04-21 02:03:13.0 +0200 +++ asus_acpi.c 2005-05-08 18:22:49.0 +0200 @@ -128,6 +128,7 @@ L8L, //L8400L M1A, //M1300A

2.6.12.[45] oops at boot

2005-08-16 Thread Lukas Hejtmanek
Hello, here is an oops I got during boot with kernel 2.6.12.4 or .5. Using debian kernel 2.6.8 it's ok. (Dmesg from 2.6.8 kernel is attached) PCI: Probing PCI hardware PCI: Probing PCI hardware (bus 00) PCI: Ignoring BAR0-3 of IDE controller :00:1f.1 PCI: Transparent bridge - :00:1e.0 PCI

Re: 2.6.13-rc5 - ACPI regression

2005-08-02 Thread Lukas Hejtmanek
On Tue, Aug 02, 2005 at 09:18:51PM +0200, Rafael J. Wysocki wrote: > > I did not notice before, but my values (capacity and so on) are completely > > wrong. It should contain values in mWh instead of mAh. > > There's a new kernel boot oprion ec_polling that you may want to try. Now it's ok except

Re: 2.6.13-rc5 - ACPI regression

2005-08-02 Thread Lukas Hejtmanek
On Tue, Aug 02, 2005 at 08:59:08PM +0200, Alessandro Suardi wrote: > On 8/2/05, Lukas Hejtmanek <[EMAIL PROTECTED]> wrote: > > Hello, > > > > newly with 2.6.13-rc5 (previous -rc1 was quite ok) > > > > $ time cat /proc/acpi/battery/BAT0/info > > pre

2.6.13-rc5 - ACPI regression

2005-08-02 Thread Lukas Hejtmanek
Hello, newly with 2.6.13-rc5 (previous -rc1 was quite ok) $ time cat /proc/acpi/battery/BAT0/info present: yes design capacity: 6000 mAh last full capacity: 6000 mAh battery technology: rechargeable design voltage: 14800 mV design capacity warning: 600

Re: E1000 - page allocation failure - saga continues :(

2005-04-19 Thread Lukas Hejtmanek
On Tue, Apr 19, 2005 at 10:15:27AM +0200, Yann Dupont wrote: > >Possibly kswapd might be unable to get enough CPU to free memory. I do not see why NIC rather does not drop packets instead of running out of memory. I know that renicing kswapd helps. But still do not see why 2.6.6 kernel works. --

Re: E1000 - page allocation failure - saga continues :(

2005-04-19 Thread Lukas Hejtmanek
On Tue, Apr 19, 2005 at 09:23:46AM +0200, Yann Dupont wrote: > Do you have turned NAPI on ??? I tried without it off on e1000 and ... > surprise ! > Don't have any messages since 12H now (usually I got those in less than 1H) I have NAPI on. I tried to turn it off but my test failed, I can see allo

Re: E1000 - page allocation failure - saga continues :(

2005-04-18 Thread Lukas Hejtmanek
On Mon, Apr 18, 2005 at 02:24:47PM +0200, Yann Dupont wrote: > >I know that kernel 2.6.6-bk4 works. So were there some memory manager changes > >since 2.6.6? If so it looks like there are some bugs. > >On the other hand, ethernet driver should not allocate much memory but rather > >drop packets. >

Re: E1000 - page allocation failure - saga continues :(

2005-04-18 Thread Lukas Hejtmanek
On Mon, Apr 18, 2005 at 02:10:31PM +0200, Yann Dupont wrote: > I have those problems too. The (temporary ?) fix is to raise the > min_free_kb to an higher value. > echo 65535 > /proc/sys/vm/min_free_kbytes > > Maybe such an high value is totally silly, but at least I don't have > those messages.

E1000 - page allocation failure - saga continues :(

2005-04-14 Thread Lukas Hejtmanek
Hello, today I tried 2.6.11.7 kernel with hoping that allocation failures disappear. Unfortunately they did not. Default min_free_kb is 3200kB. Here is stack trace: swapper: page allocation failure. order:0, mode:0x20 [] __alloc_pages+0x2b3/0x420 [] kmem_getpages+0x31/0xa0 [] cache_grow+0xae

Re: USB 2.0 Mass storage device

2005-02-24 Thread Lukas Hejtmanek
On Thu, Feb 24, 2005 at 01:15:12PM -0800, Greg KH wrote: > And if you look at the raw descriptors, which is what is displayed in > /proc/bus/usb/devices in human readable form, the device itself tells > the computer what speed it supports. The host never tells the device > what speed to run at. I

Re: USB 2.0 Mass storage device

2005-02-24 Thread Lukas Hejtmanek
On Thu, Feb 24, 2005 at 11:12:43AM -0800, Greg KH wrote: > > When connected through uhci-hcd: > > T: Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 > > Your device is only reporting that it can go at 12Mbit (full speed, not > 480Mbit, which is high speed.) Is this independent of u

Re: USB 2.0 Mass storage device

2005-02-24 Thread Lukas Hejtmanek
On Thu, Feb 24, 2005 at 10:49:28AM -0800, Greg KH wrote: > > This is the device: > > http://www.msi.com.tw/program/support/download/dld/spt_dld_detail.php?UID=607&kind=6 > > > > Btw, I thought, that ehci-hcd driver handles both usb 2.0 and 1.1. Does it? > > No, it hands off the usb 1.1 devices to

Re: USB 2.0 Mass storage device

2005-02-24 Thread Lukas Hejtmanek
On Thu, Feb 24, 2005 at 07:23:45PM +0100, Matthias-Christian Ott wrote: > Is hotplug enabled (it should detect it as a scsi generic mass storage)? No, I detect device loading proper modules. With uhci-hcd it works perfectly except the speed. ehci-hcd does not detect it at all. -- Lukáš Hejtmánek

Re: USB 2.0 Mass storage device

2005-02-24 Thread Lukas Hejtmanek
On Thu, Feb 24, 2005 at 10:13:47AM -0800, Greg KH wrote: > Is the ehci-hcd driver loaded? And is your device a high speed one? > USB 2.0 support does not mean that it actually goes at high speeds, I > have a USB 2.0 "compliant" low speed USB keyboard here :) Yes, ehci-hcd driver is loaded. (kerne

USB 2.0 Mass storage device

2005-02-24 Thread Lukas Hejtmanek
Hello, I have a new MSI Mega Stick 511 USB 2.0 Mass storage device. In my laptop I have USB 2.0 port (Acer TM242), when I connect device, only uhci_hcd driver detect device. Does anyone have some suggestions? Thanks. -- Lukáš Hejtmánek - To unsubscribe from this list: send the line "unsubscribe

Re: Call for help: list of machines with working S3

2005-02-16 Thread Lukas Hejtmanek
On Thu, Feb 17, 2005 at 12:22:57AM +0100, Pavel Machek wrote: > > does anyone have some experiences with intel i855 video card and S3? > > > > For me the binary driver from Intel works with S3 but only X server is > > restored > > not the text console. > > > > With open source driver nothing is

Re: Call for help: list of machines with working S3

2005-02-16 Thread Lukas Hejtmanek
Hello, does anyone have some experiences with intel i855 video card and S3? For me the binary driver from Intel works with S3 but only X server is restored not the text console. With open source driver nothing is restored. I try to use s3_bios or s3_mode, nothing helps. Using vbetool and post

devfs bug?

2000-10-12 Thread Lukas Hejtmanek
Hi there, as of devfs and devfsd Xterm seems to need suid bit set so that chown of /dev/pts/{pts number} can be done. devpts fs does not need it. So it is buggy devfs/devfsd or it is a feature? The first allocation of pts number has good ownership but if it is freed and another allocation is do