Quantcast
Channel: Question and Answer » arch-linux
Viewing all 154 articles
Browse latest View live

Adding vmlinuz to EFI boot adds an unbootable japanese caracter to the boot menu

$
0
0

I’m trying to setup a boot on an encrypted partition so I enter this command :

efibootmgr -d /dev/nvme0n1 -p 1 -c -L "Arch Linux" -l /vmlinuz-linux -u "root=/dev/nvme0n1p6 rw initrd=/initramfs-linux.img cryptdevice=/dev/nvme0n1p6:cryptroot"

Unfortunately after rebooting all it does is to add a japanese caracter to the boot list and it is unbootable.

So here are some infos :

root@ubuntu:~# fdisk -l
Disk /dev/nvme0n1: 477 GiB, 512110190592 bytes, 1000215216 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: gpt
Disk identifier: F9CA7213-905E-425E-AA19-3872C8801ADA

Device             Start        End   Sectors   Size Type
/dev/nvme0n1p1      2048    1128447   1126400   550M EFI System
/dev/nvme0n1p3   1128448    1161215     32768    16M Microsoft reserved
/dev/nvme0n1p4   1161216  758552575 757391360 361.2G Microsoft basic data
/dev/nvme0n1p6 760506368 1000214527 239708160 114.3G Linux filesystem

root@ubuntu:~# mount /dev/nvme0n1p1 /mnt
root@ubuntu:~# ls /mnt
initramfs-linux-fallback.img  initramfs-linux.img  vmlinuz-linux

root@ubuntu:~# efibootmgr -v
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0001,0002,0000
Boot0000* Arch Linux    VenHw(99e275e7-75a0-4b37-a2e6-c5385e6c00cb)r.o.o.t.=./.d.e.v./.n.v.m.e.0.n.1.p.6. .r.w. .i.n.i.t.r.d.=./.i.n.i.t.r.a.m.f.s.-.l.i.n.u.x...i.m.g. .c.r.y.p.t.d.e.v.i.c.e.=./.d.e.v./.n.v.m.e.0.n.1.p.6.:.c.r.y.p.t.r.o.o.t.
Boot0001* UEFI: VerbatimSTORE N GO 1100 PciRoot(0x0)/Pci(0x1a,0x0)/USB(1,0)/USB(1,0)/HD(1,MBR,0x4294967286,0x800,0x1dd9000)..BO
Boot0002* UEFI:  USB DISK 2.0 PMAP  PciRoot(0x0)/Pci(0x1a,0x0)/USB(1,0)/USB(2,0)/HD(1,MBR,0x4294967186,0xac,0xf800)..BO

So what is this bug about, am I making a mistake in the efibootmgr command line or what ? I have to add that when I try to install debian I have the same problem (japanese unbootable caracter). Could it be that the motherboard is unable to boot on vmlinuz ?


arch linux- error:failed to get canonical path of 'airootfs' (grub to USB installation)

$
0
0

I’m trying to install arch-linux for the first time, everything was OK till I tried to install “grub” boot-loader to a USB drive.

I am working by the WIKI ARCH LINUX guide.

Both of this commands worked with no errors:

# mkdir -p /mnt/usb ; mount /dev/sdc1 /mnt/usb

# grub-install --target=i386-pc --recheck --debug --boot-directory=/mnt/usb/boot /dev/sdc

but the next command return an error:failed to get canonical path of ‘airootfs’ :

# grub-mkconfig -o /mnt/usb/boot/grub/grub.cfg

what causes this error? How can I get rid of it?

Got a brand new laptop with hardware still unsupported. Should I wait or return it?

$
0
0

So my parents offered my a Laptop, a quite good one judging by my other computers (for example my Desktop is still stuck on CDQ), and it is always sort of rude to return a gift in any situation, but it has serious trouble with drivers.

The laptop is an Asus GL552V, which has fairly standard components:

  • Intel 6700HQ APU
  • Nvidia 960M
  • Intel 7265 Wireless
  • Atheros (or Realtek, not sure now) ethernet
  • A Samsung SSD
  • An HGST HDD

Basically nothing fancy or from a brand known to have serious driver issues (such as Broadcom). The problem is that Skylake only has proper kernel support from 4.3 on (4.2 is experimental and had to be toggled), besides one or other little details like the touchpad not working (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1520519), and the fan being always at full speed.

Im an Arch user, and simply thought “I’ll have to use dev versions for a while, but it will work”. Note that out-of-curiosity I booted several distributions, such as a daily Ubuntu 16.04 snapshot, but none booted, not even after disabling modeset on the nouveau driver and enabling skylake support.

So I installed Arch with the default 4.2.5 kernel, bumblebee, mesa 11.1, and Nvidia blob (guess I had no choice). With i915.preliminary_hw_support=1 it works, not ideal but at least manages to boot.

Tried to install both Gnome, KDE and XFCE.

From GDM only Gnome on Wayland works, Gnome on Xorg or XFCE and the computer just frezes after logging in (cant even get past the GDM backgroud).

SDDM already worked (it works no longer for some reason), and when it did, so did Plasma.

LightDM doesn’t work at all (just freezes the computer). Also any of the previous combinations eventually hangs even Wayland Gnome or Plasma.

The logs say nothing, when the computer freezes it isn’t some SW error, its probably with the HW.

Kernel 4.3 from the testing repo just halts on boot, and the same goes for mainline 4.4rc6 (can’t get past Triggering uevents) and have no idea on how to debug it. Yet there are more people with trouble booting newer kernels on this APU (https://bugzilla.kernel.org/show_bug.cgi?id=109081)

I’ve read somewhere that most of my problems (GPU, Touchpad, maybe fan speed control) is fixed on 4.4, but being unable to boot it I can’t even test.

I’m undecided, I’ll not leave such an expensive laptop on a corner till some day (maybe never) it has a solid support, but would prefer to avoid refunding it.
What options do I have? What can I try? Where can I look for useful debug info?

Right now I’m not really tied into any particular distro, anything that gives some hope is good.

VMWare in arch without DE or WM

$
0
0

I’m trying to run VMWare (or any graphical application for that matter) in fullscreen mode from the console. I don’t want to install a Desktop Environment or Window Manager, or even a Display Manager if that can be avoided.

Without any such manager installed, opening VMWare with vmware results in DISPLAY is not set, unable to open the VMware Workstation user interface

I installed xorg-xinit and started the base X server, and ran vmware in one of the terminals there, and VMWare opened with no problem. However, i want to keep my system as lightweight as possible. I simply want VMWare (and any other graphical application) in the full screen. How could I achieve this?

OpenGL vendor is vmware

$
0
0

When I run glxinfo | grep -i opengl I get:

OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.7, 256 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.1.0
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 11.1.0
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.1.0
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:

The main implication of this is that google chrome will not let me use webGL. I can override it, but then the performance is terrible and I would rather just use the NVidia driver.

I uninstalled VMWare, but that didn’t help.

I am running archlinux v4.3.3-2-ARCH with a nVidia GeForce GTX 950 and the nouveau driver.

How to install a Ruby gem on Arch Linux using Puppet?

$
0
0

I’ve got the following:

class travis_linter {
  include shell

  package { 'travis-lint':
    ensure   => latest,
    provider => gem,
  }
}

When I try to test it, however, I get the following Puppet output:

==> default: Debug: Executing: '/usr/bin/gem install --no-rdoc --no-ri travis-lint'
==> default: Error: Could not update: Execution of '/usr/bin/gem install --no-rdoc --no-ri travis-lint' returned 1: ERROR:  While executing gem ... (TypeError)
==> default:     wrong argument type nil (expected Regexp)
==> default: Error: /Stage[main]/Travis_linter/Package[travis-lint]/ensure: change from absent to latest failed: Could not update: Execution of '/usr/bin/gem install --no-rdoc --no-ri travis-lint' returned 1: ERROR:  While executing gem ... (TypeError)
==> default:     wrong argument type nil (expected Regexp)

Other possibly relevant output from the full log file:

Debug: Puppet::Type::Package::ProviderPuppet_gem: file /opt/puppetlabs/puppet/bin/gem does not exist
Debug: /Package[puppet-lint]: Provider gem does not support features virtual_packages; not managing attribute allow_virtual
Debug: /Package[reek]: Provider gem does not support features virtual_packages; not managing attribute allow_virtual
Debug: /Package[travis-lint]: Provider gem does not support features virtual_packages; not managing attribute allow_virtual

Setting ensure to 2.0.0 didn’t help, so it’s not related to the latest keyword:

Error: Could not update: Execution of '/usr/bin/gem install -v 2.0.0 --no-rdoc --no-ri travis-lint' returned 1: ERROR:  While executing gem ... (TypeError)
    wrong argument type nil (expected Regexp)

I am able to run the exact same command manually:

[vagrant@archlinux ~]$ /usr/bin/gem install --no-rdoc --no-ri travis-lint
Fetching: travis-lint-2.0.0.gem (100%)
WARNING:  You don't have /home/vagrant/.gem/ruby/2.3.0/bin in your PATH,
          gem executables will not run.
Successfully installed travis-lint-2.0.0
1 gem installed

Is my Puppet manifest wrong, or is something broken about Puppet/Gem? Is it possible that latest is not a valid value for gems?

[vagrant@archlinux ~]$ puppet --version
4.3.1
[vagrant@archlinux ~]$ gem --version
2.5.1

Reported a bug since this doesn’t seem to be a simple issue.

run msfconsole within any directory

$
0
0

I just installed metasploit. The issue is i can only run ./msfconsole in installation directory which is /opt/framework/metasploit-framework.

When i run msfconsole in another directory i got this error

Could not find rake-10.4.2 in any of the sources
Run `bundle install` to install missing gems.

In my .bashrc file :

export PATH="$PATH:$HOME/.rvm/bin" 
export PATH="$PATH:$HOME/.gem/ruby/2.3.0/bin"
export PATH="$(ruby -e 'print Gem.user_dir')/bin:$PATH"

export PATH=$PATH:/opt/framework/metasploit-framework
alias msfconsole="./msfconsole --quiet -x "db_connect ${USER}@msf""

Edit 1
My solution so far (I have to exit to /opt/framework/metasploit-framework though) :

alias msfconsole="cd /opt/framework/metasploit-framework && ./msfconsole --quiet -x "db_connect ${USER}@msf""

Edit 2
Solved (I added cd -)

alias msfconsole="cd /opt/framework/metasploit-framework && ./msfconsole --quiet -x "db_connect ${USER}@msf && cd -""

Sorry for bad english

lsusb can't detect pickit2

$
0
0

I have installed Arch Linux (i686) every thins works fine but when I try ti plug the PicKit2 (Programmer for PIC MCUs) and run lsusb it doesn’t shown in the list
I tryed it on Win7 machine and works fine

Note:- It was working fine on xubuntu 14.04LTS but I have to plug it and unplug it ,now it doesn’t work on xubuntu or on Arch


Keyboard doesn't work GRUB after boot on Windows

$
0
0

I have a Razer keyboard and a dual boot (Arch Linux + Windows 7).
The keyboard works fine if I just use Arch Linux.
Whenever I boot on Windows my next time on GRUB the keyboard won’t work anymore.

When it happens I need to unplug my keyboard and put a normal USB keyboard to change default OS.

Is there something that I can look at? This issue is pretty annoying.

Thanks!

How to make an iproute2 bridge setup permanent?

$
0
0

I’ve set up an archlinux inside a Oracle Virtual Box. To be able to reach the VM from the LAN I have added a bridge adapter and configured the guest system following the instructions from the Arch Linux Wiki.

I used the following commands to successfully set up the network:

ip link add name lan_bridge type bridge
ip link set lan_bridge up
ip link enp0s8 up
ip link set enp0s8 master lan_bridge
systemctl start dhcpcd@lan_bridge

After those steps I’m able to login into the guest via SSH. Trying to make the changes persistent using:

systemctl enable dhcpcd@lan_bridge

does not work, though. I’d like systemd to create the exact same setup on startup automatically. Of course I could just paste those commands into a shell script and run it at startup, but I think there should be a proper way to do so. Help is greatly appreciated.

lsusb can't detect pickit2

$
0
0

I have installed Arch Linux (i686) every thins works fine but when I try ti plug the PicKit2 (Programmer for PIC MCUs) and run lsusb it doesn’t shown in the list
I tryed it on Win7 machine and works fine

Note:- It was working fine on xubuntu 14.04LTS but I have to plug it and unplug it ,now it doesn’t work on xubuntu or on Arch

ArchLinux: Error installing grub on encrypted lvm partition(lvm on luks)

$
0
0

I am trying to install Arch Linux on an encrypted partition (LVM on LUKS).
I followed the relevant Arch Wiki guide, but when I do:

grub-install --recheck /dev/sda

it gives me this output:

grub-install: error: failed to get canonical path of 'airootfs`

Then I tried to do:

arch-chroot /mnt /bin/bash
grub-install --recheck /dev/sda

And it gives me this output:

grub-install: warning: Attempting to install GRUB to a disk with multiple partition labels. This is not supported yet..
grub-install: warning: Embedding is not possible. GRUB can only be installed in this setup by using bloclists. However, blocklists are UNRELIABLE and their use is discouraged..
grub-install: error: will not proceed with blocklists

I tried to follow the bootloader page on the wiki, but I don’t understand what I have to do very well. Below is a screenshot showing the output of lsblk (I can’t copy/paste because I don’t want to shut down my machine during installation):

lsblk output

I think the loop0 was created when I did grub-install --recheck /dev/sda but I am not sure about this.

archlinux doesnt boot up correctly after reinstalling xf86-video-intel

$
0
0

I have a Thinkpad x201 Laptop, 2 months ago after installed archlinux on it
sometimes my screenwas splashed 2 or 3 times in each day average.

Today, I thought perhaps the Intel graphic driver was not installed
correctly, so I reinstalled it in this way:

pacman -S xf86-video-intel lib32-xf86-video-intel mesa

Then I changed my X11 configuration in this file:

/etc/x11/xorg.conf.d/20-intel.conf

Then I added i915 module in /etc/modprobe.d/modprobe.conf

options i915 modeset=1

Then I added i915 in front of FILE section

Then I ran :

mkinitcpo -p linux

After reboot my OS doesnt boot up correctly, it shows me on display these messages then stop

[ok] start lxde display manager.
[ok] reached target multiserver system.
[ok] reached target graphical interface.

Can you explain me my mistake?

I don’t have any other computer to create a bootable USB drive to undo my
changes on this machine.

Arch Linux boots to tty1 by default instead of tty7 after update

$
0
0

I updated the system 2 days ago and now realised a startx systemd script failed to start. This is seems to be caused by the fact that Arch booted into tty1 by default. Switching to tty7 and restarting the startx systemd script works fine presumably because systemd script specifies tty7. Running just “startx” command results in the following error where it worked 2 days before:

(==) Log file: "/home/XXXXX/.local/share/xorg/Xorg.0.log", Time: Wed Feb 10 19:13:22 2016
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) parse_vt_settings: Cannot open /dev/tty0 (No such file or directory)
(EE)
(EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/home/XXXXX/.local/share/xorg/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Couldn't get a file descriptor referring to the console

Here is the relevant snippet from systemd script:

TTYPath=/dev/tty7
ExecStart = /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/bin/kodi-standalone -- :0 -nolisten tcp vt7
Restart = on-abort
StandardInput = tty

Normally the system boots into tty7 and GUI apps have no problem starting whether tty7 is specified or not, now startx attemts to use tty0 by default which seems to be non-existent. Was there a change in default behaviour? How can this be resolved?

UDEV executes bash script only partially

$
0
0

I have this UDEV rule, which gets activated when I plug in my keyboard:

ACTION=="add", DEVPATH=="/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/0003:046A:0011.00??/input/input??/event[0-9][0-9]*", ATTRS{name}=="HID 046a:0011", ATTRS{phys}=="usb-0000:00:14.0-1/input0", RUN+="/home/*user*/.udev_rule_scripts/cherry_keyboard.sh", SYMLINK+="cherrysymlink"

It should

  1. create a symlink /dev/cherrysymlink, which it does, and
  2. execute a shell script, which it doesn’t.

Here’s the debugging output of udevadm test /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/0003:046A:0011.0003/input/input18/event17:

This program is for debugging only, it does not run any program
specified by a RUN key. It may show incorrect results, because
some values may be different, or not available at a simulation run.

.INPUT_CLASS=kbd
ACTION=add
DEVLINKS=/dev/input/by-id/usb-046a_0011-event-kbd /dev/cherrysymlink /dev/input/by-path/pci-0000:00:14.0-usb-0:1:1.0-event-kbd
DEVNAME=/dev/input/event17
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/0003:046A:0011.0003/input/input18/event17
ID_BUS=usb
ID_INPUT=1
ID_INPUT_KEY=1
ID_INPUT_KEYBOARD=1
ID_MODEL=0011
ID_MODEL_ENC=0011
ID_MODEL_ID=0011
ID_PATH=pci-0000:00:14.0-usb-0:1:1.0
ID_PATH_TAG=pci-0000_00_14_0-usb-0_1_1_0
ID_REVISION=0100
ID_SERIAL=046a_0011
ID_TYPE=hid
ID_USB_DRIVER=usbhid
ID_USB_INTERFACES=:030101:
ID_USB_INTERFACE_NUM=00
ID_VENDOR=046a
ID_VENDOR_ENC=046a
ID_VENDOR_ID=046a
LIBINPUT_DEVICE_GROUP=3/46a/11/111:usb-0000:00:14.0-1
MAJOR=13
MINOR=81
SUBSYSTEM=input
USEC_INITIALIZED=31155231
run: '/usr/local/bin/cherry.sh'

When the keyboard is plugged in, /dev/cherrysymlink is created. Also the debugging output says in the last line that the script /usr/local/bin/cherry.sh did indeed run.

The problem is, the script doesn’t get actually executed.

cherry_keyboard.sh:

#!/bin/bash

xset r rate 150 60

It should change the autorepeat of the keyboard keys but it stays the same.

I’ve also tried:

#!/bin/bash

slock

Nothing happens. When I execute the scripts manually in the shell they both work. What am I doing wrong?

EDIT:

After modifying my script like this I am able to pipe the echo output into dzen2 so it pops up on the screen:

#!/bin/bash

export DISPLAY=:0
export XAUTHORITY=/home/*user*/.Xauthority

echo 'test' > /home/*user*/.udev_rule_scripts/test
echo 'test' | dzen2 -p 4
xset r rate 150 60
slock

So far, the first two echo-lines work. The xset and slock commands still don’t work.

EDIT2:

After some reading I am pretty certain it has something to do with DBUS and the environment variable “DBUS_SESSION_BUS_ADDRESS”. Also, when I run printenv as user, there is DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus set. When I run printenv as root this variable is not set.

Therefore I made another modification to my script:

#!/bin/bash

export DISPLAY=:0
export XAUTHORITY=/home/*user*/.Xauthority
export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus

echo 'test' > /home/*user*/.udev_rule_scripts/test
echo 'test' | dzen2 -p 4
xset r rate 150 60
slock

Unfortunately, it still doesn’t work.

EDIT3:

After Gilles’ suggestion I added a line to the script:

#!/bin/bash

exec >>/home/*user*/.udev_rule_scripts/test.log 2>&1; echo; date

export DISPLAY=:0
export XAUTHORITY=/home/*user*/.Xauthority

echo 'test' | dzen2 -p 4

xset r rate 150 60
slock

which produces the following error message in test.log

Tue Feb 23 10:14:17 UTC 2016
/home/*user*/.udev_rule_scripts/cherry_keyboard: line 11:   858 Segmentation fault      (core dumped) slock

which (kind of) explains why slock fails to execute.
Sadly, there’s nothing about xset.

EDIT4:

This time, I combined Gilles’ and ojs’ suggestions. Now the error messages are more interesting:

cherry_keyboard.sh:

#!/bin/bash

exec >>/home/*user*/.udev_rule_scripts/test.log 2>&1; echo; date

export DISPLAY=:0
export XAUTHORITY=/home/*user*/.Xauthority

echo 'test' | dzen2 -p 4

su *user* -c "DISPLAY=:0 xset r rate 150 60"
su *user* -c "DISPLAY=:0 slock"

test.log:

Tue Feb 23 10:37:22 UTC 2016
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 43 requests (37 known processed) with 0 events remaining.

Tue Feb 23 10:38:37 UTC 2016
dzen: cannot open display
xset:  unable to open display ":0"
slock: cannot open display

Tue Feb 23 10:40:54 UTC 2016

Now here’s the thing: When I plugin my keyboard, dzen2 pops up on the screen, then the screen goes black. But not because of slock, it kind of crashes and when I type on the keyboard the screen stays black (which it shouldn’t when slock was behind it). Other applications like moc are still running.

And now the strange part:

When I press the power button on my laptop to restart the system (which is the only option in this situation I think), before shutdown, the black screen disappears for half a second and instead a red screen appears (the red screen of slock when you type in a wrong password). So slock IS actually running. But why does the error message state that both dzen and slock “cannot open display”, while they’re in fact both running? And why does the screen crash? And in which way does xset‘s error message differ?

An alternative cherry_keyboard.sh:

#!/bin/bash

exec >>/home/*user*/.udev_rule_scripts/test.log 2>&1; echo; date

export DISPLAY=:0
export XAUTHORITY=/home/*user*/.Xauthority

echo 'test' | dzen2 -p 4

su *user* -c "DISPLAY=:0 xset r rate 150 60"
#su *user* -c "DISPLAY=:0 slock"

test.log:

Tue Feb 23 10:43:36 UTC 2016

So this time there are no error messages at all.

But, in both versions xset does not modify the autorepeat…


Arch linux not visible in bootloader

$
0
0

I installed Arch following the beginers guide and installed the rEFInd bootloader. When i start my computer rEFInd can load windows and the Arch live cd (if it’s inserted) but i cant get it to show arch. Also, there is no arch or arch.efi in my boot partition, but initramfs-linux.img is there. Does anyone know what’s going on?

Built-in camera not detected

$
0
0

I have Dell Ins. 5537 running Arch. The webcam doesn’t work out of the box.

There’s no /dev/video* device detected.

Arch wiki tells me to find the right model of webcam and load the right kernel module. But, I’m not sure what the model of the webcam is.

$ lsusb
Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 009: ID 0cf3:0036 Atheros Communications, Inc. 
Bus 001 Device 002: ID 8087:8000 Intel Corp. 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

and lspci gives me this:

$lspci
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 09)
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
00:1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev e4)
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 07)
02:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)
03:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Sun XT [Radeon HD 8670A/8670M/8690M / R5 M330] (rev ff)

I am not sure what the relevant line is. Any guidance would be appreciated.

Edit: thought it was relevant. anyway, here’s a section of /proc/bus/input/devices

I: Bus=0019 Vendor=0000 Product=0006 Version=0000
N: Name="Video Bus"
P: Phys=LNXVIDEO/video/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:38/LNXVIDEO:00/input/input8
U: Uniq=
H: Handlers=kbd event6 
B: PROP=0
B: EV=3
B: KEY=3e000b00000000 0 0 0

I: Bus=0019 Vendor=0000 Product=0006 Version=0000
N: Name="Video Bus"
P: Phys=LNXVIDEO/video/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input9
U: Uniq=
H: Handlers=kbd event7 
B: PROP=0
B: EV=3
B: KEY=3e000b00000000 0 0 0

..

Setting up bridged adapter for Arch guest, Windows host [closed]

$
0
0

I’ve tried many things that I’ve found online but I’m stumped.

I’m using VirtualBox, my guest OS is Arch, kernel version 4.4.1-2, my host is Windows 10.

When I set it to have NAT adapter, I get it working like so:

I get the interface name with:

# ip addr

Then I get to setting up with:

# ip link set enp0s3 up
# systemctl enable dhcpcd.service
# systemctl enable dhcpcd@enp0s3.service

Now, I can reboot or start the services. My internet works:

# ping www.google.com
PING www.google.com (96.33.26.31) 56(84) bytes of data
64 bytes from cache.google.com (96.22.15.31): icmp_seq=1 ttl=60 time=10.2 ms

Etc. Now, if I turn it off, change to Bridged Adapter, and try again:

# ping www.google.com
ping: unknown host www.google.com

None of the following commands have worked:

  • dhcpcd
  • netctl enable ethernet-dhcp and netctl start ethernet-dhcp
  • I tried to set up a static IP according to these steps

How do you set up internet access for an Arch VM with a bridged adapter in a Windows 10 Host?

Install optional sage package (nauty) on archlinux

$
0
0

tl;dr: how can I install optional sage packages on archlinux?

Quoting the Arch wiki page for sage:

Most if not all of the standard sage packages
are available as Arch packages and exposed as
(optional) dependencies of sagemath, so there
is no need to install them with sage -i.

Alas, the (very) nauty package is an optional one,
and so cannot be installed from with pacman.

The error I get when trying the standard sage -i nauty (either with or without sudo) is

/usr/bin/sage: line 297: ./sage: No such file or directory

This is documented in the talk page (of the Arch Wiki) for Sage (as in “this happens”). That page does not discuss workarounds.

So far I have been unable to find any reference or guidance in installing optional packages.

Any reference would be warmly welcomed!

How to install mit-scheme in Arch Linux?

$
0
0

It seems to be available here.

But when I try the following command:

$ sudo pacman -S mit-scheme

I get the following:

error: target not found: mit-scheme

I’ve also tried with mit-scheme-git (from here), since that seems more recently updated, but I got the same result.

Is there some other package I should be installing? Or do I need to do it without using the package manager?

Viewing all 154 articles
Browse latest View live