Re: [gentoo-user] Damaged CD medium

2015-03-13 Thread wabenbau
Mick michaelkintz...@gmail.com wrote:

 Hi All,
 
 I was given a CD with some pictures, but I am not able to mount it.
 This is what dmesg reveals:
 
 [ 7791.880206] sr 1:0:0:0: [sr0]  
 [ 7791.880211] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
 [ 7791.880215] sr 1:0:0:0: [sr0]  
 [ 7791.880217] Sense Key : Hardware Error [current] 
 [ 7791.880224] sr 1:0:0:0: [sr0]  
 [ 7791.880229] Add. Sense: Timeout on logical unit
 [ 7791.880233] sr 1:0:0:0: [sr0] CDB: 
 [ 7791.880236] Read(10): 28 00 00 00 00 00 00 00 02 00
 [ 7791.880252] blk_update_request: I/O error, dev sr0, sector 0
[...]
 I tried on different PCs and I am getting the same error.  Shall I

Have you tried it with different CD drives or have you used always the
same (external) drive? If you are testing several CD drives you maybe
will find one that is able to read the damaged CD.

 forget about it, or is there some means by which I can recover the
 files on it?

This depends on how the CD is damaged. If it is damaged by scratches
then you maybe can polish them away. Many years ago I've seen CD polish
sets available in some online shop, but I never tried this out.

If there are no scratches and it is a self burned CD then I fear you
will have no chance to restore the data.

I don't know if there is a way to restore the data with some special
software program. Maybe you should search for that on google.

Good luck.

--
Regards
wabe



Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update]

2015-03-13 Thread German
On Fri, 13 Mar 2015 15:59:04 +
Neil Bothwick n...@digimed.co.uk wrote:

 On 13 March 2015 15:52:41 GMT+00:00, German gentger...@gmail.com wrote:
  This is very strange. When I boot up my box and login as a user I can
  use screen. But if I booted up and logged in as root first and then su
  user, the user have the error message displayed in the subject line.
  Any ideas?
  
  -- 
  German gentger...@gmail.com
 
 Try su - l user. 
 -- 
 Sent from my Android phone with K-9 Mail. Please excuse my brevity.

after searching, I found the following solution to chmod tty1, like so:
chmod o+rw /dev/tty1 and this worked, I was able to use screen as a user, 
however it doesn't stay permanently; after reboot, I got the same problem. How 
to chmod tty1 so changes stay permenently? Thanks



-- 
German gentger...@gmail.com



[gentoo-user] Re: Damaged CD medium

2015-03-13 Thread Grant Edwards
On 2015-03-13, Mick michaelkintz...@gmail.com wrote:
 Hi All,

 I was given a CD with some pictures, but I am not able to mount it.  This is 
 what dmesg reveals:

Here's what I recommend.

 1) Use ddrescue to read as many data blocks as you can off the CD.

  http://www.gnu.org/software/ddrescue/
 
ddrescue will retry failing blocks and then skip over them.  You
can rerun ddrescue to try to fill in missing blocks.  dd or cat
will generally just stop when it hits the first bad block.

I would do something like:

 a) Run several passes of ddrescue using a few different optical
drives.

 b) Polish the CD.

 c) Repeat until you stop getting new data off the CD. 


 2) Use something like photorec to try to scavange any reconizable
JPEGs (or other file types as desired) from the data image file
you created with ddrescue.

  http://www.cgsecurity.org/wiki/PhotoRec
  
IIRC, there are ebuilds for ddrescue, photorec, and testdisk.

-- 
Grant Edwards   grant.b.edwardsYow! I like the way ONLY
  at   their mouths move ...  They
  gmail.comlook like DYING OYSTERS




Re: [gentoo-user] Damaged CD medium

2015-03-13 Thread Mick
On Friday 13 Mar 2015 17:10:36 waben...@gmail.com wrote:
 Mick michaelkintz...@gmail.com wrote:
  Hi All,
  
  I was given a CD with some pictures, but I am not able to mount it.
  This is what dmesg reveals:
  
  [ 7791.880206] sr 1:0:0:0: [sr0]
  [ 7791.880211] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
  [ 7791.880215] sr 1:0:0:0: [sr0]
  [ 7791.880217] Sense Key : Hardware Error [current]
  [ 7791.880224] sr 1:0:0:0: [sr0]
  [ 7791.880229] Add. Sense: Timeout on logical unit
  [ 7791.880233] sr 1:0:0:0: [sr0] CDB:
  [ 7791.880236] Read(10): 28 00 00 00 00 00 00 00 02 00
  [ 7791.880252] blk_update_request: I/O error, dev sr0, sector 0
 
 [...]
 
  I tried on different PCs and I am getting the same error.  Shall I
 
 Have you tried it with different CD drives or have you used always the
 same (external) drive? If you are testing several CD drives you maybe
 will find one that is able to read the damaged CD.

Each PC has its own (internal) drive.  No success so far.  :-(


  forget about it, or is there some means by which I can recover the
  files on it?
 
 This depends on how the CD is damaged. If it is damaged by scratches
 then you maybe can polish them away. Many years ago I've seen CD polish
 sets available in some online shop, but I never tried this out.
 
 If there are no scratches and it is a self burned CD then I fear you
 will have no chance to restore the data.
 
 I don't know if there is a way to restore the data with some special
 software program. Maybe you should search for that on google.
 
 Good luck.

David mentioned in his post that there are products to clean and polish the 
plastic surface (thanks David!)  I can't see any significant scratches and I 
tried cleaning it with spirit to remove any grease or dirt from its surface.  
I will try to ask the person who gave it to me to use a different make of CD 
next time, but this could take some time.

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: Damaged CD medium

2015-03-13 Thread Joerg Schilling
Grant Edwards grant.b.edwa...@gmail.com wrote:

 On 2015-03-13, Mick michaelkintz...@gmail.com wrote:
  Hi All,
 
  I was given a CD with some pictures, but I am not able to mount it.  This 
  is 
  what dmesg reveals:

 Here's what I recommend.

  1) Use ddrescue to read as many data blocks as you can off the CD.

   http://www.gnu.org/software/ddrescue/

This will ot really help.

If you like to do real read-retries at low level better check readcd.

Jörg

-- 
 EMail:jo...@schily.net(home) Jörg Schilling D-13353 Berlin
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.org/private/ 
http://sourceforge.net/projects/schilytools/files/'



Re: [gentoo-user] Damaged CD medium

2015-03-13 Thread Fernando Rodriguez
On Friday, March 13, 2015 4:30:59 PM Mick wrote:
 Hi All,
 
 I was given a CD with some pictures, but I am not able to mount it.  This is 
 what dmesg reveals:
 
 [ 7791.880206] sr 1:0:0:0: [sr0]  
 [ 7791.880211] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
 [ 7791.880215] sr 1:0:0:0: [sr0]  
 [ 7791.880217] Sense Key : Hardware Error [current] 
 [ 7791.880224] sr 1:0:0:0: [sr0]  
 [ 7791.880229] Add. Sense: Timeout on logical unit
 [ 7791.880233] sr 1:0:0:0: [sr0] CDB: 
 [ 7791.880236] Read(10): 28 00 00 00 00 00 00 00 02 00
 [ 7791.880252] blk_update_request: I/O error, dev sr0, sector 0
 [ 7800.424417] sr 1:0:0:0: [sr0]  
 [ 7800.424422] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
 [ 7800.424427] sr 1:0:0:0: [sr0]  
 [ 7800.424429] Sense Key : Hardware Error [current] 
 [ 7800.424436] sr 1:0:0:0: [sr0]  
 [ 7800.424440] Add. Sense: Timeout on logical unit
 [ 7800.424445] sr 1:0:0:0: [sr0] CDB: 
 [ 7800.424447] Read(10): 28 00 00 00 00 00 00 00 02 00
 [ 7800.424463] blk_update_request: I/O error, dev sr0, sector 0
 [ 7800.424468] Buffer I/O error on dev sr0, logical block 0, async page read
 [ 7809.051719] sr 1:0:0:0: [sr0]  
 [ 7809.051725] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
 [ 7809.051729] sr 1:0:0:0: [sr0]  
 [ 7809.051731] Sense Key : Hardware Error [current] 
 [ 7809.051738] sr 1:0:0:0: [sr0]  
 [ 7809.051743] Add. Sense: Timeout on logical unit
 [ 7809.051748] sr 1:0:0:0: [sr0] CDB: 
 [ 7809.051750] Read(10): 28 00 00 00 00 00 00 00 02 00
 [ 7809.051766] blk_update_request: I/O error, dev sr0, sector 0
 [ 7809.051771] Buffer I/O error on dev sr0, logical block 0, async page read
 [ 7817.681141] sr 1:0:0:0: [sr0]  
 [ 7817.681146] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
 [ 7817.681150] sr 1:0:0:0: [sr0]  
 [ 7817.681152] Sense Key : Hardware Error [current] 
 [ 7817.681159] sr 1:0:0:0: [sr0]  
 [ 7817.681164] Add. Sense: Timeout on logical unit
 [ 7817.681168] sr 1:0:0:0: [sr0] CDB: 
 [ 7817.681170] Read(10): 28 00 00 00 00 00 00 00 02 00
 [ 7817.681187] blk_update_request: I/O error, dev sr0, sector 0
 [ 7817.681192] Buffer I/O error on dev sr0, logical block 0, async page read
 
 
 I tried on different PCs and I am getting the same error.  Shall I forget 
 about it, or is there some means by which I can recover the files on it?

You can try sticking it into a DVD player and see if it plays. Also check that 
all CD/DVD Filesystem options (including MS extensions) are enabled on your 
kernel.


-- 
Fernando Rodriguez

signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Re: Make the user the member of portage group or not?

2015-03-13 Thread Nikos Chantziaras

On 13/03/15 14:33, Neil Bothwick wrote:


Being a member of the portage group allows to to write to directories
owned by portage, so you can do things like emerge --sync and
emerge --fetchonly.


You can do fetchonly, but sync is not possible. You need root for that.




Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Yet another update]

2015-03-13 Thread German
On Fri, 13 Mar 2015 15:59:04 +
Neil Bothwick n...@digimed.co.uk wrote:

 On 13 March 2015 15:52:41 GMT+00:00, German gentger...@gmail.com wrote:
  This is very strange. When I boot up my box and login as a user I can
  use screen. But if I booted up and logged in as root first and then su
  user, the user have the error message displayed in the subject line.
  Any ideas?
  
  -- 
  German gentger...@gmail.com
 
 Try su - l user. 

And after a little more searching interwebs I found this solution:
to run script /dev/null after I logged on to the user after root. This allows 
to launch screen
 -- 
 Sent from my Android phone with K-9 Mail. Please excuse my brevity.


-- 
German gentger...@gmail.com



Re: [gentoo-user] Re: Damaged CD medium

2015-03-13 Thread Neil Bothwick
On Fri, 13 Mar 2015 17:54:01 + (UTC), Grant Edwards wrote:

 IIRC, there are ebuilds for ddrescue, photorec, and testdisk.

There's also app-cdr/dvdisaster.


-- 
Neil Bothwick

A consultant is a person who borrows your watch, tells you what time it
is, pockets the watch, and sends you a bill for it.


pgpa1_YrU5vyV.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: Make the user the member of portage group or not?

2015-03-13 Thread Neil Bothwick
On Fri, 13 Mar 2015 23:49:20 +0200, Nikos Chantziaras wrote:

  Being a member of the portage group allows to to write to directories
  owned by portage, so you can do things like emerge --sync and
  emerge --fetchonly.  
 
 You can do fetchonly, but sync is not possible. You need root for that.

You're right, $PORTDIR itself is not group-writeable


-- 
Neil Bothwick

Okay, I pulled the pin. Now what? Hey, where are you going?


pgpYeQUtOFz2O.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update]

2015-03-13 Thread German
On Sat, 14 Mar 2015 00:00:34 +0100
waben...@gmail.com wrote:

 Neil Bothwick n...@digimed.co.uk wrote:
 
  On Fri, 13 Mar 2015 15:16:28 -0400, German wrote:
  
   after searching, I found the following solution to chmod tty1, like
   so: chmod o+rw /dev/tty1 and this worked, I was able to use screen
   as a user, however it doesn't stay permanently; after reboot, I got
   the same problem. How to chmod tty1 so changes stay permenently?
   Thanks
  
  /dev/tty1 is already group writeable, so you should get the same
  result by adding your user to the tty group.
 
 When I logged in as regular user then ownership of the tty that I
 used for log in is:
 
 crw--- 1 wabe tty  4,  1 13. Mär 17:49 /dev/tty1
 
 When I logged in as root, then owner is root (not surprising).
 
 crw--- 1 root  tty  4,  2 13. Mär 23:47 /dev/tty2
 
 Adding your user to group tty probably wouldn't resolve your problem
 (not tested), because group doesn't have any rights.

Yes, it didn't resolve my problem. The only solution for now is to run script 
/dev/null.
Then I can run screen as a user. People are having the same problem all over 
the net.
 
 So it seems that after login you first have to chmod 770 the tty before
 you do a su - user (user have to be in group tty of course).
 
 Maybe it would ease things when you write a little script for this
 procedure.
 
 --
 Regards
 wabe
 


-- 
German gentger...@gmail.com



Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update]

2015-03-13 Thread wabenbau
Peter Humphrey pe...@prh.myzen.co.uk wrote:

 On Friday 13 March 2015 23:28:32 Neil Bothwick wrote:
 
  I have this in /lib/udev/rules.d/50-udev-default.rules:
  
  SUBSYSTEM==tty, KERNEL==tty[0-9]*, GROUP=tty, MODE=0620
 
 # grep tty /lib/udev/rules.d/50-udev-default.rules
 SUBSYSTEM==tty, KERNEL==ptmx, GROUP=tty, MODE=0666
 SUBSYSTEM==tty, KERNEL==tty, GROUP=tty, MODE=0666
 SUBSYSTEM==tty, KERNEL==tty[0-9]*, GROUP=tty, MODE=0620
 SUBSYSTEM==tty, KERNEL==sclp_line[0-9]*, GROUP=tty, MODE=0620
 SUBSYSTEM==tty, KERNEL==ttysclp[0-9]*, GROUP=tty, MODE=0620
 SUBSYSTEM==tty, KERNEL==3270/tty[0-9]*, GROUP=tty, MODE=0620
 SUBSYSTEM==vc, KERNEL==vcs*|vcsa*, GROUP=tty
 KERNEL==tty[A-Z]*[0-9]|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*,
 GROUP=uucp
 
 Can't say where all those came from.
 

I have the same entries in /lib/udev/rules.d/50-udev-default.rules but
nevertheless after login the permissions for group tty are gone.

--
Regards
wabe



Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update]

2015-03-13 Thread wabenbau
waben...@gmail.com wrote:

 Peter Humphrey pe...@prh.myzen.co.uk wrote:
 
  On Friday 13 March 2015 23:28:32 Neil Bothwick wrote:
  
   I have this in /lib/udev/rules.d/50-udev-default.rules:
   
   SUBSYSTEM==tty, KERNEL==tty[0-9]*, GROUP=tty, MODE=0620
  
  # grep tty /lib/udev/rules.d/50-udev-default.rules
  SUBSYSTEM==tty, KERNEL==ptmx, GROUP=tty, MODE=0666
  SUBSYSTEM==tty, KERNEL==tty, GROUP=tty, MODE=0666
  SUBSYSTEM==tty, KERNEL==tty[0-9]*, GROUP=tty, MODE=0620
  SUBSYSTEM==tty, KERNEL==sclp_line[0-9]*, GROUP=tty,
  MODE=0620 SUBSYSTEM==tty, KERNEL==ttysclp[0-9]*, GROUP=tty,
  MODE=0620 SUBSYSTEM==tty, KERNEL==3270/tty[0-9]*,
  GROUP=tty, MODE=0620 SUBSYSTEM==vc, KERNEL==vcs*|vcsa*,
  GROUP=tty
  KERNEL==tty[A-Z]*[0-9]|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*,
  GROUP=uucp
  
  Can't say where all those came from.
  
 
 I have the same entries in /lib/udev/rules.d/50-udev-default.rules but
 nevertheless after login the permissions for group tty are gone.

Before login:
crw--w 1 root  tty  4, 10 13. Mär 15:12 /dev/tty4

After login:
crw--- 1 wabe tty  4,  1 13. Mär 17:49 /dev/tty1

--
Regards
wabe



Re: [gentoo-user] Re: Damaged CD medium

2015-03-13 Thread Mick
On Friday 13 Mar 2015 22:24:32 Neil Bothwick wrote:
 On Fri, 13 Mar 2015 17:54:01 + (UTC), Grant Edwards wrote:
  IIRC, there are ebuilds for ddrescue, photorec, and testdisk.
 
 There's also app-cdr/dvdisaster.

Thank you all.  dd and ddrescue don't work, because the block device is not 
recognised.  I had already tried this with not success.

dvddisaster requires to have created a file with error correction (ecc) data 
in advance of the hardware failure, then use that to recover the lost bits.

readcd is great - thanks Joerg!  However, this is what I got in my first 
attempt:
=
$ readcd dev=1,0,0 -v
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Linux sg driver version: 3.5.36
readcd: Input/output error. set cd speed: scsi sendcmd: no error
CDB:  BB 00 FF FF FF FF 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 04 01 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x04 Qual 0x01 (logical unit is in process of becoming ready) Fru 
0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.042s timeout 40s
Read  speed: 11080 kB/s (CD  62x, DVD  8x, BD  2x).
Write speed: 0 kB/s (CD   0x, DVD  0x, BD  0x).
0:read 1:veri   2:erase   3:read buffer 4:cache 5:ovtime 6:cap
7:wne  8:floppy 9:verify 10:checkcmds  11:read disk 12:write disk
13:scsireset 14:seektest 15: readda 16: reada 17: c2err
18:readcd 19: lin 20: full toc
Enter selection: 0 (0 - 20)/cr:
0:read 1:veri   2:erase   3:read buffer 4:cache 5:ovtime 6:cap
7:wne  8:floppy 9:verify 10:checkcmds  11:read disk 12:write disk
13:scsireset 14:seektest 15: readda 16: reada 17: c2err
18:readcd 19: lin 20: full toc
Enter selection: 4 (0 - 20)/cr:5==Not sure if I entered the correct No.
Doing 1000 'TEST UNIT READY' operations.
Time total: 0.296sec
Doing 1000 'SEEK_G1 (0)' operations.
Time total: 418.463sec
0:read 1:veri   2:erase   3:read buffer 4:cache 5:ovtime 6:cap
7:wne  8:floppy 9:verify 10:checkcmds  11:read disk 12:write disk
13:scsireset 14:seektest 15: readda 16: reada 17: c2err
18:readcd 19: lin 20: full toc
Enter selection: 10 (0 - 20)/cr:
=


Here I tried different values, none of which produced anything until:
=
Enter selection: 10 (0 - 20)/cr:11
Capacity: 2295104 Blocks = 4590208 kBytes = 4482 MBytes = 4700 prMB
Sectorsize: 2048 Bytes
Ignore disk size? y
Copy from SCSI (1,0,0) disk to file
Enter filename [disk.out]: disk.out
Enter starting sector for copy: 0 (0 - 999)/cr:0
Enter number of sectors to copy: 1000 (1 - 1000)/cr:
Enter number of sectors per copy: 64 (1 - 64)/cr:
end:  1000
readcd: Input/output error. read_g1: scsi sendcmd: no error
CDB:  28 00 00 00 00 00 00 00 40 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 04 00 00 00 00 0A 00 00 00 00 3E 02 00 00
Sense Key: 0x4 Hardware Error, Segment 0
Sense Code: 0x3E Qual 0x02 (timeout on logical unit) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 10.414s timeout 40s
readcd: Input/output error. Cannot read source disk
readcd: Retrying from sector 0.
.~~-readcd: Input/output error. test unit ready: scsi sendcmd: no error
CDB:  00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 00 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x3A Qual 0x00 (medium not present) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.009s timeout 40s
~readcd: Input/output error. test unit ready: scsi sendcmd: no error
CDB:  00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
=


This repeated itself for a while, until:
=
readcd: Input/output error. Error on sector 0 not corrected. Total of 1 
errors.
readcd: Input/output error. read_g1: scsi sendcmd: no error
CDB:  28 00 00 00 00 00 00 00 01 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 00 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x3A Qual 0x00 (medium not present) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.009s timeout 40s

Time total: 156.756sec
Read 0.00 kB at 0.0 kB/sec.
Max corected retry count was 0 (limited to 128).
The following 1 sector(s) could not be read correctly:
0
readcd: Input/output error. test unit ready: scsi sendcmd: no error
CDB:  00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 02 00 00 00 00 0A 00 00 00 00 3A 00 00 00
Sense Key: 0x2 Not Ready, Segment 0
Sense Code: 0x3A Qual 0x00 (medium not present) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.010s timeout 40s
readcd: Device not ready.
$
=

Does this above mean that the first sector is damaged?  How to proceed from 
here?

-- 
Regards,
Mick


signature.asc

Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update]

2015-03-13 Thread Peter Humphrey
On Friday 13 March 2015 22:28:29 Neil Bothwick wrote:
 A Smith  Weason beats Four Aces everytime.

A Smith and what?

-- 
Rgds
Peter.




Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update]

2015-03-13 Thread wabenbau
Neil Bothwick n...@digimed.co.uk wrote:

 On Fri, 13 Mar 2015 15:16:28 -0400, German wrote:
 
  after searching, I found the following solution to chmod tty1, like
  so: chmod o+rw /dev/tty1 and this worked, I was able to use screen
  as a user, however it doesn't stay permanently; after reboot, I got
  the same problem. How to chmod tty1 so changes stay permenently?
  Thanks
 
 /dev/tty1 is already group writeable, so you should get the same
 result by adding your user to the tty group.

When I logged in as regular user then ownership of the tty that I
used for log in is:

crw--- 1 wabe tty  4,  1 13. Mär 17:49 /dev/tty1

When I logged in as root, then owner is root (not surprising).

crw--- 1 root  tty  4,  2 13. Mär 23:47 /dev/tty2

Adding your user to group tty probably wouldn't resolve your problem
(not tested), because group doesn't have any rights.

So it seems that after login you first have to chmod 770 the tty before
you do a su - user (user have to be in group tty of course).

Maybe it would ease things when you write a little script for this
procedure.

--
Regards
wabe



Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update]

2015-03-13 Thread Neil Bothwick
On Fri, 13 Mar 2015 23:22:50 +, Neil Bothwick wrote:

 Interesting, here, as a normal user:
 
 % ls -l /dev/tty1
 crw--w 1 root tty 4, 1 Mar 13 22:26 /dev/tty1
 
  So it seems that after login you first have to chmod 770 the tty
  before you do a su - user (user have to be in group tty of course).
  
  Maybe it would ease things when you write a little script for this
  procedure.  
 
 A udev rule would be less kludgy.

I have this in /lib/udev/rules.d/50-udev-default.rules:

SUBSYSTEM==tty, KERNEL==tty[0-9]*, GROUP=tty, MODE=0620


-- 
Neil Bothwick

Windows Error #09: Game Over. Exiting Windows.


pgpxfz3Tlkmga.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update]

2015-03-13 Thread wabenbau
waben...@gmail.com wrote:

 Neil Bothwick n...@digimed.co.uk wrote:
 
  On Fri, 13 Mar 2015 15:16:28 -0400, German wrote:
  
   after searching, I found the following solution to chmod tty1,
   like so: chmod o+rw /dev/tty1 and this worked, I was able to use
   screen as a user, however it doesn't stay permanently; after
   reboot, I got the same problem. How to chmod tty1 so changes stay
   permenently? Thanks
  
  /dev/tty1 is already group writeable, so you should get the same
  result by adding your user to the tty group.
 
 When I logged in as regular user then ownership of the tty that I
 used for log in is:
 
 crw--- 1 wabe tty  4,  1 13. Mär 17:49 /dev/tty1
 
 When I logged in as root, then owner is root (not surprising).
 
 crw--- 1 root  tty  4,  2 13. Mär 23:47 /dev/tty2
 
 Adding your user to group tty probably wouldn't resolve your problem
 (not tested), because group doesn't have any rights.
 
 So it seems that after login you first have to chmod 770 the tty
 before you do a su - user (user have to be in group tty of course).

Forget about chmod 770. Better do a chmod g+rw. :-)

--
Regards
wabe



Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update]

2015-03-13 Thread Neil Bothwick
On Fri, 13 Mar 2015 15:16:28 -0400, German wrote:

 after searching, I found the following solution to chmod tty1, like so:
 chmod o+rw /dev/tty1 and this worked, I was able to use screen as a
 user, however it doesn't stay permanently; after reboot, I got the same
 problem. How to chmod tty1 so changes stay permenently? Thanks

/dev/tty1 is already group writeable, so you should get the same result
by adding your user to the tty group.


-- 
Neil Bothwick

A Smith  Weason beats Four Aces everytime.


pgpdQ83xZeoys.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update]

2015-03-13 Thread Neil Bothwick
On Fri, 13 Mar 2015 23:10:22 +, Peter Humphrey wrote:

 On Friday 13 March 2015 22:28:29 Neil Bothwick wrote:
  A Smith  Weason beats Four Aces everytime.  
 
 A Smith and what?

You have far too much time on your hands!

I only steal taglines, I don't spell-check them.


-- 
Neil Bothwick

Will the last human please uninstall internet.exe.


pgpCAGTSzJ_KF.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update]

2015-03-13 Thread German
On Fri, 13 Mar 2015 23:28:32 +
Neil Bothwick n...@digimed.co.uk wrote:

 On Fri, 13 Mar 2015 23:22:50 +, Neil Bothwick wrote:
 
  Interesting, here, as a normal user:
  
  % ls -l /dev/tty1
  crw--w 1 root tty 4, 1 Mar 13 22:26 /dev/tty1
  
   So it seems that after login you first have to chmod 770 the tty
   before you do a su - user (user have to be in group tty of course).
   
   Maybe it would ease things when you write a little script for this
   procedure.  
  
  A udev rule would be less kludgy.
 
 I have this in /lib/udev/rules.d/50-udev-default.rules:
 
 SUBSYSTEM==tty, KERNEL==tty[0-9]*, GROUP=tty, MODE=0620

thanks, I'll try that as well
 
 
 -- 
 Neil Bothwick
 
 Windows Error #09: Game Over. Exiting Windows.


-- 
German gentger...@gmail.com



Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update]

2015-03-13 Thread Peter Humphrey
On Friday 13 March 2015 23:28:32 Neil Bothwick wrote:

 I have this in /lib/udev/rules.d/50-udev-default.rules:
 
 SUBSYSTEM==tty, KERNEL==tty[0-9]*, GROUP=tty, MODE=0620

# grep tty /lib/udev/rules.d/50-udev-default.rules
SUBSYSTEM==tty, KERNEL==ptmx, GROUP=tty, MODE=0666
SUBSYSTEM==tty, KERNEL==tty, GROUP=tty, MODE=0666
SUBSYSTEM==tty, KERNEL==tty[0-9]*, GROUP=tty, MODE=0620
SUBSYSTEM==tty, KERNEL==sclp_line[0-9]*, GROUP=tty, MODE=0620
SUBSYSTEM==tty, KERNEL==ttysclp[0-9]*, GROUP=tty, MODE=0620
SUBSYSTEM==tty, KERNEL==3270/tty[0-9]*, GROUP=tty, MODE=0620
SUBSYSTEM==vc, KERNEL==vcs*|vcsa*, GROUP=tty
KERNEL==tty[A-Z]*[0-9]|pppox[0-9]*|ircomm[0-9]*|noz[0-9]*|rfcomm[0-9]*, 
GROUP=uucp

Can't say where all those came from.

-- 
Rgds
Peter.




Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update]

2015-03-13 Thread Neil Bothwick
On Sat, 14 Mar 2015 00:00:34 +0100, waben...@gmail.com wrote:

  /dev/tty1 is already group writeable, so you should get the same
  result by adding your user to the tty group.  
 
 When I logged in as regular user then ownership of the tty that I
 used for log in is:
 
 crw--- 1 wabe tty  4,  1 13. Mär 17:49 /dev/tty1
 
 When I logged in as root, then owner is root (not surprising).
 
 crw--- 1 root  tty  4,  2 13. Mär 23:47 /dev/tty2

Interesting, here, as a normal user:

% ls -l /dev/tty1
crw--w 1 root tty 4, 1 Mar 13 22:26 /dev/tty1

 So it seems that after login you first have to chmod 770 the tty before
 you do a su - user (user have to be in group tty of course).
 
 Maybe it would ease things when you write a little script for this
 procedure.

A udev rule would be less kludgy.


-- 
Neil Bothwick

I wonder how much deeper would the ocean be without sponges.


pgpj9oLUOYYcx.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check [Update]

2015-03-13 Thread Peter Humphrey
On Friday 13 March 2015 23:25:21 Neil Bothwick wrote:
 On Fri, 13 Mar 2015 23:10:22 +, Peter Humphrey wrote:
  On Friday 13 March 2015 22:28:29 Neil Bothwick wrote:
   A Smith  Weason beats Four Aces everytime.
  
  A Smith and what?
 
 You have far too much time on your hands!

True. It can easily happen once you've been retired for 17 years. :(

 I only steal taglines, I don't spell-check them.

To each his own ;)

-- 
Rgds
Peter.




Re: [gentoo-user] Re: heat codes

2015-03-13 Thread Mick
On Friday 13 Mar 2015 00:38:56 Dale wrote:
 James wrote:
  Mick michaelkintzios at gmail.com writes:
  # sensors
  radeon-pci-0100
  Adapter: PCI adapter
  temp1:+36.0°C  (crit = +120.0°C, hyst = +90.0°C)
  fam15h_power-pci-00c4
  Adapter: PCI adapter
  power1:   19.97 W  (crit = 125.19 W)
  
  k10temp-pci-00c3
  Adapter: PCI adapter
  temp1:+24.9°C  (high = +70.0°C)
  
 (crit = +90.0°C, hyst = +87.0°C)
  
  There should be more after these, showing your voltages and various MoBo
  sensors.  Can you check that it87 is actually loaded?  lsmod will tell
  you.
  
  Oh, I just noticed this posting; Dale's latest posting caused me to
  look at the thread again.
  
  rc-status shows lm_sensors running, as does ps.
  
  but  lsmod  is empty:
  Module  Size  Used by
  
  /etc/conf.d/lm_sensors shows:
  
  MODULE_0=fam15h_power
  MODULE_1=it87
  MODULE_2=k10temp
  
  
  I think I have it 'compiled in'. Are you sure I should be
  seeing more information?
  
  GA-990FXA-UD3 is the mobo.
  
  
  James
 
 I have a 970A-UD3P mobo and I use this under Hardware Monitoring support:
 
 AMD Family 10h+ temperature sensor
 AMD Family 15h processor power
 ITE IT87xx and compatibles
 
 Under bus support:
 
 Intel PIIX4 and compatible (ATI/AMD/Serverworks/Broadcom/SMSC)
 
 Our mobo isn't exactly the same but if they use the same chips, those
 should get you all the info you need.
 
 I might add, I build everything into the kernel and I don't even install
 lm_sensors. I haven't installed that in ages.
 
 Hope that helps.
 
 Dale
 
 :-)  :-)

I don't have the same MoBo and have compiled my corresponding chipset sensor 
driver as a module.  It doesn't load unless I manually modprobe it or set it 
up in /etc/conf.d/modules.  This is how many readings I get:

$ sensors
radeon-pci-0008 
Adapter: PCI adapter 
temp1:+37.0°C  (crit = +120.0°C, hyst = +90.0°C) 

k10temp-pci-00c3 
Adapter: PCI adapter 
temp1:+36.8°C  (high = +70.0°C) 
   (crit = +70.0°C, hyst = +69.0°C) 

fam15h_power-pci-00c4 
Adapter: PCI adapter 
power1:   N/A  (crit =  95.09 W) 

nct6791-isa-0290 
Adapter: ISA adapter 
in0:+1.38 V  (min =  +0.00 V, max =  +1.74 V) 
in1:+1.03 V  (min =  +0.00 V, max =  +0.00 V)  ALARM 
in2:+3.34 V  (min =  +0.00 V, max =  +0.00 V)  ALARM 
in3:+3.34 V  (min =  +0.00 V, max =  +0.00 V)  ALARM 
in4:+1.01 V  (min =  +0.00 V, max =  +0.00 V)  ALARM 
in5:+2.04 V  (min =  +0.00 V, max =  +0.00 V)  ALARM 
in6:+0.28 V  (min =  +0.00 V, max =  +0.00 V)  ALARM 
in7:+3.44 V  (min =  +0.00 V, max =  +0.00 V)  ALARM 
in8:+3.33 V  (min =  +0.00 V, max =  +0.00 V)  ALARM 
in9:+0.00 V  (min =  +0.00 V, max =  +0.00 V) 
in10:   +0.17 V  (min =  +0.00 V, max =  +0.00 V)  ALARM 
in11:   +0.17 V  (min =  +0.00 V, max =  +0.00 V)  ALARM 
in12:   +1.01 V  (min =  +0.00 V, max =  +0.00 V)  ALARM 
in13:   +1.03 V  (min =  +0.00 V, max =  +0.00 V)  ALARM 
in14:   +0.21 V  (min =  +0.00 V, max =  +0.00 V)  ALARM 
fan1:  1036 RPM  (min =0 RPM) 
fan2:  1695 RPM  (min =0 RPM) 
fan3:  1001 RPM  (min =0 RPM) 
SYSTIN: +31.0°C  (high =  +0.0°C, hyst =  +0.0°C)  ALARM  
sensor = thermistor 
CPUTIN: +47.0°C  (high = +80.0°C, hyst = +75.0°C)  sensor = 
thermistor 
AUXTIN0:   +106.0°Csensor = thermistor 
AUXTIN1:   +105.0°Csensor = thermistor 
AUXTIN2:   +105.0°Csensor = thermistor 
AUXTIN3:   +106.0°Csensor = thermistor 
PCH_CHIP_CPU_MAX_TEMP:   +0.0°C 
PCH_CHIP_TEMP:   +0.0°C 
PCH_CPU_TEMP:+0.0°C 
PCH_MCH_TEMP:+0.0°C 
intrusion0:ALARM 
intrusion1:ALARM 
beep_enable:   disabled

HTH.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Make the user the member of portage group or not?

2015-03-13 Thread German
Question is in the subject line. Another question I have is there any point to 
use other frambuffer device ( I currently use efifb) and I am thinking to use 
fb for my radeon r4 graphics in hopes to get some acceleration. Thanks

-- 
German gentger...@gmail.com



Re: [gentoo-user] Make the user the member of portage group or not?

2015-03-13 Thread German
On Fri, 13 Mar 2015 06:42:08 -0400
Walter Dnes waltd...@waltdnes.org wrote:

 On Fri, Mar 13, 2015 at 05:08:16AM -0400, German wrote
  Question is in the subject line.
 
   If the user is a member of portage he can do any emerge operation as
 long as the command includes --pretend or -p
 
 [d531][waltdnes][~] emerge -pv ufraw
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done!
 [ebuild   R] media-gfx/ufraw-0.20-r1  USE=-contrast -fits -gimp
 -gnome -gtk -openmp -timezone 0 KiB
 
 Total: 1 package (1 reinstall), Size of downloads: 0 KiB
 
 
   However, the regular user is not allowed to actually emerge or unmerge
 anything.  E.g...
 
 [d531][waltdnes][~] emerge -v ufraw
 emerge: superuser access is required
 
 
   The idea is to allow the user to find out what he would have to do if
 he wanted to emerge/unmerge something.

Thanks for your answer. It now got clearer to me.
 
 -- 
 Walter Dnes waltd...@waltdnes.org
 I don't run desktop environments; I run useful applications
 


-- 
German gentger...@gmail.com



Re: [gentoo-user] Make the user the member of portage group or not?

2015-03-13 Thread Neil Bothwick
On Fri, 13 Mar 2015 05:08:16 -0400, German wrote:

 Question is in the subject line.

And the answer is in your hands? Does not being a member of the portage
group cause any problems for you? If not, you have no need of it.


-- 
Neil Bothwick

Quantum leap: (adj.) literally, to move by the smallest amount
theoretically possible. In advertising, to move by the largest leap
imaginable (in the mind of the advertiser). There is no contradiction.


pgpZ1BeLUZCyj.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: heat codes

2015-03-13 Thread Peter Humphrey
On Thursday 12 March 2015 19:38:56 Dale wrote:

 I build everything into the kernel and I don't even install
 lm_sensors. I haven't installed that in ages.

Does that mean that your gkrellm can't display temperatures?

-- 
Rgds
Peter.




Re: [gentoo-user] Make the user the member of portage group or not?

2015-03-13 Thread Walter Dnes
On Fri, Mar 13, 2015 at 05:08:16AM -0400, German wrote
 Question is in the subject line.

  If the user is a member of portage he can do any emerge operation as
long as the command includes --pretend or -p

[d531][waltdnes][~] emerge -pv ufraw

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R] media-gfx/ufraw-0.20-r1  USE=-contrast -fits -gimp
-gnome -gtk -openmp -timezone 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB


  However, the regular user is not allowed to actually emerge or unmerge
anything.  E.g...

[d531][waltdnes][~] emerge -v ufraw
emerge: superuser access is required


  The idea is to allow the user to find out what he would have to do if
he wanted to emerge/unmerge something.

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



Re: [gentoo-user] best practise for 4 disks ... redundancy

2015-03-13 Thread Stefan G. Weichinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 12.03.2015 19:52, Stefan G. Weichinger wrote:
 On 12.03.2015 18:28, Neil Bothwick wrote:
 On Thu, 12 Mar 2015 18:12:06 +0100, Stefan G. Weichinger wrote:
 
 c) Create a 4 disk RAID1 array consisting of sda2 and 3 
 missing disks. Then add sdb2, sdc2, sdd2 in turn and the 
 contents of sda2 will be replicated to them.
 
 the array formatted as vfat (- ESP) ?
 
 sda2 is already formatted as FAT with the correct contents.

yes ... and after that?

install gummiboot to each physical disk?
create new loader-entries ?

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iQIcBAEBCAAGBQJVAqH3AAoJEClcuD1V0Pzmz+MQAK8kAykLVEI+DC7tzf7UgF8/
M+yw56oL7UDFfv9t33KtwBFCAoG0hijag14zDm3/a/E0+LMZ1n2niyNJXvaqLzI5
ty2iPvfcnhVBnaydb1BZ2JRhtYEjs5jzVCFGpuKVN2ntBqoPdzYTZtJLtfSLS8Zz
kyHHMLH6nQ2mjRKEP4HbDglHXCCU4y8jJMiB4Y/a4V6FFyaYvE6G0EuU9iZ6vfzY
kvqE63UhLwvN+jNcAK/Ik7FHirQd+olvx1IFtVDQxFyMVHrVBfrhG/SSlmYs3lUy
ftoFh5tFvYcy3z3aPss3oCwWH12330Y2EsAdsrZwliPawRfGDggb0wd8VDbc9Dod
qzJUEjc5g0ih90fGJdAWHLumj+v4rl3aOq8zpF1uPjbG6DnbjbIsa2hRxmTf8nPS
ASoDaU+NI4a62aJiwrUqAe4eEaSIBF40Kfd6Wz7wio85x3Yrkm2UVTJUtQTb2+3i
VFOZrx1Khj/LkypyDqgv1BJYgvGwKn7zMrBjkKwKtBmcPZvo17ADwzsT+Eqj1SUP
oycPdbtWhSrrjfzNbwcusnyMONhP7PNT7Bn9PRxnZM+alYqBghRN5lQkCfIA7FHC
5sC4e4x1qKV6JQlr25zqr7LnGVl3a4Kq+vX0mZ1E0isvgvzBs+pkkIdUjc78ShQz
zwO6ycy74XoIpgV0bWt0
=0qGa
-END PGP SIGNATURE-



Re: [gentoo-user] best practise for 4 disks ... redundancy

2015-03-13 Thread Neil Bothwick
On Fri, 13 Mar 2015 09:38:15 +0100, Stefan G. Weichinger wrote:

  c) Create a 4 disk RAID1 array consisting of sda2 and 3 
  missing disks. Then add sdb2, sdc2, sdd2 in turn and the 
  contents of sda2 will be replicated to them.  
   

  
  the array formatted as vfat (- ESP) ?  

  sda2 is already formatted as FAT with the correct contents.  
 
 yes ... and after that?
 
 install gummiboot to each physical disk?
 create new loader-entries ?

See above. The reason for using a RAID1 array is to avoid having to
update multiple disks, just mount /boot on the RAID device.

% mount | grep boot
/dev/md0 on /boot type ext2 (rw,noatime,stripe=4)


-- 
Neil Bothwick

Ifyoucanreadthis,youspendtoomuchtimefiguringouttaglines.


pgpPfrMAGwWSV.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: heat codes

2015-03-13 Thread Dale
Tuomo Hartikainen wrote:
 On 150312 1835, Dale wrote:
 waben...@gmail.com wrote:
 Something similar happened to me. I accidentally pressed F6 while
 focused gkrellm but didn't noticed it. Some time later I realized that
 the fontsize of gkrellm was increased so that it's height doesn't fit
 to the screen anymore. Fist I thought that it has something to do with
 the latest update. It took some time till I recognized that I simply
 had to press F7 to restore the fontsize to its former height. :-)

 --
 Regards
 wabe

 Well, you should have seen the look on my face the other day when
 Firefox went FULL SCREEN.  I mean full screen like it does when I hit F
 and am watching a video.  Heck, I didn't have a menu at the top,  To
 this day, I have no clue what I did.  I was typing a comment on a social
 site and all of the sudden, it went sucky.  Still no clue but thank
 goodness it fixed itself after I killed it and restarted. 

 Dale
 Try pressing F11 in Firefox? ;)

I think I tried that.  I think I tried all the F* keys.  I was also able
to ctrl F* to get to another desktop and use a second browser to try and
figure the thing out.  I tried a few things I found online but none of
them worked.  Also weird, I was typing normal characters when it went
weird on me just like I am in this email.  No ctrl, alt or other keys. 
The closest I got to those was the shift key for capitol letters. 

I just hope I never run into that again.  o_O 

Dale

:-)  :-) 



[gentoo-user] Re: Make the user the member of portage group or not?

2015-03-13 Thread Nikos Chantziaras

On 13/03/15 12:42, Walter Dnes wrote:

On Fri, Mar 13, 2015 at 05:08:16AM -0400, German wrote

Question is in the subject line.


   If the user is a member of portage he can do any emerge operation as
long as the command includes --pretend or -p


Actually, users in the portage group can emerge --fetchonly without 
--pretent. Also, they can:


  rm -rf /usr/portage

(Or whatever the portage directory is set to.)

This might depend on other settings in FEATURES, not sure. But here, 
/usr/portage and everything in it belongs to user portage and group portage.





Re: [gentoo-user] Make the user the member of portage group or not?

2015-03-13 Thread Neil Bothwick
On Fri, 13 Mar 2015 06:42:08 -0400, Walter Dnes wrote:

   If the user is a member of portage he can do any emerge operation as
 long as the command includes --pretend or -p

You don't need to be a member of the portage group to do that.

[fred@shooty ~ 0]% groups
users
[fred@shooty ~ 0]% emerge -p bash

These are the packages that would be merged, in order:

Calculating dependencies... done!
[binary   R] app-shells/bash-4.3_p33-r2 

Being a member of the portage group allows to to write to directories
owned by portage, so you can do things like emerge --sync and
emerge --fetchonly.


-- 
Neil Bothwick

Eat shit - 50 million flies can't be wrong
Use Microsoft . . . . .


pgpvEjukwio38.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] Re: heat codes

2015-03-13 Thread Dale
Mick wrote:



 I don't have the same MoBo and have compiled my corresponding chipset
sensor
 driver as a module.  It doesn't load unless I manually modprobe it or
set it
 up in /etc/conf.d/modules.  This is how many readings I get:

 $ sensors
 radeon-pci-0008
 Adapter: PCI adapter
 temp1:+37.0°C  (crit = +120.0°C, hyst = +90.0°C)

 k10temp-pci-00c3
 Adapter: PCI adapter
 temp1:+36.8°C  (high = +70.0°C)
(crit = +70.0°C, hyst = +69.0°C)

 fam15h_power-pci-00c4
 Adapter: PCI adapter
 power1:   N/A  (crit =  95.09 W)

 nct6791-isa-0290
 Adapter: ISA adapter
 in0:+1.38 V  (min =  +0.00 V, max =  +1.74 V)
 in1:+1.03 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
 in2:+3.34 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
 in3:+3.34 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
 in4:+1.01 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
 in5:+2.04 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
 in6:+0.28 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
 in7:+3.44 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
 in8:+3.33 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
 in9:+0.00 V  (min =  +0.00 V, max =  +0.00 V)
 in10:   +0.17 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
 in11:   +0.17 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
 in12:   +1.01 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
 in13:   +1.03 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
 in14:   +0.21 V  (min =  +0.00 V, max =  +0.00 V)  ALARM
 fan1:  1036 RPM  (min =0 RPM)
 fan2:  1695 RPM  (min =0 RPM)
 fan3:  1001 RPM  (min =0 RPM)
 SYSTIN: +31.0°C  (high =  +0.0°C, hyst =  +0.0°C)  ALARM 
 sensor = thermistor
 CPUTIN: +47.0°C  (high = +80.0°C, hyst = +75.0°C) 
sensor =
 thermistor
 AUXTIN0:   +106.0°Csensor = thermistor
 AUXTIN1:   +105.0°Csensor = thermistor
 AUXTIN2:   +105.0°Csensor = thermistor
 AUXTIN3:   +106.0°Csensor = thermistor
 PCH_CHIP_CPU_MAX_TEMP:   +0.0°C
 PCH_CHIP_TEMP:   +0.0°C
 PCH_CPU_TEMP:+0.0°C
 PCH_MCH_TEMP:+0.0°C
 intrusion0:ALARM
 intrusion1:ALARM
 beep_enable:   disabled

 HTH.


I get things like this:

root@fireball / # ls -al /sys/devices/platform/it87.552/
total 0
drwxr-xr-x  4 root root0 Mar 11 19:25 .
drwxr-xr-x 12 root root0 Mar 11 19:25 ..
-r--r--r--  1 root root 4096 Mar 13 06:16 alarms
lrwxrwxrwx  1 root root0 Mar 11 19:25 driver -
../../../bus/platform/drivers/it87
-rw-r--r--  1 root root 4096 Mar 13 06:16 driver_override
-r--r--r--  1 root root 4096 Mar 13 06:16 fan1_alarm
-rw-r--r--  1 root root 4096 Mar  4 15:11 fan1_beep
-r--r--r--  1 root root 4096 Mar 11 19:26 fan1_input
-rw-r--r--  1 root root 4096 Mar 13 06:16 fan1_min
-r--r--r--  1 root root 4096 Mar 13 06:16 fan2_alarm
-r--r--r--  1 root root 4096 Mar 13 06:16 fan2_beep
-r--r--r--  1 root root 4096 Mar 11 19:26 fan2_input
-rw-r--r--  1 root root 4096 Mar 13 06:16 fan2_min
-r--r--r--  1 root root 4096 Mar 13 06:16 fan3_alarm
-r--r--r--  1 root root 4096 Mar 13 06:16 fan3_beep
-r--r--r--  1 root root 4096 Mar 11 19:26 fan3_input
-rw-r--r--  1 root root 4096 Mar 13 06:16 fan3_min
-r--r--r--  1 root root 4096 Mar 13 06:16 fan4_alarm
-r--r--r--  1 root root 4096 Mar 13 06:16 fan4_beep
-r--r--r--  1 root root 4096 Mar 13 06:16 fan4_input
-rw-r--r--  1 root root 4096 Mar 13 06:16 fan4_min
-r--r--r--  1 root root 4096 Mar 13 06:16 fan5_alarm
-r--r--r--  1 root root 4096 Mar 13 06:16 fan5_beep
-r--r--r--  1 root root 4096 Mar 11 19:26 fan5_input
-rw-r--r--  1 root root 4096 Mar 13 06:16 fan5_min
drwxr-xr-x  3 root root0 Mar 11 19:25 hwmon
-r--r--r--  1 root root 4096 Mar 13 06:16 in0_alarm
-rw-r--r--  1 root root 4096 Mar 13 06:16 in0_beep
-r--r--r--  1 root root 4096 Mar 13 06:16 in0_input
-rw-r--r--  1 root root 4096 Mar 13 06:16 in0_max
-rw-r--r--  1 root root 4096 Mar 13 06:16 in0_min
-r--r--r--  1 root root 4096 Mar 13 06:16 in1_alarm
-r--r--r--  1 root root 4096 Mar 13 06:16 in1_beep
-r--r--r--  1 root root 4096 Mar 13 06:16 in1_input
-rw-r--r--  1 root root 4096 Mar 13 06:16 in1_max
-rw-r--r--  1 root root 4096 Mar 13 06:16 in1_min
-r--r--r--  1 root root 4096 Mar 13 06:16 in2_alarm
-r--r--r--  1 root root 4096 Mar 13 06:16 in2_beep
-r--r--r--  1 root root 4096 Mar 13 06:16 in2_input
-rw-r--r--  1 root root 4096 Mar 13 06:16 in2_max
-rw-r--r--  1 root root 4096 Mar 13 06:16 in2_min
-r--r--r--  1 root root 4096 Mar 13 06:16 in3_alarm
-r--r--r--  1 root root 4096 Mar 13 06:16 in3_beep
-r--r--r--  1 root root 4096 Mar 13 06:16 in3_input
-rw-r--r--  1 root root 4096 Mar 13 06:16 in3_max
-rw-r--r--  1 root root 4096 Mar 13 06:16 in3_min
-r--r--r--  

Re: [gentoo-user] Re: heat codes

2015-03-13 Thread Peter Humphrey
On Friday 13 March 2015 06:27:00 Dale wrote:
 Peter Humphrey wrote:
  On Thursday 12 March 2015 19:38:56 Dale wrote:
  I build everything into the kernel and I don't even install
  lm_sensors. I haven't installed that in ages.
  
  Does that mean that your gkrellm can't display temperatures?
 
 It's been displaying temps for many years.  I posted a list in my
 reply to Mick.  I also can get voltages but don't have it set to show
 them.  I do also monitor temps on the hard drives.  That's done
 through the smart thingy.

I don't know what led you to list that directory, but now that I look 
into my own setup I see I'm using kernel modules too. I know I used to 
use lm_sensors at one time, but genlop doesn't know about it so I must 
have omitted it when I last reinstalled.

# ls -l /sys/devices/platform
total 0
drwxr-xr-x 3 root root0 Mar 13 11:49 alarmtimer
drwxr-xr-x 4 root root0 Mar 13 11:49 coretemp.0
drwxr-xr-x 5 root root0 Mar 13 11:49 i8042
drwxr-xr-x 3 root root0 Mar 13 11:49 pcspkr
drwxr-xr-x 3 root root0 Mar 13 11:49 platform-framebuffer.0
drwxr-xr-x 3 root root0 Mar 13 11:49 PNP0C0C:00
drwxr-xr-x 2 root root0 Mar 13 11:49 power
-rw-r--r-- 1 root root 4.0K Mar 13 11:49 uevent
drwxr-xr-x 3 root root0 Mar 13 11:49 vboxdrv.0

-- 
Rgds
Peter.




Re: [gentoo-user] Re: heat codes

2015-03-13 Thread Dale
Peter Humphrey wrote:
 On Thursday 12 March 2015 19:38:56 Dale wrote:

 I build everything into the kernel and I don't even install
 lm_sensors. I haven't installed that in ages.
 Does that mean that your gkrellm can't display temperatures?


It's been displaying temps for many years.  I posted a list in my reply
to Mick.  I also can get voltages but don't have it set to show them.  I
do also monitor temps on the hard drives.  That's done through the smart
thingy. 

Dale

:-)  :-) 



Re: [gentoo-user] best practise for 4 disks ... redundancy

2015-03-13 Thread Neil Bothwick
On Fri, 13 Mar 2015 14:55:27 +0100, Stefan G. Weichinger wrote:

  See above. The reason for using a RAID1 array is to avoid having
  to update multiple disks, just mount /boot on the RAID device.
  
  % mount | grep boot /dev/md0 on /boot type ext2
  (rw,noatime,stripe=4)  
 
 /boot is my vfat ESP here .. no ext2 ...

That makes no difference, the filesystem sits on top of the RAID.

As I said, that computer is pre-UEFI, so /boot is ext2. But RAID doesn't
care about the filesystem, it just mirrors the bits.


-- 
Neil Bothwick

Pedestrians come in two types: Quick or Dead.


pgp_XFPyDxuQP.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] best practise for 4 disks ... redundancy

2015-03-13 Thread Stefan G. Weichinger
Am 2015-03-13 um 09:59 schrieb Neil Bothwick:

 See above. The reason for using a RAID1 array is to avoid having
 to update multiple disks, just mount /boot on the RAID device.
 
 % mount | grep boot /dev/md0 on /boot type ext2
 (rw,noatime,stripe=4)

/boot is my vfat ESP here .. no ext2 ...




Re: [gentoo-user] Re: heat codes

2015-03-13 Thread Dale
Peter Humphrey wrote:
 On Friday 13 March 2015 06:27:00 Dale wrote:
 Peter Humphrey wrote:
 On Thursday 12 March 2015 19:38:56 Dale wrote:
 I build everything into the kernel and I don't even install
 lm_sensors. I haven't installed that in ages.
 Does that mean that your gkrellm can't display temperatures?
 It's been displaying temps for many years.  I posted a list in my
 reply to Mick.  I also can get voltages but don't have it set to show
 them.  I do also monitor temps on the hard drives.  That's done
 through the smart thingy.
 I don't know what led you to list that directory, but now that I look 
 into my own setup I see I'm using kernel modules too. I know I used to 
 use lm_sensors at one time, but genlop doesn't know about it so I must 
 have omitted it when I last reinstalled.

 # ls -l /sys/devices/platform
 total 0
 drwxr-xr-x 3 root root0 Mar 13 11:49 alarmtimer
 drwxr-xr-x 4 root root0 Mar 13 11:49 coretemp.0
 drwxr-xr-x 5 root root0 Mar 13 11:49 i8042
 drwxr-xr-x 3 root root0 Mar 13 11:49 pcspkr
 drwxr-xr-x 3 root root0 Mar 13 11:49 platform-framebuffer.0
 drwxr-xr-x 3 root root0 Mar 13 11:49 PNP0C0C:00
 drwxr-xr-x 2 root root0 Mar 13 11:49 power
 -rw-r--r-- 1 root root 4.0K Mar 13 11:49 uevent
 drwxr-xr-x 3 root root0 Mar 13 11:49 vboxdrv.0



From my understanding, you can use either the kernel drivers or
lm-sensors.  Many years ago, I sort of got bored installing lm-sensors
and running the setup stuff all the time.  I seem to recall, you have to
do it again when you upgrade the kernel too.  Anyway, I started using
the kernel drivers and I've been doing it that way ever since.  Hey, it
works.  It also gets updated with each kernel upgrade too. 

I'm all for what works.  It works for me and seems it works for you as
well so, yeppie!!!   Given I been battling the flu for a few weeks,
yeppie is about as good as it gets right now.  I never could dance
anyway.  ;-)

Oh, I listed my sensor stuff because Mick listed his.  I thought we
could compare what we each get.  It looks the same to me.  I just didn't
see the need in posting it twice when odds are you will see both posts
anyway.  :-) 

Dale

:-)  :-) 




Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check

2015-03-13 Thread German
On Fri, 13 Mar 2015 15:59:04 +
Neil Bothwick n...@digimed.co.uk wrote:

 On 13 March 2015 15:52:41 GMT+00:00, German gentger...@gmail.com wrote:
  This is very strange. When I boot up my box and login as a user I can
  use screen. But if I booted up and logged in as root first and then su
  user, the user have the error message displayed in the subject line.
  Any ideas?
  
  -- 
  German gentger...@gmail.com
 
 Try su - l user. 

The same error

 -- 
 Sent from my Android phone with K-9 Mail. Please excuse my brevity.


-- 
German gentger...@gmail.com



Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check

2015-03-13 Thread German
On Fri, 13 Mar 2015 10:11:58 -0600
Canek Peláez Valdés can...@gmail.com wrote:

 On Fri, Mar 13, 2015 at 10:06 AM, German gentger...@gmail.com wrote:
 
  On Fri, 13 Mar 2015 15:59:04 +
  Neil Bothwick n...@digimed.co.uk wrote:
 
   On 13 March 2015 15:52:41 GMT+00:00, German gentger...@gmail.com
 wrote:
This is very strange. When I boot up my box and login as a user I can
use screen. But if I booted up and logged in as root first and then su
user, the user have the error message displayed in the subject line.
Any ideas?
   
--
German gentger...@gmail.com
  
   Try su - l user.
 
  The same error
 
 Are you using logind?

Good question. What is logind? How I can find out what am I using?
 
 Regards.
 --
 Canek Peláez Valdés
 Profesor de asignatura, Facultad de Ciencias
 Universidad Nacional Autónoma de México


-- 
German gentger...@gmail.com



[gentoo-user] Damaged CD medium

2015-03-13 Thread Mick
Hi All,

I was given a CD with some pictures, but I am not able to mount it.  This is 
what dmesg reveals:

[ 7791.880206] sr 1:0:0:0: [sr0]  
[ 7791.880211] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 7791.880215] sr 1:0:0:0: [sr0]  
[ 7791.880217] Sense Key : Hardware Error [current] 
[ 7791.880224] sr 1:0:0:0: [sr0]  
[ 7791.880229] Add. Sense: Timeout on logical unit
[ 7791.880233] sr 1:0:0:0: [sr0] CDB: 
[ 7791.880236] Read(10): 28 00 00 00 00 00 00 00 02 00
[ 7791.880252] blk_update_request: I/O error, dev sr0, sector 0
[ 7800.424417] sr 1:0:0:0: [sr0]  
[ 7800.424422] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 7800.424427] sr 1:0:0:0: [sr0]  
[ 7800.424429] Sense Key : Hardware Error [current] 
[ 7800.424436] sr 1:0:0:0: [sr0]  
[ 7800.424440] Add. Sense: Timeout on logical unit
[ 7800.424445] sr 1:0:0:0: [sr0] CDB: 
[ 7800.424447] Read(10): 28 00 00 00 00 00 00 00 02 00
[ 7800.424463] blk_update_request: I/O error, dev sr0, sector 0
[ 7800.424468] Buffer I/O error on dev sr0, logical block 0, async page read
[ 7809.051719] sr 1:0:0:0: [sr0]  
[ 7809.051725] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 7809.051729] sr 1:0:0:0: [sr0]  
[ 7809.051731] Sense Key : Hardware Error [current] 
[ 7809.051738] sr 1:0:0:0: [sr0]  
[ 7809.051743] Add. Sense: Timeout on logical unit
[ 7809.051748] sr 1:0:0:0: [sr0] CDB: 
[ 7809.051750] Read(10): 28 00 00 00 00 00 00 00 02 00
[ 7809.051766] blk_update_request: I/O error, dev sr0, sector 0
[ 7809.051771] Buffer I/O error on dev sr0, logical block 0, async page read
[ 7817.681141] sr 1:0:0:0: [sr0]  
[ 7817.681146] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 7817.681150] sr 1:0:0:0: [sr0]  
[ 7817.681152] Sense Key : Hardware Error [current] 
[ 7817.681159] sr 1:0:0:0: [sr0]  
[ 7817.681164] Add. Sense: Timeout on logical unit
[ 7817.681168] sr 1:0:0:0: [sr0] CDB: 
[ 7817.681170] Read(10): 28 00 00 00 00 00 00 00 02 00
[ 7817.681187] blk_update_request: I/O error, dev sr0, sector 0
[ 7817.681192] Buffer I/O error on dev sr0, logical block 0, async page read


I tried on different PCs and I am getting the same error.  Shall I forget 
about it, or is there some means by which I can recover the files on it?

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check

2015-03-13 Thread German
This is very strange. When I boot up my box and login as a user I can use 
screen. But if I booted up and logged in as root first and then su user, the 
user have the error message displayed in the subject line. Any ideas?

-- 
German gentger...@gmail.com



Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check

2015-03-13 Thread Neil Bothwick
On 13 March 2015 15:52:41 GMT+00:00, German gentger...@gmail.com wrote:
 This is very strange. When I boot up my box and login as a user I can
 use screen. But if I booted up and logged in as root first and then su
 user, the user have the error message displayed in the subject line.
 Any ideas?
 
 -- 
 German gentger...@gmail.com

Try su - l user. 
-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check

2015-03-13 Thread Canek Peláez Valdés
On Fri, Mar 13, 2015 at 10:06 AM, German gentger...@gmail.com wrote:

 On Fri, 13 Mar 2015 15:59:04 +
 Neil Bothwick n...@digimed.co.uk wrote:

  On 13 March 2015 15:52:41 GMT+00:00, German gentger...@gmail.com
wrote:
   This is very strange. When I boot up my box and login as a user I can
   use screen. But if I booted up and logged in as root first and then su
   user, the user have the error message displayed in the subject line.
   Any ideas?
  
   --
   German gentger...@gmail.com
 
  Try su - l user.

 The same error

Are you using logind?

Regards.
--
Canek Peláez Valdés
Profesor de asignatura, Facultad de Ciencias
Universidad Nacional Autónoma de México


Re: [gentoo-user] Re: heat codes

2015-03-13 Thread Mick
On Friday 13 Mar 2015 15:49:38 Dale wrote:
 Peter Humphrey wrote:
  On Friday 13 March 2015 06:27:00 Dale wrote:
  Peter Humphrey wrote:
  On Thursday 12 March 2015 19:38:56 Dale wrote:
  I build everything into the kernel and I don't even install
  lm_sensors. I haven't installed that in ages.
  
  Does that mean that your gkrellm can't display temperatures?
  
  It's been displaying temps for many years.  I posted a list in my
  reply to Mick.  I also can get voltages but don't have it set to show
  them.  I do also monitor temps on the hard drives.  That's done
  through the smart thingy.
  
  I don't know what led you to list that directory, but now that I look
  into my own setup I see I'm using kernel modules too. I know I used to
  use lm_sensors at one time, but genlop doesn't know about it so I must
  have omitted it when I last reinstalled.
  
  # ls -l /sys/devices/platform
  total 0
  drwxr-xr-x 3 root root0 Mar 13 11:49 alarmtimer
  drwxr-xr-x 4 root root0 Mar 13 11:49 coretemp.0
  drwxr-xr-x 5 root root0 Mar 13 11:49 i8042
  drwxr-xr-x 3 root root0 Mar 13 11:49 pcspkr
  drwxr-xr-x 3 root root0 Mar 13 11:49 platform-framebuffer.0
  drwxr-xr-x 3 root root0 Mar 13 11:49 PNP0C0C:00
  drwxr-xr-x 2 root root0 Mar 13 11:49 power
  -rw-r--r-- 1 root root 4.0K Mar 13 11:49 uevent
  drwxr-xr-x 3 root root0 Mar 13 11:49 vboxdrv.0
 
 From my understanding, you can use either the kernel drivers or
 lm-sensors.  

Really?

I didn't know this.  I have installed both, seemingly without any ill effects.


 Many years ago, I sort of got bored installing lm-sensors
 and running the setup stuff all the time.  I seem to recall, you have to
 do it again when you upgrade the kernel too.  

I didn't know this either.  Anyway, gkrellm works happily which is what I 
primarily use, unless I'm login in remotely in which case I just run 'watch -d 
sensors' if I want to check what's happening on the MoBo.

-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check

2015-03-13 Thread Canek Peláez Valdés
On Fri, Mar 13, 2015 at 10:22 AM, German gentger...@gmail.com wrote:
[ ... ]
  Are you using logind?

 Good question. What is logind? How I can find out what am I using?

If you are using systemd, you are using logind. Otherwise you are not.

Regards.
--
Canek Peláez Valdés
Profesor de asignatura, Facultad de Ciencias
Universidad Nacional Autónoma de México


Re: [gentoo-user] Screen: Cannot open your terminal '/dev/tty1' - please check

2015-03-13 Thread German
On Fri, 13 Mar 2015 10:31:11 -0600
Canek Peláez Valdés can...@gmail.com wrote:

 On Fri, Mar 13, 2015 at 10:22 AM, German gentger...@gmail.com wrote:
 [ ... ]
   Are you using logind?
 
  Good question. What is logind? How I can find out what am I using?
 
 If you are using systemd, you are using logind. Otherwise you are not.

No, I am using openRC
 
 Regards.
 --
 Canek Peláez Valdés
 Profesor de asignatura, Facultad de Ciencias
 Universidad Nacional Autónoma de México


-- 
German gentger...@gmail.com



Re: [gentoo-user] Damaged CD medium

2015-03-13 Thread David W Noon
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 13 Mar 2015 16:30:59 +, Mick (michaelkintz...@gmail.com)
wrote about [gentoo-user] Damaged CD medium (in
201503131631.02862.michaelkintz...@gmail.com):

[snip]
 I tried on different PCs and I am getting the same error.  Shall I
 forget about it, or is there some means by which I can recover the
 files on it?

I bought a CD/DVD cleaner from Maplins a few years ago and it recovers
damaged discs quite nicely.  It uses an abrasive to clean and polish
the surface, so it can be used only a limited number of times on any
given disc -- it will eventually grind through the plastic to the foil.

The nearest I could find on the Web, also from Maplins, was this:

http://www.maplin.co.uk/p/cddvd-cleaner-and-restorer-polish-qm13p

It's visually different from the one I bought, and appears to be
rather less aggressive.
- -- 
Regards,

Dave  [RLU #314465]
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
dwn...@ntlworld.com (David W Noon)
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iEYEARECAAYFAlUDFrIACgkQRQ2Fs59Psv+MfgCgmZZESWyTwVOlFjBSzyQoXqO/
LBIAoMHClLFAKHUVg/S01kCCxIE0TMxc
=3GJD
-END PGP SIGNATURE-