[Bug 531190]

2011-11-24 Thread tlindvall
>From this we can see that hardware and kernel reports right figures when 
>unplugging the powercord:
tarmo@tarmo-hpmini ~ $  cat /proc/acpi/battery/BAT1/info
present: yes
design capacity: 2600 mWh
last full capacity:  2383 mWh
battery technology:  non-rechargeable
design voltage:  10800 mV
design capacity warning: 120 mWh
design capacity low: 24 mWh
capacity granularity 1:  0 mWh
capacity granularity 2:  100 mWh
model number:Primary
serial number:   10
battery type:LiOn
OEM info:Hewlett-Packard
tarmo@tarmo-hpmini ~ $ cat /proc/acpi/battery/BAT1/state
present: yes
capacity state:  ok
charging state:  charging
present rate:64269 mW
remaining capacity:  1959 mWh
present voltage: 12548 mV
tarmo@tarmo-hpmini ~ $ cat /proc/acpi/battery/BAT1/state
present: yes
capacity state:  ok
charging state:  discharging
present rate:1260 mW
remaining capacity:  1959 mWh
present voltage: 11789 mV

Here we can see how upower miscalculates remaining battery charge (time to 
empty 2.2 minutes):
tarmo@tarmo-hpmini ~ $ upower --dump
Device: /org/freedesktop/UPower/devices/line_power_AC0
  native-path:  
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/ACPI0003:00/power_supply/AC0
  power supply: yes
  updated:  Wed Jan 12 14:35:07 2011 (835 seconds ago)
  has history:  no
  has statistics:   no
  line-power
online: yes

Device: /org/freedesktop/UPower/devices/battery_BAT1
  native-path:  
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/PNP0C0A:00/power_supply/BAT1
  vendor:   Hewlett-Packard
  model:Primary
  serial:   10
  power supply: yes
  updated:  Wed Jan 12 14:35:13 2011 (829 seconds ago)
  has history:  yes
  has statistics:   yes
  battery
present: yes
rechargeable:yes
state:   fully-charged
energy:  2.383 Wh
energy-empty:0 Wh
energy-full: 2.383 Wh
energy-full-design:  2.6 Wh
energy-rate: 65.535 W
voltage: 12.364 V
percentage:  100%
capacity:91.6538%
technology:  lithium-ion

Daemon:
  daemon-version:  0.9.1
  can-suspend: yes
  can-hibernateyes
  on-battery:  no
  on-low-battery:  no
  lid-is-closed:   no
  lid-is-present:   yes
tarmo@tarmo-hpmini ~ $ upower --dump
Device: /org/freedesktop/UPower/devices/line_power_AC0
  native-path:  
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/ACPI0003:00/power_supply/AC0
  power supply: yes
  updated:  Wed Jan 12 14:50:10 2011 (3 seconds ago)
  has history:  no
  has statistics:   no
  line-power
online: no

Device: /org/freedesktop/UPower/devices/battery_BAT1
  native-path:  
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/PNP0C0A:00/power_supply/BAT1
  vendor:   Hewlett-Packard
  model:Primary
  serial:   10
  power supply: yes
  updated:  Wed Jan 12 14:50:13 2011 (0 seconds ago)
  has history:  yes
  has statistics:   yes
  battery
present: yes
rechargeable:yes
state:   discharging
energy:  2.383 Wh
energy-empty:0 Wh
energy-full: 2.383 Wh
energy-full-design:  2.6 Wh
energy-rate: 65.535 W
voltage: 12.43 V
time to empty:   2.2 minutes
percentage:  100%
capacity:91.6538%
technology:  lithium-ion

Daemon:
  daemon-version:  0.9.1
  can-suspend: yes
  can-hibernateyes
  on-battery:  yes
  on-low-battery:  no
  lid-is-closed:   no
  lid-is-present:   yes

Could it be that upower uses very high charging rate as basis of calculation of 
remaining time (seen in the first battery state)?
I agree with previous comments that this is a critical problem.  This is 
causing laptop being useless.  When unplugging laptop goes to standby, when 
waking up, it comes up but immediately hibernates etc... I hope there could be 
some sort of patch for this version of upower, because it will be used in 
ubuntu 10.04 for tree years (long term support).  Is there any way I could help 
in locating the problem?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/531190

Title:
  upower (devkit-power) reporting bad data when AC cable is unplugged

To manage notifications about this bug go to:
https://bugs.launchpad.net/devicekit-power/+bug/531190/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 207135] Re: pulseaudio uses too much CPU

2011-05-25 Thread tlindvall
Same problem here with maverick and hp2133.  Using recording application like 
gnome-sound-recorder or skype pulseaudio process eats all available cpu time 
(cpu usage 100%) and the sound is stuttering.  tsched=0 helps a bit (pulseaudio 
not taking all available cpu), but pulseaudio eats still 30% of cpu time.  
Aplay and arecord works fine.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/207135

Title:
  pulseaudio uses too much CPU

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 531190] Re: upower (devkit-power) reporting bad data when AC cable is unplugged

2011-02-03 Thread tlindvall

Here is patched .deb package for lucid version of upower (0.9.1-1).  It adds a 
sanity check of data and small delay for machines with bios not updating uevent 
data instantly.  I can't take any responsibility of the quality or correctness, 
but if someone having this bug is willing to give it a try that would be 
helpful.  Also if someone not having this bug could give it a try would be 
helpful (should not have any effect if correct). I have tested this only on 
hp2133 running 10.04.

thanks,

** Attachment added: ".deb of patched upower 0.9.1-1"
   
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/531190/+attachment/1827099/+files/upower_0.9.1-1.2_i386.deb

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/531190

Title:
  upower (devkit-power) reporting bad data when AC cable is unplugged

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 531190] Re: upower (devkit-power) reporting bad data when AC cable is unplugged

2011-02-03 Thread tlindvall

Enhanced version of patch for lucid.  In most cases should show the remaining 
time also. Downside is small delay in responding  unplug event.  Should not 
have any effect on systems not affected by this bug i.e. should be suitable as 
a common correction for lucid.

** Attachment added: "patch2 for lucid (upower 0.9.1-1)"
   
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/531190/+attachment/1826720/+files/patch.upower0.9.1-1.2_up-device-supply.c

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/531190

Title:
  upower (devkit-power) reporting bad data when AC cable is unplugged

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 531190] Re: upower (devkit-power) reporting bad data when AC cable is unplugged

2011-02-02 Thread tlindvall

** Attachment added: "patch for natty version (upower0.9.8-1build1)"
   
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/531190/+attachment/1825845/+files/patch.upower0.9.8-1build1_up-device-supply.c

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/531190

Title:
  upower (devkit-power) reporting bad data when AC cable is unplugged

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 531190] Re: upower (devkit-power) reporting bad data when AC cable is unplugged

2011-02-02 Thread tlindvall

Thanks David for the link.  Building debian package was easier than I thought. 
0.9.8 didn't work for me (hp2133).  My earlier idea helped a little, but didn't 
fully solve the issue.  But I did some more research and I suppose I found the 
core problem.  This is basically a timing issue.  If you take a look at 9.04, 
you can see a delay in gnome-power-manager.  And in 9.04 it works.
I could solve this issue by tweaking the timing, but I prefer a sanity check 
solution because there should not be any change in behavior of those machines 
not currently affected by this issue and the response is instant. 
Downsize of this patch is that in machines without capability of instant acpi 
updates you cannot see the estimate of remaining battery time instantly, but 
only after about 30 seconds.  I have built and tested this patch in lucid 
version 0.9.1 and natty version 0.9.8 and I am using this daily in lucid and 
happy with ubuntu again.  I would like to share this if someone is interested, 
if someone could advise me how to do it:
- debuild created some sort of patch file like upower_0.9.1-1.1.diff.gz or. Is 
this the one to download here or should I create diff using only the modified c 
file?
- debuild also created a lot of .debs that might be useful if someone else is 
interested in testing this patch? Is there some place I could upload these? 
Which of those .debs are needed for installation (I just used sudo debi to 
install)?
- is natty version of upower build in lucid usable in natty?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/531190

Title:
  upower (devkit-power) reporting bad data when AC cable is unplugged

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 531190] Re: upower (devkit-power) reporting bad data when AC cable is unplugged

2011-02-02 Thread tlindvall

** Attachment added: "upower patch for lucid"
   
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/531190/+attachment/1825825/+files/patch.upower0.9.1-1_up-device-supply.c

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/531190

Title:
  upower (devkit-power) reporting bad data when AC cable is unplugged

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 531190] Re: upower (devkit-power) reporting bad data when AC cable is unplugged

2011-01-14 Thread tlindvall

Sorry for the previous post.  I didn't fully realize how the system works.  But 
back to the problem itself.  I took a look about figures kernel reports in 
sysfs.  Looks like current_now is always same figure as power_now, meaning 
current_now is insane, but power_now is reasonable.  I'm on upower 0.9.1 and hp 
2133.

I took a look at sourcecode of upower 0.9.1.  With knowledge of just one
c-course, I came to an idea that the problem might be the following
piece of code in up-device-supply.c:

/* get rate; it seems odd as it's either in uVh or uWh */
energy_rate = fabs (sysfs_get_double (native_path, "current_now") / 
100.0);

/* convert charge to energy */
if (energy == 0) {
energy = sysfs_get_double (native_path, "charge_now") / 
100.0;
if (energy == 0)
energy = sysfs_get_double (native_path, "charge_avg") / 
100.0;
energy *= voltage_design;
energy_rate *= voltage_design;
}


energy_rate rate gets converted from Ampere to Watts only when energy is zero 
(bug?).  But in addition to correcting this we could use power_now as primary 
source of information.  How about changing this code to:

/* get rate; it seems odd as it's either in uVh or uWh */
energy_rate = fabs (sysfs_get_double (native_path, "power_now") / 
100.0);
if (energy_rate == 0) {
energy_rate = fabs (sysfs_get_double (native_path, 
"current_now") / 100.0);
energy_rate *= voltage_design;
}

/* convert charge to energy */
if (energy == 0) {
energy = sysfs_get_double (native_path, "charge_now") / 
100.0;
if (energy == 0)
energy = sysfs_get_double (native_path, "charge_avg") / 
100.0;
energy *= voltage_design;
}

I would like to test this idea in my netbook, but couldn't figure out how to 
build ubuntu version of upower 0.9.1.  There are some source packages in
http://packages.ubuntu.com/source/lucid/upower
but when extrating package upower_0.9.1.orig.tar.gz, it creates a directory 
UPower-0.9.1.  When trying to apply upower_0.9.1-1.diff.gz by
patch -p0 < upower_0.9.1-1.diff
I get another directory upower-0.9.1 with debian subdirectory.
Could anyone explain in layman terms the whole ubuntu version of upower build 
and installation process??

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/531190

Title:
  upower (devkit-power) reporting bad data when AC cable is unplugged

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 531190] Re: upower (devkit-power) reporting bad data when AC cable is unplugged

2010-12-23 Thread tlindvall

Hi all,

Just wandered why so critical bug like this has been open so long.   People 
here are talking, but there isn't anyone listening.   Looks like the system 
goes like this:
This is reported to ubuntu
Ubuntu forwards this to debian
debian forwards this to FreeDesktop
Every movement takes time, repeated reporting and looks like the guy at the end 
of the chain gets no information at all.  At the end of the chain this is a low 
priority issue and no-one is commenting or giving any further information.  
Looks like there is something wrong in ubuntu bug coordination process.  This 
is a critical bug and has been open over many releases.

I assume the final destination of this bug is:
https://bugs.freedesktop.org/show_bug.cgi?id=27399
Is that the place where discussion should take place?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/531190

Title:
  upower (devkit-power) reporting bad data when AC cable is unplugged

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 531190] Re: upower (devkit-power) reporting bad data when AC cable is unplugged

2010-12-22 Thread tlindvall

HP 2133 and Lucid.  Is there any progress?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/531190

Title:
  upower (devkit-power) reporting bad data when AC cable is unplugged

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 614316] Re: VT1708/A (hp2133) output crackling

2010-12-18 Thread tlindvall
** Package changed: alsa-driver (Ubuntu) => pulseaudio (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/614316

Title:
  VT1708/A (hp2133) output crackling

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 614316] Re: VT1708/A (hp2133) output crackling

2010-12-18 Thread tlindvall

Did some more testing.  alsa 1.0.23 works great. With arecord and aplay no 
problems at all. This was a pulse-audio problem.  Solved this by modifying 
/etc/pulse/daemon.conf.  Assume problem was caused by latency in this kind of 
low end system.  Looks like this a very common problem in pulse-audio often 
called "stuttering".

Thanks again for alsa 1.0.23.  It is a great piece of software.  The
problem is now ubuntu backport policy.  Could you please backport alsa
1.0.23 to Lucid.  I have compiled it in many installations in low end
systems and it is a pain in the ass.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/614316

Title:
  VT1708/A (hp2133) output crackling

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 614316] Re: VT1708/A (hp2133) output crackling

2010-08-14 Thread tlindvall

udated to alsa 1.0.23.  Here are testing results using ubuntu voice recorder 
and latest alsa driver:
- no need for "options snd-hda-intel position_fix=1"
- no cracling in output
- volume in sound recording is low even with recording level set to maximum
- strange echo in recordings, words are repeated

previous applies also for skype (output ok, echo in recording) but in
skype recording level is ok (might be due to skype automatic level
adjusting).

Regs,

-- 
VT1708/A (hp2133) output crackling
https://bugs.launchpad.net/bugs/614316
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 562081] Re: forcedeth driver hang/freeze

2010-08-06 Thread tlindvall

This happens nowadays randomly and very seldom.  This is a apport log from the 
last error.  getting this was a bit difficult because online reporting is 
difficult when you have a problem in network;).  Couldn't do server upgrade 
because of dependencies.  

** Attachment added: "apport.linux-image-2.6.31-16-server.XJ55Z5.apport"
   
http://launchpadlibrarian.net/53169122/apport.linux-image-2.6.31-16-server.XJ55Z5.apport

-- 
forcedeth driver hang/freeze
https://bugs.launchpad.net/bugs/562081
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 614316] Re: VT1708/A (hp2133) output crackling

2010-08-06 Thread tlindvall

** Attachment added: "AlsaDevices.txt"
   http://launchpadlibrarian.net/53162400/AlsaDevices.txt

** Attachment added: "BootDmesg.txt"
   http://launchpadlibrarian.net/53162401/BootDmesg.txt

** Attachment added: "Card0.Amixer.values.txt"
   http://launchpadlibrarian.net/53162402/Card0.Amixer.values.txt

** Attachment added: "Card0.Codecs.codec.0.txt"
   http://launchpadlibrarian.net/53162403/Card0.Codecs.codec.0.txt

** Attachment added: "CurrentDmesg.txt"
   http://launchpadlibrarian.net/53162404/CurrentDmesg.txt

** Attachment added: "Dependencies.txt"
   http://launchpadlibrarian.net/53162405/Dependencies.txt

** Attachment added: "PciMultimedia.txt"
   http://launchpadlibrarian.net/53162406/PciMultimedia.txt

** Attachment added: "ProcCpuinfo.txt"
   http://launchpadlibrarian.net/53162407/ProcCpuinfo.txt

-- 
VT1708/A (hp2133) output crackling
https://bugs.launchpad.net/bugs/614316
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 614316] [NEW] VT1708/A (hp2133) output crackling

2010-08-06 Thread tlindvall
Public bug reported:


Via VT1708/A (hp2133) sound didn't work at all after installing 10.04.  (The 
same card works fine with ubuntu 9.04.).  Hardware disappears from sound 
settings after a while.  As a workaround for this I added following into the 
/etc/modprobe.d/alsa-base.conf:
options snd-hda-intel position_fix=1
After this I get some sound, but output is crackling.

Description:Ubuntu 10.04.1 LTS
Release:10.04
2.6.32-24-generic

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: alsa-base 1.0.22.1+dfsg-0ubuntu3
ProcVersionSignature: Ubuntu 2.6.32-24.39-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic i686
NonfreeKernelModules: wl
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
AplayDevices:
  List of PLAYBACK Hardware Devices 
 card 0: VT82xx [HDA VIA VT82xx], device 0: AD198x Analog [AD198x Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: i386
ArecordDevices:
  List of CAPTURE Hardware Devices 
 card 0: VT82xx [HDA VIA VT82xx], device 0: AD198x Analog [AD198x Analog]
   Subdevices: 2/2
   Subdevice #0: subdevice #0
   Subdevice #1: subdevice #1
AudioDevicesInUse:
 USERPID ACCESS COMMAND
 /dev/snd/controlC0:  lindvall   1442 F pulseaudio
Card0.Amixer.info:
 Card hw:0 'VT82xx'/'HDA VIA VT82xx at 0xfebfc000 irq 17'
   Mixer name   : 'Analog Devices AD1984A'
   Components   : 'HDA:11d4194a,103c3030,00100400'
   Controls  : 18
   Simple ctrls  : 11
Date: Fri Aug  6 14:45:40 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu-Netbook 10.04 "Lucid Lynx" - Release i386 (20100429.4)
PackageArchitecture: all
ProcEnviron:
 LANG=fi_FI.utf8
 SHELL=/bin/bash
SourcePackage: alsa-driver
dmi.bios.date: 06/27/2008
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68VGU Ver. F.03
dmi.board.name: 3030
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 07.14
dmi.chassis.asset.tag: CNU8372JRD
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: 
dmi:bvnHewlett-Packard:bvr68VGUVer.F.03:bd06/27/2008:svnHewlett-Packard:pnHP2133:pvrF.03:rvnHewlett-Packard:rn3030:rvrKBCVersion07.14:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP 2133
dmi.product.version: F.03
dmi.sys.vendor: Hewlett-Packard

** Affects: alsa-driver (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: apport-bug i386 lucid ubuntu-une

-- 
VT1708/A (hp2133) output crackling
https://bugs.launchpad.net/bugs/614316
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 562081] Re: forcedeth driver hang/freeze

2010-05-17 Thread tlindvall

Thanks for your answer.  Last time this happened my son was testing kvm running 
windows server in the same server.   Do you think this could be caused by kvm & 
windows server and host ubuntu server accessing same network interface?  Using 
windows server in the same server propably caused heavy load for nic.

Strange in this bug is that when ubuntu server computer nic hangs all traffic 
in other computers connected in the same gigabit switch stops/hangs also.  When 
I reboot ubuntu server all traffic in other computers works normally.
 
I'm also planning to upgrade this computer to 10.04 within couple of weeks.  
I'll let you know if this is happening with 10.04.

Seems like debian bug "Bug#572201: [PATCH] forcedeth: fix tx limit2 flag
check" might be related to this.  Is there already a kernel build where
this pach has been applied (i don't have skills to patch and build
kernel)?  That kernel version might be a good candidate for testing
after upgrading to 10.04.

-- 
forcedeth driver hang/freeze
https://bugs.launchpad.net/bugs/562081
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 562081] Re: forcedeth driver hang/freeze

2010-04-13 Thread tlindvall

/var/log/messages.1

** Attachment added: "/var/log/messages"
   http://launchpadlibrarian.net/44006672/messages.1

-- 
forcedeth driver hang/freeze
https://bugs.launchpad.net/bugs/562081
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 562081] Re: forcedeth driver hang/freeze

2010-04-13 Thread tlindvall

dmesg log after cold reboot


** Attachment added: "dmesg.log"
   http://launchpadlibrarian.net/44005797/dmesg.log

-- 
forcedeth driver hang/freeze
https://bugs.launchpad.net/bugs/562081
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 562081] Re: forcedeth driver hang/freeze

2010-04-13 Thread tlindvall

** Attachment added: "lspci-vnvn.log"
   http://launchpadlibrarian.net/44002054/lspci-vnvn.log

-- 
forcedeth driver hang/freeze
https://bugs.launchpad.net/bugs/562081
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 562081] [NEW] forcedeth driver hang/freeze

2010-04-13 Thread tlindvall
Public bug reported:


Forcedeth driver hangs about once per month.  All the network traffic is ceased 
until cold reboot.  System is connected to netgear gigabit switch.

$ lsb_release -rd
Description:Ubuntu 9.10
Release:9.10

$ uname -a
Linux serveri 2.6.31-16-server #53-Ubuntu SMP Tue Dec 8 05:08:02 UTC 2009 
x86_64 GNU/Linux

$ cat /proc/version_signature
Ubuntu 2.6.31-16.53-server

/var/log/messages:

Apr  9 18:20:22 serveri kernel: [26738.011282] [ cut here 
]
Apr  9 18:20:22 serveri kernel: [26738.011302] WARNING: at 
/build/buildd/linux-2.6.31/net/sched/sch_generic.c:246 
dev_watchdog+0x262/0x270()
Apr  9 18:20:22 serveri kernel: [26738.011308] Hardware name: System Product 
Name
Apr  9 18:20:22 serveri kernel: [26738.011313] NETDEV WATCHDOG: eth1 
(forcedeth): transmit queue 0 timed out
Apr  9 18:20:22 serveri kernel: [26738.011317] Modules linked in: usb_storage 
usblp tun ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 
xt_state nf_conntrack ipt_REJECT xt_tcpudp kvm_amd kvm bridge stp 
dahdi_transcode dahdi_dummy dahdi crc_ccitt ccm ecb sha512_generic xfrm_user 
ah6 ah4 esp6 esp4 xfrm4_mode_beet xfrm4_tunnel tunnel4 xfrm4_mode_tunnel 
xfrm4_mode_transport xfrm6_mode_transport xfrm6_mode_ro xfrm6_mode_beet 
xfrm6_mode_tunnel ipcomp ipcomp6 xfrm_ipcomp xfrm6_tunnel tunnel6 deflate 
zlib_deflate ctr twofish twofish_common camellia serpent blowfish cast5 
des_generic cbc cryptd aes_x86_64 aes_generic xcbc rmd160 sha256_generic 
sha1_generic crypto_null af_key cx22702 cx88_dvb cx88_vp3054_i2c videobuf_dvb 
tuner_simple tuner_types tda9887 tda8290 tuner snd_hda_codec_analog ppdev 
yealink cx88_alsa cx8800 iptable_filter ip_tables x_tables cx8802 cx88xx mt352 
snd_hda_intel snd_hda_codec mt2060 snd_usb_audio snd_pcm_oss snd_mixer_oss 
snd_pcm snd_usb_lib snd_hwdep nvidia(P) snd_seq_dummy snd_se
Apr  9 18:20:22 serveri kernel: q_oss dvb_usb_dibusb_mc dvb_usb_dibusb_common 
dib3000mc dibx000_common dvb_usb stv0299 snd_seq_midi psmouse serio_raw bttv 
ir_common i2c_algo_bit v4l2_common videodev v4l1_compat v4l2_compat_ioctl32 
tveeprom btcx_risc videobuf_dma_sg videobuf_core hwmon_vid snd_rawmidi 
parport_pc b2c2_flexcop_pci b2c2_flexcop snd_seq_midi_event dvb_core cx24123 
cx24113 s5h1420 amd64_edac_mod snd_seq snd_timer snd_seq_device asus_atk0110 lp 
parport edac_core k8temp i2c_nforce2 snd soundcore snd_page_alloc raid10 raid1 
raid0 multipath linear dm_raid45 raid456 raid6_pq async_xor async_memcpy 
async_tx xor usbhid ohci1394 ieee1394 forcedeth
Apr  9 18:20:22 serveri kernel: [26738.011536] Pid: 21045, comm: kvm Tainted: P 
  2.6.31-16-server #53-Ubuntu
Apr  9 18:20:22 serveri kernel: [26738.011542] Call Trace:
Apr  9 18:20:22 serveri kernel: [26738.011547][] 
warn_slowpath_common+0x78/0xb0
Apr  9 18:20:22 serveri kernel: [26738.011568]  [] 
warn_slowpath_fmt+0x3c/0x40
Apr  9 18:20:22 serveri kernel: [26738.011575]  [] 
dev_watchdog+0x262/0x270
Apr  9 18:20:22 serveri kernel: [26738.011591]  [] ? 
sys_setdomainname+0x98/0x100
Apr  9 18:20:22 serveri kernel: [26738.011601]  [] ? 
default_spin_lock_flags+0x9/0x10
Apr  9 18:20:22 serveri kernel: [26738.011607]  [] ? 
dev_watchdog+0x0/0x270
Apr  9 18:20:22 serveri kernel: [26738.011614]  [] 
run_timer_softirq+0x16c/0x270
Apr  9 18:20:22 serveri kernel: [26738.011623]  [] 
__do_softirq+0xbd/0x200
Apr  9 18:20:22 serveri kernel: [26738.011632]  [] 
call_softirq+0x1c/0x30
Apr  9 18:20:22 serveri kernel: [26738.011639]  [] 
do_softirq+0x55/0x90
Apr  9 18:20:22 serveri kernel: [26738.011646]  [] 
irq_exit+0x85/0x90
Apr  9 18:20:22 serveri kernel: [26738.011654]  [] 
smp_apic_timer_interrupt+0x6c/0xa0
Apr  9 18:20:22 serveri kernel: [26738.011663]  [] 
apic_timer_interrupt+0x13/0x20
Apr  9 18:20:22 serveri kernel: [26738.011667][] ? 
x86_emulate_insn+0x45/0x2e20 [kvm]
Apr  9 18:20:22 serveri kernel: [26738.011724]  [] ? 
x86_decode_insn+0x8a5/0xb20 [kvm]
Apr  9 18:20:22 serveri kernel: [26738.011747]  [] ? 
emulate_instruction+0xe3/0x340 [kvm]
Apr  9 18:20:22 serveri kernel: [26738.011769]  [] ? 
kvm_mmu_page_fault+0x5d/0xa0 [kvm]
Apr  9 18:20:22 serveri kernel: [26738.011784]  [] ? 
pf_interception+0x7b/0x140 [kvm_amd]
Apr  9 18:20:22 serveri kernel: [26738.011805]  [] ? 
kvm_lapic_set_tpr+0x36/0x40 [kvm]
Apr  9 18:20:22 serveri kernel: [26738.011827]  [] ? 
kvm_set_cr8+0x27/0x60 [kvm]
Apr  9 18:20:22 serveri kernel: [26738.011839]  [] ? 
handle_exit+0xdb/0x264 [kvm_amd]
Apr  9 18:20:22 serveri kernel: [26738.011860]  [] ? 
kvm_apic_has_interrupt+0x5b/0x80 [kvm]
Apr  9 18:20:22 serveri kernel: [26738.011881]  [] ? 
vcpu_enter_guest+0x2b2/0x5c0 [kvm]
Apr  9 18:20:22 serveri kernel: [26738.011891]  [] ? 
__down_read+0xbb/0xc6
Apr  9 18:20:22 serveri kernel: [26738.011900]  [] ? 
svm_vcpu_load+0x3e/0xb0 [kvm_amd]
Apr  9 18:20:22 serveri kernel: [26738.011922]  [] ? 
__vcpu_run+0x63/0x320 [kvm]
Apr  9 18:20:22 serveri kernel: [26738.011944]  [] ? 
kvm_arch_vcpu_ioctl_run+0x82/0x1c0 [kvm]
Apr

[Bug 309734] [NEW] xorg automatic display detection not working

2008-12-19 Thread tlindvall
Public bug reported:

Binary package hint: xorg


When xorg fails to detect display, it forces to use 640x480.  This happens even 
if xorg.conf contains relevant information for the display.  If the recognition 
fails, it should consider using xorg.conf information.

The quick solution:
user should be provided a way to disable automatic recognition and force to  
use xorg.conf settings? Override already possible?

SW Version: ubuntu 8.10
Hardware:
HP 2133
P/N: FU337EA
Bios: F.05 (happens also with 03 and 04)
Display native resolution: 1024x600

**

xorg.conf:

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by reidy90, by copying correct settings from
# the xorg.conf that was provided with the SUSE hp 2133.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Device"
  BoardName"Framebuffer Graphics"
  Driver   "vesa"
  Identifier   "Device[0]"
  Screen   0
  VendorName   "VIA Technology"
  Option "NoDDCValue"
  Option "ActiveDevice" "LCD,CRT"
  Option "PanelID"  "17"
  Option  "DisplayHardwareLayout" "LCD"
  Option  "ForceLCD"
#[]
  Option  "VideoOnDevice" "LCD"
#  Option "LCDPort" "DVP0"
EndSection

Section "Monitor"
  DisplaySize  250 150
  HorizSync28-500
  Identifier   "Monitor[0]"
  ModelName"VIEWSONIC VA912-4SERIES"
  Option   "DPMS"
  VendorName   "VSC"
  VertRefresh  43-60
  UseModes "Modes[0]"
EndSection

Section "Modes"
  Identifier   "Modes[0]"
  Modeline  "1280x800" 120.33 1280 1368 1504 1728 800 801 804 839
  Modeline  "1280x800" 118.88 1280 1368 1504 1728 800 801 804 839
  Modeline  "1280x800" 116.21 1280 1360 1496 1712 800 801 804 838
#  Modeline "1280x768" 114.53 1280 1360 1496 1712 768 769 772 806
#  Modeline "1280x768" 113.01 1280 1360 1496 1712 768 769 772 805
#  Modeline "1280x768" 111.63 1280 1360 1496 1712 768 769 772 805
  Modeline  "1280x768" 80.14  1280 1344 1480 1680  768 769 772 795  -HSync 
+Vsync
  Modeline  "1024x768" 92.05 1024 1088 1200 1376 768 769 772 806
  Modeline  "1024x768" 90.83 1024 1088 1200 1376 768 769 772 805
  Modeline  "1024x768" 89.72 1024 1088 1200 1376 768 769 772 805
  Modeline  "1280x600" 88.68 1280 1352 1488 1696 600 601 604 630
  Modeline  "1280x600" 87.48 1280 1352 1488 1696 600 601 604 629
  Modeline  "1280x600" 85.59 1280 1344 1480 1680 600 601 604 629
  Modeline  "1024x600" 71.11 1024 1080 1192 1360 600 601 604 630
  Modeline  "1024x600" 69.32 1024 1080 1184 1344 600 601 604 629
  Modeline  "1024x600" 68.48 1024 1080 1184 1344 600 601 604 629
  Modeline  "800x600" 55.22 800 840 928 1056 600 601 604 630
  Modeline  "800x600" 54.47 800 840 928 1056 600 601 604 629
  Modeline  "800x600" 53.80 800 840 928 1056 600 601 604 629
  Modeline  "768x576" 50.62 768 808 888 1008 576 577 580 605
  Modeline  "768x576" 49.92 768 808 888 1008 576 577 580 604
  Modeline  "768x576" 49.32 768 808 888 1008 576 577 580 604
  Modeline  "640x480" 34.80 640 672 736 832 480 481 484 504
  Modeline  "640x480" 34.38 640 672 736 832 480 481 484 504
  Modeline  "640x480" 33.90 640 672 736 832 480 481 484 503
EndSection

Section "Screen"
  SubSection "Display"
Modes  "1024x600"
  EndSubSection
  Device   "Device[0]"
  Identifier   "Screen[0]"
  Monitor  "Monitor[0]"
EndSection

** Affects: xorg (Ubuntu)
 Importance: Undecided
 Status: New

-- 
xorg automatic display detection not working
https://bugs.launchpad.net/bugs/309734
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 309734] Re: xorg automatic display detection not working

2008-12-19 Thread tlindvall

** Attachment added: "xorg.log"
   http://launchpadlibrarian.net/20578564/Xorg.0.log

-- 
xorg automatic display detection not working
https://bugs.launchpad.net/bugs/309734
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs