Jump to content

MrJake222

Members
  • Posts

    2
  • Joined

  • Last visited

  1. Hi, My journald logs are limited to last midnight. I figured out it's related to logrotate.service. When I run it with couple of logs present in /var/log/journal (and passing all tests) they become 0-sized. Then: $ journalctl --verify Journal file /var/log/journal/xxx/system.journal is truncated, ignoring file. PASS: /run/log/journal/xxx/system.journal $ ls /var/log/journal/xxx -lsh total 0 0 -rw-r-----+ 1 root systemd-journal 0 Feb 26 12:10 system@141d4d3509d94af8aeecc18c6e8eec9a-0000000000000001-0005f58e34f3a6c8.journal 0 -rw-r-----+ 1 root systemd-journal 0 Feb 26 12:10 system.journal I've discovered that /var/log/journal is a symlink to /var/log.hdd/journal. How can I stop this from happening to my logs? I love the convenience of journalctl command.
  2. Hi, I've installed minimal cli version and it restarts when connected to PC via on-board USB-C connector. Board hangs after: [ OK ] Reached target Hardware activated USB gadget. Host computer does: [ 4881.959467] usb 1-5: new high-speed USB device number 47 using xhci_hcd [ 4882.140301] usb 1-5: New USB device found, idVendor=0525, idProduct=a4a6, bcdDevice= 5.15 [ 4882.140315] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 4882.140322] usb 1-5: Product: Gadget Serial v2.4 [ 4882.140327] usb 1-5: Manufacturer: Linux 5.15.80-rockchip64 with ff580000.usb [ 4883.572730] usb 1-5: USB disconnect, device number 47 [ 4884.079492] usb 1-5: new high-speed USB device number 48 using xhci_hcd [ 4884.229424] usb 1-5: device descriptor read/64, error -71 [ 4884.499520] usb 1-5: device descriptor read/64, error -71 [ 4884.769501] usb 1-5: new high-speed USB device number 49 using xhci_hcd [ 4884.919510] usb 1-5: device descriptor read/64, error -71 [ 4885.189426] usb 1-5: device descriptor read/64, error -71 [ 4885.309571] usb usb1-port5: attempt power cycle [ 4885.779457] usb 1-5: new high-speed USB device number 50 using xhci_hcd [ 4885.779556] usb 1-5: Device not responding to setup address. [ 4885.999459] usb 1-5: Device not responding to setup address. [ 4886.219537] usb 1-5: device not accepting address 50, error -71 [ 4886.369509] usb 1-5: new high-speed USB device number 51 using xhci_hcd [ 4886.369639] usb 1-5: Device not responding to setup address. [ 4886.589578] usb 1-5: Device not responding to setup address. [ 4886.809467] usb 1-5: device not accepting address 51, error -71 [ 4886.809571] usb usb1-port5: unable to enumerate USB device On regular CLI version it seems to work for now. Or in fact it stops working after initial setup!
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines