[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fix for no ssh



On Tue 09 Jul 2019 at 10:50:01 (+0300), Andrei POPESCU wrote:
> On Lu, 08 iul 19, 18:27:57, David Wright wrote:
> > On Mon 08 Jul 2019 at 19:21:37 (+0300), Andrei POPESCU wrote:
> > > 
> > > [1] assuming ethernet cards are always named ethX and wireless cards are 
> > > always named wlanX by the kernel. I might have had a wireless card that 
> > > came up as ethX, but that was a long time ago. Still, something to be 
> > > aware of.
> > 
> > I'm still running one that comes up in jessie as eth0 and eth1;
> > stretch gets it right with enp2s2 and wlp2s4 respectively.
> 
> Would it be possible for you to boot this system with the default 
> stretch kernel (4.9-something) and post dmesg? Maybe also net.ifnames=0 
> on the kernel command line, to ensure udev stays out of the way.
> 
> I'm interested if the more recent kernel still uses ethX for the 
> wireless interface.

Yes, with net.ifnames=0 I still get eth0 and eth1. I ran both options
and printed debian_version, ip l, and dmesg. The last is rather large
to post, so I stripped the [timing] information and then ran a unified
diff on them. Then, allowing for the mixed-up ordering, I cut all the
lines where the difference was just the memory addresses, and then
all the common stuff that was about irrelevant subsystems.

See attached, but if you really want it all, I can send it offlist.

Cheers,
David.
 9.9
 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
-2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
+2: enp2s2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
     link/ether 00:c0:9f:44:15:b5 brd ff:ff:ff:ff:ff:ff
-3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DORMANT group default qlen 1000
+3: wlp2s4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DORMANT group default qlen 1000
     link/ether 00:0e:35:3f:68:7c brd ff:ff:ff:ff:ff:ff
 Linux version 4.9.0-9-686 (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) ) #1 SMP Debian 4.9.168-1+deb9u3 (2019-06-16)
 Disabled fast string operations

 pcpu-alloc: s47948 r0 d29876 u77824 alloc=19*4096
 pcpu-alloc: [0] 0
 Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129536
-Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.9.0-9-686 root=/dev/sda2 net.ifnames=0
+Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.9.0-9-686 root=/dev/sda2
 PID hash table entries: 2048 (order: 1, 8192 bytes)
 Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
 Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
 Initializing CPU#0
 Initializing HighMem for node 0 (00000000:00000000)
-Memory: 487288K/522744K available (5753K kernel code, 650K rwdata, 1708K rodata, 720K init, 436K bss, 35456K reserved, 0K cma-reserved, 0K highmem)
+Memory: 487448K/522744K available (5753K kernel code, 650K rwdata, 1708K rodata, 720K init, 436K bss, 35296K reserved, 0K cma-reserved, 0K highmem)
 virtual kernel memory layout:

 Freeing unused kernel memory: 720K
 Write protecting the kernel text: 5756k
 Write protecting the kernel read-only data: 1712k
 input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input0
-random: systemd-udevd: uninitialized urandom read (16 bytes read)
-random: systemd-udevd: uninitialized urandom read (16 bytes read)
+random: udevadm: uninitialized urandom read (16 bytes read)
+random: udevadm: uninitialized urandom read (16 bytes read)
 random: udevadm: uninitialized urandom read (16 bytes read)
 ACPI: bus type USB registered
 usbcore: registered new interface driver usbfs

 tg3.c:v3.137 (May 11, 2014)
 usbcore: registered new device driver usb

+usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
+usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
+usb usb1: Product: UHCI Host Controller
+usb usb1: Manufacturer: Linux 4.9.0-9-686 uhci_hcd
+usb usb1: SerialNumber: 0000:00:1d.0
+hub 1-0:1.0: USB hub found
+hub 1-0:1.0: 2 ports detected
 libata version 3.00 loaded.
-usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
-usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
-usb usb1: Product: EHCI Host Controller
-usb usb1: Manufacturer: Linux 4.9.0-9-686 ehci_hcd
-usb usb1: SerialNumber: 0000:00:1d.7
-usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
+usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
 usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
-usb usb2: Product: UHCI Host Controller
-usb usb2: Manufacturer: Linux 4.9.0-9-686 uhci_hcd
-usb usb2: SerialNumber: 0000:00:1d.0
+usb usb2: Product: EHCI Host Controller
+usb usb2: Manufacturer: Linux 4.9.0-9-686 ehci_hcd
+usb usb2: SerialNumber: 0000:00:1d.7
 hub 2-0:1.0: USB hub found
-hub 2-0:1.0: 2 ports detected
+hub 2-0:1.0: 6 ports detected
 thermal LNXTHERM:00: registered as thermal_zone0

 tg3 0000:02:02.0 eth0: RXcsums[1] LinkChgREG[0] MIirq[0] ASF[0] TSOcap[1]
 tg3 0000:02:02.0 eth0: dma_rwctrl[763f0000] dma_mask[64-bit]
 firewire_ohci 0000:02:06.1: added OHCI v1.10 device as card 0, 4 IR + 8 IT contexts, quirks 0x2
+tg3 0000:02:02.0 enp2s2: renamed from eth0
 ata1.00: ATA-6: IC25N060ATMR04-0, MO3OAD4A, max UDMA/100
 ata1.00: 117210240 sectors, multi 16: LBA48
 ata2.00: ATAPI: UJDA755 DVD/CDRW, 1.00, max UDMA/33

 systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
 systemd[1]: Detected architecture x86.
 systemd[1]: Set hostname to <acer>.
-systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
-systemd[1]: Listening on Journal Audit Socket.
 systemd[1]: Started Forward Password Requests to Wall Directory Watch.
-systemd[1]: Reached target Encrypted Volumes.
+systemd[1]: Listening on Journal Socket (/dev/log).
+systemd[1]: Listening on Journal Audit Socket.
+systemd[1]: Listening on fsck to fsckd communication Socket.
 systemd[1]: Created slice User and Session Slice.
 systemd[1]: Listening on Journal Socket.
-systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
+systemd[1]: Listening on udev Control Socket.
 EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro

 lib80211: common routines for IEEE802.11 drivers
 lib80211_crypt: registered algorithm 'NULL'
 libipw: 802.11 data/management/control stack, git-1.1.13
 libipw: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
 ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.2.2kmprq
 ipw2200: Copyright(c) 2003-2006 Intel Corporation
 ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 10
 ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
-ipw2200 0000:02:04.0: firmware: direct-loading firmware ipw2200-bss.fw
-ipw2200: Detected geography ZZM (11 802.11bg channels, 0 802.11a channels)

+ipw2200 0000:02:04.0: firmware: direct-loading firmware ipw2200-bss.fw
+ipw2200: Detected geography ZZM (11 802.11bg channels, 0 802.11a channels)
 radeon 0000:01:00.0: firmware: direct-loading firmware radeon/R300_cp.bin
 [drm] radeon: ring at 0x00000000E0001000
 [drm] ring test succeeded in 1 usecs

 [drm] fb depth is 24
 [drm]	pitch is 4096
 fbcon: radeondrmfb (fb0) is primary device
 Console: switching to colour frame buffer device 128x48
 radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
 [drm] Initialized radeon 2.49.0 20080528 for 0000:01:00.0 on minor 0
 iTCO_vendor_support: vendor-support=0
 iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
 iTCO_wdt: Found a ICH4-M TCO device (Version=1, TCOBASE=0x1060)
 iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
+ipw2200 0000:02:04.0 wlp2s4: renamed from eth0
 pcmcia_socket pcmcia_socket0: cs: IO port probe 0xa00-0xaff:
 snd_intel8x0 0000:00:1f.5: clocking to 48000
+tg3 0000:02:02.0: firmware: direct-loading firmware tigon/tg3_tso5.bin
+IPv6: ADDRCONF(NETDEV_UP): enp2s2: link is not ready
 Adding 979960k swap on /dev/sda4.  Priority:-1 extents:1 across:979960k FS
 NET: Registered protocol family 4
 NET: Registered protocol family 3
 NET: Registered protocol family 5
+usb 4-2: new full-speed USB device number 2 using uhci_hcd
+usb 4-2: New USB device found, idVendor=0a5c, idProduct=200a
+usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
+usb 4-2: Product: BCM2035
+usb 4-2: Manufacturer: Broadcom
+usb 4-2: SerialNumber: 2035B0000001
+Bluetooth: Core ver 2.22
+NET: Registered protocol family 31
+Bluetooth: HCI device and connection manager initialized
+Bluetooth: HCI socket layer initialized
+Bluetooth: L2CAP socket layer initialized
+Bluetooth: SCO socket layer initialized
+usbcore: registered new interface driver btusb
+Bluetooth: BNEP (Ethernet Emulation) ver 1.3
+Bluetooth: BNEP filters: protocol multicast
+Bluetooth: BNEP socket layer initialized
+IPv6: ADDRCONF(NETDEV_UP): enp2s2: link is not ready
 lib80211_crypt: registered algorithm 'CCMP'
-IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
-ipw2200: Failed to send CARD_DISABLE: Command timed out.
-IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready

Reply to: