Re: acer travelmate b115-m boot panic

2015-05-30 Thread frantisek holop
another try with XHCI_DEBUG kernel (otherwise vanilla GENERIC.MP),
booted from the usb stick. this gets through the problematic
point, the ports are not disabled.

i am attaching furter info as well:

pcidump -v:

Domain /dev/pci0:
 0:0:0: Intel Bay Trail Host
0x: Vendor ID: 8086 Product ID: 0f00
0x0004: Command: 0007 Status: 
0x0008: Class: 06 Subclass: 00 Interface: 00 Revision: 0e
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00
0x0010: BAR empty ()
0x0014: BAR empty ()
0x0018: BAR empty ()
0x001c: BAR empty ()
0x0020: BAR empty ()
0x0024: BAR empty ()
0x0028: Cardbus CIS: 
0x002c: Subsystem Vendor ID: 1025 Product ID: 0860
0x0030: Expansion ROM Base Address: 
0x0038: 
0x003c: Interrupt Pin: 00 Line: 00 Min Gnt: 00 Max Lat: 00
 0:2:0: Intel Bay Trail Video
0x: Vendor ID: 8086 Product ID: 0f31
0x0004: Command: 0007 Status: 0010
0x0008: Class: 03 Subclass: 00 Interface: 00 Revision: 0e
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00
0x0010: BAR mem 32bit addr: 0x9000/0x0040
0x0014: BAR empty ()
0x0018: BAR mem prefetchable 32bit addr: 0x8000/0x1000
0x001c: BAR empty ()
0x0020: BAR io addr: 0x2050/0x0008
0x0024: BAR empty ()
0x0028: Cardbus CIS: 
0x002c: Subsystem Vendor ID: 1025 Product ID: 0860
0x0030: Expansion ROM Base Address: 
0x0038: 
0x003c: Interrupt Pin: 01 Line: 07 Min Gnt: 00 Max Lat: 00
0x00d0: Capability 0x01: Power Management
0x0090: Capability 0x05: Message Signaled Interrupts (MSI)
0x00b0: Capability 0x09: Vendor Specific
 0:19:0: Intel Bay Trail AHCI
0x: Vendor ID: 8086 Product ID: 0f23
0x0004: Command: 0007 Status: 02b0
0x0008: Class: 01 Subclass: 06 Interface: 01 Revision: 0e
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00
0x0010: BAR io addr: 0x2048/0x0008
0x0014: BAR io addr: 0x205c/0x0004
0x0018: BAR io addr: 0x2040/0x0008
0x001c: BAR io addr: 0x2058/0x0004
0x0020: BAR io addr: 0x2020/0x0020
0x0024: BAR mem 32bit addr: 0x9091d000/0x0800
0x0028: Cardbus CIS: 
0x002c: Subsystem Vendor ID: 1025 Product ID: 0860
0x0030: Expansion ROM Base Address: 
0x0038: 
0x003c: Interrupt Pin: 01 Line: 0a Min Gnt: 00 Max Lat: 00
0x0080: Capability 0x05: Message Signaled Interrupts (MSI)
0x0070: Capability 0x01: Power Management
0x00a8: Capability 0x12: SATA
 0:20:0: Intel Bay Trail xHCI
0x: Vendor ID: 8086 Product ID: 0f35
0x0004: Command: 0006 Status: 0290
0x0008: Class: 0c Subclass: 03 Interface: 30 Revision: 0e
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 00
0x0010: BAR mem 64bit addr: 0x9090/0x0001
0x0018: BAR empty ()
0x001c: BAR empty ()
0x0020: BAR empty ()
0x0024: BAR empty ()
0x0028: Cardbus CIS: 
0x002c: Subsystem Vendor ID: 1025 Product ID: 0860
0x0030: Expansion ROM Base Address: 
0x0038: 
0x003c: Interrupt Pin: 01 Line: 0b Min Gnt: 00 Max Lat: 00
0x0070: Capability 0x01: Power Management
0x0080: Capability 0x05: Message Signaled Interrupts (MSI)
 0:26:0: Intel Bay Trail TXE
0x: Vendor ID: 8086 Product ID: 0f18
0x0004: Command: 0106 Status: 0010
0x0008: Class: 10 Subclass: 80 Interface: 00 Revision: 0e
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 10
0x0010: BAR mem 32bit addr: 0x9080/0x0010
0x0014: BAR mem 32bit addr: 0x9070/0x0010
0x0018: BAR empty ()
0x001c: BAR empty ()
0x0020: BAR empty ()
0x0024: BAR empty ()
0x0028: Cardbus CIS: 
0x002c: Subsystem Vendor ID: 1025 Product ID: 0860
0x0030: Expansion ROM Base Address: 
0x0038: 
0x003c: Interrupt Pin: 01 Line: 07 Min Gnt: 00 Max Lat: 00
0x0080: Capability 0x01: Power Management
0x00a0: Capability 0x05: Message Signaled Interrupts (MSI)
 0:27:0: Intel Bay Trail HD Audio
0x: Vendor ID: 8086 Product ID: 0f04
0x0004: Command: 0006 Status: 0010
0x0008: Class: 04 Subclass: 03 Interface: 00 Revision: 0e
0x000c: BIST: 00 Header Type: 00 Latency Timer: 00 Cache Line Size: 10
0x0010: BAR mem 64bit addr: 0x9091/0x4000
0x0018: BAR empty ()

acer travelmate b115-m boot panic

2015-05-29 Thread frantisek holop
hello,

here is a partial dmesg from an acer travelmate b115-m.
this is fairly new hardware and it almost boots up
all the way.

1. wifi is atheros.  sigh.  will try to replace it
(hopefully there is no whitelist like on lenovo)

2. notice that spdmem identifies 4G of RAM,
but only 2 show up.

3. no inteldrm support yet

4. IIUC, something is wrong with the usb hub
and in the process the boot device is lost.
i tried disabling xhci, no disabled port messages,
however no usb at all.  bios has no usb legacy options.

i'd be happy to test patches :)

-f


OpenBSD 5.7-current (GENERIC.MP) #898: Wed May 27 11:51:38 MDT 2015
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
RTC BIOS diagnostic error 80clock_battery
cpu0: Intel(R) Pentium(R) CPU N3540 @ 2.16GHz (GenuineIntel 686-class) 2.17 
GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,MOVBE,POPCNT,DEADLINE,RDRAND,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS
real mem  = 2027171840 (1933MB)
avail mem = 1981759488 (1889MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 09/12/14, BIOS32 rev. 0 @ 0xef725, SMBIOS rev. 2.7 @ 
0xe6eb0 (22 entries)
bios0: vendor Insyde Corp. version 1.26 date 09/12/2014
bios0: Acer TravelMate B115-M
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP UEFI UEFI SSDT HPET LPIT APIC MCFG SSDT SSDT SSDT SSDT 
SSDT CSRT SSDT FPDT
acpi0: wakeup devices XHC1(S3) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) PXSX(S4) 
RP03(S4) PXSX(S4) RP04(S4) EHC1(S3)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 83MHz
cpu0: mwait min=64, max=64, C-substates=0.2.0.0.0, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: Intel(R) Pentium(R) CPU N3540 @ 2.16GHz (GenuineIntel 686-class) 2.17 
GHz
cpu1: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,MOVBE,POPCNT,DEADLINE,RDRAND,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS
cpu2 at mainbus0: apid 4 (application processor)
cpu2: Intel(R) Pentium(R) CPU N3540 @ 2.16GHz (GenuineIntel 686-class) 2.17 
GHz
cpu2: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,MOVBE,POPCNT,DEADLINE,RDRAND,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Pentium(R) CPU N3540 @ 2.16GHz (GenuineIntel 686-class) 2.17 
GHz
cpu3: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,MOVBE,POPCNT,DEADLINE,RDRAND,LAHF,3DNOWP,PERF,ITSC,SMEP,ERMS
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 87 pins
ioapic0: misconfigured as apic 1, remapped to apid 2
acpimcfg0 at acpi0 addr 0xe000, bus 0-63
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (RP01)
acpiprt2 at acpi0: bus 2 (RP02)
acpiprt3 at acpi0: bus 3 (RP03)
acpiprt4 at acpi0: bus -1 (RP04)
acpiec0 at acpi0
acpicpu0 at acpi0: C1, PSS
acpicpu1 at acpi0: C1, PSS
acpicpu2 at acpi0: C1, PSS
acpicpu3 at acpi0: C1, PSS
acpipwrres0 at acpi0: PC05, resource for RP01
acpipwrres1 at acpi0: USBC, resource for OTG1, EHC1
acpitz0 at acpi0: critical temperature is 105 degC
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: SLPB
acpiac0 at acpi0: AC unit offline
acpibat0 at acpi0: BAT1 model AC14B8K serial 37768 type LION oem UNKNOWN
acpibtn2 at acpi0: LID_
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD1F
bios0: ROM list: 0xc/0xe400! 0xce800/0x1000
cpu0: Enhanced SpeedStep 2167 MHz: speeds: 2159, 2158, 1992, 1826, 1660, 1494, 
1328, 1162, 996, 830, 664, 498 MHz
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 Intel Bay Trail Host rev 0x0e
vga1 at pci0 dev 2 function 0 Intel Bay Trail Video rev 0x0e
intagp at vga1 not configured
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
ahci0 at pci0 dev 19 function 0 Intel Bay Trail AHCI rev 0x02: msi, AHCI 1.3
ahci0: port 0: 3.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: ATA, WDC WD5000LPVX-2, 01.0 SCSI3 0/direct 
fixed naa.50014ee2b5f5f032
sd0: 476940MB, 512 bytes/sector, 976773168 sectors
xhci0 at pci0 dev 20 function 0 Intel Bay Trail xHCI rev 0x0e: msi
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 Intel xHCI root hub rev 3.00/1.00 addr 1
Intel Bay Trail TXE rev 0x0e at pci0 dev 26 function 0 not configured

Re: acer travelmate b115-m boot panic

2015-05-29 Thread frantisek holop
and it looks like newer notebooks get this RTC
clock_battery warning as well.

-f
-- 
i'm a virgin, but i'm just not very good at it.



Re: acer travelmate b115-m boot panic

2015-05-29 Thread frantisek holop
frantisek holop, 30 May 2015 00:23:
 4. IIUC, something is wrong with the usb hub
 and in the process the boot device is lost.
 i tried disabling xhci, no disabled port messages,
 however no usb at all.  bios has no usb legacy options.

according to the linux dmesg, some of the string descriptors
are malformed:

[7.398979] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[7.398984] usb usb1: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
[7.398988] usb usb1: Product: xHCI Host Controller
[7.398991] usb usb1: Manufacturer: Linux 3.13.0-37-generic xhci_hcd
[7.398994] usb usb1: SerialNumber: :00:14.0
[7.399972] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[7.399976] usb usb2: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
[7.399979] usb usb2: Product: xHCI Host Controller
[7.399983] usb usb2: Manufacturer: Linux 3.13.0-37-generic xhci_hcd
[7.399986] usb usb2: SerialNumber: :00:14.0
[7.713376] usb 1-2: new high-speed USB device number 2 using xhci_hcd
[7.731567] usb 1-2: New USB device found, idVendor=05e3, idProduct=0608
[7.731574] usb 1-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[7.731577] usb 1-2: Product: USB2.0 Hub
[7.901178] usb 1-4: new high-speed USB device number 3 using xhci_hcd
[7.988058] usb 1-4: New USB device found, idVendor=1bcf, idProduct=2c57
[7.988061] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[7.988063] usb 1-4: Product: HD WebCam
[7.988064] usb 1-4: Manufacturer: NC2141102T503020A3LM09
[8.129517] usb 1-2.1: new full-speed USB device number 4 using xhci_hcd
[8.148652] usb 1-2.1: string descriptor 0 malformed (err = -61), defaulting 
to 0x0409
[8.152390] usb 1-2.1: New USB device found, idVendor=0489, idProduct=e04e
[8.152392] usb 1-2.1: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[8.225338] usb 1-2.3: new high-speed USB device number 5 using xhci_hcd
[8.243074] usb 1-2.3: New USB device found, idVendor=125f, idProduct=102e
[8.243077] usb 1-2.3: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[8.243078] usb 1-2.3: Product: USB Flash Drive
[8.243080] usb 1-2.3: Manufacturer: USB 2.0
[8.243081] usb 1-2.3: SerialNumber: 43a67742cf415a
[8.248217] usb-storage 1-2.3:1.0: USB Mass Storage device detected
[8.248501] scsi2 : usb-storage 1-2.3:1.0
[8.248608] usbcore: registered new interface driver usb-storage
[   22.606182] usbcore: registered new interface driver btusb
[   22.844086] usbcore: registered new interface driver ath3k
[   22.929986] usbcore: registered new interface driver uvcvideo
[   23.029317] usb 1-2.1: USB disconnect, device number 4
[   23.229541] usb 1-2.1: new full-speed USB device number 6 using xhci_hcd
[   23.247279] usb 1-2.1: string descriptor 0 malformed (err = -61), defaulting 
to 0x0409
[   23.250613] usb 1-2.1: New USB device found, idVendor=0489, idProduct=e04e
[   23.250620] usb 1-2.1: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3

-- 
i couldn't repair your brakes so i made your horn louder.