Re: [gentoo-user] USB Problems

2014-09-08 Thread J. Roeleveld
On Sunday, September 07, 2014 05:54:23 PM siefke_lis...@web.de wrote:
 Hello,
 
 On Sun, 07 Sep 2014 09:42:44 +0200 J. Roeleveld 
jo...@antarean.org
 
 wrote:
   http://picpaste.com/11-PzitLROe.png
  
  Please do not use this.
  
   cups error.log with debug: http://pastebin.com/8mL75b26
  
  Please do not use this. Attach it to the email.
 
 Okay sorry, but with debug logs is often problems to append on emails
 to mailinglists.

Not on this list.
The use to pastebin and picpaste is frowned upon because those 
resources disappear, making the emails useless as reference material.

  Lets start by basics:
  1) Which type of printer are you using?
 
 Multifunction Laser Printer Brother MFC-7320

Had a google on this and found some references which seem to indicate 
you need to download and install specific cups-drivers to get this one to 
work.

Did you try downloading them from Brother directly?
http://support.brother.com/g/b/downloadtop.aspx?c=gblang=enprod=m
fc7320_eu

You might be able to convert the following PKGBUILD from Arch Linux to an 
Ebuild to get it to work:
https://github.com/rdoursenaud/brother-mfc7320-cups/blob/master/PKGBUILD

  4) Did you restart cups after changing the USE-flag?
 
 The computer does not print over the network. That is strange.

To print over the network, you need to have a network printer configured.

 Cups I've restarted.

ok.


Re: [gentoo-user] USB Problems

2014-09-08 Thread Neil Bothwick
On Mon, 08 Sep 2014 21:03:02 +0200, J. Roeleveld wrote:

  Multifunction Laser Printer Brother MFC-7320  

I have an MFC-7460

 
 Had a google on this and found some references which seem to indicate 
 you need to download and install specific cups-drivers to get this one
 to work.
 
 Did you try downloading them from Brother directly?
 http://support.brother.com/g/b/downloadtop.aspx?c=gblang=enprod=m
 fc7320_eu
 
 You might be able to convert the following PKGBUILD from Arch Linux to
 an Ebuild to get it to work:
 https://github.com/rdoursenaud/brother-mfc7320-cups/blob/master/PKGBUILD

There are ebuilds available for most Brother drives in various layman 
overlays or on b.g.o.


-- 
Neil Bothwick

The voices in my head may not be real, but they have some good ideas!


signature.asc
Description: PGP signature


Re: [gentoo-user] USB Problems

2014-09-08 Thread Stroller

On Mon, 8 September 2014, at 8:03 pm, J. Roeleveld jo...@antarean.org wrote:
… 
   Please do not use this. Attach it to the email.
  
  Okay sorry, but with debug logs is often problems to append on emails
  to mailinglists.
  
 Not on this list.
 The use to pastebin and picpaste is frowned upon because those resources 
 disappear, making the emails useless as reference material.

Whilst we're on the subject, you've posted a couple of HTML emails the last 
couple of days, Joost. 

The message to which I am replying was one of them.

Stroller.




Re: [gentoo-user] USB Problems

2014-09-07 Thread J. Roeleveld
On Sunday, September 07, 2014 01:11:34 AM siefke_lis...@web.de wrote:
 Hello,
 
 On Sat, 06 Sep 2014 20:35:39 +0200 J. Roeleveld 
jo...@antarean.org
 
 wrote:
  Did you read the rest of the email?
 
 Yes i have and has say that the printer ever has work with kernel usb
 printer support and disabled cups usb.
 
  I have not been able to use Cups with USB printer support in the
  kernel for nearly a decade now. Disabling that in the kernel and
  having Cups handle it, with the USB flag enabled, has always worked
  for me.
 
 I has change now. Kernel USB Module deactivate and cups usb activated.
 It work not. I can not see the printer.
 
 http://picpaste.com/11-PzitLROe.png

Please do not use this.

 ^Cgentoomobile siefke dmesg | tails
 [  541.371103] usb 3-1: new full-speed USB device number 2 using 
uhci_hcd
 [  541.722168] usb 3-1: New USB device found, idVendor=04f9, 
idProduct=01eb
 [  541.722180] usb 3-1: New USB device strings: Mfr=0, Product=0,
 SerialNumber=3 [  541.722188] usb 3-1: SerialNumber: 000M9N691511
 [  925.250217] usb 3-1: USB disconnect, device number 2
 [  930.026070] usb 3-1: new full-speed USB device number 3 using 
uhci_hcd
 [  930.176145] usb 3-1: New USB device found, idVendor=04f9, 
idProduct=01eb
 [  930.176157] usb 3-1: New USB device strings: Mfr=0, Product=0,
 SerialNumber=3 [  930.176164] usb 3-1: SerialNumber: 000M9N691511

It detects the USB device.

 gentoomobile siefke # cat /usr/src/linux/.config | grep USB_PRINTER
 # CONFIG_USB_PRINTER is not set
 
 I has now try my netbook print over the cups on my dell notebook. But 
cups
 from netbook want not print over network. I find crazy.
 
 cups access log
 localhost - - [07/Sep/2014:01:03:53 +0200] POST /jobs HTTP/1.1 200
 139 Release-Job successful-ok
 
 cups error.log with debug: http://pastebin.com/8mL75b26

Please do not use this. Attach it to the email.

 I not know what happen that its so crazy. Has someone advice?

Lets start by basics:
1) Which type of printer are you using?
2) What does  eix -I cups  return?
3) What does  zcat /proc/config.gz | grep -i usb  return?
4) Did you restart cups after changing the USE-flag?

--
Joost


Re: [gentoo-user] USB Problems

2014-09-07 Thread siefke_lis...@web.de
Hello,

On Sun, 07 Sep 2014 09:42:44 +0200 J. Roeleveld jo...@antarean.org
wrote:

  http://picpaste.com/11-PzitLROe.png
 
 Please do not use this.
 
  cups error.log with debug: http://pastebin.com/8mL75b26
 
 Please do not use this. Attach it to the email.

Okay sorry, but with debug logs is often problems to append on emails 
to mailinglists. 


 Lets start by basics:
 1) Which type of printer are you using?

Multifunction Laser Printer Brother MFC-7320

 2) What does  eix -I cups  return?

iefke ~ $  eix -I cups
[I] net-print/cups
 Available versions:  1.7.1-r1^t{tbz2} 1.7.3^t{tbz2} ~1.7.4^t **^t {X 
acl dbus debug gnutls java kerberos lprng-compat pam python selinux +ssl 
static-libs systemd +threads usb xinetd zeroconf ABI_MIPS=n32 n64 o32 
ABI_PPC=32 64 ABI_S390=32 64 ABI_X86=32 64 x32 ELIBC=FreeBSD 
LINGUAS=+ca +es +fr +it +ja +pt_BR +ru PYTHON_SINGLE_TARGET=python2_7 
PYTHON_TARGETS=python2_7}
 Installed versions:  1.7.3^t{tbz2}(00:50:26 07.09.2014)(X acl dbus pam 
python ssl threads usb -debug -gnutls -java -kerberos -lprng-compat -selinux 
-static-libs -systemd -xinetd -zeroconf ABI_MIPS=-n32 -n64 -o32 ABI_PPC=-32 
-64 ABI_S390=-32 -64 ABI_X86=32 -64 -x32 ELIBC=-FreeBSD LINGUAS=fr -ca 
-es -it -ja -pt_BR -ru PYTHON_SINGLE_TARGET=python2_7 
PYTHON_TARGETS=python2_7)
 Homepage:http://www.cups.org/
 Description: The Common Unix Printing System

[I] net-print/cups-filters
 Available versions:  1.0.53{tbz2} ~1.0.54 ** {dbus +foomatic jpeg perl 
png static-libs tiff zeroconf}
 Installed versions:  1.0.53{tbz2}(03:20:16 09.06.2014)(dbus foomatic jpeg 
png tiff -perl -static-libs -zeroconf)
 Homepage:
http://www.linuxfoundation.org/collaborate/workgroups/openprinting/pdfasstandardprintjobformat
 Description: Cups PDF filters

2 Treffer

 3) What does  zcat /proc/config.gz | grep -i usb  return?

siefke ~ $  zcat /proc/config.gz | grep -i usb
# CONFIG_USB_SWITCH_FSA9480 is not set
# USB Network Adapters
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_RTL8152 is not set
CONFIG_USB_USBNET=m
CONFIG_USB_NET_AX8817X=m
# CONFIG_USB_NET_AX88179_178A is not set
CONFIG_USB_NET_CDCETHER=m
CONFIG_USB_NET_CDC_EEM=m
# CONFIG_USB_NET_CDC_NCM is not set
# CONFIG_USB_NET_HUAWEI_CDC_NCM is not set
# CONFIG_USB_NET_CDC_MBIM is not set
CONFIG_USB_NET_DM9601=m
# CONFIG_USB_NET_SR9700 is not set
# CONFIG_USB_NET_SR9800 is not set
# CONFIG_USB_NET_SMSC75XX is not set
# CONFIG_USB_NET_SMSC95XX is not set
# CONFIG_USB_NET_GL620A is not set
CONFIG_USB_NET_NET1080=m
# CONFIG_USB_NET_PLUSB is not set
# CONFIG_USB_NET_MCS7830 is not set
CONFIG_USB_NET_RNDIS_HOST=m
CONFIG_USB_NET_CDC_SUBSET=m
# CONFIG_USB_ALI_M5632 is not set
# CONFIG_USB_AN2720 is not set
CONFIG_USB_BELKIN=y
CONFIG_USB_ARMLINUX=y
# CONFIG_USB_EPSON2888 is not set
# CONFIG_USB_KC2190 is not set
CONFIG_USB_NET_ZAURUS=m
# CONFIG_USB_NET_CX82310_ETH is not set
# CONFIG_USB_NET_KALMIA is not set
# CONFIG_USB_NET_QMI_WWAN is not set
CONFIG_USB_HSO=m
# CONFIG_USB_NET_INT51X1 is not set
# CONFIG_USB_IPHETH is not set
# CONFIG_USB_SIERRA_NET is not set
# CONFIG_USB_VL600 is not set
# CONFIG_AT76C50X_USB is not set
# CONFIG_USB_ZD1201 is not set
# CONFIG_USB_NET_RNDIS_WLAN is not set
# CONFIG_MOUSE_SYNAPTICS_USB is not set
# CONFIG_I2C_TINY_USB is not set
# CONFIG_MFD_RTSX_USB is not set
CONFIG_MEDIA_USB_SUPPORT=y
CONFIG_USB_VIDEO_CLASS=m
CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y
# CONFIG_USB_GSPCA is not set
# CONFIG_USB_PWC is not set
# CONFIG_USB_ZR364XX is not set
# CONFIG_USB_STKWEBCAM is not set
# CONFIG_USB_S2255 is not set
# CONFIG_VIDEO_USBTV is not set
# Analog/digital TV USB devices
# Digital TV USB devices
CONFIG_DVB_USB=m
# CONFIG_DVB_USB_DEBUG is not set
# CONFIG_DVB_USB_A800 is not set
CONFIG_DVB_USB_DIBUSB_MB=m
CONFIG_DVB_USB_DIBUSB_MB_FAULTY=y
CONFIG_DVB_USB_DIBUSB_MC=m
CONFIG_DVB_USB_DIB0700=m
# CONFIG_DVB_USB_UMT_010 is not set
# CONFIG_DVB_USB_CXUSB is not set
# CONFIG_DVB_USB_M920X is not set
# CONFIG_DVB_USB_DIGITV is not set
# CONFIG_DVB_USB_VP7045 is not set
# CONFIG_DVB_USB_VP702X is not set
# CONFIG_DVB_USB_GP8PSK is not set
CONFIG_DVB_USB_NOVA_T_USB2=m
# CONFIG_DVB_USB_TTUSB2 is not set
# CONFIG_DVB_USB_DTT200U is not set
# CONFIG_DVB_USB_OPERA1 is not set
CONFIG_DVB_USB_AF9005=m
CONFIG_DVB_USB_AF9005_REMOTE=m
# CONFIG_DVB_USB_PCTV452E is not set
# CONFIG_DVB_USB_DW2102 is not set
# CONFIG_DVB_USB_CINERGY_T2 is not set
# CONFIG_DVB_USB_DTV5100 is not set
# CONFIG_DVB_USB_FRIIO is not set
# CONFIG_DVB_USB_AZ6027 is not set
# CONFIG_DVB_USB_TECHNISAT_USB2 is not set
CONFIG_DVB_USB_V2=m
CONFIG_DVB_USB_AF9015=m
CONFIG_DVB_USB_AF9035=m
# CONFIG_DVB_USB_ANYSEE is not set
# CONFIG_DVB_USB_AU6610 is not set
# CONFIG_DVB_USB_AZ6007 is not set
# CONFIG_DVB_USB_CE6230 is not set
# CONFIG_DVB_USB_EC168 is not set
# CONFIG_DVB_USB_GL861 is not set
# CONFIG_DVB_USB_LME2510 is not set
# 

Re: [gentoo-user] USB Problems

2014-09-06 Thread siefke_lis...@web.de
Hello,

On Thu, 04 Sep 2014 06:58:54 +0200 J. Roeleveld jo...@antarean.org
wrote:

 siefke ~ $  cat /usr/src/linux/.config | grep CONFIG_USB_PRINTER
 CONFIG_USB_PRINTER=m
 
 Change this to 'n'.

No because cups is compile with -usb and the netbook not see printer. 
Dmesg give printer out, but in cups nothing to see in local print 
support. 
 
 siefke ~ $  equery u cups | grep usb
 -usb


Thank you  Ragards
Silvio



Re: [gentoo-user] USB Problems

2014-09-06 Thread Alexander Kapshuk
On Sat, Sep 6, 2014 at 7:52 PM, siefke_lis...@web.de
siefke_lis...@web.de wrote:
 Hello,

 On Thu, 04 Sep 2014 06:58:54 +0200 J. Roeleveld jo...@antarean.org
 wrote:

 siefke ~ $  cat /usr/src/linux/.config | grep CONFIG_USB_PRINTER
 CONFIG_USB_PRINTER=m

 Change this to 'n'.

 No because cups is compile with -usb and the netbook not see printer.
 Dmesg give printer out, but in cups nothing to see in local print
 support.

 siefke ~ $  equery u cups | grep usb
 -usb


 Thank you  Ragards
 Silvio



Have you tried this configuration?
http://wiki.gentoo.org/wiki/HPLIP
For USB printers net-print/cups has to be built with the usb USE flag.
This way it makes use of the dev-libs/libusb user space tool which
replaces kernel usb printer support (CONFIG_USB_PRINTER). In case of
problems you can disable the usb USE flag for net-print/cups and
activate the kernel functionality again.



Re: [gentoo-user] USB Problems

2014-09-06 Thread J. Roeleveld
On 6 September 2014 18:52:54 CEST, siefke_lis...@web.de 
siefke_lis...@web.de wrote:
Hello,

On Thu, 04 Sep 2014 06:58:54 +0200 J. Roeleveld jo...@antarean.org
wrote:

 siefke ~ $  cat /usr/src/linux/.config | grep CONFIG_USB_PRINTER
 CONFIG_USB_PRINTER=m
 
 Change this to 'n'.

No because cups is compile with -usb and the netbook not see printer. 
Dmesg give printer out, but in cups nothing to see in local print 
support. 
 
 siefke ~ $  equery u cups | grep usb
 -usb


Thank you  Ragards
Silvio

Did you read the rest of the email?

I have not been able to use Cups with USB printer support in the kernel for 
nearly a decade now.
Disabling that in the kernel and having Cups handle it, with the USB flag 
enabled, has always worked for me.

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



Re: [gentoo-user] USB Problems

2014-09-06 Thread siefke_lis...@web.de
Hello,

On Sat, 06 Sep 2014 20:35:39 +0200 J. Roeleveld jo...@antarean.org
wrote:

 Did you read the rest of the email?

Yes i have and has say that the printer ever has work with kernel usb 
printer support and disabled cups usb. 
 
 I have not been able to use Cups with USB printer support in the
 kernel for nearly a decade now. Disabling that in the kernel and
 having Cups handle it, with the USB flag enabled, has always worked
 for me.

I has change now. Kernel USB Module deactivate and cups usb activated. 
It work not. I can not see the printer. 

http://picpaste.com/11-PzitLROe.png

^Cgentoomobile siefke dmesg | tails 
[  541.371103] usb 3-1: new full-speed USB device number 2 using uhci_hcd
[  541.722168] usb 3-1: New USB device found, idVendor=04f9, idProduct=01eb
[  541.722180] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=3
[  541.722188] usb 3-1: SerialNumber: 000M9N691511
[  925.250217] usb 3-1: USB disconnect, device number 2
[  930.026070] usb 3-1: new full-speed USB device number 3 using uhci_hcd
[  930.176145] usb 3-1: New USB device found, idVendor=04f9, idProduct=01eb
[  930.176157] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=3
[  930.176164] usb 3-1: SerialNumber: 000M9N691511

gentoomobile siefke # cat /usr/src/linux/.config | grep USB_PRINTER
# CONFIG_USB_PRINTER is not set

I has now try my netbook print over the cups on my dell notebook. But cups 
from netbook want not print over network. I find crazy. 

cups access log
localhost - - [07/Sep/2014:01:03:53 +0200] POST /jobs HTTP/1.1 200 
139 Release-Job successful-ok

cups error.log with debug: http://pastebin.com/8mL75b26

I not know what happen that its so crazy. Has someone advice?

Wish you nice day  Greetings
Silvio



Re: [gentoo-user] USB Problems

2014-09-03 Thread siefke_lis...@web.de
Hello,

so now printer not find in cups. Only networkprinters, local printers
not list in cups. 

siefke ~ $  dmesg | tail
[25616.684126] usb 3-1: new full-speed USB device number 4 using uhci_hcd
[25616.836138] usb 3-1: New USB device found, idVendor=04f9, idProduct=01eb
[25616.836149] usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=3
[25616.836157] usb 3-1: SerialNumber: 000M9N691511
[25616.843492] usblp 3-1:1.0: usblp0: USB Bidirectional printer dev 4 if 0 alt 
0 proto 2 vid 0x04F9 pid 0x01EB

siefke ~ $  cat /usr/src/linux/.config | grep CONFIG_USB_PRINTER
CONFIG_USB_PRINTER=m

siefke ~ $  equery u cups | grep usb
-usb

I not know what is with the laptop. Has someone an idea?

Thank you for help  Nice day

Silvio



Re: [gentoo-user] USB Problems

2014-09-03 Thread J. Roeleveld
On 4 September 2014 01:25:42 CEST, siefke_lis...@web.de 
siefke_lis...@web.de wrote:
Hello,

so now printer not find in cups. Only networkprinters, local printers
not list in cups. 

siefke ~ $  dmesg | tail
[25616.684126] usb 3-1: new full-speed USB device number 4 using
uhci_hcd
[25616.836138] usb 3-1: New USB device found, idVendor=04f9,
idProduct=01eb
[25616.836149] usb 3-1: New USB device strings: Mfr=0, Product=0,
SerialNumber=3
[25616.836157] usb 3-1: SerialNumber: 000M9N691511
[25616.843492] usblp 3-1:1.0: usblp0: USB Bidirectional printer dev 4
if 0 alt 0 proto 2 vid 0x04F9 pid 0x01EB

siefke ~ $  cat /usr/src/linux/.config | grep CONFIG_USB_PRINTER
CONFIG_USB_PRINTER=m

Change this to 'n'.

siefke ~ $  equery u cups | grep usb
-usb

I not know what is with the laptop. Has someone an idea?

Yes.
USB printer support in the kernel does not work with Cups.

--
Joost


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



Re: [gentoo-user] USB Problems

2014-08-28 Thread siefke_lis...@web.de
Hello, 

status update. UMTS is running. It was ppp, installed version 2.4.7 has
not work with networkmanager. I make downgrade to version 2.4.5. Now is
all ok. 

Cups want not work. The link which shared here to gentoo forum has no 
result yet. 

Nice Day  Thank you
Silvio



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] USB Problems

2014-08-26 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



See if this helps.

https://forums.gentoo.org/viewtopic-p-7536492.html
have you made sure that usb printer support is disabled in kernel if
the usb use flag is enabled for cups or vice versa (if usb printer
support is in the kernel, the usb use flag for cups must be disabled,
if no usb printer support is in the kernel, the usb use flag for cups
must be enabled).

hat seems to have done it -- dueling USB drivers, I suppose. Anyway, I
can print again,
which makes me much happier. Thanks for the help!



Re: [gentoo-user] USB Problems

2011-06-16 Thread JDM
Apologies for this. It was supposed to be a general term

With regards to usb issues 2.6.39-r1 has seemed to solve a lot of issues. 

--Original Message--
From: Peter Humphrey
To: Gentoo
ReplyTo: Gentoo
Subject: Re: [gentoo-user] USB Problems
Sent: 16 Jun 2011 00:34

On Sunday 12 June 2011 15:30:12 john wrote:

 Gents

[...]

It may have escaped your attention, but we here aren't all gents.

Just thought I'd mention it.

-- 
Rgds
Peter



JDM



Re: [gentoo-user] USB Problems

2011-06-15 Thread Peter Humphrey
On Sunday 12 June 2011 15:30:12 john wrote:

 Gents

[...]

It may have escaped your attention, but we here aren't all gents.

Just thought I'd mention it.

-- 
Rgds
Peter



Re: [gentoo-user] USB Problems

2011-06-14 Thread Thanasis
on 06/14/2011 08:38 AM john wrote the following:
snip
 Will try studying all options in kernel to see if I can cure this.
 There are roccat options but these are for macros and don't help. But
 there maybe more other subtle ones available.
 
 Regards
 
 Thanks for your help

Have you enabled roccat support in 2.6.39 ?

grep -i roccat .config
# CONFIG_HID_ROCCAT is not set
# CONFIG_HID_ROCCAT_ARVO is not set
# CONFIG_HID_ROCCAT_KONE is not set
# CONFIG_HID_ROCCAT_KONEPLUS is not set
# CONFIG_HID_ROCCAT_KOVAPLUS is not set
# CONFIG_HID_ROCCAT_PYRA is not set



Re: [gentoo-user] USB Problems

2011-06-14 Thread JDM
Have only tried CONFIG_HID_ROCCAT but this did not help. Will give the others a 
go.

Not quite sure why older kernels would recognise keyboard but .39 kernel does 
not and .38 I have issues with when plugging in usb stick. Are the kernel guys 
trying to make the hardware support more specific? Or should any keyboard be 
recognised? Fascinating

--Original Message--
From: Thanasis
To: Gentoo
Cc: john
ReplyTo: Gentoo
Subject: Re: [gentoo-user] USB Problems
Sent: 14 Jun 2011 07:59

on 06/14/2011 08:38 AM john wrote the following:
snip
 Will try studying all options in kernel to see if I can cure this.
 There are roccat options but these are for macros and don't help. But
 there maybe more other subtle ones available.
 
 Regards
 
 Thanks for your help

Have you enabled roccat support in 2.6.39 ?

grep -i roccat .config
# CONFIG_HID_ROCCAT is not set
# CONFIG_HID_ROCCAT_ARVO is not set
# CONFIG_HID_ROCCAT_KONE is not set
# CONFIG_HID_ROCCAT_KONEPLUS is not set
# CONFIG_HID_ROCCAT_KOVAPLUS is not set
# CONFIG_HID_ROCCAT_PYRA is not set



JDM

Re: [gentoo-user] USB Problems

2011-06-14 Thread Indi
On Tue, Jun 14, 2011 at 07:18:02AM +, JDM wrote:
 Have only tried CONFIG_HID_ROCCAT but this did not help. Will give the others 
 a go.
 
 Not quite sure why older kernels would recognise keyboard but .39 kernel does 
 not and .38 I have issues with when plugging in usb stick. Are the kernel 
 guys trying to make the hardware support more specific? Or should any 
 keyboard be recognised? Fascinating
 

When I used 2.6.39-gentoo unmounting the partitions on my Seagate 
portable usb hdd took at least three to five full minutes, and a 
few times shutdown took so long I resorted to powering off before 
it completed. But since Sunday, when I upgraded to 2.6.39-gentoo-r1 
the problem is gone.

-- 
caveat utilitor 
♫ ❤ ♫ ❤ ♫ ❤ ♫ 




Re: [gentoo-user] USB Problems

2011-06-14 Thread Dale

Indi wrote:

On Tue, Jun 14, 2011 at 07:18:02AM +, JDM wrote:
   

Have only tried CONFIG_HID_ROCCAT but this did not help. Will give the others a 
go.

Not quite sure why older kernels would recognise keyboard but .39 kernel does 
not and .38 I have issues with when plugging in usb stick. Are the kernel guys 
trying to make the hardware support more specific? Or should any keyboard be 
recognised? Fascinating

 

When I used 2.6.39-gentoo unmounting the partitions on my Seagate
portable usb hdd took at least three to five full minutes, and a
few times shutdown took so long I resorted to powering off before
it completed. But since Sunday, when I upgraded to 2.6.39-gentoo-r1
the problem is gone.

   


I updated to 2.6.39 and was getting random reboots and lock ups.  I went 
back to 2.6.38 myself.  I think I'll wait until a little later kernel 
before I upgrade.


YMMV

Dale

:-)  :-)



Re: [gentoo-user] USB Problems

2011-06-14 Thread Thanasis
on 06/14/2011 06:50 PM Dale wrote the following:

 I updated to 2.6.39 and was getting random reboots and lock ups.  I went
 back to 2.6.38 myself.  I think I'll wait until a little later kernel
 before I upgrade.
 
Try 2.6.39-r1 ?



Re: [gentoo-user] USB Problems

2011-06-13 Thread meino . cramer
john j...@arcticwolf.myzen.co.uk [11-06-13 07:28]:
 On Sun, 12 Jun 2011 16:57:11 -0500
 Dale rdalek1...@gmail.com wrote:
 
  john wrote:
   On Sun, 12 Jun 2011 15:50:18 -0500
   Dalerdalek1...@gmail.com  wrote:
  
  
   Have you looked to see if that mobo has a USB problem and a BIOS
   update to fix it?
  
   Just curious.
  
   Dale
  
   :-)  :-)
  

   Thanks Dale,
  
   Good thinking. Will have a look. Did upgrade earlier in the year but
   will have another look.
  
  
  
  
  Since the sticks work in other systems, they SHOULD be ok.  Then it 
  becomes a hardware issue.  If they work in a OS then it makes me
  wonder if there is something about the BIOS itself.  Maybe the BIOS
  has a issue that only affects it when it is being booted from.
  
  Just my weird thinking.
  
  Dale
  
  :-)  :-)
  Thanks,
 
 2.6.36 works fine
 2.6.38-r6/r7 panic
 
 Have noticed that using device drivers as modules allows
 me to boot with memory stick already inserted. This previously would not
 work. But the problem still occurs when stick is hot plugged.
 
 So the issue is half solved At least I can access memory stick. So
 thanks there.
 
 Will try Vanilla sources tonight and report bug to lkml.
 
 BIOS is latest standard. SO can't upgrade there
 
 
 
 -- 
 --
 --
 John D Maunder
 j...@arcticwolf.myzen.co.uk
 

Hi John,

just an suggestion:
If trying vanilla sources it would be an idea, to download both:
The vanilla version of the kernel you have encountered problems with 
and the newest shiny one: The kernel of all kernels - the king of the
road of all versions: linux-2.6.39.1
;)

...just for the case, the kernel hackers -- Linus and crew -- have
fixed the bug already.

Fingers crossed!
Best regards,
mcc






Re: [gentoo-user] USB Problems

2011-06-13 Thread Volker Armin Hemmann
On Monday 13 June 2011 08:42:23 meino.cra...@gmx.de wrote:
 john j...@arcticwolf.myzen.co.uk [11-06-13 07:28]:
  On Sun, 12 Jun 2011 16:57:11 -0500
  
  Dale rdalek1...@gmail.com wrote:
   john wrote:
On Sun, 12 Jun 2011 15:50:18 -0500

Dalerdalek1...@gmail.com  wrote:
Have you looked to see if that mobo has a USB problem and a
BIOS
update to fix it?

Just curious.

Dale

:-)  :-)

Thanks Dale,

Good thinking. Will have a look. Did upgrade earlier in the year
but
will have another look.
   
   Since the sticks work in other systems, they SHOULD be ok.  Then it
   becomes a hardware issue.  If they work in a OS then it makes me
   wonder if there is something about the BIOS itself.  Maybe the BIOS
   has a issue that only affects it when it is being booted from.
   
   Just my weird thinking.
   
   Dale
   
   :-)  :-)
   
   Thanks,
  
  2.6.36 works fine
  2.6.38-r6/r7 panic
  
  Have noticed that using device drivers as modules allows
  me to boot with memory stick already inserted. This previously would not
  work. But the problem still occurs when stick is hot plugged.
  
  So the issue is half solved At least I can access memory stick. So
  thanks there.
  
  Will try Vanilla sources tonight and report bug to lkml.
  
  BIOS is latest standard. SO can't upgrade there
 
 Hi John,
 
 just an suggestion:
 If trying vanilla sources it would be an idea, to download both:
 The vanilla version of the kernel you have encountered problems with
 and the newest shiny one: The kernel of all kernels - the king of the
 road of all versions: linux-2.6.39.1

2.6.39.1 still has the problem.

and 2.6.38.X is of no use apart from figuring out where the bug was introduced 
- there are no more stable releases for .38


-- 
#163933



Re: [gentoo-user] USB Problems

2011-06-13 Thread john
On Mon, 13 Jun 2011 00:44:49 -0500
Dale rdalek1...@gmail.com wrote:

 john wrote:
  On Sun, 12 Jun 2011 16:57:11 -0500
  Dalerdalek1...@gmail.com  wrote:
 
 
  john wrote:
   
  On Sun, 12 Jun 2011 15:50:18 -0500
  Dalerdalek1...@gmail.com   wrote:
 
 
 
  Have you looked to see if that mobo has a USB problem and a BIOS
  update to fix it?
 
  Just curious.
 
  Dale
 
  :-)  :-)
 
 
   
  Thanks Dale,
 
  Good thinking. Will have a look. Did upgrade earlier in the year
  but will have another look.
 
 
 
 
  Since the sticks work in other systems, they SHOULD be ok.  Then it
  becomes a hardware issue.  If they work in a OS then it makes me
  wonder if there is something about the BIOS itself.  Maybe the BIOS
  has a issue that only affects it when it is being booted from.
 
  Just my weird thinking.
 
  Dale
 
  :-)  :-)
  Thanks,
   
  2.6.36 works fine
  2.6.38-r6/r7 panic
 
  Have noticed that using device drivers as modules allows
  me to boot with memory stick already inserted. This previously
  would not work. But the problem still occurs when stick is hot
  plugged.
 
  So the issue is half solved At least I can access memory stick.
  So thanks there.
 
  Will try Vanilla sources tonight and report bug to lkml.
 
  BIOS is latest standard. SO can't upgrade there
 
 
 
 
 We know how hard it is to fix a flakey problem.  It could be anything
 or it could be the half asleep geek in the chair.  That last one gets
 me a LOT.  ;-)
 
 Dale
 
 :-)  :-)
 

Ok the half 10th of geek has finally found the issue (I think)

Tried vanilla sources 2.6.38-r7 still the problem occurs

Tried vanilla sources 2.6.39 - had no keyboard support at all.
Got to loogn prompt but could not write and no sysreq.

Went to work and borrowed an old keyboard with old style attchement
(can't remember what these are called but they have purple ends - serial
ps/2??)

No issues with any version of any kernels plugging in usb sticks.
Include gentoo and vanilla. 

I have a roccat keyboard (which I guess is fairly exotic). This is
somehow causing the problem. How I'm not sure.

Using a standard keybaord and no problem.

So if anyone comes across this problem I recommend try a nother
keyboard.

Will try studying all options in kernel to see if I can cure this.
There are roccat options but these are for macros and don't help. But
there maybe more other subtle ones available.

Regards

Thanks for your help
-- 
--
--
John D Maunder
j...@arcticwolf.myzen.co.uk



Re: [gentoo-user] USB Problems

2011-06-12 Thread meino . cramer
john j...@arcticwolf.myzen.co.uk [11-06-12 16:36]:
 Gents
 
 Whenever I insert external USB device my machine locks and I have to do
 a hard reset (sys req does not even work). I have tried this in a
 graphical environment and without. Machine boots up fine with USB
 keyboard and mouse but will not boot up with usb storage (memory stick
 - tried several)
 
 I have recently upgrade kernel to 2.6.38-r6 when this error started
 (approx). Hav also tried 2.6.38-r7 (which according to bugzilla
 should fix an issue similar to this) the error still happens.
 
 Any suggestions on kernel config options, debugging would be
 appreciated. And how to trap full error message.
 
 Error message alongs these lines 
 
 Kernel panic not syncing - fatal exception in iterrupt
 ksoftirqd/1 Not tainted
 
 
 
 
 -- 
 --
 --
 John D Maunder
 j...@arcticwolf.myzen.co.uk
 

Hi John,

may be this could help to track th eerror more closely:
Recompile the kernel with CONFIG_USB_DEBUG set.
If not already done, enable CONFIG_MAGIC_SYSRQ and
read about the available commands in the according
docs under /usr/src/linux/Documentation/.
This is a overall life saver in many other cases too.
But it may be a security hole also -- you can disable 
it in /proc/ later.
If possible change /etc/fstab to mount the partition
to which logging will go with the sync option so
every log entry will go directly onto the bare metal
instead of a RAM buffer.

Reboot into console mode (no X).
cd to the logging directory and
do a tail -f onto the logfile in question

Insert the USB stick of death ;) and
see, whether you can see anything in the
tailed log.

If not do the magic sysrq dance to sync hds,
remount readonly and finally reboot.

Take a closer look into the resulting logs.

Good luck!

Nevertheless have a nice weekend!
Best regards,
mcc





Re: [gentoo-user] USB Problems

2011-06-12 Thread john
On Sun, 12 Jun 2011 16:45:38 +0200
meino.cra...@gmx.de wrote:

 john j...@arcticwolf.myzen.co.uk [11-06-12 16:36]:
  Gents
  
  Whenever I insert external USB device my machine locks and I have
  to do a hard reset (sys req does not even work). I have tried this
  in a graphical environment and without. Machine boots up fine with
  USB keyboard and mouse but will not boot up with usb storage
  (memory stick
  - tried several)
  
  I have recently upgrade kernel to 2.6.38-r6 when this error started
  (approx). Hav also tried 2.6.38-r7 (which according to bugzilla
  should fix an issue similar to this) the error still happens.
  
  Any suggestions on kernel config options, debugging would be
  appreciated. And how to trap full error message.
  
  Error message alongs these lines 
  
  Kernel panic not syncing - fatal exception in iterrupt
  ksoftirqd/1 Not tainted
  
  
  
  
  -- 
  --
  --
  John D Maunder
  j...@arcticwolf.myzen.co.uk
  
 
 Hi John,
 
 may be this could help to track th eerror more closely:
 Recompile the kernel with CONFIG_USB_DEBUG set.
 If not already done, enable CONFIG_MAGIC_SYSRQ and
 read about the available commands in the according
 docs under /usr/src/linux/Documentation/.
 This is a overall life saver in many other cases too.
 But it may be a security hole also -- you can disable 
 it in /proc/ later.
 If possible change /etc/fstab to mount the partition
 to which logging will go with the sync option so
 every log entry will go directly onto the bare metal
 instead of a RAM buffer.
 
 Reboot into console mode (no X).
 cd to the logging directory and
 do a tail -f onto the logfile in question
 
 Insert the USB stick of death ;) and
 see, whether you can see anything in the
 tailed log.
 
 If not do the magic sysrq dance to sync hds,
 remount readonly and finally reboot.
 
 Take a closer look into the resulting logs.
 
 Good luck!
 
 Nevertheless have a nice weekend!
 Best regards,
 mcc
 
 
 

Thanks mmc,
CONFIG_MAGIC_SYSRQ and CONFIG_USB_DEBUG set to y

When I plug in USB device SYSREQ does not work. I have tested when
system is normal and all ok with SYSREQ so USB device is locking up
system completely.

I have put sync in mount table but when device is inserted error log
is not being produced (in /var/log/messages, etc). I may end up having
to take a photo of error log(lol). Or there maybe some other way of
catching error which Gentoo gurus may advise.

I have tried 3 memory sticks and they all lock system up. These work
on another PC using Arch and work on this PC dual booting with Windows.
I have a usb hard drive which works ok so it is a memory stick only
issue

Hmmm. 

-- 
--
--
John D Maunder
j...@arcticwolf.myzen.co.uk



Re: [gentoo-user] USB Problems

2011-06-12 Thread meino . cramer
john j...@arcticwolf.myzen.co.uk [11-06-12 20:52]:
 On Sun, 12 Jun 2011 16:45:38 +0200
 meino.cra...@gmx.de wrote:
 
  john j...@arcticwolf.myzen.co.uk [11-06-12 16:36]:
   Gents
   
   Whenever I insert external USB device my machine locks and I have
   to do a hard reset (sys req does not even work). I have tried this
   in a graphical environment and without. Machine boots up fine with
   USB keyboard and mouse but will not boot up with usb storage
   (memory stick
   - tried several)
   
   I have recently upgrade kernel to 2.6.38-r6 when this error started
   (approx). Hav also tried 2.6.38-r7 (which according to bugzilla
   should fix an issue similar to this) the error still happens.
   
   Any suggestions on kernel config options, debugging would be
   appreciated. And how to trap full error message.
   
   Error message alongs these lines 
   
   Kernel panic not syncing - fatal exception in iterrupt
   ksoftirqd/1 Not tainted
   
   
   
   
   -- 
   --
   --
   John D Maunder
   j...@arcticwolf.myzen.co.uk
   
  
  Hi John,
  
  may be this could help to track th eerror more closely:
  Recompile the kernel with CONFIG_USB_DEBUG set.
  If not already done, enable CONFIG_MAGIC_SYSRQ and
  read about the available commands in the according
  docs under /usr/src/linux/Documentation/.
  This is a overall life saver in many other cases too.
  But it may be a security hole also -- you can disable 
  it in /proc/ later.
  If possible change /etc/fstab to mount the partition
  to which logging will go with the sync option so
  every log entry will go directly onto the bare metal
  instead of a RAM buffer.
  
  Reboot into console mode (no X).
  cd to the logging directory and
  do a tail -f onto the logfile in question
  
  Insert the USB stick of death ;) and
  see, whether you can see anything in the
  tailed log.
  
  If not do the magic sysrq dance to sync hds,
  remount readonly and finally reboot.
  
  Take a closer look into the resulting logs.
  
  Good luck!
  
  Nevertheless have a nice weekend!
  Best regards,
  mcc
  
  
  
 
 Thanks mmc,
 CONFIG_MAGIC_SYSRQ and CONFIG_USB_DEBUG set to y
 
 When I plug in USB device SYSREQ does not work. I have tested when
 system is normal and all ok with SYSREQ so USB device is locking up
 system completely.
 
 I have put sync in mount table but when device is inserted error log
 is not being produced (in /var/log/messages, etc). I may end up having
 to take a photo of error log(lol). Or there maybe some other way of
 catching error which Gentoo gurus may advise.
 
 I have tried 3 memory sticks and they all lock system up. These work
 on another PC using Arch and work on this PC dual booting with Windows.
 I have a usb hard drive which works ok so it is a memory stick only
 issue
 
 Hmmm. 
 
 -- 
 --
 --
 John D Maunder
 j...@arcticwolf.myzen.co.uk
 

Hi John,

if sysreq does not work after inserting the usbstick then the kernel
stops working completly (the sysreq-code of the kernel is not
entered), which seems to be that something happening on very low
level (the problem not the sysreq-code of course... ;)

Just another shot into the dark:
Do you have modularized all usb-related stuff? This also may help to 
let the usb-sticks work correctly.

Ah! Another thing: Insert the related modules into
/etc/conf.d/modules so that they get loaded in a very early
phase of the bootprocess.

With modules loaded and with no usb-sticks as root inspect the
according modules with modinfo -p modulename to see, whether
there a additional parameters you may pass to the modules to get
an extra of informations or - better - to fix the issue.

Modify under Kernel hacking in the kernel config the
Default message log level to see more.

Furthermore there is a switch Kernel debugging with sub-options.
May be turning on these may also help to get closer to all evil ;)

Last thing:
If there is nothing valueable stored on the usbsticks:
Try to reformat the usbsticks. Instead of putting a FAT32-fs on the 
bare device, create a regular partition and create a Linux-fs
(reiserfs, ext2/3/4 or like that) on that partition.

This may not be good idea in general, but - if it works - this would
give a hint, where to search next.

Good luck!

Best regards,
mcc











Re: [gentoo-user] USB Problems

2011-06-12 Thread Dale

meino.cra...@gmx.de wrote:

Hi John,

if sysreq does not work after inserting the usbstick then the kernel
stops working completly (the sysreq-code of the kernel is not
entered), which seems to be that something happening on very low
level (the problem not the sysreq-code of course... ;)

Just another shot into the dark:
Do you have modularized all usb-related stuff? This also may help to
let the usb-sticks work correctly.

Ah! Another thing: Insert the related modules into
/etc/conf.d/modules so that they get loaded in a very early
phase of the bootprocess.

With modules loaded and with no usb-sticks as root inspect the
according modules with modinfo -pmodulename  to see, whether
there a additional parameters you may pass to the modules to get
an extra of informations or - better - to fix the issue.

Modify under Kernel hacking in the kernel config the
Default message log level to see more.

Furthermore there is a switch Kernel debugging with sub-options.
May be turning on these may also help to get closer to all evil ;)

Last thing:
If there is nothing valueable stored on the usbsticks:
Try to reformat the usbsticks. Instead of putting a FAT32-fs on the
bare device, create a regular partition and create a Linux-fs
(reiserfs, ext2/3/4 or like that) on that partition.

This may not be good idea in general, but - if it works - this would
give a hint, where to search next.

Good luck!

Best regards,
mcc

   


Have you looked to see if that mobo has a USB problem and a BIOS update 
to fix it?


Just curious.

Dale

:-)  :-)



Re: [gentoo-user] USB Problems

2011-06-12 Thread john
On Sun, 12 Jun 2011 21:20:48 +0200
meino.cra...@gmx.de wrote:

 john j...@arcticwolf.myzen.co.uk [11-06-12 20:52]:
  On Sun, 12 Jun 2011 16:45:38 +0200
  meino.cra...@gmx.de wrote:
  
   john j...@arcticwolf.myzen.co.uk [11-06-12 16:36]:
Gents

Whenever I insert external USB device my machine locks and I
have to do a hard reset (sys req does not even work). I have
tried this in a graphical environment and without. Machine
boots up fine with USB keyboard and mouse but will not boot up
with usb storage (memory stick
- tried several)

I have recently upgrade kernel to 2.6.38-r6 when this error
started (approx). Hav also tried 2.6.38-r7 (which according to
bugzilla should fix an issue similar to this) the error still
happens.

Any suggestions on kernel config options, debugging would be
appreciated. And how to trap full error message.

Error message alongs these lines 

Kernel panic not syncing - fatal exception in iterrupt
ksoftirqd/1 Not tainted




-- 
--
--
John D Maunder
j...@arcticwolf.myzen.co.uk

   
   Hi John,
   
   may be this could help to track th eerror more closely:
   Recompile the kernel with CONFIG_USB_DEBUG set.
   If not already done, enable CONFIG_MAGIC_SYSRQ and
   read about the available commands in the according
   docs under /usr/src/linux/Documentation/.
   This is a overall life saver in many other cases too.
   But it may be a security hole also -- you can disable 
   it in /proc/ later.
   If possible change /etc/fstab to mount the partition
   to which logging will go with the sync option so
   every log entry will go directly onto the bare metal
   instead of a RAM buffer.
   
   Reboot into console mode (no X).
   cd to the logging directory and
   do a tail -f onto the logfile in question
   
   Insert the USB stick of death ;) and
   see, whether you can see anything in the
   tailed log.
   
   If not do the magic sysrq dance to sync hds,
   remount readonly and finally reboot.
   
   Take a closer look into the resulting logs.
   
   Good luck!
   
   Nevertheless have a nice weekend!
   Best regards,
   mcc
   
   
   
  
  Thanks mmc,
  CONFIG_MAGIC_SYSRQ and CONFIG_USB_DEBUG set to y
  
  When I plug in USB device SYSREQ does not work. I have tested when
  system is normal and all ok with SYSREQ so USB device is locking up
  system completely.
  
  I have put sync in mount table but when device is inserted error log
  is not being produced (in /var/log/messages, etc). I may end up
  having to take a photo of error log(lol). Or there maybe some other
  way of catching error which Gentoo gurus may advise.
  
  I have tried 3 memory sticks and they all lock system up. These work
  on another PC using Arch and work on this PC dual booting with
  Windows. I have a usb hard drive which works ok so it is a memory
  stick only issue
  
  Hmmm. 
  
  -- 
  --
  --
  John D Maunder
  j...@arcticwolf.myzen.co.uk
  
 
 Hi John,
 
 if sysreq does not work after inserting the usbstick then the kernel
 stops working completly (the sysreq-code of the kernel is not
 entered), which seems to be that something happening on very low
 level (the problem not the sysreq-code of course... ;)
 
 Just another shot into the dark:
 Do you have modularized all usb-related stuff? This also may help to 
 let the usb-sticks work correctly.
 
 Ah! Another thing: Insert the related modules into
 /etc/conf.d/modules so that they get loaded in a very early
 phase of the bootprocess.
 
 With modules loaded and with no usb-sticks as root inspect the
 according modules with modinfo -p modulename to see, whether
 there a additional parameters you may pass to the modules to get
 an extra of informations or - better - to fix the issue.
 
 Modify under Kernel hacking in the kernel config the
 Default message log level to see more.
 
 Furthermore there is a switch Kernel debugging with sub-options.
 May be turning on these may also help to get closer to all evil ;)
 
 Last thing:
 If there is nothing valueable stored on the usbsticks:
 Try to reformat the usbsticks. Instead of putting a FAT32-fs on the 
 bare device, create a regular partition and create a Linux-fs
 (reiserfs, ext2/3/4 or like that) on that partition.
 
 This may not be good idea in general, but - if it works - this would
 give a hint, where to search next.
 
 Good luck!
 
 Best regards,
 mcc
 
 
 
 
 
 
 
 
 

Thanks Meino, 
Have recompliled USB as modules (ehci-hcd, ohci-hcd and usb-storage and
load with /etc/conf.d/modules but still locks ups. Hope these are the
right ones. I'll try scsi next.

Also tried fdisk Linux file system and format ext3. But all to no avail.
Still locking up.

Have configure kernel hacking options as suggested.

Error message as follows:-


Bug: unable to handle kernel null pointer 

Re: [gentoo-user] USB Problems

2011-06-12 Thread john
On Sun, 12 Jun 2011 15:50:18 -0500
Dale rdalek1...@gmail.com wrote:

 meino.cra...@gmx.de wrote:
  Hi John,
 
  if sysreq does not work after inserting the usbstick then the kernel
  stops working completly (the sysreq-code of the kernel is not
  entered), which seems to be that something happening on very low
  level (the problem not the sysreq-code of course... ;)
 
  Just another shot into the dark:
  Do you have modularized all usb-related stuff? This also may help to
  let the usb-sticks work correctly.
 
  Ah! Another thing: Insert the related modules into
  /etc/conf.d/modules so that they get loaded in a very early
  phase of the bootprocess.
 
  With modules loaded and with no usb-sticks as root inspect the
  according modules with modinfo -pmodulename  to see, whether
  there a additional parameters you may pass to the modules to get
  an extra of informations or - better - to fix the issue.
 
  Modify under Kernel hacking in the kernel config the
  Default message log level to see more.
 
  Furthermore there is a switch Kernel debugging with sub-options.
  May be turning on these may also help to get closer to all evil ;)
 
  Last thing:
  If there is nothing valueable stored on the usbsticks:
  Try to reformat the usbsticks. Instead of putting a FAT32-fs on the
  bare device, create a regular partition and create a Linux-fs
  (reiserfs, ext2/3/4 or like that) on that partition.
 
  This may not be good idea in general, but - if it works - this would
  give a hint, where to search next.
 
  Good luck!
 
  Best regards,
  mcc
 
 
 
 Have you looked to see if that mobo has a USB problem and a BIOS
 update to fix it?
 
 Just curious.
 
 Dale
 
 :-)  :-)
 

Thanks Dale, 

Good thinking. Will have a look. Did upgrade earlier in the year but
will have another look.

 

-- 
--
--
John D Maunder
j...@arcticwolf.myzen.co.uk



Re: [gentoo-user] USB Problems

2011-06-12 Thread Volker Armin Hemmann
On Sunday 12 June 2011 15:30:12 john wrote:
 Gents
 
 Whenever I insert external USB device my machine locks and I have to do
 a hard reset (sys req does not even work). I have tried this in a
 graphical environment and without. Machine boots up fine with USB
 keyboard and mouse but will not boot up with usb storage (memory stick
 - tried several)
 
 I have recently upgrade kernel to 2.6.38-r6 when this error started
 (approx). Hav also tried 2.6.38-r7 (which according to bugzilla
 should fix an issue similar to this) the error still happens.
 
 Any suggestions on kernel config options, debugging would be
 appreciated. And how to trap full error message.
 
 Error message alongs these lines
 
 Kernel panic not syncing - fatal exception in iterrupt
 ksoftirqd/1 Not tainted


have the same problem with 2.6.39 and 2.6.39.1

Whenever I disconnect my telephone from usb I have a 1 in 5 chance of a nice 
panic.

Since your is an always panic maybe you should recreate it with vanilla 
sources and report it on lkml.
-- 
#163933



Re: [gentoo-user] USB Problems

2011-06-12 Thread Volker Armin Hemmann
On Sunday 12 June 2011 15:50:18 Dale wrote:
 meino.cra...@gmx.de wrote:
  Hi John,
  
  if sysreq does not work after inserting the usbstick then the kernel
  stops working completly (the sysreq-code of the kernel is not
  entered), which seems to be that something happening on very low
  level (the problem not the sysreq-code of course... ;)
  
  Just another shot into the dark:
  Do you have modularized all usb-related stuff? This also may help to
  let the usb-sticks work correctly.
  
  Ah! Another thing: Insert the related modules into
  /etc/conf.d/modules so that they get loaded in a very early
  phase of the bootprocess.
  
  With modules loaded and with no usb-sticks as root inspect the
  according modules with modinfo -pmodulename  to see, whether
  there a additional parameters you may pass to the modules to get
  an extra of informations or - better - to fix the issue.
  
  Modify under Kernel hacking in the kernel config the
  Default message log level to see more.
  
  Furthermore there is a switch Kernel debugging with sub-options.
  May be turning on these may also help to get closer to all evil ;)
  
  Last thing:
  If there is nothing valueable stored on the usbsticks:
  Try to reformat the usbsticks. Instead of putting a FAT32-fs on the
  bare device, create a regular partition and create a Linux-fs
  (reiserfs, ext2/3/4 or like that) on that partition.
  
  This may not be good idea in general, but - if it works - this would
  give a hint, where to search next.
  
  Good luck!
  
  Best regards,
  mcc
 
 Have you looked to see if that mobo has a USB problem and a BIOS update
 to fix it?

lets see:
2.6.36 works fine
2.6.37 works fine
2.6.38.0 works fine
2.6.39 panic

does not look like mobo problem.

-- 
#163933



Re: [gentoo-user] USB Problems

2011-06-12 Thread Dale

john wrote:

On Sun, 12 Jun 2011 15:50:18 -0500
Dalerdalek1...@gmail.com  wrote:

   

Have you looked to see if that mobo has a USB problem and a BIOS
update to fix it?

Just curious.

Dale

:-)  :-)

 

Thanks Dale,

Good thinking. Will have a look. Did upgrade earlier in the year but
will have another look.


   


Since the sticks work in other systems, they SHOULD be ok.  Then it 
becomes a hardware issue.  If they work in a OS then it makes me wonder 
if there is something about the BIOS itself.  Maybe the BIOS has a issue 
that only affects it when it is being booted from.


Just my weird thinking.

Dale

:-)  :-)



Re: [gentoo-user] USB Problems

2011-06-12 Thread Dale

Volker Armin Hemmann wrote:

On Sunday 12 June 2011 15:50:18 Dale wrote:
   


Have you looked to see if that mobo has a USB problem and a BIOS update
to fix it?
 

lets see:
2.6.36 works fine
2.6.37 works fine
2.6.38.0 works fine
2.6.39 panic

does not look like mobo problem.

   


In that case, you are likely correct.

Dale

:-)  :-)



Re: [gentoo-user] USB Problems

2011-06-12 Thread Volker Armin Hemmann
On Sunday 12 June 2011 22:30:30 john wrote:
 On Sun, 12 Jun 2011 21:20:48 +0200
 
 meino.cra...@gmx.de wrote:
  john j...@arcticwolf.myzen.co.uk [11-06-12 20:52]:
   On Sun, 12 Jun 2011 16:45:38 +0200
   
   meino.cra...@gmx.de wrote:
john j...@arcticwolf.myzen.co.uk [11-06-12 16:36]:
 Gents
 
 Whenever I insert external USB device my machine locks and I
 have to do a hard reset (sys req does not even work). I have
 tried this in a graphical environment and without. Machine
 boots up fine with USB keyboard and mouse but will not boot
 up
 with usb storage (memory stick
 - tried several)
 
 I have recently upgrade kernel to 2.6.38-r6 when this error
 started (approx). Hav also tried 2.6.38-r7 (which according
 to
 bugzilla should fix an issue similar to this) the error
 still
 happens.
 
 Any suggestions on kernel config options, debugging would be
 appreciated. And how to trap full error message.
 
 Error message alongs these lines
 
 Kernel panic not syncing - fatal exception in iterrupt
 ksoftirqd/1 Not tainted

Hi John,

may be this could help to track th eerror more closely:
Recompile the kernel with CONFIG_USB_DEBUG set.
If not already done, enable CONFIG_MAGIC_SYSRQ and
read about the available commands in the according
docs under /usr/src/linux/Documentation/.
This is a overall life saver in many other cases too.
But it may be a security hole also -- you can disable
it in /proc/ later.
If possible change /etc/fstab to mount the partition
to which logging will go with the sync option so
every log entry will go directly onto the bare metal
instead of a RAM buffer.

Reboot into console mode (no X).
cd to the logging directory and
do a tail -f onto the logfile in question

Insert the USB stick of death ;) and
see, whether you can see anything in the
tailed log.

If not do the magic sysrq dance to sync hds,
remount readonly and finally reboot.

Take a closer look into the resulting logs.

Good luck!

Nevertheless have a nice weekend!
Best regards,
mcc
   
   Thanks mmc,
   CONFIG_MAGIC_SYSRQ and CONFIG_USB_DEBUG set to y
   
   When I plug in USB device SYSREQ does not work. I have tested when
   system is normal and all ok with SYSREQ so USB device is locking up
   system completely.
   
   I have put sync in mount table but when device is inserted error log
   is not being produced (in /var/log/messages, etc). I may end up
   having to take a photo of error log(lol). Or there maybe some other
   way of catching error which Gentoo gurus may advise.
   
   I have tried 3 memory sticks and they all lock system up. These work
   on another PC using Arch and work on this PC dual booting with
   Windows. I have a usb hard drive which works ok so it is a memory
   stick only issue
   
   Hmmm.
  
  Hi John,
  
  if sysreq does not work after inserting the usbstick then the kernel
  stops working completly (the sysreq-code of the kernel is not
  entered), which seems to be that something happening on very low
  level (the problem not the sysreq-code of course... ;)
  
  Just another shot into the dark:
  Do you have modularized all usb-related stuff? This also may help to
  let the usb-sticks work correctly.
  
  Ah! Another thing: Insert the related modules into
  /etc/conf.d/modules so that they get loaded in a very early
  phase of the bootprocess.
  
  With modules loaded and with no usb-sticks as root inspect the
  according modules with modinfo -p modulename to see, whether
  there a additional parameters you may pass to the modules to get
  an extra of informations or - better - to fix the issue.
  
  Modify under Kernel hacking in the kernel config the
  Default message log level to see more.
  
  Furthermore there is a switch Kernel debugging with sub-options.
  May be turning on these may also help to get closer to all evil ;)
  
  Last thing:
  If there is nothing valueable stored on the usbsticks:
  Try to reformat the usbsticks. Instead of putting a FAT32-fs on the
  bare device, create a regular partition and create a Linux-fs
  (reiserfs, ext2/3/4 or like that) on that partition.
  
  This may not be good idea in general, but - if it works - this would
  give a hint, where to search next.
  
  Good luck!
  
  Best regards,
  mcc
 
 Thanks Meino,
 Have recompliled USB as modules (ehci-hcd, ohci-hcd and usb-storage and
 load with /etc/conf.d/modules but still locks ups. Hope these are the
 right ones. I'll try scsi next.
 
 Also tried fdisk Linux file system and format ext3. But all to no avail.
 Still locking up.
 
 Have configure kernel hacking options as suggested.
 
 Error message as follows:-
 
 
 Bug: unable to handle kernel null pointer dereference at
 0048
 
 IP 

Re: [gentoo-user] USB Problems

2011-06-12 Thread meino . cramer
john j...@arcticwolf.myzen.co.uk [11-06-13 01:13]:
 On Sun, 12 Jun 2011 21:20:48 +0200
 meino.cra...@gmx.de wrote:
 
  john j...@arcticwolf.myzen.co.uk [11-06-12 20:52]:
   On Sun, 12 Jun 2011 16:45:38 +0200
   meino.cra...@gmx.de wrote:
   
john j...@arcticwolf.myzen.co.uk [11-06-12 16:36]:
 Gents
 
 Whenever I insert external USB device my machine locks and I
 have to do a hard reset (sys req does not even work). I have
 tried this in a graphical environment and without. Machine
 boots up fine with USB keyboard and mouse but will not boot up
 with usb storage (memory stick
 - tried several)
 
 I have recently upgrade kernel to 2.6.38-r6 when this error
 started (approx). Hav also tried 2.6.38-r7 (which according to
 bugzilla should fix an issue similar to this) the error still
 happens.
 
 Any suggestions on kernel config options, debugging would be
 appreciated. And how to trap full error message.
 
 Error message alongs these lines 
 
 Kernel panic not syncing - fatal exception in iterrupt
 ksoftirqd/1 Not tainted
 
 
 
 
 -- 
 --
 --
 John D Maunder
 j...@arcticwolf.myzen.co.uk
 

Hi John,

may be this could help to track th eerror more closely:
Recompile the kernel with CONFIG_USB_DEBUG set.
If not already done, enable CONFIG_MAGIC_SYSRQ and
read about the available commands in the according
docs under /usr/src/linux/Documentation/.
This is a overall life saver in many other cases too.
But it may be a security hole also -- you can disable 
it in /proc/ later.
If possible change /etc/fstab to mount the partition
to which logging will go with the sync option so
every log entry will go directly onto the bare metal
instead of a RAM buffer.

Reboot into console mode (no X).
cd to the logging directory and
do a tail -f onto the logfile in question

Insert the USB stick of death ;) and
see, whether you can see anything in the
tailed log.

If not do the magic sysrq dance to sync hds,
remount readonly and finally reboot.

Take a closer look into the resulting logs.

Good luck!

Nevertheless have a nice weekend!
Best regards,
mcc



   
   Thanks mmc,
   CONFIG_MAGIC_SYSRQ and CONFIG_USB_DEBUG set to y
   
   When I plug in USB device SYSREQ does not work. I have tested when
   system is normal and all ok with SYSREQ so USB device is locking up
   system completely.
   
   I have put sync in mount table but when device is inserted error log
   is not being produced (in /var/log/messages, etc). I may end up
   having to take a photo of error log(lol). Or there maybe some other
   way of catching error which Gentoo gurus may advise.
   
   I have tried 3 memory sticks and they all lock system up. These work
   on another PC using Arch and work on this PC dual booting with
   Windows. I have a usb hard drive which works ok so it is a memory
   stick only issue
   
   Hmmm. 
   
   -- 
   --
   --
   John D Maunder
   j...@arcticwolf.myzen.co.uk
   
  
  Hi John,
  
  if sysreq does not work after inserting the usbstick then the kernel
  stops working completly (the sysreq-code of the kernel is not
  entered), which seems to be that something happening on very low
  level (the problem not the sysreq-code of course... ;)
  
  Just another shot into the dark:
  Do you have modularized all usb-related stuff? This also may help to 
  let the usb-sticks work correctly.
  
  Ah! Another thing: Insert the related modules into
  /etc/conf.d/modules so that they get loaded in a very early
  phase of the bootprocess.
  
  With modules loaded and with no usb-sticks as root inspect the
  according modules with modinfo -p modulename to see, whether
  there a additional parameters you may pass to the modules to get
  an extra of informations or - better - to fix the issue.
  
  Modify under Kernel hacking in the kernel config the
  Default message log level to see more.
  
  Furthermore there is a switch Kernel debugging with sub-options.
  May be turning on these may also help to get closer to all evil ;)
  
  Last thing:
  If there is nothing valueable stored on the usbsticks:
  Try to reformat the usbsticks. Instead of putting a FAT32-fs on the 
  bare device, create a regular partition and create a Linux-fs
  (reiserfs, ext2/3/4 or like that) on that partition.
  
  This may not be good idea in general, but - if it works - this would
  give a hint, where to search next.
  
  Good luck!
  
  Best regards,
  mcc
  
  
  
  
  
  
  
  
  
 
 Thanks Meino, 
 Have recompliled USB as modules (ehci-hcd, ohci-hcd and usb-storage and
 load with /etc/conf.d/modules but still locks ups. Hope these are the
 right ones. I'll try scsi next.
 
 Also tried fdisk Linux file system and format ext3. But all to no 

Re: [gentoo-user] USB Problems

2011-06-12 Thread john
On Sun, 12 Jun 2011 16:57:11 -0500
Dale rdalek1...@gmail.com wrote:

 john wrote:
  On Sun, 12 Jun 2011 15:50:18 -0500
  Dalerdalek1...@gmail.com  wrote:
 
 
  Have you looked to see if that mobo has a USB problem and a BIOS
  update to fix it?
 
  Just curious.
 
  Dale
 
  :-)  :-)
 
   
  Thanks Dale,
 
  Good thinking. Will have a look. Did upgrade earlier in the year but
  will have another look.
 
 
 
 
 Since the sticks work in other systems, they SHOULD be ok.  Then it 
 becomes a hardware issue.  If they work in a OS then it makes me
 wonder if there is something about the BIOS itself.  Maybe the BIOS
 has a issue that only affects it when it is being booted from.
 
 Just my weird thinking.
 
 Dale
 
 :-)  :-)
 Thanks,

2.6.36 works fine
2.6.38-r6/r7 panic

Have noticed that using device drivers as modules allows
me to boot with memory stick already inserted. This previously would not
work. But the problem still occurs when stick is hot plugged.

So the issue is half solved At least I can access memory stick. So
thanks there.

Will try Vanilla sources tonight and report bug to lkml.

BIOS is latest standard. SO can't upgrade there



-- 
--
--
John D Maunder
j...@arcticwolf.myzen.co.uk



Re: [gentoo-user] USB Problems

2011-06-12 Thread Dale

john wrote:

On Sun, 12 Jun 2011 16:57:11 -0500
Dalerdalek1...@gmail.com  wrote:

   

john wrote:
 

On Sun, 12 Jun 2011 15:50:18 -0500
Dalerdalek1...@gmail.com   wrote:


   

Have you looked to see if that mobo has a USB problem and a BIOS
update to fix it?

Just curious.

Dale

:-)  :-)


 

Thanks Dale,

Good thinking. Will have a look. Did upgrade earlier in the year but
will have another look.



   

Since the sticks work in other systems, they SHOULD be ok.  Then it
becomes a hardware issue.  If they work in a OS then it makes me
wonder if there is something about the BIOS itself.  Maybe the BIOS
has a issue that only affects it when it is being booted from.

Just my weird thinking.

Dale

:-)  :-)
Thanks,
 

2.6.36 works fine
2.6.38-r6/r7 panic

Have noticed that using device drivers as modules allows
me to boot with memory stick already inserted. This previously would not
work. But the problem still occurs when stick is hot plugged.

So the issue is half solved At least I can access memory stick. So
thanks there.

Will try Vanilla sources tonight and report bug to lkml.

BIOS is latest standard. SO can't upgrade there


   


We know how hard it is to fix a flakey problem.  It could be anything or 
it could be the half asleep geek in the chair.  That last one gets me a 
LOT.  ;-)


Dale

:-)  :-)