[vz-users] Raspberry Pi, Rev. 2, Modell B Netzwerkprobleme

Mike mikegrueger at t-online.de
Sun Dec 4 18:33:25 CET 2016


Nabend.

Hat zwar mit VZ nicht viel zu tun, vielleicht hat noch jemand die gleichen
Probleme mit dem USB, welches auch für Netzewerk zuständig ist. Hier mal ein
Log:



Dec  3 06:26:27 raspberrypi rsyslogd: [origin software="rsyslogd"
swVersion="5.8.11" x-pid="1630" x-info="http://www.rsyslog.com"] rsyslogd was
HUPed
Dec  3 19:28:12 raspberrypi kernel: [3188413.048000] usb 1-1.1: USB
disconnect, device number 3
Dec  3 19:28:12 raspberrypi kernel: [3188413.050342] smsc95xx 1-1.1:1.0 eth0:
unregister 'smsc95xx' usb-20980000.usb-1.1, smsc95xx USB 2.0 Ethernet
Dec  3 19:28:12 raspberrypi kernel: [3188413.050518] smsc95xx 1-1.1:1.0 eth0:
hardware isn't capable of remote wakeup
Dec  3 19:28:12 raspberrypi kernel: [3188413.060881] usb 1-1.2: USB
disconnect, device number 4
Dec  3 19:28:12 raspberrypi kernel: [3188413.075116] usb 1-1.3: USB
disconnect, device number 5
Dec  3 19:28:12 raspberrypi kernel: [3188413.098131] cp210x ttyUSB0: cp210x
converter now disconnected from ttyUSB0
Dec  3 19:28:12 raspberrypi kernel: [3188413.098448] cp210x 1-1.3:1.0: device
disconnected
Dec  3 19:28:12 raspberrypi kernel: [3188413.100484] Indeed it is in host mode
hprt0 = 00001101
Dec  3 19:28:12 raspberrypi kernel: [3188413.407700] usb 1-1: reset high-
speed 
USB device number 2 using dwc_otg
Dec  3 19:28:12 raspberrypi kernel: [3188413.407924] Indeed it is in host mode
hprt0 = 00001101
Dec  3 19:28:13 raspberrypi kernel: [3188413.957571] usb 1-1.1: new high-
speed 
USB device number 6 using dwc_otg
Dec  3 19:28:13 raspberrypi kernel: [3188414.058542] usb 1-1.1: New USB device
found, idVendor=0424, idProduct=ec00
Dec  3 19:28:13 raspberrypi kernel: [3188414.058631] usb 1-1.1: New USB device
strings: Mfr=0, Product=0, SerialNumber=0
Dec  3 19:28:13 raspberrypi kernel: [3188414.072686] smsc95xx v1.0.4
Dec  3 19:28:13 raspberrypi kernel: [3188414.149500] smsc95xx 1-1.1:1.0 eth0:
register 'smsc95xx' at usb-20980000.usb-1.1, smsc95xx USB 2.0 Ethernet,
b8:27:eb:3a:c3:fa
Dec  3 19:28:13 raspberrypi kernel: [3188414.247969] usb 1-1.2: new high-
speed 
USB device number 7 using dwc_otg
Dec  3 19:28:13 raspberrypi kernel: [3188414.349512] usb 1-1.2: New USB device
found, idVendor=0781, idProduct=5571
Dec  3 19:28:13 raspberrypi kernel: [3188414.349597] usb 1-1.2: New USB device
strings: Mfr=1, Product=2, SerialNumber=3
Dec  3 19:28:13 raspberrypi kernel: [3188414.349658] usb 1-1.2: Product:
Cruzer Fit
Dec  3 19:28:13 raspberrypi kernel: [3188414.349712] usb 1-1.2: Manufacturer:
SanDisk
Dec  3 19:28:13 raspberrypi kernel: [3188414.349770] usb 1-1.2: SerialNumber:
4C530013420917115401
Dec  3 19:28:13 raspberrypi kernel: [3188414.361931] usb-storage 1-1.2:1.0:
USB Mass Storage device detected
Dec  3 19:28:13 raspberrypi kernel: [3188414.363214] scsi host1: usb-storage
1-1.2:1.0
Dec  3 19:28:13 raspberrypi kernel: [3188414.457712] usb 1-1.3: new full-
speed 
USB device number 8 using dwc_otg
Dec  3 19:28:13 raspberrypi kernel: [3188414.564130] usb 1-1.3: New USB device
found, idVendor=10c4, idProduct=ea60
Dec  3 19:28:13 raspberrypi kernel: [3188414.564167] usb 1-1.3: New USB device
strings: Mfr=1, Product=2, SerialNumber=3
Dec  3 19:28:13 raspberrypi kernel: [3188414.564186] usb 1-1.3: Product:
CP2104 USB to UART Bridge Controller
Dec  3 19:28:13 raspberrypi kernel: [3188414.564201] usb 1-1.3: Manufacturer:
Silicon Labs
Dec  3 19:28:13 raspberrypi kernel: [3188414.564217] usb 1-1.3: SerialNumber:
0079E4A4
Dec  3 19:28:13 raspberrypi kernel: [3188414.566328] cp210x 1-1.3:1.0: cp210x
converter detected
Dec  3 19:28:13 raspberrypi kernel: [3188414.566938] usb 1-1.3: cp210x
converter now attached to ttyUSB0
Dec  3 19:28:14 raspberrypi ntpd[2381]: Deleting interface #2 eth0,
192.168.2.13#123, interface stats: received=12380, sent=12438, dropped=0,
active_time=3188256 secs
Dec  3 19:28:14 raspberrypi ntpd[2381]: 212.224.120.164 interface 192.168.2.13
-> (none)
Dec  3 19:28:14 raspberrypi ntpd[2381]: 195.50.171.101 interface 192.168.2.13
-> (none)
Dec  3 19:28:14 raspberrypi ntpd[2381]: 176.9.40.142 interface 192.168.2.13 ->
(none)
Dec  3 19:28:14 raspberrypi ntpd[2381]: 146.0.32.144 interface 192.168.2.13 ->
(none)
Dec  3 19:28:14 raspberrypi ntpd[2381]: peers refreshed
Dec  3 19:28:14 raspberrypi kernel: [3188415.360442] scsi 1:0:0:0: Direct-
Access     SanDisk  Cruzer Fit       1.27 PQ: 0 ANSI: 6
Dec  3 19:28:14 raspberrypi kernel: [3188415.372429] sd 1:0:0:0: [sda]
125031680 512-byte logical blocks: (64.0 GB/59.6 GiB)
Dec  3 19:28:14 raspberrypi kernel: [3188415.374470] sd 1:0:0:0: [sda] Write
Protect is off
Dec  3 19:28:14 raspberrypi kernel: [3188415.374568] sd 1:0:0:0: [sda] Mode
Sense: 43 00 00 00
Dec  3 19:28:14 raspberrypi kernel: [3188415.375925] sd 1:0:0:0: [sda] Write
cache: disabled, read cache: enabled, doesn't support DPO or FUA
Dec  3 19:28:14 raspberrypi kernel: [3188415.394572]  sda: sda1
Dec  3 19:28:14 raspberrypi kernel: [3188415.411490] sd 1:0:0:0: [sda]
Attached SCSI removable disk
Dec  3 19:28:14 raspberrypi kernel: [3188415.526122] sd 1:0:0:0: Attached scsi
generic sg0 type 0
Dec  3 19:28:32 raspberrypi vnstatd[2689]: Traffic rate for "eth0" higher than
set maximum 100 Mbit (30->413, r1761 t3121), syncing.
Dec  3 20:17:02 raspberrypi shutdown[15637]: shutting down for system reboot
Dec  3 20:17:02 raspberrypi sSMTP[15638]: Unable to locate securesmtp.t-
online.de
Dec  3 20:17:02 raspberrypi init: Switching to runlevel: 6
Dec  3 20:17:03 raspberrypi sSMTP[15640]: Unable to locate securesmtp.t-
online.de
Dec  3 20:17:03 raspberrypi sSMTP[15640]: Cannot open securesmtp.t-
online.de:465
Dec  3 20:17:03 raspberrypi /USR/SBIN/CRON[15593]: (root) MAIL (mailed 1 byte
of output; but got status 0x0001, #012)
Dec  3 20:17:05 raspberrypi mysqld: 161203 20:17:05 [Note] /usr/sbin/mysqld:
Normal shutdown
Dec  3 20:17:05 raspberrypi mysqld: 
Dec  3 20:17:05 raspberrypi mysqld: 161203 20:17:05 [Note] Event Scheduler:
Purging the queue. 0 events
Dec  3 20:17:05 raspberrypi mysqld: 161203 20:17:05  InnoDB: Starting
shutdown...
Dec  3 20:17:05 raspberrypi sSMTP[15727]: Unable to locate securesmtp.t-
online.de
Dec  3 20:17:05 raspberrypi sSMTP[15727]: Cannot open securesmtp.t-
online.de:465
Dec  3 20:17:05 raspberrypi /USR/SBIN/CRON[15594]: (pi) MAIL (mailed 1 byte of
output; but got status 0x0001, #012)
Dec  3 20:17:06 raspberrypi mysqld: 161203 20:17:06  InnoDB: Shutdown
completed; log sequence number 1809134035
Dec  3 20:17:06 raspberrypi mysqld: 161203 20:17:06 [Note] /usr/sbin/mysqld:
Shutdown complete
Dec  3 20:17:06 raspberrypi mysqld: 
Dec  3 20:17:06 raspberrypi mysqld_safe: mysqld from pid file
/var/run/mysqld/mysqld.pid ended
Dec  3 20:17:07 raspberrypi vnstatd[2689]: SIGTERM received, exiting.
Dec  3 20:17:11 raspberrypi ntpd[2381]: ntpd exiting on signal 15
Dec  3 20:17:11 raspberrypi SBFspotUploadDaemon: Exit signal received.


Zu erkennen ist, das sich das USB verabschiedet und nach einem Reset wieder
alle angeschlossenen Geräte erkennt. Nur das Netzwerk erholt sich nicht, so
dass ein stündliches Script das Raspi rebootet und das Netzwerk wieder
erreichbar ist. Das Script pingt einige Domains an, bei null Antwort gibt ein
sauberen Reboot.
Habt Ihr sowas schon gehabt?

Hier paar Infos, das Image von Uwe ist schon bisschen älter:

pi at raspberrypi ~ $ uname -a
Linux raspberrypi.home 4.4.27+ #917 Tue Oct 25 15:51:38 BST 2016 armv6l
GNU/Linux

pi at raspberrypi ~ $ cat /proc/version
Linux version 4.4.27+ (dc4 at dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG
crosstool-ng-1.22.0-88-g8460611) ) #917 Tue Oct 25 15:51:38 BST 2016

pi at raspberrypi ~ $ lsmod
Module                  Size  Used by
cpufreq_stats           4040  0 
w1_therm                4475  0 
ds2482                  4045  0 
wire                   31801  2 w1_therm,ds2482
cn                      5860  1 wire
i2c_dev                 6578  0 
i2c_bcm2708             5740  0 
cp210x                  9419  0 
usbserial              29964  1 cp210x
spi_bcm2835             7424  0 
bcm2835_gpiomem         3823  0 
bcm2835_wdt             4133  0 
uio_pdrv_genirq         3718  0 
uio                    10230  1 uio_pdrv_genirq

pi at raspberrypi ~ $ lsusb -v

Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. 
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         2 TT per port
  bMaxPacketSize0        64
  idVendor           0x0424 Standard Microsystems Corp.
  idProduct          0x9512 
  bcdDevice            2.00
  iManufacturer           0 
  iProduct                0 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           41
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      1 Single TT
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      2 TT per port
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0001  1x 1 bytes
        bInterval              12

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            4.04
  iManufacturer           3 
  iProduct                2 
  iSerial                 1 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12

Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. 
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass         0 
  bDeviceProtocol         1 
  bMaxPacketSize0        64
  idVendor           0x0424 Standard Microsystems Corp.
  idProduct          0xec00 
  bcdDevice            2.00
  iManufacturer           0 
  iProduct                0 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0 
      bInterfaceProtocol    255 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               4

Bus 001 Device 004: ID 0781:5571 SanDisk Corp. 
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0781 SanDisk Corp.
  idProduct          0x5571 
  bcdDevice            1.27
  iManufacturer           1 
  iProduct                2 
  iSerial                 3 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              200mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1

Bus 001 Device 005: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART
Bridge / myAVR mySmartUSB light
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x10c4 Cygnal Integrated Products, Inc.
  idProduct          0xea60 CP210x UART Bridge / myAVR mySmartUSB light
  bcdDevice            1.00
  iManufacturer           1 
  iProduct                2 
  iSerial                 3 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              2 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0




Gruß, Mike


More information about the volkszaehler-users mailing list