When dpkg install a package, when popularity-contest work, when I copy a file on Hard Disk, I can't use my computer, all interfaces are freeze

2 views
Skip to first unread message

Stéphane Klein

unread,
Sep 20, 2011, 9:07:55 AM9/20/11
to ubuntu...@lists.ubuntu.com
Hi,

I've write to you because when my system have many access to Hard Disk,
I can't use my computer.

When dpkg install a package, when poplarity-contest is executed I can do
nothing, worse sometime I can move the mouse cursor !

I use Ubuntu 11.04 on MacBook3,1 (120Go at 5400 rpm).

What can I do to fix this issue ?

Regards,
Stephane
--
Stéphane Klein <step...@harobed.org>
blog: http://stephane-klein.info
Twitter: http://twitter.com/klein_stephane
pro: http://www.is-webdesign.com


--
ubuntu-users mailing list
ubuntu...@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Alan Pope

unread,
Sep 20, 2011, 9:13:39 AM9/20/11
to Ubuntu user technical support, not for general discussions
On 20 September 2011 14:07, Stéphane Klein <step...@harobed.org> wrote:
> When dpkg install a package, when poplarity-contest is executed I can do
> nothing, worse sometime I can move the mouse cursor !
>
> I use Ubuntu 11.04 on MacBook3,1 (120Go at 5400 rpm).
>
> What can I do to fix this issue ?
>

This article may help, although I have not seen the issue and not
tried what it suggests, the comments look hopeful:-

http://techtitbits.com/2010/04/get-rid-of-freeze-ups-during-disk-io-activity-in-ubuntu/

Cheers,
Al.

Stéphane Klein

unread,
Sep 20, 2011, 9:27:04 AM9/20/11
to ubuntu...@lists.ubuntu.com, Alan Pope
Le 20/09/2011 15:13, Alan Pope a écrit :
> On 20 September 2011 14:07, Stéphane Klein<step...@harobed.org> wrote:
>> When dpkg install a package, when poplarity-contest is executed I can do
>> nothing, worse sometime I can move the mouse cursor !
>>
>> I use Ubuntu 11.04 on MacBook3,1 (120Go at 5400 rpm).
>>
>> What can I do to fix this issue ?
>>
>
> This article may help, although I have not seen the issue and not
> tried what it suggests, the comments look hopeful:-
>
> http://techtitbits.com/2010/04/get-rid-of-freeze-ups-during-disk-io-activity-in-ubuntu/

Not success for me.

When I copy a big file, my system is always unusable same with

echo "deadline" | sudo tee /sys/block/sda/queue/scheduler

Stéphane Klein

unread,
Sep 20, 2011, 9:30:40 AM9/20/11
to ubuntu...@lists.ubuntu.com
Le 20/09/2011 15:07, Stéphane Klein a écrit :
> Hi,
>
> I've write to you because when my system have many access to Hard Disk,
> I can't use my computer.
>
> When dpkg install a package, when poplarity-contest is executed I can do
> nothing, worse sometime I can move the mouse cursor !
>
> I use Ubuntu 11.04 on MacBook3,1 (120Go at 5400 rpm).
>
> What can I do to fix this issue ?

I think it is always the same bug since 4 years ! :(

https://bugs.launchpad.net/linuxmint/+bug/131094

Are there a kernel hacker here to understand this issue ?

Pop Horea-Vasile

unread,
Sep 20, 2011, 9:35:38 AM9/20/11
to Ubuntu user technical support, not for general discussions
On 09/20/2011 04:27 PM, Stéphane Klein wrote:
> Le 20/09/2011 15:13, Alan Pope a écrit :
>> On 20 September 2011 14:07, Stéphane Klein<step...@harobed.org> wrote:
>>> When dpkg install a package, when poplarity-contest is executed I
>>> can do
>>> nothing, worse sometime I can move the mouse cursor !
>>>
>>> I use Ubuntu 11.04 on MacBook3,1 (120Go at 5400 rpm).
>>>
>>> What can I do to fix this issue ?
>>>
>>
>> This article may help, although I have not seen the issue and not
>> tried what it suggests, the comments look hopeful:-
>>
>> http://techtitbits.com/2010/04/get-rid-of-freeze-ups-during-disk-io-activity-in-ubuntu/
>>
>
> Not success for me.
>
> When I copy a big file, my system is always unusable same with
>
> echo "deadline" | sudo tee /sys/block/sda/queue/scheduler
>
> Regards,
> Stephane
I did a search on the net and found that you macbook has 1 GB RAM and
144 MB VRAM. In my opinion first you should have at least 2 GB RAM if
you want to operate well under 11.04. I have the same version of Ubuntu
installed with 2.8 GB RAM and it work just fine. BUT if want to use
virtualbox running oneiric ocelot or other any new OS I must have 4GB
RAM installed. After you have 2-3-4 GB RAM start thinking about HDD.

Stéphane Klein

unread,
Sep 20, 2011, 9:39:15 AM9/20/11
to ubuntu...@lists.ubuntu.com, Pop Horea-Vasile
Le 20/09/2011 15:35, Pop Horea-Vasile a écrit :
> I did a search on the net and found that you macbook has 1 GB RAM and
> 144 MB VRAM. In my opinion first you should have at least 2 GB RAM if
> you want to operate well under 11.04. I have the same version of Ubuntu
> installed with 2.8 GB RAM and it work just fine. BUT if want to use
> virtualbox running oneiric ocelot or other any new OS I must have 4GB
> RAM installed. After you have 2-3-4 GB RAM start thinking about HDD.

I've already 2GB of Ram.

Pop Horea-Vasile

unread,
Sep 20, 2011, 9:46:18 AM9/20/11
to Ubuntu user technical support, not for general discussions
On 09/20/2011 04:39 PM, Stéphane Klein wrote:
> Le 20/09/2011 15:35, Pop Horea-Vasile a écrit :
>> I did a search on the net and found that you macbook has 1 GB RAM and
>> 144 MB VRAM. In my opinion first you should have at least 2 GB RAM if
>> you want to operate well under 11.04. I have the same version of Ubuntu
>> installed with 2.8 GB RAM and it work just fine. BUT if want to use
>> virtualbox running oneiric ocelot or other any new OS I must have 4GB
>> RAM installed. After you have 2-3-4 GB RAM start thinking about HDD.
>
> I've already 2GB of Ram.
>
OK. That's good. Maybe if you write to the devel.discution or submit the
problem to lunchpad it will have a solution. BUT personally I have a
question: why do you use mac technology with Ubuntu. There are not
developers for Ubuntu with machintos tech, I think.

Stéphane Klein

unread,
Sep 20, 2011, 9:51:50 AM9/20/11
to ubuntu...@lists.ubuntu.com, Pop Horea-Vasile
Le 20/09/2011 15:46, Pop Horea-Vasile a écrit :
> BUT personally I have a
> question: why do you use mac technology with Ubuntu. There are not
> developers for Ubuntu with machintos tech, I think.
>

Sometime, I need to switch to Mac OSX to test some tools and my project
(Python) on OSX.

This computer have standard Intel Component.

00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory
Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960
Integrated Graphics Controller (primary) (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960
Integrated Graphics Controller (secondary) (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI
Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio
Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express
Port 1 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express
Port 5 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express
Port 6 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI
Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface
Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E)
IDE Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E)
SATA IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller
(rev 03)
02:00.0 Network controller: Broadcom Corporation BCM4321 802.11a/b/g/n
(rev 03)
03:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8058 PCI-E
Gigabit Ethernet Controller (rev 13)
04:03.0 FireWire (IEEE 1394): Agere Systems FW322/323 (rev 61)

Pop Horea-Vasile

unread,
Sep 20, 2011, 10:02:55 AM9/20/11
to Ubuntu user technical support, not for general discussions
Did you opened Disk utility and saw what is the health status of HDD ?

Stéphane Klein

unread,
Sep 20, 2011, 10:08:09 AM9/20/11
to ubuntu...@lists.ubuntu.com, Pop Horea-Vasile
Le 20/09/2011 16:02, Pop Horea-Vasile a écrit :
> Did you opened Disk utility and saw what is the health status of HDD ?

Do you speak about smartctl ?

$ sudo smartctl /dev/sda --all
smartctl 5.40 2010-07-12 r3124 [i686-pc-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family: Fujitsu MHY2 BH series
Device Model: FUJITSU MHY2160BH
Serial Number: K43AT7B26SGM
Firmware Version: 0081000D
User Capacity: 160 041 885 696 bytes
Device is: In smartctl database [for details use: -P show]
ATA Version is: 8
ATA Standard is: ATA-8-ACS revision 3f
Local Time is: Tue Sep 20 16:07:46 2011 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 0) The previous self-test routine
completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 649) seconds.
Offline data collection
capabilities: (0x7b) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 92) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE
UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 100 100 046 Pre-fail
Always - 0
2 Throughput_Performance 0x0005 100 100 030 Pre-fail
Offline - 0
3 Spin_Up_Time 0x0003 100 100 025 Pre-fail
Always - 0
4 Start_Stop_Count 0x0032 098 098 000 Old_age
Always - 6257
5 Reallocated_Sector_Ct 0x0033 100 100 024 Pre-fail
Always - 0
7 Seek_Error_Rate 0x000f 100 100 047 Pre-fail
Always - 0
8 Seek_Time_Performance 0x0005 100 100 019 Pre-fail
Offline - 0
9 Power_On_Hours 0x0032 085 085 000 Old_age
Always - 7846
10 Spin_Retry_Count 0x0013 100 100 020 Pre-fail
Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age
Always - 2419
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always
- 17180196986
193 Load_Cycle_Count 0x0032 095 095 000 Old_age Always
- 110002
194 Temperature_Celsius 0x0022 100 100 000 Old_age Always
- 35 (Lifetime Min/Max 13/55)
195 Hardware_ECC_Recovered 0x001a 100 100 000 Old_age Always
- 0
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always
- 0
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always
- 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age
Offline - 0
199 UDMA_CRC_Error_Count 0x003e 200 253 000 Old_age Always
- 0
200 Multi_Zone_Error_Rate 0x000f 100 100 060 Pre-fail Always
- 0
203 Run_Out_Cancel 0x0002 100 100 000 Old_age Always
- 0
240 Transfer_Error_Rate 0x003e 200 200 000 Old_age Always
- 0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]


SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

Pop Horea-Vasile

unread,
Sep 20, 2011, 10:23:25 AM9/20/11
to Ubuntu user technical support, not for general discussions
On 09/20/2011 05:08 PM, Stéphane Klein wrote:
No. Searchin the menu for apllication Disk Utility. It is wtih GUI and
you can do things like mount or unmount or see the health status of HDD.
It is in the right corner of GUI.

NoOp

unread,
Sep 20, 2011, 11:18:02 AM9/20/11
to ubuntu...@lists.ubuntu.com
On 09/20/2011 06:30 AM, Stéphane Klein wrote:
> Le 20/09/2011 15:07, Stéphane Klein a écrit :
>> Hi,
>>
>> I've write to you because when my system have many access to Hard Disk,
>> I can't use my computer.
>>
>> When dpkg install a package, when poplarity-contest is executed I can do
>> nothing, worse sometime I can move the mouse cursor !
>>
>> I use Ubuntu 11.04 on MacBook3,1 (120Go at 5400 rpm).
>>
>> What can I do to fix this issue ?
>
> I think it is always the same bug since 4 years ! :(
>
> https://bugs.launchpad.net/linuxmint/+bug/131094

More likely this one:
https://bugs.launchpad.net/ubuntu/+source/popularity-contest/+bug/493852
[popularity-contest will stat() every file installed file or ~80k files
on my system which grinds things to a halt ]

Why not just turn it off?
System|Administration|Synaptic...|Settings|Repositories|Statistics|untick 'Submit
statistical information'.

>
> Are there a kernel hacker here to understand this issue ?

It's not a kernel issue.
...

compdoc

unread,
Sep 20, 2011, 12:16:19 PM9/20/11
to Ubuntu user technical support, not for general discussions
St�phane Klein wrote:

>When I copy a big file, my system is always unusable

Benchmarking and copying large files are the best way to test a system. It
should be reasonably fast, and large files should copy smoothly with no
freezes and very little slowing over time.

I always test new systems this way. Unfortunately, the problem can be
hardware or software drivers.

What kind of controller does the drive connect to? Does the drive have any
reallocated sectors as seen when you look at the SMART data?

Being a Mac, its can be a little harder to troubleshoot since Apple is a
little different than the rest.


compdoc

unread,
Sep 20, 2011, 12:28:50 PM9/20/11
to Ubuntu user technical support, not for general discussions
St�phane Klein wrote:

>Do you speak about smartctl ?

Smartctl tells you everything you need to know about the health of the
drive:

5 Reallocated_Sector_Ct 0x0033 100 100 024 Pre-fail Always - 0

9 Power_On_Hours 0x0032 085 085 000 Old_age Always - 7846

196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 0


The drive is about a year old, and has no defects. So less to worry about...


NoOp

unread,
Sep 22, 2011, 10:31:02 PM9/22/11
to ubuntu...@lists.ubuntu.com
On 09/20/2011 08:18 AM, NoOp wrote:
> On 09/20/2011 06:30 AM, Stéphane Klein wrote:
>> Le 20/09/2011 15:07, Stéphane Klein a écrit :
>>> Hi,
>>>
>>> I've write to you because when my system have many access to Hard Disk,
>>> I can't use my computer.
>>>
>>> When dpkg install a package, when poplarity-contest is executed I can do
>>> nothing, worse sometime I can move the mouse cursor !
>>>
>>> I use Ubuntu 11.04 on MacBook3,1 (120Go at 5400 rpm).
>>>
>>> What can I do to fix this issue ?
>>
>> I think it is always the same bug since 4 years ! :(
>>
>> https://bugs.launchpad.net/linuxmint/+bug/131094
>
> More likely this one:
> https://bugs.launchpad.net/ubuntu/+source/popularity-contest/+bug/493852
> [popularity-contest will stat() every file installed file or ~80k files
> on my system which grinds things to a halt ]
>
> Why not just turn it off?
> System|Administration|Synaptic...|Settings|Repositories|Statistics|untick 'Submit
> statistical information'.

I guess that Stéphane Klein's system finally broke... no response/feedback.

Jeff G.

unread,
Sep 23, 2011, 12:21:04 AM9/23/11
to ubuntu...@lists.ubuntu.com
On 09/22/2011 07:31 PM, NoOp wrote:

> I guess that Stéphane Klein's system finally broke... no response/feedback.
>

well, one can go back to figuring out how to explain NS2 installations -
for the 4th or 5th time...

Stéphane Klein

unread,
Sep 23, 2011, 4:25:00 AM9/23/11
to ubuntu...@lists.ubuntu.com, NoOp
Le 20/09/2011 17:18, NoOp a écrit :
> On 09/20/2011 06:30 AM, Stéphane Klein wrote:
>> Le 20/09/2011 15:07, Stéphane Klein a écrit :
>>> Hi,
>>>
>>> I've write to you because when my system have many access to Hard Disk,
>>> I can't use my computer.
>>>
>>> When dpkg install a package, when poplarity-contest is executed I can do
>>> nothing, worse sometime I can move the mouse cursor !
>>>
>>> I use Ubuntu 11.04 on MacBook3,1 (120Go at 5400 rpm).
>>>
>>> What can I do to fix this issue ?
>>
>> I think it is always the same bug since 4 years ! :(
>>
>> https://bugs.launchpad.net/linuxmint/+bug/131094
>
> More likely this one:
> https://bugs.launchpad.net/ubuntu/+source/popularity-contest/+bug/493852
> [popularity-contest will stat() every file installed file or ~80k files
> on my system which grinds things to a halt ]
>
> Why not just turn it off?
> System|Administration|Synaptic...|Settings|Repositories|Statistics|untick 'Submit
> statistical information'.

Ok, I did that but my first issue isn't fixed : when I have many IO
access, my system freeze.

NoOp

unread,
Sep 23, 2011, 5:33:32 PM9/23/11
to ubuntu...@lists.ubuntu.com
On 09/23/2011 01:25 AM, Stéphane Klein wrote:
> Le 20/09/2011 17:18, NoOp a écrit :
>> On 09/20/2011 06:30 AM, Stéphane Klein wrote:
>>> Le 20/09/2011 15:07, Stéphane Klein a écrit :
>>>> Hi,
>>>>
>>>> I've write to you because when my system have many access to Hard Disk,
>>>> I can't use my computer.
>>>>
>>>> When dpkg install a package, when poplarity-contest is executed I can do
>>>> nothing, worse sometime I can move the mouse cursor !
>>>>
>>>> I use Ubuntu 11.04 on MacBook3,1 (120Go at 5400 rpm).
>>>>
>>>> What can I do to fix this issue ?
>>>
>>> I think it is always the same bug since 4 years ! :(
>>>
>>> https://bugs.launchpad.net/linuxmint/+bug/131094
>>
>> More likely this one:
>> https://bugs.launchpad.net/ubuntu/+source/popularity-contest/+bug/493852
>> [popularity-contest will stat() every file installed file or ~80k files
>> on my system which grinds things to a halt ]
>>
>> Why not just turn it off?
>> System|Administration|Synaptic...|Settings|Repositories|Statistics|untick 'Submit
>> statistical information'.
>
> Ok, I did that but my first issue isn't fixed : when I have many IO
> access, my system freeze.
...
So it's not popularity-contest. One down.

I'm not overly familiar with Mac's. Can you advise on the exact model?
Is it one of these?
https://help.ubuntu.com/community/MacBook
or
<https://wiki.ubuntu.com/MactelSupportTeam/CommunityHelpPages>

If you can do that, then it's a lot easier to search launchpad etc., for
issues.

Reply all
Reply to author
Forward
0 new messages