Re: [gentoo-user] USB Problems

2014-08-27 Thread Alexander Kapshuk
On Tue, Aug 26, 2014 at 11:29 PM, siefke_lis...@web.de
siefke_lis...@web.de wrote:
 Hello,

 i has problems with an UMTS Stick and Printer on USB. Nothing want work.
 The printer take the job and nothing more. It works ever good and in
 kernel i has nothing changed. But my printer not speak with me. :)

 gentoomobile log # tail -f /var/log/messages
 Aug 26 22:22:47 gentoomobile syslog-ng[2931]: syslog-ng starting up; 
 version='3.4.8'
 Aug 26 22:22:57 gentoomobile kernel: usb 3-1: new full-speed USB device 
 number 3 using uhci_hcd
 Aug 26 22:22:57 gentoomobile kernel: usb 3-1: New USB device found, 
 idVendor=04f9, idProduct=01eb
 Aug 26 22:22:57 gentoomobile kernel: usb 3-1: New USB device strings: Mfr=0, 
 Product=0, SerialNumber=3
 Aug 26 22:22:57 gentoomobile kernel: usb 3-1: SerialNumber: 000M9N691511
 Aug 26 22:22:57 gentoomobile kernel: usblp 3-1:1.0: usblp0: USB Bidirectional 
 printer dev 3 if 0 alt 0 proto 2 vid 0x04F9 pid 0x01EB
 Aug 26 22:22:57 gentoomobile mtp-probe: checking bus 3, device 3: 
 /sys/devices/pci:00/:00:1d.1/usb3/3-1
 Aug 26 22:22:57 gentoomobile mtp-probe: bus: 3, device: 3 was not an MTP 
 device

 gentoomobile log # tail -f /var/log/cups/error.log
 W [26/Aug/2014:22:20:18 +0200] CreateProfile failed: 
 org.freedesktop.DBus.Error.ServiceUnknown:The name 
 org.freedesktop.ColorManager was not provided by any .service files
 W [26/Aug/2014:22:20:18 +0200] CreateDevice failed: 
 org.freedesktop.DBus.Error.ServiceUnknown:The name 
 org.freedesktop.ColorManager was not provided by any .service files

 Same with UMTS Stick. I take in USB say networkmanager should call but
 nothing happen. A short try only for a moment very short moment thats
 all.

 Is there something changed in USB ?? I has on all notebooks same config
 but the same happen. On all maschine is this happen.

 Regards
 Silvio


I've never had to set up a USB modem myself, but I've found an article
on gentoo wiki, this seems to cover the topic in question.
Did you set up your device by following the instructions given in that
article, or did you do it some other way?
http://wiki.gentoo.org/wiki/USB_mobile_broadband_modem



Re: [gentoo-user] Software RAID-1 - FIXED

2014-08-27 Thread Peter Humphrey
On Tuesday 26 August 2014 18:25:00 Kerin Millar wrote:
 On 26/08/2014 17:49, Peter Humphrey wrote:
  So all this has been for nothing. I was sure I'd set 1.x metadata when
  creating the md device, but I must eat humble pie and glare once again at
  my own memory.
 
 Not to worry. However, I still think that it's a bug that mdadm behaves
 as it does, leading to the curious behaviour of the mdraid script.
 Please consider filing one and, if you do so, cc me into it. I have an
 interest in pursuing it.

Done:   https://bugs.gentoo.org/show_bug.cgi?id=521280

-- 
Regards
Peter




[gentoo-user] Re: USB Problems

2014-08-27 Thread James
Alexander Kapshuk alexander.kapshuk at gmail.com writes:


  Same with UMTS Stick. I take in USB say networkmanager should call but
  nothing happen. A short try only for a moment very short moment thats
  all.

 I've never had to set up a USB modem myself, but I've found an article
 on gentoo wiki, this seems to cover the topic in question.
 Did you set up your device by following the instructions given in that
 article, or did you do it some other way?
 http://wiki.gentoo.org/wiki/USB_mobile_broadband_modem


Likewise, I have not specific experience with your modem[1].
That said, I'd research how several other popular Linux distros (like
ubuntu, debian, etc) support such a modem. Note the software and config
files used in another linux distro [2] and then implement a similar solution
that works for Gentoo.

hth,
James

[1]
http://translate.google.com/translate?prev=/language_toolsu=http://de.wikipedia.org/wiki/UMTS-Modem

[2]http://blog.philippklaus.de/2012/04/using-the-huawei-e352s-5-umts-usb-modem-stick-with-ubuntu-and-openwrt/





Re: [gentoo-user] accidentally deleted the /usr (I'm gonna kill myself!)

2014-08-27 Thread Nikita Tropin
Not so long ago I was mrpropered my /home. You situation is much
harder but... There is exist utility sys-fs/extundelete and if you
have ~500-600mb of unparted
disk space(and of course your /removed usr is ext fs), you can
create new /usr there, unpack stage3's /usr to /newusr, chroot,
emerge extundelete, and try to restore all your data. But for my
experience it restored ~20-30%, may be you'll be more lucky.

2014-08-25 18:45 GMT+03:00 hasufell hasuf...@gentoo.org:
 behrouz khosravi:
 On Mon, Aug 25, 2014 at 3:57 AM, Volker Armin Hemmann
 volkerar...@googlemail.com wrote:

 and now you know why you should have added --buildpkg to your default
 emerge options.

 Yeah, I am happy that I did it. I really don't like to compile
 chromium or libreoffice again!


 Those methods are all not safe if you happen to randomly delete system
 folders by accident.

 The only relatively safe methods are rsync to a remote (or similar) or
 file system level backups like zfs has.




-- 
Regards,
Nikita



Re: [gentoo-user] accidentally deleted the /usr (I'm gonna kill myself!)

2014-08-27 Thread behrouz khosravi
On Wed, Aug 27, 2014 at 8:33 PM, Nikita Tropin posixivis...@gmail.com wrote:
 Not so long ago I was mrpropered my /home. You situation is much
 harder but... There is exist utility sys-fs/extundelete and if you
 have ~500-600mb of unparted
 disk space(and of course your /removed usr is ext fs), you can
 create new /usr there, unpack stage3's /usr to /newusr, chroot,
 emerge extundelete, and try to restore all your data. But for my
 experience it restored ~20-30%, may be you'll be more lucky.


Thanks for the advice, but unfortunately the situation was worse that I thought!
Almost all of the /usr was gone, and I decided to do a clean reinstall.
I didn't have so much installed ( xorg, i3 and some other packages ).
I finished the reinstall several hours ago, and on the bright side I
have a update system now!

Thanks everybody for your time and help.