Some audio + networking puzzles from netinst installation.

Kernels & Hardware, configuring network, installing services

Some audio + networking puzzles from netinst installation.

Postby AnxiousInfusion » 2017-03-06 03:40

I completed a netinst of Debian stretch with Cinnamon, contrib/nonfree enabled and some basic programs but it has some hitches that I cannot find any solutions for.

At bootup, there is a line that says "[***] A start job is running to bring up network interfaces" and proceeds to count 61 seconds before continuing to boot. Ethernet works just fine, though. Somewhat related, my wireless adapter doesn't come up until the machine as suspended once. It's probably some kind of hardware sleep functionality?

Also, audio works okay except through DisplayPort to monitor. The system detects that there is an hdmi/displayport audio device present but "unplugged" according to pavucontrol. Anyone point me in the right direction?

Code: Select all
inxi -NAG
Graphics:  Card: Advanced Micro Devices [AMD/ATI] Tonga PRO [Radeon R9 285/380]
           Display Server: X.Org 1.19.1 drivers: ati,amdgpu (unloaded: modesetting,fbdev,vesa,radeon)
           Resolution: 2560x1080@60.00hz
           GLX Renderer: Gallium 0.4 on AMD TONGA (DRM 3.8.0 / 4.9.0-1-amd64, LLVM 3.9.1)
           GLX Version: 3.0 Mesa 13.0.5
Audio:     Card-1 Advanced Micro Devices [AMD] FCH Azalia Controller
           driver: snd_hda_intel
           Card-2 Advanced Micro Devices [AMD/ATI] Tonga HDMI Audio [Radeon R9 285/380]
           driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.9.0-1-amd64
Network:   Card-1: Qualcomm Atheros AR9462 Wireless Network Adapter
           driver: ath9k
           Card-2: Qualcomm Atheros QCA8171 Gigabit Ethernet driver: alx
AnxiousInfusion
 
Posts: 5
Joined: 2016-10-20 17:41

Re: Some audio + networking puzzles from netinst installatio

Postby debiman » 2017-03-06 06:21

AnxiousInfusion wrote:At bootup, there is a line that says "[***] A start job is running to bring up network interfaces" and proceeds to count 61 seconds before continuing to boot. Ethernet works just fine, though. Somewhat related, my wireless adapter doesn't come up until the machine as suspended once.

sledgehammer solution:
disable networking during bootup, bring it up manually later.
something like "systemctl disable network.target" should do the trick, but might have undesired side effects.

i used to have pretty much the same problem when i started using archlinux (a distro that has a lot more experience with systemd) and have long since solved it (so not sledgehammer), but can't remember how anymore.
please search their forums (careful, their search engine is somewhat oversensitive) and also see:
https://wiki.archlinux.org/index.php/Systemd

it might also have to do with the wireless not coming up.
which, since it does come up later, cannot be a firmware problem but it might have something to do with rfkill. hmm.

search for
Code: Select all
systemctl|grep rfkill
User avatar
debiman
 
Posts: 834
Joined: 2013-03-12 07:18

Re: Some audio + networking puzzles from netinst installatio

Postby Head_on_a_Stick » 2017-03-06 07:00

Can we please see the output of:
Code: Select all
systemctl list-unit-files --state=enabled
systemctl --failed

The systemd journal will probably show exactly what is happening:

https://www.digitalocean.com/community/ ... stemd-logs
“Such is modern computing: everything simple is made too complicated because it’s easy to fiddle with; everything complicated stays complicated because it’s hard to fix." — Rob Pike

Please read before posting How to report a problem
User avatar
Head_on_a_Stick
 
Posts: 6419
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Some audio + networking puzzles from netinst installatio

Postby AnxiousInfusion » 2017-03-06 13:37

Code: Select all
UNIT FILE                                  STATE 
acpid.path                                 enabled
accounts-daemon.service                    enabled
atd.service                                enabled
autovt@.service                            enabled
avahi-daemon.service                       enabled
bluetooth.service                          enabled
clamav-freshclam.service                   enabled
console-setup.service                      enabled
cron.service                               enabled
dbus-org.bluez.service                     enabled
dbus-org.freedesktop.Avahi.service         enabled
dbus-org.freedesktop.ModemManager1.service enabled
dbus-org.freedesktop.nm-dispatcher.service enabled
display-manager.service                    enabled
getty@.service                             enabled
irqbalance.service                         enabled
keyboard-setup.service                     enabled
lightdm.service                            enabled
lm-sensors.service                         enabled
minissdpd.service                          enabled
ModemManager.service                       enabled
network-manager.service                    enabled
networking.service                         enabled
NetworkManager-dispatcher.service          enabled
NetworkManager-wait-online.service         enabled
NetworkManager.service                     enabled
portmap.service                            enabled
pppd-dns.service                           enabled
rpcbind.service                            enabled
rsync.service                              enabled
rsyslog.service                            enabled
smartd.service                             enabled
smartmontools.service                      enabled
syslog.service                             enabled
systemd-timesyncd.service                  enabled
acpid.socket                               enabled
avahi-daemon.socket                        enabled
rpcbind.socket                             enabled
nfs-client.target                          enabled
remote-fs.target                           enabled
apt-daily.timer                            enabled

41 unit files listed.


Code: Select all
  UNIT               LOAD   ACTIVE SUB    DESCRIPTION                           
● networking.service loaded failed failed Raise network interfaces             

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

1 loaded units listed. Pass --all to see loaded but inactive units, too.
AnxiousInfusion
 
Posts: 5
Joined: 2016-10-20 17:41

Re: Some audio + networking puzzles from netinst installatio

Postby Head_on_a_Stick » 2017-03-06 20:57

How about:
Code: Select all
journalctl -u networking.service

You will need to run that command as root or be a member of the systemd-journal group to be able to view those logs.
“Such is modern computing: everything simple is made too complicated because it’s easy to fiddle with; everything complicated stays complicated because it’s hard to fix." — Rob Pike

Please read before posting How to report a problem
User avatar
Head_on_a_Stick
 
Posts: 6419
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Some audio + networking puzzles from netinst installatio

Postby debiman » 2017-03-10 05:27

is this the output for "systemctl --failed"?
please always include the command itself when posting output.
AnxiousInfusion wrote:
Code: Select all
  UNIT               LOAD   ACTIVE SUB    DESCRIPTION                           
● networking.service loaded failed failed Raise network interfaces             

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

1 loaded units listed. Pass --all to see loaded but inactive units, too.

confirms that networking indeed failed.
as i said: you could issue
Code: Select all
systemctl disable networking
just to see if that would have the desired effect.
in addition to what HoaS said and in addition to the additional reading i suggested, followed by voluntarily provided troubleshooting results.
please don't make it too hard for us to help you.
thank you.
User avatar
debiman
 
Posts: 834
Joined: 2013-03-12 07:18


Return to System configuration

Who is online

Users browsing this forum: rudra and 8 guests

fashionable