[arch-general] Shutdown's SIGTERM [FAIL]

2012-09-18 Thread Martín Cigorraga
Hi, I noticed I'm getting a [FAIL] message for SIGTERM on system
shutdown[0], how can I debug it? I already checked /var/log but found
nothing :(

[0] Some additional info: SIGKILL do the job (so the system
shutdowns/reboot after a few seconds) and on the next boot everything is
clean.


Re: [arch-general] Strange pacman problem with conflicting dependencies

2012-09-18 Thread Arthur Titeica
On Tuesday 18 September 2012 22:19:07 Sébastien Luttringer wrote:
> Should be fixed at the next db sync.

Thanks. I confirm the fix here.

-- 
Arthur Titeica


[arch-general] Using Recoll to index tar.gz files

2012-09-18 Thread Randy

Hello,

I'm trying to get Recoll to index either tar or tar.gz files without 
success. Per the instructions on Recoll's website I added the
filter rcltar to the filters folder and modified my mimeconf file to 
include the following line:


application/x-tar = execm rcltar


Nothing works. It doesn't find text that is included in any tar or 
tar.gz file. It will work correctly on other compressed file formats 
such as zip and rar. Just not tar or tar.gz.


Is there anyone else here that uses Recoll on tar or tar.gz files? If 
so, what's your secret?


Thanks,

Randy



Re: [arch-general] sleep + lid events + kde => new problem

2012-09-18 Thread Martín Cigorraga
On Mon, Sep 17, 2012 at 10:21 PM, Genes MailLists 
 wrote:

>
>
> unplugging a/c and going to battery - laptop beeps - but screen no
> longer dims -
>
> Again - I can dim screen by hand by doing something like this:
>
>   echo '11' > /sys/class/backlight/acpi_video0/brightness
>
> This has been flaky a while but usually worked at least some of the time
> - now its just not working period.
>


Good tip, didn't knew about it.
In my particular case I need to add acpi_backlight=vendor to the kernel
line in order to be able to control screen bright with the fn+function keys
combination (only in KDE SC, this don't work in dwm or Awesome), may be you
can try this to solve your problem.


Re: [arch-general] Wanted: advice dual-booting Arch and Windows 7 on new laptop

2012-09-18 Thread David Benfell

On 09/18/2012 02:14 AM, Robbie Smith wrote:


Due to the arrangement of the partitions, I don't think creating an 
Extended partition will work (they need to be the last one in the 
table, don't they?)
There are no extended partitions in UEFI. They're all primary partitions 
and you can have more than four.


As to the rest of your saga, I, too, have a bricked Windows installation 
on my mother's machine. Fortunately, she is, for the most part, adapting 
well to Linux.




Re: [arch-general] Wanted: advice dual-booting Arch and Windows 7 on new laptop

2012-09-18 Thread Guus Snijders
2012/9/18 Robbie Smith :
> Hi everyone
>
> TL;DR: I've just bought a new HP Pavilion g6-2103ax, and I'm having
> difficulties trying to figure out how I can dual-boot it with Windows 7
> (which was preinstalled).
>
> Windows *still* defaults to using MBR partitions, and even though the system
> is UEFI, HP have used some trickery somewhere to make it boot from BIOS. To
> make matters worse, the disk table already has four partitions:
>
> SYSTEM: 199 MB NTFS
> Windows C drive: ~ 450 GB NTFS
> HP Recovery partition: 18.5 GB NTFS
> HP_TOOLS: 99 MB FAT32
[...]

Hmm, i'd guess that the recovery partition is bootable, so it's best
not to modify it too much. The HP_Tools partition is probably just a
data partition (and not a very interesting one, but ymmv).
First of; do you have (or can you create) a recovery disk in case all
goes wrong?

There might be a way to repartition the drive without losing features:

1. Resize the Windows "C" partition to free up space. Either
defragment first or use windows's diskpart utitility.
2. move (don't delete!) the recovery partition next to the resized
Windows partition.
Now the tricky part:
3. either create an image of the tools partition or write down the
*exact* sectors it's using and the partition type number.
4. create a new extended partition in the free space, size: all available.
5a. create a logical partition using the type and sectors written down
at step 3 OR
5b. create a logical partition of the same type and size as written
down at step 3 and restore the image to this part.
6. If you used step 5a, move this (new!) logical partition to the
beginning of the free space. This is important for Windows drive
letters (not sure).
7. Use the rest of the extended partition to create your Linux partitions.

I'm not sure where the bootloader fits in best in the scenario, but
that shouldn't be too hard.

When you boot up Windows after all this, you might want to delete the
driveletters it will probably create for the Linux partitions to avoid
accidentally formatting them ;).


Hope that helps.
Note: this is just theoretical. It might work or it might not work...


mvg,
Gus


Re: [arch-general] Switching back from nouveau doesn't work - Was: Proprietary nvidia driver for different kernels

2012-09-18 Thread Ralf Mardorf
Hi :)

I set up CPU frequency scaling as needed and run the Jack MIDI latency
tests again. I suspect the nouveau driver still is broken [1]. There are
still Xruns and there's an absurd high peak.

Now I need to get my nvidia/nv set up back, but this script
https://wiki.archlinux.org/index.php/NVIDIA#Switching_between_nvidia_and_nouveau_drivers
 is useless, because of

[spinymouse@archlinux ~]$ cat /etc/modprobe.d/modprobe.conf
cat: /etc/modprobe.d/modprobe.conf: No such file or directory
[spinymouse@archlinux ~]$ grep MODULES /etc/mkinitcpio.conf
# MODULES
# MODULES="piix ide_disk reiserfs"
MODULES=""
# 'filesystems' is _required_ unless you specify your fs modules in
MODULES
##   This setup specifies all modules in the MODULES setting above.

Since the nv driver still is installed, I also tried to blacklist
nouveau, but starting GDM always failed.

I prefer not to restore Arch from a backup. There must be a way to get
rid of nouveau and get nv and nvidia working again.

At the moment I'm stuck.

Regards,
Ralf

[1]
[spinymouse@archlinux ~]$ cpupower frequency-info | grep The\ gov
The governor "ondemand" may decide which speed to use

[spinymouse@archlinux ~]$ sudo cpupower frequency-set -g performance

[spinymouse@archlinux ~]$ cpupower frequency-info | grep The\ gov
The governor "performance" may decide which speed to use

[spinymouse@archlinux ~]$ uname -r
3.4.4-rt14-1-rt

[spinymouse@archlinux ~]$ hdspmixer 
Card 0: RME AIO S/N 0x579bcc at 0xfdbf, irq 18
Card 1: TerraTec EWX24/96 at 0xbf00, irq 20
Card 2: TerraTec EWX24/96 at 0xbb00, irq 21

[spinymouse@archlinux ~]$ sudo chgrp audio /dev/hpet
[spinymouse@archlinux ~]$ sudo chmod g+rw /dev/hpet
[spinymouse@archlinux ~]$ sudo modprobe snd-hrtimer

[spinymouse@archlinux ~]$ /etc/rc.d/rtirq status 
  PID CLS RTPRIO  NI PRI %CPU STAT COMMAND  
   59 FF  90   - 130  0.0 Sirq/8-rtc0   
  300 FF  85   - 125  0.0 Sirq/18-snd_hdsp  
  335 FF  80   - 120  0.0 Sirq/20-snd_ice1  
  338 FF  79   - 119  0.0 Sirq/21-snd_ice1  
  116 FF  70   - 110  0.0 Sirq/19-ehci_hcd  
  118 FF  70   - 110  0.5 Sirq/16-ohci_hcd  
  121 FF  69   - 109  0.0 Sirq/17-ohci_hcd  
  125 FF  68   - 108  0.0 Sirq/17-ohci_hcd  
   57 FF  65   - 105  0.0 Sirq/1-i8042  
   20 FF  50   -  90  0.0 Sirq/9-acpi   
  105 FF  50   -  90  0.1 Sirq/22-ahci  
  123 FF  50   -  90  0.0 Sirq/18-ohci_hcd  
  127 FF  50   -  90  0.0 Sirq/18-ohci_hcd  
  130 FF  50   -  90  0.0 Sirq/14-pata_ati  
  131 FF  50   -  90  0.0 Sirq/15-pata_ati  
  267 FF  50   -  90  0.0 Sirq/7-parport0   
  293 FF  50   -  90  0.0 Sirq/22-firewire  
  330 FF  50   -  90  0.0 Sirq/18-nouveau   
  588 FF  50   -  90  0.0 Sirq/43-eth0  
3 FF   1   -  41  0.0 Sksoftirqd/0  
   11 FF   1   -  41  0.0 Sksoftirqd/1

[spinymouse@archlinux ~]$ jackd --sync -Xalsarawmidi -dalsa -r48000
-p256
jackdmp 1.9.8

[spinymouse@archlinux ~]$ jack_midi_latency_test -m 3 -s 8192 -t 5
"system:1-1 HDSPMx579bcc MIDI 1 1 out" "system:1-1 HDSPMx579bcc MIDI 1 1
in"

Reported out-port latency: 5.33-5.33 ms (256-256 frames)
Reported in-port latency: 5.33-5.33 ms (256-256 frames)
Average latency: 11.69 ms (560.52 frames)
Lowest latency: 11.65 ms (559 frames)
Highest latency: 11.76 ms (564 frames)
Peak MIDI jitter: 0.10 ms (5 frames)
Average MIDI jitter: 0.02 ms (0.04 frames)

Jitter Plot:
0.0 - 0.1 ms: 8189
 > 10 ms: 3

Latency Plot:
11.6 - 11.7 ms: 7906
11.7 - 11.8 ms: 283
 > 21.6 ms: 3

Messages sent: 8192
Messages received: 8192
Xruns: 3

[spinymouse@archlinux ~]$ jack_midi_latency_test -m 3 -s 8192 -t 5
"system:2-1 TerraTec EWX24/96 MIDI 1 out" "system:2-1 TerraTec EWX24/96
MIDI 1 in"
Waiting for connections ...
Waiting for test completion ...

Reported out-port latency: 5.33-5.33 ms (256-256 frames)
Reported in-port latency: 5.33-5.33 ms (256-256 frames)
Average latency: 11.69 ms (561.05 frames)
Lowest latency: 11.40 ms (547 frames)
Highest latency: 11.76 ms (564 frames)
Peak MIDI jitter: 0.35 ms (17 frames)
Average MIDI jitter: 0.00 ms (0.04 frames)

Jitter Plot:
0.0 - 0.1 ms: 8191
0.2 - 0.3 ms: 1

Latency Plot:
11.4 - 11.5 ms: 1
11.6 - 11.7 ms: 7704
11.7 - 11.8 ms: 487

Messages sent: 8192
Messages received: 8192



Re: [arch-general] Strange pacman problem with conflicting dependencies

2012-09-18 Thread Sébastien Luttringer
On Mon, Sep 17, 2012 at 9:30 PM, Arthur Titeica  wrote:
> Hi
>
> On a machine with a less frequent updating schedule (~once a month) I receive
> the following when doing pacman -Suy
>
> ->8-
> # pacman -Suy
> :: Synchronizing package databases...
>  testing is up to date
>  core is up to date
>  extra is up to date
>  community-testing is up to date
>  community is up to date
>  multilib-testing is up to date
>  multilib is up to date
>  archlinuxfr is up to date
>  repo-ck is up to date
> :: Starting full system upgrade...
> warning: ffmpeg: ignoring package upgrade (20120509-1 => 1:0.11.1-1)
> :: Replace virtualbox-additions with community-testing/virtualbox-iso-
> additions? [Y/n]
> :: Replace virtualbox-modules with community-testing/virtualbox-host-modules?
> [Y/n]
> warning: x264: ignoring package upgrade (20120204-1 => 20120705-1)
> resolving dependencies...
> looking for inter-conflicts...
> error: unresolvable package conflicts detected
> error: failed to prepare transaction (conflicting dependencies)
> :: virtualbox-host-modules and virtualbox-modules are in conflict
> ->8-
>
> I didn't have any problems with the virtualbox replacements on another machine
> with daily updates.
>
> If necessary the debug pacman log may be found at http://pastebin.com/9nh5tp9t
>
> Thanks.
>
> --
> Arthur Titeica

Should be fixed at the next db sync.

-- 
Sébastien "Seblu" Luttringer
www.seblu.net


Re: [arch-general] Strange pacman problem with conflicting dependencies

2012-09-18 Thread Ralf Mardorf
Same here without testing. No information at http://www.archlinux.org/
and https://www.archlinux.de/ .

Regards,
Ralf



Re: [arch-general] [seemingly solved] Issue with Jack2, ALSA or current kernels

2012-09-18 Thread Ralf Mardorf
On Wed, 2012-09-19 at 02:47 +0800, Rashif Ray Rahman wrote:
> On 17 September 2012 01:04, Ralf Mardorf  wrote:
> > Thank you Ray :)
> >
> > seemingly it's solved. I can't test it now, but the bad messages are gone 
> > away [1].
> > What was the culprit?
> 
> Ralf, you're welcome. It was most probably related to a bug with GCC
> optimisation [1], which I was made aware of by Joakim and Nedko but
> didn't get around to verify and patch (simply -O0 in place of -On
> where n > 0) until now.
> 
> 
> [1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53663
> 
> --
> GPG/PGP ID: C0711BF1

Thanx,
Ralf




Re: [arch-general] / mounted ro after update

2012-09-18 Thread David C. Rankin

On 09/18/2012 03:53 AM, P .NIKOLIC wrote:

On Tue, 18 Sep 2012 03:47:26 -0400 (EDT)
Jude DaShiell  wrote:


>Whenever does an install of archlinux, they also do a big update so
>it's safe to say I got nailed by this problem too.  I'm not going to
>dismiss out of hand the probability that util-linux is at fault, but
>when I tried the installs this past weekend I suspected mkinitcpio or
>perhaps syslinux-install_update might be at fault.  However if in
>this update process neither of those utilities were used, then both
>of them are cleared.  It seems when util-linux finishes running after
>install or update it fails to set the sticky bits on partitions and
>lesser components in the linux file system at least in ext4 which is
>what I used to try the installs this past weekend in line with the
>installation guide on the archlinux wiki.

HU you got me wondering now that could well be  both partitions
that have the problem are ext4  why i did not change them to my more
normal XFS i dont know ..

I may have to back a lot up and rebuild but this time i will let my
normal hate of the entire EXT file system rule and go XFS never been
let down there ..

Pete .




Pete,

  I have run Arch on several filesystems and I've been lucky I guess. 
Currently on this box, I have ext3, ext4 and reiser (old SuSE 10.0 partition). 
This box has been running since mid-2009 and updates are usually weekly 
(sometimes I go a couple of weeks if I can't risk a break due to workload) I 
have not had any of the mount ro weirdness even after several multi-gigabyte 
updates. The current partitions I have are:


/dev/sdc5 on / type ext3 (rw,relatime,data=ordered)
/dev/sdc7 on /home type ext4 (rw,relatime,data=ordered)
/dev/sda2 on /mnt/pv type reiserfs (rw,relatime)
/dev/sdb2 on /mnt/win type fuseblk 
(rw,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)


  I don't know what is doing it in your case, but it seems like we should be 
able to figure out where mount ro/rw logic for the resides (I picture 
something like the following buried somewhere):


  if [conditional]; then
mount -o rw [whatever]
  else
mount -o ro [whatever]
  fi

  I suspect this may be complicated by the fact that mounting (or remounting) 
takes place in several different places/processes during the boot. Anybody 
familiar with this off-hand or any idea where Pete might look to rule-in or 
rule-out the different parts of boot that could effect this? Sorry I don't 
have more, I just haven't had the need to dissect the boot mount process to 
that level before...


  I guess you are just lucky :)

--
David C. Rankin, J.D.,P.E.


Re: [arch-general] [seemingly solved] Issue with Jack2, ALSA or current kernels

2012-09-18 Thread Rashif Ray Rahman
On 17 September 2012 01:04, Ralf Mardorf  wrote:
> Thank you Ray :)
>
> seemingly it's solved. I can't test it now, but the bad messages are gone 
> away [1].
> What was the culprit?

Ralf, you're welcome. It was most probably related to a bug with GCC
optimisation [1], which I was made aware of by Joakim and Nedko but
didn't get around to verify and patch (simply -O0 in place of -On
where n > 0) until now.


[1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53663

--
GPG/PGP ID: C0711BF1


[arch-general] Fwd: Munin and MySQL

2012-09-18 Thread Martín Cigorraga
-- Forwarded message --
From: Martín Cigorraga 
Date: Mon, Sep 17, 2012 at 7:32 AM
Subject: Re: [arch-general] Munin and MySQL
To: General Discussion about Arch Linux 



On Mon, Sep 17, 2012 at 6:42 AM, Martín Cigorraga  wrote:

> On Mon, Sep 17, 2012 at 5:58 AM, Krzysztof Warzecha 
> wrote:
>
>> 2012/9/17 Martín Cigorraga :
>> > Whenever I run:
>> > # munin-node-configure --shell | sh
>> > I got this:
>> > # The following plugins caused errors:
>> > # mysql_:
>> > #   Non-zero exit during autoconf (2)
>> > # ntp_states:
>> > #   Non-zero exit during autoconf (2)
>> > # proc:
>> > #   In family 'auto' but doesn't have 'autoconf' capability
>>
>> Try:
>>
>> /usr/lib/munin/plugins/mysql_ suggest
>>
>> If in doubt, read plugin source. This one needs some extra perl
>> packages (it will show helpful error message if dependencies are
>> missing), configuration in /etc/munin/plugin-conf.d/ (in existing or
>> new file, no difference) and meaningful symlink name. If you want to
>> install that plugin manually try something like this:
>>
>> ln -s /usr/lib/munin/plugins/mysql_ /etc/munin/plugins/mysql_$GRAPH
>>
>> Where $GRAPH is one from: (bin_relay_log, commands, connections,
>> files_tables, innodb_bpool, innodb_bpool_act, innodb_insert_buf,
>> innodb_io, innodb_io_pend, innodb_log, innodb_rows, innodb_semaphores,
>> innodb_tnx, myisam_indexes, network_traffic, qcache, qcache_mem,
>> replication, select_types, slow, sorts, table_locks, tmp_tables).
>>
>> --
>> Krzysztof Warzecha
>>
>
> Mmm, things are starting to clarify... ;-)
> As you correctly said the mysql_ plugin needs the community/perl-dbi
> package and a Cache::Cache module (Missing dependency Cache::Cache at
> /usr/lib/munin/plugins/mysql_ line 729.) I'm gonna install from CPAN.
> Once I get this working I think I should fill a bug report to add these
> libraries as optdepend to munin-node package.
> Munin is plain awesome, thanks for the tips!
>

Finally, I managed to install and run mysql_ and ntp_states plugins.
mysql_: needs community/perl-dbi package and "Cache::Cache" module -
available through CPAN.
 ntp_states: needs "Net::DNS::Resolver" module, available through CPAN too.

Still I'm having this error message for proc when I do:
/usr/lib/munin/plugins # munin-node-configure --shell | sh
# The following plugins caused errors:
# proc:
#   In family 'auto' but doesn't have 'autoconf' capability

But on the other side
~ $ sudo munin-run --servicedir /usr/lib/munin/plugins/ proc
multigraph proc_cpu

multigraph proc_memory

multigraph proc_ctxt_switches

multigraph proc_threads

multigraph proc_processes

multigraph proc_io


I will check the plugin as soon as I get some sleep - Perl is beautiful...
and cryptic at times!

Note: I opened a new bug report - FS#31579 - community/perl-dbi pkg should
be added to muni-node optdepends 


Re: [arch-general] Wanted: advice dual-booting Arch and Windows 7 on new laptop

2012-09-18 Thread Rashif Ray Rahman
On 18 September 2012 17:14, Robbie Smith  wrote:
> Can anyone advise me on how I could overcome these issues? Has anyone had
> any experience with new HP g6 models?

My current laptop is not my own, and when I got it, I didn't want to
mess with the partitioning. So I made some space using gparted running
from a LiveCD (you get more space that way, but defragment first),
installed Arch there, used GRUB (legacy, but any would do) on the
partition, and booted using Windows bootloader :) [1]

[1] http://blog.famzah.net/2011/11/12/boot-linux-using-windows-7-boot-loader/


--
GPG/PGP ID: C0711BF1


Re: [arch-general] Wanted: advice dual-booting Arch and Windows 7 on new laptop

2012-09-18 Thread Martín Cigorraga
On Tue, Sep 18, 2012 at 6:14 AM, Robbie Smith  wrote:

> Hi everyone
>
> TL;DR: I've just bought a new HP Pavilion g6-2103ax, and I'm having
> difficulties trying to figure out how I can dual-boot it with Windows 7
> (which was preinstalled).
>
> Windows *still* defaults to using MBR partitions, and even though the
> system is UEFI, HP have used some trickery somewhere to make it boot from
> BIOS. To make matters worse, the disk table already has four partitions:
>
> SYSTEM: 199 MB NTFS
> Windows C drive: ~ 450 GB NTFS
> HP Recovery partition: 18.5 GB NTFS
> HP_TOOLS: 99 MB FAT32
>
> The SYSTEM partition seems to contain the Windows bootloader, or something
> along those lines. The HP Recovery partition contains the software
> necessary to do a factory reset, and HP_TOOLS contains some UEFI
> applications (some system diagnostic things). C drive is Windows.
>
> What I was thinking of doing was shrinking C drive, and deleting the
> recovery partition to make space for Arch. But on my first attempt, parted
> bricked the table, and whilst I was able to recover it, Windows refused to
> boot. I obtained recovery disks to restore it, but they are completely
> non-interactive so cannot be used to rescue Windows, only reset to factory
> initial state.
>
> Due to the arrangement of the partitions, I don't think creating an
> Extended partition will work (they need to be the last one in the table,
> don't they?), and while I've read GRUB2 can use /boot in LVM, I'm not sure
> whether this will work. Also, I've never used GRUB2 before, and its configs
> look formidable compared to Syslinux. Ideally I'd switch to GPT, but
> Windows needs to be booted in UEFI mode for this, but I have no idea how to
> enable this as there's neither a switch in the BIOS settings, nor settings
> in Windows.
>
> Can anyone advise me on how I could overcome these issues? Has anyone had
> any experience with new HP g6 models?
>



On Tue, Sep 18, 2012 at 6:14 AM, Robbie Smith  wrote:

> Hi everyone
>
> TL;DR: I've just bought a new HP Pavilion g6-2103ax, and I'm having
> difficulties trying to figure out how I can dual-boot it with Windows 7
> (which was preinstalled).
>
> Windows *still* defaults to using MBR partitions, and even though the
> system is UEFI, HP have used some trickery somewhere to make it boot from
> BIOS. To make matters worse, the disk table already has four partitions:
>
> SYSTEM: 199 MB NTFS
> Windows C drive: ~ 450 GB NTFS
> HP Recovery partition: 18.5 GB NTFS
> HP_TOOLS: 99 MB FAT32
>
> The SYSTEM partition seems to contain the Windows bootloader, or something
> along those lines. The HP Recovery partition contains the software
> necessary to do a factory reset, and HP_TOOLS contains some UEFI
> applications (some system diagnostic things). C drive is Windows.
>
> What I was thinking of doing was shrinking C drive, and deleting the
> recovery partition to make space for Arch. But on my first attempt, parted
> bricked the table, and whilst I was able to recover it, Windows refused to
> boot. I obtained recovery disks to restore it, but they are completely
> non-interactive so cannot be used to rescue Windows, only reset to factory
> initial state.
>
> Due to the arrangement of the partitions, I don't think creating an
> Extended partition will work (they need to be the last one in the table,
> don't they?), and while I've read GRUB2 can use /boot in LVM, I'm not sure
> whether this will work. Also, I've never used GRUB2 before, and its configs
> look formidable compared to Syslinux. Ideally I'd switch to GPT, but
> Windows needs to be booted in UEFI mode for this, but I have no idea how to
> enable this as there's neither a switch in the BIOS settings, nor settings
> in Windows.
>
> Can anyone advise me on how I could overcome these issues? Has anyone had
> any experience with new HP g6 models?
>


Hi Robbie

I will try to give you some advice based on my own experience with my HP
laptop (Pavilion dv7-4287cl) I bought roughly one year and half ago.
Short answer: nuke Windows, GPT your disk -be aware that it's likely to be
a 4kb/sector hd so take that in mind when partitioning-, install Arch, what
else? Oh yeah: never again buy any HP related product.

But I want to keep Windoze! answer: the four partitions layout is a shitty
move from HP/Microsoft, they enforce you to use only Windows because as you
already discovered the "rescue DVD" (rescue, yeah, they're shameless)
restores exactly that layout: it wipes your disk and recreate the same
structure; worst: if you read the HP warranty they say that it will be void
if you modify in any way the original layout of your hard drive, so in the
case -we hope not of course- you need to send your computer to their tech
support staff be sure to restore your HD to factory defaults before send it
or you'll be out of luck - yeah, they sucks.

So if you can't resize the actual Windows C: partition to make space for
Arch then you're out of luck but if you can then remember to backup yo

Re: [arch-general] Switching back from nouveau doesn't work - Was: Proprietary nvidia driver for different kernels

2012-09-18 Thread Ralf Mardorf
On Tue, 2012-09-18 at 16:58 +0200, I made some typos:
> No Xruns! As long as peak is > 1ms, it's still > 0.2ms, everything
> should be ok for my taste

*chuckle* The ">" should be "<"



[arch-general] Switching back from nouveau doesn't work - Was: Proprietary nvidia driver for different kernels

2012-09-18 Thread Ralf Mardorf
Hi :)

I tried to switch back to nv for the kernel-rt, but it failed. GDM
doesn't start anymore.

[root@archlinux spinymouse]# pacman -Rss xf86-video-nouveau
Targets (1): xf86-video-nouveau-1.0.2-1
[root@archlinux spinymouse]# rm /etc/X11/xorg.conf
[root@archlinux spinymouse]# cp /etc/X11/xorg.conf.nv /etc/X11/xorg.conf
[root@archlinux spinymouse]# pacman -Rdds nouveau-dri libgl
Targets (3): libdrm-nouveau1-2.4.33-1  libgl-8.0.4-3
nouveau-dri-8.0.4-2
[root@archlinux spinymouse]# shutdown -r now



GDM won't start anymore, I booted another linux and continued with:



spinymouse@precise:~$ sudo sed -i 's/options nouveau modeset=1/#options
nouveau modeset=1/' /mnt/archlinux/etc/modprobe.d/
sed: can't read /mnt/archlinux/etc/modprobe.d/modprobe.conf: No such
file or directory

spinymouse@precise:~$ ls /mnt/archlinux/etc/modprobe.d/modprobe.conf
ls: cannot access /mnt/archlinux/etc/modprobe.d/modprobe.conf: No such
file or directory

spinymouse@precise:~$ grep nouveau /mnt/archlinux/etc/mkinitcpio.conf
spinymouse@precise:~$



Useless since there's nothing to do. I didn't switch to systemd.



spinymouse@precise:~$ grep \(EE /mnt/archlinux/var/log/Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[17.176] (EE) Failed to load module "glx" (module does not exist, 0)
[17.178] (EE) Failed to load module "v4l" (module does not exist, 0)
[17.247] (EE) NV: The PCI device 0x10de01d3 (GeForce 7300 SE) at
01@00:00:0 has a kernel module claiming it.
[17.247] (EE) NV: This driver cannot operate until it has been
unloaded.
[17.248] (EE) No devices detected.



Any hints are welcome.

Regards,
Ralf

PS: I did jitter tests using the nouveau driver, but forgot to take care
about the CPU frequency scaling. I don't know if it was set up to
performance, so I need to do the tests again. IOW first I'll install
nouveau again, but I also want to be able to switch back to nv.

This is an older test:
http://www.digipedia.pl/usenet/thread/11091/63/

No Xruns! As long as peak is > 1ms, it's still > 0.2ms, everything
should be ok for my taste,
so even while the current tests are worse compared with the old tests,
peak jitter perhaps still is inaudible, even for me and I'm very
sensitive to timing issues, phasing and things like that.

However, it's strange to get Xruns when doing a MIDI latency test, this
seems to be a serious issue.

And now today's test:
[spinymouse@archlinux ~]$ uname -r
3.4.4-rt14-1-rt

[spinymouse@archlinux ~]$ hdspmixer
Card 0: RME AIO S/N 0x579bcc at 0xfdbf, irq 18
Card 1: TerraTec EWX24/96 at 0xbf00, irq 20
Card 2: TerraTec EWX24/96 at 0xbb00, irq 21

[spinymouse@archlinux ~]$ sudo chgrp audio /dev/hpet
[spinymouse@archlinux ~]$ sudo chmod g+rw /dev/hpet
[spinymouse@archlinux ~]$ sudo modprobe snd-hrtimer

[spinymouse@archlinux ~]$ /etc/rc.d/rtirq status | grep n
  281 FF  85   - 125  0.0 Sirq/18-snd_hdsp  
  283 FF  80   - 120  0.0 Sirq/20-snd_ice1  
  304 FF  79   - 119  0.0 Sirq/21-snd_ice1  
  330 FF  50   -  90  0.0 Sirq/18-nouveau

[spinymouse@archlinux ~]$ jackd --sync -Xalsarawmidi -dalsa -r48000
-p256
jackdmp 1.9.8
JackALSARawMidiDriver::Attach - input port registered (alias='system:1-1
HDSPMx579bcc MIDI 1 1 in').
JackALSARawMidiDriver::Attach - input port registered (alias='system:2-1
TerraTec EWX24/96 MIDI 1 in').
JackALSARawMidiDriver::Attach - output port registered
(alias='system:1-1 HDSPMx579bcc MIDI 1 1 out').
JackALSARawMidiDriver::Attach - output port registered
(alias='system:2-1 TerraTec EWX24/96 MIDI 1 out').

[spinymouse@archlinux ~]$ jack_midi_latency_test -m 3 -s 8192 -t 5
"system:1-1 HDSPMx579bcc MIDI 1 1 out" "system:1-1 HDSPMx579bcc MIDI 1 1
in"
Waiting for connections ...
Waiting for test completion ...

Reported out-port latency: 5.33-5.33 ms (256-256 frames)
Reported in-port latency: 5.33-5.33 ms (256-256 frames)
Average latency: 11.72 ms (562.26 frames)
Lowest latency: 11.67 ms (560 frames)
Highest latency: 11.84 ms (568 frames)
Peak MIDI jitter: 0.17 ms (8 frames)
Average MIDI jitter: 0.03 ms (0.23 frames)

Jitter Plot:
0.0 - 0.1 ms: 8185
0.1 - 0.2 ms: 2
 > 10 ms: 5

Latency Plot:
11.6 - 11.7 ms: 1068
11.7 - 11.8 ms: 7109
11.8 - 11.9 ms: 10
 > 21.6 ms: 5

Messages sent: 8192
Messages received: 8192
Xruns: 5

[spinymouse@archlinux ~]$ jack_midi_latency_test -m 3 -s 8192 -t 5
"system:2-1 TerraTec EWX24/96 MIDI 1 out" "system:2-1 TerraTec EWX24/96
MIDI 1 in"
Waiting for connections ...
Waiting for test completion ...

Reported out-port latency: 5.33-5.33 ms (256-256 frames)
Reported in-port latency: 5.33-5.33 ms (256-256 frames)
Average latency: 11.72 ms (562.71 frames)
Lowest latency: 11.69 ms (561 frames)
Highest latency: 11.81 ms (567 frames)
Peak MIDI jitter: 0.12 ms (6 frames)
Average MIDI jitter: 0.01 ms (0.09 frames)

Jitter Plot:
0.0 - 0.1 ms: 8192

Latency Plot:
11.6 - 11.7 ms: 1
11.7 - 11.8 ms: 8187
11.8 - 11.9 ms: 4

Messages sent: 8192
Messages received: 8192



Re: [arch-general] / mounted ro after update

2012-09-18 Thread P .NIKOLIC
On Tue, 18 Sep 2012 12:07:55 +0100
Kevin Chadwick  wrote:

> > all disc ID's are correct  so what has been screwed up this was
> > perfect until the update  or am i going to be forced to
> > re-install   not an option i look forward to 
> 
> A workaround rather than a fix but may help investigate or fix the odd
> machine. Have you tried switching out the
> 
> UUID=a1439104-fcea-4c90-b0fb-2340154a9eae for /dev/sda3 in fstab? 
> 

Hi Kevin


No i have not tried that yet  but i have found something  that seems to
point to an ext4 fs problem  . 

If i shut the machine down after it has been running ok  and all
mounted correctly rw  then reboot it will always come up dev/sda4
mounted ro, But if i boot from the latest arch cd  and fsck.ext4
both sda3 and sda4 it will reboot fine all mounted rw again .

I am getting no reports of disc problems at all  makes me think it is
both kernel and util-linux at fault as that is when it all started
when both were updated


Pete .
 

-- 
Linux 7-of-9 3.5.3-1-ARCH #1 SMP PREEMPT Sun Aug 26 09:14:51 CEST 2012
x86_64 GNU/Linux


Re: [arch-general] / mounted ro after update

2012-09-18 Thread Kevin Chadwick
> I have had too many problems with those stupid crappy designed sata
> data cables , i have never seen such a pile of puke as the SATA
> connection design and whoever designed and ratified needs to be hung
> drawn and slaughtered.

The same is true of almost all cables with more than a few wires and in
fact all computer equipment in that the originals are good and as they
get cheaper and cheaper and cheaper, the failure rates skyrocket. Some
motherboards are now advertising "double the copper". If you are
having that much trouble you could try buying some more expensive
likely non China versions.


-- 
___

'Write programs that do one thing and do it well. Write programs to work
together. Write programs to handle text streams, because that is a
universal interface'

(Doug McIlroy)
___


[arch-general] rtirq

2012-09-18 Thread Ralf Mardorf
Not a serious issue.

# pacman -Syu rtirq
[snip]
==>   This script works only in conjunction with a realtime kernel.
[snip]

It at least does work with full preempt kernels + threadirqs too.

Regards,
Ralf

PS:
Apologize, but I don't know if you're following arch general, that's why
I "cc"ed it.
# pacman -Qil rtirq
Packager   : Bernardo Barros



Re: [arch-general] / mounted ro after update

2012-09-18 Thread Kevin Chadwick
> all disc ID's are correct  so what has been screwed up this was perfect
> until the update  or am i going to be forced to re-install   not an
> option i look forward to 

A workaround rather than a fix but may help investigate or fix the odd
machine. Have you tried switching out the

UUID=a1439104-fcea-4c90-b0fb-2340154a9eae for /dev/sda3 in fstab? 

-- 
___

'Write programs that do one thing and do it well. Write programs to work
together. Write programs to handle text streams, because that is a
universal interface'

(Doug McIlroy)
___


[arch-general] Modifying archiso

2012-09-18 Thread Robbie Smith
The wiki gives instructions on modifying the ISO[1] and the last step is 
to recreate the actual ISO file. I've got my Arch installers on USB 
sticks, but is it absolutely necessary to do this?


Couldn't I just copy the root-image.fs.sfs to the appropriate directory 
on my USB (/path/to/USB/device/arch/x86_64/root-image.fs.sfs) instead, 
and regenerate the checksums?


[1]https://wiki.archlinux.org/index.php/Remastering_the_Install_ISO


Re: [arch-general] installation file format question

2012-09-18 Thread Rodrigo Rivas
On Tue, Sep 18, 2012 at 11:19 AM, Jude DaShiell wrote:

> What is the command to put xfs file formatting on partitions?  I have arch
> on a separate disk so can try an installation with xfs probably tomorrow
> morning.
>

"mkfs.xfs" as it is usual in the formatter commands.

Regards.
-- 
Rodrigo


[arch-general] installation file format question

2012-09-18 Thread Jude DaShiell
What is the command to put xfs file formatting on partitions?  I have arch 
on a separate disk so can try an installation with xfs probably tomorrow 
morning.

---
jude 
Adobe fiend for failing to Flash




[arch-general] Wanted: advice dual-booting Arch and Windows 7 on new laptop

2012-09-18 Thread Robbie Smith

Hi everyone

TL;DR: I've just bought a new HP Pavilion g6-2103ax, and I'm having 
difficulties trying to figure out how I can dual-boot it with Windows 7 
(which was preinstalled).


Windows *still* defaults to using MBR partitions, and even though the 
system is UEFI, HP have used some trickery somewhere to make it boot 
from BIOS. To make matters worse, the disk table already has four 
partitions:


SYSTEM: 199 MB NTFS
Windows C drive: ~ 450 GB NTFS
HP Recovery partition: 18.5 GB NTFS
HP_TOOLS: 99 MB FAT32

The SYSTEM partition seems to contain the Windows bootloader, or 
something along those lines. The HP Recovery partition contains the 
software necessary to do a factory reset, and HP_TOOLS contains some 
UEFI applications (some system diagnostic things). C drive is Windows.


What I was thinking of doing was shrinking C drive, and deleting the 
recovery partition to make space for Arch. But on my first attempt, 
parted bricked the table, and whilst I was able to recover it, Windows 
refused to boot. I obtained recovery disks to restore it, but they are 
completely non-interactive so cannot be used to rescue Windows, only 
reset to factory initial state.


Due to the arrangement of the partitions, I don't think creating an 
Extended partition will work (they need to be the last one in the table, 
don't they?), and while I've read GRUB2 can use /boot in LVM, I'm not 
sure whether this will work. Also, I've never used GRUB2 before, and its 
configs look formidable compared to Syslinux. Ideally I'd switch to GPT, 
but Windows needs to be booted in UEFI mode for this, but I have no idea 
how to enable this as there's neither a switch in the BIOS settings, nor 
settings in Windows.


Can anyone advise me on how I could overcome these issues? Has anyone 
had any experience with new HP g6 models?


Re: [arch-general] / mounted ro after update

2012-09-18 Thread P .NIKOLIC
On Tue, 18 Sep 2012 03:47:26 -0400 (EDT)
Jude DaShiell  wrote:

> Whenever does an install of archlinux, they also do a big update so
> it's safe to say I got nailed by this problem too.  I'm not going to
> dismiss out of hand the probability that util-linux is at fault, but
> when I tried the installs this past weekend I suspected mkinitcpio or
> perhaps syslinux-install_update might be at fault.  However if in
> this update process neither of those utilities were used, then both
> of them are cleared.  It seems when util-linux finishes running after
> install or update it fails to set the sticky bits on partitions and
> lesser components in the linux file system at least in ext4 which is
> what I used to try the installs this past weekend in line with the
> installation guide on the archlinux wiki.

HU you got me wondering now that could well be  both partitions
that have the problem are ext4  why i did not change them to my more
normal XFS i dont know .. 

I may have to back a lot up and rebuild but this time i will let my
normal hate of the entire EXT file system rule and go XFS never been
let down there ..

Pete .
  

> 
> On Tue, 18 Sep 2012, P .NIKOLIC wrote:
> 
> > On Mon, 17 Sep 2012 14:01:26 -0500
> > "David C. Rankin"  wrote:
> > 
> > > On 09/15/2012 11:24 AM, P .NIKOLIC wrote:
> > > > Of course noone else will offer any assistance  will they
> > > > EH!
> > > >
> > > > Pete .
> > > 
> > > Pete,
> > > 
> > >You know me, I'm never quite to the ire of many, but I haven't
> > > a clue what you are dealing with here... Let us know what it
> > > ultimately turns out to be and if it is an issue with util-linux
> > > on Arch's end, file a report so it gets fixed before it bites
> > > me :)
> > > 
> > 
> > Morning David
> > 
> > Yes this is a real cracker and it only started after a big update  .
> > 
> > What i have found is  if i boot with the Arch boot cd  the fsck
> > both "/ and /home "  it will boot fine but like this morning it has
> > booted but with / mounted ro  which means i can not do any updates
> > another time it will be /home that comes up ro but there is no
> > problem to be found with the disc itself  , I am wondering if it
> > is  an SATA problem again .
> > 
> > I have had too many problems with those stupid crappy designed sata
> > data cables , i have never seen such a pile of puke as the SATA
> > connection design and whoever designed and ratified needs to be hung
> > drawn and slaughtered.
> > 
> > Pete .
> >  
> > 
> > 
> 
> ---
> jude 
> Adobe fiend for failing to Flash
> 
> 



-- 
Linux 7-of-9 3.5.3-1-ARCH #1 SMP PREEMPT Sun Aug 26 09:14:51 CEST 2012
x86_64 GNU/Linux


Re: [arch-general] / mounted ro after update

2012-09-18 Thread Jude DaShiell
Whenever does an install of archlinux, they also do a big update so it's 
safe to say I got nailed by this problem too.  I'm not going to dismiss 
out of hand the probability that util-linux is at fault, but when I 
tried the installs this past weekend I suspected mkinitcpio or perhaps 
syslinux-install_update might be at fault.  However if in this update 
process neither of those utilities were used, then both of them are 
cleared.  It seems when util-linux finishes running after install or 
update it fails to set the sticky bits on partitions and lesser 
components in the linux file system at least in ext4 which is what I 
used to try the installs this past weekend in line with the installation 
guide on the archlinux wiki.

On Tue, 18 Sep 2012, P .NIKOLIC wrote:

> On Mon, 17 Sep 2012 14:01:26 -0500
> "David C. Rankin"  wrote:
> 
> > On 09/15/2012 11:24 AM, P .NIKOLIC wrote:
> > > Of course noone else will offer any assistance  will they  EH!
> > >
> > > Pete .
> > 
> > Pete,
> > 
> >You know me, I'm never quite to the ire of many, but I haven't a
> > clue what you are dealing with here... Let us know what it ultimately
> > turns out to be and if it is an issue with util-linux on Arch's end,
> > file a report so it gets fixed before it bites me :)
> > 
> 
> Morning David
> 
> Yes this is a real cracker and it only started after a big update  .
> 
> What i have found is  if i boot with the Arch boot cd  the fsck both "/
> and /home "  it will boot fine but like this morning it has booted but
> with / mounted ro  which means i can not do any updates  another time
> it will be /home that comes up ro but there is no problem to be found
> with the disc itself  , I am wondering if it is  an SATA problem again .
> 
> I have had too many problems with those stupid crappy designed sata
> data cables , i have never seen such a pile of puke as the SATA
> connection design and whoever designed and ratified needs to be hung
> drawn and slaughtered.
> 
> Pete .
>  
> 
> 

---
jude 
Adobe fiend for failing to Flash




Re: [arch-general] / mounted ro after update

2012-09-18 Thread P .NIKOLIC
On Mon, 17 Sep 2012 17:18:50 -0500
German Cabarcas  wrote:

> I had a problem of this sort recently, due to my root partition being
> full, so i went ahead and performed a:
> 
> # pacman -Sc
> 
> Before trying to update once again and things were rolling as normal
> back again, hope it helps.
> 
> German C.

Hi ..

Yes looked at that both  / and /home are only about 30% used over 400Gb
free on /home and 100Gb on /

Pete .



-- 
Linux 7-of-9 3.5.3-1-ARCH #1 SMP PREEMPT Sun Aug 26 09:14:51 CEST 2012
x86_64 GNU/Linux


Re: [arch-general] / mounted ro after update

2012-09-18 Thread P .NIKOLIC
On Mon, 17 Sep 2012 14:01:26 -0500
"David C. Rankin"  wrote:

> On 09/15/2012 11:24 AM, P .NIKOLIC wrote:
> > Of course noone else will offer any assistance  will they  EH!
> >
> > Pete .
> 
> Pete,
> 
>You know me, I'm never quite to the ire of many, but I haven't a
> clue what you are dealing with here... Let us know what it ultimately
> turns out to be and if it is an issue with util-linux on Arch's end,
> file a report so it gets fixed before it bites me :)
> 

Morning David

Yes this is a real cracker and it only started after a big update  .

What i have found is  if i boot with the Arch boot cd  the fsck both "/
and /home "  it will boot fine but like this morning it has booted but
with / mounted ro  which means i can not do any updates  another time
it will be /home that comes up ro but there is no problem to be found
with the disc itself  , I am wondering if it is  an SATA problem again .

I have had too many problems with those stupid crappy designed sata
data cables , i have never seen such a pile of puke as the SATA
connection design and whoever designed and ratified needs to be hung
drawn and slaughtered.

Pete .
 

-- 
Linux 7-of-9 3.5.3-1-ARCH #1 SMP PREEMPT Sun Aug 26 09:14:51 CEST 2012
x86_64 GNU/Linux


Re: [arch-general] /etc/tmpfiles.d

2012-09-18 Thread Alexander Bashmakov
>> I am fairly certain that tmpfiles.d understands "*", so you could
>> probably get away with one line for something like that.
>>
>
> It doesn't for the 'w' type. Globbing is specified explicitly where it's
> supported. I don't know if that was an explicit design decision though. You
> might have yourself an easy patch if you want to contribute.

It will be supported in next release:
http://cgit.freedesktop.org/systemd/systemd/commit/?id=d4e9eb91ea12e11bff7d8c6265b067a20ccf37b8