Re: Broadcom TG3 network drops, cannot recover without reboot

2015-10-14 Thread Toan Pham
, May 28, 2015 at 3:48 AM, Justin Catterall wrote: > > > On 27 May 2015, at 17:06, Toan Pham wrote: > > > > Justin, > > > > > > I've observed a similar symptom on the bcm5762 chip, not the 5720, and > > not sure if the bugs they are related.

Re: Broadcom TG3 network drops, cannot recover without reboot

2015-05-27 Thread Toan Pham
Justin, I've observed a similar symptom on the bcm5762 chip, not the 5720, and not sure if the bugs they are related. I've filed a bug report (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1447664), and actively working with Broadcom's engineering team to get this bug resolved. They are

Re: sleeping the system vs hibernate or suspend

2011-01-05 Thread Toan Pham
Here is the ref. Please read paragraph at section "how much swap do i need?". This article is pretty good for those who want to understand swap space. https://help.ubuntu.com/community/SwapFaq Sorry that i reference a Ubuntu source on this Debian mailing list. -toan -- To UNSUBSCRIBE,

Re: sleeping the system vs hibernate or suspend

2011-01-05 Thread Toan Pham
camaleon, FYI, that is a recommended setting. Optimal values depends on multiple factors such as: 1. total amount of physical ram, 2. percentage of actual utilized ram, 3. average cached size to swap partition etc. -toan -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org wit

Re: sleeping the system vs hibernate or suspend

2011-01-04 Thread Toan Pham
> "Suspend to memory (S3) works on my system under both 2.6.32-5-686 and 2.6.36-2.dmz.5-liquorix-686 kernels. Hibernate to drive (S4) doesn't even try under 2.6.36-2.dmz.5-liquorix-686, as expected. However, Hibernate executes under 2.6.32-5-686, only to abort and return to a running system. The

Re: sleeping the system vs hibernate or suspend

2011-01-04 Thread Toan Pham
> Twice? Why? I thought it should be at least the same size :-) > > I think nowadays you can even hibernate with no swap partition at all but > using a swap file. The state of a running system is not just RAM. It is what is in the current swapped filesystem + ram content + video ram. yes you can

Re: sleeping the system vs hibernate or suspend

2011-01-04 Thread Toan Pham
Just a side note. if you want to do S4, make sure that you have swap enabled. And that your swap partition is recommended to be twice the size of your physical ram. On some systems with nvidia or ATI video cards wont allow system to go to suspend/hibernation. You can try to unload xorg server

Re: building initramfs also as root filesystem problem

2010-12-03 Thread Toan Pham
ouput) when you try to run an executable, or bash error no such file found (but yet it is there). 4. Try to execute the executable with /lib/ld-2.5.90.so . Using this method, the linker actually tells you what's wrong with the executable if it can not be executed. -toan On 11/24/10, Toan

building initramfs also as root filesystem problem

2010-11-24 Thread Toan Pham
Hi, I am building a linux os by incorporating in-kernel initramfs, which also runs as root-filesystem. The result of this work would be booting/distributing linux with only one file, which is the kernel + linked in initramfs + rootfs. I am having a problem booting up the os when everything is link

Re: ttyUSB0 and GPS

2009-12-11 Thread Toan Pham
sorry, typo on the last email.. BUS=="usb", KERNEL=="ttyUSB*", NAME="ttyUSB0" On Fri, Dec 11, 2009 at 12:06 PM, Toan Pham wrote: > > Add this udev rule to /etc/udev/rules.d/50-gps.rules > > BUS=="usb", KERNEL="ttyUSB*", NA

Re: ttyUSB0 and GPS

2009-12-11 Thread Toan Pham
Add this udev rule to /etc/udev/rules.d/50-gps.rules BUS=="usb", KERNEL="ttyUSB*", NAME="ttyUSB0" On Fri, Dec 11, 2009 at 10:26 AM, Jon Dowland > wrote: > On Sat, Dec 12, 2009 at 12:12:44AM +1300, Chris Bannister > wrote: > > Set up a udev rule for that particular device. > > I'd second this: h

trap keypress on bootup, during initrd

2009-12-02 Thread Toan Pham
Hi all, I am developing an embedded OS, and at times, i would to boot the OS different, lets say in a less secure mode when a user press or hold down, CTRL + ESC, for example. I am not sure what is the best way to do it. please advise, Thanks Toan -- To UNSUBSCRIBE, email to debian-user-re