You are not logged in.

#26 2010-08-25 17:35:11

72linus
Member
From: gordonsville,va
Registered: 2009-03-14
Posts: 144
Website

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

I can try but I know nothing about hibernate/suspend as I've never used it

i installed some extra stuff from AUR tuxonice-userui and hibernate-script also...

all my systems are on /

so, do I need to worry about backing up,etc?

Oh nous;
I just installed the kernel I made on my K7, afterglow setup
and I still had to do pacman -U pkgname twice because first time
I did depmod -a after it installed and it said no modules.dep,etc
I then again did pacman -U pkgname and then depmod -a worked afterwards
lol
is that crazy?

Last edited by 72linus (2010-08-25 17:37:49)

Offline

#27 2010-08-25 21:04:46

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 320

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

72linus wrote:

hey man
Ok, I had some issues that maybe you can help with?
1) as soon as it started compiling it stopped saying fs/aufs no such directory,etc
2) I manually stopped the script, moved all the aufs stuff into src and it then finished successfully
3) when trying to install the new package; many many errors appeared

even though it says it cant open such&such, all the files are there, etc
so maybe it was a path issue?

however; I installed it 2x using "pacman -U"
the 2nd time there were less errors?!
and even though theres all those messages it booted successfully with no problems?!
lol

so, I guess there's some things to fix,etc?

Thanks for adding the aufs/squashfs stuff for me too!
I'm gonna try it on my x86_64 install on same PC and see whats up
my pc can do both 32 and 64; although its old:)

It seems you use some wrapper for building like yaourt or clyde - I just 'aurdownload kernel26-pf' and 'makepkg -i' inside the package directory and it builds/installs cleanly. If more people report problems, especially with makepkg, I'll look into it.

Offline

#28 2010-08-25 21:23:28

72linus
Member
From: gordonsville,va
Registered: 2009-03-14
Posts: 144
Website

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

see, I told you I was new to computers,etc:)

I did do "packer -S kernel26-pf"
dont have yaourt/clyde....

I also didnt know about 'aurdownload kernel26-pf' and 'makepkg -i' inside the package directory....
EDIT: you mean download via AUR, extract and do makepkg -i?
as there is no "aurdownload"?
so, I'm gonna do that on my x86_64 install now...
thanks alot

Last edited by 72linus (2010-08-25 21:47:38)

Offline

#29 2010-08-25 21:54:45

72linus
Member
From: gordonsville,va
Registered: 2009-03-14
Posts: 144
Website

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

oh
it still aborts!

 CC      fs/aufs/module.o
In file included from fs/aufs/aufs.h:36:0,
                 from fs/aufs/module.c:25:
fs/aufs/debug.h:39:29: fatal error: linux/aufs_type.h: No such file or directory
compilation terminated.
make[2]: *** [fs/aufs/module.o] Error 1
make[1]: *** [fs/aufs] Error 2
make: *** [fs] Error 2
    Aborting...

thers also no Documentation/ABI/testing/debugfs-aufs & Documentation/ABI/testing/sysfs-aufs

Last edited by 72linus (2010-08-25 21:56:16)

Offline

#30 2010-08-25 23:10:36

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

You can use packer -G kernel26-pf to just download the pkgbuild in a new folder in your current directory. Then cd into it and do makepkg will build the package.

Actually packer -S does the same but only in /tmp/backerbuild/etc so there should be no difference...

I can't compile the new one either. The patches apply cleanly, but the compiling just aborts at some point:

  LD [M]  sound/usb/snd-usbmidi-lib.o
  LD [M]  sound/usb/usx2y/snd-usb-us122l.o
  LD [M]  sound/usb/usx2y/snd-usb-usx2y.o
    Breche ab ...  (means "Abort" in english)

I have tried twice and it happens on different points I think. The Abort message probably comes from makepkg but I cannot spot any error from gcc, so I don't know why it aborts.

I can really not recommend trying tuxonice here. Not only does the btrfs partition not work anymore but I also tried plain pm-hibernate from my jfs partition and after resuming there were many files missing... the whole /usr/lib was gone and 200+ packages had missing files...

Does hibernating work well for someone with this kernel or is this an issue?

I use i686.

edit:
I see now why there was no error message:

make[23939]: segfault at 4b5f4253 ip 0806205a sp bff19fdc error 4 in make[8048000+22000]

fail...

Next try:

LD [M]  drivers/hid/usbhid/usbhid.o
make: *** [drivers] Fehler 2
Breche ab ...

No segfault this time.

I don't like to play this game anymore.

Last edited by Cdh (2010-08-25 23:33:13)


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#31 2010-08-26 05:44:57

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 320

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

@72linus: get the latest pkgbuild, aufs missing files issue is fixed

@ Cdh: I have uploaded 4 precompiled packages if you'd like to test, please see 1st post. But from your report, it seems that tuxonice does not work at all with btrfs and additionally you might have some faulty hardware (the random compile aborts). I suspend/resume fine with ext4...

Offline

#32 2010-08-26 12:06:16

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

I have seen some people reporting on the web that tuxonice works good with btrfs. But I don't know if it works with especially the -pf kernel. So if someone really wants to experiment...

Also my jfs partition on the same system was wrecked when I tried hibernate with pm-hibernate. But I have seen no single I/O error and everything works fine again after I reinstalled all packages that had missing files. I don't think the hardware is broken.

I tried compiling the kernel on my other PC on an ext3 partition and then on an ext4 partition. There are no I/O errors or any instabilities either, just the compilation not working.

Sorry, I did not say that: I use the -pf4 kernel, that I compiled myself, not your binary.
The compilation of -pf4 was flawless and now I use it. From this system I have tried to compile the -pf5 which is in aur.


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#33 2010-08-26 14:59:06

Anonymo
Member
Registered: 2005-04-07
Posts: 418
Website

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

I downloaded your Core2 build and it would not boot.

Offline

#34 2010-08-26 16:08:38

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 320

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Cdh wrote:

I have seen some people reporting on the web that tuxonice works good with btrfs. But I don't know if it works with especially the -pf kernel. So if someone really wants to experiment...

Also my jfs partition on the same system was wrecked when I tried hibernate with pm-hibernate. But I have seen no single I/O error and everything works fine again after I reinstalled all packages that had missing files. I don't think the hardware is broken.

I tried compiling the kernel on my other PC on an ext3 partition and then on an ext4 partition. There are no I/O errors or any instabilities either, just the compilation not working.

Sorry, I did not say that: I use the -pf4 kernel, that I compiled myself, not your binary.
The compilation of -pf4 was flawless and now I use it. From this system I have tried to compile the -pf5 which is in aur.

Well, there's not a single reason that it should not work with btrfs, filesystems are just abstraction layers. Obviously, this is beyond me and my knowledge.

Another thing, since your report I changed the configs to include tuxonice in-kernel, as it seems tuxonice as modules is kinda picky. Please, always try the latest pkgbuild from AUR, I update as often as I can based on bug reports. Thanks for your feedback.

Anonymo wrote:

I downloaded your Core2 build and it would not boot.

Did mkinitcpio go well? Just to be on the safe side, please run 'mkinitcpio -p kernel26-pf' and if you still can't boot try the fallback -pf image.

Last edited by nous (2010-08-26 16:47:20)

Offline

#35 2010-08-26 17:14:31

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

nous wrote:

Well, there's not a single reason that it should not work with btrfs, filesystems are just abstraction layers. Obviously, this is beyond me and my knowledge.

pm-hibernate definitely doesn't work with btrfs root. At least for me and one other user in the forums.
#20 in https://bbs.archlinux.org/viewtopic.php?id=88552

I also thought that an failed hibernation probably wouldn't damage a filesystem more then just powering off but tuxonice hibernation broke my btrfs root filesystem and with pm-hibernate I lost many, many files from my jfs root filesystem. This can be bad luck and a coincidence, but I am not convinced... Maybe it's kernel 35, I never hibernated my jfs partition with 35 because I started using the btrfs partition with 34, but maybe it's just especially the -pf kernel?

Just saying that I would recommend anyone updating their backup before trying hibernation. (Also I'd like to know of successful hibernations)

nous wrote:

Another thing, since your report I changed the configs to include tuxonice in-kernel, as it seems tuxonice as modules is kinda picky. Please, always try the latest pkgbuild from AUR,

That's what I was trying, wink

At the moment compilation goes on longer than yesterday. I think it will be successful this time.


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#36 2010-08-26 17:29:37

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 320

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Cdh wrote:
nous wrote:

Well, there's not a single reason that it should not work with btrfs, filesystems are just abstraction layers. Obviously, this is beyond me and my knowledge.

pm-hibernate definitely doesn't work with btrfs root. At least for me and one other user in the forums.
#20 in https://bbs.archlinux.org/viewtopic.php?id=88552

I also thought that an failed hibernation probably wouldn't damage a filesystem more then just powering off but tuxonice hibernation broke my btrfs root filesystem and with pm-hibernate I lost many, many files from my jfs root filesystem. This can be bad luck and a coincidence, but I am not convinced... Maybe it's kernel 35, I never hibernated my jfs partition with 35 because I started using the btrfs partition with 34, but maybe it's just especially the -pf kernel?

Just saying that I would recommend anyone updating their backup before trying hibernation. (Also I'd like to know of successful hibernations)

nous wrote:

Another thing, since your report I changed the configs to include tuxonice in-kernel, as it seems tuxonice as modules is kinda picky. Please, always try the latest pkgbuild from AUR,

That's what I was trying, wink

At the moment compilation goes on longer than yesterday. I think it will be successful this time.

<wild guess>Why don't you uncomment the 'make menunconfig' line in the PKGBUILD and compile btrfs and jfs in-kernel too?</wild>

Also, random compile errors (like the segfault you reported above), indicate a hardware problem; it could just be your CPU or RAM overheating or something. If I were in your shoes, I'd memtest a little. Have you tried compiling, say, vanilla kernel with make -j(CPUS+1) to check for similar behavior?

Offline

#37 2010-08-27 03:17:14

Anonymo
Member
Registered: 2005-04-07
Posts: 418
Website

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Nous, I tried your new Core2 package and it booted.  Thanks.

Offline

#38 2010-08-27 13:05:13

ffjia
Member
Registered: 2009-08-26
Posts: 94

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Thanks nous, I have compiled and installed kernel26-pf 2.6.35-pf5, from the
aur, using the default PKGBUILD.

I found that I have to press the power button to shutdown my laptop (thinkpad
t410s), core i5.

$ sudo halt -p

I can shutdown normally with arch's kernel26.

Added: the Caps-Lock LED keep on blinking, and no response from the keyboard. I'm not sure it is a system crash or not....

Last edited by ffjia (2010-08-27 13:52:21)

Offline

#39 2010-08-27 14:10:37

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 320

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

ffjia wrote:

Thanks nous, I have compiled and installed kernel26-pf 2.6.35-pf5, from the
aur, using the default PKGBUILD.

I found that I have to press the power button to shutdown my laptop (thinkpad
t410s), core i5.

$ sudo halt -p

I can shutdown normally with arch's kernel26.

Added: the Caps-Lock LED keep on blinking, and no response from the keyboard. I'm not sure it is a system crash or not....

I had the two kernels' configs side-by-side in menuconfig at 'Power management and ACPI options', and apart from the tuxonice addition in -pf I couldn't see any other difference. Do you get any errors in 'dmesg|grep ACPI' with -pf?

Offline

#40 2010-08-27 15:52:02

72linus
Member
From: gordonsville,va
Registered: 2009-03-14
Posts: 144
Website

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

ok
I have done a new install nous of both x86 & x86_64 arch on 3 systems
2 32bit and 1 64bit
all turned out well

I then compiled the source on my slackware & slackware64 setups
no problems

If anyone wants me to upload the premade i686/x86_64 kernels I made
or the configs please say so
both are setup for almost everything and I also set the tuxoniceui_text setup
so it says /usr/sbin/tuxoniceui_text in configs

all ext, aufs and squashfs are builtin, xfs,resierfs,etc

all 5 installs are running well or as expected
though I have not yet tried hibernate/suspend as I have many other OS' on theses PC's
and dont know if something went awry what it would affect,etc

Offline

#41 2010-08-28 01:23:27

ffjia
Member
Registered: 2009-08-26
Posts: 94

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

nous wrote:

I had the two kernels' configs side-by-side in menuconfig at 'Power management and ACPI options', and apart from the tuxonice addition in -pf I couldn't see any other difference. Do you get any errors in 'dmesg|grep ACPI' with -pf?

I cannot see anything special, the output is:

[    0.000000]   #10 [0000012000 - 0000016000]     ACPI WAKEUP
[    0.002708] ACPI: Core revision 20100428
[    0.509575] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
[    0.509688] ACPI: bus type pci registered
[    0.572340] ACPI: EC: EC description table is found, configuring boot EC
[    0.580138] ACPI: BIOS _OSI(Linux) query ignored
[    0.656202] ACPI: SSDT 000000007771aa18 0046F (v01  PmRef  Cpu0Ist 00003000 INTL 20050513)
[    0.656815] ACPI: Dynamic OEM Table Load:
[    0.656976] ACPI: SSDT (null) 0046F (v01  PmRef  Cpu0Ist 00003000 INTL 20050513)
[    0.657496] ACPI: SSDT 0000000077718718 006B2 (v01  PmRef  Cpu0Cst 00003001 INTL 20050513)
[    0.658116] ACPI: Dynamic OEM Table Load:
[    0.658277] ACPI: SSDT (null) 006B2 (v01  PmRef  Cpu0Cst 00003001 INTL 20050513)
[    0.659009] ACPI: SSDT 0000000077719a98 00303 (v01  PmRef    ApIst 00003000 INTL 20050513)
[    0.659660] ACPI: Dynamic OEM Table Load:
[    0.659824] ACPI: SSDT (null) 00303 (v01  PmRef    ApIst 00003000 INTL 20050513)
[    0.660198] ACPI: SSDT 0000000077717d98 00119 (v01  PmRef    ApCst 00003000 INTL 20050513)
[    0.660815] ACPI: Dynamic OEM Table Load:
[    0.660975] ACPI: SSDT (null) 00119 (v01  PmRef    ApCst 00003000 INTL 20050513)
[    0.662215] ACPI: Interpreter enabled
[    0.662294] ACPI: (supports S0 S3 S4 S5)
[    0.662552] ACPI: Using IOAPIC for interrupt routing
[    0.675317] ACPI: EC: GPE = 0x11, I/O: command/status = 0x66, data = 0x62
[    0.675589] ACPI: Power Resource [PUBS] (on)
[    0.677132] ACPI: ACPI Dock Station Driver: 2 docks/bays found
[    0.677216] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.677342] ACPI: PCI Root Bridge [UNCR] (domain 0000 [bus ff])
[    0.677909] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-fe])
[    0.681016] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[    0.681152] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP1._PRT]
[    0.681212] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP2._PRT]
[    0.681274] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.EXP4._PRT]
[    0.684772] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 *11)
[    0.685435] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 *11)
[    0.686086] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 11) *0, disabled.
[    0.686861] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 *11)
[    0.688104] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 7 9 10 *11)
[    0.688765] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 *11)
[    0.689416] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 7 9 10 11) *0, disabled.
[    0.690190] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 7 9 10 *11)
[    0.691115] PCI: Using ACPI for IRQ routing
[    0.695138] pnp: PnP ACPI init
[    0.695223] ACPI: bus type pnp registered
[    0.699150] pnp: PnP ACPI: found 12 devices
[    0.699230] ACPI: ACPI bus type pnp unregistered
[    1.179951] ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
[    1.179958] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[    1.180080] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[    1.235603] ata1.00: ACPI cmd ef/02:00:00:00:00:a0 (SET FEATURES) succeeded
[    1.235609] ata1.00: ACPI cmd f5/00:00:00:00:00:a0 (SECURITY FREEZE LOCK) filtered out
[    1.235731] ata1.00: ACPI cmd ef/10:03:00:00:00:a0 (SET FEATURES) filtered out
[    1.971138] ata2.00: ACPI cmd e3/00:1f:00:00:00:a0 (IDLE) succeeded
[    1.972028] ata2.00: ACPI cmd e3/00:02:00:00:00:a0 (IDLE) succeeded
[    1.982055] ata2.00: ACPI cmd e3/00:1f:00:00:00:a0 (IDLE) succeeded
[    1.982946] ata2.00: ACPI cmd e3/00:02:00:00:00:a0 (IDLE) succeeded
[    2.685225] ehci_hcd 0000:00:1a.0: power state changed by ACPI to D0
[    2.686009] ehci_hcd 0000:00:1a.0: power state changed by ACPI to D0
[    2.708209] ehci_hcd 0000:00:1d.0: power state changed by ACPI to D0
[    2.708468] ehci_hcd 0000:00:1d.0: power state changed by ACPI to D0
[    2.817580] ACPI: Lid Switch [LID]
[    2.817801] ACPI: Sleep Button [SLPB]
[    2.818049] ACPI: Power Button [PWRF]
[    2.844767] i915 0000:00:02.0: power state changed by ACPI to D0
[    2.844891] i915 0000:00:02.0: power state changed by ACPI to D0
[    3.694996] ACPI: Video Device [VID] (multi-head: yes  rom: no  post: no)
[   20.249169] ACPI: Thermal Zone [THM0] (40 C)
[   20.268970] ACPI: acpi_idle registered with cpuidle
[   20.289520] ACPI: WMI: Skipping duplicate GUID 05901221-D566-11D1-B2F0-00A0C9062910
[   20.290456] ACPI: WMI: Mapper loaded
[   20.515647] thinkpad_acpi: ThinkPad ACPI Extras v0.24
[   20.516188] thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver
[   20.522297] thinkpad_acpi: Standard ACPI backlight interface available, not loading native one.
[   20.545818] ACPI: AC Adapter [AC] (on-line)
[   21.060924] ACPI: Battery Slot [BAT0] (battery present)

I can use "shutdown -h" to poweroff after shutdown, yesterday.

Offline

#42 2010-08-28 07:16:49

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 320

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

ffjia wrote:

I can use "shutdown -h" to poweroff after shutdown, yesterday.

Guess what, my wife's thinkpad (r50e) powers off with 'poweroff' but not with 'halt -p'. Go figure. I think there's an acpi-related kernel module for thinkpads/lenovos (ibm-acpi) that might affect the acpi poweroff, you could try powering off with or without it.

Offline

#43 2010-08-28 12:10:23

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 320

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Cdh wrote:
nous wrote:

Well, there's not a single reason that it should not work with btrfs, filesystems are just abstraction layers. Obviously, this is beyond me and my knowledge.

pm-hibernate definitely doesn't work with btrfs root. At least for me and one other user in the forums.
#20 in https://bbs.archlinux.org/viewtopic.php?id=88552

I also thought that an failed hibernation probably wouldn't damage a filesystem more then just powering off but tuxonice hibernation broke my btrfs root filesystem and with pm-hibernate I lost many, many files from my jfs root filesystem. This can be bad luck and a coincidence, but I am not convinced... Maybe it's kernel 35, I never hibernated my jfs partition with 35 because I started using the btrfs partition with 34, but maybe it's just especially the -pf kernel?

I just saw there's a mkinitcpio-btrfs package in AUR, have you tried it?

Offline

#44 2010-08-28 12:28:42

ffjia
Member
Registered: 2009-08-26
Posts: 94

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

nous wrote:

Guess what, my wife's thinkpad (r50e) powers off with 'poweroff' but not with 'halt -p'. Go figure. I think there's an acpi-related kernel module for thinkpads/lenovos (ibm-acpi) that might affect the acpi poweroff, you could try powering off with or without it.

It's sad that I cannot power off with "shutdown -h" now...really weird...
Yep, I think it's acpi related, I use thinkpad_acpi and tp_smapi.

Offline

#45 2010-08-28 14:34:51

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

nous wrote:

I just saw there's a mkinitcpio-btrfs package in AUR, have you tried it?

No... I thought it is only for some advanced operation like snapshotting etc. But in the comments someone said that there is now an official btrfs hook... maybe it's really needed.

and at the moment I'm wondering whether I should wait for btrfsck to be repairing, rescue the few data that I'd like to keep from this partition or just wipe it and start again...

I saw a bootmessage from tuxonice whether to boot the image when booting the -pf5 kernel tuxonice in the kernel instead of module. I didn't see anything alike with -pf5.

edit:
http://omploader.org/vNWRhaQ/kernel26-p … pkg.tar.xz

Last edited by Cdh (2010-08-28 15:20:55)


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#46 2010-08-28 16:57:19

72linus
Member
From: gordonsville,va
Registered: 2009-03-14
Posts: 144
Website

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

just upgraded to pf6 nous, no issues

ffjia; I use this command to reboot/shutdown

its called "shutdown-dialog.sh" in /usr/bin

#!/bin/bash

export MAIN_DIALOG='
<window title="Logout Menu" icon-name="system-log-out">
 <vbox>
  <hbox>
   <frame>
    <button>
      <input file>"/usr/share/icons/menu-Exit.png"</input>
      <label>Shutdown</label>
      <action>"dbus-send --print-reply --system --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Shutdown"</action>
    </button>
    <button>
      <input file>"/usr/share/icons/menu-Reload.png"</input>
      <label>Reboot</label>
      <action>"dbus-send --print-reply --system --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Reboot"</action>
    </button>
    </frame>
  </hbox>
  <hbox>
    <button cancel>
    </button>
  </hbox>
 </vbox>
</window>
'

gtkdialog -c --program=MAIN_DIALOG

notice the commands:

dbus-send --print-reply --system --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Shutdown

dbus-send --print-reply --system --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Reboot

hope that may help
doesnt need root privs either

Last edited by 72linus (2010-08-28 16:57:51)

Offline

#47 2010-08-29 10:01:46

ffjia
Member
Registered: 2009-08-26
Posts: 94

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Thanks 72linus

I use the dbus-send command to shutdown my laptop, still cannot power off

I think it's not because which commands i use......

And I want to ask why this package does not add the kernel patch from Arch?

Offline

#48 2010-08-29 10:06:12

nous
Member
From: Across the Universe
Registered: 2006-08-18
Posts: 320

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

ffjia wrote:

And I want to ask why this package does not add the kernel patch from Arch?

Both patches contain the latest kernel patch (as of now 2.6.35.4). So, they're mutually exclusive.

Offline

#49 2010-08-30 11:31:33

72linus
Member
From: gordonsville,va
Registered: 2009-03-14
Posts: 144
Website

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

nous
I noticed the AUR is wanting to upgrade it again
whats changed since "pf6"?

Offline

#50 2010-08-30 11:43:52

brebs
Member
Registered: 2007-04-03
Posts: 3,413

Re: The linux-pf thread; BFS/CK, TuxOnIce, BFQ, AUFS3

Here's the changelog - it's missing from the homepage, crazily.

Offline

Board footer

Powered by FluxBB