Rt2500 driver PROBLEM - SMP kernel
hello,
EDIT
do any of you have a PKGBUILD for a kernel without SMP - or a package? i'm having troubel with compilation.
Hardware: Sitecom WL-115 pci sold in holland - http://www.sitecom.com/products_info.ph … 3&grp_id=6
Driver: RT2500 - http://rt2x00.serialmonkey.com
The issue is this:
1.) the computer boots perfectly
2.) network is activated with the ESSID
3.) network deamon works
4.) after 5 min. I lose connection to Access Point, connects to another Access Point (the wrong one)
5.) Immediately crashes
I have a wireless router at home of the same brand as the NIC. there are people with other AccessPoints somewhere around here because I detect 2 more. I can't connect to those obviously, and I dont want to anyway.
In gentoo and ubuntu, if my card lost the connection to the Access Point, i would have to go to the network settings and change the ESSID back to the correct one. That was it, it didn't crash or anything else. The driver was compiled in gentoo through portage, and in Ubuntu I compiled it myself and installed it myself. It is the same driver as the one I'm using in Arch Linux.
This is what I tried:
1.) Change mode to Ad-Hoc
2.) Forced to register to my AccessPoint with the 'ap' option in iwconfig
3.) restarted daemons
4.) dmesg says nothing
None of this helps.
UPDATE
i learned what the problem is, except i still need help.
I'm running Arch 0.7 . i haven't updated anything. i haven't done pacman -Su so everything on the system is still from the ISO image. however, i dont understand why the kernel that is installed with the iso intallation contains a SMP kernel! i dont have a SMP cpu.
because of conflicts with my wireless driver, i need to disable SMP in my kernel. how do i do that? if I update my kernel will it still be SMP? do i need to compile the kernel on my own?
i'm asking with without trying it because my computer is freezing since the NIC is connected.
syg00 wrote:Have you tried just passing "nosmp" from the bootloader ???.
Let those that can't live with it turn it off, leave it in for everyone else.
That does not work. It is the SMP build that freezes rt2500. I use a custom kernel (one vanilla, one vanilla+suspend2) with Preemption, no rt2500 trouble here.
As for rt2x00, you can not expect it to finish for a long time, they started the third rewrite recently, and it probably won't be the last one due to the kernel wlan stack cofusion (ieee80211 vs. softmac vs. hostap vs. another one). The current rt2x00 rewrite is based on softmac, if that one doesn't go to the vanilla kernel, there will be another rewrite and it will take more time ...
Similar Messages
-
[SOLVED] 3.7 Kernel ALX driver problems
I have a ASUS N56VZ laptop with Atheros AR8161 so I'm using new alx driver to use it. I was willing to upgrade to 3.7 series ,but now that kernel is causing some headaching problems. When I was upgraded i also installed dkms-alx from AUR. Alx driver(alx-driver-legacy package on AUR, not compatible with 3.7.x) was working on 3.6.x perfectly, however; on 3.7 it raises errors such as:
Jan 20 16:22:09 localhost kernel: [ 7.700029] alx 0000:04:00.0: DMA to 64-BIT addresses
Jan 20 16:22:09 localhost kernel: [ 7.700170] alx 0000:04:00.0: (unregistered net_device): HW Flags = 0x415
Jan 20 16:22:09 localhost kernel: [ 7.700590] alx 0000:04:00.0: (unregistered net_device): reset PHY, pws = 1, az = 0, ptp = 0
Jan 20 16:22:09 localhost kernel: [ 7.702007] alx 0000:04:00.0: (unregistered net_device): speed = 0x2f, autoneg = 1
Jan 20 16:22:09 localhost kernel: [ 7.703068] alx 0000:04:00.0: irq 43 for MSI/MSI-X
Jan 20 16:22:09 localhost kernel: [ 7.703196] alx: Atheros Gigabit Network Connection
Jan 20 20:12:36 localhost kernel: [ 8.644756] alx 0000:04:00.0: DMA to 64-BIT addresses
Jan 20 20:12:36 localhost kernel: [ 8.644900] alx 0000:04:00.0: (unregistered net_device): HW Flags = 0x415
Jan 20 20:12:36 localhost kernel: [ 8.645320] alx 0000:04:00.0: (unregistered net_device): reset PHY, pws = 1, az = 0, ptp = 0
Jan 20 20:12:36 localhost kernel: [ 8.646613] alx 0000:04:00.0: (unregistered net_device): speed = 0x2f, autoneg = 1
Jan 20 20:12:36 localhost kernel: [ 8.647669] alx 0000:04:00.0: irq 43 for MSI/MSI-X
Jan 20 20:12:36 localhost kernel: [ 8.647828] alx: Atheros Gigabit Network Connection
Jan 20 20:14:09 localhost kernel: [ 114.430555] alx 0000:04:00.0: eth0: speed = 0x2f, autoneg = 1
Jan 20 20:14:23 localhost kernel: [ 128.312958] alx 0000:04:00.0: eth0: speed = 0x2f, autoneg = 1
Jan 20 20:14:25 localhost kernel: [ 130.667436] alx 0000:04:00.0: eth0: speed = 0x2f, autoneg = 1
Jan 20 20:14:32 localhost kernel: [ 137.981428] alx 0000:04:00.0: eth0: speed = 0x2f, autoneg = 1
Jan 20 20:14:34 localhost kernel: [ 139.766346] alx 0000:04:00.0: eth0: speed = 0x2f, autoneg = 1
Jan 20 20:24:39 localhost kernel: [ 744.748887] alx 0000:04:00.0: eth0: speed = 0x2f, autoneg = 1
Jan 20 20:25:56 localhost kernel: [ 821.640197] alx 0000:04:00.0: eth0: speed = 0x2f, autoneg = 1
Jan 20 20:26:08 localhost kernel: [ 833.346237] alx 0000:04:00.0: eth0: speed = 0x2f, autoneg = 1
Jan 20 20:34:47 localhost kernel: [ 1352.073978] alx 0000:04:00.0: eth0: speed = 0x2f, autoneg = 1
Jan 20 22:52:46 localhost kernel: [ 8.161784] alx 0000:04:00.0: DMA to 64-BIT addresses
Jan 20 22:52:46 localhost kernel: [ 8.161931] alx 0000:04:00.0: (unregistered net_device): HW Flags = 0x415
Jan 20 22:52:46 localhost kernel: [ 8.162379] alx 0000:04:00.0: (unregistered net_device): reset PHY, pws = 1, az = 0, ptp = 0
Jan 20 22:52:46 localhost kernel: [ 8.163845] alx 0000:04:00.0: (unregistered net_device): speed = 0x2f, autoneg = 1
Jan 20 22:52:46 localhost kernel: [ 8.164897] alx 0000:04:00.0: irq 43 for MSI/MSI-X
Jan 20 22:52:46 localhost kernel: [ 8.165024] alx: Atheros Gigabit Network Connection
Jan 21 19:47:22 localhost kernel: [ 8.051038] alx 0000:04:00.0: DMA to 64-BIT addresses
Jan 21 19:47:22 localhost kernel: [ 8.051194] alx 0000:04:00.0: (unregistered net_device): HW Flags = 0x415
Jan 21 19:47:22 localhost kernel: [ 8.051614] alx 0000:04:00.0: (unregistered net_device): reset PHY, pws = 1, az = 0, ptp = 0
Jan 21 19:47:22 localhost kernel: [ 8.053021] alx 0000:04:00.0: (unregistered net_device): speed = 0x2f, autoneg = 1
Jan 21 19:47:22 localhost kernel: [ 8.054081] alx 0000:04:00.0: irq 43 for MSI/MSI-X
Jan 21 19:47:22 localhost kernel: [ 8.054212] alx: Atheros Gigabit Network Connection
Jan 21 21:50:31 localhost kernel: [ 1402.590655] alx 0000:04:00.0: alx(10:bf:48:28:a0:01): Qualcomm Atheros Ethernet Network Connection
Jan 21 21:50:31 localhost kernel: [ 1402.647179] alx 0000:04:00.0: irq 46 for MSI/MSI-X
Jan 21 21:50:31 localhost kernel: [ 1402.647189] alx 0000:04:00.0: irq 47 for MSI/MSI-X
Jan 21 21:50:31 localhost kernel: [ 1402.647195] alx 0000:04:00.0: irq 48 for MSI/MSI-X
Jan 21 21:50:31 localhost kernel: [ 1402.647202] alx 0000:04:00.0: irq 49 for MSI/MSI-X
Jan 21 21:50:31 localhost kernel: [ 1402.647208] alx 0000:04:00.0: irq 50 for MSI/MSI-X
Jan 21 21:50:31 localhost kernel: [ 1402.647214] alx 0000:04:00.0: irq 51 for MSI/MSI-X
Jan 21 21:50:31 localhost kernel: [ 1402.647221] alx 0000:04:00.0: irq 52 for MSI/MSI-X
Jan 21 21:50:31 localhost kernel: [ 1402.647228] alx 0000:04:00.0: irq 53 for MSI/MSI-X
Jan 21 21:50:31 localhost kernel: [ 1402.647234] alx 0000:04:00.0: irq 54 for MSI/MSI-X
Jan 21 21:50:31 localhost kernel: [ 1402.647998] alx 0000:04:00.0: PHY SPD/DPLX unresolved :ffff
Jan 21 21:50:31 localhost kernel: [ 1402.648004] alx 0000:04:00.0 eth0: task:alx_reinit
Jan 21 21:53:08 localhost kernel: [ 1559.847675] [<ffffffffa068cc50>] alx_halt+0x30/0x80 [alx]
Jan 21 21:53:08 localhost kernel: [ 1559.847681] [<ffffffffa068e629>] alx_reinit+0x69/0xa0 [alx]
Jan 21 21:53:08 localhost kernel: [ 1559.847686] [<ffffffffa068e7d1>] alx_task+0x81/0x450 [alx]
Jan 21 21:53:08 localhost kernel: [ 1559.847700] [<ffffffffa068e750>] ? alx_change_mtu+0xf0/0xf0 [alx]
Jan 21 21:55:08 localhost kernel: [ 1679.786117] [<ffffffffa068cc50>] alx_halt+0x30/0x80 [alx]
Jan 21 21:55:08 localhost kernel: [ 1679.786122] [<ffffffffa068e629>] alx_reinit+0x69/0xa0 [alx]
Jan 21 21:55:08 localhost kernel: [ 1679.786127] [<ffffffffa068e7d1>] alx_task+0x81/0x450 [alx]
Jan 21 21:55:08 localhost kernel: [ 1679.786141] [<ffffffffa068e750>] ? alx_change_mtu+0xf0/0xf0 [alx]
Jan 21 21:56:33 localhost kernel: [ 1765.116261] WARNING: at /var/lib/dkms/alx/20121219/build/drivers/net/ethernet/atheros/alx/alx_main.c:1606 alx_stop+0x52/0x60 [alx]()
..... Other kernel messages
Jan 22 23:09:51 localhost kernel: [ 371.264714] alx 0000:04:00.0 eth0: -----------------TPD-ring(0)------------------
Jan 22 23:09:51 localhost kernel: [ 371.264723] alx 0000:04:00.0 eth0: F8: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264727] alx 0000:04:00.0 eth0: F9: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264730] alx 0000:04:00.0 eth0: FA: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264733] alx 0000:04:00.0 eth0: FB: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264737] alx 0000:04:00.0 eth0: FC: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264740] alx 0000:04:00.0 eth0: FD: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264743] alx 0000:04:00.0 eth0: FE: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264746] alx 0000:04:00.0 eth0: FF: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264749] alx 0000:04:00.0 eth0: 0: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264752] alx 0000:04:00.0 eth0: 1: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264756] alx 0000:04:00.0 eth0: 2: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264759] alx 0000:04:00.0 eth0: 3: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264762] alx 0000:04:00.0 eth0: -----------------TPD-ring(1)------------------
Jan 22 23:09:51 localhost kernel: [ 371.264765] alx 0000:04:00.0 eth0: F8: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264768] alx 0000:04:00.0 eth0: F9: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264772] alx 0000:04:00.0 eth0: FA: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264775] alx 0000:04:00.0 eth0: FB: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264778] alx 0000:04:00.0 eth0: FC: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264781] alx 0000:04:00.0 eth0: FD: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264784] alx 0000:04:00.0 eth0: FE: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264787] alx 0000:04:00.0 eth0: FF: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264790] alx 0000:04:00.0 eth0: 0: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264793] alx 0000:04:00.0 eth0: 1: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264797] alx 0000:04:00.0 eth0: 2: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264800] alx 0000:04:00.0 eth0: 3: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264803] alx 0000:04:00.0 eth0: -----------------TPD-ring(2)------------------
Jan 22 23:09:51 localhost kernel: [ 371.264806] alx 0000:04:00.0 eth0: F9: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264809] alx 0000:04:00.0 eth0: FA: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264813] alx 0000:04:00.0 eth0: FB: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264816] alx 0000:04:00.0 eth0: FC: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264819] alx 0000:04:00.0 eth0: FD: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264822] alx 0000:04:00.0 eth0: FE: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264825] alx 0000:04:00.0 eth0: FF: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264829] alx 0000:04:00.0 eth0: 0: W0=0000005A, W1=80000000, W2=17D5C802
Jan 22 23:09:51 localhost kernel: [ 371.264832] alx 0000:04:00.0 eth0: 1: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264835] alx 0000:04:00.0 eth0: 2: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264838] alx 0000:04:00.0 eth0: 3: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264841] alx 0000:04:00.0 eth0: 4: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264844] alx 0000:04:00.0 eth0: -----------------TPD-ring(3)------------------
Jan 22 23:09:51 localhost kernel: [ 371.264848] alx 0000:04:00.0 eth0: F8: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264851] alx 0000:04:00.0 eth0: F9: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264854] alx 0000:04:00.0 eth0: FA: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264857] alx 0000:04:00.0 eth0: FB: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264860] alx 0000:04:00.0 eth0: FC: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264863] alx 0000:04:00.0 eth0: FD: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264866] alx 0000:04:00.0 eth0: FE: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264869] alx 0000:04:00.0 eth0: FF: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264873] alx 0000:04:00.0 eth0: 0: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264876] alx 0000:04:00.0 eth0: 1: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264879] alx 0000:04:00.0 eth0: 2: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264882] alx 0000:04:00.0 eth0: 3: W0=00000000, W1=00000000, W2=0
Jan 22 23:09:51 localhost kernel: [ 371.264885] alx 0000:04:00.0 eth0: ---------------dump registers-----------------
Jan 22 23:09:51 localhost kernel: [ 371.264939] alx 0000:04:00.0 eth0: 1400: C0020CE0,00000000,00000064,00001C01
Jan 22 23:09:51 localhost kernel: [ 371.264952] alx 0000:04:00.0 eth0: 1410: 00002804,474019AA,03FF000D,00000000
Jan 22 23:09:51 localhost kernel: [ 371.264966] alx 0000:04:00.0 eth0: 1420: 00000000,E03EBB60,00000240,CF01C831
Jan 22 23:09:51 localhost kernel: [ 371.264979] alx 0000:04:00.0 eth0: 1430: 0000CC01,00000000,00000000,00000010
Jan 22 23:09:51 localhost kernel: [ 371.264992] alx 0000:04:00.0 eth0: 1440: 8010020C,00000020,0007801A,00000180
Jan 22 23:09:51 localhost kernel: [ 371.265005] alx 0000:04:00.0 eth0: 1450: 00000000,14700040,00000040,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265018] alx 0000:04:00.0 eth0: 1460: 00000000,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265031] alx 0000:04:00.0 eth0: 1470: 00000000,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265044] alx 0000:04:00.0 eth0: 1480: 6410DCEF,60405060,4828A001,000010BF
Jan 22 23:09:51 localhost kernel: [ 371.265056] alx 0000:04:00.0 eth0: 1490: 80000000,40000000,07A1F037,000005F2
Jan 22 23:09:51 localhost kernel: [ 371.265069] alx 0000:04:00.0 eth0: 14A0: 00000000,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265081] alx 0000:04:00.0 eth0: 14B0: 3BED200D,14364D17,6A3E67EA,B855AABE
Jan 22 23:09:51 localhost kernel: [ 371.265094] alx 0000:04:00.0 eth0: 14C0: E214AD3D,EA49AF7C,A54F2BEC,2A94B30D
Jan 22 23:09:51 localhost kernel: [ 371.265107] alx 0000:04:00.0 eth0: 14D0: 1805EC6C,E291D73D,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265119] alx 0000:04:00.0 eth0: 14E0: 2258B000,2258A000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265132] alx 0000:04:00.0 eth0: 14F0: 00000000,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265145] alx 0000:04:00.0 eth0: 1500: 05FF05E0,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265158] alx 0000:04:00.0 eth0: 1510: 00000020,00000000,0BDF0BC0,00000020
Jan 22 23:09:51 localhost kernel: [ 371.265171] alx 0000:04:00.0 eth0: 1520: 05DF0000,000005E0,0BBF0600,000005C0
Jan 22 23:09:51 localhost kernel: [ 371.265183] alx 0000:04:00.0 eth0: 1530: 06000BE0,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265196] alx 0000:04:00.0 eth0: 1540: 00000002,00000002,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265209] alx 0000:04:00.0 eth0: 1550: 2258E000,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265222] alx 0000:04:00.0 eth0: 1560: 00000200,000005F8,2258C000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265234] alx 0000:04:00.0 eth0: 1570: 00000000,00000000,00000200,22589000
Jan 22 23:09:51 localhost kernel: [ 371.265247] alx 0000:04:00.0 eth0: 1580: 22588000,00000100,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265260] alx 0000:04:00.0 eth0: 1590: 020000F5,000008BF,01800080,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265273] alx 0000:04:00.0 eth0: 15A0: AC8100BF,00001210,00C0044E,00000100
Jan 22 23:09:51 localhost kernel: [ 371.265286] alx 0000:04:00.0 eth0: 15B0: CDE4CB23,00000001,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265299] alx 0000:04:00.0 eth0: 15C0: 04047C24,00030D40,00000055,000000C8
Jan 22 23:09:51 localhost kernel: [ 371.265312] alx 0000:04:00.0 eth0: 15D0: 00214321,00000000,00438765,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265324] alx 0000:04:00.0 eth0: 15E0: 000001FF,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265337] alx 0000:04:00.0 eth0: 15F0: 00000000,00000000,000001FF,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265349] alx 0000:04:00.0 eth0: 1600: 01711059,7C0F96E7,00004E20,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265363] alx 0000:04:00.0 eth0: 1610: FFFFFFFB,00000000,00010000,00010000
Jan 22 23:09:51 localhost kernel: [ 371.265376] alx 0000:04:00.0 eth0: 1620: 00000000,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265388] alx 0000:04:00.0 eth0: 1630: 00000000,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265401] alx 0000:04:00.0 eth0: 1640: 00000000,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265414] alx 0000:04:00.0 eth0: 1650: 00000000,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265427] alx 0000:04:00.0 eth0: 1660: 00000000,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265440] alx 0000:04:00.0 eth0: 1670: 00000000,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265452] alx 0000:04:00.0 eth0: 1680: 00000000,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265465] alx 0000:04:00.0 eth0: 1690: 00000000,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265478] alx 0000:04:00.0 eth0: 16A0: 00000000,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265491] alx 0000:04:00.0 eth0: 16B0: 00000000,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265502] alx 0000:04:00.0 eth0: 16C0: 00000000,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265514] alx 0000:04:00.0 eth0: 16D0: 00000000,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265527] alx 0000:04:00.0 eth0: 16E0: 00000000,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265540] alx 0000:04:00.0 eth0: 16F0: 00000000,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265553] alx 0000:04:00.0 eth0: 1700: 00000000,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265565] alx 0000:04:00.0 eth0: 1710: 00000000,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265577] alx 0000:04:00.0 eth0: 1720: 00000000,00000000,0000019B,00000012
Jan 22 23:09:51 localhost kernel: [ 371.265590] alx 0000:04:00.0 eth0: 1730: 0000002C,00000001,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265603] alx 0000:04:00.0 eth0: 1740: 00000000,00000000,000001DA,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265615] alx 0000:04:00.0 eth0: 1750: 00000000,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265628] alx 0000:04:00.0 eth0: 1760: 00000000,00000000,00000000,00000010
Jan 22 23:09:51 localhost kernel: [ 371.265641] alx 0000:04:00.0 eth0: 1770: 00000000,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265654] alx 0000:04:00.0 eth0: 1780: 00000010,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265667] alx 0000:04:00.0 eth0: 1790: 00000000,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265680] alx 0000:04:00.0 eth0: 17A0: 00000000,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265693] alx 0000:04:00.0 eth0: 17B0: 00000000,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265705] alx 0000:04:00.0 eth0: 17C0: 00000000,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265718] alx 0000:04:00.0 eth0: 17D0: 00000000,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265731] alx 0000:04:00.0 eth0: 17E0: 00000000,00000000,00000000,00000000
Jan 22 23:09:51 localhost kernel: [ 371.265744] alx 0000:04:00.0 eth0: 17F0: 00000000,00000000,00000000,00000000
After these errors, I did some googleing and found this https://ask.fedoraproject.org/question/ … m43142-not and applied same instructions (commented lines below out) with benjaminfjones (The guy ,in 1st comment) and compiled. compat-wireless-3.6.8.1-snpc. It worked but now connection drops always after a while and It is not becoming OK unless I rmmod and modprobe it.
The commented lines are:
if (hw && hw->adpt && hw->adpt->netdev){}
__netdev_printk(level, hw->adpt->netdev, &vaf);
else
And lastly my dmesg output now:
[ 6504.338255] alx: Atheros Gigabit Network Connection
[ 6504.412390] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 6505.924726] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
I've also tried 3.7.1, 2013-01-10-2u versions of compat-drivers same as top.
Thanks for all replies.
Last edited by 6ng4n (2013-01-26 18:58:16)Hello,
I have same problem with alx driver.
My kernel is 3.7.5-1-ARCH x86_64.
I have selected alx using a driver_select script and compile compat-drivers-3.8-rc5-1-u from sources, modprobe alx driver. Till this everything seems to be fine.
I have configure in /etc/network.d/wire
CONNECTION='ethernet'
INTERFACE='enp4s0'
IP='dhcp'
netcfg -u wire gave me the dump like from the first message.
alx from compat-wireless-3.6.8.1-snpc worked without problems with 3.6 kernel. -
How to install SMP Kernel on RHEL 4
Hi all,
I am installing 2 Node RAC on VMWare on RHEL 4.
For which i need to have SMP Kernel installed.
As of now this is what i have.
uname -a
Linux abc.xyz.com 2.6.9-5.EL #1 Wed Jan 5 19:22:18 EST 2005 i686 i686 i386 GNU/Linux
Kindly guide me to the rpms wherein i cud upgrade to the SMP Kernal, or is there any other way i cud do it??Hi, apologies for the delayed response.
Yes i did reboot the machine after installing the SMP pacakge, yet i see the same as
uname -r
2.6.9-5.EL
While /boot/grub/grub.conf shows
default=1
timeout=5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux AS (2.6.9-5.ELsmp)
root (hd0,0)
kernel /boot/vmlinuz-2.6.9-5.ELsmp ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.9-5.ELsmp.img
title Red Hat Enterprise Linux AS (2.6.9-5.EL) ==> However it does not show here!!
root (hd0,0)
kernel /boot/vmlinuz-2.6.9-5.EL ro root=LABEL=/ rhgb quiet
clock=pit nosmp noapic nolapic
initrd /boot/initrd-2.6.9-5.EL.img
I just let this pass and started the RAC configurations.
Now here i hit another problem.
oracleasm packages installed are
[root@rac1] rpm -qa | grep -i oracleasm
oracleasmlib-2.0.2-1
oracleasm-support-2.1.2-1.el4
oracleasm-2.6.9-55.0.12.EL-2.0.3-1
Yet i get this error while configuring ASMLib Drivers
[root@rac1 RPMs]# /etc/init.d/oracleasm configure
Configuring the Oracle ASM library driver.
Default user to own the driver interface [oracle]:
Default group to own the driver interface [dba]:
Start Oracle ASM library driver on boot (y/n) [y]:
Scan for Oracle ASM disks on boot (y/n) [y]:
Writing Oracle ASM library driver configuration: done
*Initializing the Oracle ASMLib driver: [FAILED]*
Help appreciated. -
i've been trying to compile a kernel 2.6.x.x without success. The Arch stock kernel comes with SMP, but it's giving me trouble with my wireless NIC.
does anyone have a PKGBUILD or package with a 2.6.x.x kernel without SMP?
Thanks.thanks guys for your help. i'll look at the cvs now. (i just woke up).
my NIC info is here: http://bbs.archlinux.org/viewtopic.php?t=13761
SMP is an issue because it is noted on the driver project forum website.
Bernardo, Sure your not running a SMP kernel ? Thats the problem 99.9% of the time. Just thought I would check
running an SMP kernel freezes the system with this driver. I ran Ubuntu and Gentoo to test them and they work perfectly. that's because their stock kernel didn't run SMP and I never had a freeze up.
btw, i'm not running ndiswrapper. there is a driver available for the kernel.
UPDATE
I went to the cvs and I found this. It's the same issue that I've had with other PKGBUILD's. for example, in the AUR, there is a patched kernel with swsusp2. I downloaded the PKGBUILD, the patches, and then i run makepkg -n. however, if i change the .config file by disabling SMP, the whole makepkg process is mixed up. i've tried different ways of inserting my .config into the makepkg process, but everytime it rejects my changes and defaults to the stock .config kernel file. so i always end up with a SMP=y option.
on the .config at the cvs:
CONFIG_BROKEN_ON_SMP=y
how can I change this during the make config process? -
Laptop mode tools problem with kernel 3.0
today I just updated the system and my laptop runs dramatically hotter after that. I read the archwiki, it does talk about the laptop mode tools problem with kernel 3.0 but when I opened the file /usr/sbin/laptop_mode, the lines which the wiki mentions are not there. Does anyone here have the same problem and can you offer the solution?
Here is my /usr/sbin/laptop_mode
#! /bin/sh
# Script to start or stop laptop_mode, and to control various settings of the
# kernel, hardware etc. that influence power consumption.
# This script is a part of Laptop Mode Tools. If you are running a supported
# power management daemon, this script will be automatically called on power
# state change.
# Configure laptop mode tools in /etc/laptop-mode/laptop-mode.conf, and in
# the broken-out config files in /etc/laptop-mode/conf.d.
# Please consult the manual pages laptop-mode.conf(8) and laptop_mode(8) for
# additional information.
# Maintainer: Ritesh Raj Sarraf ([email protected])
# Original Author: Bart Samwel ([email protected])
# Project home page: http://samwel.tk/laptop_mode
# Contributors to this script: Bart Samwel
# Kiko Piris
# Micha Feigin
# Andrew Morton
# Herve Eychenne
# Dax Kelson
# Jan Polacek
# ... and many others that I've stopped
# keeping track of.
# Based on a script for Linux 2.4 written by Jens Axboe.
set -a
# The laptop mode tools version number. Extracted by the installer makefile
# as well, so don't change the format!
LMTVERSION=1.59
# This script is loaded from multiple scripts to set the config defaults
# and to read the configuration on top of those. Only when the command is
# recognized does this script do anything else.
VERBOSE_OUTPUT=0
ENABLE_LAPTOP_MODE_ON_BATTERY=1
ENABLE_LAPTOP_MODE_ON_AC=0
ENABLE_LAPTOP_MODE_WHEN_LID_CLOSED=0
PARTITIONS="auto /dev/mapper/*"
LM_BATT_MAX_LOST_WORK_SECONDS=600
LM_AC_MAX_LOST_WORK_SECONDS=360
DEF_MAX_AGE=30
LM_READAHEAD=3072
NOLM_READAHEAD=128
CONTROL_READAHEAD=1
CONTROL_NOATIME=0
USE_RELATIME=1
CONTROL_HD_IDLE_TIMEOUT=1
LM_AC_HD_IDLE_TIMEOUT=4 # 20 seconds
LM_BATT_HD_IDLE_TIMEOUT=4 # 20 seconds
NOLM_HD_IDLE_TIMEOUT=244 # 2 hours
DEF_UPDATE=5
DEF_XFS_AGE_BUFFER=15
DEF_XFS_SYNC_INTERVAL=30
DEF_XFS_BUFD_INTERVAL=1
XFS_HZ=100
CONTROL_MOUNT_OPTIONS=1
BATT_HD_POWERMGMT=1
LM_AC_HD_POWERMGMT=254
NOLM_AC_HD_POWERMGMT=254
CONTROL_HD_POWERMGMT=0
CONTROL_HD_WRITECACHE=0
NOLM_AC_HD_WRITECACHE=1
NOLM_BATT_HD_WRITECACHE=0
LM_HD_WRITECACHE=0
LM_DIRTY_RATIO=60
LM_DIRTY_BACKGROUND_RATIO=1
NOLM_DIRTY_BACKGROUND_RATIO=10
NOLM_DIRTY_RATIO=40
LM_SECONDS_BEFORE_SYNC=2
BATT_CPU_MAXFREQ=medium
BATT_CPU_MINFREQ=slowest
BATT_CPU_GOVERNOR=ondemand
BATT_CPU_IGNORE_NICE_LOAD=1
LM_AC_CPU_MAXFREQ=fastest
LM_AC_CPU_MINFREQ=slowest
LM_AC_CPU_GOVERNOR=ondemand
LM_AC_CPU_IGNORE_NICE_LOAD=1
NOLM_AC_CPU_MAXFREQ=fastest
NOLM_AC_CPU_MINFREQ=slowest
NOLM_AC_CPU_GOVERNOR=ondemand
NOLM_AC_CPU_IGNORE_NICE_LOAD=0
CONTROL_CPU_FREQUENCY=0
HD="/dev/[hs]d[abcdefgh]"
CONTROL_SYSLOG_CONF=0
LM_AC_SYSLOG_CONF=/etc/syslog-on-ac-with-lm.conf
NOLM_AC_SYSLOG_CONF=/etc/syslog-on-ac-without-lm.conf
BATT_SYSLOG_CONF=/etc/syslog-on-battery.conf
SYSLOG_CONF_SIGNAL_PROGRAM=syslogd
SYSLOG_CONF=/etc/syslog.conf
CONTROL_DPMS_STANDBY=0
BATT_DPMS_STANDBY=300
LM_AC_DPMS_STANDBY=1200
NOLM_AC_DPMS_STANDBY=1200
CONTROL_CPU_THROTTLING=0
BATT_CPU_THROTTLING=medium
LM_AC_CPU_THROTTLING=minimum
NOLM_AC_CPU_THROTTLING=minimum
CONTROL_START_STOP=1
CONTROL_TERMINAL=0
TERMINALS="/dev/vc/1 /dev/vcs1"
BATT_TERMINAL_BLANK_MINUTES=1
BATT_TERMINAL_POWERDOWN_MINUTES=2
LM_AC_TERMINAL_BLANK_MINUTES=10
LM_AC_TERMINAL_POWERDOWN_MINUTES=10
NOLM_AC_TERMINAL_BLANK_MINUTES=10
NOLM_AC_TERMINAL_POWERDOWN_MINUTES=50
ENABLE_AUTO_HIBERNATION=0
HIBERNATE_COMMAND=/usr/sbin/hibernate
AUTO_HIBERNATION_ON_CRITICAL_BATTERY_LEVEL=1
DISABLE_LAPTOP_MODE_ON_CRITICAL_BATTERY_LEVEL=1
AUTO_HIBERNATION_BATTERY_CHARGE_MAH=0
AUTO_HIBERNATION_BATTERY_CHARGE_MWH=0
MINIMUM_BATTERY_CHARGE_MAH=0
MINIMUM_BATTERY_CHARGE_MWH=0
ASSUME_SCSI_IS_SATA=1
CONTROL_BRIGHTNESS=0
BATT_BRIGHTNESS_COMMAND=false
LM_AC_BRIGHTNESS_COMMAND=false
NOLM_AC_BRIGHTNESS_COMMAND=false
LOG_TO_SYSLOG=1
DEBUG=0
ENABLE_LAPTOP_MODE_TOOLS=1
# Initialize the PATH Variable
export PATH="${PATH}":/bin:/sbin:/usr/bin:/usr/sbin
# This is a 2 phase locking approach. LMT_REQ_LOCK is the outer lock and LMT_INVOC_LOCK is the inner lock
# We take this approach to ensure the scenario that, "At any point when an event occurs (AC/BATT), the
# kernel can generate multiple events spanning over a couple of events. The first event is honored and
# lmt executes. If the last event triggered at the 9th second, there is a fair chance that a good amount
# of state change would have occured in the OS, to honor that state, we keep an outer lock (LMT_REQ_LOCK)
# handy, so that those changes can also be applied and not forgotten.
# Workflow:
# Event-1 is generated and lmt executes (lmt runtime could span 5-10 seconds)
# At seventh second, 4 events generate. But Event-1 is still running.
# We don't want to discard all the remaining 4 events, but at least honor 1 so that we can act to the changes
# that occured in the last 7 seconds.
# So, Event-2 acquire LMT_REQ_LOCK and waits to acquire LMT_INVOC_LOCK (which is acquire by Event-1)
LMT_REQ_LOCK="/var/lock/lmt-req.lock"
LMT_INVOC_LOCK="/var/lock/lmt-invoc.lock"
FLOCK=`which flock`
checkint ()
# $1 arg should be the string/integer
# that you want to check for as an integer.
echo $1 | grep "[^0-9]" > /dev/null 2>&1
return $?;
# Returns 1 if it is an integer
# Function to handle logging
LOGGER=`which logger`;
log ()
# $1 should be msg type
# $2 should be the real msg
if [ x$LOG_TO_SYSLOG = x1 ]; then
# NOTE: Add the check on $2 being empty, once you are confident
# that there aren't any bugs in logging. And no bugs in executing
# modules and logging
if [ -x $LOGGER -a "$1" != "STATUS" ]; then
#if [ -z $2 ]; then
# continue
#elif [ "$1" = "MSG" ]; then
if [ "$1" = "MSG" ]; then
logger -p daemon.info -t laptop-mode "$2";
elif [ "$1" = "ERR" ]; then
logger -p daemon.err -t laptop-mode "$2";
elif [ "$1" = "VERBOSE" ]; then
if [ x$VERBOSE_OUTPUT = x1 ]; then
logger -p daemon.debug -t laptop-mode "$2";
fi
else
logger -p daemon.notice -t laptop-mode "$2";
fi
fi
fi
if [ "$1" = "VERBOSE" ]; then
$LM_VERBOSE && echo "$2" >/dev/fd/2;
elif [ "$1" = "ERR" ]; then
echo "$2" >/dev/fd/2;
else
# Message of type MSG and STATUS can go to stdout.
echo "$2" >/dev/fd/1;
fi
enableDebug ()
# Check if debug is enabled
if [ x$(($(basename $1 | cut -d . -f1 | tr "[:lower:]" "[:upper:]" | sed 's/-/_/g')_DEBUG)) = x1 ]; then
set -vx
fi
disableDebug ()
# Check if debug is enabled
if [ x$(($(basename $1 | cut -d . -f1 | tr "[:lower:]" "[:upper:]" | sed 's/-/_/g')_DEBUG)) = x1 ]; then
set +vx
fi
# No default on these ones -- we need to detect if they have been set, for
# backward compatibility with MINIMUM_BATTERY_MINUTES etc.
AUTO_HIBERNATION_BATTERY_CHARGE_PERCENT=
MINIMUM_BATTERY_CHARGE_PERCENT=
# Backward compatibility variable that is sometimes
# set externally (Debian init system)
unset VERBOSE
lmt_load_config ()
# Source config. Some config settings have been moved from the main config file
# to modular configuration files, and to support existing laptop-mode.conf
# files from earlier versions, we source the modular configuration files FIRST.
if [ -d /etc/laptop-mode/conf.d ] ; then
for CONF in /etc/laptop-mode/conf.d/*.conf ; do
if [ -r "$CONF" ] ; then
. "$CONF"
#Handle individual module debug settings
if [ "$DEBUG" -eq 1 ]; then
export $(basename $CONF | cut -d . -f1 | tr "[:lower:]" "[:upper:]" | sed 's/-/_/g')_DEBUG=1
log "VERBOSE" "Enabling debug mode for module $CONF"
fi
DEBUG=0
else
log "MSG" "Warning: Configuration file $CONF is not readable, skipping."
fi
done
fi
if [ -r /etc/laptop-mode/laptop-mode.conf ] ; then
. /etc/laptop-mode/laptop-mode.conf
else
log "ERR" "$0: Configuration file /etc/laptop-mode/laptop-mode.conf not present or not readable."
exit 1
fi
if [ x$ENABLE_LAPTOP_MODE_TOOLS = x0 ]; then
log "MSG" "laptop-mode-tools is disabled in config file. Exiting"
exit 0;
fi
# Add a simple bash debug mode switch
if [ "$DEBUG" -eq 1 ]; then
set -vx;
fi
# Support for old config settings
if [ "$AC_HD" != "" ] ; then
AC_HD_WITHOUT_LM="$AC_HD"
AC_HD_WITH_LM="$AC_HD"
fi
if [ "$VERBOSE" != "" ] ; then
VERBOSE_OUTPUT="$VERBOSE"
fi
if [ "$CPU_MAXFREQ" != "" ] ; then
BATT_CPU_MAXFREQ="$CPU_MAXFREQ"
fi
if [ "$MAX_AGE" != "" ] ; then
LM_BATT_MAX_LOST_WORK_SECONDS="$MAX_AGE"
LM_AC_MAX_LOST_WORK_SECONDS="$MAX_AGE"
fi
if [ "$DEF_AGE" != "" ] ; then
DEF_MAX_AGE="$DEF_AGE"
fi
if [ "$LAPTOP_MODE_ALWAYS_ON" != "" ] ; then
ENABLE_LAPTOP_MODE_ALWAYS="$LAPTOP_MODE_ALWAYS_ON"
fi
if [ "$LM_WHEN_LID_CLOSED" != "" ] ; then
ENABLE_LAPTOP_MODE_WHEN_LID_CLOSED="$LM_WHEN_LID_CLOSED"
fi
if [ "$REMOUNT_PARTITIONS" != "" ] ; then
PARTITIONS="$REMOUNT_PARTITIONS"
fi
if [ "$READAHEAD" != "" ] ; then
LM_READAHEAD="$READAHEAD"
fi
if [ "$DO_REMOUNT_NOATIME" != "" ] ; then
CONTROL_NOATIME="$DO_REMOUNT_NOATIME"
fi
if [ "$DO_HD" != "" ] ; then
CONTROL_HD_IDLE_TIMEOUT="$DO_HD"
fi
if [ "$AC_HD_WITH_LM" != "" ] ; then
LM_AC_HD_IDLE_TIMEOUT="$AC_HD_WITH_LM"
fi
if [ "$AC_HD_WITHOUT_LM" != "" ] ; then
NOLM_HD_IDLE_TIMEOUT="$AC_HD_WITHOUT_LM"
fi
if [ "$BATT_HD" != "" ] ; then
LM_BATT_HD_IDLE_TIMEOUT="$BATT_HD"
fi
if [ "$DO_REMOUNTS" != "" ] ; then
CONTROL_MOUNT_OPTIONS="$DO_REMOUNTS"
fi
if [ "$DO_HD_POWERMGMT" != "" ] ; then
CONTROL_HD_POWERMGMT="$DO_HD_POWERMGMT"
fi
if [ "$AC_HDPARM_POWERMGMT_WITH_LM" != "" ] ; then
LM_AC_HD_POWERMGMT="$AC_HDPARM_POWERMGMT_WITH_LM"
fi
if [ "$AC_HDPARM_POWERMGMT_WITHOUT_LM" != "" ] ; then
NOLM_AC_HD_POWERMGMT="$AC_HDPARM_POWERMGMT_WITHOUT_LM"
fi
if [ "$BATT_HDPARM_POWERMGMT" != "" ] ; then
BATT_HD_POWERMGMT="$BATT_HDPARM_POWERMGMT"
fi
if [ "$DO_WRITECACHE" != "" ] ; then
CONTROL_HD_WRITECACHE="$DO_WRITECACHE"
fi
if [ "$AC_WRITECACHE_WITHOUT_LM" != "" ] ; then
NOLM_AC_HD_WRITECACHE="$AC_WRITECACHE_WITHOUT_LM"
fi
if [ "$BATT_WRITECACHE" != "" ] ; then
LM_HD_WRITECACHE="$BATT_WRITECACHE"
fi
if [ "$DIRTY_RATIO" != "" ]; then
LM_DIRTY_RATIO="$DIRTY_RATIO"
fi
if [ "$DIRTY_BACKGROUND_RATIO" != "" ] ; then
LM_DIRTY_BACKGROUND_RATIO="$DIRTY_BACKGROUND_RATIO"
fi
if [ "$DEF_DIRTY_RATIO" != "" ]; then
NOLM_DIRTY_RATIO="$DEF_DIRTY_RATIO"
fi
if [ "$DEF_DIRTY_BACKGROUND_RATIO" != "" ] ; then
NOLM_DIRTY_BACKGROUND_RATIO="$DEF_DIRTY_BACKGROUND_RATIO"
fi
if [ "$DO_CPU" != "" ] ; then
CONTROL_CPU_FREQUENCY="$DO_CPU"
fi
if [ "$CONTROL_CPU_MAXFREQ" != "" ] ; then
CONTROL_CPU_FREQUENCY="$CONTROL_CPU_MAXFREQ"
fi
if [ "$AC_CPU_MAXFREQ_WITH_LM" != "" ] ; then
LM_AC_CPU_MAXFREQ="$AC_CPU_MAXFREQ_WITH_LM"
fi
if [ "$AC_CPU_MAXFREQ_WITHOUT_LM" != "" ] ; then
NOLM_AC_CPU_MAXFREQ="$AC_CPU_MAXFREQ_WITHOUT_LM"
fi
if [ "$DO_SYSLOG" != "" ] ; then
CONTROL_SYSLOG_CONF="$DO_SYSLOG"
fi
if [ "$SYSLOG_SIGNAL_PROGRAM" != "" ] ;then
SYSLOG_CONF_SIGNAL_PROGRAM="$SYSLOG_SIGNAL_PROGRAM"
fi
if [ "$AC_SYSLOG_WITH_LM" != "" ] ; then
LM_AC_SYSLOG_CONF="$AC_SYSLOG_WITH_LM"
fi
if [ "$AC_SYSLOG_WITHOUT_LM" != "" ] ; then
NOLM_AC_SYSLOG_CONF="$AC_SYSLOG_WITHOUT_LM"
fi
if [ "$BATT_SYSLOG" != "" ] ; then
BATT_SYSLOG_CONF="$BATT_SYSLOG"
fi
if [ "$ENABLE_LAPTOP_MODE_ALWAYS" != "" ] ; then
ENABLE_LAPTOP_MODE_ON_AC="$ENABLE_LAPTOP_MODE_ALWAYS"
fi
if [ "$MINIMUM_BATTERY_MINUTES" != "" -a "$MINIMUM_BATTERY_CHARGE_PERCENT" = "" ] ; then
# Use a very conservative estimate (1% = 1 battery minute, 100 minutes in a battery)
# for backward compatibility.
MINIMUM_BATTERY_CHARGE_PERCENT="$MINIMUM_BATTERY_MINUTES"
fi
if [ -z "$MINIMUM_BATTERY_CHARGE_PERCENT" ] ; then
# Apply the default, now that we've determined that this is the minimum.
MINIMUM_BATTERY_CHARGE_PERCENT=3
fi
if [ "$AUTO_HIBERNATION_BATTERY_MINUTES" != "" -a "$AUTO_HIBERNATION_BATTERY_CHARGE_PERCENT" = "" ] ; then
# Use a very conservative estimate (1% = 1 battery minute, 100 minutes in a battery)
# for backward compatibility.
AUTO_HIBERNATION_BATTERY_CHARGE_PERCENT="$AUTO_HIBERNATION_BATTERY_MINUTES"
fi
if [ -z "$AUTO_HIBERNATION_BATTERY_CHARGE_PERCENT" ] ; then
# Apply the default, now that we've determined that this is the minimum.
AUTO_HIBERNATION_BATTERY_CHARGE_PERCENT=2
fi
# Postprocessing
if [ "$VERBOSE_OUTPUT" -ne 0 ] ; then
OUTPUT="/dev/stdout"
LM_VERBOSE="[ 1 = 1 ]"
else
OUTPUT="/dev/null"
LM_VERBOSE="[ 1 = 0 ]"
fi
if [ "$PARTITIONS" = "" ] ; then
PARTITIONS="auto /dev/mapper/*"
fi
# Expand shell wild cards immediately.
PARTITIONS=$( echo $PARTITIONS )
TERMINALS=$( echo $TERMINALS )
# Convert seconds to hdparm -S format
# Everything over 20 minutes is interpreted as 2 hours.
seconds_to_hdparm_S() {
if [ "$1" -eq 0 ] ; then
# disable.
echo 0
elif [ "$1" -gt 0 -a "$1" -lt 5 ] ; then
# 5 seconds minimum
echo 1
elif [ "$1" -le $((240*5)) ] ; then
# Values between 1 and 240 signify increments of 5 seconds
echo $(($1 / 5))
elif [ "$1" -lt $((30*60)) ] ; then
# Values between 20 and 30 minutes are rounded up to 30 minutes.
echo 241
elif [ "$1" -lt $((12*30*60)) ] ; then
# Values between 30 minutes and 6 hours (exclusive) yield values between
# 241 and 251, in 30-minute increments.
echo $(( 240 + ($1 / (30*60)) ))
else
# Larger values effectively indicate no timeout at all.
echo 0
fi
# Convert configured idle timeouts to hdparm -S format.
if [ "$LM_AC_HD_IDLE_TIMEOUT_SECONDS" != "" ] ; then
LM_AC_HD_IDLE_TIMEOUT=$(seconds_to_hdparm_S $LM_AC_HD_IDLE_TIMEOUT_SECONDS)
fi
if [ "$LM_BATT_HD_IDLE_TIMEOUT_SECONDS" != "" ] ; then
LM_BATT_HD_IDLE_TIMEOUT=$(seconds_to_hdparm_S $LM_BATT_HD_IDLE_TIMEOUT_SECONDS)
fi
if [ "$NOLM_HD_IDLE_TIMEOUT_SECONDS" != "" ] ; then
NOLM_HD_IDLE_TIMEOUT=$(seconds_to_hdparm_S $NOLM_HD_IDLE_TIMEOUT_SECONDS)
fi
# The main workhorse.
lmt_main_function ()
if [ "$1" = "status" ] ; then
# Display a status report.
log "STATUS" "Mounts:"
mount | sed "s/^/ /"
log "STATUS" " "
log "STATUS" "Drive power status:"
for disk in $HD; do
if [ -r $disk ]; then
hdparm -C $disk 2>/dev/null | sed "s/^/ /"
else
log "STATUS" " Cannot read $disk, permission denied - $0 needs to be run as root"
fi
done
log "STATUS" " "
log "STATUS" "(NOTE: drive settings affected by Laptop Mode cannot be retrieved.)"
log "STATUS" " "
log "STATUS" "Readahead states:"
cat /etc/mtab | while read DEV MP FST OPTS DUMP PASS ; do
# skip funny stuff
case "$FST" in
rootfs|unionfs|tmpfs|squashfs|sysfs|usbfs|proc|devpts) continue
esac
if [ -b $DEV ] ; then
if [ -r $DEV ] ; then
log "STATUS" " $DEV: $((`blockdev --getra $DEV` / 2)) kB"
else
log "STATUS" " Cannot read $DEV, permission denied - $0 needs to be run as root"
fi
fi
done
log "STATUS" " "
if [ -e /var/run/laptop-mode-tools/enabled ] ; then
log "STATUS" "Laptop Mode Tools is allowed to run: /var/run/laptop-mode-tools/enabled exists."
else
log "STATUS" "Laptop Mode Tools is NOT allowed to run: /var/run/laptop-mode-tools/enabled does not exist."
fi
log "STATUS" " "
STATFILES="/proc/sys/vm/laptop_mode /proc/apm /proc/pmu/info /proc/sys/vm/bdflush /proc/sys/vm/dirty_ratio /proc/sys/fs/xfs/age_buffer /proc/sys/fs/xfs/sync_interval /proc/sys/fs/xfs/lm_age_buffer /proc/sys/fs/xfs/lm_sync_interval /proc/sys/vm/pagebuf/lm_flush_age /proc/sys/fs/xfs/xfsbufd_centisecs /proc/sys/fs/xfs/xfssyncd_centisecs /proc/sys/vm/dirty_background_ratio /proc/sys/vm/dirty_expire_centisecs /proc/sys/fs/xfs/age_buffer/centisecs /proc/sys/vm/dirty_writeback_centisecs /sys/devices/system/cpu/*/cpufreq/cpuinfo_*_freq /sys/devices/system/cpu/*/cpufreq/scaling_governor /proc/acpi/button/lid/*/state /proc/acpi/ac_adapter/*/state /proc/acpi/battery/*/state /sys/class/power_supply/*/online /sys/class/power_supply/*/state"
for THISFILE in $STATFILES ; do
if [ -e "$THISFILE" ] ; then
log "STATUS" "$THISFILE:"
if [ -r "$THISFILE" ] ; then
cat "$THISFILE" | sed "s/^/ /"
else
log "STATUS" " Not accessible, permission denied - $0 needs to be run as root."
fi
log "STATUS" " "
fi
done
elif [ "$1" != "readconfig" -a "$1" != "defaults" ] ; then
KLEVEL="$(uname -r |
IFS='.-' read a b c
echo $a.$b
KMINOR="$(uname -r |
IFS='.-' read a b c d
# Strip any stuff from the end -- only the initial digits are part of the KMINOR.
echo $c | sed -e 's/\([[:digit:]]*\).*/\1/'
# Stop exporting everything -- what we do from here is private.
set +a
if [ "$1" = "--version" ] ; then
log "MSG" "Laptop Mode Tools $LMTVERSION"
exit 0
fi
if [ ! -e /proc/sys/vm/laptop_mode ] ; then
log "ERR" "Kernel does not have support for laptop mode. Please apply the laptop mode"
log "ERR" "patch or install a newer kernel."
exit 1
fi
if [ ! -w /proc/sys/vm/laptop_mode ] ; then
log "ERR" "You do not have enough privileges to enable laptop_mode."
exit 1
fi
INIT=0 # Display info in init script format?
FORCE=0 # Force reapplying the current state?
while [ "$1" != "" ] ; do
case "$1" in
init) INIT=1 ;;
force) FORCE=1 ;;
# Old options. We always do "auto" for any option now, but
# we still have to accept the options.
start) ;;
stop) ;;
auto) ;;
modules=*)
MODULES=$1
MODULES=${MODULES#"modules="}
devices=*)
DEVICES=$1
DEVICES=${DEVICES#"devices="}
*) log "ERR" "Unrecognized option $1."
exit 1 ;;
esac
shift
done
mkdir -p /var/run/laptop-mode-tools
# Used to display laptop mode state later on. This is the enabled/disabled
# state for laptop mode processing, it tells us nothing about whether laptop
# mode is actually _active_.
STATE=enabled
if [ "$ENABLE_LAPTOP_MODE_ON_BATTERY" -eq 0 -a "$ENABLE_LAPTOP_MODE_ON_AC" -eq 0 -a "$ENABLE_LAPTOP_MODE_WHEN_LID_CLOSED" -eq 0 ] ; then
STATE=disabled
fi
# Determine the power state.
# First try /sys/class/power_supply/*
FOUND_SYS_CLASS_POWER_SUPPLY_AC=0
ON_AC=0
for POWER_SUPPLY in /sys/class/power_supply/* ; do
if [ -f $POWER_SUPPLY/type ] ; then
if [ "$(cat $POWER_SUPPLY/type)" = "Mains" ] ;then
log "VERBOSE" "Determining power state from $POWER_SUPPLY/online."
FOUND_SYS_CLASS_POWER_SUPPLY_AC=1
if [ "$(cat $POWER_SUPPLY/online)" = 1 ] ; then
ON_AC=1
fi
fi
fi
done
if [ $FOUND_SYS_CLASS_POWER_SUPPLY_AC = 1 ] ; then
# Already found it!
log "VERBOSE" "Not trying other options, already found a power supply."
elif [ -d /proc/acpi/ac_adapter ] ; then
log "VERBOSE" "Determining power state from /proc/acpi/ac_adapter."
ADAPTERS_FOUND=0
ON_AC=0
for ADAPTER in /proc/acpi/ac_adapter/* ; do
if [ -f $ADAPTER/state ] ; then
ADAPTERS_FOUND=1
STATUS=`awk '/^state: / { print $2 }' $ADAPTER/state`
if [ "$STATUS" = "on-line" ] ; then
ON_AC=1
fi
fi
done
if [ "$ADAPTERS_FOUND" -eq 0 ] ; then
ON_AC=1
fi
elif [ -f /proc/pmu/info ] ; then
log "VERBOSE" "Determining power state from /proc/pmu/info."
if ( grep -q "^AC Power.*0$" /proc/pmu/info ) ; then
log "VERBOSE" "/proc/pmu/info indicates absence of AC power."
ON_AC=0
else
# It is possible that there is no AC Power = 1 in the file,
# but we always assume AC power when we're not sure.
ON_AC=1
log "VERBOSE" "/proc/pmu/info indicates presence of AC power."
fi
elif [ -f /proc/apm ] ; then
log "VERBOSE" "Determining power state from /proc/apm."
read D1 D2 D3 APM_AC_STATE D0 </proc/apm
if [ "$APM_AC_STATE" = "0x00" ] ; then
ON_AC=0
else
ON_AC=1
fi
else
log "VERBOSE" "No /sys/class/power_supply, ACPI, APM or PMU power management information found -- assuming AC power is present."
ON_AC=1
fi
# Determine whether to activate or deactivate laptop mode.
ACTIVATE=0
if [ "$ON_AC" -eq 1 ] ; then
if [ "$ENABLE_LAPTOP_MODE_ON_AC" -ne 0 ] ; then
log "VERBOSE" "On AC power: Activating, because ENABLE_LAPTOP_MODE_ON_AC is set."
ACTIVATE=1
else
log "VERBOSE" "On AC power: Deactivating, because ENABLE_LAPTOP_MODE_ON_AC is not set."
ACTIVATE=0
fi
else
if [ "$ENABLE_LAPTOP_MODE_ON_BATTERY" -ne 0 ] ; then
log "VERBOSE" "On battery power: Activating, because ENABLE_LAPTOP_MODE_ON_BATTERY is set."
ACTIVATE=1
else
log "VERBOSE" "On battery power: Deactivating, because ENABLE_LAPTOP_MODE_ON_BATTERY is not set."
ACTIVATE=0
fi
fi
if [ "$ENABLE_LAPTOP_MODE_WHEN_LID_CLOSED" -ne 0 -a "$ACTIVATE" -eq 0 ] ; then
if [ -x "`which hal-find-by-property`" ] ; then
HAL_LID_BUTTON=$(hal-find-by-property --key "button.type" --string "lid")
fi
if [ "$HAL_LID_BUTTON" != "" ] ; then
HAL_LID_BUTTON_STATE=$(hal-get-property --udi $(hal-find-by-property --key "button.type" --string "lid") --key "button.state.value")
if [ "$HAL_LID_BUTTON_STATE" = "true" ] ; then
log "VERBOSE" "Setting action to \"start\" because the lid is closed (says HAL)."
ACTIVATE=1
fi
elif [ -f /proc/acpi/button/lid/*/state ] ; then
if ( grep -q "closed" /proc/acpi/button/lid/*/state ) ; then
log "VERBOSE" 'Setting action to "start" because the lid is closed (says /proc/acpi/button/lid/*/state).'
ACTIVATE=1
fi
else
log "MSG" "Warning: ENABLE_LAPTOP_MODE_WHEN_LID_CLOSED is set, but there is no file"
log "MSG" "/proc/acpi/button/lid/.../state, and hal information is not available either!"
fi
fi
# If the init script has not been run or has been run with the "stop"
# argument, then we should never start laptop mode.
if [ ! -f /var/run/laptop-mode-tools/enabled ] ; then
log "VERBOSE" "Laptop mode disabled because /var/run/laptop-mode-tools/enabled is missing."
STATE=disabled
fi
if [ "$ACTIVATE" -eq 1 -a -f /etc/default/laptop-mode ] ; then
. /etc/default/laptop-mode
if ! ( echo "$ENABLE_LAPTOP_MODE" |grep y ) ; then
log "VERBOSE" "Not starting laptop mode because it is disabled in /etc/default/laptop-mode."
STATE=disabled
fi
fi
if [ "$STATE" = "disabled" ] ; then
ACTIVATE=0
fi
# Check whether we are allowed to activate the data-loss-sensitive stuff.
# If the battery charge is too low, we want to disable this, but not the
# other power-saving stuff.
if [ "$ACTIVATE" -eq 0 ] ; then
ACTIVATE_WITH_POSSIBLE_DATA_LOSS=0
elif [ "$ON_AC" = 1 ] ; then
log "VERBOSE" "On AC, not checking minimum battery charge."
ACTIVATE_WITH_POSSIBLE_DATA_LOSS=1
else
ACTIVATE_WITH_POSSIBLE_DATA_LOSS=1
ENOUGH_CHARGE=0
ENOUGH_CHARGE_TO_PREVENT_HIBERNATION=0
# Weird way of checking that /sys/class/power_supply is not empty -- but it works.
if [ "$(echo /sys/class/power_supply/*)" != '/sys/class/power_supply/*' ] ; then
log "VERBOSE" "Not on AC and we have battery information in /sys/class/power_supply/BAT* -- checking minimum battery charge."
for BATT in /sys/class/power_supply/* ; do
BATT_TYPE=$(cat $BATT/type)
log "VERBOSE" "$BATT is of type $BATT_TYPE."
if [ "$BATT_TYPE" != "Battery" ] ; then
log "VERBOSE" "Not of type \"Battery\", skipping."
else
PREV_ENOUGH_CHARGE=$ENOUGH_CHARGE
PREV_ENOUGH_CHARGE_TO_PREVENT_HIBERNATION=$ENOUGH_CHARGE_TO_PREVENT_HIBERNATION
log "VERBOSE" "Checking levels for $BATT."
PRESENT=$(cat $BATT/present)
log "VERBOSE" "Present: $PRESENT."
# Only do if the battery is present
if [ "$PRESENT" -eq 1 ] ; then
FOUND_AN_ENABLED_CHECK=0
FOUND_AN_ENABLED_HIBERNATION_CHECK=0
# Get the remaining capacity.
IN_UAH=0
IN_UWH=0
if [ -f $BATT/charge_now ] ; then
REMAINING=$(cat $BATT/charge_now)
IN_UAH=1 # charge_* is in microAmpere-hours
elif [ -f $BATT/energy_now ] ; then
REMAINING=$(cat $BATT/energy_now)
IN_UWH=1 # energy_* is in microWatt-hours
else
REMAINING=0
fi
if [ -z "$REMAINING" -o "$REMAINING" -eq 0 ] ; then
log "VERBOSE" "Battery does not report remaining charge. Perhaps it is not present?"
REMAINING=0
fi
log "VERBOSE" "Remaining charge: $REMAINING"
if [ -f $BATT/charge_full_design ] ; then
CAPACITY=$(cat $BATT/charge_full_design)
elif [ -f $BATT/energy_full_design ] ; then
CAPACITY=$(cat $BATT/energy_full_design)
else
CAPACITY=0
fi
if [ -z "$CAPACITY" -o "$CAPACITY" -eq 0 ] ; then
log "VERBOSE" "Battery does not report design full charge, using non-design full charge."
if [ -f $BATT/charge_full ] ; then
CAPACITY=$(cat $BATT/charge_full)
elif [ -f $BATT/energy_full_design ] ; then
CAPACITY=$(cat $BATT/energy_full)
else
CAPACITY=0
fi
if [ -z "$CAPACITY" -o "$CAPACITY" -eq 0 ] ; then
log "VERBOSE" "Battery does not report non-design full charge."
CAPACITY=0
fi
fi
log "VERBOSE" "Full capacity: $CAPACITY"
# Check the charge percentage
if [ "$MINIMUM_BATTERY_CHARGE_PERCENT" -ne 0 ] ; then
FOUND_AN_ENABLED_CHECK=1
if [ "$CAPACITY" -eq 0 ] ; then
log "MSG" "WARNING: Battery does not report a capacity. Minimum battery"
log "MSG" "charge checking does not work without a design capacity."
ENOUGH_CHARGE=1
elif [ "$(($REMAINING * 100 / $CAPACITY))" -ge "$MINIMUM_BATTERY_CHARGE_PERCENT" ] ; then
ENOUGH_CHARGE=1
fi
fi
if [ "$AUTO_HIBERNATION_BATTERY_CHARGE_PERCENT" -ne 0 ] ; then
FOUND_AN_ENABLED_HIBERNATION_CHECK=1
if [ "$CAPACITY" -eq 0 ] ; then
log "MSG" "WARNING: Battery does not report a design capacity. Auto hibernation"
log "MSG" "does not work without a design capacity."
ENOUGH_CHARGE=1
elif [ "$(($REMAINING * 100 / $CAPACITY))" -ge "$AUTO_HIBERNATION_BATTERY_CHARGE_PERCENT" ] ; then
ENOUGH_CHARGE_TO_PREVENT_HIBERNATION=1
fi
fi
# $BATT/alarm is the design_capacity_warning of a battery.
ALARM_LEVEL=$(cat $BATT/alarm)
if [ "$ALARM_LEVEL" -ne 0 ] ; then
if [ "$REMAINING" -le "$ALARM_LEVEL" ] ; then
# Restore the state we had before checking this battery, so that
# this battery does not count as having enough charge.
ENOUGH_CHARGE=$PREV_ENOUGH_CHARGE
elif [ "$FOUND_AN_ENABLED_CHECK" -eq 0 ] ; then
# This is the only check that is enabled. In that case a non-critical
# battery level counts as "enough". (If we would count non-critical
# battery levels as enough *always*, then the other settings would
# have no effect; this is only a final fallback.)
ENOUGH_CHARGE=1
fi
fi
if [ "$AUTO_HIBERNATION_ON_CRITICAL_BATTERY_LEVEL" -ne 0 ] ; then
if [ "$REMAINING" -le "$ALARM_LEVEL" ] ; then
ENOUGH_CHARGE_TO_PREVENT_HIBERNATION=$PREV_ENOUGH_CHARGE_TO_PREVENT_HIBERNATION
elif [ "$FOUND_AN_ENABLED_HIBERNATION_CHECK" -eq 0 ] ; then
ENOUGH_CHARGE_TO_PREVENT_HIBERNATION=1
fi
fi
# Fallback: hard values
if [ "$IN_UAH" -ne 0 ] ; then
if [ "$MINIMUM_BATTERY_CHARGE_MAH" -ne 0 ] ; then
FOUND_AN_ENABLED_CHECK=1
if [ "$REMAINING" -ge $((1000*"$MINIMUM_BATTERY_CHARGE_MAH")) ] ; then
ENOUGH_CHARGE=1
fi
fi
if [ "$AUTO_HIBERNATION_BATTERY_CHARGE_MAH" -ne 0 ] ; then
FOUND_AN_ENABLED_HIBERNATION_CHECK=1
if [ "$REMAINING" -ge $((1000*"$AUTO_HIBERNATION_BATTERY_CHARGE_MAH")) ] ; then
ENOUGH_CHARGE_TO_PREVENT_HIBERNATION=1
fi
fi
elif [ "$IN_UWH" -ne 0 ] ; then
if [ "$MINIMUM_BATTERY_CHARGE_MWH" -ne 0 ] ; then
FOUND_AN_ENABLED_CHECK=1
if [ "$REMAINING" -ge $((1000*"$MINIMUM_BATTERY_CHARGE_MWH")) ] ; then
ENOUGH_CHARGE=1
fi
fi
if [ "$AUTO_HIBERNATION_BATTERY_CHARGE_MWH" -ne 0 ] ; then
FOUND_AN_ENABLED_HIBERNATION_CHECK=1
if [ "$REMAINING" -ge $((1000*"$AUTO_HIBERNATION_BATTERY_CHARGE_MWH")) ] ; then
ENOUGH_CHARGE_TO_PREVENT_HIBERNATION=1
fi
fi
else
log "ERR" "Failed to determine battery charge. Battery charge units are not in"
log "ERR" "mWh, uWh, mAh or uAh."
fi
else
log "VERBOSE" "Battery is not present."
fi
fi
done
elif [ "$(echo /proc/acpi/battery/*)" != '/proc/acpi/battery/*' ] ; then
log "VERBOSE" "Not on AC and we have batteries in /proc/acpi/battery -- checking minimum battery charge."
for BATT in /proc/acpi/battery/* ; do
PREV_ENOUGH_CHARGE=$ENOUGH_CHARGE
PREV_ENOUGH_CHARGE_TO_PREVENT_HIBERNATION=$ENOUGH_CHARGE_TO_PREVENT_HIBERNATION
BATT_STATE=$BATT/state
BATT_INFO=$BATT/info
log "VERBOSE" "Checking info and state for $BATT."
# Only do if the battery is present
if ( grep -q 'present:.*yes' $BATT_INFO ) ; then
FOUND_AN_ENABLED_CHECK=0
FOUND_AN_ENABLED_HIBERNATION_CHECK=0
# Get the remaining capacity.
REMAINING=`grep "remaining capacity:" $BATT_STATE | sed "s/.* \([0-9][0-9]* \).*/\1/" `
if [ -z "$REMAINING" ] ; then
log "VERBOSE" "Battery does not report remaining charte. Perhaps it is not present?"
REMAINING=0
fi
log "VERBOSE" "Remaining charge: $REMAINING"
CAPACITY=`grep "design capacity:" $BATT_INFO | sed "s/.* \([0-9][0-9]* \).*/\1/" `
if [ -z "$CAPACITY" ] ; then
log "VERBOSE" "Battery does not report capacity. Perhaps it is not present?"
CAPACITY=0
fi
log "VERBOSE" "Design capacity: $CAPACITY"
# Check the charge percentage
if [ "$MINIMUM_BATTERY_CHARGE_PERCENT" -ne 0 ] ; then
FOUND_AN_ENABLED_CHECK=1
if [ "$CAPACITY" -eq 0 ] ; then
log "MSG" "WARNING: Battery does not report a design capacity. Minimum battery"
log "MSG" "charge checking does not work without a design capacity."
ENOUGH_CHARGE=1
elif [ "$(($REMAINING * 100 / $CAPACITY))" -ge "$MINIMUM_BATTERY_CHARGE_PERCENT" ] ; then
ENOUGH_CHARGE=1
fi
fi
if [ "$AUTO_HIBERNATION_BATTERY_CHARGE_PERCENT" -ne 0 ] ; then
FOUND_AN_ENABLED_HIBERNATION_CHECK=1
if [ "$CAPACITY" -eq 0 ] ; then
log "MSG" "WARNING: Battery does not report a design capacity. Auto hibernation"
log "MSG" "does not work without a design capacity."
ENOUGH_CHARGE=1
elif [ "$(($REMAINING * 100 / $CAPACITY))" -ge "$AUTO_HIBERNATION_BATTERY_CHARGE_PERCENT" ] ; then
ENOUGH_CHARGE_TO_PREVENT_HIBERNATION=1
fi
fi
# Fallback: hard values.
# Determine the reporting unit.
IN_MAH=0
IN_MWH=0
if ( grep -q mWh $BATT_INFO ) ; then
IN_MWH=1
elif ( grep -q mAh $BATT_INFO ) ; then
IN_MAH=1
fi
if [ "$IN_MAH" -ne 0 ] ; then
if [ "$MINIMUM_BATTERY_CHARGE_MAH" -ne 0 ] ; then
FOUND_AN_ENABLED_CHECK=1
if [ "$REMAINING" -ge "$MINIMUM_BATTERY_CHARGE_MAH" ] ; then
ENOUGH_CHARGE=1
fi
fi
if [ "$AUTO_HIBERNATION_BATTERY_CHARGE_MAH" -ne 0 ] ; then
FOUND_AN_ENABLED_HIBERNATION_CHECK=1
if [ "$REMAINING" -ge "$AUTO_HIBERNATION_BATTERY_CHARGE_MAH" ] ; then
ENOUGH_CHARGE_TO_PREVENT_HIBERNATION=1
fi
fi
elif [ "$IN_MWH" -ne 0 ] ; then
if [ "$MINIMUM_BATTERY_CHARGE_MWH" -ne 0 ] ; then
FOUND_AN_ENABLED_CHECK=1
if [ "$REMAINING" -ge "$MINIMUM_BATTERY_CHARGE_MWH" ] ; then
ENOUGH_CHARGE=1
fi
fi
if [ "$AUTO_HIBERNATION_BATTERY_CHARGE_MWH" -ne 0 ] ; then
FOUND_AN_ENABLED_HIBERNATION_CHECK=1
if [ "$REMAINING" -ge "$AUTO_HIBERNATION_BATTERY_CHARGE_MWH" ] ; then
ENOUGH_CHARGE_TO_PREVENT_HIBERNATION=1
fi
fi
else
log "ERR" "Failed to determine battery charge. Battery charge units are not in"
log "ERR" "mWh or mAh."
fi
CAP_STATE=`sed -r 's/^capacity state:\s*(.*)\s*$/\1/;t;d' "$BATT_STATE"`
if [ "$DISABLE_LAPTOP_MODE_ON_CRITICAL_BATTERY_LEVEL" -ne 0 ] ; then
if [ "$CAP_STATE" = "critical" ] ; then
# Restore the state we had before checking this battery, so that
# this battery does not count as having enough charge.
ENOUGH_CHARGE=$PREV_ENOUGH_CHARGE
elif [ "$FOUND_AN_ENABLED_CHECK" -eq 0 ] ; then
# This is the only check that is enabled. In that case a non-critical
# battery level counts as "enough". (If we would count non-critical
# battery levels as enough *always*, then the other settings would
# have no effect; this is only a final fallback.)
ENOUGH_CHARGE=1
fi
fi
if [ "$AUTO_HIBERNATION_ON_CRITICAL_BATTERY_LEVEL" -ne 0 ] ; then
if [ "$CAP_STATE" = "critical" ] ; then
ENOUGH_CHARGE_TO_PREVENT_HIBERNATION=$PREV_ENOUGH_CHARGE_TO_PREVENT_HIBERNATION
elif [ "$FOUND_AN_ENABLED_HIBERNATION_CHECK" -eq 0 ] ; then
ENOUGH_CHARGE_TO_PREVENT_HIBERNATION=1
fi
fi
else
log "VERBOSE" "Battery is not present."
fi
done
else
ENOUGH_CHARGE=1
ENOUGH_CHARGE_TO_PREVENT_HIBERNATION=1
log "VERBOSE" "Not on AC and could not check battery state -- data loss sensitive features stay enabled and auto-hibernation will not work."
fi
if [ "$ENABLE_AUTO_HIBERNATION" -ne 0 -a "$ENOUGH_CHARGE_TO_PREVENT_HIBERNATION" -eq 0 ] ; then
log "VERBOSE" "None of the batteries have a charge above the auto-hibernation level."
log "VERBOSE" "Starting hibernation."
if [ -x $HIBERNATE_COMMAND ]; then
$HIBERNATE_COMMAND
elif [ -f /sys/power/state ]; then
grep -q disk /sys/power/state && echo disk > /sys/power/state
fi
# Don't continue -- if things are configured correctly, then we
# will be called on resume.
exit 0
fi
if [ "$ENOUGH_CHARGE" -eq 0 ] ; then
log "VERBOSE" "None of the batteries have a charge above the minimum level."
log "VERBOSE" "Deactivating data loss sensitive features."
ACTIVATE_WITH_POSSIBLE_DATA_LOSS=0
fi
fi
if [ "$INIT" -eq 0 ] ; then
log "MSG" "Laptop mode "
fi
# WAS_ACTIVE is used later on. If there is no /var/run/laptop-mode-tools/state, then
# we know that laptop mode wasn't active before.
WAS_ACTIVE=0
log "VERBOSE" "Checking if desired state is different from current state."
if [ -f /var/run/laptop-mode-tools/state ] ; then
read WAS_ACTIVE WAS_ON_AC WAS_ACTIVATE_WITH_POSSIBLE_DATA_LOSS WAS_STATE < /var/run/laptop-mode-tools/state
if [ "$WAS_STATE" != "" ] ; then
if [ "$WAS_ACTIVE" -eq "$ACTIVATE" -a "$WAS_ON_AC" -eq "$ON_AC" -a "$WAS_ACTIVATE_WITH_POSSIBLE_DATA_LOSS" -eq "$ACTIVATE_WITH_POSSIBLE_DATA_LOSS" -a "$WAS_STATE" = "$STATE" -a "$FORCE" -eq 0 ] ; then
log "MSG" "$STATE, "
if [ "$WAS_ACTIVE" -eq 1 ] ; then
log "MSG" "active [unchanged]"
if [ "$ACTIVATE_WITH_POSSIBLE_DATA_LOSS" -eq 0 ] ; then
log "MSG" " (Data-loss sensitive features disabled.)"
fi
else
log "MSG" "not active [unchanged]"
fi
exit 0
fi
fi
else
log "VERBOSE" "/var/run/laptop-mode-tools/state does not exist, no previous state."
fi
echo "$ACTIVATE $ON_AC $ACTIVATE_WITH_POSSIBLE_DATA_LOSS $STATE" > /var/run/laptop-mode-tools/state
if [ "$ACTIVATE" -eq 1 ] ; then
log "MSG" "$STATE, active"
if [ "$ACTIVATE_WITH_POSSIBLE_DATA_LOSS" -eq 0 ] ; then
log "MSG" " (Data-loss sensitive features disabled.)"
fi
else
log "MSG" "$STATE, not active"
fi
# Finally, call laptop-mode-tools modules. The modules can use the settings
# from the config files, but they may NOT assume the settings actually exist,
# as no defaults have been given for them.
# Note that the /usr/local/lib path is deprecated.
export FORCE STATE ON_AC ACTIVATE ACTIVATE_WITH_POSSIBLE_DATA_LOSS KLEVEL KMINOR WAS_ACTIVE LM_VERBOSE DEVICES
for SCRIPT in /usr/share/laptop-mode-tools/modules/* /usr/local/lib/laptop-mode-tools/modules/* /usr/local/share/laptop-mode-tools/modules/* /etc/laptop-mode/modules/* ; do
if [ -z "$MODULES" ] ; then
# If a module list has not been provided, execute all modules
EXECUTE_SCRIPT=1
else
# If a module list has been provided, execute only the listed
# modules.
EXECUTE_SCRIPT=0
for MODULE in $MODULES; do
# Attempt to remove the module name from the end of the
# full script path. If the module name matches the
# script, the name will be removed from the end of the
# full file path, leaving the path to the script. If
# there was not a match made, the module name would not
# be removed from the path, and $PATH_TO_SCRIPT would
# be the same as $SCRIPT.
PATH_TO_SCRIPT=${SCRIPT%%$MODULE}
# Execute the script if a match was found (module name
# was removed from the script path, making it shorter.
if [ $PATH_TO_SCRIPT != $SCRIPT ] ; then
EXECUTE_SCRIPT=1
fi
done
fi
if [ -x "$SCRIPT" -a $EXECUTE_SCRIPT -eq 1 ] ; then
log "VERBOSE" "Invoking module $SCRIPT."
SCRIPT_DEBUG=$SCRIPT; # We do this because in start-stop-programs module a $SCRIPT variable is used. That
# changes the whole meaning when passed to disableDebug ()
enableDebug $SCRIPT_DEBUG;
. $SCRIPT
disableDebug $SCRIPT_DEBUG;
else
log "VERBOSE" "Module $SCRIPT is not executable or is to be skipped."
fi
done
exit 0
# This fi closes the if for "readconfig". If I would have indented this one
# I would have indented the whole file. :)
fi
lmt_load_config
lock_retry ()
( $FLOCK -n -x -w 1 8 || exit 0;
i=10;
while [ $i -ge 1 ]
do
log "ERR" "Couldn't acquire lock. Retrying.... PID is $$\n"
$FLOCK -x -w 1 9 && lmt_main_function "$@" && break;
i=$(( $i - 1 ))
done
) 8>$LMT_REQ_LOCK
# Check and acquire locks and then exec.
( $FLOCK -n -x -w 1 8; ) 8>$LMT_REQ_LOCK
($FLOCK -n -x -w 1 9 && lmt_main_function "$@";) || lock_retry "$@"
) 9<>$LMT_INVOC_LOCK
# We do a special run of battery polling daemon here so that it does not get
# plagued by the lock. We need the polling daemon to be independent of any locks
if [ x$ENABLE_BATTERY_LEVEL_POLLING = x1 ] && [ x$BLACKLIST_IN_FLOCK = x1 ]; then
log "VERBOSE" "Battery level polling is enabled."
if [ x$ON_AC = x1 ] ; then
log "VERBOSE" "On AC, stopping the polling daemon."
# In AC mode we disable the polling daemon.
killall -q lm-polling-daemon
else
if ! pidof -x lm-polling-daemon ; then
log "VERBOSE" "On battery and there was no polling daemon yet, starting the polling daemon."
# If there is no polling daemon, we start one.
/usr/share/laptop-mode-tools/module-helpers/lm-polling-daemon < /dev/null > /dev/null 2> /dev/null &
fi
fi
else
log "VERBOSE" "Battery level polling is disabled."
fi
exit 0;
and here is the lines which archwiki mentions
case "$KLEVEL" in
"2.4" ) ;;
"2.6" ) ;;
log "ERR" "Unhandled kernel version: $KLEVEL ('uname -r' = '$(uname -r)')" >&2
exit 1
esacI had the problem but edited the line in /usr/sbin/laptop_mode and it worked. But thoes lines are not there anymore. I guess they changed it at the recent update of laptop-mode-tools.
Regarding your heat problem; is there any other thing you use to cut down power usage (from AUR maybe)? I use acpi_call from AUR had to edit lines there aswell, but it should be updated by now. -
Lenovo Drivers Insufficient for update to 8.1 - Driver problem - H430
Lenovo Drivers Insufficient for update to 8.1 - Driver problem (USB?) - H430
my lenovo H430 is about 6 months old - worked okay with preinstalled Windows 8
After update to Windows 8.1 computer no longer seemed to work well at all, although I am unable to provide hard evidence, but clearly it was not working as smoothly as in the previous 8 version with lots of irritating little problems - including sound.
One thing that very clearly was not functioning as it had in 8 version was the USB disconnect icon. In 8 you only had to click on icon and the USB selection window would open immediately. Additionally all USB connections would be shown - back and front USB. Select the USB to be disconnected and it would be disconnected immediately (providing not in use). After update to 8.1 this was no longer the case.
In 8.1 disconnect icon no longer worked as it had done in 8. After clicking on icon there was now always a lengthy pause, followed by the sound of the computer working (whirring sound) and then after a while the USB selection window would finally open. Sometimes it was necessary to click on icon a few times to get any reaction at all. A small MP3 player I had charged up on my computer every morning (front USB) in windows 8, was always in USB list, and disconnected without problem in 8. In 8.1 it was no longer in list and only charged sporadically (would stop charging, but if I clicked on USB icon it would start charging again - although still not shown in USB list).
After about two weeks of 8.1 my screen suddenly - but only briefly - went black twice. I ran a sfc /scannow. problems were found but could not be resolved. I did a Dism /Online/Clean-Image/RestoreHealth this was reported as being successful. About two days later my computer went into blue screen BSOD - "critical-services-failure" - from which I was unable to get out of. The only option open was the Lenovo restore option. Computer was returned to factory state with los of all data.
back to Windows 8 the computer once again worked okay - no problems - and USB icon once again worked correctly (including with MP3 player).
About 2 weeks later after receiving MS messages to update to 8.1 I called Lenovo support and asked about update to drivers for 8.1.
the following list was given:
Chipset: Intel chipset Driver for Windows 8.1 (64-bit) Version : 9.4.0.1022
Video: CPP2 AMD DISCRETE VGA CARD DRIVER for Windows 8.1 (64-bit) Version: 13.152
Audio: Realtek Audio Driver for Windows 8.1 (64-bit) Version: 6.0.1.7030
LAN: Realtek Lan Driver for Windows 8.1 (64-bit) Version: 8.018.0621.2013
STORAGE: Intel RST Driver for Windows 8.1 (64-bit) - Desktop Version: 12.8.0.1016
I updated to 8.1 and then updated all the above drivers (no USB driver update was available).
The same problems as the last update to 8.1 and USB was as bad as it was in last 8.1
Some days later my computer went into blue screen BSOD once again - although this time did not stay stuck there, and quickly restarted - due to speed of restart I did not get time to read all the text and discover the cause of BSOD.
Computer is still running badly - particularly the USB icon disconnect.
Called Lenovo support but they have been no help!!!!!!!!!!!!!!
Lenovo are failing us with the 8.1 update and the DRIVERS FOR 8.1
BSOD
all i could find was this: (probably refers to after BSOD - the restarting part after BSOD???)
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
<Provider Name="Microsoft-Windows-Kernel-Power" Guid="{331C3B3A-2005-44C2-AC5E-77220C37D6B4}" />
<EventID>41</EventID>
<Version>3</Version>
<Level>1</Level>
<Task>63</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000002</Keywords>
<TimeCreated SystemTime="2013-12-20T08:12:33.642341400Z" />
<EventRecordID>9644</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="8" />
<Channel>System</Channel>
<Computer>myleno</Computer>
<Security UserID="S-1-5-18" />
</System>
- <EventData>
<Data Name="BugcheckCode">209</Data>
<Data Name="BugcheckParameter1">0xb8</Data>
<Data Name="BugcheckParameter2">0x2</Data>
<Data Name="BugcheckParameter3">0x0</Data>
<Data Name="BugcheckParameter4">0xfffff8000020170a</Data>
<Data Name="SleepInProgress">0</Data>
<Data Name="PowerButtonTimestamp">0</Data>
<Data Name="BootAppStatus">0</Data>
</EventData>
</Event>I have now seen the suggestion by Tomaspoko and Brillow at http://forums.lenovo.com/t5/ThinkPad-Edge-S-series/Windows-8-1-update-S440-ThinkPad-black-screen-wit...
Despite the AMD driver giving an error during install at the last stage of the suggested fix, this has now yielded a working switchable graphics for my S540 for the first time with Windows 8.1. Catalyst Control Center also works for the first time, so thank you to both the above-mentioned posters for a solution that does work.
Hopefully in time AMD will release a non-broken updated AMD driver and CCC package.
Thanks again for a nice solution from this forum - the problem was driving me nuts! -
OAS 4.0.8.1 & SMP kernel = wrksf up
Here something I finally figured out, but maybe everyone already knows this.
Running RedHat 6.0, I still couldn't get wrksf to stay up, even with a clean install of everything. But by switching to an SMP kernel, everything things happy.
I saw only passing mention of this while searching the archives, so I thought I'd put it out there. Since SMP isn't installed by default on a basic desktop, maybe this info should be more prominent.
rob
nullHi parrott,
I have also encountered the same problem as you. Could you teach me how to switch to SMP kernel? My email is [email protected] Thanks in advance.
regards
hengsq
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by parrott:
Here something I finally figured out, but maybe everyone already knows this.
Running RedHat 6.0, I still couldn't get wrksf to stay up, even with a clean install of everything. But by switching to an SMP kernel, everything things happy.
I saw only passing mention of this while searching the archives, so I thought I'd put it out there. Since SMP isn't installed by default on a basic desktop, maybe this info should be more prominent.
rob<HR></BLOCKQUOTE>
null -
Lenovo G 560 display driver problem
The problem that I have: in 5 or 6 days my display goes black and after 2-3 seconds everything is OK again. When that happens I get a message from the system:" DISPLAY DRIVER STOPPED RESPONDING AND HAS RECOVERED"
"Display driver NVIDIA Windows Kernel Mode Driver, Version 188.38 stopped responding and has successfully recovered."
I tried with downloading and installing new,fresh drivers from Lenovo and the problem is still there!! Does anybody know what is the problem?
Solved!
Go to Solution.un-install drivers first, restart your computer and re-install graphic card drivers from here.
by the way, have you installed any application or made any changes recently? -
Build ATI driver for current Kernel. Good idea?
Hi,
I change to Arch after a long time in Ubuntu and Mint.
My video card is an APU (CPU+GPU): AMD C-50/HD 6290. It's works fine in Arch with VLC and run videos in HD, but sometimes, the screen is cuted. Is it a good idea to build a amd driver to my kernel?
My system is fully updated at the time.
Arch Linux 32x XFCEI have a quite similar setup
$ lspci
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Wrestler [Radeon HD 6320]
(I have the E450 "APU")
and my video performance is awesome! The only difference is, that I use mpv for videos rather than vlc. You could give it a try for testing purposes. So install mpv, it's in the repos, and try this config (path is ~/.mpv/config)
vo=vdpau
ao=alsa
softvol=yes
alang = en,de
[vo.vdpau]
hwdec = auto
vf-clr=yes
Then just run
mpv /path/to/your/video/file
Works perfectly for me, no issues whatsoever.
So if the problems don't show with mpv, it looks like it's vlc's fault. If you run into the same problems, it might be caused by the video driver, the ffmpeg backend (both vlc and mpv use ffmpeg) or the video file itself. So do some experiments and hopefully you'll find out what's the culprit here. -
HELP! Problem with KERNEL PANICS!
Hi everyone!
I have a serious problem with kernel panics - it doesn't seem to be connected with a certain type of program, but seems to be completely random. I have reinstalled my OS X and updated it, but the kernel panics just keep on coming and if possible it actually seemed to make matters worse! Now it doesn't always show the bar at the top of the screen when I turn it on, and sometimes programs like iTunes and Safari, just won't work until I restart the mac. I've also done a harware test - no faults detected. I had an idea that it might be AutoCad causing it, as it started sometime after I installed it - it was also the first program I reinstalled after OS X reinstallation - but I haven't used the AutoCad a whole lot and the panics happen way more often.
I am completely at a loss now as I'm not exactly a computer expert. If anyone can deduce something from my most recent panic log which could help me find out what's causing all this, I would greatly appreciate it!
Interval Since Last Panic Report: 95470 sec
Panics Since Last Report: 8
Anonymous UUID: 42BB5090-A5E7-0888-436E-5D5C4A60A868
Wed Oct 24 18:43:40 2012
panic(cpu 1 caller 0xffffff80192b7bd5): Kernel trap at 0xffffff8019266e6d, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0xffffff74254ab050, CR3: 0x000000000fb2f000, CR4: 0x0000000000000660
RAX: 0x0000000000000000, RBX: 0xffffff74254ab040, RCX: 0xffffffffffffffff, RDX: 0xffffff007de5c000
RSP: 0xffffff8091413590, RBP: 0xffffff80914135f0, RSI: 0xffffff80253fa610, RDI: 0xffffff007de5f000
R8: 0x0000000000000000, R9: 0x0000000000003000, R10: 0x0000000000000000, R11: 0x0000000000000212
R12: 0xffffff8027014ba0, R13: 0xffffff801c599bd8, R14: 0xffffff007de5c000, R15: 0xffffff801c599bc8
RFL: 0x0000000000010293, RIP: 0xffffff8019266e6d, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0xffffff74254ab050, Error code: 0x0000000000000000, Fault CPU: 0x1
Backtrace (CPU 1), Frame : Return Address
0xffffff8091413230 : 0xffffff801921d626
0xffffff80914132a0 : 0xffffff80192b7bd5
0xffffff8091413470 : 0xffffff80192ce4ed
0xffffff8091413490 : 0xffffff8019266e6d
0xffffff80914135f0 : 0xffffff8019264c3f
0xffffff80914136a0 : 0xffffff8019264f60
0xffffff80914136d0 : 0xffffff8019224624
0xffffff8091413700 : 0xffffff8019622ca2
0xffffff8091413720 : 0xffffff7f9985bcd6
0xffffff8091413740 : 0xffffff7f9985e447
0xffffff8091413790 : 0xffffff7f9985c086
0xffffff80914137d0 : 0xffffff7f9985cb41
0xffffff8091413990 : 0xffffff7f998593f2
0xffffff8091413ee0 : 0xffffff801968393f
0xffffff8091413f50 : 0xffffff80195e182a
0xffffff8091413fb0 : 0xffffff80192ced33
Kernel Extensions in backtrace:
com.apple.security.sandbox(220.0)[BFFEC437-6820-3CDD-882F-346EAC151352]@0xfffff f7f99855000->0xffffff7f99865fff
dependency: com.apple.kext.AppleMatch(1.0.0d1)[327C619E-5CC2-311F-8B0C-F9D508BFD5B0]@0xffff ff7f99851000
BSD process name corresponding to current thread: awacsd
Mac OS version:
12C60
Kernel version:
Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64
Kernel UUID: 69A5853F-375A-3EF4-9247-478FD0247333
Kernel slide: 0x0000000019000000
Kernel text base: 0xffffff8019200000
System model name: MacBookPro7,1 (Mac-F222BEC8)
System uptime in nanoseconds: 48426823677
last loaded kext at 24167594711: com.apple.driver.AudioAUUC 1.60 (addr 0xffffff7f9ac61000, size 32768)
loaded kexts:
com.apple.driver.AudioAUUC 1.60
com.apple.driver.AppleHWSensor 1.9.5d0
com.apple.driver.AGPM 100.12.69
com.apple.driver.AppleTyMCEDriver 1.0.2d2
com.apple.driver.AppleHDAHardwareConfigDriver 2.3.1f2
com.apple.driver.AppleHDA 2.3.1f2
com.apple.driver.AppleMikeyHIDDriver 122
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.iokit.IOBluetoothSerialManager 4.0.9f33
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AppleSMCLMU 2.0.2d0
com.apple.driver.ApplePolicyControl 3.2.11
com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0
com.apple.driver.AppleMikeyDriver 2.3.1f2
com.apple.driver.AppleLPC 1.6.0
com.apple.filesystems.autofs 3.0
com.apple.iokit.IOBluetoothUSBDFU 4.0.9f33
com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport 4.0.9f33
com.apple.driver.AppleUpstreamUserClient 3.5.10
com.apple.driver.AppleMuxControl 3.2.11
com.apple.driver.AppleBacklight 170.2.3
com.apple.driver.AppleMCCSControl 1.0.33
com.apple.GeForce 8.0.0
com.apple.driver.SMCMotionSensor 3.0.2d6
com.apple.driver.AppleUSBTCButtons 235.4
com.apple.driver.AppleIRController 320.15
com.apple.driver.AppleUSBTCKeyEventDriver 235.4
com.apple.driver.AppleUSBTCKeyboard 235.4
com.apple.driver.AppleUSBCardReader 3.1.0
com.apple.driver.AppleFileSystemDriver 3.0.1
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 34
com.apple.iokit.SCSITaskUserClient 3.5.1
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCIBlockStorage 2.2.2
com.apple.driver.AppleFWOHCI 4.9.6
com.apple.driver.AppleAHCIPort 2.4.1
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.iokit.AppleBCM5701Ethernet 3.2.5b3
com.apple.driver.AirPort.Brcm4331 602.15.22
com.apple.driver.AppleUSBHub 5.2.5
com.apple.driver.AppleUSBEHCI 5.4.0
com.apple.driver.AppleUSBOHCI 5.2.5
com.apple.driver.AppleEFINVRAM 1.6.1
com.apple.driver.AppleRTC 1.5
com.apple.driver.AppleHPET 1.7
com.apple.driver.AppleACPIButtons 1.6
com.apple.driver.AppleSMBIOS 1.9
com.apple.driver.AppleACPIEC 1.6
com.apple.driver.AppleAPIC 1.6
com.apple.driver.AppleIntelCPUPowerManagementClient 196.0.0
com.apple.nke.applicationfirewall 4.0.39
com.apple.security.quarantine 2
com.apple.driver.AppleIntelCPUPowerManagement 196.0.0
com.apple.driver.DspFuncLib 2.3.1f2
com.apple.iokit.IOAudioFamily 1.8.9fc10
com.apple.kext.OSvKernDSPLib 1.6
com.apple.iokit.IOSurface 86.0.3
com.apple.iokit.IOSerialFamily 10.0.6
com.apple.iokit.IOBluetoothFamily 4.0.9f33
com.apple.driver.AppleHDAController 2.3.1f2
com.apple.iokit.IOHDAFamily 2.3.1f2
com.apple.driver.IOPlatformPluginLegacy 1.0.0
com.apple.driver.AppleSMBusPCI 1.0.10d0
com.apple.driver.IOPlatformPluginFamily 5.2.0d16
com.apple.kext.triggers 1.0
com.apple.iokit.IOFireWireIP 2.2.5
com.apple.iokit.AppleBluetoothHCIControllerUSBTransport 4.0.9f33
com.apple.driver.AppleGraphicsControl 3.2.11
com.apple.driver.AppleBacklightExpert 1.0.4
com.apple.driver.AppleSMBusController 1.0.10d0
com.apple.nvidia.nv50hal 8.0.0
com.apple.NVDAResman 8.0.0
com.apple.iokit.IONDRVSupport 2.3.5
com.apple.iokit.IOGraphicsFamily 2.3.5
com.apple.driver.AppleSMC 3.1.4d2
com.apple.driver.AppleUSBMultitouch 235.7
com.apple.iokit.IOUSBHIDDriver 5.2.5
com.apple.iokit.IOSCSIBlockCommandsDevice 3.5.1
com.apple.iokit.IOUSBMassStorageClass 3.5.0
com.apple.driver.AppleUSBMergeNub 5.2.5
com.apple.driver.AppleUSBComposite 5.2.5
com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.5.1
com.apple.iokit.IOBDStorageFamily 1.7
com.apple.iokit.IODVDStorageFamily 1.7.1
com.apple.iokit.IOCDStorageFamily 1.7.1
com.apple.iokit.IOAHCISerialATAPI 2.5.0
com.apple.iokit.IOSCSIArchitectureModelFamily 3.5.1
com.apple.iokit.IOFireWireFamily 4.5.5
com.apple.iokit.IOAHCIFamily 2.2.1
com.apple.iokit.IOEthernetAVBController 1.0.2b1
com.apple.iokit.IO80211Family 500.15
com.apple.iokit.IONetworkingFamily 3.0
com.apple.driver.AppleMCP89RootPortPM 1.11
com.apple.iokit.IOUSBUserClient 5.2.5
com.apple.iokit.IOUSBFamily 5.4.0
com.apple.driver.NVSMU 2.2.9
com.apple.driver.AppleEFIRuntime 1.6.1
com.apple.iokit.IOHIDFamily 1.8.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 220
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.DiskImages 344
com.apple.iokit.IOStorageFamily 1.8
com.apple.driver.AppleKeyStore 28.21
com.apple.driver.AppleACPIPlatform 1.6
com.apple.iokit.IOPCIFamily 2.7.2
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.corecrypto 1.0
Model: MacBookPro7,1, BootROM MBP71.0039.B0E, 2 processors, Intel Core 2 Duo, 2.4 GHz, 4 GB, SMC 1.62f6
Graphics: NVIDIA GeForce 320M, NVIDIA GeForce 320M, PCI, 256 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353637334648302D4346382020
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353637334648302D4346382020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.106.98.81.22)
Bluetooth: Version 4.0.9f33 10885, 2 service, 11 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: Hitachi HTS545025B9SA02, 250,06 GB
Serial ATA Device: MATSHITADVD-R UJ-898
USB Device: Built-in iSight, apple_vendor_id, 0x8507, 0x24600000 / 2
USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0x26100000 / 2
USB Device: USB Receiver, 0x046d (Logitech Inc.), 0xc52b, 0x06400000 / 5
USB Device: BRCM2046 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x06600000 / 4
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8213, 0x06610000 / 6
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0x06500000 / 3
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0237, 0x06300000 / 2Hi everyone!
I have a serious problem with kernel panics - it doesn't seem to be connected with a certain type of program, but seems to be completely random. I have reinstalled my OS X and updated it, but the kernel panics just keep on coming and if possible it actually seemed to make matters worse! Now it doesn't always show the bar at the top of the screen when I turn it on, and sometimes programs like iTunes and Safari, just won't work until I restart the mac. I've also done a harware test - no faults detected. I had an idea that it might be AutoCad causing it, as it started sometime after I installed it - it was also the first program I reinstalled after OS X reinstallation - but I haven't used the AutoCad a whole lot and the panics happen way more often.
I am completely at a loss now as I'm not exactly a computer expert. If anyone can deduce something from my most recent panic log which could help me find out what's causing all this, I would greatly appreciate it!
Interval Since Last Panic Report: 95470 sec
Panics Since Last Report: 8
Anonymous UUID: 42BB5090-A5E7-0888-436E-5D5C4A60A868
Wed Oct 24 18:43:40 2012
panic(cpu 1 caller 0xffffff80192b7bd5): Kernel trap at 0xffffff8019266e6d, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0xffffff74254ab050, CR3: 0x000000000fb2f000, CR4: 0x0000000000000660
RAX: 0x0000000000000000, RBX: 0xffffff74254ab040, RCX: 0xffffffffffffffff, RDX: 0xffffff007de5c000
RSP: 0xffffff8091413590, RBP: 0xffffff80914135f0, RSI: 0xffffff80253fa610, RDI: 0xffffff007de5f000
R8: 0x0000000000000000, R9: 0x0000000000003000, R10: 0x0000000000000000, R11: 0x0000000000000212
R12: 0xffffff8027014ba0, R13: 0xffffff801c599bd8, R14: 0xffffff007de5c000, R15: 0xffffff801c599bc8
RFL: 0x0000000000010293, RIP: 0xffffff8019266e6d, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0xffffff74254ab050, Error code: 0x0000000000000000, Fault CPU: 0x1
Backtrace (CPU 1), Frame : Return Address
0xffffff8091413230 : 0xffffff801921d626
0xffffff80914132a0 : 0xffffff80192b7bd5
0xffffff8091413470 : 0xffffff80192ce4ed
0xffffff8091413490 : 0xffffff8019266e6d
0xffffff80914135f0 : 0xffffff8019264c3f
0xffffff80914136a0 : 0xffffff8019264f60
0xffffff80914136d0 : 0xffffff8019224624
0xffffff8091413700 : 0xffffff8019622ca2
0xffffff8091413720 : 0xffffff7f9985bcd6
0xffffff8091413740 : 0xffffff7f9985e447
0xffffff8091413790 : 0xffffff7f9985c086
0xffffff80914137d0 : 0xffffff7f9985cb41
0xffffff8091413990 : 0xffffff7f998593f2
0xffffff8091413ee0 : 0xffffff801968393f
0xffffff8091413f50 : 0xffffff80195e182a
0xffffff8091413fb0 : 0xffffff80192ced33
Kernel Extensions in backtrace:
com.apple.security.sandbox(220.0)[BFFEC437-6820-3CDD-882F-346EAC151352]@0xfffff f7f99855000->0xffffff7f99865fff
dependency: com.apple.kext.AppleMatch(1.0.0d1)[327C619E-5CC2-311F-8B0C-F9D508BFD5B0]@0xffff ff7f99851000
BSD process name corresponding to current thread: awacsd
Mac OS version:
12C60
Kernel version:
Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64
Kernel UUID: 69A5853F-375A-3EF4-9247-478FD0247333
Kernel slide: 0x0000000019000000
Kernel text base: 0xffffff8019200000
System model name: MacBookPro7,1 (Mac-F222BEC8)
System uptime in nanoseconds: 48426823677
last loaded kext at 24167594711: com.apple.driver.AudioAUUC 1.60 (addr 0xffffff7f9ac61000, size 32768)
loaded kexts:
com.apple.driver.AudioAUUC 1.60
com.apple.driver.AppleHWSensor 1.9.5d0
com.apple.driver.AGPM 100.12.69
com.apple.driver.AppleTyMCEDriver 1.0.2d2
com.apple.driver.AppleHDAHardwareConfigDriver 2.3.1f2
com.apple.driver.AppleHDA 2.3.1f2
com.apple.driver.AppleMikeyHIDDriver 122
com.apple.iokit.IOUserEthernet 1.0.0d1
com.apple.iokit.IOBluetoothSerialManager 4.0.9f33
com.apple.Dont_Steal_Mac_OS_X 7.0.0
com.apple.driver.AppleSMCLMU 2.0.2d0
com.apple.driver.ApplePolicyControl 3.2.11
com.apple.driver.ACPI_SMC_PlatformPlugin 1.0.0
com.apple.driver.AppleMikeyDriver 2.3.1f2
com.apple.driver.AppleLPC 1.6.0
com.apple.filesystems.autofs 3.0
com.apple.iokit.IOBluetoothUSBDFU 4.0.9f33
com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport 4.0.9f33
com.apple.driver.AppleUpstreamUserClient 3.5.10
com.apple.driver.AppleMuxControl 3.2.11
com.apple.driver.AppleBacklight 170.2.3
com.apple.driver.AppleMCCSControl 1.0.33
com.apple.GeForce 8.0.0
com.apple.driver.SMCMotionSensor 3.0.2d6
com.apple.driver.AppleUSBTCButtons 235.4
com.apple.driver.AppleIRController 320.15
com.apple.driver.AppleUSBTCKeyEventDriver 235.4
com.apple.driver.AppleUSBTCKeyboard 235.4
com.apple.driver.AppleUSBCardReader 3.1.0
com.apple.driver.AppleFileSystemDriver 3.0.1
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 34
com.apple.iokit.SCSITaskUserClient 3.5.1
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCIBlockStorage 2.2.2
com.apple.driver.AppleFWOHCI 4.9.6
com.apple.driver.AppleAHCIPort 2.4.1
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.iokit.AppleBCM5701Ethernet 3.2.5b3
com.apple.driver.AirPort.Brcm4331 602.15.22
com.apple.driver.AppleUSBHub 5.2.5
com.apple.driver.AppleUSBEHCI 5.4.0
com.apple.driver.AppleUSBOHCI 5.2.5
com.apple.driver.AppleEFINVRAM 1.6.1
com.apple.driver.AppleRTC 1.5
com.apple.driver.AppleHPET 1.7
com.apple.driver.AppleACPIButtons 1.6
com.apple.driver.AppleSMBIOS 1.9
com.apple.driver.AppleACPIEC 1.6
com.apple.driver.AppleAPIC 1.6
com.apple.driver.AppleIntelCPUPowerManagementClient 196.0.0
com.apple.nke.applicationfirewall 4.0.39
com.apple.security.quarantine 2
com.apple.driver.AppleIntelCPUPowerManagement 196.0.0
com.apple.driver.DspFuncLib 2.3.1f2
com.apple.iokit.IOAudioFamily 1.8.9fc10
com.apple.kext.OSvKernDSPLib 1.6
com.apple.iokit.IOSurface 86.0.3
com.apple.iokit.IOSerialFamily 10.0.6
com.apple.iokit.IOBluetoothFamily 4.0.9f33
com.apple.driver.AppleHDAController 2.3.1f2
com.apple.iokit.IOHDAFamily 2.3.1f2
com.apple.driver.IOPlatformPluginLegacy 1.0.0
com.apple.driver.AppleSMBusPCI 1.0.10d0
com.apple.driver.IOPlatformPluginFamily 5.2.0d16
com.apple.kext.triggers 1.0
com.apple.iokit.IOFireWireIP 2.2.5
com.apple.iokit.AppleBluetoothHCIControllerUSBTransport 4.0.9f33
com.apple.driver.AppleGraphicsControl 3.2.11
com.apple.driver.AppleBacklightExpert 1.0.4
com.apple.driver.AppleSMBusController 1.0.10d0
com.apple.nvidia.nv50hal 8.0.0
com.apple.NVDAResman 8.0.0
com.apple.iokit.IONDRVSupport 2.3.5
com.apple.iokit.IOGraphicsFamily 2.3.5
com.apple.driver.AppleSMC 3.1.4d2
com.apple.driver.AppleUSBMultitouch 235.7
com.apple.iokit.IOUSBHIDDriver 5.2.5
com.apple.iokit.IOSCSIBlockCommandsDevice 3.5.1
com.apple.iokit.IOUSBMassStorageClass 3.5.0
com.apple.driver.AppleUSBMergeNub 5.2.5
com.apple.driver.AppleUSBComposite 5.2.5
com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.5.1
com.apple.iokit.IOBDStorageFamily 1.7
com.apple.iokit.IODVDStorageFamily 1.7.1
com.apple.iokit.IOCDStorageFamily 1.7.1
com.apple.iokit.IOAHCISerialATAPI 2.5.0
com.apple.iokit.IOSCSIArchitectureModelFamily 3.5.1
com.apple.iokit.IOFireWireFamily 4.5.5
com.apple.iokit.IOAHCIFamily 2.2.1
com.apple.iokit.IOEthernetAVBController 1.0.2b1
com.apple.iokit.IO80211Family 500.15
com.apple.iokit.IONetworkingFamily 3.0
com.apple.driver.AppleMCP89RootPortPM 1.11
com.apple.iokit.IOUSBUserClient 5.2.5
com.apple.iokit.IOUSBFamily 5.4.0
com.apple.driver.NVSMU 2.2.9
com.apple.driver.AppleEFIRuntime 1.6.1
com.apple.iokit.IOHIDFamily 1.8.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 220
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.DiskImages 344
com.apple.iokit.IOStorageFamily 1.8
com.apple.driver.AppleKeyStore 28.21
com.apple.driver.AppleACPIPlatform 1.6
com.apple.iokit.IOPCIFamily 2.7.2
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.corecrypto 1.0
Model: MacBookPro7,1, BootROM MBP71.0039.B0E, 2 processors, Intel Core 2 Duo, 2.4 GHz, 4 GB, SMC 1.62f6
Graphics: NVIDIA GeForce 320M, NVIDIA GeForce 320M, PCI, 256 MB
Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353637334648302D4346382020
Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353637334648302D4346382020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.106.98.81.22)
Bluetooth: Version 4.0.9f33 10885, 2 service, 11 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: Hitachi HTS545025B9SA02, 250,06 GB
Serial ATA Device: MATSHITADVD-R UJ-898
USB Device: Built-in iSight, apple_vendor_id, 0x8507, 0x24600000 / 2
USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0x26100000 / 2
USB Device: USB Receiver, 0x046d (Logitech Inc.), 0xc52b, 0x06400000 / 5
USB Device: BRCM2046 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x06600000 / 4
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8213, 0x06610000 / 6
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0x06500000 / 3
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0237, 0x06300000 / 2 -
How jvm threads works on new Linux 2.6 scheduler with SMP kernell
Hi,
i'm using Sun JDK Java HotSpot(TM) Server VM (build 1.5.0_14-b03, mixed mode) to run tomcat,
anyone knows How JVM threads works on new Linux 2.6 scheduler with SMP kernel?
i ask this, because in a single processor machine the tomcat replies more fast than a dual processor machine, maybe the reason is, that SMP load balancing made for new scheduler, slow down the JVM performance for threads? there is a way to avoid this?
reference about Linux Scheduler: http://www-128.ibm.com/developerworks/linux/library/l-scheduler/?ca=dgr-lnxw09LinuxScheduler
bug that have "same" problem: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5038858
thanks for any insightThis is bug:
6328462 Linux getCurrentThreadCpuTime() does not match with getThreadCpuTime(currentThread)
It will be fixed in:
- JDK 6.0 (Mustang) build b63
- JDK 1.5.0_07 build b01
The problem is that the HotSpot VM takes the stat info from the file'/proc/$tid/stat'
which is incorrect on Linux kernels 2.6+ with NPTL because this file aggregates
per-process (.vs. per-thread) usage on these kernels.
The file '/proc/self/task/$tid/stat' still has the per-thread usage and must be used instead.
There is also a performance bug:
6200022: JVMTI GetCurrentThreadCpuTime slow on Linux
This bug is about using new Linux posix compliant process clocks (2.6.10) :
http://sources.redhat.com/ml/libc-alpha/2004-10/msg00117.html
It is too late to fix this in Mustang but can be possible in one of the update releases.
Thank you for posting the question!
Serguei -
Hard drive problem...... Please Help
Hard drive problems
I am sure it is due to my error or mistake but I received a new Maxtor III touch as a replacement for my failed drive yesterday after connecting it I went to Maxtor one touch manager software that came with it and the drive did not appear in the window so then I opened disk utilities and copied my notebook hard drive over to the Maxtor ran permissions on each drive and then closed down my system ! today when I opened my Powerbook with the Maxtor on it gave me the grey screen 2x so I disconnected the Maxtor ran permissions again and everything was fine until i power up the Maxtor and Grey screen again! Help How do I fix this?????Maxtor one touch III firewire 800 its connected to my Titanium G$ Powerbook I am beginning to think its just another drive failure
-
Computer is balky random freezes across apps. Two hard drive cleans later (their scan reveals no hard drive problems) photo shop won't work at all, magic touch mouse inoperable and their diagnoses is corrupted data? Anybody heard of this?
Well, yes, data does get corrupted sometimes.
The trick is finding what data.
By 'cleaned' are you therefor meaning that the drive has been erased and the system re-installed?
Because that's the quickest way to deal with such a situation.
Back up the system first of course,
Add back 3rd party apps one at a time in case one of them is causing the problem. -
Lenovo T400 screen goes dark issue, some video driver problem
Lenovo:
Motherboard:
CPU Type: Mobile DualCore Intel Core 2 Duo P8600, 2400 MHz (9 x 267)
Motherboard Chipset: Intel Cantiga GM45
System Memory: 1992 MB (DDR3 SDRAM)
BIOS Type: Phoenix (08/19/08)
Display:
Video Adapter: Mobile Intel(R) 4 Series Express Chipset Family
Video Adapter: Mobile Intel(R) 4 Series Express Chipset Family
3D Accelerator: ATI Mobility Radeon HD 3470
Problem/Issue:
Driver problem appeard after upgrading from XP to Windows 7.
From the Device Manager I saw that ATI Mobility Radeon HD 3470 was not working properly and
a) I did the "update driver software." After restart the screen light was darker than usual. (This was usual if I was working from battery but I was plugged in this time. )
As I'm not the best with computers I thought my drivers might be in conflict and to prevent serious damages, I just
b) disabled ATI Mobility Radeon HD 3470 from device manager.
This actually resolved the dark screen problem.
c) then I went to Lenovo support site: http://support.lenovo.com/en_US/research/hints-or-tips/detail.page?&LegacyDocID=MIGR-72858
downloaded newest drivers for ATI Mobility Radeon HD 3400 (Switchable Graphics Driver)
and Intel 4500MHD (Intel GM45 Express Chip)
For some reason while installine the: Intel GM45 Display Driver (version 8.15.10.2302) gives me error:
"This Computer Does not meet the minimum requirements for installing the software"
Also some problem appeard when installing the new downloaded version:
ThinkPad Switchable Graphics Driver (version 8.792.5-110424b-119200C)
d) so I went back to device manager and made an update to ATI Mobility Radeon from there.
Well, I got it working, but the screen went dark again. When I disable the driver it goes back to normal
brightness and when I enable it again, it stays normal.
I'll try to restart and see what happensWe had the excat same issue.
I could get the picuture back pressing the power button until it went to sleep and then wake it up again.
After the I went to device manager to delete all display drivers both Intel and ATI and then reboot.
doing the reboot windows found some drivers it could use.
I then installed the switchable driver from lenovo.
Now windows device manger report two display drivers:
1)
ATI Mobility Radeon HD 3400 Series, Version 8.792.5.2000, Driver manufacturer ATI Technologies Inc
2)
Mobile Intel(R) 4 Series Express Chipset Family, Version, Version 8.792.5.2000, Driver manufacturer ATI Technologies Inc
So it seams the switchable ATI driver take over the Intel card and the Intel driver is not needed.
At least the problem is solved for us.
Regards Anders -
I was trying to sync my 120GB iPod Classic earlier, and it said it couldn't sync as the iPod disk could not be "read" or "written to." I now can't get anything onto my iPod, and I was wondering if it is a hard drive problem? Any help appreciated. Thanks.
Did you go into iTunes to change the location of your media files? if not you will need to go into iTunes and click on preference and select the advance tab then click the iTunes Media folder location. Select the location of your on external hard drive.
Maybe you are looking for
-
How can I share my entire photo library from iCloud Drive?
I attempted to create a stream, but it only allows 5K photos and I have nearly 14K. Not being able to share iCloud Storage space seems to me to be counterintuitive to the concept family sharing.
-
Out of line object 'DataSource' -- but when re-saving table properties, no issues
I've got a PowerPivot workbook that's connecting to an Oracle database, then calculating a few measures. When I "test the connnection" in PowerPivot, it's fine. When I go to "Table Properties" and re-save, it seems to pull the dataset fine. But refre
-
How To: Get encoding of a remote file
How To: Get encoding of a remote file Java EE URL url = new URL ("http://www.someSite.com/myCsvFile.csv"); // comma separated InputStream is = url.openConnection().getInputStream(); InputStreamReader reader = new InputStreamReader(is); System.out.pri
-
How do you stop outgoing payment of 5000 cash type transaction
hi all, if a cash payment is more than 5000 to a vendor in a single day it should be stopped? how do you achieve this? thanks SV Reddy
-
SQL server services status- powershell
Do anybody have powershell script to monitor listed sqlserver instances services and send an email alert when the services stoped stat? that results should store in database?