Re: Crash on TOSHIBA PORTEGE Z30-A laptop

2023-10-21 Thread wesley
Hi Philip,

Thank you very much for your answer.

I tried to disable all options (+devices) possible. Same issue.
And what's about disable acpi in the kernel using the bsd.re-config?

Do you think If I replace the wireless card by somthing else, It could resolve 
this issue?


/Wesley 



-Message d'origine-
De : owner-b...@openbsd.org  De la part de Philip 
Guenther
Envoyé : samedi 21 octobre 2023 03:23
À : wes...@technicien.io
Cc : bugs@openbsd.org; m...@openbsd.org
Objet : Re: Crash on TOSHIBA PORTEGE Z30-A laptop

On Fri, Oct 20, 2023 at 1:23 PM  wrote:

> I've recently installed OpenBSD 7.4 on this laptop.
>
> However, I'm experiencing random crashes. These occur at various 
> times, including during kernel loading (before running /etc/rc),
>
> or later while I'm using the system.
>
>
> I've included the contents of /var/run/dmesg.boot below and attached 
> the screens with the ddb output command.
>
...

> bios0: vendor TOSHIBA version "Version 4.30" date 04/26/2018
>

The screenshots show that the fault happens during a wifi interrupt that 
catches the ACPI thread processing a very deeply nested AML code.  I suspect 
it's actually running out of kernel stack space as a result.
Everything below is based on that hypothesis.

So, the first thing to try is to see if there's a BIOS update newer than the 
2018 rev it currently has.  They may have optimized the AML code, or at least 
made it less deeply nested.

Another possibility is to see if there's a device you can disable that would 
result in that AML not being called.  If there's anything that you aren't using 
then disable it in the BIOS and hope.

The last possibility would be to build a kernel which allocates more pages per 
thread for its kernel stack by bumping the UPAGES #define in 
/usr/src/sys/arch/amd64/include/param.h and building a new kernel.  It's really 
only the ACPI thread that needs this, but we don't currently have code to 
control that on a per-thread basis.


Philip Guenther



Re: Crash on TOSHIBA PORTEGE Z30-A laptop

2023-10-23 Thread wesley
> If there isn't a newer BIOS that resolves this, I would tend to return the 
> box as not suitable.



This is the case, there’s no BIOS update.

Thank you very much, anyway.

Cheers,


/Wesley

 

De : Philip Guenther  
Envoyé : lundi 23 octobre 2023 00:39
À : wes...@technicien.io
Cc : bugs@openbsd.org; m...@openbsd.org
Objet : Re: Crash on TOSHIBA PORTEGE Z30-A laptop

 

On Sat, Oct 21, 2023 at 2:27 AM mailto:wes...@technicien.io> > wrote:

Hi Philip,

Thank you very much for your answer.

I tried to disable all options (+devices) possible. Same issue.
And what's about disable acpi in the kernel using the bsd.re-config?

 

As Mike and Theo noted, this will certainly cause problems.

 

 

Do you think If I replace the wireless card by somthing else, It could resolve 
this issue?

 

Very unlikely.  The problem is the stack depth of the ACPI processing.  The 
crash you saw had the wifi interrupt occur during the ACPI processing but it 
could just as well happen with some other device interrupting the ACPI 
processing.

 

If there isn't a newer BIOS that resolves this, I would tend to return the box 
as not suitable.

 

 

Phlip Guenther



kernel panic (mii_phy_setmedia) on mac mini A1347

2011-12-19 Thread Wesley M.
nction 0 vendor "Intel", unknown
product 0x1c27 rev 0x05: apic 2 int 19
ehci1 at pci0 dev 29 function 7
"Intel 6 Series USB" rev 0x05: apic 2 int 22
usb1 at ehci1: USB revision
2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
pcib0 at pci0
dev 31 function 0 "Intel HM65 LPC" rev 0x05
pciide0 at pci0 dev 31 function
2 "Intel 6 Series SATA" rev 0x05: DMA, channel 0 configured to native-PCI,
channel 1 configured to native-PCI
pciide0: using apic 2 int 19 for
native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO,
LBA48, 476940MB, 976773168 sectors
wd0(pciide0:0:0): using PIO mode 4,
Ultra-DMA mode 6
"Intel 6 Series SMBus" rev 0x05 at pci0 dev 31 function 3
not configured
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI
root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at
usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at
isa0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
uhub4
at uhub0 port 1 "vendor 0x0424 product 0x2513" rev 2.00/b.b3 addr 2
uhub5
at uhub1 port 1 "vendor 0x0424 product 0x2513" rev 2.00/b.b3 addr 2
uhidev0
at uhub5 port 1 configuration 1 interface 0 "Apple Computer, Inc. IR
Receiver" rev 2.00/0.16 addr 3
uhidev0: iclass 3/0, 38 report ids
uhid at
uhidev0 reportid 36 not configured
uhid at uhidev0 reportid 37 not
configured
uhid at uhidev0 reportid 38 not configured
uhidev1 at uhub5 port
3 configuration 1 interface 0 "BTC USB Multimedia Keyboard" rev 1.10/1.00
addr 4
uhidev1: iclass 3/1
ukbd0 at uhidev1
wskbd0 at ukbd0: console
keyboard, using wsdisplay0
uhidev2 at uhub5 port 3 configuration 1
interface 1 "BTC USB Multimedia Keyboard" rev 1.10/1.00 addr 4
uhidev2:
iclass 3/0, 3 report ids
uhid at uhidev2 reportid 1 not configured
uhid at
uhidev2 reportid 2 not configured
uhid at uhidev2 reportid 3 not
configured
softraid0 at root
scsibus0 at softraid0: 256 targets
root on
rd0a swap on rd0b dump on rd0b
umass0 at uhub5 port 2 configuration 1
interface 0 "JetFlash Mass Storage Device" rev 2.00/11.00 addr 5
umass0:
using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
sd0 at
scsibus1 targ 1 lun 0:  SCSI0 0/direct removable
serial.85641000IT7IZ4KWB0DL
sd0: 7728MB, 512 bytes/sector, 15826944 sectors


Thank you very much for your help, your good work.

Regards, 

Wesley
MOUEDINE ASSABY
www.mouedine.net

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
ps.jpg]

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
trace.jpg]



kernel panic (mii_phy_setmedia) on mac mini A1347 with trace and ps picture url

2011-12-19 Thread Wesley M.
uhci1 at pci0 dev 29 function 0 vendor "Intel", unknown
product 0x1c27 rev 0x05: apic 2 int 19
ehci1 at pci0 dev 29 function 7
"Intel 6 Series USB" rev 0x05: apic 2 int 22
usb1 at ehci1: USB revision
2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
pcib0 at pci0
dev 31 function 0 "Intel HM65 LPC" rev 0x05
pciide0 at pci0 dev 31 function
2 "Intel 6 Series SATA" rev 0x05: DMA, channel 0 configured to native-PCI,
channel 1 configured to native-PCI
pciide0: using apic 2 int 19 for
native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO,
LBA48, 476940MB, 976773168 sectors
wd0(pciide0:0:0): using PIO mode 4,
Ultra-DMA mode 6
"Intel 6 Series SMBus" rev 0x05 at pci0 dev 31 function 3
not configured
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI
root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at
usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at
isa0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
uhub4
at uhub0 port 1 "vendor 0x0424 product 0x2513" rev 2.00/b.b3 addr 2
uhub5
at uhub1 port 1 "vendor 0x0424 product 0x2513" rev 2.00/b.b3 addr 2
uhidev0
at uhub5 port 1 configuration 1 interface 0 "Apple Computer, Inc. IR
Receiver" rev 2.00/0.16 addr 3
uhidev0: iclass 3/0, 38 report ids
uhid at
uhidev0 reportid 36 not configured
uhid at uhidev0 reportid 37 not
configured
uhid at uhidev0 reportid 38 not configured
uhidev1 at uhub5 port
3 configuration 1 interface 0 "BTC USB Multimedia Keyboard" rev 1.10/1.00
addr 4
uhidev1: iclass 3/1
ukbd0 at uhidev1
wskbd0 at ukbd0: console
keyboard, using wsdisplay0
uhidev2 at uhub5 port 3 configuration 1
interface 1 "BTC USB Multimedia Keyboard" rev 1.10/1.00 addr 4
uhidev2:
iclass 3/0, 3 report ids
uhid at uhidev2 reportid 1 not configured
uhid at
uhidev2 reportid 2 not configured
uhid at uhidev2 reportid 3 not
configured
softraid0 at root
scsibus0 at softraid0: 256 targets
root on
rd0a swap on rd0b dump on rd0b
umass0 at uhub5 port 2 configuration 1
interface 0 "JetFlash Mass Storage Device" rev 2.00/11.00 addr 5
umass0:
using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
sd0 at
scsibus1 targ 1 lun 0: SCSI0 0/direct removable
serial.85641000IT7IZ4KWB0DL
sd0: 7728MB, 512 bytes/sector, 15826944 sectors


Thank you very much for your help, your good work.

Regards, 

Wesley
MOUEDINE ASSABY
www.mouedine.net

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
ps.jpg]

[demime 1.01d removed an attachment of type image/jpeg which had a name of 
trace.jpg]



Re: kernel panic (mii_phy_setmedia) on mac mini A1347 with trace and ps picture url

2011-12-19 Thread Wesley M.
Hi Stuart,

I tried this : boot -c at boot prompt (startup)
I have this message : "kbc cmd word write error" just after.
And i can't use keyboard at UKC Prompt :(

Wesley.

On Mon, 19 Dec 2011 12:51:58 +, Stuart Henderson 
wrote:
> On 2011/12/19 16:10, Wesley M. wrote:
>> So i
>> tried to use 5.0 RELEASE.
>> This time, it formats quickly. But it is the same
>> way : kernel panic when it starts the network.
>> 
>> The following message
>> appear :
>> Starting network
>> panic: mii_phy_setmedia
>> Stopped at
>> Debugger+0x4:popl %ebp 
>> 
>> a "show panic" at the ddb prompt:
>> mii_phy_setmedia
> 
> You can try this patch. Apply, run 'cd /sys/dev/mii && make', then build
> a new kernel. Obviously you will need to get the new kernel on to the
> machine somehow; you can probably get it to boot with "boot -c",
> "disable bge", "quit" - then you will need to either use a USB ethernet
> device to get the source tree onto the machine, or copy a kernel built
> on another machine via USB storage.
> 
> Index: brgphy.c
> ===
> RCS file: /cvs/src/sys/dev/mii/brgphy.c,v
> retrieving revision 1.93
> diff -u -p -r1.93 brgphy.c
> --- brgphy.c  24 May 2010 21:23:23 -  1.93
> +++ brgphy.c  19 Dec 2011 12:43:02 -
> @@ -174,6 +174,8 @@ static const struct mii_phydesc brgphys[
> MII_STR_xxBROADCOM2_BCM5709S },
>   { MII_OUI_xxBROADCOM2,  MII_MODEL_xxBROADCOM2_BCM5709CAX,
> MII_STR_xxBROADCOM2_BCM5709CAX },
> + { MII_OUI_xxBROADCOM3,  MII_MODEL_xxBROADCOM3_BCM57765,
> +   MII_STR_xxBROADCOM3_BCM57765 },
>   { MII_OUI_xxBROADCOM3,  MII_MODEL_xxBROADCOM3_BCM57780,
> MII_STR_xxBROADCOM3_BCM57780 },
>   { MII_OUI_BROADCOM2,MII_MODEL_BROADCOM2_BCM5906,
> Index: miidevs
> ===
> RCS file: /cvs/src/sys/dev/mii/miidevs,v
> retrieving revision 1.116
> diff -u -p -r1.116 miidevs
> --- miidevs   21 Jan 2011 09:46:13 -  1.116
> +++ miidevs   19 Dec 2011 12:43:02 -
> @@ -159,6 +159,7 @@ model xxBROADCOM2 BCM5709C0x003c  BCM570
>  model xxBROADCOM2 BCM57610x003d  BCM5761 10/100/1000baseT PHY
>  model xxBROADCOM2 BCM5709S   0x003f  BCM5709S 1000/2500baseSX PHY
>  model xxBROADCOM3 BCM57780   0x0019  BCM57780 10/100/1000baseT PHY
> +model xxBROADCOM3 BCM57765   0x0024  BCM57765 10/100/1000baseT PHY
>  model BROADCOM BCM5400   0x0004  BCM5400 1000baseT PHY
>  model BROADCOM BCM5401   0x0005  BCM5401 1000baseT PHY
>  model BROADCOM BCM5411   0x0007  BCM5411 1000baseT PHY
> 
> Actually I don't see any reason why not to commit this as-is.
> It may not work but it's certainly not going to make things worse.
> Any OKs for this?
> 
>> I can't note "trace" message, i have no serial port on the mac... :(
> 
> Yes you can, just re-type it from the text on-screen. But in this case
> the ramdisk dmesg you included is enough.



patch bge for OpenBSD 4.9

2011-12-19 Thread Wesley M.
t;, unknown
product 0x1c27 rev 0x05: apic 2 int 19
ehci1 at pci0 dev 29 function 7
"Intel 6 Series USB" rev 0x05: apic 2 int 22
usb1 at ehci1: USB revision
2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
pcib0 at pci0
dev 31 function 0 "Intel HM65 LPC" rev 0x05
pciide0 at pci0 dev 31 function
2 "Intel 6 Series SATA" rev 0x05: DMA, channel 0 configured to native-PCI,
channel 1 configured to native-PCI
pciide0: using apic 2 int 19 for
native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: 
wd0: 16-sector PIO,
LBA48, 476940MB, 976773168 sectors
wd0(pciide0:0:0): using PIO mode 4,
Ultra-DMA mode 6
"Intel 6 Series SMBus" rev 0x05 at pci0 dev 31 function 3
not configured
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI
root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at
usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at
isa0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
uhub4
at uhub0 port 1 "vendor 0x0424 product 0x2513" rev 2.00/b.b3 addr 2
uhub5
at uhub1 port 1 "vendor 0x0424 product 0x2513" rev 2.00/b.b3 addr 2
uhidev0
at uhub5 port 1 configuration 1 interface 0 "Apple Computer, Inc. IR
Receiver" rev 2.00/0.16 addr 3
uhidev0: iclass 3/0, 38 report ids
uhid at
uhidev0 reportid 36 not configured
uhid at uhidev0 reportid 37 not
configured
uhid at uhidev0 reportid 38 not configured
uhidev1 at uhub5 port
3 configuration 1 interface 0 "BTC USB Multimedia Keyboard" rev 1.10/1.00
addr 4
uhidev1: iclass 3/1
ukbd0 at uhidev1
wskbd0 at ukbd0: console
keyboard, using wsdisplay0
uhidev2 at uhub5 port 3 configuration 1
interface 1 "BTC USB Multimedia Keyboard" rev 1.10/1.00 addr 4
uhidev2:
iclass 3/0, 3 report ids
uhid at uhidev2 reportid 1 not configured
uhid at
uhidev2 reportid 2 not configured
uhid at uhidev2 reportid 3 not
configured
softraid0 at root
scsibus0 at softraid0: 256 targets
root on
rd0a swap on rd0b dump on rd0b
umass0 at uhub5 port 2 configuration 1
interface 0 "JetFlash Mass Storage Device" rev 2.00/11.00 addr 5
umass0:
using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
sd0 at
scsibus1 targ 1 lun 0: SCSI0 0/direct removable
serial.85641000IT7IZ4KWB0DL
sd0: 7728MB, 512 bytes/sector, 15826944 sectors


Thank you very much for your help, your good work.

Regards, 

Wesley
MOUEDINE ASSABY
www.mouedine.net



Re: trendnet ethernet usb

2011-12-22 Thread Wesley M.
nterface 0 "BTC USB Multimedia
Keyboard" rev 1.10/1.00 addr 5
uhidev1: iclass 3/1
ukbd0 at uhidev1: 8 modifier keys, 6 key codes
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uhidev2 at uhub5 port 3 configuration 1 interface 1 "BTC USB Multimedia
Keyboard" rev 1.10/1.00 addr 5
uhidev2: iclass 3/0, 3 report ids
uhid3 at uhidev2 reportid 1: input=1, output=0, feature=0
uhid4 at uhidev2 reportid 2: input=3, output=0, feature=0
uhid5 at uhidev2 reportid 3: input=3, output=0, feature=8
sd0 detached
scsibus1 detached
umass0 detached
umass0 at uhub5 port 2 configuration 1 interface 0 "JetFlash Mass Storage
Device" rev 2.00/1.00 addr 4
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
sd0 at scsibus1 targ 1 lun 0:  SCSI2
0/direct removable
sd0: 7660MB, 512 bytes/sec, 15687680 sec total

Thank you very much for your helps.

Cheers,

Wesley.



On Thu, 22 Dec 2011 03:07:56 +1100, Jonathan Gray  wrote:
> The man page is not an exhaustive list, include the full dmesg
> with the device plugged in for a start and the output of
> "ifconfig axe0 media"
> 
> On Wed, Dec 21, 2011 at 04:24:58PM +0400, Wesley M. wrote:
>> i read man page axe(4) there's no my model trendnet TU2-ETG :(
>> So i suppose that it is not compatible :(
>> 
>> Wesley.
>> 
>> On Wed, 21 Dec 2011 16:10:35 +0400, "Wesley M."

>> wrote:
>> > tried on OpenBSD 5.0 : same problem
>> > ifconfig show :
>> > media : Ethernet none (none)
>> > 
>> > On Wed, 21 Dec 2011 16:04:36 +0400, "Wesley M."
>> > 
>> > wrote:
>> >> I plug on my OpenBSD 4.9 (fresh install) :Ethernet USB Device,
>> >> trendnet
>> >> TU2-ETG
>> >> It detects axe0, i configured it using dhcp, it doesn't
>> >> work.
>> >> Manually also doesn't work. Pf disabled, no traffic out 
>> >> 
>> >> any issue ?
>> >> 
>> >> 
>> >> Here dmesg | grep axe0 : 
>> >> 
>> >> axe0 at uhub5 port 2 configuration 1 interface
>> >> 0 "ASIX Electronics AX88178" rev 2.00/0.01 addr 5
>> >> axe0: AX88178, address
>> >> 00:50:b6:4e:5a:c9



Re: kernel panic (mii_phy_setmedia) on mac mini A1347 (bge device unknown)

2011-12-23 Thread Wesley M.
Hi,

So i installed a fresh OpenBSD 4.9 to try to patch the files : brgphy.c
and miidevs
I have the following error when compiling :
...
D_KERNEL  -c ../../../../dev/mii/brgphy.c
../../../../dev/mii/brgphy.c:177: error: 'MII_MODEL_xxBROADCOM3_BCM57765'
undeclared here (not in a function)
../../../../dev/mii/brgphy.c:178: error: 'MII_STR_xxBROADCOM3_BCM57765'
undeclared here (not in a function)
*** Error code 1

Stop in /usr/src/sys/arch/i386/compile/GENERIC (line 92 of
/usr/share/mk/sys.mk).

I just created a file "patch_bge" and add this content (thank's to Stuart
H.) :
Index: brgphy.c
===
RCS file: /cvs/src/sys/dev/mii/brgphy.c,v
retrieving revision 1.93
diff -u -p -r1.93 brgphy.c
--- brgphy.c24 May 2010 21:23:23 -  1.93
+++ brgphy.c19 Dec 2011 12:43:02 -
@@ -174,6 +174,8 @@ static const struct mii_phydesc brgphys[
  MII_STR_xxBROADCOM2_BCM5709S },
{ MII_OUI_xxBROADCOM2,  MII_MODEL_xxBROADCOM2_BCM5709CAX,
  MII_STR_xxBROADCOM2_BCM5709CAX },
+   { MII_OUI_xxBROADCOM3,  MII_MODEL_xxBROADCOM3_BCM57765,
+ MII_STR_xxBROADCOM3_BCM57765 },
{ MII_OUI_xxBROADCOM3,  MII_MODEL_xxBROADCOM3_BCM57780,
  MII_STR_xxBROADCOM3_BCM57780 },
{ MII_OUI_BROADCOM2,MII_MODEL_BROADCOM2_BCM5906,
Index: miidevs
===
RCS file: /cvs/src/sys/dev/mii/miidevs,v
retrieving revision 1.116
diff -u -p -r1.116 miidevs
--- miidevs 21 Jan 2011 09:46:13 -  1.116
+++ miidevs 19 Dec 2011 12:43:02 -
@@ -159,6 +159,7 @@ model xxBROADCOM2 BCM5709C  0x003c  BCM570
 model xxBROADCOM2 BCM5761  0x003d  BCM5761 10/100/1000baseT PHY
 model xxBROADCOM2 BCM5709S 0x003f  BCM5709S 1000/2500baseSX PHY
 model xxBROADCOM3 BCM57780 0x0019  BCM57780 10/100/1000baseT PHY
+model xxBROADCOM3 BCM57765 0x0024  BCM57765 10/100/1000baseT PHY
 model BROADCOM BCM5400 0x0004  BCM5400 1000baseT PHY
 model BROADCOM BCM5401 0x0005  BCM5401 1000baseT PHY
 model BROADCOM BCM5411 0x0007  BCM5411 1000baseT PHY

cd /usr/src/sys/dev/mii
patch -p0 < patch_bge

and compile... error :(

If someone can help me.

Wesley.

On Mon, 19 Dec 2011 12:51:58 +, Stuart Henderson 
wrote:
> On 2011/12/19 16:10, Wesley M. wrote:
>> So i
>> tried to use 5.0 RELEASE.
>> This time, it formats quickly. But it is the same
>> way : kernel panic when it starts the network.
>> 
>> The following message
>> appear :
>> Starting network
>> panic: mii_phy_setmedia
>> Stopped at
>> Debugger+0x4:popl %ebp 
>> 
>> a "show panic" at the ddb prompt:
>> mii_phy_setmedia
> 
> You can try this patch. Apply, run 'cd /sys/dev/mii && make', then build
> a new kernel. Obviously you will need to get the new kernel on to the
> machine somehow; you can probably get it to boot with "boot -c",
> "disable bge", "quit" - then you will need to either use a USB ethernet
> device to get the source tree onto the machine, or copy a kernel built
> on another machine via USB storage.
> 
> Index: brgphy.c
> ===
> RCS file: /cvs/src/sys/dev/mii/brgphy.c,v
> retrieving revision 1.93
> diff -u -p -r1.93 brgphy.c
> --- brgphy.c  24 May 2010 21:23:23 -  1.93
> +++ brgphy.c  19 Dec 2011 12:43:02 -
> @@ -174,6 +174,8 @@ static const struct mii_phydesc brgphys[
> MII_STR_xxBROADCOM2_BCM5709S },
>   { MII_OUI_xxBROADCOM2,  MII_MODEL_xxBROADCOM2_BCM5709CAX,
> MII_STR_xxBROADCOM2_BCM5709CAX },
> + { MII_OUI_xxBROADCOM3,  MII_MODEL_xxBROADCOM3_BCM57765,
> +   MII_STR_xxBROADCOM3_BCM57765 },
>   { MII_OUI_xxBROADCOM3,  MII_MODEL_xxBROADCOM3_BCM57780,
> MII_STR_xxBROADCOM3_BCM57780 },
>   { MII_OUI_BROADCOM2,MII_MODEL_BROADCOM2_BCM5906,
> Index: miidevs
> ===
> RCS file: /cvs/src/sys/dev/mii/miidevs,v
> retrieving revision 1.116
> diff -u -p -r1.116 miidevs
> --- miidevs   21 Jan 2011 09:46:13 -  1.116
> +++ miidevs   19 Dec 2011 12:43:02 -
> @@ -159,6 +159,7 @@ model xxBROADCOM2 BCM5709C0x003c  BCM570
>  model xxBROADCOM2 BCM57610x003d  BCM5761 10/100/1000baseT PHY
>  model xxBROADCOM2 BCM5709S   0x003f  BCM5709S 1000/2500baseSX PHY
>  model xxBROADCOM3 BCM57780   0x0019  BCM57780 10/100/1000baseT PHY
> +model xxBROADCOM3 BCM57765   0x0024  BCM57765 10/100/1000baseT PHY
>  model BROADCOM BCM5400   0x0004  BCM5400 1000baseT PHY
>  model BROADCOM BCM5401   0x0005  BCM5401 1000baseT P

Re: kernel panic (mii_phy_setmedia) on mac mini A1347 (bge device unknown)

2011-12-23 Thread Wesley M.
Thank you very much. 

It works, i can now use bge0 on the mac mini.
(OpenBSD 4.9)

Wesley.



Perhaps a bug in installation (OpenBSD 5.7)

2015-10-01 Thread Wesley MOUEDINE ASSABY

Hi,

During OpenBSD 5.7 installation just after choosing DHCP ; i done 
Ctrl-C to
break the installation because i remembered that i need to set manual 
IP

address.

So i type "install" at prompt to run again the installation.

I can set IP address and netmask ; but gateway is not asked anymore 
(Bug?).


At reboot, i need to configure '/etc/mygate' && 'sh /etc/netstart' ;
It seems to me that i need also to modify /etc/myname ; resolv.conf is 
OK.


Thank you very much.


Cheers,

Wesley MOUEDINE ASSABY



Olivetti olibook S1350 snap20140820_i386

2014-08-21 Thread Wesley MOUEDINE ASSABY
>From root@snap56.20140820.i386 Thu Aug 21 22:32:55 2014
Return-Path: root@snap56.20140820.i386
Delivered-To: root@snap56.20140820.i386
Received: from localhost (0@localhost [local]);
by localhost (OpenSMTPD) with ESMTPA id 5a33a947;
Thu, 21 Aug 2014 22:32:55 +0400 (RET)
Date: Thu, 21 Aug 2014 22:32:55 +0400 (RET)
Message-Id: <8156984609788695451.enqueue@snap56.20140820.i386>
To: bugs@openbsd.org
Subject:
From: root@snap56.20140820.i386
Cc: root@snap56.20140820.i386
Reply-To: root
Status: R

>Synopsis:  
>Category:  
>Environment:
System  : OpenBSD 5.6
Details : OpenBSD 5.6-current (GENERIC.MP) #303: Tue Aug 19
23:30:44 MDT 2014
 dera...@i386.openbsd.org:
/usr/src/sys/arch/i386/compile/GENERIC.MP

Architecture: OpenBSD.i386
Machine : i386
>Description:

>How-To-Repeat:

>Fix:



dmesg:
OpenBSD 5.6-current (GENERIC.MP) #303: Tue Aug 19 23:30:44 MDT 2014
dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Core(TM) i3 CPU U 330 @ 1.20GHz ("GenuineIntel" 686-class)
1.20 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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,LAHF,PERF,ITSC
real mem  = 3009986560 (2870MB)
avail mem = 2948382720 (2811MB)
User Kernel Config
UKC> disqb\^H \^H\^H \^Hable acpi
491 acpi0 disabled
UKC> quit
Continuing...
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/27/09, SMBIOS rev. 2.6 @
0xb3594018 (108 entries)
bios0: vendor American Megatrends Inc. version "Spring Peak" date 07/30/2010
acpi at bios0 function 0x0 not configured
mpbios0 at bios0: Intel MP Specification 1.4
cpu0 at mainbus0: apid 0 (boot processor)
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 133MHz
cpu0: mwait min=64, max=64, C-substates=0.2.1.1.0, IBE
cpu1 at mainbus0: apid 4 (application processor)
cpu1: Intel(R) Core(TM) i3 CPU U 330 @ 1.20GHz ("GenuineIntel" 686-class)
1.20 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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,POPCNT,LAHF,PERF,ITSC
mpbios0: bus 0 is type PCI
mpbios0: bus 1 is type PCI
mpbios0: bus 2 is type PCI
mpbios0: bus 3 is type PCI
mpbios0: bus 4 is type ISA
ioapic0 at mainbus0: apid 0 pa 0xfec0, version 20, 24 pins
pcibios at bios0 function 0x1a not configured
bios0: ROM list: 0xc/0xf400! 0xcf800/0x1000
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel Core Host" rev 0x18
vga1 at pci0 dev 2 function 0 "Intel HD Graphics" rev 0x18
intagp0 at vga1
agp0 at intagp0: aperture at 0xc000, size 0x1000
inteldrm0 at vga1
drm0 at inteldrm0
inteldrm0: 1366x768
wsdisplay0 at vga1 mux 1: console (std, vt100 emulation)
wsdisplay0: screen 1-5 added (std, vt100 emulation)
"Intel 3400 MEI" rev 0x06 at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0 "Intel 3400 USB" rev 0x06: apic 0 int 16
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 3400 HD Audio" rev 0x06: msi
azalia0: codecs: Realtek ALC269, Intel/0x2804, using Realtek ALC269
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 3400 PCIE" rev 0x06: apic 0 int 17
pci1 at ppb0 bus 1
iwn0 at pci1 dev 0 function 0 "Intel Centrino Wireless-N 2230" rev 0xc4:
msi, MIMO 2T2R, BGN, address 68:17:29:9e:ba:42
ppb1 at pci0 dev 28 function 4 "Intel 3400 PCIE" rev 0x06: apic 0 int 17
pci2 at ppb1 bus 2
re0 at pci2 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E
(0x2c00), msi, address 1c:6f:65:37:0b:37
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 4
ehci1 at pci0 dev 29 function 0 "Intel 3400 USB" rev 0x06: apic 0 int 23
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb2 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xa6
pci3 at ppb2 bus 3
pcib0 at pci0 dev 31 function 0 "Intel HM55 LPC" rev 0x06
ahci0 at pci0 dev 31 function 2 "Intel 3400 AHCI" rev 0x06: msi, AHCI 1.3
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0:  SCSI3 0/direct
fixed naa.5001517bb2a82d7e
sd0: 114473MB, 512 bytes/sector, 234441648 sectors, thin
ichiic0 at pci0 dev 31 function 3 "Intel 3400 SMBus" rev 0x06: apic 0 int 18
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-10600 SO-DIMM
spdmem1 at iic0 addr 0x52: 2GB DDR3 SDRAM PC3-10600 SO-DIMM
itherm0 at pci0 dev 31 function 6 "Intel 3400 Thermal" rev 0x06
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux sl

Re: At boot startup, black screen

2014-12-14 Thread Wesley MOUEDINE ASSABY
I reinstalled it with the last snapshots.
Installation process using http method: OK

At startup, i get the black screen after this line:
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16

Noway to connect from an other computer: no pings and no ssh;
So init doesnt start /etc/rc (so no dmesg.boot in /var/run)

The only way i found, is to make screenshots :

http://snag.gy/lnqUE.jpg
http://snag.gy/aQg7a.jpg
http://snag.gy/9eRyC.jpg
http://snag.gy/ruCob.jpg
http://snag.gy/Fk6zI.jpg
http://snag.gy/TEcWt.jpg

Hope this will help to debug.



2014-12-12 20:12 GMT+04:00 Theo de Raadt :
>
> > >Synopsis: UKC>
>
> > OpenBSD 5.6-current (GENERIC.MP) #609: Thu Dec 11 21:36:32 MST 2014
> > dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
> > cpu0: Intel(R) Core(TM) i3 CPU 540 @ 3.07GHz ("GenuineIntel" 686-class)
> 3.06 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,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,LAHF,PERF,ITSC
> > real mem  = 3144695808 (2999MB)
> > avail mem = 3080982528 (2938MB)
> > User Kernel Config
> > UKC> disqbl\^H \^H\^H \^H\^H \^Hable acpi
> > 492 acpi0 disabled
> > UKC> di\^H \^H\^H \^Hquit
> > Continuing...
> > mpath0 at root
> > scsibus0 at mpath0: 256 targets
> > mainbus0 at root
> > bios0 at mainbus0: AT/286+ BIOS, date 11/30/09, BIOS32 rev. 0 @ 0xf0010,
> SMBIOS rev. 2.6 @ 0xfbac0 (45 entries)
> > bios0: vendor Dell Inc. version "A02" date 11/30/2009
> > bios0: Dell Inc. Inspiron 580
> > acpi at bios0 function 0x0 not configured
> > mpbios0 at bios0: Intel MP Specification 1.4
>
> A major problem.
>
> You have now disabled acpi.  Now your machine is using mpbios.  And
> that means everything changes.  Your dmesg is now useless to us.
> Everything before the acpi line is uninteresting and uninformative,
> but everything after the mpbios line influenced by MPBIOS, so it is
> not very useful either.
>
> One day you guys are going to stop following the 'disable acpi'
> recipe, but until then the replies will remain the same: What you just
> submitted as a bug report is useless.  A 'disable acpi' dmest does not
> help find the problem.
>
> What you should have done is get the machine setup well enough that
> you can login from remote in the failing configuration, then collect
> the information.
>


-- 

==wma