Re: [solved] Re: cuaU0 problems

2016-09-20 Thread Theo Buehler
On Tue, Sep 20, 2016 at 06:11:14PM -0500, Edgar Pettijohn wrote:
> The latest snapshot fixed it for me.  However, it added these lines at boot:
> 
> splassert: sorwakeup: want 64 have 0
> splassert: sorwakeup: want 64 have 0

That's because of this commit:
https://marc.info/?l=openbsd-cvs=147436994029593=2

CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2016/09/20 05:11:44

Modified files:
sys/kern   : uipc_socket.c 

Log message:
Add some spl softnet assertions that will help us to find the
right
places for the upcoming network lock.  This might trigger some
asserts, but we have to find the missing code paths.
OK mpi@

See also this thread on tech:
https://marc.info/?t=14743742264=1=2

These should all be fixed now. If you still get them with the next
snapshot, set sysctl kern.splassert=2 to get a backtrace which you can
report.



[solved] Re: cuaU0 problems

2016-09-20 Thread Edgar Pettijohn
The latest snapshot fixed it for me.  However, it added these lines at boot:

splassert: sorwakeup: want 64 have 0
splassert: sorwakeup: want 64 have 0

I don't recall seeing them before.

Thanks, 

Edgar

On 16-09-20 10:01:33, Edgar Pettijohn wrote:
> Sent from my iPhone
> 
> > On Sep 20, 2016, at 6:32 AM, Z??? Loff  wrote:
> >
> >> On Tue, Sep 20, 2016 at 09:53:58PM +1200, Richard Procter wrote:
> >>> On 20/09/2016, at 8:00 AM, Edgar Pettijohn wrote:
> >>>
>  On 16-09-19 19:56:31, Kapfhammer, Stefan wrote:
>  Hello Edgar,
> 
>  I have no Soekris, but Apu2 is also connected
>  with a serial cable.
> 
>  When cable is plugged in the controlling pc
>  before booting, it is to be found as /dev/cuaU???0.
> 
>  When I plug it in after the boot completed, it is to be
>  found as /dev/cuaU3. (0/1/2 is normally int. 3G modem)
> 
>  Hope this helps debugging. Feedback would be fine.
> >>>
> >>> Thanks for the reply. It has always worked with:
> >>>
> >>> # cu -l cuaU0
> >>>
> >>> when it stopped working I tried cuaU{1,2} with same result.
> >>
> >> Although my MacBook works at
> >>
> >> OpenBSD 6.0-current (GENERIC.MP) #2466: Sat Sep 17 23:07:05 MDT 2016
> >>dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> >>
> >> (dmesg attached)
> >>
> >> , it breaks at
> >>
> >> OpenBSD 6.0-current (GENERIC.MP) #2473: Sun Sep 18 23:24:19 MDT 2016
> >>dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> >>
> >> I see some disabled USB ports and my keyboard is apparently attached to
> one
> >> of them because I cannot log in via console.
> >>
> >> sys/dev/usb/usb_subr.c revision 1.129 lies between these dates. Reverting
> >> this to revision 1.128 restores my keyboard, etc.
> >
> > Assuming it is the same problem referred to in the "USB ports disabled
> > on Lenovo Thinkpad T61" thread (and all signs point to yes) according to
> > Mike Schreckengost's message the problem has been fixed on current.  Can
> > you confirm this, Edgar?
> 
> I will give it a shot when I get a chance tonight hopefully.
> 
> Thanks
> >
> >>
> >> best,
> >> Richard.
> >>
> >> [known good - and working FDTI USB->serial attached at end]
> >>
> >> OpenBSD 6.0-current (GENERIC.MP) #2466: Sat Sep 17 23:07:05 MDT 2016
> >>dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> >> RTC BIOS diagnostic error
> >>
> ff
> >> real mem = 4005785600 (3820MB)
> >> avail mem = 3879882752 (3700MB)
> >> mpath0 at root
> >> scsibus0 at mpath0: 256 targets
> >> mainbus0 at root
> >> bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xbf719000 (44 entries)
> >> bios0: vendor Apple Inc. version "MBP71.88Z.0039.B05.1003251322" date
> >> 03/25/10
> >> bios0: Apple Inc. MacBookPro7,1
> >> acpi0 at bios0: rev 2
> >> acpi0: sleep states S0 S3 S4 S5
> >> acpi0: tables DSDT FACP HPET APIC APIC ASF! SBST ECDT SSDT SSDT SSDT MCFG
> >> acpi0: wakeup devices ADP1(S3) LID0(S3) EC__(S3) OHC1(S3) EHC1(S3)
> OHC2(S3)
> >> EHC2(S3) ARPT(S5) GIGE(S5)
> >> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> >> acpihpet0 at acpi0: 2500 Hz
> >> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> >> cpu0 at mainbus0: apid 0 (boot processor)
> >> cpu0: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2389.57 MHz
> >> cpu0:
> >>
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
> >>
> H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,ES
> >> T,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR
> >> cpu0: 3MB 64b/line 8-way L2 cache
> >> cpu0: smt 0, core 0, package 0
> >> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
> >> cpu0: apic clock running at 265MHz
> >> cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2.1.3, IBE
> >> cpu1 at mainbus0: apid 1 (application processor)
> >> cpu1: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2389.25 MHz
> >> cpu1:
> >>
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
> >>
> H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,ES
> >> T,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR
> >> cpu1: 3MB 64b/line 8-way L2 cache
> >> cpu1: smt 0, core 1, package 0
> >> ioapic0 at mainbus0: apid 1 pa 0xfec0, version 11, 24 pins
> >> acpiec0 at acpi0
> >> acpimcfg0 at acpi0 addr 0xf000, bus 0-4
> >> acpiprt0 at acpi0: bus 0 (PCI0)
> >> acpiprt1 at acpi0: bus 4 (IXVE)
> >> acpicpu0 at acpi0: !C3(100@57 mwait.3@0x31), !C2(500@1 mwait@0x10),
> C1(1000@1
> >> mwait), PSS
> >> acpicpu1 at acpi0: !C3(100@57 mwait.3@0x31), !C2(500@1 mwait@0x10),
> C1(1000@1
> >> mwait), PSS
> >> acpiac0 at acpi0: AC unit offline
> >> acpibtn0 at acpi0: LID0
> >> "APP0002" at acpi0 not configured
> >> acpibtn1 at acpi0: PWRB
> >> acpibtn2 at acpi0: SLPB
> >> "APP0001" at acpi0 not configured
> >> "APP0003" at acpi0 not configured
> >> acpials0 at acpi0: 

Re: cuaU0 problems

2016-09-20 Thread Edgar Pettijohn
Sent from my iPhone

> On Sep 20, 2016, at 6:32 AM, Z� Loff  wrote:
>
>> On Tue, Sep 20, 2016 at 09:53:58PM +1200, Richard Procter wrote:
>>> On 20/09/2016, at 8:00 AM, Edgar Pettijohn wrote:
>>>
 On 16-09-19 19:56:31, Kapfhammer, Stefan wrote:
 Hello Edgar,

 I have no Soekris, but Apu2 is also connected
 with a serial cable.

 When cable is plugged in the controlling pc
 before booting, it is to be found as /dev/cuaU???0.

 When I plug it in after the boot completed, it is to be
 found as /dev/cuaU3. (0/1/2 is normally int. 3G modem)

 Hope this helps debugging. Feedback would be fine.
>>>
>>> Thanks for the reply. It has always worked with:
>>>
>>> # cu -l cuaU0
>>>
>>> when it stopped working I tried cuaU{1,2} with same result.
>>
>> Although my MacBook works at
>>
>> OpenBSD 6.0-current (GENERIC.MP) #2466: Sat Sep 17 23:07:05 MDT 2016
>>dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
>>
>> (dmesg attached)
>>
>> , it breaks at
>>
>> OpenBSD 6.0-current (GENERIC.MP) #2473: Sun Sep 18 23:24:19 MDT 2016
>>dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
>>
>> I see some disabled USB ports and my keyboard is apparently attached to
one
>> of them because I cannot log in via console.
>>
>> sys/dev/usb/usb_subr.c revision 1.129 lies between these dates. Reverting
>> this to revision 1.128 restores my keyboard, etc.
>
> Assuming it is the same problem referred to in the "USB ports disabled
> on Lenovo Thinkpad T61" thread (and all signs point to yes) according to
> Mike Schreckengost's message the problem has been fixed on current.  Can
> you confirm this, Edgar?

I will give it a shot when I get a chance tonight hopefully.

Thanks
>
>>
>> best,
>> Richard.
>>
>> [known good - and working FDTI USB->serial attached at end]
>>
>> OpenBSD 6.0-current (GENERIC.MP) #2466: Sat Sep 17 23:07:05 MDT 2016
>>dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
>> RTC BIOS diagnostic error
>>
ff
>> real mem = 4005785600 (3820MB)
>> avail mem = 3879882752 (3700MB)
>> mpath0 at root
>> scsibus0 at mpath0: 256 targets
>> mainbus0 at root
>> bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xbf719000 (44 entries)
>> bios0: vendor Apple Inc. version "MBP71.88Z.0039.B05.1003251322" date
>> 03/25/10
>> bios0: Apple Inc. MacBookPro7,1
>> acpi0 at bios0: rev 2
>> acpi0: sleep states S0 S3 S4 S5
>> acpi0: tables DSDT FACP HPET APIC APIC ASF! SBST ECDT SSDT SSDT SSDT MCFG
>> acpi0: wakeup devices ADP1(S3) LID0(S3) EC__(S3) OHC1(S3) EHC1(S3)
OHC2(S3)
>> EHC2(S3) ARPT(S5) GIGE(S5)
>> acpitimer0 at acpi0: 3579545 Hz, 24 bits
>> acpihpet0 at acpi0: 2500 Hz
>> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
>> cpu0 at mainbus0: apid 0 (boot processor)
>> cpu0: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2389.57 MHz
>> cpu0:
>>
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
>>
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,ES
>> T,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR
>> cpu0: 3MB 64b/line 8-way L2 cache
>> cpu0: smt 0, core 0, package 0
>> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
>> cpu0: apic clock running at 265MHz
>> cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2.1.3, IBE
>> cpu1 at mainbus0: apid 1 (application processor)
>> cpu1: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2389.25 MHz
>> cpu1:
>>
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
>>
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,ES
>> T,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR
>> cpu1: 3MB 64b/line 8-way L2 cache
>> cpu1: smt 0, core 1, package 0
>> ioapic0 at mainbus0: apid 1 pa 0xfec0, version 11, 24 pins
>> acpiec0 at acpi0
>> acpimcfg0 at acpi0 addr 0xf000, bus 0-4
>> acpiprt0 at acpi0: bus 0 (PCI0)
>> acpiprt1 at acpi0: bus 4 (IXVE)
>> acpicpu0 at acpi0: !C3(100@57 mwait.3@0x31), !C2(500@1 mwait@0x10),
C1(1000@1
>> mwait), PSS
>> acpicpu1 at acpi0: !C3(100@57 mwait.3@0x31), !C2(500@1 mwait@0x10),
C1(1000@1
>> mwait), PSS
>> acpiac0 at acpi0: AC unit offline
>> acpibtn0 at acpi0: LID0
>> "APP0002" at acpi0 not configured
>> acpibtn1 at acpi0: PWRB
>> acpibtn2 at acpi0: SLPB
>> "APP0001" at acpi0 not configured
>> "APP0003" at acpi0 not configured
>> acpials0 at acpi0: ALS0
>> "ACPI0002" at acpi0 not configured
>> acpibat0 at acpi0: BAT0 model "3545797981023400290" type
3545797981528607052
>> oem "3545797981528673619"
>> cpu0: Enhanced SpeedStep 2389 MHz: speeds: 2394, 2128, 1862, 1596, 798 MHz
>> pci0 at mainbus0 bus 0
>> 0:3:4: mem address conflict 0xd340/0x8
>> pchb0 at pci0 dev 0 function 0 "NVIDIA MCP89 Host" rev 0xa1
>> "NVIDIA MCP89 Memory" rev 0xa1 at pci0 dev 0 function 1 not configured
>> vendor "NVIDIA", unknown product 0x0d6d (class memory 

Re: cuaU0 problems

2016-09-20 Thread Zé Loff
On Tue, Sep 20, 2016 at 09:53:58PM +1200, Richard Procter wrote:
> On 20/09/2016, at 8:00 AM, Edgar Pettijohn wrote:
> 
> > On 16-09-19 19:56:31, Kapfhammer, Stefan wrote:
> >> Hello Edgar,
> >>
> >> I have no Soekris, but Apu2 is also connected
> >> with a serial cable.
> >>
> >> When cable is plugged in the controlling pc
> >> before booting, it is to be found as /dev/cuaU???0.
> >>
> >> When I plug it in after the boot completed, it is to be
> >> found as /dev/cuaU3. (0/1/2 is normally int. 3G modem)
> >>
> >> Hope this helps debugging. Feedback would be fine.
> >
> > Thanks for the reply. It has always worked with:
> >
> > # cu -l cuaU0
> >
> > when it stopped working I tried cuaU{1,2} with same result.
> 
> Although my MacBook works at
> 
> OpenBSD 6.0-current (GENERIC.MP) #2466: Sat Sep 17 23:07:05 MDT 2016
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> 
> (dmesg attached)
> 
> , it breaks at
> 
> OpenBSD 6.0-current (GENERIC.MP) #2473: Sun Sep 18 23:24:19 MDT 2016
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> 
> I see some disabled USB ports and my keyboard is apparently attached to one
> of them because I cannot log in via console.
> 
> sys/dev/usb/usb_subr.c revision 1.129 lies between these dates. Reverting
> this to revision 1.128 restores my keyboard, etc.

Assuming it is the same problem referred to in the "USB ports disabled
on Lenovo Thinkpad T61" thread (and all signs point to yes) according to
Mike Schreckengost's message the problem has been fixed on current.  Can
you confirm this, Edgar?

> 
> best,
> Richard.
> 
> [known good - and working FDTI USB->serial attached at end]
> 
> OpenBSD 6.0-current (GENERIC.MP) #2466: Sat Sep 17 23:07:05 MDT 2016
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> RTC BIOS diagnostic error
> ff
> real mem = 4005785600 (3820MB)
> avail mem = 3879882752 (3700MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xbf719000 (44 entries)
> bios0: vendor Apple Inc. version "MBP71.88Z.0039.B05.1003251322" date
> 03/25/10
> bios0: Apple Inc. MacBookPro7,1
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP HPET APIC APIC ASF! SBST ECDT SSDT SSDT SSDT MCFG
> acpi0: wakeup devices ADP1(S3) LID0(S3) EC__(S3) OHC1(S3) EHC1(S3) OHC2(S3)
> EHC2(S3) ARPT(S5) GIGE(S5)
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpihpet0 at acpi0: 2500 Hz
> acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2389.57 MHz
> cpu0:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
> H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,ES
> T,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR
> cpu0: 3MB 64b/line 8-way L2 cache
> cpu0: smt 0, core 0, package 0
> mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
> cpu0: apic clock running at 265MHz
> cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2.1.3, IBE
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2389.25 MHz
> cpu1:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
> H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,ES
> T,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR
> cpu1: 3MB 64b/line 8-way L2 cache
> cpu1: smt 0, core 1, package 0
> ioapic0 at mainbus0: apid 1 pa 0xfec0, version 11, 24 pins
> acpiec0 at acpi0
> acpimcfg0 at acpi0 addr 0xf000, bus 0-4
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus 4 (IXVE)
> acpicpu0 at acpi0: !C3(100@57 mwait.3@0x31), !C2(500@1 mwait@0x10), C1(1000@1
> mwait), PSS
> acpicpu1 at acpi0: !C3(100@57 mwait.3@0x31), !C2(500@1 mwait@0x10), C1(1000@1
> mwait), PSS
> acpiac0 at acpi0: AC unit offline
> acpibtn0 at acpi0: LID0
> "APP0002" at acpi0 not configured
> acpibtn1 at acpi0: PWRB
> acpibtn2 at acpi0: SLPB
> "APP0001" at acpi0 not configured
> "APP0003" at acpi0 not configured
> acpials0 at acpi0: ALS0
> "ACPI0002" at acpi0 not configured
> acpibat0 at acpi0: BAT0 model "3545797981023400290" type 3545797981528607052
> oem "3545797981528673619"
> cpu0: Enhanced SpeedStep 2389 MHz: speeds: 2394, 2128, 1862, 1596, 798 MHz
> pci0 at mainbus0 bus 0
> 0:3:4: mem address conflict 0xd340/0x8
> pchb0 at pci0 dev 0 function 0 "NVIDIA MCP89 Host" rev 0xa1
> "NVIDIA MCP89 Memory" rev 0xa1 at pci0 dev 0 function 1 not configured
> vendor "NVIDIA", unknown product 0x0d6d (class memory subclass RAM, rev 0xa1)
> at pci0 dev 1 function 0 not configured
> vendor "NVIDIA", unknown product 0x0d6e (class memory subclass RAM, rev 0xa1)
> at pci0 dev 1 function 1 not configured
> vendor "NVIDIA", unknown product 0x0d6f (class memory subclass RAM, rev 

Re: cuaU0 problems

2016-09-20 Thread Richard Procter
On 20/09/2016, at 9:53 PM, Richard Procter wrote:

>
> On 20/09/2016, at 8:00 AM, Edgar Pettijohn wrote:
>
>> On 16-09-19 19:56:31, Kapfhammer, Stefan wrote:
>>> Hello Edgar,
>>>
>>> I have no Soekris, but Apu2 is also connected
>>> with a serial cable.
>>>
>>> When cable is plugged in the controlling pc
>>> before booting, it is to be found as /dev/cuaU???0.
>>>
>>> When I plug it in after the boot completed, it is to be
>>> found as /dev/cuaU3. (0/1/2 is normally int. 3G modem)
>>>
>>> Hope this helps debugging. Feedback would be fine.
>>
>> Thanks for the reply. It has always worked with:
>>
>> # cu -l cuaU0
>>
>> when it stopped working I tried cuaU{1,2} with same result.
>
> Although my MacBook works at
> [ details on breakage ]

P.S. here's the dmesg for the snapshot where I can't login via console.

best,
Richard

OpenBSD 6.0-current (GENERIC.MP) #2473: Sun Sep 18 23:24:19 MDT 2016
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
RTC BIOS diagnostic error
ff
real mem = 4005785600 (3820MB)
avail mem = 3879882752 (3700MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xbf719000 (44 entries)
bios0: vendor Apple Inc. version "MBP71.88Z.0039.B05.1003251322" date
03/25/10
bios0: Apple Inc. MacBookPro7,1
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET APIC APIC ASF! SBST ECDT SSDT SSDT SSDT MCFG
acpi0: wakeup devices ADP1(S3) LID0(S3) EC__(S3) OHC1(S3) EHC1(S3) OHC2(S3)
EHC2(S3) ARPT(S5) GIGE(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 2500 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2389.64 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,ES
T,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR
cpu0: 3MB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 265MHz
cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2.1.3, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2389.25 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,ES
T,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR
cpu1: 3MB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 11, 24 pins
acpiec0 at acpi0
acpimcfg0 at acpi0 addr 0xf000, bus 0-4
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (IXVE)
acpicpu0 at acpi0: !C3(100@57 mwait.3@0x31), !C2(500@1 mwait@0x10), C1(1000@1
mwait), PSS
acpicpu1 at acpi0: !C3(100@57 mwait.3@0x31), !C2(500@1 mwait@0x10), C1(1000@1
mwait), PSS
acpiac0 at acpi0: AC unit offline
acpibtn0 at acpi0: LID0
"APP0002" at acpi0 not configured
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
"APP0001" at acpi0 not configured
"APP0003" at acpi0 not configured
acpials0 at acpi0: ALS0
"ACPI0002" at acpi0 not configured
acpibat0 at acpi0: BAT0 model "3545797981023400290" type 3545797981528607052
oem "3545797981528673619"
cpu0: Enhanced SpeedStep 2389 MHz: speeds: 2394, 2128, 1862, 1596, 798 MHz
pci0 at mainbus0 bus 0
0:3:4: mem address conflict 0xd340/0x8
pchb0 at pci0 dev 0 function 0 "NVIDIA MCP89 Host" rev 0xa1
"NVIDIA MCP89 Memory" rev 0xa1 at pci0 dev 0 function 1 not configured
vendor "NVIDIA", unknown product 0x0d6d (class memory subclass RAM, rev 0xa1)
at pci0 dev 1 function 0 not configured
vendor "NVIDIA", unknown product 0x0d6e (class memory subclass RAM, rev 0xa1)
at pci0 dev 1 function 1 not configured
vendor "NVIDIA", unknown product 0x0d6f (class memory subclass RAM, rev 0xa1)
at pci0 dev 1 function 2 not configured
vendor "NVIDIA", unknown product 0x0d70 (class memory subclass RAM, rev 0xa1)
at pci0 dev 1 function 3 not configured
vendor "NVIDIA", unknown product 0x0d71 (class memory subclass RAM, rev 0xa1)
at pci0 dev 2 function 0 not configured
vendor "NVIDIA", unknown product 0x0d72 (class memory subclass RAM, rev 0xa1)
at pci0 dev 2 function 1 not configured
pcib0 at pci0 dev 3 function 0 "NVIDIA MCP89 LPC" rev 0xa2
"NVIDIA MCP89 Memory" rev 0xa1 at pci0 dev 3 function 1 not configured
nviic0 at pci0 dev 3 function 2 "NVIDIA MCP89 SMBus" rev 0xa1
iic0 at nviic0
iic1 at nviic0
"NVIDIA MCP89 Memory" rev 0xa1 at pci0 dev 3 function 3 not configured
"NVIDIA MCP89 Co-processor" rev 0xa1 at pci0 dev 3 function 4 not configured
ohci0 at pci0 dev 4 function 0 "NVIDIA MCP89 USB" rev 0xa1: apic 1 int 17,
version 1.0, legacy support
ehci0 at pci0 dev 4 function 1 "NVIDIA MCP89 USB" rev 0xa2: apic 1 int 17
usb0 at ehci0: USB revision 2.0
uhub0 at 

Re: cuaU0 problems

2016-09-20 Thread Richard Procter
On 20/09/2016, at 8:00 AM, Edgar Pettijohn wrote:

> On 16-09-19 19:56:31, Kapfhammer, Stefan wrote:
>> Hello Edgar,
>>
>> I have no Soekris, but Apu2 is also connected
>> with a serial cable.
>>
>> When cable is plugged in the controlling pc
>> before booting, it is to be found as /dev/cuaU???0.
>>
>> When I plug it in after the boot completed, it is to be
>> found as /dev/cuaU3. (0/1/2 is normally int. 3G modem)
>>
>> Hope this helps debugging. Feedback would be fine.
>
> Thanks for the reply. It has always worked with:
>
> # cu -l cuaU0
>
> when it stopped working I tried cuaU{1,2} with same result.

Although my MacBook works at

OpenBSD 6.0-current (GENERIC.MP) #2466: Sat Sep 17 23:07:05 MDT 2016
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

(dmesg attached)

, it breaks at

OpenBSD 6.0-current (GENERIC.MP) #2473: Sun Sep 18 23:24:19 MDT 2016
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

I see some disabled USB ports and my keyboard is apparently attached to one
of them because I cannot log in via console.

sys/dev/usb/usb_subr.c revision 1.129 lies between these dates. Reverting
this to revision 1.128 restores my keyboard, etc.

best,
Richard.

[known good - and working FDTI USB->serial attached at end]

OpenBSD 6.0-current (GENERIC.MP) #2466: Sat Sep 17 23:07:05 MDT 2016
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
RTC BIOS diagnostic error
ff
real mem = 4005785600 (3820MB)
avail mem = 3879882752 (3700MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xbf719000 (44 entries)
bios0: vendor Apple Inc. version "MBP71.88Z.0039.B05.1003251322" date
03/25/10
bios0: Apple Inc. MacBookPro7,1
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET APIC APIC ASF! SBST ECDT SSDT SSDT SSDT MCFG
acpi0: wakeup devices ADP1(S3) LID0(S3) EC__(S3) OHC1(S3) EHC1(S3) OHC2(S3)
EHC2(S3) ARPT(S5) GIGE(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 2500 Hz
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2389.57 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,ES
T,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR
cpu0: 3MB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 265MHz
cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2.1.3, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz, 2389.25 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,ES
T,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR
cpu1: 3MB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 1 pa 0xfec0, version 11, 24 pins
acpiec0 at acpi0
acpimcfg0 at acpi0 addr 0xf000, bus 0-4
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (IXVE)
acpicpu0 at acpi0: !C3(100@57 mwait.3@0x31), !C2(500@1 mwait@0x10), C1(1000@1
mwait), PSS
acpicpu1 at acpi0: !C3(100@57 mwait.3@0x31), !C2(500@1 mwait@0x10), C1(1000@1
mwait), PSS
acpiac0 at acpi0: AC unit offline
acpibtn0 at acpi0: LID0
"APP0002" at acpi0 not configured
acpibtn1 at acpi0: PWRB
acpibtn2 at acpi0: SLPB
"APP0001" at acpi0 not configured
"APP0003" at acpi0 not configured
acpials0 at acpi0: ALS0
"ACPI0002" at acpi0 not configured
acpibat0 at acpi0: BAT0 model "3545797981023400290" type 3545797981528607052
oem "3545797981528673619"
cpu0: Enhanced SpeedStep 2389 MHz: speeds: 2394, 2128, 1862, 1596, 798 MHz
pci0 at mainbus0 bus 0
0:3:4: mem address conflict 0xd340/0x8
pchb0 at pci0 dev 0 function 0 "NVIDIA MCP89 Host" rev 0xa1
"NVIDIA MCP89 Memory" rev 0xa1 at pci0 dev 0 function 1 not configured
vendor "NVIDIA", unknown product 0x0d6d (class memory subclass RAM, rev 0xa1)
at pci0 dev 1 function 0 not configured
vendor "NVIDIA", unknown product 0x0d6e (class memory subclass RAM, rev 0xa1)
at pci0 dev 1 function 1 not configured
vendor "NVIDIA", unknown product 0x0d6f (class memory subclass RAM, rev 0xa1)
at pci0 dev 1 function 2 not configured
vendor "NVIDIA", unknown product 0x0d70 (class memory subclass RAM, rev 0xa1)
at pci0 dev 1 function 3 not configured
vendor "NVIDIA", unknown product 0x0d71 (class memory subclass RAM, rev 0xa1)
at pci0 dev 2 function 0 not configured
vendor "NVIDIA", unknown product 0x0d72 (class memory subclass RAM, rev 0xa1)
at pci0 dev 2 function 1 not configured
pcib0 at pci0 dev 3 function 0 "NVIDIA MCP89 LPC" rev 0xa2
"NVIDIA MCP89 Memory" rev 0xa1 at pci0 dev 3 function 1 not configured
nviic0 

Re: cuaU0 problems

2016-09-20 Thread Stuart Henderson

I am not, that is exactly what I was pointing out.


On 20 September 2016 03:06:20 Zé Loff  wrote:



On Tue, Sep 20, 2016 at 01:30:35AM +, Stuart Henderson wrote:

On 2016-09-19, Fred  wrote:
> According to the dmesg you have:
>
> puc0 at pci0 dev 22 function 3 "Intel 6 Series KT" rev 0x04: ports: 1

com

> com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo
> com4: probed fifo depth: 0 bytes

> did you try cuaU3?

That one would be (tty|cua)04 (which will need additional device
nodes creating with MAKEDEV. But it's PCI not USB.

It might be behind one of these disabled hubs though:

uhub2 at uhub0 port 1 configuration 1 interface 0 "Intel Rate Matching Hub"
rev 2.00/0.00 addr 2
uhub2: device problem, disabling port 1
uvideo0 at uhub2 port 6 configuration 1 interface 0 "Chicony Electronics
Co., Ltd. Integrated Camera" rev 2.00/7.52 addr 3
video0 at uvideo0
uhub3 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching Hub"
rev 2.00/0.00 addr 2
uhub3: device problem, disabling port 5

(btw, dmesg after the email signature means it gets stripped by most
email programs, so hard to quote :)



Aren't you guys mixing com* and ucom*? If it is a USB dongle it should
show up as ucom0 on dmesg. (plus, it used to work as cuaU0)


--




Re: cuaU0 problems

2016-09-19 Thread Edgar Pettijohn
On 16-09-20 02:53:06, Z? Loff wrote:
> On Mon, Sep 19, 2016 at 03:00:43PM -0500, Edgar Pettijohn wrote:
> > On 16-09-19 19:56:31, Kapfhammer, Stefan wrote:
> > > Hello Edgar,
> > > 
> > > I have no Soekris, but Apu2 is also connected
> > > with a serial cable.
> > > 
> > > When cable is plugged in the controlling pc
> > > before booting, it is to be found as /dev/cuaU???0.
> > > 
> > > When I plug it in after the boot completed, it is to be
> > > found as /dev/cuaU3. (0/1/2 is normally int. 3G modem)
> > > 
> > > Hope this helps debugging. Feedback would be fine.
> > 
> > Thanks for the reply. It has always worked with:
> > 
> > # cu -l cuaU0
> > 
> > when it stopped working I tried cuaU{1,2} with same result.
> > 
> > I suppose I may as well provide some dmesg porn.
> > > 
> > > 
> > > Freundliche Gre / Regards
> > > -stefan kapfhammer
> > >   Originalnachricht
> > > Von: Edgar Pettijohn
> > > Gesendet: Montag, 19. September 2016 20:52
> > > An: misc@openbsd.org
> > > Betreff: cuaU0 problems
> > > 
> > > 
> > > I use a usb serial cable to talk to my soekris router. That works with
> > > 6.0 release but not current.  I was hoping to find commits related to it
> > > and roll back to find what broke it, but I'm not sure where to look.
> > > 
> > > Any help is appreciated.
> > > 
> > > Thanks,
> > > --
> > > Edgar Pettijohn
> > 
> > -- 
> > Edgar Pettijohddn
> 
> 
> Maybe unrelated but...
> 
> > OpenBSD 6.0-current (GENERIC.MP) #2139: Sun Sep 18 23:16:59 MDT 2016
> > dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
>      
> is this intentional?

Yes. The problem is with an i386 laptop. 
  
> 
> Anyway, are the hubs self-powered? Does it work if connected directly to
> the laptop?  Maybe the dongle isn't getting enough juice.

These sound like good questions.  I'm not really a hardware guy so I don't 
know how to answer them unfortunantly.  I'm guessing they are self-powered
because they run my flash programmer I use with avr-dude.  Not sure how to 
check the power output.
> 
> Z?
> 
> 
> > cpu0: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz ("GenuineIntel" 686-class) 
> > 798 MHz
> > 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC,SENSOR,ARAT
> > real mem  = 3662811136 (3493MB)
> > avail mem = 3580022784 (3414MB)
> > mpath0 at root
> > scsibus0 at mpath0: 256 targets
> > mainbus0 at root
> > bios0 at mainbus0: date 03/26/12, BIOS32 rev. 0 @ 0xfc200, SMBIOS rev. 2.6 
> > @ 0xdae9c000 (64 entries)
> > bios0: vendor LENOVO version "83ET69WW (1.39 )" date 03/26/2012
> > bios0: LENOVO 42368J2
> > acpi0 at bios0: rev 2
> > acpi0: sleep states S0 S3 S4 S5
> > acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT HPET APIC MCFG ECDT ASF! TCPA 
> > SSDT SSDT UEFI UEFI UEFI
> > acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP4(S4) EHC1(S3) EHC2(S3) 
> > HDEF(S4)
> > 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, 10 var ranges, 88 fixed ranges
> > cpu0: apic clock running at 99MHz
> > cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
> > cpu1 at mainbus0: apid 1 (application processor)
> > cpu1: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz ("GenuineIntel" 686-class) 
> > 2.50 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC,SENSOR,ARAT
> > cpu2 at mainbus0: apid 2 (application processor)
> > cpu2: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz ("GenuineIntel" 686-class) 
> > 2.50 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC,SENSOR,ARAT
> >

Re: cuaU0 problems

2016-09-19 Thread Zé Loff
On Tue, Sep 20, 2016 at 01:30:35AM +, Stuart Henderson wrote:
> On 2016-09-19, Fred  wrote:
> > According to the dmesg you have:
> >
> > puc0 at pci0 dev 22 function 3 "Intel 6 Series KT" rev 0x04: ports: 1 com
> > com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo
> > com4: probed fifo depth: 0 bytes
> 
> > did you try cuaU3?
> 
> That one would be (tty|cua)04 (which will need additional device
> nodes creating with MAKEDEV. But it's PCI not USB.
> 
> It might be behind one of these disabled hubs though:
> 
> uhub2 at uhub0 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" 
> rev 2.00/0.00 addr 2
> uhub2: device problem, disabling port 1
> uvideo0 at uhub2 port 6 configuration 1 interface 0 "Chicony Electronics Co., 
> Ltd. Integrated Camera" rev 2.00/7.52 addr 3
> video0 at uvideo0
> uhub3 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" 
> rev 2.00/0.00 addr 2
> uhub3: device problem, disabling port 5
> 
> (btw, dmesg after the email signature means it gets stripped by most
> email programs, so hard to quote :)
> 

Aren't you guys mixing com* and ucom*? If it is a USB dongle it should
show up as ucom0 on dmesg. (plus, it used to work as cuaU0)


-- 



Re: cuaU0 problems

2016-09-19 Thread Zé Loff
On Mon, Sep 19, 2016 at 03:00:43PM -0500, Edgar Pettijohn wrote:
> On 16-09-19 19:56:31, Kapfhammer, Stefan wrote:
> > Hello Edgar,
> > 
> > I have no Soekris, but Apu2 is also connected
> > with a serial cable.
> > 
> > When cable is plugged in the controlling pc
> > before booting, it is to be found as /dev/cuaU???0.
> > 
> > When I plug it in after the boot completed, it is to be
> > found as /dev/cuaU3. (0/1/2 is normally int. 3G modem)
> > 
> > Hope this helps debugging. Feedback would be fine.
> 
> Thanks for the reply. It has always worked with:
> 
> # cu -l cuaU0
> 
> when it stopped working I tried cuaU{1,2} with same result.
> 
> I suppose I may as well provide some dmesg porn.
> > 
> > 
> > Freundliche Gre / Regards
> > -stefan kapfhammer
> >   Originalnachricht
> > Von: Edgar Pettijohn
> > Gesendet: Montag, 19. September 2016 20:52
> > An: misc@openbsd.org
> > Betreff: cuaU0 problems
> > 
> > 
> > I use a usb serial cable to talk to my soekris router. That works with
> > 6.0 release but not current.  I was hoping to find commits related to it
> > and roll back to find what broke it, but I'm not sure where to look.
> > 
> > Any help is appreciated.
> > 
> > Thanks,
> > --
> > Edgar Pettijohn
> 
> -- 
> Edgar Pettijohddn


Maybe unrelated but...

> OpenBSD 6.0-current (GENERIC.MP) #2139: Sun Sep 18 23:16:59 MDT 2016
> dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
     
is this intentional?

Anyway, are the hubs self-powered? Does it work if connected directly to
the laptop?  Maybe the dongle isn't getting enough juice.

Zé


> cpu0: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz ("GenuineIntel" 686-class) 798 
> MHz
> 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC,SENSOR,ARAT
> real mem  = 3662811136 (3493MB)
> avail mem = 3580022784 (3414MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: date 03/26/12, BIOS32 rev. 0 @ 0xfc200, SMBIOS rev. 2.6 @ 
> 0xdae9c000 (64 entries)
> bios0: vendor LENOVO version "83ET69WW (1.39 )" date 03/26/2012
> bios0: LENOVO 42368J2
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S3 S4 S5
> acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT HPET APIC MCFG ECDT ASF! TCPA 
> SSDT SSDT UEFI UEFI UEFI
> acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP4(S4) EHC1(S3) EHC2(S3) 
> HDEF(S4)
> 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, 10 var ranges, 88 fixed ranges
> cpu0: apic clock running at 99MHz
> cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz ("GenuineIntel" 686-class) 
> 2.50 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC,SENSOR,ARAT
> cpu2 at mainbus0: apid 2 (application processor)
> cpu2: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz ("GenuineIntel" 686-class) 
> 2.50 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC,SENSOR,ARAT
> cpu3 at mainbus0: apid 3 (application processor)
> cpu3: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz ("GenuineIntel" 686-class) 
> 2.50 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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC,SENSOR,ARAT
> ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
> acpimcfg0 at acpi0 addr 0xf800, bus 0-63
> acpiec0 at acpi0
> acpiprt0 at acpi0: bus 0 (PCI0)
> acpiprt1 at acpi0: bus -1 (PEG_)
> acpiprt2 at acpi0: bus 2 (EXP1)
> acpiprt3 at acpi0: bus 3 (EXP2)
> acpiprt4 at acpi0: bus 5 (EXP4)
> acpiprt5 at acpi0: bus 13 (EXP5)

Re: cuaU0 problems

2016-09-19 Thread Edgar Pettijohn
On 16-09-20 01:30:35, Stuart Henderson wrote:
> On 2016-09-19, Fred  wrote:
> > According to the dmesg you have:
> >
> > puc0 at pci0 dev 22 function 3 "Intel 6 Series KT" rev 0x04: ports: 1 com
> > com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo
> > com4: probed fifo depth: 0 bytes
> 
> > did you try cuaU3?
> 
> That one would be (tty|cua)04 (which will need additional device
> nodes creating with MAKEDEV. But it's PCI not USB.
> 
> It might be behind one of these disabled hubs though:
> 
> uhub2 at uhub0 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" 
> rev 2.00/0.00 addr 2
> uhub2: device problem, disabling port 1
> uvideo0 at uhub2 port 6 configuration 1 interface 0 "Chicony Electronics Co., 
> Ltd. Integrated Camera" rev 2.00/7.52 addr 3
> video0 at uvideo0
> uhub3 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" 
> rev 2.00/0.00 addr 2
> uhub3: device problem, disabling port 5
> 
> (btw, dmesg after the email signature means it gets stripped by most
> email programs, so hard to quote :) noted

The "device problem, disabling port #" comes up everytime I try to use the 
cable.  As you can see I tried all of my 
uhub's. I then thought perhaps my hubs broke down on me so I mounted a thumb 
drive and it worked.  I don't really have 
any other usb devices I can test out.  But as mentioned this worked prior to 
this snapshot.  I'm not sure when it broke, 
but it worked this morning on and amd64 6.0 release desktop. I think the last 
time I used it with this laptop was when 
I upgraded the soekris to 6.0. The only reason I found out it was broken was 
because I was bringing the soekris up to stable 
and needed the console to disable wd at boot etc.
-- 
Edgar Pettijohn



Re: cuaU0 problems

2016-09-19 Thread Stuart Henderson
On 2016-09-19, Fred  wrote:
> According to the dmesg you have:
>
> puc0 at pci0 dev 22 function 3 "Intel 6 Series KT" rev 0x04: ports: 1 com
> com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo
> com4: probed fifo depth: 0 bytes

> did you try cuaU3?

That one would be (tty|cua)04 (which will need additional device
nodes creating with MAKEDEV. But it's PCI not USB.

It might be behind one of these disabled hubs though:

uhub2 at uhub0 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev 
2.00/0.00 addr 2
uhub2: device problem, disabling port 1
uvideo0 at uhub2 port 6 configuration 1 interface 0 "Chicony Electronics Co., 
Ltd. Integrated Camera" rev 2.00/7.52 addr 3
video0 at uvideo0
uhub3 at uhub1 port 1 configuration 1 interface 0 "Intel Rate Matching Hub" rev 
2.00/0.00 addr 2
uhub3: device problem, disabling port 5

(btw, dmesg after the email signature means it gets stripped by most
email programs, so hard to quote :)



Re: cuaU0 problems

2016-09-19 Thread Edgar Pettijohn
On 16-09-19 22:24:42, Fred wrote:
> On 09/19/16 21:49, Edgar Pettijohn wrote:
> > On 16-09-19 21:39:33, Fred wrote:
> > > On 09/19/16 21:00, Edgar Pettijohn wrote:
> > > > On 16-09-19 19:56:31, Kapfhammer, Stefan wrote:
> > > > > Hello Edgar,
> > > > > 
> > > > > I have no Soekris, but Apu2 is also connected
> > > > > with a serial cable.
> > > > > 
> > > > > When cable is plugged in the controlling pc
> > > > > before booting, it is to be found as /dev/cuaU???0.
> > > > > 
> > > > > When I plug it in after the boot completed, it is to be
> > > > > found as /dev/cuaU3. (0/1/2 is normally int. 3G modem)
> > > > > 
> > > > > Hope this helps debugging. Feedback would be fine.
> > > > 
> > > > Thanks for the reply. It has always worked with:
> > > > 
> > > > # cu -l cuaU0
> > > > 
> > > > when it stopped working I tried cuaU{1,2} with same result.
> > > > 
> > > > I suppose I may as well provide some dmesg porn.
> > > > > 
> > > > > 
> > > > > Freundliche Gre / Regards
> > > > > -stefan kapfhammer
> > > > >   Originalnachricht
> > > > > Von: Edgar Pettijohn
> > > > > Gesendet: Montag, 19. September 2016 20:52
> > > > > An: misc@openbsd.org
> > > > > Betreff: cuaU0 problems
> > > > > 
> > > > > 
> > > > > I use a usb serial cable to talk to my soekris router. That works with
> > > > > 6.0 release but not current.  I was hoping to find commits related to 
> > > > > it
> > > > > and roll back to find what broke it, but I'm not sure where to look.
> > > > > 
> > > > > Any help is appreciated.
> > > > > 
> > > > > Thanks,
> > > > > --
> > > > > Edgar Pettijohn
> > > > 
> > > 
> > > According to the dmesg you have:
> > > 
> > > puc0 at pci0 dev 22 function 3 "Intel 6 Series KT" rev 0x04: ports: 1 com
> > > com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo
> > > com4: probed fifo depth: 0 bytes
> > > 
> > > did you try cuaU3?
> > > 
> > > hth
> > > 
> > > Fred
> > 
> > I just tried cuaU3 with same results.  Also added the -d option with same 
> > result.
> > 
> 
> what are the permissions on /dev/cua0[0-4] and /dev/cuaU[0-4]
> 
> and com4 might actually be cua03...
> 
> most odd...

Mon Sep 19  5:15:39 ~ $ ls -l /dev | grep cuaU
crw-rw  1 root  dialer   66, 128 Sep 19 03:42 cuaU0
crw-rw  1 root  dialer   66, 129 Sep 19 03:42 cuaU1
crw-rw  1 root  dialer   66, 130 Sep 19 03:42 cuaU2
crw-rw  1 root  dialer   66, 131 Sep 19 03:42 cuaU3

-- 
Edgar Pettijohn



Re: cuaU0 problems

2016-09-19 Thread Edgar Pettijohn
On 16-09-19 21:39:33, Fred wrote:
> On 09/19/16 21:00, Edgar Pettijohn wrote:
> > On 16-09-19 19:56:31, Kapfhammer, Stefan wrote:
> > > Hello Edgar,
> > > 
> > > I have no Soekris, but Apu2 is also connected
> > > with a serial cable.
> > > 
> > > When cable is plugged in the controlling pc
> > > before booting, it is to be found as /dev/cuaU???0.
> > > 
> > > When I plug it in after the boot completed, it is to be
> > > found as /dev/cuaU3. (0/1/2 is normally int. 3G modem)
> > > 
> > > Hope this helps debugging. Feedback would be fine.
> > 
> > Thanks for the reply. It has always worked with:
> > 
> > # cu -l cuaU0
> > 
> > when it stopped working I tried cuaU{1,2} with same result.
> > 
> > I suppose I may as well provide some dmesg porn.
> > > 
> > > 
> > > Freundliche Gre / Regards
> > > -stefan kapfhammer
> > >   Originalnachricht
> > > Von: Edgar Pettijohn
> > > Gesendet: Montag, 19. September 2016 20:52
> > > An: misc@openbsd.org
> > > Betreff: cuaU0 problems
> > > 
> > > 
> > > I use a usb serial cable to talk to my soekris router. That works with
> > > 6.0 release but not current.  I was hoping to find commits related to it
> > > and roll back to find what broke it, but I'm not sure where to look.
> > > 
> > > Any help is appreciated.
> > > 
> > > Thanks,
> > > --
> > > Edgar Pettijohn
> > 
> 
> According to the dmesg you have:
> 
> puc0 at pci0 dev 22 function 3 "Intel 6 Series KT" rev 0x04: ports: 1 com
> com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo
> com4: probed fifo depth: 0 bytes
> 
> did you try cuaU3?
> 
> hth
> 
> Fred

I just tried cuaU3 with same results.  Also added the -d option with same 
result.
-- 
Edgar Pettijohn



Re: cuaU0 problems

2016-09-19 Thread Fred

On 09/19/16 21:00, Edgar Pettijohn wrote:

On 16-09-19 19:56:31, Kapfhammer, Stefan wrote:

Hello Edgar,

I have no Soekris, but Apu2 is also connected
with a serial cable.

When cable is plugged in the controlling pc
before booting, it is to be found as /dev/cuaU???0.

When I plug it in after the boot completed, it is to be
found as /dev/cuaU3. (0/1/2 is normally int. 3G modem)

Hope this helps debugging. Feedback would be fine.


Thanks for the reply. It has always worked with:

# cu -l cuaU0

when it stopped working I tried cuaU{1,2} with same result.

I suppose I may as well provide some dmesg porn.



Freundliche Gre / Regards
-stefan kapfhammer
  Originalnachricht
Von: Edgar Pettijohn
Gesendet: Montag, 19. September 2016 20:52
An: misc@openbsd.org
Betreff: cuaU0 problems


I use a usb serial cable to talk to my soekris router. That works with
6.0 release but not current.  I was hoping to find commits related to it
and roll back to find what broke it, but I'm not sure where to look.

Any help is appreciated.

Thanks,
--
Edgar Pettijohn




According to the dmesg you have:

puc0 at pci0 dev 22 function 3 "Intel 6 Series KT" rev 0x04: ports: 1 com
com4 at puc0 port 0 apic 2 int 19: ns16550a, 16 byte fifo
com4: probed fifo depth: 0 bytes

did you try cuaU3?

hth

Fred



WG: cuaU0 problems

2016-09-19 Thread Kapfhammer, Stefan
fwd misc@


Freundliche Grüße / Regards
-stefan kapfhammer
  Originalnachricht
Von: Kapfhammer, Stefan <sk...@skapf.de>
Gesendet: Montag, 19. September 2016 22:33
An: Edgar Pettijohn
Betreff: AW: cuaU0 problems


I am a bit astonished, that it works
without "-d" for you. Without it
would wait for a carrier to be detected.


Freundliche Grüße / Regards
-stefan kapfhammer
  Originalnachricht
Von: Edgar Pettijohn
Gesendet: Montag, 19. September 2016 22:01
An: misc@openbsd.org
Betreff: Re: cuaU0 problems


On 16-09-19 19:56:31, Kapfhammer, Stefan wrote:
> Hello Edgar,
>
> I have no Soekris, but Apu2 is also connected
> with a serial cable.
>
> When cable is plugged in the controlling pc
> before booting, it is to be found as /dev/cuaU???0.
>
> When I plug it in after the boot completed, it is to be
> found as /dev/cuaU3. (0/1/2 is normally int. 3G modem)
>
> Hope this helps debugging. Feedback would be fine.

Thanks for the reply. It has always worked with:

# cu -l cuaU0

when it stopped working I tried cuaU{1,2} with same result.

I suppose I may as well provide some dmesg porn.
>
>
> Freundliche Gre / Regards
> -stefan kapfhammer
>   Originalnachricht
> Von: Edgar Pettijohn
> Gesendet: Montag, 19. September 2016 20:52
> An: misc@openbsd.org
> Betreff: cuaU0 problems
>
>
> I use a usb serial cable to talk to my soekris router. That works with
> 6.0 release but not current.  I was hoping to find commits related to it
> and roll back to find what broke it, but I'm not sure where to look.
>
> Any help is appreciated.
>
> Thanks,
> --
> Edgar Pettijohn

--
Edgar Pettijohn
OpenBSD 6.0-current (GENERIC.MP) #2139: Sun Sep 18 23:16:59 MDT 2016
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz ("GenuineIntel" 686-class) 798
MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,PCLMUL,DTES64,MWAIT,D
S-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,D
EADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC,SENSOR,ARAT
real mem  = 3662811136 (3493MB)
avail mem = 3580022784 (3414MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 03/26/12, BIOS32 rev. 0 @ 0xfc200, SMBIOS rev. 2.6 @
0xdae9c000 (64 entries)
bios0: vendor LENOVO version "83ET69WW (1.39 )" date 03/26/2012
bios0: LENOVO 42368J2
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT HPET APIC MCFG ECDT ASF! TCPA SSDT
SSDT UEFI UEFI UEFI
acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP4(S4) EHC1(S3) EHC2(S3)
HDEF(S4)
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, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz ("GenuineIntel" 686-class) 2.50
GHz
cpu1:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,PCLMUL,DTES64,MWAIT,D
S-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,D
EADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC,SENSOR,ARAT
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz ("GenuineIntel" 686-class) 2.50
GHz
cpu2:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,PCLMUL,DTES64,MWAIT,D
S-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,D
EADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC,SENSOR,ARAT
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz ("GenuineIntel" 686-class) 2.50
GHz
cpu3:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,PCLMUL,DTES64,MWAIT,D
S-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,D
EADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC,SENSOR,ARAT
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpiprt4 at acpi0: bus 5 (EXP4)
acpiprt5 at acpi0: bus 13 (EXP5)
acpicpu0 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1 halt),
PSS
acpicpu1 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1 halt),
PSS
acpicpu2 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1 halt),
PSS
acpicpu3 at acpi0: C3(

Re: cuaU0 problems

2016-09-19 Thread Edgar Pettijohn
On 16-09-19 19:56:31, Kapfhammer, Stefan wrote:
> Hello Edgar,
> 
> I have no Soekris, but Apu2 is also connected
> with a serial cable.
> 
> When cable is plugged in the controlling pc
> before booting, it is to be found as /dev/cuaU???0.
> 
> When I plug it in after the boot completed, it is to be
> found as /dev/cuaU3. (0/1/2 is normally int. 3G modem)
> 
> Hope this helps debugging. Feedback would be fine.

Thanks for the reply. It has always worked with:

# cu -l cuaU0

when it stopped working I tried cuaU{1,2} with same result.

I suppose I may as well provide some dmesg porn.
> 
> 
> Freundliche Gre / Regards
> -stefan kapfhammer
>   Originalnachricht
> Von: Edgar Pettijohn
> Gesendet: Montag, 19. September 2016 20:52
> An: misc@openbsd.org
> Betreff: cuaU0 problems
> 
> 
> I use a usb serial cable to talk to my soekris router. That works with
> 6.0 release but not current.  I was hoping to find commits related to it
> and roll back to find what broke it, but I'm not sure where to look.
> 
> Any help is appreciated.
> 
> Thanks,
> --
> Edgar Pettijohn

-- 
Edgar Pettijohn
OpenBSD 6.0-current (GENERIC.MP) #2139: Sun Sep 18 23:16:59 MDT 2016
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz ("GenuineIntel" 686-class) 798 
MHz
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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC,SENSOR,ARAT
real mem  = 3662811136 (3493MB)
avail mem = 3580022784 (3414MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 03/26/12, BIOS32 rev. 0 @ 0xfc200, SMBIOS rev. 2.6 @ 
0xdae9c000 (64 entries)
bios0: vendor LENOVO version "83ET69WW (1.39 )" date 03/26/2012
bios0: LENOVO 42368J2
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SLIC SSDT SSDT SSDT HPET APIC MCFG ECDT ASF! TCPA SSDT 
SSDT UEFI UEFI UEFI
acpi0: wakeup devices LID_(S3) SLPB(S3) IGBE(S4) EXP4(S4) EHC1(S3) EHC2(S3) 
HDEF(S4)
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, 10 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.2, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz ("GenuineIntel" 686-class) 2.50 
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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC,SENSOR,ARAT
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz ("GenuineIntel" 686-class) 2.50 
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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC,SENSOR,ARAT
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz ("GenuineIntel" 686-class) 2.50 
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,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,LAHF,PERF,ITSC,SENSOR,ARAT
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpimcfg0 at acpi0 addr 0xf800, bus 0-63
acpiec0 at acpi0
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus -1 (PEG_)
acpiprt2 at acpi0: bus 2 (EXP1)
acpiprt3 at acpi0: bus 3 (EXP2)
acpiprt4 at acpi0: bus 5 (EXP4)
acpiprt5 at acpi0: bus 13 (EXP5)
acpicpu0 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1 halt), 
PSS
acpicpu1 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1 halt), 
PSS
acpicpu2 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1 halt), 
PSS
acpicpu3 at acpi0: C3(200@109 io@0x416), C2(500@80 io@0x414), C1(1000@1 halt), 
PSS
acpipwrres0 at acpi0: PUBS, resource for EHC1, EHC2
acpitz0 at acpi0: critical temperature is 98 degC
acpibtn0 at acpi0: LID_
acpibtn1 at acpi0: SLPB
"PNP0303" at acpi0 not configured
"LEN0015" at acpi0 not configured
"SMO1200" at acpi0 not configured
acpibat0 at acpi0: BAT0 model "42T4751" serial  1690 type LION oem "SANYO"
acpiac0 at acpi0: AC unit offline
acpithinkpad0 at acpi0
acpithinkpad0: volume

Re: cuaU0 problems

2016-09-19 Thread Kapfhammer, Stefan
Hello Edgar,

I have no Soekris, but Apu2 is also connected
with a serial cable.

When cable is plugged in the controlling pc
before booting, it is to be found as /dev/cuaU‎0.

When I plug it in after the boot completed, it is to be
found as /dev/cuaU3. (0/1/2 is normally int. 3G modem)

Hope this helps debugging. Feedback would be fine.


Freundliche Grüße / Regards
-stefan kapfhammer
  Originalnachricht
Von: Edgar Pettijohn
Gesendet: Montag, 19. September 2016 20:52
An: misc@openbsd.org
Betreff: cuaU0 problems


I use a usb serial cable to talk to my soekris router. That works with
6.0 release but not current.  I was hoping to find commits related to it
and roll back to find what broke it, but I'm not sure where to look.

Any help is appreciated.

Thanks,
--
Edgar Pettijohn



cuaU0 problems

2016-09-19 Thread Edgar Pettijohn
I use a usb serial cable to talk to my soekris router. That works with 
6.0 release but not current.  I was hoping to find commits related to it 
and roll back to find what broke it, but I'm not sure where to look.

Any help is appreciated.

Thanks,
-- 
Edgar Pettijohn