Ubuntu Boot Failure: MMIO write fault at 100c10 (Nouveau Driver) https://askubuntu.com/questions/1565297/ubuntu-boot-failure-mmio-write-fault-at-100c10-nouveau-driver

I am unable to boot into Ubuntu 24.04. The boot process hangs with the following error: nouveau 0000:01:00.0: bus: MMIO write of 00014c70 FAULT at 100c10 . Its because of the nvidia card. How can I bypass this driver fault to install the proprietary Nvidia drivers?

I have already tried the nomodeset in the grub, but after i save and i reboot nothing happens and when i check on the grub again i find that the nomodeset was deleted like i didnt add it at all.

Strange suspend behavior https://askubuntu.com/questions/1565295/strange-suspend-behavior

I have a ASUS M32CD running Ubuntu server 24.04. In most cases, systemctl suspend put the system into sleep, the fan stops, the front power button flashes, and wake-on-lan works properly.

But occasionally, the same command would put the system into a strange state, the fan keeps going, but the front power button went complete dark, and it doesn't respond to wake-on-lan command at all. Pushing and hold the power button to reboot is the only way to wake this machine up from this state. How do I avoid this strange state when suspending the system?

Ubuntu 25.10 - Can't open AppImage after upgrade https://askubuntu.com/questions/1565292/ubuntu-25-10-cant-open-appimage-after-upgrade

Description:

exec: Failed to execute process: './Cursor-2.5.26-aarch64.AppImage' the file could not be run by the operating system.
exec: Maybe the interpreter directive (#! line) is broken?
Environment:

Ubuntu 25.10

Cursor-2.5.26

_

https://cursor.com/download

What am I doing wrong? Where could I read about such errors?

How to install Ubuntu on an HP Z8 G4 Workstation with 2 CPUs Xeon Silver and 2 GPUs Nvidia Quadro RTX 6000? https://askubuntu.com/questions/1565290/how-to-install-ubuntu-on-an-hp-z8-g4-workstation-with-2-cpus-xeon-silver-and-2-g

I have been trying to install several versions of Ubuntu (from 18.04 to 25.10) on my HP Z8 G4 Workstation without success. My hardware configuration includes Intel Xeon Silver CPUs and Nvidia Quadro RTX 6000 GPUs.

The installation process consistently fails, hanging on a black screen or at the Ubuntu logo. I have already tried the following GRUB parameters without any luck.

  • nomodeset

  • ouveau.modeset=0

  • pci=noacpi

  • modprobe.blacklist=nouveau

The only way I have managed to complete the installation and boot the system is by using acpi=off, however this is not a viable solution as it disables critical features like power management, proper fan control, and, most importantly, it prevents the system from recognizing all the cores of my Xeon Silver processors.

I am looking for a specific workaround, a kernel parameter, or a BIOS configuration for the HP Z8 G4 to get Ubuntu running correctly without disabling ACPI.

Cannot output sound on HDMI port https://askubuntu.com/questions/1565289/cannot-output-sound-on-hdmi-port

I have an HP laptop under Ubuntu 24.04 and I cannot output sound on the HDMI port. ALSAMixer or wpctl see the HDMI output, but there is no other audio port seen by the system other than built-in. Does anyone know how to make it selectable?

pierre@pierre-HP-Pavilion-dv7-Notebook-PC:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: MID [HDA Intel MID], device 0: 92HD81B1X5 Analog [92HD81B1X5 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
pierre@pierre-HP-Pavilion-dv7-Notebook-PC:~$
pierre@pierre-HP-Pavilion-dv7-Notebook-PC:~$ hwinfo --sound
15: PCI 1b.0: 0403 Audio device                                 
  [Created at pci.386]
  Unique ID: u1Nb.x1oH3t4a1L3
  SysFS ID: /devices/pci0000:00/0000:00:1b.0
  SysFS BusID: 0000:00:1b.0
  Hardware Class: sound
  Model: "Intel 5 Series/3400 Series Chipset High Definition Audio"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x3b56 "5 Series/3400 Series Chipset High Definition Audio"
  SubVendor: pci 0x103c "Hewlett-Packard Company"
  SubDevice: pci 0x149c 
  Revision: 0x05
  Driver: "snd_hda_intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0xc4500000-0xc4503fff (rw,non-prefetchable)
  IRQ: 30 (837 events)
  Module Alias: "pci:v00008086d00003B56sv0000103Csd0000149Cbc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Config Status: cfg=new, avail=yes, need=no, active=unknown

24: PCI 100.1: 0403 Audio device
  [Created at pci.386]
  Unique ID: NXNs.x1scAnhSSZF
  Parent ID: vSkL.N+TbgH30N99
  SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.1
  SysFS BusID: 0000:01:00.1
  Hardware Class: sound
  Model: "ATI Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series]"
  Vendor: pci 0x1002 "ATI Technologies Inc"
  Device: pci 0xaa68 "Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series]"
  SubVendor: pci 0x103c "Hewlett-Packard Company"
  SubDevice: pci 0x149c 
  Driver: "snd_hda_intel"
  Driver Modules: "snd_hda_intel"
  Memory Range: 0xc4420000-0xc4423fff (rw,non-prefetchable)
  IRQ: 31 (249 events)
  Module Alias: "pci:v00001002d0000AA68sv0000103Csd0000149Cbc04sc03i00"
  Driver Info #0:
    Driver Status: snd_hda_intel is active
    Driver Activation Cmd: "modprobe snd_hda_intel"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #11 (PCI bridge)
pierre@pierre-HP-Pavilion-dv7-Notebook-PC:~$
pierre@pierre-HP-Pavilion-dv7-Notebook-PC:~$ wpctl status
PipeWire 'pipewire-0' [1.0.5, pierre@pierre-HP-Pavilion-dv7-Notebook-PC, cookie:1393842395]
 └─ Clients:
        32. WirePlumber                         [1.0.5, pierre@pierre-HP-Pavilion-dv7-Notebook-PC, pid:20347]
        33. WirePlumber [export]                [1.0.5, pierre@pierre-HP-Pavilion-dv7-Notebook-PC, pid:20347]
        35. pipewire                            [1.0.5, pierre@pierre-HP-Pavilion-dv7-Notebook-PC, pid:20349]
        55. gnome-shell                         [1.0.5, pierre@pierre-HP-Pavilion-dv7-Notebook-PC, pid:20599]
        56. GNOME Shell Volume Control          [1.0.5, pierre@pierre-HP-Pavilion-dv7-Notebook-PC, pid:20599]
        57. GNOME Volume Control Media Keys     [1.0.5, pierre@pierre-HP-Pavilion-dv7-Notebook-PC, pid:20852]
        58. xdg-desktop-portal                  [1.0.5, pierre@pierre-HP-Pavilion-dv7-Notebook-PC, pid:21226]
        59. VLC media player (LibVLC 3.0.20)    [1.0.5, pierre@pierre-HP-Pavilion-dv7-Notebook-PC, pid:21971]
        65. Terminal                            [1.0.5, pierre@pierre-HP-Pavilion-dv7-Notebook-PC, pid:25646]
        66. Google Chrome input                 [1.0.5, pierre@pierre-HP-Pavilion-dv7-Notebook-PC, pid:23318]
        68. gjs                                 [1.0.5, pierre@pierre-HP-Pavilion-dv7-Notebook-PC, pid:21361]
        71. wpctl                               [1.0.5, pierre@pierre-HP-Pavilion-dv7-Notebook-PC, pid:25734]

Audio
 ├─ Devices:
 │      48. Cedar HDMI Audio [Radeon HD 5400/6300/7300 Series] [alsa]
 │      49. Built-in Audio                      [alsa]
 │  
 ├─ Sinks:
 │  *   52. Built-in Audio Analog Stereo        [vol: 1.00]
 │  
 ├─ Sink endpoints:
 │  
 ├─ Sources:
 │  *   53. Built-in Audio Analog Stereo        [vol: 1.00]
 │  
 ├─ Source endpoints:
 │  
 └─ Streams:
        60. VLC media player (LibVLC 3.0.20)                            
             61. output_FL       > 92HD81B1X5 Analog:playback_FL    [active]
             62. output_FR       > 92HD81B1X5 Analog:playback_FR    [active]

Video
 ├─ Devices:
 │      43. HP Webcam                           [v4l2]
 │      44. HP Webcam                           [v4l2]
 │  
 ├─ Sinks:
 │  
 ├─ Sink endpoints:
 │  
 ├─ Sources:
 │  *   50. HP Webcam (V4L2)                   
 │  
 ├─ Source endpoints:
 │  
 └─ Streams:

Settings
 └─ Default Configured Node Names:
         0. Audio/Sink    alsa_output.pci-0000_00_1b.0.analog-stereo
pierre@pierre-HP-Pavilion-dv7-Notebook-PC:~$

Sound setting window image:

enter image description here

How to scroll the page in small increments in Evince? https://askubuntu.com/questions/1565287/how-to-scroll-the-page-in-small-increments-in-evince

I'm working through a chess puzzle book PDF, where I check the solutions in the back, and so I want to scroll the PDF very slowly so that I don't accidentally see the answer to the next exercise while checking the answer for the current exercise.

How can I scroll the page down in Evince in very small increments? The default scroll increment I get when I press or use the mouse wheel is too large.

apt update: The repository is no longer signed https://askubuntu.com/questions/1565283/apt-update-the-repository-is-no-longer-signed

When running sudo apt update I get errors like this:

The repository 'http://archive.ubuntu.com/ubuntu jammy-backports InRelease' is no longer signed.

Multiple repository get this same error.

What is the cause and how can I fix it?

EDIT:

This is not a duplicate to the linked question. Difference is I'm already using the main servers and not some country specific one. so it's a default config and changing the server is not a solution as in that post

Ubuntu Server 24.04 LTS, netplan 6in4 IPv6 tunnel does not work for me https://askubuntu.com/questions/1565277/ubuntu-server-24-04-lts-netplan-6in4-ipv6-tunnel-does-not-work-for-me

With Ubuntu Server, 22.04 LTS, I had a working netplan, which brought up an IPv6 in IPv4 tunnel using a tunnel broker (no native support for IPv6 at colo.)

Upgrade to 24.04 and the netplan config for tun6in4 fails.

I see log entries like:

 tun6in4: Link UP
 tun6in4: Gained carrier
 device (tun6in4): state change: unavailable -> disconnected (reason 'user-requested', sys-iface-state: 'managed')
 device (tun6in4): Activation: starting connection 'netplan-tun6in4' ($UUID)
 device (tun6in4): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
 device (tun6in4): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
 device (tun6tin): failed to generate interface identifier for link type 27 hwaddr_len 4
 device (tun6in4): linklocal6: failed to get interface identifier; IPv6 cannot continue
 policy: set 'netplan-tun6in4' (tun6in4) as default for IPv6 routing and DNS
 device (tun6in4): state change: ip-config -> failed (reason 'ip-config-unavailable', sys-iface-state: 'managed')
 device (tun6in4): Activation: failed for connection 'netplan-tun6in4'
 device (tun6in4): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')

These errors seem to suggest an attempt being made to maybe assign an IPv4 address to the sit interface named tun6in4 but the other errors suggest not being able to find an interface with the given name.

I've tried altering the netplan for the tunnel to explicitly disable DHCP for IPv4 and IPv6, but that did not help.

I can confirm it is not a firewall issue, as I can take steps from the command line to establish the tunnel, and that works, but it fails with netplan using the same settings:

REMOTE_IP would be the remote IPv4 IP address for the tunnel broker

LOCAL_IP would be the local IPv4 IP address from which I would connect to the broken

These are place-holders in this post. They are actual IPv4 addresses, not variable to be interpreted in the netplan or from the command line.

Sample for section of netplan for tunnel:

  tunnels:
    tun6in4:
      mode: sit
      local: $LOCAL_IP
      remote: $REMOTE_IP
      ttl: 64
      ignore-carrier: true
      addresses:
        - "$IPv6_Address_for_Tunnel_IN_CIDR_FORMAT"
        - "$IPv6_routed_network_Address_for_Tunnel_IN_CIDR_FORMAT"
      routes:
      - to: ::/0
        via: $IPv6_Default_Gateway_Address

I've tried including extra items like for route, appending these, without help.

        mtu: 1480
        on-link: true

I've also tried explicit disable of DHCP immediately under "tun6in4" in case that is an issue:

      dhcp4: false
      dhcp6: false

These steps work fro the command-line using the same values as found in the netplan for the tunnel, the same netplan that worked with 22.04, but doesn't with 24.04:

ip tunnel add tun6in4 mode sit remote $REMOTE_IP local $LOCAL_IP ttl 64
ip link set tun6in4 up
ip addr add $IPv6_Address_for_Tunnel_IN_CIDR_FORMAT dev tun6in4
ip addr add $IPv6_routed_network_Address_for_Tunnel_IN_CIDR_FORMAT dev tun6in4
ip -6 route add default via $IPv6_Default_Gateway_Address dev tun6in4

Completing the manual steps, the tun6in4 comes up, and I have routed IPv6 support.

Why would the netplan that worked in 22.04 not work in 24.04?

If this is a known issue, is it due to differences between "NetworkManager" and "networkd-dispatcher" / "systemd-networkd" ?

(I don't recall having NetworkManager installed before upgrade to 24.04, but maybe it was and I didn't notice.)

Other than making my own systemd "service" which does what netplan should do for IPv6 tunnels over IPv4, what is the best way to solve this using the tools and packages available in Ubuntu 24.04 Server?

Help with getting MacBook Pro WiFi to work https://askubuntu.com/questions/1565273/help-with-getting-macbook-pro-wifi-to-work

I was wondering if I could please get some assistance within getting a Mid 2012 MacBook WiFi card to work. Before proceeding I wanted to give some background. I'm currently new to Linux, and was hoping if we could dumb down the process as much as possible.

Moving forward i'm currently running Ubuntu 24.04 with Linux Kernel 6.17.0-19-generic My network controller is Broadcom Inc. and subsidiaries BCM4331 802.11a/b/g/n [14e4:4331] (rev 02).

I've tried doing some research with other forum posts to no avail due to dead links or errors within the terminal.

When I try to run sudo apt install firmware-b43-installer it keeps outputting an error message.

ERROR: Cannot create report:  
[Errno 17] File exists: '/var/crash/broadcom-sta-dkms.0.crash'   
Error! Bad return status for module build on kernel: 6.17.0-19-generic (x86_64)  
Consult /var/lib/dkms/broadcom-sta/6.30.223.271/build/make.log for more information.  
dpkg: error processing package broadcom-sta-dkms (--configure):   
  installed broadcom-sta-dkms package post-installation script subprocess returned error exit status 10   
Errors were encountered while processing: broadcom-sta-dkms   
E: Sub-process /usr/bin/dpkg returned an error code (1)
Remove hardcoded ("burned") subtitles from mp4 https://askubuntu.com/questions/1565271/remove-hardcoded-burned-subtitles-from-mp4

I've hardcoded ("burned") subtitles in a mp4 file using the following command:

ffmpeg -i nosubs.mp4 -vf subtitles=mysubs.srt withsubs.mp4

However, I unfortunately lost the original nosubs.mp4 file. How can I restore it from withsubs.mp4?

Thanks.

How can I permanently disable a specific key on a laptop keyboard? https://askubuntu.com/questions/1565261/how-can-i-permanently-disable-a-specific-key-on-a-laptop-keyboard

I have an issue with one key on my laptop keyboard. It gets stuck, so the computer thinks I keep pressing it. A temporary solution is to delicately rub the key to make it work again.

How can I disable this key on the laptop keyboard, while not disabling it on any external USB keyboards?

Fail to wake up because of ethernet driver https://askubuntu.com/questions/1565257/fail-to-wake-up-because-of-ethernet-driver

Ubuntu 25.10, Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)

When waking up my computer by pressing a key on the keyboard after suspend, it takes from 2 to 10 minutes for the screen to lit up.

I am welcomed with this screen for about 5 seconds

Then I finally enter gnome, however my wired connection is unavailable.

Everything is fine if I boot from cold, it only happens after suspend.

Do note that I had to install r8125-dkms to make the wired connection work in the first place.

EDIT:

$ sudo lspci -knn|grep -i realtek -A5
06:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller [10ec:8125] (rev 05)
DeviceName: RTL8125 2.5GbE Controller
Subsystem: ASUSTeK Computer Inc. Device [1043:87d7]
Kernel driver in use: r8125
Kernel modules: r8125

and

$ grep 8169 /etc/modprobe.d/*

returns nothing.

I also noticed longer boot and stop times, when I boot I can see for a few seconds this line:

r8125 0000:06:00.0 (unnamed net_device) (uninitialized): Invalid ether addr 00:00:00:00:00:00
App overriding power management https://askubuntu.com/questions/1564865/app-overriding-power-management

I recently upgraded from Ubuntu 22.04 to 24.04. Cinnamon DE. Since the upgrade, reminders are overriding power management and keep the screen enabled well past the power management display inactivity timeout. I understand these reminders are generated by the Evolution service. I like the reminders, I just don't want it to override power management. This didn't happen in 22.04, power management worked fine. Is there a way to fix this or am I stuck with either getting rid of the reminders altogether or remembering to turn off the monitor, which I don't?

How do I change default terminal emulator? https://askubuntu.com/questions/1557467/how-do-i-change-default-terminal-emulator

I'm currently using Ubuntu 25.04 and recently tried changing the default terminal from gnome-terminal to ghostty.

I tried running sudo update-alternatives --config x-terminal-emulator, but ghostty wasn't listed.

I then ran sudo update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator /snap/bin/ghostty 50

After that I could see ghostty in update-alternatives, but, even after rebooting, when I open the terminal with Ctrl+Alt+T, gnome-terminal still opens instead.

What am I missing here?

Drives are visible in BIOS and Disk utility but not in Files https://askubuntu.com/questions/1473941/drives-are-visible-in-bios-and-disk-utility-but-not-in-files

I just recently switched from Windows 10 to Ubuntu because I was having trouble resetting my computer, so I Formatted my Windows SSD and installed Ubuntu, But Im having trouble accessing my drives.

They are both visible in the Disk utility with the correct names and serial numbers, as well as the BIOS. But I cannot seem to access any of the data through the File Explorer.

Both my SSD and HDD are unreachable, even though my SSD contains Ubuntu so it must be recognized by my computer.

When i connected my HDD a new drive appeared on my Dock but when i right click and select "Mount" nothing happens.

Could this be caused by a wrong file system compatible with windows but not Ubuntu? or could the drive be corrupted?

Help would be greatly appreciated.

Getting an error every time I install something with apt https://askubuntu.com/questions/1469881/getting-an-error-every-time-i-install-something-with-apt

I used this command on ubuntu cinnamon 23.04

sudo apt install gcc

It gave me this output

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
gcc is already the newest version (4:12.2.0-3ubuntu1).
gcc set to manually installed.
The following packages were automatically installed and are no longer required:
  fortune-mod fortunes-min gir1.2-gexiv2-0.10 librecode0 python3-configobj
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up xtrx-dkms (0.0.1+git20190320.5ae3a3e-3.2) ...
Removing old xtrx-0.0.1+git20190320.5ae3a3e-3.2 DKMS files...
Module xtrx-0.0.1+git20190320.5ae3a3e-3.2 for kernel 6.2.0-20-generic (x86_64).
Before uninstall, this module version was ACTIVE on this kernel.

xtrx.ko:
 - Uninstallation
   - Deleting from: /lib/modules/6.2.0-20-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.
depmod...
Deleting module xtrx-0.0.1+git20190320.5ae3a3e-3.2 completely from the DKMS tree
.
Loading new xtrx-0.0.1+git20190320.5ae3a3e-3.2 DKMS files...
Building for 6.2.0-20-generic 6.3.2-060302-generic
Building initial module for 6.2.0-20-generic
Done.

xtrx.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/6.2.0-20-generic/updates/dkms/
depmod...
Building initial module for 6.3.2-060302-generic
ERROR (dkms apport): kernel package linux-headers-6.3.2-060302-generic is not su
pported
Error! Bad return status for module build on kernel: 6.3.2-060302-generic (x86_6
4)
Consult /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.2/build/make.log for more
 information.
dpkg: error processing package xtrx-dkms (--configure):
 installed xtrx-dkms package post-installation script subprocess returned error 
exit status 10
Errors were encountered while processing:
 xtrx-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)

Content of /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.2/build/make.log

DKMS make.log for xtrx-0.0.1+git20190320.5ae3a3e-3.2 for kernel 6.3.2-060302-generic (x86_64)
Mo 29 Mai 2023 12:56:35 CEST
make: Entering directory '/usr/src/linux-headers-6.3.2-060302-generic'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.2.0-17ubuntu1) 12.2.0
  You are using:           gcc-12 (Ubuntu 12.2.0-17ubuntu1) 12.2.0
  CC [M]  /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.2/build/xtrx.o
/var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.2/build/xtrx.c: In function ‘xtrxfd_mmap’:
/var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.2/build/xtrx.c:1075:31: error: assignment of read-only member ‘vm_flags’
 1075 |                 vma->vm_flags |= VM_LOCKED;
      |                               ^~
/var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.2/build/xtrx.c:1090:31: error: assignment of read-only member ‘vm_flags’
 1090 |                 vma->vm_flags |= VM_IO;
      |                               ^~
/var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.2/build/xtrx.c:1115:31: error: assignment of read-only member ‘vm_flags’
 1115 |                 vma->vm_flags |= VM_LOCKED;
      |                               ^~
make[1]: *** [scripts/Makefile.build:252: /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.2/build/xtrx.o] Error 1
make: *** [Makefile:2031: /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.2/build] Error 2
make: Leaving directory '/usr/src/linux-headers-6.3.2-060302-generic'
All square icon while uploading file in postman https://askubuntu.com/questions/1466797/all-square-icon-while-uploading-file-in-postman

I have upgraded to Ubuntu 23.04. facing an issue while uploading a file in postman, unable to see the proper icon.

img

dev/ttyacm0 does not exist despite showing up in dmesg https://askubuntu.com/questions/1287235/dev-ttyacm0-does-not-exist-despite-showing-up-in-dmesg

I'm trying to run rosserial with a teensy 3.6, but am getting the following error

[ERROR] [1603751770.005130]: Error opening serial: [Errno 2] could not open port /dev/ttyACM0: [Errno 2] No such file or directory: '/dev/ttyACM0'

However, my dmesg | grep tty output shows the following

[    0.000000] console [tty0] enabled
[12758.910672] cdc_acm 1-2:1.0: ttyACM0: USB ACM device

TTYACM0 does not show up when I run ls dev/tty* either.

Thanks in advance!

Dual Booting Ubuntu, Kernel Panic - not syncing: Attempted to kill init! exitcode=0x00000009 https://askubuntu.com/questions/1196498/dual-booting-ubuntu-kernel-panic-not-syncing-attempted-to-kill-init-exitcod

I know this question has already been asked. But I'm installing the Ubuntu for the first time and I don't have a 'Grub' to change into another kernel or whatever. I'm trying to install 18.4.3 alongside Windows 10.

I am getting a kernel panic error. I can't access anything when Ubuntu is in that state. The keyboard doesn't work or anything.

I heard that I have a problem with the ACPI since when I try to boot the same iso on a virtual machine, it works and it installs with no problems.

[    0.216289] ? rest_init+0x80/0x80
[    0.216289] kernel_init+0xe/0x110
[    0.216289] ret_from_fork+0x35/0x40
[    0.216289] Modules linked in:
[    0.216289] CR2: ffffa79fc069a000
[    0.216289] ---[ end trace ccb6fb12b9dd3589 ]---
[    0.216289] RIP: 0010:acpi_ex_system_memory_space_handler+0x221/0x2a3
[    0.216289] Code: 74 21 77 0d 41 83 fc 08 75 56 41 0f b6 45 00 eb 1d 41 83 fc
20 74 13 41 83 fc 40 75 43 49 8b 45 00 eb 0b 41 0f b7 45 00 eb 04 <41> 8b 45 00
49 89 07 eb 2d 41 83 fc 10 74 1f 77 0f 41 83 fc 08 75
[    0.216289] RSP: 0000:ffffa79fc0647600 EFLAGS: 00010246
[    0.216289] RAX: ffffa79fc0699fff RBX: 00000000000f6fff RCX: 0000000000000000
[    0.216289] RDX: ffff942096fc4200 RSI: 0000000000001000 RDI: ffffffff a9354160
[    0.216289] RBP: ffffa79fc0647630 R08: ffffa79fc0699000 R09: 0000000000000000
[    0.216289] R10: fffffffffffff000 R11: ffffc79fbfffffff R12: 0000000000000020
[    0.216289] R13: ffffa79fc0699fff R14: ffff9420969f3e00 R15: ffffa79fc0647750
[    0.216289] FS:  0000000000000000(0000) GS:ffff942097a00000(0000) knlGS:00000
00000000000
[    0.216289] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    0.216289] CR2: ffffa79fc069a000 CR3: 000000003140e000 CR4: 00000000000406f0
[    0.216311] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00
000009
[    0.216362] ---[ end Kernel panic - not syncing: Attempted to kill init! exit
code=0x00000009 ]---
_
Dell R630 boots into kernel panic on newer kernel version https://askubuntu.com/questions/1183069/dell-r630-boots-into-kernel-panic-on-newer-kernel-version

Ubuntu 16.04 on a Dell R630

Booting 4.4.0-116-generic from the base install:

  1. Warning of "read or write outside of disk `hd0'"
  2. System manages to boot just fine.

Booting 4.4.0-165-generic from system update:

  1. Warning of "invalid extent"
  2. System starts to boot but then fails into a stack trace.

Before this, I was in a state where none of the kernels available on the system (165 and a few earlier) could boot the system, so I reinstalled Ubuntu.

The disk layout:

Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x92b9e484

Device     Boot Start        End    Sectors  Size Id Type
/dev/sda1  *     2048 3907028991 3907026944  1.8T 83 Linux

This is via the Ubuntu installer, but I don't bother with a swap partition.

I wonder if Dell has a bug whereby the BIOS can't boot a kernel unless it is close to the start of the disk, and I need to do a /boot partition. I really hope this is NOT the case, because I have a few systems now built in this manner and I am scared to reboot.

I have tried updating the BIOS.

Here's the kernel panic:

[    2.920780] 0000000000000000 ffff88103e617340 0000000000000006 ffff8820374e800
[    2.930279] Call Trace:
[    2.934826]  <IRQ>  [<ffffffff8140c201>] dump_stack+0x63/0x82
[    2.939567]  [<ffffffff810864e2>] warn_slowpath_common+0x82/0xc0
[    2.944324]  [<ffffffff8108662a>] warn_slowpath_null+0x1a/0x20
[    2.949064]  [<ffffffff81052ab6>] native_smp_send_reschedule+0x66/0x70
[    2.953839]  [<ffffffff810c6399>] trigger_load_balance+0x139/0x220
[    2.958652]  [<ffffffff810b4a7a>] scheduler_tick+0xaa/0xe0
[    2.963498]  [<ffffffff81107920>] ? tick_sched_handle.isra.14+0x60/0x60
[    2.968358]  [<ffffffff810f7611>] update_process_times+0x51/0x60
[    2.973227]  [<ffffffff811078e5>] tick_sched_handle.isra.14+0x25/0x60
[    2.978179]  [<ffffffff8110795d>] tick_sched_timer+0x3d/0x70
[    2.983114]  [<ffffffff810f7f42>] __hrtimer_run_queues+0x102/0x290
[    2.988158]  [<ffffffff810f8738>] hrtimer_interrupt+0xa8/0x1a0
[    2.993110]  [<ffffffff8105555e>] local_apic_timer_interrupt+0x3e/0x60
[    2.998016]  [<ffffffff8186980b>] smp_apic_timer_interrupt+0x4b/0x70
[    3.002852]  [<ffffffff81866f54>] apic_timer_interrupt+0xd4/0xe0
[    3.007678]  <EOI>  [<ffffffff811987e2>] ? panic+0x1e1/0x227
[    3.012477]  [<ffffffff81f69581>] mount_block_root+0x201/0x294
[    3.017177]  [<ffffffff81f69679>] mount_root+0x65/0x68
[    3.021769]  [<ffffffff81f697b6>] prepare_namespace+0x13a/0x172
[    3.026307]  [<ffffffff81f69224>] kernel_init_freeable+0x1ed/0x218
[    3.030801]  [<ffffffff81859220>] ? rest_init+0x80/0x80
[    3.035124]  [<ffffffff8185922e>] kernel_init+0xe/0xe0
[    3.039296]  [<ffffffff818663a5>] ret_from_fork+0x55/0x80
[    3.043349]  [<ffffffff81859220>] ? rest_init+0x80/0x80
[    3.047287] ---[ end trace 68cdffd8797a4db8 ]---
How do I increase swapfile in Ubuntu 18.04? [duplicate] https://askubuntu.com/questions/1075505/how-do-i-increase-swapfile-in-ubuntu-18-04

I have laptop with 8 GB RAM and 1TB HDD. I have swapfile which is 2 GB (Ubuntu 18.04 uses a swapfile instead of a separate swap partition by default) and I want to increase it to use hibernation.

I want to increase it from 2 GB to 16 GB. Here is a screenshot of GParted:

GParted screenshot

I tried to increase it with fallocate -l 16G but it did not work.

Also there is the image from free -m:

<code>free</code> output

18.04, Slow boot and black screen on boot before reaching login splash https://askubuntu.com/questions/1053531/18-04-slow-boot-and-black-screen-on-boot-before-reaching-login-splash

Xubuntu 18.04, 4.15.0-24-generic, ThinkPad T430. Uses Intel HD iGPU graphics (nvidia dGPU disabled in BIOS).

Recently started having this issue with a slow boot, where the boot process hangs on a black screen for an indefinite period of time before finally displaying the normal login splash screen.

Process looks like:

  • OEM Bios select screen
  • blank, black screen (< 1 sec)
  • Blue Xubuntu title splash (< 2 sec)
  • Some grub printout (< 1 sec)
  • A black screen that has a blinking white cursor block (< 1 sec)
  • A blank, black screen with nothing on it (approx. 10 sec)
  • Finally, login splash screen

No idea why it started doing this. Was working fine before. The only thing I've noticed, which may be a red herring or irrelevant, is that there have been a bunch of updates to the mesa package lately when I apt update and upgrade.

Most other posts I've seen related to a hanging black screen on boot are either ancient (12.04) or unrelated (stuck on grub, or the flashing-cursor screen instead of blank). Though it seems like most of those posts are related to editing the grub file (/etc/default/grub line GRUB_CMDLINE_LINUX_DEFAULT).

Any ideas?

For reference, my grub file reads:

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nouveau.runpm=0"
GRUB_CMDLINE_LINUX=""

and the relevant output of lscpi -k

lspci -k
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
Subsystem: Lenovo 3rd Gen Core processor Graphics Controller
Kernel driver in use: i915
Kernel modules: i915

Things I've tried:

  • change GRUB_CMDLINE_LINUX_DEFAULT to "quiet splash instead of "quiet splash nouveau.runpm=0"
  • GRUB_TIMEOUT=0 instead of 10
  • updating mesa, xserver-xorg-video-intel packages, both already installed and current
  • updating kernel (was already at latest, 4.15.0-24-generic)

Update:

Unfortunately was not able to figure out the source of the issue. I tried nearly every permutation of grub settings, but that did not end up changing the hanging boot issue. My guess it is probably related to the 4.15.0-24-generic. Decided to reinstall Xubuntu 16.04 for this issue and a few more I've had with 18.04.

If anyone else is experiencing this hanging boot issue and solved the issue, please provide your solution for others (and possibly me if I decide to roll the dice again when Xubuntu 18.04.1 drops).

Change java version from 1.8.0_161 to 1.8.0_151 Ubuntu 16.04 https://askubuntu.com/questions/1004516/change-java-version-from-1-8-0-161-to-1-8-0-151-ubuntu-16-04

I am using ubuntu 16.04 LTS.

...$ java -version
java version "1.8.0_161"
Java(TM) SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode)

...$ echo $JAVA_HOME
/usr/lib/jvm/java-8-oracle

I have tried to use multiple versions of java using the answer mentioned is this post.

...$ which java
/usr/bin/java

Downloaded jdk 1.8.0_151 from this link:

http://www.oracle.com/technetwork/java/archive-139210.html

Extracted it in home/b/ then tried the following command as mentioned in the post.

...$ export  PATH=/home/b/jdk1.8.0_151/bin:$PATH 

... $ which java
/usr/bin/java

I am still getting the same java.

I have also tried:

...$ sudo update-alternatives --config java

here is 1 choice for the alternative java (providing /usr/bin/java).

Selection    Path                                     Priority   Status

------------------------------------------------------------
  0            /usr/lib/jvm/java-8-oracle/jre/bin/java   1081      auto mode
* 1            /usr/lib/jvm/java-8-oracle/jre/bin/java   1081      manual mode

This is my $PATH:

...$ echo $PATH

/home/b/jdk1.8.0_151/bin:/home/junaid/anaconda2/bin:/usr/local/sbin:/usr/local/bin:
/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:
/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin

Should I remove Java and download again? If yes, then how?

Error opening Serial Port - Arduino https://askubuntu.com/questions/827190/error-opening-serial-port-arduino

I try to upload arduino code to an Arduino Mega. The serial port is detected the first time I plug in the board. As soon as I upload, I get an error saying 'Error opening Serial Port '. And then the Serial Port option is not available for some time. The error repeats the next time I try to upload.

Binary sketch size: 1,500 bytes (of a 258,048 byte maximum)
processing.app.SerialException: Error opening serial port    '/dev/ttyACM0'.
at processing.app.Serial.<init>(Serial.java:178)
at processing.app.Serial.<init>(Serial.java:77)
at processing.app.debug.Uploader.flushSerialBuffer(Uploader.java:77)
at processing.app.debug.AvrdudeUploader.uploadViaBootloader(AvrdudeUploader.java:175)
at processing.app.debug.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:67)
at processing.app.Sketch.upload(Sketch.java:1671)
at processing.app.Sketch.exportApplet(Sketch.java:1627)
at processing.app.Sketch.exportApplet(Sketch.java:1599)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2380)
at java.lang.Thread.run(Thread.java:745)
Caused by: gnu.io.UnsupportedCommOperationException: Invalid Parameter
at gnu.io.RXTXPort.setSerialPortParams(RXTXPort.java:213)
at processing.app.Serial.<init>(Serial.java:163)
  ... 9 more
processing.app.debug.RunnerException: Error opening serial port '/dev/ttyACM0'.
at processing.app.debug.Uploader.flushSerialBuffer(Uploader.java:101)
at      processing.app.debug.AvrdudeUploader.uploadViaBootloader(AvrdudeUploader.java:175)
at
processing.app.debug.AvrdudeUploader.uploadUsingPreferences(AvrdudeUploader.java:67)
at processing.app.Sketch.upload(Sketch.java:1671)
at processing.app.Sketch.exportApplet(Sketch.java:1627)
at processing.app.Sketch.exportApplet(Sketch.java:1599)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2380)
at java.lang.Thread.run(Thread.java:745)
Ubuntu failing to boot past GRUB - "Kernel panic" https://askubuntu.com/questions/686879/ubuntu-failing-to-boot-past-grub-kernel-panic

I've been working today on developing a LFS system, I'm developing the system using a VirtualBox VM running Ubuntu.

I got to this page, and after running the make install command for Glibc, VirtualBox was slow, and some basic commands like cp were acting weird (it was saying Segmentation fault (core dumped)), so I decided to restart VirtualBox.

After selecting Ubuntu in the GRUB menu, I was presented by this Kernel panic - not syncing: Attempted to kill init! error screen:

[    4.350848]  c1b08c80 ddc5de14 c198e400 daffe540 ddc98000 ddc5de78 c105ebcf c
187ab4c
[    4.351418]  0000000b ddc98498 ddc5de48 00000001 0000000b ddc5de60 00000000 d
dc98000
[    4.351994] Call Trace:
[    4.352009]  [<c168b423>] dump_stack+0x41/0x52
[    4.352009]  [<c1685726>] panic+0x87/0x1a5
[    4.352009]  [<c105ebcf>] do_exit+0x8df/0x8e0
[    4.352009]  [<c105ec44>] do_group_exit+0x34/0xa0
[    4.352009]  [<c106cbcc>] get_signal_to_deliver+0x18c/0x6a0
[    4.352009]  [<c104ea90>] ? __do_page_fault+0x510/0x510
[    4.352009]  [<c100f3ba>] do_signal+0x3a/0x9f0
[    4.352009]  [<c1685582>] ? bad_area+0x38/0x3e
[    4.352009]  [<c115f82e>] ? do_munmap+0x21e/0x2d0
[    4.352009]  [<c115f920>] ? vm_munmap+0x40/0x50
[    4.352009]  [<c104ea90>] ? __do_page_fault+0x510/0x510
[    4.352009]  [<c100fdd7>] do_notify_resume+0x67/0x90
[    4.352009]  [<c1692a25>] work_notifysig+0x30/0x37
[    4.352009] Kernel Offset: 0x0 from 0xc1000000 (relocation range: 0xc0000000-
0xe07effff)
[    4.352009] ---[ end Kernel panic - not syncing: Attempted to kill init! exit
code=0x0000000b
[    4.352009]
_

Can you guys tell me what this means, and maybe how to fix my VM?

It also throws the same error when attempting to boot into recovery mode.

I did accidentally run a chmod command on the wrong partition, but I don't think it would cause this. (I accidentally changed the LFS host system's /var/log/btmp file to 660 from whatever it was before).

Here is the kernel log from /var/log/kern.log http://pastebin.com/TusqDGrP

This is similar to Cannot boot because: Kernel panic - not syncing: Attempted to kill init! except that I'm not getting an error as far as I can see

Error thrown while loading gnu.io.RXTXCommDriver https://askubuntu.com/questions/590118/error-thrown-while-loading-gnu-io-rxtxcommdriver

I am trying to run a java program which list all available ports using Eclipse IDE in Ubuntu 14.04. My program is as follows:

import gnu.io.CommPortIdentifier;

import java.util.Enumeration;


public class ListAvailablePorts {

public void list() {  
    Enumeration ports = CommPortIdentifier.getPortIdentifiers();  

    while(ports.hasMoreElements())  
        System.out.println(((CommPortIdentifier)ports.nextElement()).getName());
}
public static void main(String[] args) {
    new ListAvailablePorts().list(); 

}

}

But it shows the following warning followed by error:

Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library     /usr/lib/jvm/java-8-oracle/jre/lib/amd64/librxtxSerial.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-8-oracle/jre/lib/amd64/librxtxSerial.so: /usr/lib/jvm/java-8-oracle/jre/lib/amd64/librxtxSerial.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch) thrown while loading gnu.io.RXTXCommDriver
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-8-oracle/jre/lib/amd64/librxtxSerial.so: /usr/lib/jvm/java-8-oracle/jre/lib/amd64/librxtxSerial.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1937)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1843)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1119)
at gnu.io.CommPortIdentifier.<clinit>(CommPortIdentifier.java:83)
at ListAvailablePorts.list(ListAvailablePorts.java:11)
at ListAvailablePorts.main(ListAvailablePorts.java:17)
Error: couldn't find RGB GLX visual or fbconfig ubuntu 12.04 https://askubuntu.com/questions/475972/error-couldnt-find-rgb-glx-visual-or-fbconfig-ubuntu-12-04

I'm using Intel HD Graphics as graphics card and I'm trying to open an OpenGL program, but, when I try to run it, I have the following error: OpenGL GLX extension not supported by display ':0.0'

Then, I tried to run glxinfo, then I had the:

Error: couldn't find RGB GLX visual or fbconfig ubuntu 12.04 error.

How can I fix this error from not happening again?

npm install ws doesn't work https://askubuntu.com/questions/293683/npm-install-ws-doesnt-work

I want to implement a websocket server in node.js. For that I want to install 'ws'. I've already installed npm and node.js in my ubuntu system. Now I'm trying to run the command 'sudo npm install ws' but it doesn't work. I'm pasting the content of my terminal. Can someone help?

root@Neeraj:/home/neeraj# npm install ws
npm http GET https://registry.npmjs.org/ws

npm ERR! Error: failed to fetch from registry: ws
npm ERR!     at /usr/share/npm/lib/utils/npm-registry-client/get.js:139:12
npm ERR!     at cb (/usr/share/npm/lib/utils/npm-registry-client/request.js:31:9)
npm ERR!     at Request._callback (/usr/share/npm/lib/utils/npm-registry-    client/request.js:136:18)
npm ERR!     at Request.callback (/usr/lib/nodejs/request/main.js:119:22)
npm ERR!     at Request.<anonymous> (/usr/lib/nodejs/request/main.js:212:58)
npm ERR!     at Request.emit (events.js:88:20)
npm ERR!     at ClientRequest.<anonymous> (/usr/lib/nodejs/request/main.js:209:10)
npm ERR!     at ClientRequest.emit (events.js:67:17)
npm ERR!     at ClientRequest.onError (/usr/lib/nodejs/request/tunnel.js:164:21)
npm ERR!     at ClientRequest.g (events.js:156:14)
npm ERR! You may report this log at:
npm ERR!     <http://bugs.debian.org/npm>
npm ERR! or use
npm ERR!     reportbug --attach /home/neeraj/npm-debug.log npm
npm ERR! 
npm ERR! System Linux 3.2.0-29-generic-pae
npm ERR! command "node" "/usr/bin/npm" "install" "ws"
npm ERR! cwd /home/neeraj
npm ERR! node -v v0.6.12
npm ERR! npm -v 1.1.4
npm ERR! message failed to fetch from registry: ws
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /home/neeraj/npm-debug.log
npm not ok
root@Neeraj:/home/neeraj# 
accidently blocked access to sudoers.d whilst trying to change ushare config https://askubuntu.com/questions/152038/accidently-blocked-access-to-sudoers-d-whilst-trying-to-change-ushare-config

Basically was trying to change the ushare config and needed permissions for some reason so, I changed with sudo -i and in the process did somthing and now I can't access superuser to change any of the permissions.

Also it says /etc/sudoers is mode 0660, but should be 0440 in the Terminal when I try and access it.

What can I do?

What to use to quickly cut Audio/Video https://askubuntu.com/questions/56022/what-to-use-to-quickly-cut-audio-video

If just need to crop Audio/Video from a longer track, what can I use? I tried OpenShot, but I find the export video slow, perhaps its compling all the "layers" into a new movie? Perhaps I just need a simple "crop" tool for audio/video will surfice?