NetBSD-Bugs archive

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

Re: kern/52259: NetBSD-current won't boot on i386 or amd64 unless athn is disabled.



The following reply was made to PR kern/52259; it has been noted by GNATS.

From: "Thomas Mueller" <mueller6725%twc.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/52259: NetBSD-current won't boot on i386 or amd64 unless
        athn is disabled.
Date: Tue, 30 May 2017 06:27:54 +0000

 The following reply was made to PR kern/52259; it has been noted by GNATS.
   
 > From: Martin Husemann <martin%duskware.de@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 Cc:
 > Subject: Re: kern/52259: NetBSD-current won't boot on i386 or amd64 unless
 >  athn is disabled.
 > Date: Mon, 29 May 2017 20:22:01 +0200
 
 >  On Mon, May 29, 2017 at 05:25:01PM +0000, Thomas Mueller wrote:
 >  >  If I need to disable athn, or keep it out of kernel config, I suppose
 >  >  usbdevs -v wouldn't find it?
  
 >  It should still find it.
  
 >  >  I reply to gnats-bugs%netbsd.org@localhost because that's what the Reply-To: header says.
  
 >  Yes, that is the correct address for answers to be auto-added to the PR.
 
 Do you still want me to try boot -1 (or knetbsd /netbsd-79972 -1 if I use grub2)?
 
 I could try both FreeBSD usbconfig and/or usbdump and NetBSD usbdevs -v; it could take me some time to find the relevant parts.
 
 Update: I did,  FreeBSD's usbconfig (by itself) gives about the same information as NetBSD's usbdevs -v .
 
 Here is the result of usbdevs -v:
 
 Controller /dev/usb0:
 addr 0: super speed, self powered, config 1, xHCI Root Hub(0x0000), Intel(0x8086), rev 1.00(0x0100)
  port 1 disabled
  port 2 disabled
  port 3 disabled
  port 4 disabled
 Controller /dev/usb1:
 addr 0: high speed, self powered, config 1, xHCI Root Hub(0x0000), Intel(0x8086), rev 1.00(0x0100)
  port 1 powered
  port 2 powered
  port 3 powered
  port 4 powered
 Controller /dev/usb2:
 addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x8086), rev 1.00(0x0100)
  port 1 addr 2: high speed, self powered, config 1, Rate Matching Hub(0x0024), Intel(0x8087), rev 0.00(0x0000)
   port 1 powered
   port 2 addr 3: high speed, self powered, config 1, USB2.0 Hub(0x0608), Genesys Logic(0x05e3), rev 77.64(0x7764)
    port 1 powered
    port 2 powered
    port 3 addr 4: high speed, power 500 mA, config 1, 11n Adapter(0x8172), Manufacturer Realtek(0x0bda), rev 2.00(0x0200), serial 00e04c000001
    port 4 addr 5: low speed, power 98 mA, config 1, USB Optical Mouse(0xc064), Logitech(0x046d), rev 34.01(0x3401)
   port 3 powered
   port 4 addr 6: high speed, power 200 mA, config 1, DT 101 G2(0x1642), Kingston(0x0951), rev 1.00(0x0100), serial 001372708ADBBBA1C571003D
   port 5 addr 7: full speed, self powered, config 1, product 3002(0x3002), Atheros Communications(0x0cf3), rev 0.01(0x0001)
   port 6 addr 8: high speed, power 500 mA, config 1, UB91(0x9271), ATHEROS(0x0cf3), rev 1.08(0x0108), serial 12345
  port 2 powered
 Controller /dev/usb3:
 addr 0: super speed, self powered, config 1, xHCI Root Hub(0x0000), Renesas Technologies(0x1912), rev 1.00(0x0100)
  port 1 addr 1: super speed, self powered, config 1, Expansion Desk(0x3312), Seagate(0x0bc2), rev 7.39(0x0739), serial NA4KY9ZJ
  port 2 disabled
  port 3 disabled
  port 4 addr 2: super speed, power 126 mA, config 1, DataTraveler 3.0(0x1666), Kingston(0x0951), rev 1.00(0x0100), serial 60A44C3FAFE1BE60696D61BF
 Controller /dev/usb4:
 addr 0: high speed, self powered, config 1, xHCI Root Hub(0x0000), Renesas Technologies(0x1912), rev 1.00(0x0100)
  port 1 powered
  port 2 powered
  port 3 powered
  port 4 powered
 Controller /dev/usb5:
 addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x8086), rev 1.00(0x0100)
  port 1 addr 2: high speed, self powered, config 1, Rate Matching Hub(0x0024), Intel(0x8087), rev 0.00(0x0000)
   port 1 powered
   port 2 powered
   port 3 powered
   port 4 powered
   port 5 addr 3: high speed, power 200 mA, config 1, USB DISK 2.0(0x4100), Phison Electronics Corp.(0x13fe), rev 1.00(0x0100), serial 070827851520BD62
   port 6 powered
   port 7 addr 4: high speed, power 200 mA, config 1, USB Flash Drive(0xa825), UFD(0x05dc), rev 11.00(0x1100), serial AAUSSWES35WI3KPV
   port 8 powered
  port 2 powered
 
 
 I booted NetBSD 7.99.72 i386; base system userland updated but packages still in sync with NetBSD 7.99.15, so vi editor works, but msmtp might possibly fail if shared libraries are out of sync.
 
 Atheros 9271 is the wireless adapter (athn); 3002 might be the Bluetooth.
 
 By the way, boot -1 failed, hung after 
 WARNING: 17 errors while detecting system hardware; check system log.
 (as opposed to 9 or 10)
 otherwise the same as plain boot.
 
 For this session, I booted kernel with athn commented out in kernel config.
 
 I see I also have some other USB utilitied installed on an old NetBSD 7.99.1 amd64 installation, would those be any use?
 
 -rwxr-xr-x  1 root  wheel  28576 Sep  1  2014 /media/zip0/usr/pkg/sbin/usbctl
 -rwxr-xr-x  1 root  wheel   7320 Sep  1  2014 /media/zip0/usr/pkg/sbin/usbdebug
 -rwxr-xr-x  1 root  wheel  12232 Sep  1  2014 /media/zip0/usr/pkg/sbin/usbgen
 -rwxr-xr-x  1 root  wheel   7368 Sep  1  2014 /media/zip0/usr/pkg/sbin/usbstats
 
 USB addr 1 port 3 addr 4 (11n adaptr  (0x8172), Manufacturer Realtek, is Hiro H50191 external USB wireless adapter: not suppoeted in NetBSD but works in FreeBSD with driver rsu.
 
 Tom
 



Home | Main Index | Thread Index | Old Index