Re: Thunderbird lightning question

2015-06-30 Thread Joachim Backes
On 06/30/15 09:47, Ed Greshko wrote:
 Sorry for the multiple replies but I just found another oddity if you're 
 using KDE. 
 
 In system-setttings, if you have personalization--Regional 
 Settings--Formats Detailed Settings checked and  alter Time it will 
 override whatever you have in your .bashrc.
 
 You can see this, or check, by finding the PID of your T-Bird process, go to 
 /proc/PID and cat environ and check what LC_TIME is set to.
 

Thanks to Ed and Ahmad: setting LC_TIME=C in ~/.bashrc was the solution

Kind regards

Joachim Backes

-- 

Fedora release 22 (Twenty Two)
Kernel-4.0.7-300.fc22.x86_64


Joachim Backes joachim.bac...@rhrk.uni-kl.de
https://www-user.rhrk.uni-kl.de/~backes
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Thunderbird lightning question

2015-06-30 Thread Ed Greshko
Sorry for the multiple replies but I just found another oddity if you're using 
KDE. 

In system-setttings, if you have personalization--Regional Settings--Formats 
Detailed Settings checked and  alter Time it will override whatever you have 
in your .bashrc.

You can see this, or check, by finding the PID of your T-Bird process, go to 
/proc/PID and cat environ and check what LC_TIME is set to.

-- 
Sorta what I want to say when folks habitually complain about Fedora - 
https://youtu.be/ZArl8fTfub4
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Color aliasing. Was Re: Awk and sort (of text files)

2015-06-30 Thread Suvayu Ali
On Mon, Jun 29, 2015 at 11:57:58PM -0700, Joe Zeff wrote:
 On 06/29/2015 11:37 PM, Ahmad Samir wrote:
 If you edit /etc/profile.d/colorls.sh then update coreutils your edits
 won't get replaced...
 
 That may be true, but the whole point is, I don't want ls to use colors.

I still don't get it, you can just do this in your ~/.bashrc and get rid
of colours.

  unset LS_COLORS
  unalias ls

In fact, if you do the second, the first one should not be required.  I
suggested this in my earlier post.  Did you try?

Cheers,

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


How do you store a Live Feed from a guitar

2015-06-30 Thread Gregory P. Ennis
Everyone,

I finally have enough time to play with my computer and guitar at the
same time.  Does anyone have a method of storing a live feed from a
guitar.  I have a guitar with an acoustic pickup that I normally use
with a regular amplifier.  I now have a usb audio cable from Alesis
LineLink that I can use to connect my Fedora 22 machine to the acoustic
pick up of the guitar.  

I connected the usb audio cable to the computer and to my guitar, but
was not able to get any software that that was on my F22 machine to
recognize the the live feed.

Have any of you used this kind of equipment or other kinds of equipment
to store a live feed from a guitar acoustic pickup.  I would like to be
able to play and store a song or two and then experiment with mixing
the sounds.

Any suggestions

Greg Ennis

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Strange booting problem

2015-06-30 Thread Chris Murphy
On Tue, Jun 30, 2015 at 5:59 PM, Chris Murphy li...@colorremedies.com wrote:
 Actually, another option is to put the legacy OS into a VM where it
 can then inherit some of the features of Linux, including LVM support.
 Then you can LVM this external drive instead of partitioning it, and
 then make an LV (or two or three or whatever) to use as backing for
 the VM, and then those VMs will see each LV as a drive, which you can
 partition and format with that legacy OS's tools however you want. Or
 use qcow2. Lots of options.

Plus as a legacy OS, it's reasonable to assume it has unpatched
security vulnerability that will never be fixed. It's not fore sure
safer to run it in a VM, it depends on the configuration of course,
but you have the ability to better isolate it than if it's running
baremetal.

-- 
Chris Murphy
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Strange booting problem

2015-06-30 Thread jd1008



On 06/30/2015 05:59 PM, Chris Murphy wrote:

Actually, another option is to put the legacy OS into a VM where it
can then inherit some of the features of Linux, including LVM support.
Then you can LVM this external drive instead of partitioning it, and
then make an LV (or two or three or whatever) to use as backing for
the VM, and then those VMs will see each LV as a drive, which you can
partition and format with that legacy OS's tools however you want. Or
use qcow2. Lots of options.

Very interesting. Very worth trying out.

Thanx!!
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Awk and sort (of text files)

2015-06-30 Thread Michael Hennebry

On Tue, 30 Jun 2015, jd1008 wrote:

Personally I tend to use a nontexty character for this kind of 
placeholder, such as ^G. Less risk of excountering that in the input 
text, and therefore less risk of accidentally mangling it.


Eliminate risk.
Replace all strings of e's with another string of e's, one e longer.
Replace the intra-paragraph newlines with one e each.
Sort.
Undo the previous replacements.
If, for some reason, one does not like e, use a vertical stroke.

--
Michael   henne...@web.cs.ndsu.nodak.edu
SCSI is NOT magic. There are *fundamental technical
reasons* why it is necessary to sacrifice a young
goat to your SCSI chain now and then.   --   John Woods
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Strange booting problem

2015-06-30 Thread Ronal B Morse

On 06/30/2015 06:04 PM, jd1008 wrote:



On 06/30/2015 05:59 PM, Chris Murphy wrote:

Actually, another option is to put the legacy OS into a VM where it
can then inherit some of the features of Linux, including LVM support.
Then you can LVM this external drive instead of partitioning it, and
then make an LV (or two or three or whatever) to use as backing for
the VM, and then those VMs will see each LV as a drive, which you can
partition and format with that legacy OS's tools however you want. Or
use qcow2. Lots of options.

Very interesting. Very worth trying out.

Thanx!!
This being an MSDOS partition you're talking about, there is a concept 
in the Windows world known as an active partition. I don't know if it is 
germane to this discussion, so I haven't raised it until now. 
Microsoft's CLI took for manipulating disk partitions is a called 
diskpart. The online documentation for diskpart says this about active 
partitions:


active
On basic disks, marks the partition with focus as active. This informs 
the basic input/output system (BIOS) or Extensible Firmware Interface 
(EFI) that the partition or volume is a valid system partition or system 
volume

Only partitions can be marked as active.
 Important
DiskPart verifies only that the partition is capable of containing an 
operating system's startup files. DiskPart does not check the contents 
of the partition. If you mistakenly mark a partition as active and it 
does not contain the operating system's startup files, your computer 
might not start.


I have no idea about the mechanics of active partitions (i.e., which 
bits get flipped to make a partition active) It may be what you have 
been discussing all along, but I thought I but this on the table. Seems 
to me that if you mark a partition as not active, the BIOS will not try 
to boot from it.


Or not.

Ignorance is my superpower

RBM


--

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: DNF problems - maybe force ftp-http ?

2015-06-30 Thread Patrick O'Callaghan
On Tue, 2015-06-30 at 13:22 +0200, Martin Møller Skarbiniks Pedersen
wrote:
 On 30 June 2015 at 13:20, Martin Møller Skarbiniks Pedersen 
 traxpla...@gmail.com wrote:
 
  On 29 June 2015 at 13:57, Patrick O'Callaghan 
  pocallag...@gmail.com
  wrote:
  
   On Mon, 2015-06-29 at 13:12 +0200, Martin Møller Skarbiniks 
   Pedersen
   wrote:
  I am having big problems install new software and upgrading 
my
current
F22 using DNF.
  Maybe I am wrong but I think that if I could force dnf to use
http(s)
instead of ftp, then my
problems would be solved.
   
   AFAIK there is no guarantee that repos will even support HTTP(S).
   
  
  
  
 Kind of solved. dnf is still very very slow or not working but
 yum-deprecated works perfect.

Try dnf clean all to make sure there's no crud left around. Mine was
also very slow for a time but is now quite fast. Don't really know why.

poc
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: akmod Nvidia dependencies

2015-06-30 Thread Ed Greshko
On 06/30/15 20:19, Patrick O'Callaghan wrote:
 Not sure whether to report this against dnf or Nvidia.

Don't know if the dnf folks care about it.  But shouldn't the question be 
between dnf and akmods?

-- 
Sorta what I want to say when folks habitually complain about Fedora - 
https://youtu.be/ZArl8fTfub4
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: akmod Nvidia dependencies

2015-06-30 Thread Richard Shaw
On Tue, Jun 30, 2015 at 7:25 AM, Tom Horsley horsley1...@gmail.com wrote:

 On Tue, 30 Jun 2015 13:19:47 +0100
 Patrick O'Callaghan wrote:

  So the problem is not with compilation, it's with dnf locking itself
  out.

 That's probably why yum runs the akmod compile in the background
 rather than waiting on it because when it waited on it, the database
 was locked :-).


Sorry guys, I've been out of town for work and other $FAMILY and $DAYJOB
issues so I'm going to take a look. There's a couple of open bugs with
akmods but I'm not 100% sure that the fixes mentioned address this
particular issue so any help investigating and reporting success/failure is
appreciated.

Thanks,
Richard
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: akmod Nvidia dependencies

2015-06-30 Thread Patrick O'Callaghan
On Tue, 2015-06-30 at 07:34 -0400, Tom Horsley wrote:
 If you don't give it time to recompile the driver
 after the yum update and before a reboot, things
 can be in a confusing state and it won't recompile
 after the boot. (At least that is what I have
 observed).
 
 I always run top after a yum update and wait till
 all the compilation and rpm activity disappears before
 I type reboot.
 
 If you install akmod-nvidia again, it will probably
 update the driver at that time and you'll be back
 to normal.

I'm using dnf (forgot to mention this is F22) but presumably the same
applies. However I did let some time pass before rebooting, not because
I was waiting for a recompilation but it just happened that way. I also
tried removing and reinstalling akmod-nvidia and it made no difference.

In any case I would have expected the update not to complete until the
module had finished recompiling.

poc
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: SELinux is preventing sh from getattr access on the file /usr/sbin/ldconfig.

2015-06-30 Thread Ed Greshko
On 06/30/15 19:31, Daniel J Walsh wrote:

 On 06/29/2015 01:45 PM, Andras Simon wrote:
 [Sorry for the late answer, I was away from this machine.]

 2015-06-28 1:01 GMT+02:00, Ed Greshko ed.gres...@greshko.com:
 On 06/27/15 21:15, Andras Simon wrote:
 2015-06-27 15:11 GMT+02:00, Andras Simon sza...@gmail.com:
 Should I be worried about the $subject?
 And there's also a SELinux is preventing sh from execute access on
 the file /usr/sbin/ldconfig which I've only just noticed. It sounds
 even scarier.

 Does your output match these?

 [egreshko@meimei ~]$ ls -Z /bin/bash
 system_u:object_r:shell_exec_t:s0 /bin/bash

 [egreshko@meimei ~]$ ls -Z /usr/sbin/ldconfig
 system_u:object_r:ldconfig_exec_t:s0 /usr/sbin/ldconfig
 Yes, I get the same result.

 Andras
 Everything seems correct.

 But the AVC's indicate that firewalld was attempting to runldconfig...

 Which I believe should not happen normally.  The transactions at the
 time of yum/rpm indicate
 that the transaction or at least the post install sections were being
 run as firewalld_t.

Should that be BZ's to against firewalld?

-- 
Sorta what I want to say when folks habitually complain about Fedora - 
https://youtu.be/ZArl8fTfub4
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: akmod Nvidia dependencies

2015-06-30 Thread Ed Greshko
On 06/30/15 19:47, Patrick O'Callaghan wrote:
 On Tue, 2015-06-30 at 07:34 -0400, Tom Horsley wrote:
 If you don't give it time to recompile the driver
 after the yum update and before a reboot, things
 can be in a confusing state and it won't recompile
 after the boot. (At least that is what I have
 observed).

 I always run top after a yum update and wait till
 all the compilation and rpm activity disappears before
 I type reboot.

 If you install akmod-nvidia again, it will probably
 update the driver at that time and you'll be back
 to normal.
 I'm using dnf (forgot to mention this is F22) but presumably the same
 applies. However I did let some time pass before rebooting, not because
 I was waiting for a recompilation but it just happened that way. I also
 tried removing and reinstalling akmod-nvidia and it made no difference.

 In any case I would have expected the update not to complete until the
 module had finished recompiling.

I have been seeing the same thing you're seeing.  I haven't tracked down the 
cause as of yet.
 
However, after doing the dnf upgrade of the kernel check in /var/cache/akmod 
and check the log.  You may see something like this

[root@meimei akmods]# tail akmods.log
2015/06/28 18:25:41 akmods: Building and installing nvidia-304xx-kmod
2015/06/28 18:25:41 akmods: Building RPM using the command '/bin/akmodsbuild 
--target x86_64 --kernels 4.0.6-300.fc22.x86_64 
/usr/src/akmods/nvidia-304xx-kmod.latest'
2015/06/28 18:26:00 akmods: Installing newly built rpms
2015/06/28 18:26:01 akmods: Could not install newly built RPMs. You can find 
them and the logfile
2015/06/28 18:26:01 akmods: 304.125-3.10-for-4.0.6-300.fc22.x86_64.failed.log 
in /var/cache/akmods/nvidia-304xx/
2015/06/28 18:26:01 akmods: Hint: Some kmods were ignored or failed to build or 
install.
2015/06/28 18:26:01 akmods: You can try to rebuild and install them by by 
calling
2015/06/28 18:26:01 akmods: '/usr/sbin/akmods --force' as root.

At this point you have 2 choices.  Check the /var/cache/akmods/nvidia-driver 
directory to see if the rpm has actually been built or run the command as a 
user as shown in the log.  In the case above it would be

/bin/akmodsbuild --target x86_64 --kernels 4.0.6-300.fc22.x86_64 
/usr/src/akmods/nvidia-304xx-kmod.latest

and install the resulting rpm.



-- 
Sorta what I want to say when folks habitually complain about Fedora - 
https://youtu.be/ZArl8fTfub4
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: akmod Nvidia dependencies

2015-06-30 Thread Tom Horsley
On Tue, 30 Jun 2015 12:47:24 +0100
Patrick O'Callaghan wrote:

 In any case I would have expected the update not to complete until the
 module had finished recompiling.

Yea, I expected that too up till I found I had no video after typing
reboot right after the update :-).
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: akmod Nvidia dependencies

2015-06-30 Thread Tom Horsley
On Tue, 30 Jun 2015 13:19:47 +0100
Patrick O'Callaghan wrote:

 So the problem is not with compilation, it's with dnf locking itself
 out.

That's probably why yum runs the akmod compile in the background
rather than waiting on it because when it waited on it, the database
was locked :-).
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: akmod Nvidia dependencies

2015-06-30 Thread Patrick O'Callaghan
On Tue, 2015-06-30 at 07:37 -0500, Richard Shaw wrote:
 On Tue, Jun 30, 2015 at 7:25 AM, Tom Horsley horsley1...@gmail.com 
 wrote:
 
  On Tue, 30 Jun 2015 13:19:47 +0100
  Patrick O'Callaghan wrote:
  
   So the problem is not with compilation, it's with dnf locking 
   itself
   out.
  
  That's probably why yum runs the akmod compile in the background
  rather than waiting on it because when it waited on it, the 
  database
  was locked :-).
  
 
 Sorry guys, I've been out of town for work and other $FAMILY and 
 $DAYJOB
 issues so I'm going to take a look. There's a couple of open bugs 
 with
 akmods but I'm not 100% sure that the fixes mentioned address this
 particular issue so any help investigating and reporting 
 success/failure is
 appreciated.

My only fix (really a workaround) was to run the process manually,
when dnf wasn't locking it out. There's clearly a race of some kind
with the normal installation process.

poc

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: akmod Nvidia dependencies

2015-06-30 Thread Richard Shaw
On Tue, Jun 30, 2015 at 7:48 AM, Patrick O'Callaghan pocallag...@gmail.com
wrote:

 On Tue, 2015-06-30 at 20:35 +0800, Ed Greshko wrote:
  On 06/30/15 20:19, Patrick O'Callaghan wrote:
   Not sure whether to report this against dnf or Nvidia.
 
  Don't know if the dnf folks care about it.  But shouldn't the
  question be between dnf and akmods?

 Isn't akmod produced by Nvidia?


Nope, it was written by one of the RPM Fusion founders Thorsten Leemhuis.

Thanks,
Richard
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: akmod Nvidia dependencies

2015-06-30 Thread Patrick O'Callaghan
On Tue, 2015-06-30 at 08:04 -0400, Tom Horsley wrote:
 On Tue, 30 Jun 2015 12:47:24 +0100
 Patrick O'Callaghan wrote:
 
  In any case I would have expected the update not to complete until 
  the
  module had finished recompiling.
 
 Yea, I expected that too up till I found I had no video after typing
 reboot right after the update :-).

IOW you had the same problem I had. I would regard that as a bug rather
than a feature :-)

poc
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: akmod Nvidia dependencies

2015-06-30 Thread Ed Greshko
On 06/30/15 20:04, Ed Greshko wrote:
 I haven't tracked down the cause as of yet.

Well the cause seems to be this

Install  1 Package

Total size: 3.7 M
Installed size: 15 M
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
RPMDB already locked by 20262
  The application with PID 20262 is: dnf
Memory : 131 M RSS (699 MB VSZ)
Started: Sun Jun 28 17:59:38 2015 - 26:23 ago
State  : Sleeping
2015/06/28 18:26:01 akmods: Could not install newly built RPMs. You can find 
them and the logfile
2015/06/28 18:26:01 akmods: 304.125-3.10-for-4.0.6-300.fc22.x86_64.failed.log 
in /var/cache/akmods/nvidia-304xx/

Just don't know the cure.  :-)

-- 
Sorta what I want to say when folks habitually complain about Fedora - 
https://youtu.be/ZArl8fTfub4
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: akmod Nvidia dependencies

2015-06-30 Thread Patrick O'Callaghan
On Tue, 2015-06-30 at 20:04 +0800, Ed Greshko wrote:
 On 06/30/15 19:47, Patrick O'Callaghan wrote:
  On Tue, 2015-06-30 at 07:34 -0400, Tom Horsley wrote:
   If you don't give it time to recompile the driver
   after the yum update and before a reboot, things
   can be in a confusing state and it won't recompile
   after the boot. (At least that is what I have
   observed).
   
   I always run top after a yum update and wait till
   all the compilation and rpm activity disappears before
   I type reboot.
   
   If you install akmod-nvidia again, it will probably
   update the driver at that time and you'll be back
   to normal.
  I'm using dnf (forgot to mention this is F22) but presumably the 
  same
  applies. However I did let some time pass before rebooting, not 
  because
  I was waiting for a recompilation but it just happened that way. I 
  also
  tried removing and reinstalling akmod-nvidia and it made no 
  difference.
  
  In any case I would have expected the update not to complete until 
  the
  module had finished recompiling.
 
 I have been seeing the same thing you're seeing.  I haven't tracked 
 down the cause as of yet.
  
 However, after doing the dnf upgrade of the kernel check in 
 /var/cache/akmod and check the log.  You may see something like 
 this
 
 [root@meimei akmods]# tail akmods.log
 2015/06/28 18:25:41 akmods: Building and installing nvidia-304xx-kmod
 2015/06/28 18:25:41 akmods: Building RPM using the command 
 '/bin/akmodsbuild --target x86_64 --kernels 4.0.6-300.fc22.x86_64 
 /usr/src/akmods/nvidia-304xx-kmod.latest'
 2015/06/28 18:26:00 akmods: Installing newly built rpms
 2015/06/28 18:26:01 akmods: Could not install newly built RPMs. You 
 can find them and the logfile
 2015/06/28 18:26:01 akmods: 304.125-3.10-for-4.0.6
 -300.fc22.x86_64.failed.log in /var/cache/akmods/nvidia-304xx/
 2015/06/28 18:26:01 akmods: Hint: Some kmods were ignored or failed 
 to build or install.
 2015/06/28 18:26:01 akmods: You can try to rebuild and install them 
 by by calling
 2015/06/28 18:26:01 akmods: '/usr/sbin/akmods --force' as root.
 
 At this point you have 2 choices.  Check the /var/cache/akmods/nvidia
 -driver directory to see if the rpm has actually been built or run 
 the command as a user as shown in the log.  In the case above it 
 would be
 
 /bin/akmodsbuild --target x86_64 --kernels 4.0.6-300.fc22.x86_64 
 /usr/src/akmods/nvidia-304xx-kmod.latest
 
 and install the resulting rpm.

This is what I find in the log:
Running transaction
RPMDB already locked by 22298
  The application with PID 22298 is: dnf
Memory : 124 M RSS (686 MB VSZ)
Started: Tue Jun 30 09:57:29 2015 - 03:30 ago
State  : Sleeping
2015/06/30 10:00:59 akmods: Could not install newly built RPMs. You can find 
them and the logfile
2015/06/30 10:00:59 akmods: 346.72-2.1-for-4.0.6-300.fc22.x86_64.failed.log in 
/var/cache/akmods/nvidia/

So the problem is not with compilation, it's with dnf locking itself
out.

Running '/usr/sbin/akmods --force' solved it.

Not sure whether to report this against dnf or Nvidia.

poc



-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: akmod Nvidia dependencies

2015-06-30 Thread Patrick O'Callaghan
On Tue, 2015-06-30 at 20:35 +0800, Ed Greshko wrote:
 On 06/30/15 20:19, Patrick O'Callaghan wrote:
  Not sure whether to report this against dnf or Nvidia.
 
 Don't know if the dnf folks care about it.  But shouldn't the 
 question be between dnf and akmods?

Isn't akmod produced by Nvidia?

poc

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: akmod Nvidia dependencies

2015-06-30 Thread Tom Horsley
On Tue, 30 Jun 2015 07:37:59 -0500
Richard Shaw wrote:

 On Tue, Jun 30, 2015 at 7:25 AM, Tom Horsley horsley1...@gmail.com wrote:
 
  On Tue, 30 Jun 2015 13:19:47 +0100
  Patrick O'Callaghan wrote:
 
   So the problem is not with compilation, it's with dnf locking itself
   out.
 
  That's probably why yum runs the akmod compile in the background
  rather than waiting on it because when it waited on it, the database
  was locked :-).
 
 
 Sorry guys, I've been out of town for work and other $FAMILY and $DAYJOB
 issues so I'm going to take a look. There's a couple of open bugs with
 akmods but I'm not 100% sure that the fixes mentioned address this
 particular issue so any help investigating and reporting success/failure is
 appreciated.

Here's a clue. I just booted my f22 partition and ran dnf update, which did
update the kernel and caused akmods to build a new nvidia driver. It worked
fine for me, it installed the nvidia driver with no problem, so perhaps it is
a timing issue and depends on how long various update activities take.

There is also stoopid packagekitd which seems to run at the most
inconvenient possible time to interfere with manual updates. I noticed it
started showing up in top right after I did the dnf update.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Toshiba support in the kernel.

2015-06-30 Thread stan
On Mon, 29 Jun 2015 21:33:01 -0600
Isaac Cortés González w.isaac.cor...@gmail.com wrote:

 So, as I'm not a hardcore developer or coder, I was wondering: Is the
 new support that it's dropped in the kernel for the Toshiba laptops
 build by default or I'd have to compile by myself from scratch?

I don't use a toshiba, but I compile custom kernels, and the default
configuration for the Fedora kernel in the latest version from koji,
4.2, has the following toshiba options set. Are these the
options you are talking about?

CONFIG_YENTA_TOSHIBA=y
CONFIG_PATA_TOSHIBA=m
CONFIG_MMC_TOSHIBA_PCI=m

Thanks for raising the question.  I'll be getting rid of them on my next
iteration, since they're just wasted bits for me.  :-)

That's the hard part of compiling a custom kernel; eliminating all the
irrelevant modules and functionality.  I've looked, and there doesn't
seem to be a program that scans the system, and only turns on hardware
modules for the system scanned.  I'm surprised, actually.  And I'm
thinking of hacking together something in python that uses lspci and
lsmod and /proc to turn off all the drivers I don't need in the .config
file.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: How do you store a Live Feed from a guitar

2015-06-30 Thread Doug



On 06/30/2015 08:42 PM, Gregory P. Ennis wrote:

Everyone,

I finally have enough time to play with my computer and guitar at the
same time.  Does anyone have a method of storing a live feed from a
guitar.  I have a guitar with an acoustic pickup that I normally use
with a regular amplifier.  I now have a usb audio cable from Alesis
LineLink that I can use to connect my Fedora 22 machine to the acoustic
pick up of the guitar.

I connected the usb audio cable to the computer and to my guitar, but
was not able to get any software that that was on my F22 machine to
recognize the the live feed.

Have any of you used this kind of equipment or other kinds of equipment
to store a live feed from a guitar acoustic pickup.  I would like to be
able to play and store a song or two and then experiment with mixing
the sounds.

Any suggestions

Greg Ennis


I have seen ads for a setup that will record vinyl records from a turntable
onto a PC thru a gizmo plugged into the USB port. If you were to find any
of the software that works with this, it may work with your guitar also.
You might need some sort of preamp between the guitar and the usb device,
but if it wants to work, you should hear _something_.

--doug
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Awk and sort (of text files)

2015-06-30 Thread Cameron Simpson

On 30Jun2015 21:02, michael hennebry henne...@web.cs.ndsu.nodak.edu wrote:

On Tue, 30 Jun 2015, jd1008 wrote:
Personally I tend to use a nontexty character for this kind of 
placeholder, such as ^G. Less risk of excountering that in the input 

text, and therefore less risk of accidentally mangling it.


Eliminate risk.
Replace all strings of e's with another string of e's, one e longer.
Replace the intra-paragraph newlines with one e each.
Sort.
Undo the previous replacements.
If, for some reason, one does not like e, use a vertical stroke.


Hmm. Nifty.

Cheers,
Cameron Simpson c...@zip.com.au

skeptic wrote:

Why are we exploring space?  To be sure, the scientific returns from
these missions are very interesting, but what are they really good for? [...]

The best answer was the one Leon Lederman (director of Fermilab) gave to Phil
Donahue when Donahue badgered him with What does it do for the defense of
the country? Leaving aside the absurdity of Donahue playing the hawk,
Lederman stood up on a chair and shouted him down, then replied,
It helps make it worth defending.
   - Doug Jones ran...@eau.net
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: rngd read error

2015-06-30 Thread stan
On Tue, 30 Jun 2015 01:11:27 +0200
Timothy Murphy gayle...@eircom.net wrote:

 Thanks very much.
 This gave me the info
   Error reading from TPM, no entropy gathered
 It seems that my Thinkpad T510 has a TPM chip,
 which I probably could turn on in some way.
 
 However, for the moment I've just run
   sudo systemctl disable rngd

Thanks for reporting this.  I had no idea it was happening.  I'm using
audio-entropyd to augment rngd, and it still is working, so I'm not
cryptographically compromised.  This is serious, because it's like
leaving the door unlocked on your house, when every other house on the
block has been burgled.

I've been thinking about purchasing a usb entropy generator, perhaps
this is the spur to actually do so.  I think they feed directly into
the entropy pool like audio-entropyd, bypassing rngd, but I'm not sure.

There are lots of them.
https://en.wikipedia.org/wiki/Comparison_of_hardware_random_number_generators

I like this pure digital model, anyone have experience with it?
http://kidekin.nimp.co.uk/trng/kidekin_trng_user_manual.html

They all seem pretty pricey, except for 
http://kidekin.nimp.co.uk/trng/kidekin_trng_user_manual.html
These can be purchased on Ebay for less than $10.  They don't seem as
robust to me.  Has anyone used this as an RNG solution?
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: gnome3 and gdm in f22

2015-06-30 Thread Paul Cartwright
On 06/30/2015 11:05 AM, Joachim Backes wrote:
 having the following problem in F22/gdm with my ATI-Radeon video card 5400:

 If logging out from a gnome3 session, it takes a very long time until
 the login screen of gdm re-appears (10-20 secs). Some times I have to
 restart my box because the screen remains dark after logging out (the
 screen reports: no signal).

 Sometimes it helps to click on the screen for getting back the login screen.

 But: if running mate for example as desktop environment, the gdm screen
 re-appears immediately after having logged out.

 Any recipe?

 Kind regards
I have a radeon card  I run Mate  Fedora 22 X86_64.
I also changed from gdm to lightdm long ago, just because of issues...

http://wiki.mate-desktop.org/session


LightDM

Install it from your distro repository. LightDM
https://wiki.archlinux.org/index.php/LightDM should autodetect Mate
Desktop.



-- 
Paul Cartwright
Registered Linux User #367800 and new counter #561587

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: akmod Nvidia dependencies

2015-06-30 Thread Patrick O'Callaghan
On Tue, 2015-06-30 at 09:30 -0500, Richard Shaw wrote:
 On Tue, Jun 30, 2015 at 9:28 AM, Ed Greshko ed.gres...@greshko.com 
 wrote:
 
  On 06/30/15 22:21, Richard Shaw wrote:
   On Tue, Jun 30, 2015 at 7:50 AM, Patrick O'Callaghan 
  pocallag...@gmail.com mailto:pocallag...@gmail.com wrote:
   
   My only fix (really a workaround) was to run the process 
   manually,
   when dnf wasn't locking it out. There's clearly a race of 
   some kind
   with the normal installation process.
   
   
   What's interesting here is that the shutdown service or start 
   service
  should catch this, UNLESS, it doesn't catch the situation where the
  compilation completes but the install does not...
   
   Do you have both/either services enabled?
   
  
  I'm not familiar with a shutdown or start service.
  
  [root@acer ~]# systemctl status shutdown
  ● shutdown.service
 Loaded: not-found (Reason: No such file or directory)
 Active: inactive (dead)
  [root@acer ~]# systemctl status start
  ● start.service
 Loaded: not-found (Reason: No such file or directory)
 Active: inactive (dead
  
  FWIW, I see the failure to install the akmod built rpms on 2 
  systems 100%
  of the time since upgrading to F22.
  
 
 Sorry, I should have been more specific, the services are called 
 akmods
 and akmods-shutdown. Enabling either one should help... The 
 shutdown one
 if dnf releases the lock before you shutdown or the bootup one in 
 case that
 one fails.
 
 $ systemctl status akmods
 ● akmods.service - Builds and install new kmods from akmod packages
Loaded: loaded (/usr/lib/systemd/system/akmods.service; enabled)
Active: active (exited) since Sun 2015-06-14 11:20:19 CDT; 2 weeks 
 1
 days ago
  Main PID: 852 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/akmods.service
 $ systemctl status akmods-shutdown
 ● akmods-shutdown.service - Builds and install new kmods from akmod 
 packages
Loaded: loaded (/usr/lib/systemd/system/akmods-shutdown.service; 
 enabled)
Active: active (exited) since Sun 2015-06-14 11:20:08 CDT; 2 weeks 
 1
 days ago
  Main PID: 876 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/akmods-shutdown.service

I have both of those running as shown.

To be clear: The dnf lock is detected after the akmod compile, during
the rpm install phase. I don't see how that is related to system
shutdown or startup. 

poc
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Toshiba support in the kernel.

2015-06-30 Thread Heinz Diehl
On 30.06.2015, stan wrote: 

 That's the hard part of compiling a custom kernel; eliminating all the
 irrelevant modules and functionality.  I've looked, and there doesn't
 seem to be a program that scans the system, and only turns on hardware
 modules for the system scanned.

make localmodconfig is what you're after. Be aware that
localmodconfig does exactly what you want. So if you e.g. don't have
connected a device containing an ext4 filesystem at the moment you
issue the command, ext4 support won't be in your new kernel.

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: rngd read error

2015-06-30 Thread stan
On Tue, 30 Jun 2015 07:14:09 -0700
stan stanl-fedorau...@vfemail.net wrote:

 They all seem pretty pricey, except for 
 http://kidekin.nimp.co.uk/trng/kidekin_trng_user_manual.html
 These can be purchased on Ebay for less than $10.  They don't seem as
 robust to me.  Has anyone used this as an RNG solution?

Messed up.  This link should be
http://sdr.osmocom.org/trac/wiki/rtl-sdr
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: akmod Nvidia dependencies

2015-06-30 Thread Richard Shaw
On Tue, Jun 30, 2015 at 7:50 AM, Patrick O'Callaghan pocallag...@gmail.com
wrote:

 My only fix (really a workaround) was to run the process manually,
 when dnf wasn't locking it out. There's clearly a race of some kind
 with the normal installation process.


What's interesting here is that the shutdown service or start service
should catch this, UNLESS, it doesn't catch the situation where the
compilation completes but the install does not...

Do you have both/either services enabled?

Thanks,
Richard
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: need grub experts

2015-06-30 Thread stan
On Mon, 29 Jun 2015 22:29:40 +0200
François Patte francois.pa...@mi.parisdescartes.fr wrote:
 I cannot get a correct resolution for grub. Here is
 my /etc/defaul/grub:
 
 
 GRUB_TIMEOUT=10
 GRUB_DISTRIBUTOR=$(sed 's, release .*$,,g' /etc/system-release)
 GRUB_DEFAULT=0
 #GRUB_SAVEDEFAULT=true
 GRUB_DISABLE_SUBMENU=true
 GRUB_TERMINAL_OUTPUT=gfxterm
 GRUB_CMDLINE_LINUX=rd.md.uuid=81f15cb5:748fb5c1:42bef1a6:1ea1ce47
 rd.lvm.lv=fedora/usr rd.md.uuid=4a28174a:f38b4938:233f85f7:6ce585a8
 rd.lvm.lv=fedora/racine rd.md.uuid=9f878179:a58f5c78:f645e22e:d7d3c896
 rd.lvm.lv=systeme/swap rhgb quiet
 GRUB_DISABLE_RECOVERY=true
 GRUB_GFXMODE=1280x1024x32
 GRUB_GFXPAYLOAD_LINUX=keep
 GRUB_BACKGROUND=/boot/grub2/themes/system/fireworks.png
 
 #GRUB_THEME=/boot/grub2/themes/system/theme.txt
 export GRUB_COLOR_NORMAL=light-gray/black
 export GRUB_COLOR_HIGHLIGHT=magenta/black
 GRUB_FONT=/boot/grub2/unicode.pf2
 -
 
 So, as far as I read the grub doc, because of
 GRUB_GFXPAYLOAD_LINUX=keep
 
 It is suppose to apply the 1280x1024 resolution to the console during
 the boot. But it is not the case! I get this resolution only with the
 grub first screen: fireworks image and the entry list.
 
 What is missing in my config?
 
 Strangely, I have a custom file: /etc/grub.d/40_custom, to boot a
 debian install:
 
 ---
   menuentry 'Debian GNU/Linux, avec Linux 3.2.0-4-amd64' --class
 debian --class gnu-linux --class gnu --class os {
 load_video
 set gfxpayload=keep
 insmod gzio
 insmod mdraid09
 insmod part_msdos
 insmod part_msdos
 insmod ext2
 set root='(mduuid/eb8b5efe5a8f9369e940a0f383d63ad1)'
 search --no-floppy --fs-uuid --set=root
 17e0b155-4d77-4769-b568-723329c5f656
 echo'Chargement de Linux 3.2.0-4-amd64 ...'
 linux   /vmlinuz-3.2.0-4-amd64
 root=/dev/mapper/debian-deb--racine ro  quiet
 echo'Chargement du disque mémoire initial ...'
 initrd  /initrd.img-3.2.0-4-amd64
 }
 -
 
 In that case, the set gfxpayload=keep instruction succeeds to give
 the correct resolution during the debian boot.
 
 
 Thanks for any help and suggestion.

It works for me without any of that in /etc/grub/default, though I used
to have it there.

$ cat /etc/default/grub
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=$(sed 's, release .*$,,g' /etc/system-release)
GRUB_DEFAULT=saved
#GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT=console
GRUB_CMDLINE_LINUX=SYSFONT=latarcyrheb-sun16 LANG=en_US.UTF-8 KEYTABLE=uneaf 
CONSOLEBLANK=60

Here is a boot stanza from my /boot/grub2/grub.cfg, generated with
grub2-mkconfig -o grub.cfg
Looks a lot like the Debian stanza that works.

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Fedora' --class fedora --class gnu-linux --class gnu --class os 
--unrestricted $menuentry_id_option 
'gnulinux-simple-f908bebb-66db-48db-a429-fe716bf67592' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 
--hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 --hint='hd0,gpt1'  
d56ad7bb-4913-45b7-a56e-562e6275b995
else
  search --no-floppy --fs-uuid --set=root 
d56ad7bb-4913-45b7-a56e-562e6275b995
fi
linux16 /vmlinuz-4.2.0-0.rc0.git1.1.20150627.fc21.x86_64 
root=UUID=f908bebb-66db-48db-a429-fe716bf67592 ro SYSFONT=latarcyrheb-sun16 
LANG=en_US.UTF-8 KEYTABLE=uneaf CONSOLEBLANK=60 
initrd16 /custom-4.2.0-0.rc0.git1.1.20150627.fc21.x86_64.img
}

Incidentally, though the consoleblank=60 is supposed to set the timeout
on virtual consoles to 60 minutes, it doesn't work.  I still have to
set it manually after logging in.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: gnome3 and gdm in f22

2015-06-30 Thread Chris Murphy
On Tue, Jun 30, 2015 at 9:36 AM, Chris Murphy li...@colorremedies.com wrote:

 If that solves the problem then it's likely related to gdm on Wayland
 and you can search for a bug to me too, or file a new one.

Actually best to file a new one because these problems all seem to be
GPU specific. So include all the info on the hardware you can and of
course journalctl -b output.


-- 
Chris Murphy
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: akmod Nvidia dependencies

2015-06-30 Thread Richard Shaw
On Tue, Jun 30, 2015 at 9:28 AM, Ed Greshko ed.gres...@greshko.com wrote:

 On 06/30/15 22:21, Richard Shaw wrote:
  On Tue, Jun 30, 2015 at 7:50 AM, Patrick O'Callaghan 
 pocallag...@gmail.com mailto:pocallag...@gmail.com wrote:
 
  My only fix (really a workaround) was to run the process manually,
  when dnf wasn't locking it out. There's clearly a race of some kind
  with the normal installation process.
 
 
  What's interesting here is that the shutdown service or start service
 should catch this, UNLESS, it doesn't catch the situation where the
 compilation completes but the install does not...
 
  Do you have both/either services enabled?
 

 I'm not familiar with a shutdown or start service.

 [root@acer ~]# systemctl status shutdown
 ● shutdown.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
 [root@acer ~]# systemctl status start
 ● start.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead

 FWIW, I see the failure to install the akmod built rpms on 2 systems 100%
 of the time since upgrading to F22.


Sorry, I should have been more specific, the services are called akmods
and akmods-shutdown. Enabling either one should help... The shutdown one
if dnf releases the lock before you shutdown or the bootup one in case that
one fails.

$ systemctl status akmods
● akmods.service - Builds and install new kmods from akmod packages
   Loaded: loaded (/usr/lib/systemd/system/akmods.service; enabled)
   Active: active (exited) since Sun 2015-06-14 11:20:19 CDT; 2 weeks 1
days ago
 Main PID: 852 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/akmods.service
$ systemctl status akmods-shutdown
● akmods-shutdown.service - Builds and install new kmods from akmod packages
   Loaded: loaded (/usr/lib/systemd/system/akmods-shutdown.service; enabled)
   Active: active (exited) since Sun 2015-06-14 11:20:08 CDT; 2 weeks 1
days ago
 Main PID: 876 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/akmods-shutdown.service

Thanks,
Richard
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


gnome3 and gdm in f22

2015-06-30 Thread Joachim Backes
Hi all F22 users,

having the following problem in F22/gdm with my ATI-Radeon video card 5400:

If logging out from a gnome3 session, it takes a very long time until
the login screen of gdm re-appears (10-20 secs). Some times I have to
restart my box because the screen remains dark after logging out (the
screen reports: no signal).

Sometimes it helps to click on the screen for getting back the login screen.

But: if running mate for example as desktop environment, the gdm screen
re-appears immediately after having logged out.

Any recipe?

Kind regards

Joachim Backes

Fedora release 22 (Twenty Two)
Kernel-4.0.7-300.fc22.x86_64


Joachim Backes joachim.bac...@rhrk.uni-kl.de
https://www-user.rhrk.uni-kl.de/~backes
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Firefox scrollbar problem

2015-06-30 Thread Ahmad Samir
On 30 June 2015 at 16:28, Ralf Corsepius rc040...@freenet.de wrote:


 For me, Firefox does not respect the theme I have selected in xfce.

 It seems to be using some built-in theme (probably from Gnome) which is
 pretty much unusable on mouse-less systems.



In F22? IIUC (I don't use xfce myself) the xfce theme settings can
change the theme for GTK2 apps, but FF is GTK3 based in F22...

-- 
Ahmad Samir
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Firefox scrollbar problem

2015-06-30 Thread Ahmad Samir
On 30 June 2015 at 17:42, Ralf Corsepius rc040...@freenet.de wrote:
 On 06/30/2015 05:23 PM, Ahmad Samir wrote:

 On 30 June 2015 at 16:28, Ralf Corsepius rc040...@freenet.de wrote:



 For me, Firefox does not respect the theme I have selected in xfce.

 It seems to be using some built-in theme (probably from Gnome) which is
 pretty much unusable on mouse-less systems.



 In F22?


 Yes, this is on F22.

 I am using xfce with a theme with arrow-buttons at the end of scrollbars,
 but firefox and other Gnome3 stuff seems to insist on arrow-less scrollbars
 and ignores the theme.


GTK3 theme selection isn't affected by the GTK2 theme selection; does
the theme you're using have a GTK3 variant? if it does edit
~/.config/gtk-3.0/settings.ini:
[Settings]
gtk-theme-name=Adwaita

Adwaita is the default GTK3 theme.

-- 
Ahmad Samir
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Toshiba support in the kernel.

2015-06-30 Thread stan
On Tue, 30 Jun 2015 16:24:56 +0200
Heinz Diehl htd...@fritha.org wrote:

 On 30.06.2015, stan wrote: 
 
  That's the hard part of compiling a custom kernel; eliminating all
  the irrelevant modules and functionality.  I've looked, and there
  doesn't seem to be a program that scans the system, and only turns
  on hardware modules for the system scanned.
 
 make localmodconfig is what you're after. Be aware that
 localmodconfig does exactly what you want. So if you e.g. don't have
 connected a device containing an ext4 filesystem at the moment you
 issue the command, ext4 support won't be in your new kernel.
 
Whoa!  Thank you!  This could be a game changer.  Yeah, it's a little
risky, but my system is very stable, and I only compile kernels when
everything is attached and running smoothly.

I'm surprised this wasn't mentioned in the build instructions at
kernel.org.  Or maybe I just missed it.  

Now I've got to rush off and compile a new kernel.  :-)
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: akmod Nvidia dependencies

2015-06-30 Thread Richard Shaw
On Tue, Jun 30, 2015 at 11:13 AM, Patrick O'Callaghan pocallag...@gmail.com
 wrote:

 I have both of those running as shown.

 To be clear: The dnf lock is detected after the akmod compile, during
 the rpm install phase. I don't see how that is related to system
 shutdown or startup.


It's not directly. Basically it gives you two more opportunities to build
and install the driver. The one at system startup should always work if
it's just a dnf/rpmdb lock issue.

Thanks,
Richard
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Firefox scrollbar problem

2015-06-30 Thread Ralf Corsepius

On 06/27/2015 02:01 AM, Sam Varshavchik wrote:

Ralf Corsepius writes:


On 06/26/2015 07:22 PM, Gordon Messmer wrote:


I don't know about a workaround, but it's probably worth noting that
(unless I'm confused) Firefox in F22 has been ported to GTK3, and
Thunderbird has not.

Does this also explain, why Firefox scrollbars don't anymore with xfce?


I use the xfce desktop. Aside from the obnoxious left/right mouse button
swap behavior with GTK scrollbars, works for me.


For me, Firefox does not respect the theme I have selected in xfce.

It seems to be using some built-in theme (probably from Gnome) which is 
pretty much unusable on mouse-less systems.


Ralf


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Firefox scrollbar problem

2015-06-30 Thread Ralf Corsepius

On 06/30/2015 05:23 PM, Ahmad Samir wrote:

On 30 June 2015 at 16:28, Ralf Corsepius rc040...@freenet.de wrote:



For me, Firefox does not respect the theme I have selected in xfce.

It seems to be using some built-in theme (probably from Gnome) which is
pretty much unusable on mouse-less systems.




In F22?


Yes, this is on F22.

I am using xfce with a theme with arrow-buttons at the end of 
scrollbars, but firefox and other Gnome3 stuff seems to insist on 
arrow-less scrollbars and ignores the theme.


Ralf

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: akmod Nvidia dependencies

2015-06-30 Thread Ed Greshko
On 06/30/15 22:21, Richard Shaw wrote:
 On Tue, Jun 30, 2015 at 7:50 AM, Patrick O'Callaghan pocallag...@gmail.com 
 mailto:pocallag...@gmail.com wrote:

 My only fix (really a workaround) was to run the process manually,
 when dnf wasn't locking it out. There's clearly a race of some kind
 with the normal installation process.


 What's interesting here is that the shutdown service or start service should 
 catch this, UNLESS, it doesn't catch the situation where the compilation 
 completes but the install does not...

 Do you have both/either services enabled? 


I'm not familiar with a shutdown or start service.

[root@acer ~]# systemctl status shutdown
● shutdown.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)
[root@acer ~]# systemctl status start
● start.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead

FWIW, I see the failure to install the akmod built rpms on 2 systems 100% of 
the time since upgrading to F22.


-- 
Sorta what I want to say when folks habitually complain about Fedora - 
https://youtu.be/ZArl8fTfub4
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: akmod Nvidia dependencies

2015-06-30 Thread Ed Greshko
On 06/30/15 22:30, Richard Shaw wrote:
 Sorry, I should have been more specific, the services are called akmods and 
 akmods-shutdown. Enabling either one should help... The shutdown one if dnf 
 releases the lock before you shutdown or the bootup one in case that one 
 fails.

 $ systemctl status akmods
 ● akmods.service - Builds and install new kmods from akmod packages
Loaded: loaded (/usr/lib/systemd/system/akmods.service; enabled)
Active: active (exited) since Sun 2015-06-14 11:20:19 CDT; 2 weeks 1 days 
 ago
  Main PID: 852 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/akmods.service
 $ systemctl status akmods-shutdown
 ● akmods-shutdown.service - Builds and install new kmods from akmod packages
Loaded: loaded (/usr/lib/systemd/system/akmods-shutdown.service; enabled)
Active: active (exited) since Sun 2015-06-14 11:20:08 CDT; 2 weeks 1 days 
 ago
  Main PID: 876 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/akmods-shutdown.service

I see

Well, first I must admit that on both of my systems I notice the failure before 
I reboot and I correct the issue.  So, I don't know if having those enabled 
will fix the issue.  But just for completeness...

[root@acer ~]# systemctl status akmods
● akmods.service - Builds and install new kmods from akmod packages
   Loaded: loaded (/usr/lib/systemd/system/akmods.service; enabled; vendor 
preset: disabled)
   Active: active (exited) since Tue 2015-06-30 09:08:56 CST; 13h ago
  Process: 754 ExecStart=/usr/sbin/akmods --from-init (code=exited, 
status=0/SUCCESS)
 Main PID: 754 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/akmods.service

Jun 30 09:08:46 acer.greshko.com systemd[1]: Starting Builds and install new
Jun 30 09:08:56 acer.greshko.com akmods[754]: Checking kmods exist for 4.0.6...]
Jun 30 09:08:56 acer.greshko.com systemd[1]: Started Builds and install new 

[root@acer ~]# systemctl status akmods-shutdown
● akmods-shutdown.service - Builds and install new kmods from akmod packages
   Loaded: loaded (/usr/lib/systemd/system/akmods-shutdown.service; enabled; 
vendor preset: disabled)
   Active: active (exited) since Tue 2015-06-30 09:08:47 CST; 14h ago
  Process: 774 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
 Main PID: 774 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/akmods-shutdown.service

Jun 30 09:08:46 acer.greshko.com systemd[1]: Starting Builds and install new
Jun 30 09:08:47 acer.greshko.com systemd[1]: Started Builds and install new 

I gather I should test at the next kernel update if this does fix the issue.

-- 
Sorta what I want to say when folks habitually complain about Fedora - 
https://youtu.be/ZArl8fTfub4
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: gnome3 and gdm in f22

2015-06-30 Thread Chris Murphy
On Tue, Jun 30, 2015 at 9:05 AM, Joachim Backes
joachim.bac...@rhrk.uni-kl.de wrote:
 Hi all F22 users,

 having the following problem in F22/gdm with my ATI-Radeon video card 5400:

 If logging out from a gnome3 session, it takes a very long time until
 the login screen of gdm re-appears (10-20 secs). Some times I have to
 restart my box because the screen remains dark after logging out (the
 screen reports: no signal).

 Sometimes it helps to click on the screen for getting back the login screen.

 But: if running mate for example as desktop environment, the gdm screen
 re-appears immediately after having logged out.

 Any recipe?

I have the same problem. It could be related to gdm on Wayland. Try
editing /etc/gdm/custom.conf such that you uncomment the line
WaylandEnable=false

If that solves the problem then it's likely related to gdm on Wayland
and you can search for a bug to me too, or file a new one.

-- 
Chris Murphy
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Color aliasing. Was Re: Awk and sort (of text files)

2015-06-30 Thread Joe Zeff

On 06/30/2015 01:36 AM, Suvayu Ali wrote:

In fact, if you do the second, the first one should not be required.  I
suggested this in my earlier post.  Did you try?


I started out by saying that I'd added alias ls=ls to .bashrc, which is 
the same thing as what you're suggesting.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Awk and sort (of text files)

2015-06-30 Thread Bill Oliver

On Mon, 29 Jun 2015, jd1008 wrote:


[snip]
Here is the simplest solution and it does what I want without resorting to 
awk:

for i in `/bin/ls -1 lists*`; do
sed '/./{H;d;};x;s/\n/={NL}=/g' $i | sort | sed '1s/={NL}=//;s/={NL}=/\n/g'  
$i.sorted.txt

done





I bow before a Master.

So, I'm trying to parse this...

I don't know what NL does.  From my reading I see the N command adds the current line to the pattern space 
with a newline character. I can't figure out what the L does, though, or if NL is a different command than 
N followed by L



billo
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: akmod Nvidia dependencies

2015-06-30 Thread Patrick O'Callaghan
On Tue, 2015-06-30 at 07:56 -0500, Richard Shaw wrote:
 On Tue, Jun 30, 2015 at 7:48 AM, Patrick O'Callaghan 
 pocallag...@gmail.com
 wrote:
 
  On Tue, 2015-06-30 at 20:35 +0800, Ed Greshko wrote:
   On 06/30/15 20:19, Patrick O'Callaghan wrote:
Not sure whether to report this against dnf or Nvidia.
   
   Don't know if the dnf folks care about it.  But shouldn't the
   question be between dnf and akmods?
  
  Isn't akmod produced by Nvidia?
 
 
 Nope, it was written by one of the RPM Fusion founders Thorsten 
 Leemhuis.

OK.

poc

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Toshiba support in the kernel.

2015-06-30 Thread stan
On Tue, 30 Jun 2015 11:20:36 -0600
Chris Murphy li...@colorremedies.com wrote:

 Does localmodconfig set drivers to n such that they aren't even
 compiled? Or are they m such that they are modules that are only
 loaded on demand? I'm going to guess the answer is n, the point of
 which is it saves a ton of compile time, not so much creating a lean
 kernel (as anything not needed wouldn't be loaded anyway). Correct?

The new kernel compiled with localmodconfig is running just fine.
 
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Toshiba support in the kernel.

2015-06-30 Thread Chris Murphy
On Tue, Jun 30, 2015 at 8:24 AM, Heinz Diehl htd...@fritha.org wrote:
 On 30.06.2015, stan wrote:

 That's the hard part of compiling a custom kernel; eliminating all the
 irrelevant modules and functionality.  I've looked, and there doesn't
 seem to be a program that scans the system, and only turns on hardware
 modules for the system scanned.

 make localmodconfig is what you're after. Be aware that
 localmodconfig does exactly what you want. So if you e.g. don't have
 connected a device containing an ext4 filesystem at the moment you
 issue the command, ext4 support won't be in your new kernel.

Does localmodconfig set drivers to n such that they aren't even
compiled? Or are they m such that they are modules that are only
loaded on demand? I'm going to guess the answer is n, the point of
which is it saves a ton of compile time, not so much creating a lean
kernel (as anything not needed wouldn't be loaded anyway). Correct?

-- 
Chris Murphy
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Firefox scrollbar problem

2015-06-30 Thread Ralf Corsepius

On 06/30/2015 05:48 PM, Ahmad Samir wrote:

On 30 June 2015 at 17:42, Ralf Corsepius rc040...@freenet.de wrote:

On 06/30/2015 05:23 PM, Ahmad Samir wrote:


On 30 June 2015 at 16:28, Ralf Corsepius rc040...@freenet.de wrote:




For me, Firefox does not respect the theme I have selected in xfce.

It seems to be using some built-in theme (probably from Gnome) which is
pretty much unusable on mouse-less systems.




In F22?



Yes, this is on F22.

I am using xfce with a theme with arrow-buttons at the end of scrollbars,
but firefox and other Gnome3 stuff seems to insist on arrow-less scrollbars
and ignores the theme.



GTK3 theme selection isn't affected by the GTK2 theme selection; does
the theme you're using have a GTK3 variant? if it does edit
~/.config/gtk-3.0/settings.ini:
[Settings]
gtk-theme-name=Adwaita

Adwaita is the default GTK3 theme.

I am using ClearLooks, AdWaita lacks the arrows and therefore is 
unusable crap (Like much of Gnoem3)


Ralf

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: akmod Nvidia dependencies

2015-06-30 Thread Patrick O'Callaghan
On Tue, 2015-06-30 at 11:18 -0500, Richard Shaw wrote:
 On Tue, Jun 30, 2015 at 11:13 AM, Patrick O'Callaghan 
 pocallag...@gmail.com
  wrote:
 
  I have both of those running as shown.
  
  To be clear: The dnf lock is detected after the akmod compile, 
  during
  the rpm install phase. I don't see how that is related to system
  shutdown or startup.
 
 
 It's not directly. Basically it gives you two more opportunities to 
 build
 and install the driver. The one at system startup should always work 
 if
 it's just a dnf/rpmdb lock issue.

I see. In that case, it didn't work. I do have the services you
mentioned and the problem still arose, unless of course the problem was
a lock file being left around when it should have been removed. That
would imply a problem with the ordering of events at shutdown or
startup.

poc
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Toshiba support in the kernel.

2015-06-30 Thread stan
On Tue, 30 Jun 2015 11:20:36 -0600
Chris Murphy li...@colorremedies.com wrote:

 On Tue, Jun 30, 2015 at 8:24 AM, Heinz Diehl htd...@fritha.org
 wrote:
  On 30.06.2015, stan wrote:
 
  That's the hard part of compiling a custom kernel; eliminating all
  the irrelevant modules and functionality.  I've looked, and there
  doesn't seem to be a program that scans the system, and only turns
  on hardware modules for the system scanned.
 
  make localmodconfig is what you're after. Be aware that
  localmodconfig does exactly what you want. So if you e.g. don't have
  connected a device containing an ext4 filesystem at the moment you
  issue the command, ext4 support won't be in your new kernel.
 
 Does localmodconfig set drivers to n such that they aren't even
 compiled? Or are they m such that they are modules that are only
 loaded on demand? I'm going to guess the answer is n, the point of
 which is it saves a ton of compile time, not so much creating a lean
 kernel (as anything not needed wouldn't be loaded anyway). Correct?
 

I just compiled a kernel using localmodconfig, and you are exactly
right.  It set all the modules I didn't need to n, and the kernel
compiled a lot more quickly than usual.  The size of the kernel was
just slightly smaller than previously.  It used the configuration of
the running kernel as a starting point, so I didn't lose all the
other customization I had implemented over the iterations.  I'm just
about to boot into the new kernel, so the proof of the pudding will
soon be apparent.  If it boots, as it should, I'll be pleased with this
way of building kernels.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Toshiba support in the kernel.

2015-06-30 Thread stan
On Tue, 30 Jun 2015 11:20:36 -0600
Chris Murphy li...@colorremedies.com wrote:

 Does localmodconfig set drivers to n such that they aren't even
 compiled? Or are they m such that they are modules that are only
 loaded on demand? I'm going to guess the answer is n, the point of
 which is it saves a ton of compile time, not so much creating a lean
 kernel (as anything not needed wouldn't be loaded anyway). Correct?

The other thing I noticed that was different from my former compiles,
is that this one didn't generate a new perf or python-perf. 
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


After installing Fedora Workstation ...

2015-06-30 Thread jd1008

During install, Anaconda let's you select one desktop from
the left column,  and then select the groups of packages from
the right column.

Fine.

Now that fedora is up and running, how does one add a group
of packages ala the groupings presented by anaconda?

Where is the list of such group names documented, what
packages they contain, and how to install them.

Thanx!!!
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Toshiba support in the kernel.

2015-06-30 Thread Chris Murphy
Just as an FYI for those who may not know this, but the Fedora Project
has build servers almost constantly building new kernels. You can go
to koji.fedoraproject.org and type in kernel in the package field. Or
go to URL http://koji.fedoraproject.org/koji/packageinfo?packageID=8

For example today's built kernels already are:
kernel-4.0.7-300.fc22
kernel-4.0.7-200.fc21

And for the bleeding edgers, yesterday's build was:
kernel-4.2.0-0.rc0.git2.1.fc23

For the uninitiated, be aware the git kernels often have kernel
debugging enabled and will run slower. Typically the first (U.S.) work
day after a kernel release, there will be non-debug and debug kernels
listed; but when a debug kernel is not listed that means all of those
builds are debug kernels.

So it's possible to completely avoid building kernels if you don't
have special customizations you need done, and yet get very recent
kernel versions.


Chris Murphy







-- 
Chris Murphy
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


software: how does it really work?

2015-06-30 Thread andrea

Hi,

I'm on Fedora 22 default gnome desktop.

I've got a few questions about software

1) how does it integrate with dnf? for instance if I do dnf history I do not see any of the 
transactions done with the software app.


2) do software and dnf have the same source? there are packages available 
only via dnf.

3) when I check for updates software most of the times says

up to date - nothing to do - checked at XX:YY (maybe 2 minutes ago)

Then I force it to check and often it finds something to update. Once it is a coincidence, but is it 
possible that so often updates are published just in the few minutes between the automatic and 
manual check?


Andrea

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: After installing Fedora Workstation ...

2015-06-30 Thread Patrick O'Callaghan
On Tue, 2015-06-30 at 14:51 -0600, jd1008 wrote:
 During install, Anaconda let's you select one desktop from
 the left column,  and then select the groups of packages from
 the right column.
 
 Fine.
 
 Now that fedora is up and running, how does one add a group
 of packages ala the groupings presented by anaconda?
 
 Where is the list of such group names documented, what
 packages they contain, and how to install them.

man dnf

(hint: dnf grouplist, dnf [-v] group info group-name)

poc
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Thunderbird lightning question

2015-06-30 Thread Ed Greshko
On 06/30/15 14:30, Joachim Backes wrote:
 anybody knows how to change the thunderbird ligntning time format from
 AM/PM presentation to the 24h presentation?

T-Bird, and T-Bird-lightning (now now longer an extension) have always followed 
the settings of my locale.

I use KDE and force my LC_TIME=C (due to changes in KDE) and everything is 
always 24hr format.

-- 
Sorta what I want to say when folks habitually complain about Fedora - 
https://youtu.be/ZArl8fTfub4
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Color aliasing. Was Re: Awk and sort (of text files)

2015-06-30 Thread Joe Zeff

On 06/29/2015 11:37 PM, Ahmad Samir wrote:

If you edit /etc/profile.d/colorls.sh then update coreutils your edits
won't get replaced...


That may be true, but the whole point is, I don't want ls to use colors.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Thunderbird lightning question

2015-06-30 Thread Ed Greshko
Oh, I forgot to mention

If you use KDE there is currently a bug in system settings.  If you set the 
individually set the locale for Time formats to C in the GUI it will actually 
set it LC_TIME=C.utf-8 or something like that which is non-existent and lead 
to several issues.

You need to set it in your .bashrc to get things right.

-- 
Sorta what I want to say when folks habitually complain about Fedora - 
https://youtu.be/ZArl8fTfub4
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Color aliasing. Was Re: Awk and sort (of text files)

2015-06-30 Thread Joe Zeff

On 06/29/2015 08:50 PM, Ahmad Samir wrote:

which means that if you edit /etc/profile.d/colorls.sh your changes
will be preserved even after updating the coreutils package (the
/etc/profile.d/colorls.sh file from the new package will be installed
with an .rpmnew extension).


Yes, but the script that sets the alias does get replaced, even if I've 
edited it to comment out that particular line.  I have no problem with 
the colors being set, I just don't like having it use those colors by 
default.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


DNF problems. (George R Goffe)

2015-06-30 Thread George R Goffe
Thanks to whomever hinted groupinstall. It's working great.

This option is NOT listed in the man page. Sigh. 


FWIW, I'll file a bug report for this. I wonder what else is missing...

Anyway, THANKS for your help!

George...
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: DNF problems. (George R Goffe)

2015-06-30 Thread Ed Greshko
On 06/30/15 14:02, George R Goffe wrote:
 Thanks to whomever hinted groupinstall. It's working great.

 This option is NOT listed in the man page. Sigh. 

I responded to your post.   And the key isn't groupinstall.  You could have 
typed group install  The key was with-optional and that is in the man page.

  dnf [options] group install [with-optional] group-spec...
  Mark the specified group installed and install packages it  con‐
  tains.   Also   include   optional  packages  of  the  group  if
  with-optional is specified.

It just so happens that all the packages in the editors group are tagged 
optional.


 FWIW, I'll file a bug report for this. I wonder what else is missing...

Not needed.


-- 
Sorta what I want to say when folks habitually complain about Fedora - 
https://youtu.be/ZArl8fTfub4
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Thunderbird lightning question

2015-06-30 Thread Ahmad Samir
On 30 June 2015 at 08:30, Joachim Backes joachim.bac...@rhrk.uni-kl.de wrote:
 Hi all,

 anybody knows how to change the thunderbird ligntning time format from
 AM/PM presentation to the 24h presentation?


That depends on the locale settings. If you're using GNOME, open the
gnome-control-center - Region  language, change the Formats to
United Kingdom (English) which will set LC_TIME to en_GB.utf8
among other locale settings.

http://kb.mozillazine.org/Date_display_format#Configuring_the_date.2Ftime_system_settings_on_your_computer

-- 
Ahmad Samir
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Thunderbird lightning question

2015-06-30 Thread Joachim Backes
Hi all,

anybody knows how to change the thunderbird ligntning time format from
AM/PM presentation to the 24h presentation?

Thanks in advance

Joachim Backes

-- 

Fedora release 22 (Twenty Two)
Kernel-4.0.7-300.fc22.x86_64


Joachim Backes joachim.bac...@rhrk.uni-kl.de
https://www-user.rhrk.uni-kl.de/~backes
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Color aliasing. Was Re: Awk and sort (of text files)

2015-06-30 Thread Ahmad Samir
On 30 June 2015 at 08:05, Joe Zeff j...@zeff.us wrote:
 On 06/29/2015 08:50 PM, Ahmad Samir wrote:

 which means that if you edit /etc/profile.d/colorls.sh your changes
 will be preserved even after updating the coreutils package (the
 /etc/profile.d/colorls.sh file from the new package will be installed
 with an .rpmnew extension).


 Yes, but the script that sets the alias does get replaced, even if I've
 edited it to comment out that particular line.  I have no problem with the
 colors being set, I just don't like having it use those colors by default.


If you edit /etc/profile.d/colorls.sh then update coreutils your edits
won't get replaced...

-- 
Ahmad Samir
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


akmod Nvidia dependencies

2015-06-30 Thread Patrick O'Callaghan
I just updated the kernel to kernel-4.0.6-300.fc22.x86_64 and rebooted.
The system came up in VGA mode, presumably because kmod-nvidia had not
recompiled. Is there a way to force this, or do I have to wait for an
update to akmod-nvidia?

For the moment I removed akmod-nvidia and rebooted with Nouveau. This
seems rather inelegant. I thought the akmod thing was supposed to take
care of these dependencies, or am I missing something?

poc
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: DNF problems - maybe force ftp-http ?

2015-06-30 Thread Martin Møller Skarbiniks Pedersen
On 29 June 2015 at 13:57, Patrick O'Callaghan pocallag...@gmail.com wrote:

 On Mon, 2015-06-29 at 13:12 +0200, Martin Møller Skarbiniks Pedersen
 wrote:
I am having big problems install new software and upgrading my
  current
  F22 using DNF.
Maybe I am wrong but I think that if I could force dnf to use
  http(s)
  instead of ftp, then my
  problems would be solved.

 AFAIK there is no guarantee that repos will even support HTTP(S).


Hmm. Has that always been the case. I think our firewall only supports
passive ftp.

Check your version of librepo. If it's less than 1.17.6 then update it
 before trying anything else. I also had frequent timeout problems with
 dnf before this was fixed.


Thanks for that advise. However it looks like
I already have version 1.17.6 of librepo
$ rpm -qi librepo | grep Version
Version : 1.7.16

Is something changed from F21 (yum) to F22 (dnf) ?
Everything was working great in F21 and now dnf is very slow.

dnf install tmux took more than 5 minutes and a simple dnf update takes up
to one hour!

# dnf -v -y install tmux
cachedir: /var/cache/dnf/x86_64/22
Loaded plugins: protected_packages, download, needs-restarting, copr,
playground, builddep, langpacks, kickstart, debuginfo-install, migrate,
config-manager, reposync, generate_completion_cache, noroot, Query
initialized Langpacks plugin
DNF version: 1.0.1
repo: using cache for: fedora
not found deltainfo for: Fedora 22 - x86_64
not found updateinfo for: Fedora 22 - x86_64
repo: using cache for: rpmfusion-free-updates
not found deltainfo for: RPM Fusion for Fedora 22 - Free - Updates
not found updateinfo for: RPM Fusion for Fedora 22 - Free - Updates
repo: using cache for: adobe-linux-x86_64
not found deltainfo for: Adobe Systems Incorporated
not found updateinfo for: Adobe Systems Incorporated
repo: using cache for: rpmfusion-nonfree-updates
not found deltainfo for: RPM Fusion for Fedora 22 - Nonfree - Updates
not found updateinfo for: RPM Fusion for Fedora 22 - Nonfree - Updates
repo: using cache for: rpmfusion-free
not found deltainfo for: RPM Fusion for Fedora 22 - Free
not found updateinfo for: RPM Fusion for Fedora 22 - Free
reviving: failed for 'updates', mismatched sha256 sum.
Curl error (28): Timeout was reached for
ftp://mirror.easyspeedy.com/fedora/updates/22/x86_64/repodata/repomd.xml
[Connection time-out] (
ftp://mirror.easyspeedy.com/fedora/updates/22/x86_64/repodata/repomd.xml).
error: Status code: 500 for
http://ftp.informatik.uni-frankfurt.de/fedora/updates/22/x86_64/repodata/repomd.xml
(
http://ftp.informatik.uni-frankfurt.de/fedora/updates/22/x86_64/repodata/repomd.xml
).

[...]

Regards
Martin
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: DNF problems - maybe force ftp-http ?

2015-06-30 Thread Martin Møller Skarbiniks Pedersen
On 30 June 2015 at 13:20, Martin Møller Skarbiniks Pedersen 
traxpla...@gmail.com wrote:

 On 29 June 2015 at 13:57, Patrick O'Callaghan pocallag...@gmail.com
 wrote:

 On Mon, 2015-06-29 at 13:12 +0200, Martin Møller Skarbiniks Pedersen
 wrote:
I am having big problems install new software and upgrading my
  current
  F22 using DNF.
Maybe I am wrong but I think that if I could force dnf to use
  http(s)
  instead of ftp, then my
  problems would be solved.

 AFAIK there is no guarantee that repos will even support HTTP(S).




Kind of solved. dnf is still very very slow or not working but
yum-deprecated works perfect.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: SELinux is preventing sh from getattr access on the file /usr/sbin/ldconfig.

2015-06-30 Thread Daniel J Walsh


On 06/29/2015 01:45 PM, Andras Simon wrote:
 [Sorry for the late answer, I was away from this machine.]

 2015-06-28 1:01 GMT+02:00, Ed Greshko ed.gres...@greshko.com:
 On 06/27/15 21:15, Andras Simon wrote:
 2015-06-27 15:11 GMT+02:00, Andras Simon sza...@gmail.com:
 Should I be worried about the $subject?
 And there's also a SELinux is preventing sh from execute access on
 the file /usr/sbin/ldconfig which I've only just noticed. It sounds
 even scarier.

 Does your output match these?

 [egreshko@meimei ~]$ ls -Z /bin/bash
 system_u:object_r:shell_exec_t:s0 /bin/bash

 [egreshko@meimei ~]$ ls -Z /usr/sbin/ldconfig
 system_u:object_r:ldconfig_exec_t:s0 /usr/sbin/ldconfig
 Yes, I get the same result.

 Andras
Everything seems correct.

But the AVC's indicate that firewalld was attempting to runldconfig...

Which I believe should not happen normally.  The transactions at the
time of yum/rpm indicate
that the transaction or at least the post install sections were being
run as firewalld_t.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: akmod Nvidia dependencies

2015-06-30 Thread Tom Horsley
If you don't give it time to recompile the driver
after the yum update and before a reboot, things
can be in a confusing state and it won't recompile
after the boot. (At least that is what I have
observed).

I always run top after a yum update and wait till
all the compilation and rpm activity disappears before
I type reboot.

If you install akmod-nvidia again, it will probably
update the driver at that time and you'll be back
to normal.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Strange booting problem

2015-06-30 Thread Gordon Messmer

On 06/26/2015 07:35 PM, jd1008 wrote:

I have been googling and read wikis.
None of them really explain clearly
If
  1. a drive has no bootable partitions and
  2. the boot code in the 1st 446 bytes does not exist (all nulls)
then
how does bios decide it is not bootable, move on to the next in the 
sequence?


I didn't get a satisfactory answer from wikis, either, so I did an 
experiment.  I loaded a bootable image on a flash drive and connected 
that to a virtual machine as a USB disk.  I also added a bootable ISO to 
the VM.  I configured the VM to boot from the USB drive first, then the ISO.


The VM successfully booted from the flash drive.  I backed up the MBR.
# dd if=/dev/sdb bs=512 count=1 of=sdb.mbr

Then I zeroed 446 byes of the flash drive.
# dd if=/dev/zero bs=446 count=1 of=/dev/sdb

The VM halted when trying to boot, so I restored the boot sector and 
wiped the boot signature.

# dd if=sdb.mbr of=/dev/sdb
# dd if=/dev/zero bs=2 count=1 seek=255 of=/dev/sdb

With the boot signature wiped, the VM would boot from the ISO.

Based on testing, we can conclude that at least SeaBIOS will treat a 
boot sector with all nul bytes as a valid boot sector and run it. It 
will skip a boot sector if the boot signature in that MBR is not present.


Note that as I previously mentioned, the BIOS doesn't use the boot flag 
in the partition table.  A bootable partition is ONLY relevant to DOS 
type boot loaders, which use it to identify the C: drive from which they 
will boot.  It does not matter to BIOS whether a disk has any bootable 
partitions or not.



For bios to spend an eternity looking for the boot code on a non-bootable
drive tells me it is a bug, even if implemented according to specs 
(thus the

specs themselves would be at fault).


It's not looking for boot code.  It identifies a valid boot sector, 
where validity is determined by the presence of a boot signature, and 
runs that code.


I'm not an expert on BIOS, but the extent to which I've read 
documentation is fairly clear and consistent.  Execution begins at a 
specific memory location where BIOS is expected to reside.  BIOS locates 
a boot device (possibly a hardware ROM, or a disk) and continues 
execution of that code.  That code loads a kernel into memory and 
continues execution of that code.  It's not described as a stack.  
Nothing indicates that control will return to the previous chunk of code 
if it finishes or does nothing.


bug is not a word for something I don't understand or something I 
don't like.


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: After installing Fedora Workstation ...

2015-06-30 Thread jd1008



On 06/30/2015 03:06 PM, Patrick O'Callaghan wrote:

On Tue, 2015-06-30 at 14:51 -0600, jd1008 wrote:

During install, Anaconda let's you select one desktop from
the left column,  and then select the groups of packages from
the right column.

Fine.

Now that fedora is up and running, how does one add a group
of packages ala the groupings presented by anaconda?

Where is the list of such group names documented, what
packages they contain, and how to install them.

man dnf

(hint: dnf grouplist, dnf [-v] group info group-name)

poc

Cool!
It is strange that dnf crashed on some of the group names and abrt came up
and filed a bug :) :)

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Strange booting problem

2015-06-30 Thread Rick Stevens

On 06/30/2015 03:19 PM, Rick Stevens wrote:

On 06/30/2015 03:17 PM, jd1008 wrote:

The link you refer to
talks about the 2 bytes past byte 255, they they are
bytes 256 and 257.


No, you set the block size to 2, so you are seeking (2 * 255) or 512
bytes into the disk.


Grrr! 2 * 255 = 510 bytes into the disk, so you were looking at bytes
510 and 511 (the last two bytes in the first sector).




But I already indicated the 466 bytes are null... in another usb drive I
tested,
thus no boot signature - and yet, bios hung forever because that disk
was 2nd
in boot order after cd/dvd drive, and before internal HD.

So, the laptop's BIOS is executing what? A good code for moving from disk
to disk until it finds the bootable drive in the boot sequence specified?
Clearly in this case - it does not do so.
And yet, you insist it is not a flaw.


On 06/30/2015 03:47 PM, Gordon Messmer wrote:

On 06/30/2015 02:28 PM, jd1008 wrote:

I already explained to you
1. The disk is partitioned using fdisk.
2. I cleared the 446 bytes to nulls.
3. None of the partitions have a boot signature.


The boot signature is at bytes 511 and 512, and you indicated that it
is present:
https://lists.fedoraproject.org/pipermail/users/2015-June/462295.html

Those bytes indicate to BIOS that the disk contains boot code.  I
tested wiping those bytes and verified that SeaBIOS, at least, will
not attempt to run the boot sector of a disk after they are wiped.


You comment bug is not a word for something I don't understand or
something I don't like.
is so totally irrelevant to what I have already reported wrt the
drive at hand and the BIOS at hand.
Such comments are sounding more and more like coming from an a*al
attitude!!


Computers are just machines that execute instructions.  They don't
reason.  They don't make decisions.  Their design may not always be
the one you like, but that's not the same as being buggy.

I'm trying to reasonably explain and demonstrate that you can predict
and control the computer's behavior, while you rant about Dell
f***ing up.  I think your anger is unjustified, both toward your
system's vendor and toward me.  Maybe mellow out a little.








--
--
- Rick Stevens, Systems Engineer, AllDigitalri...@alldigital.com -
- AIM/Skype: therps2ICQ: 226437340   Yahoo: origrps2 -
--
- Is that a buffer overflow or are you just happy to see me? -
--
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Strange booting problem

2015-06-30 Thread Chris Murphy
On Tue, Jun 30, 2015 at 4:44 PM, Gordon Messmer
gordon.mess...@gmail.com wrote:
 On 06/30/2015 03:17 PM, jd1008 wrote:

 The link you refer to
 talks about the 2 bytes past byte 255, they they are
 bytes 256 and 257.


 No, they're the two byte block at the 255th block of two bytes.

 https://en.wikipedia.org/wiki/Master_boot_record

 Again, bytes 0-446 are boot code.  Bytes 256 and 257 are not special
 locations, they fall within the boot sector.  Bytes 511 and 512 (or, bytes
 at offset 510 and 511) are the boot signature.  When present, that signature
 indicates that a boot sector is present and can be used.  Testing indicates
 that if the signature is present, BIOS will load that sector into memory and
 continue execution of the code that it contains.  Control will not return to
 BIOS.

 But I already indicated the 466 bytes are null...


 Doesn't matter.  The documentation doesn't say that the contents of the 446
 bytes are tested.  nul bytes are valid opcodes in x86.

It's possible this is BIOS specific. In the case I've tested, it's
actually faux BIOS in the form of an EFI CSM. If the first 440 bytes
are zeros, it doesn't consider that device bootable, and thus it's
skipped. But I don't recall SeaBIOS or vbox's BIOS behavior, even
though I've gotten bit by this confusion many times...


-- 
Chris Murphy
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Strange booting problem

2015-06-30 Thread Chris Murphy
I just set Vbox boot order to HD  CD/DVD. And added a new blank VDI
for the HD, and a Fedora 22 Live CD ISO for the CD. And it boots from
the CD. So the HD is clearly skipped.

If I partition the HD with fdisk with a single partition and no boot
flag, I get the same result. So clearly this BIOS is also
ignoring/skipping the HD when bootloader code in the first 440 bytes
is absent but otherwise has a valid signature and partition
information.

If I partition a new blank VDI with parted, boot hangs indefinitely
with no error message.


Chris Murphy
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Awk and sort (of text files)

2015-06-30 Thread jd1008



On 06/30/2015 04:48 PM, Cameron Simpson wrote:

On 30Jun2015 14:35, Bill Oliver ven...@billoblog.com wrote:

On Mon, 29 Jun 2015, jd1008 wrote:


[snip]
Here is the simplest solution and it does what I want without 
resorting to awk:

for i in `/bin/ls -1 lists*`; do
sed '/./{H;d;};x;s/\n/={NL}=/g' $i | sort | sed 
'1s/={NL}=//;s/={NL}=/\n/g'  $i.sorted.txt

done


I bow before a Master.
So, I'm trying to parse this...

I don't know what NL does.  From my reading I see the N command 
adds the current line to the pattern space with a newline character. 
I can't figure out what the L does, though, or if NL is a different 
command than N followed by L


The NL is not a command. It is simply a piece of text to insert into 
the line in place of newlines. (I'm not sure why - you can certainly 
hold multiple lines in the hold space.)


So the code pulls lines into the hold space and replaces the newline 
characters with the text NL. Then later it undoes that, replacing 
the text NL with a newline character.


Personally I tend to use a nontexty character for this kind of 
placeholder, such as ^G. Less risk of excountering that in the input 
text, and therefore less risk of accidentally mangling it.


Cheers,
Cameron Simpson c...@zip.com.au

Don't have awk? Use this simple sh emulation:
   #!/bin/sh
   echo 'Awk bailing out!' 2
   exit 2
- Tom Horsley tahors...@csd.harris.com

Hi Cameron,
It is not only NL that newline (in Linux's case it is ^J) that it is 
being replaced with.

It is  =NL=

Thus I knew it was a simple solution for me because I knew up front my 
text files had no such content.
But I agree that for files you do not know the contents of, it is better 
to choose
a pattern that would have much less likelihood of being part of the 
file, like

==##:::@@@!!!

so on , so forth 


Cheers,

JD
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Strange booting problem

2015-06-30 Thread Chris Murphy
On Tue, Jun 30, 2015 at 5:13 PM, Gordon Messmer
gordon.mess...@gmail.com wrote:
 On 06/30/2015 03:18 PM, Chris Murphy wrote:

 2. The most likely explanation for the problem, as someone else
 alluded to, is the USB drive has stale bootloader code on it that
 points to no where and hangs.


 One of jd's earlier messages included the boot sector.  It was mostly nul
 bytes.

 The solution is to do one of two things: change the boot order in
 BIOS; or zero the first 440 bytes of LBA 0 with this:
 # dd if=/dev/zero of=/dev/sdX bs=440 count=1


 Why 440?  The boot sector is 446 bytes.

The boot loader code area is variably sized depending on what writes
it out. GRUB's is 446 bytes. But syslinux and variants are 440 bytes,
and the parted code is maybe half that size. So wiping out 440 bytes
is sufficient but there's nothing wrong with wiping out 446 bytes.

Also, the boot sector is the same thing as LBA 0, which is the same
thing as MBR, in the present context. A sector is 512 bytes.

-- 
Chris Murphy
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: After installing Fedora Workstation ...

2015-06-30 Thread Chris Murphy
There is also:
dnf group list hidden
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Strange booting problem

2015-06-30 Thread Chris Murphy
observations:


1. GRUB's boot.img, the 440 bytes of code in the MBR/LBA 0, does not
use the partition active bit (the boot flag). So boot flag is
irrelevant in a GRUB context. The GRUB boot.img code contains the
specific LBA to jump to where core.img is found, which on MBR disks is
in the MBR gap.


2. The most likely explanation for the problem, as someone else
alluded to, is the USB drive has stale bootloader code on it that
points to no where and hangs. If this drive was partitioned with
parted (including gparted which leverages libparted), the described
behavior is intended behavior by parted developers. [1]

The solution is to do one of two things: change the boot order in
BIOS; or zero the first 440 bytes of LBA 0 with this:

# dd if=/dev/zero of=/dev/sdX bs=440 count=1

##where X is the letter for the USB drive

---
Chris Murphy



[1] Which I've complained about, but the parted developers don't
appear to care, or think they're doing the majority a favor.

If LBA 0 is completely blank at the time parted partitions it, parted
writes out some basic jump code in the first 440 bytes of the MBR that
honors the active bit to determine the jump location. If the drive
isn't meant to be a boot drive, this code just causes the CPU to jump
to nowhere. There isn't even any error handling in this jump code. So
you get exactly the behavior described.

Now, I find it absurd, but, that's life with people who think everyone
else is a moron. Because after all, if you're not creating a drive
intended to boot you have no good reason to partition it at all: a.)
format the entire block device with a file system; or b.) use LVM on
the whole block device as the method of partitioning, which is vastly
superior to MBR or GPT partitioning. Note that parted will not
overwrite already present bootloader code in the MBR.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Strange booting problem

2015-06-30 Thread jd1008

The link you refer to
talks about the 2 bytes past byte 255, they they are
bytes 256 and 257.
But I already indicated the 466 bytes are null... in another usb drive I 
tested,
thus no boot signature - and yet, bios hung forever because that disk 
was 2nd

in boot order after cd/dvd drive, and before internal HD.

So, the laptop's BIOS is executing what? A good code for moving from disk
to disk until it finds the bootable drive in the boot sequence specified?
Clearly in this case - it does not do so.
And yet, you insist it is not a flaw.


On 06/30/2015 03:47 PM, Gordon Messmer wrote:

On 06/30/2015 02:28 PM, jd1008 wrote:

I already explained to you
1. The disk is partitioned using fdisk.
2. I cleared the 446 bytes to nulls.
3. None of the partitions have a boot signature.


The boot signature is at bytes 511 and 512, and you indicated that it 
is present:

https://lists.fedoraproject.org/pipermail/users/2015-June/462295.html

Those bytes indicate to BIOS that the disk contains boot code.  I 
tested wiping those bytes and verified that SeaBIOS, at least, will 
not attempt to run the boot sector of a disk after they are wiped.


You comment bug is not a word for something I don't understand or 
something I don't like.
is so totally irrelevant to what I have already reported wrt the 
drive at hand and the BIOS at hand.
Such comments are sounding more and more like coming from an a*al 
attitude!! 


Computers are just machines that execute instructions.  They don't 
reason.  They don't make decisions.  Their design may not always be 
the one you like, but that's not the same as being buggy.


I'm trying to reasonably explain and demonstrate that you can predict 
and control the computer's behavior, while you rant about Dell 
f***ing up.  I think your anger is unjustified, both toward your 
system's vendor and toward me.  Maybe mellow out a little.


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Strange booting problem

2015-06-30 Thread Patrick O'Callaghan
On Tue, 2015-06-30 at 17:11 -0600, jd1008 wrote:
  So, it begs the question:
 
  (that's not what begs the question means)
 For my case it does cause me to ask : The conundrum of my situation
 does indeed lead me to ask that question.
 If you think it does not mean that - then please enlighten everyone
 as to what it means :) :)

https://en.wikipedia.org/wiki/Begging_the_question

poc
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Strange booting problem

2015-06-30 Thread Chris Murphy
Yet another possibility is to GPT partition the disk and then zero LBA
0 (the PMBR). Now to any MBR only utility, it will appear to be a
blank drive and hence dangerously unprotected. But, being lazy I won't
go look for this, I don't think the UEFI spec requires a PMBR on GPT
disks, it can just have GPT only structures. But the PMBR is what all
utilities use and will recreate if removed and the partition map is
altered. So you're probably better off just using LVM if Linux only.
If mixed platform, and you have to partition, then you have to change
the BIOS boot order. Use the one time boot order change menu when you
want to boot off an external, otherwise leave the first device as the
internal drive.


Chris Murphy
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Strange booting problem

2015-06-30 Thread jd1008



On 06/30/2015 05:13 PM, Patrick O'Callaghan wrote:

On Tue, 2015-06-30 at 17:11 -0600, jd1008 wrote:

So, it begs the question:

(that's not what begs the question means)

For my case it does cause me to ask : The conundrum of my situation
does indeed lead me to ask that question.
If you think it does not mean that - then please enlighten everyone
as to what it means :) :)

https://en.wikipedia.org/wiki/Begging_the_question

poc

:)
My use of it was aimed against BIOS and not against the respondent :)
If BIOS will not skip over unbootable drives, and it supposedly is written
to skip over non-bootable drives - yet it does not in the situation I 
present,

then that exposes the fallacy of bios skipping over non bootable drives.

Then it is made apparent by the respondents that I cannot create 
non-bootable

partitions in a drive using fdisk or even parted - and have bios skip over
such drives within a boot sequence.
So in effect the partitioning scheme may be at fault to encode a boot
signature where no boot code is present, nor any partition marked as 
bootable.

LVM was mentioned as a possible way to avoid this.
But the other OS cannot use LVM.
I wonder if BIOS manufacturer's are reading this list and taking note :) :)
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Strange booting problem

2015-06-30 Thread Chris Murphy
On Tue, Jun 30, 2015 at 5:26 PM, Gordon Messmer
gordon.mess...@gmail.com wrote:

 So you could dd 512 bytes of /dev/zero to the drive, or use wipefs -a
 /dev/sdX, then use parted to mktable gpt and set up partitions.

That will not work. Parted replaces the PMBR in such a case. So does gdisk.

wipefs -a after parted or gdisk will cause both PMBR and GPT primary
and backup headers to be invalidated. So to wipe or invalidate the
PMBR has to be done with dd.


-- 
Chris Murphy
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Awk and sort (of text files)

2015-06-30 Thread Joe Zeff

On 06/30/2015 03:48 PM, Cameron Simpson wrote:




The NL is not a command. It is simply a piece of text to insert into
the line in place of newlines. (I'm not sure why - you can certainly
hold multiple lines in the hold space.)


My guess is that it's easier to treat every paragraph as one long line, 
replacing the newlines at the end.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Strange booting problem

2015-06-30 Thread Gordon Messmer

On 06/30/2015 04:33 PM, Chris Murphy wrote:

That will not work. Parted replaces the PMBR in such a case. So does gdisk.


Today I learned too many things.  Thanks, Chris. :)
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Strange booting problem

2015-06-30 Thread Gordon Messmer

On 06/30/2015 03:32 PM, jd1008 wrote:
So, with this kind of change, it destroys the partition table. 


So it does. :(

Well, that's disappointing.  Educational, but disappointing.

I missed that in testing because the bootable media I was using wrote 
both an MBR and GPT labels to the USB drive.  After invalidating the 
MBR, the GPT still described the location of the partition.


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Strange booting problem

2015-06-30 Thread Gordon Messmer

On 06/30/2015 03:41 PM, jd1008 wrote:

So, it begs the question:


(that's not what begs the question means)


Can I create a disk with msdos partitioning scheme,
none of the partitions marked as bootable, and have bios
quickly skip over it to the next device in the boot sequence? 


So far it looks like the answer is no or it depends on your BIOS.

Both SeaBIOS and your Dell BIOS, based on what we've seen, will attempt 
to use the boot sector of a disk with a valid MBR, even when the boot 
sector is all zeros.  That's consistent with all of the documentation I 
can find.  It's possible that other BIOS might skip an all-zero boot 
sector, but we don't have any documentation of which systems behave that 
way.


However, also based on testing, it seems that if you used GPT for your 
partitions, then BIOS would skip over the drive during the boot 
process.  So, maybe that's a solution?  The only reasons I can think of 
to use MBR are a) you have an operating system that can't read GPT and 
b) you need to boot from the drive under BIOS.  I don't think either of 
those apply to you.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Strange booting problem

2015-06-30 Thread jd1008



On 06/30/2015 05:10 PM, Chris Murphy wrote:

On Tue, Jun 30, 2015 at 5:02 PM, Gordon Messmer
gordon.mess...@gmail.com wrote:

On 06/30/2015 03:41 PM, jd1008 wrote:

So, it begs the question:


(that's not what begs the question means)

Yes. It's an accusation.


Can I create a disk with msdos partitioning scheme,
none of the partitions marked as bootable, and have bios
quickly skip over it to the next device in the boot sequence?


So far it looks like the answer is no or it depends on your BIOS.

Both SeaBIOS and your Dell BIOS, based on what we've seen, will attempt to
use the boot sector of a disk with a valid MBR, even when the boot sector is
all zeros.  That's consistent with all of the documentation I can find.
It's possible that other BIOS might skip an all-zero boot sector, but we
don't have any documentation of which systems behave that way.

That seems to be true.



However, also based on testing, it seems that if you used GPT for your
partitions, then BIOS would skip over the drive during the boot process.

No because every GPT creator also creates a PMBR which includes the
MBR boot signature that you're telling us causes (some) BIOS's to use
the entire MBR and then hang if it has nowhere to go.


So, maybe that's a solution?  The only reasons I can think of to use MBR are
a) you have an operating system that can't read GPT and b) you need to boot
from the drive under BIOS.  I don't think either of those apply to you.

If you have such a BIOS, the work around is to not partition it either
MBR or GPT. If it needs partitioning, use LVM on the whole block
device. It has a signature the BIOS won't know about.


OMG!!!
LVM!!!
The other OS will most certainly NOT be able to make use
of that drive :) :)

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Strange booting problem

2015-06-30 Thread Gordon Messmer

On 06/30/2015 03:18 PM, Chris Murphy wrote:

2. The most likely explanation for the problem, as someone else
alluded to, is the USB drive has stale bootloader code on it that
points to no where and hangs.


One of jd's earlier messages included the boot sector.  It was mostly 
nul bytes.



The solution is to do one of two things: change the boot order in
BIOS; or zero the first 440 bytes of LBA 0 with this:
# dd if=/dev/zero of=/dev/sdX bs=440 count=1


Why 440?  The boot sector is 446 bytes.

We've already established that his BIOS will attempt to boot the system 
when the first 440 bytes are zeros.  That was the situation we've been 
discussing all thread long.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Strange booting problem

2015-06-30 Thread Chris Murphy
On Tue, Jun 30, 2015 at 5:13 PM, jd1008 jd1...@gmail.com wrote:

 OMG!!!
 LVM!!!
 The other OS will most certainly NOT be able to make use
 of that drive :) :)

OK so you have two options.

 -Change the BIOS boot order.
- Use GPT and after making all changes either zero out LBA 0 or
otherwise invalidate the MBR's signature.

-- 
Chris Murphy
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Strange booting problem

2015-06-30 Thread Gordon Messmer

On 06/30/2015 04:11 PM, jd1008 wrote:
Since my internal drive is dual boot, I do need to boot an OS that 
does not

recognize GPT :(


What OS are you booting that won't read GPT?
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Strange booting problem

2015-06-30 Thread Chris Murphy
On Tue, Jun 30, 2015 at 5:28 PM, jd1008 jd1...@gmail.com wrote:

 I wonder if BIOS manufacturer's are reading this list and taking note :) :)

They have and they say to upgrade to UEFI.

This is a very long thread just to arrive at the conclusion that BIOS
behavior isn't ideal for your use case. The expectation is that you
set the BIOS boot order literally with the order of devices you boot
from most often so that less often is the need to use the one time
boot selection menu.

If you want to skip the USB disk usually, then make the internal drive
default. Simple. I don't know why you don't do that.

-- 
Chris Murphy
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Strange booting problem

2015-06-30 Thread jd1008

I already explained to you
1. The disk is partitioned using fdisk.
2. I cleared the 446 bytes to nulls.
3. None of the partitions have a boot signature.

You comment bug is not a word for something I don't understand or 
something I don't like.


is so totally irrelevant to what I have already reported wrt the drive 
at hand and the BIOS at hand.

Such comments are sounding more and more like coming from an a*al attitude!!


On 06/30/2015 03:21 PM, Gordon Messmer wrote:

On 06/26/2015 07:35 PM, jd1008 wrote:

I have been googling and read wikis.
None of them really explain clearly
If
  1. a drive has no bootable partitions and
  2. the boot code in the 1st 446 bytes does not exist (all nulls)
then
how does bios decide it is not bootable, move on to the next in the 
sequence?


I didn't get a satisfactory answer from wikis, either, so I did an 
experiment.  I loaded a bootable image on a flash drive and connected 
that to a virtual machine as a USB disk.  I also added a bootable ISO 
to the VM.  I configured the VM to boot from the USB drive first, then 
the ISO.


The VM successfully booted from the flash drive.  I backed up the MBR.
# dd if=/dev/sdb bs=512 count=1 of=sdb.mbr

Then I zeroed 446 byes of the flash drive.
# dd if=/dev/zero bs=446 count=1 of=/dev/sdb

The VM halted when trying to boot, so I restored the boot sector and 
wiped the boot signature.

# dd if=sdb.mbr of=/dev/sdb
# dd if=/dev/zero bs=2 count=1 seek=255 of=/dev/sdb

With the boot signature wiped, the VM would boot from the ISO.

Based on testing, we can conclude that at least SeaBIOS will treat a 
boot sector with all nul bytes as a valid boot sector and run it. It 
will skip a boot sector if the boot signature in that MBR is not present.


Note that as I previously mentioned, the BIOS doesn't use the boot 
flag in the partition table.  A bootable partition is ONLY relevant 
to DOS type boot loaders, which use it to identify the C: drive from 
which they will boot.  It does not matter to BIOS whether a disk has 
any bootable partitions or not.


For bios to spend an eternity looking for the boot code on a 
non-bootable
drive tells me it is a bug, even if implemented according to specs 
(thus the

specs themselves would be at fault).


It's not looking for boot code.  It identifies a valid boot sector, 
where validity is determined by the presence of a boot signature, and 
runs that code.


I'm not an expert on BIOS, but the extent to which I've read 
documentation is fairly clear and consistent.  Execution begins at a 
specific memory location where BIOS is expected to reside.  BIOS 
locates a boot device (possibly a hardware ROM, or a disk) and 
continues execution of that code.  That code loads a kernel into 
memory and continues execution of that code.  It's not described as a 
stack.  Nothing indicates that control will return to the previous 
chunk of code if it finishes or does nothing.


bug is not a word for something I don't understand or something I 
don't like.




--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Strange booting problem - Off list

2015-06-30 Thread jd1008


Hi Rick,
Re: my /dev/sdb:


dd if=/dev/sdb bs=2 count=1 skip=255 2/dev/null | od -x
000 aa55
002

If these are the bytes that indicate a boot signature,
can they be null'ed safely??


Thanx.

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Strange booting problem

2015-06-30 Thread Rick Stevens

On 06/30/2015 03:17 PM, jd1008 wrote:

The link you refer to
talks about the 2 bytes past byte 255, they they are
bytes 256 and 257.


No, you set the block size to 2, so you are seeking (2 * 255) or 512
bytes into the disk.


But I already indicated the 466 bytes are null... in another usb drive I
tested,
thus no boot signature - and yet, bios hung forever because that disk
was 2nd
in boot order after cd/dvd drive, and before internal HD.

So, the laptop's BIOS is executing what? A good code for moving from disk
to disk until it finds the bootable drive in the boot sequence specified?
Clearly in this case - it does not do so.
And yet, you insist it is not a flaw.


On 06/30/2015 03:47 PM, Gordon Messmer wrote:

On 06/30/2015 02:28 PM, jd1008 wrote:

I already explained to you
1. The disk is partitioned using fdisk.
2. I cleared the 446 bytes to nulls.
3. None of the partitions have a boot signature.


The boot signature is at bytes 511 and 512, and you indicated that it
is present:
https://lists.fedoraproject.org/pipermail/users/2015-June/462295.html

Those bytes indicate to BIOS that the disk contains boot code.  I
tested wiping those bytes and verified that SeaBIOS, at least, will
not attempt to run the boot sector of a disk after they are wiped.


You comment bug is not a word for something I don't understand or
something I don't like.
is so totally irrelevant to what I have already reported wrt the
drive at hand and the BIOS at hand.
Such comments are sounding more and more like coming from an a*al
attitude!!


Computers are just machines that execute instructions.  They don't
reason.  They don't make decisions.  Their design may not always be
the one you like, but that's not the same as being buggy.

I'm trying to reasonably explain and demonstrate that you can predict
and control the computer's behavior, while you rant about Dell
f***ing up.  I think your anger is unjustified, both toward your
system's vendor and toward me.  Maybe mellow out a little.





--
--
- Rick Stevens, Systems Engineer, AllDigitalri...@alldigital.com -
- AIM/Skype: therps2ICQ: 226437340   Yahoo: origrps2 -
--
- If at first you don't succeed, quit. No sense being a damned fool! -
--
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Strange booting problem

2015-06-30 Thread Gordon Messmer

On 06/30/2015 03:17 PM, jd1008 wrote:

The link you refer to
talks about the 2 bytes past byte 255, they they are
bytes 256 and 257.


No, they're the two byte block at the 255th block of two bytes.

https://en.wikipedia.org/wiki/Master_boot_record

Again, bytes 0-446 are boot code.  Bytes 256 and 257 are not special 
locations, they fall within the boot sector.  Bytes 511 and 512 (or, 
bytes at offset 510 and 511) are the boot signature.  When present, that 
signature indicates that a boot sector is present and can be used.  
Testing indicates that if the signature is present, BIOS will load that 
sector into memory and continue execution of the code that it contains.  
Control will not return to BIOS.



But I already indicated the 466 bytes are null...


Doesn't matter.  The documentation doesn't say that the contents of the 
446 bytes are tested.  nul bytes are valid opcodes in x86.



So, the laptop's BIOS is executing what?


Whatever it finds in the first disk that has a valid boot signature.  
Once it finds a disk with a signature, it passes execution to the boot 
sector and does not continue searching.


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Strange booting problem

2015-06-30 Thread Chris Murphy
On Tue, Jun 30, 2015 at 4:41 PM, jd1008 jd1...@gmail.com wrote:

 So, it begs the question:
 Can I create a disk with msdos partitioning scheme,
 none of the partitions marked as bootable, and have bios
 quickly skip over it to the next device in the boot sequence?

If you partition the disk you want skipped with parted and friends
(ill advised for reason I previously mentioned), then you need to
remove the bootload jump code it writes to LBA 0, by zeroing the first
440 bytes as I and others previously described.

If you partition with fdisk there is no code to erase it will just be
skipped. However, fdisk will not erase existing code. So this only
applies going forward. Same for gdisk. And same for their variants.


-- 
Chris Murphy
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


  1   2   >