Re: 8.4 and EHCI - regression?

2013-06-09 Thread Steven Hartland
- Original Message - 
From: 




After upgrade from 8.3 to 8.4, ehci (USB 2.0) disappeared from `dmesg`.
Details:

...

Does a verbose boot give you any insight?


This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 


In the event of misdirection, illegible or incomplete transmission please 
telephone +44 845 868 1337
or return the E.mail to postmas...@multiplay.co.uk.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


RE: 8.4 and EHCI - regression?

2013-06-09 Thread Hans Petter Selasky

Hi,

EHCI is probed by PCI. It will print if probing fails. Probably ACPI 
regression. Did you load ACPI?

--HPS
 
 
-Original message-
> From:Jeremy Chadwick 
> Sent: Sunday 9th June 2013 19:16
> To: l...@lena.kiev.ua
> Cc: freebsd-stable@freebsd.org; freebsd-...@freebsd.org
> Subject: Re: 8.4 and EHCI - regression?
> 
> On Sun, Jun 09, 2013 at 08:03:13PM +0300, l...@lena.kiev.ua wrote:
> > After upgrade from 8.3 to 8.4, ehci (USB 2.0) disappeared from `dmesg`.
> > Details:
> > 
> > Motherboard: ASUS M2NPV-MX ACPI BIOS Revision 1101
> > 
> > Before upgrade, 8.3-RELEASE-p2 i386:
> > 
> > ~ $ egrep -i 'usb|hci' dmesg.yesterday
> > ohci0:  mem 0xfe02f000-0xfe02 irq 21 at 
> > device 11.0 on pci0
> > ohci0: [ITHREAD]
> > usbus0:  on ohci0
> > ehci0:  mem 0xfe02e000-0xfe02e0ff irq 22 
> > at device 11.1 on pci0
> > ehci0: [ITHREAD]
> > usbus1: EHCI version 1.0
> > usbus1:  on ehci0
> > usbus0: 12Mbps Full Speed USB v1.0
> > usbus1: 480Mbps High Speed USB v2.0
> > ugen0.1:  at usbus0
> > uhub0:  on usbus0
> > ugen1.1:  at usbus1
> > uhub1:  on usbus1
> > Root mount waiting for: usbus1 usbus0
> > Root mount waiting for: usbus1
> > Root mount waiting for: usbus1
> > Root mount waiting for: usbus1
> > ugen0.2:  at usbus0
> > 
> > (the last line - a scanner).
> > 
> > After upgrade to 8.4-RELEASE - no EHCI:
> > 
> > ~ $ dmesg | egrep -i 'usb|hci'
> > ohci0:  mem 0xfe02f000-0xfe02 irq 21 at 
> > device 11.0 on pci0
> > ohci0: [ITHREAD]
> > usbus0 on ohci0
> > usbus0: 12Mbps Full Speed USB v1.0
> > ugen0.1:  at usbus0
> > uhub0:  on usbus0
> > Root mount waiting for: usbus0
> > Root mount waiting for: usbus0
> > ugen0.2:  at usbus0
> > 
> > ~ $ pciconf -l | grep hci
> > ohci0@pci0:0:11:0:  class=0x0c0310 card=0x81c01043 chip=0x026d10de 
> > rev=0xa3
> > hdr=0x00
> > ehci0@pci0:0:11:1:  class=0x0c0320 card=0x81c01043 chip=0x026e10de 
> > rev=0xa3
> > hdr=0x00
> > ~ $ kldstat
> > Id Refs AddressSize Name
> >  1   33 0xc040 58ae60   kernel
> >  22 0xc098b000 57964sound.ko
> >  31 0xc09e3000 2abe8snd_hda.ko
> >  41 0xc0a0e000 3288 speaker.ko
> >  51 0xc0a12000 a91200   nvidia.ko
> >  61 0xc14a4000 308c aibs.ko
> >  71 0xc6169000 8000 linprocfs.ko
> >  81 0xc6175000 4000 fdescfs.ko
> >  91 0xc62eb000 2000 linux_adobe.ko
> > 101 0xc6497000 2000 rtc.ko
> > ~ $ kldstat -v | grep hci
> > 131 ohci/usbus
> > 130 uhci/usbus
> > 129 ehci/usbus
> > 128 xhci/usbus
> > 124 pci/uhci
> > 123 pci/ohci
> > 42 pci/ata_ahci
> > 122 pci/ehci
> > 41 atapci/ata_ahci_ata
> > ~ # kldload ehci
> > module_register: module pci/ehci already exists!
> > Module pci/ehci failed to register: 17
> > kldload: can't load ehci: File exists
> > 
> > How I upgraded:
> > 
> > rm -rf /usr/src
> > svn export svn://svn0.us-east.FreeBSD.org/base/releng/8.4 /usr/src
> > (created custom kernel config from GENERIC)
> > cd /usr/obj
> > chflags -R noschg *
> > rm -rf *
> > cd /usr/src
> > make buildworld kernel
> > shutdown -p now
> > (boot in single user)
> > fsck -p
> > mount -a
> > swapon -a
> > cd /usr/src
> > adjkerntz -i
> > mergemaster -p
> > make installworld
> > make delete-old
> > mergemaster -Fi
> > shutdown -p now
> > cd /usr/src
> > make delete-old-libs
> > 
> > In /etc/make.conf :
> > 
> > KERNCONF=BEDSIDE
> > INSTALL_NODEBUG="yes"
> > CPUTYPE?=athlon64
> > 
> > Custom kernel config in /usr/src/sys/i386/conf/BEDSIDE
> > (I edited from GENERIC 8.4):
> > 
> > #
> > # GENERIC -- Generic kernel configuration file for FreeBSD/i386
> > #
> > # For more information on this file, please read the config(5) manual page,
> > # and/or the handbook section on Kernel Configuration Files:
> > #
> > #
> > http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
> > #
> > # The handbook is also available locally in /usr/share/doc/handbook
> > # if you've installed the doc distribution, otherwise always see the
> > # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
> > # latest i

Re: 8.4 and EHCI - regression?

2013-06-09 Thread Jeremy Chadwick
On Sun, Jun 09, 2013 at 08:03:13PM +0300, l...@lena.kiev.ua wrote:
> After upgrade from 8.3 to 8.4, ehci (USB 2.0) disappeared from `dmesg`.
> Details:
> 
> Motherboard: ASUS M2NPV-MX ACPI BIOS Revision 1101
> 
> Before upgrade, 8.3-RELEASE-p2 i386:
> 
> ~ $ egrep -i 'usb|hci' dmesg.yesterday
> ohci0:  mem 0xfe02f000-0xfe02 irq 21 at 
> device 11.0 on pci0
> ohci0: [ITHREAD]
> usbus0:  on ohci0
> ehci0:  mem 0xfe02e000-0xfe02e0ff irq 22 
> at device 11.1 on pci0
> ehci0: [ITHREAD]
> usbus1: EHCI version 1.0
> usbus1:  on ehci0
> usbus0: 12Mbps Full Speed USB v1.0
> usbus1: 480Mbps High Speed USB v2.0
> ugen0.1:  at usbus0
> uhub0:  on usbus0
> ugen1.1:  at usbus1
> uhub1:  on usbus1
> Root mount waiting for: usbus1 usbus0
> Root mount waiting for: usbus1
> Root mount waiting for: usbus1
> Root mount waiting for: usbus1
> ugen0.2:  at usbus0
> 
> (the last line - a scanner).
> 
> After upgrade to 8.4-RELEASE - no EHCI:
> 
> ~ $ dmesg | egrep -i 'usb|hci'
> ohci0:  mem 0xfe02f000-0xfe02 irq 21 at 
> device 11.0 on pci0
> ohci0: [ITHREAD]
> usbus0 on ohci0
> usbus0: 12Mbps Full Speed USB v1.0
> ugen0.1:  at usbus0
> uhub0:  on usbus0
> Root mount waiting for: usbus0
> Root mount waiting for: usbus0
> ugen0.2:  at usbus0
> 
> ~ $ pciconf -l | grep hci
> ohci0@pci0:0:11:0:  class=0x0c0310 card=0x81c01043 chip=0x026d10de 
> rev=0xa3
> hdr=0x00
> ehci0@pci0:0:11:1:  class=0x0c0320 card=0x81c01043 chip=0x026e10de 
> rev=0xa3
> hdr=0x00
> ~ $ kldstat
> Id Refs AddressSize Name
>  1   33 0xc040 58ae60   kernel
>  22 0xc098b000 57964sound.ko
>  31 0xc09e3000 2abe8snd_hda.ko
>  41 0xc0a0e000 3288 speaker.ko
>  51 0xc0a12000 a91200   nvidia.ko
>  61 0xc14a4000 308c aibs.ko
>  71 0xc6169000 8000 linprocfs.ko
>  81 0xc6175000 4000 fdescfs.ko
>  91 0xc62eb000 2000 linux_adobe.ko
> 101 0xc6497000 2000 rtc.ko
> ~ $ kldstat -v | grep hci
> 131 ohci/usbus
> 130 uhci/usbus
> 129 ehci/usbus
> 128 xhci/usbus
> 124 pci/uhci
> 123 pci/ohci
> 42 pci/ata_ahci
> 122 pci/ehci
> 41 atapci/ata_ahci_ata
> ~ # kldload ehci
> module_register: module pci/ehci already exists!
> Module pci/ehci failed to register: 17
> kldload: can't load ehci: File exists
> 
> How I upgraded:
> 
> rm -rf /usr/src
> svn export svn://svn0.us-east.FreeBSD.org/base/releng/8.4 /usr/src
> (created custom kernel config from GENERIC)
> cd /usr/obj
> chflags -R noschg *
> rm -rf *
> cd /usr/src
> make buildworld kernel
> shutdown -p now
> (boot in single user)
> fsck -p
> mount -a
> swapon -a
> cd /usr/src
> adjkerntz -i
> mergemaster -p
> make installworld
> make delete-old
> mergemaster -Fi
> shutdown -p now
> cd /usr/src
> make delete-old-libs
> 
> In /etc/make.conf :
> 
> KERNCONF=BEDSIDE
> INSTALL_NODEBUG="yes"
> CPUTYPE?=athlon64
> 
> Custom kernel config in /usr/src/sys/i386/conf/BEDSIDE
> (I edited from GENERIC 8.4):
> 
> #
> # GENERIC -- Generic kernel configuration file for FreeBSD/i386
> #
> # For more information on this file, please read the config(5) manual page,
> # and/or the handbook section on Kernel Configuration Files:
> #
> #
> http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
> #
> # The handbook is also available locally in /usr/share/doc/handbook
> # if you've installed the doc distribution, otherwise always see the
> # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
> # latest information.
> #
> # An exhaustive list of options and more detailed explanations of the
> # device lines is also present in the ../../conf/NOTES and NOTES files.
> # If you are in doubt as to the purpose or necessity of a line, check first
> # in NOTES.
> #
> # $FreeBSD: sys/i386/conf/GENERIC 247909 2013-03-07 07:28:05Z bryanv $
> 
> #lena cpu I486_CPU
> #lena cpu I586_CPU
> cpu   I686_CPU
> ident BEDSIDE #lena was GENERIC
> 
> # To statically compile in device wiring instead of /boot/device.hints
> #hints"GENERIC.hints" # Default places to look for 
> devices.
> 
> # Use the following to compile in values accessible to the kernel
> # through getenv() (or kenv(1) in userland). The format of the file
> # is 'variable=value', see kenv(1)
> #
> # env "GENERIC.env"
> 
> #lena makeoptions DEBUG=-g# Build kernel with gdb(1) 
> debug symbols
> 
> options   SCHED_ULE   # ULE scheduler
> options   PREEMPTION  # Enable kernel thread preemption
> options   INET# InterNETworking
> #lena options INET6   # IPv6 communications protocols
> #lena options SCTP# Stream Control Transmission 
> Protocol
> options   FFS # Berkeley Fast Filesystem
> options   SOFTUPDATES