Re: Available disks are: none at installation of OpenBSD 5.5

2014-09-22 Thread ML mail
No chances neither with a USB key. Could this be a bug in OpenBSD? If yes where 
would I report that?




On Friday, September 19, 2014 5:07 PM, ML mail mlnos...@yahoo.com wrote:
A small update: I now have tried switching to IDE mode instead of AHCI in the 
BIOS and also have tried two different disk devices (250 GB SATA HD, 4 GB SATA 
DOM) on different ports but still the same results. No drives available.






On Thursday, September 18, 2014 7:33 PM, Nick Holland 
n...@holland-consulting.net wrote:
On 09/18/14 12:27, ML mail wrote:



 Hi,

 I'm trying to install OpenBSD 5.5 (amd64) to use as a firewall on a
 SATA flash drive of 8 GB. Unfortuantely the drive does not get
 detected by OpenBSD at the installation so I am unable to install
 OpenBSD.

 The relevant output of the dmesg would be the following:

If you know what the relevant output is, you could probably
fix the problem.
don't snip your dmesg.
...
But ... sounds like sucky hw.

I'd start by swapping out the SATA cables (I think I've had some issues
with that).  Try a real SATA disk.  If the real disk works, your flash 
drive or its adapter is bad (or ahci-uncooperative)

If it seems OpenBSD just doesn't work with that SATA port (with a real 
disk), try -current and see if that works better.  If not, post a full 
dmesg so we can figure out what we are dealing with.

To get running today, I'd see if you can degrade the port to non-AHCI 
mode -- it will be slower, but for a firewall?  Who cares.  Won't notice 
with most flash devices anyway.  Or use a USB flash drive instead of a SATA.

Nick.



Re: Available disks are: none at installation of OpenBSD 5.5

2014-09-19 Thread ML mail
Thanks for the tip, I now tried OpenBSD 5.6-current from the FTP snapshot but 
still no disks available. As suggested by the others I post here below the full 
dmesg output:

OpenBSD 5.6-current (RAMDISK_CD) #351: Wed Sep 17 12:10:28 MDT 2014
t...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/RAMDISK_CD
real mem = 17101213696 (16308MB)
avail mem = 16640602112 (15869MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xec120 (77 entries)
bios0: vendor American Megatrends Inc. version 4.6.5 date 03/19/2014
bios0: Intel EPGSVR
acpi0 at bios0: rev 2
acpi0: sleep states S0
acpi0: tables DSDT FACP APIC FPDT SSDT MCFG HPET SSDT SSDT SPMI ASF! SPCR DMAR 
EINJ ERST HEST BERT
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Xeon(R) CPU E3-1275 v3 @ 3.50GHz, 3691.92 MHz
cpu0: 
FPU,VME,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,SSE3,PCLMUL,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,FMA3,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,DEADLINE,AES,XSAVE,AVX,F16C,RDRAND,NXE,PAGE1GB,LONG,LAHF,ABM,PERF,ITSC,FSGSBASE,BMI1,HLE,AVX2,SMEP,BMI2,ERMS,INVPCID,RTM
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: apic clock running at 99MHz
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 4 (RP01)
acpiprt2 at acpi0: bus 5 (RP04)
acpiprt3 at acpi0: bus 1 (P0P2)
acpiprt4 at acpi0: bus 2 (P0PA)
acpiprt5 at acpi0: bus 3 (P0PB)
acpiprt6 at acpi0: bus 1 (PEG0)
acpiprt7 at acpi0: bus 2 (PEG1)
acpiprt8 at acpi0: bus 3 (PEG2)
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 Intel Xeon E3-1200 v3 Host rev 0x06
ppb0 at pci0 dev 1 function 0 Intel Core 4G PCIE rev 0x06: msi
pci1 at ppb0 bus 1
ix0 at pci1 dev 0 function 0 Intel 82599 rev 0x01: msi, address 
00:10:f3:2b:1b:9c
ix1 at pci1 dev 0 function 1 Intel 82599 rev 0x01: msi, address 
00:10:f3:2b:1b:9d
ppb1 at pci0 dev 1 function 1 Intel Core 4G PCIE rev 0x06: msi
pci2 at ppb1 bus 2
em0 at pci2 dev 0 function 0 Intel I350 rev 0x01: msi, address 
00:10:f3:3b:70:a2
em1 at pci2 dev 0 function 1 Intel I350 rev 0x01: msi, address 
00:10:f3:3b:70:a3
em2 at pci2 dev 0 function 2 Intel I350 rev 0x01: msi, address 
00:10:f3:3b:70:a4
em3 at pci2 dev 0 function 3 Intel I350 rev 0x01: msi, address 
00:10:f3:3b:70:a5
ppb2 at pci0 dev 1 function 2 Intel Core 4G PCIE rev 0x06: msi
pci3 at ppb2 bus 3
em4 at pci3 dev 0 function 0 Intel I350 rev 0x01: msi, address 
00:10:f3:3b:70:a6
em5 at pci3 dev 0 function 1 Intel I350 rev 0x01: msi, address 
00:10:f3:3b:70:a7
em6 at pci3 dev 0 function 2 Intel I350 rev 0x01: msi, address 
00:10:f3:3b:70:a8
em7 at pci3 dev 0 function 3 Intel I350 rev 0x01: msi, address 
00:10:f3:3b:70:a9
Intel 8 Series xHCI rev 0x05 at pci0 dev 20 function 0 not configured
ehci0 at pci0 dev 26 function 0 Intel 8 Series USB rev 0x05: apic 2 int 16
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb3 at pci0 dev 28 function 0 Intel 8 Series PCIE rev 0xd5: msi
pci4 at ppb3 bus 4
ppb4 at pci0 dev 28 function 3 Intel 8 Series PCIE rev 0xd5: msi
pci5 at ppb4 bus 5
ppb5 at pci5 dev 0 function 0 ASPEED Technology AST1150 PCI rev 0x02
pci6 at ppb5 bus 6
vga1 at pci6 dev 0 function 0 ASPEED Technology AST2000 rev 0x21
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
ehci1 at pci0 dev 29 function 0 Intel 8 Series USB rev 0x05: apic 2 int 23
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 Intel EHCI root hub rev 2.00/1.00 addr 1
Intel C226 LPC rev 0x05 at pci0 dev 31 function 0 not configured
ahci0 at pci0 dev 31 function 2 Intel 8 Series AHCI rev 0x05: msi, AHCI 1.3
scsibus0 at ahci0: 32 targets
ahci0: attempting to idle device
ahci0: stopping the port, softreset slot 31 was still active.
ahci0: failed to soft reset device
Intel 8 Series SMBus rev 0x05 at pci0 dev 31 function 3 not configured
isa0 at mainbus0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
com2 at isa0 port 0x3e8/8 irq 5: ns16550a, 16 byte fifo
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
uhub2 at uhub0 port 1 vendor 0x8087 product 0x8008 rev 2.00/0.05 addr 2
uhub3 at uhub1 port 1 vendor 0x8087 product 0x8000 rev 2.00/0.05 addr 2
uhidev0 at uhub3 port 3 configuration 1 interface 0 Logitech Logitech USB 
Keyboard rev 1.10/23.00 addr 3
uhidev0: iclass 3/1
ukbd0 at uhidev0
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub3 port 3 configuration 1 interface 1 Logitech Logitech USB 
Keyboard rev 1.10/23.00 addr 3
uhidev1: iclass 3/0, 2 report ids
uhid at uhidev1 reportid 1 

Re: Available disks are: none at installation of OpenBSD 5.5

2014-09-19 Thread ML mail
A small update: I now have tried switching to IDE mode instead of AHCI in the 
BIOS and also have tried two different disk devices (250 GB SATA HD, 4 GB SATA 
DOM) on different ports but still the same results. No drives available.



On Thursday, September 18, 2014 7:33 PM, Nick Holland 
n...@holland-consulting.net wrote:
On 09/18/14 12:27, ML mail wrote:



 Hi,

 I'm trying to install OpenBSD 5.5 (amd64) to use as a firewall on a
 SATA flash drive of 8 GB. Unfortuantely the drive does not get
 detected by OpenBSD at the installation so I am unable to install
 OpenBSD.

 The relevant output of the dmesg would be the following:

If you know what the relevant output is, you could probably
fix the problem.
don't snip your dmesg.
...
But ... sounds like sucky hw.

I'd start by swapping out the SATA cables (I think I've had some issues
with that).  Try a real SATA disk.  If the real disk works, your flash 
drive or its adapter is bad (or ahci-uncooperative)

If it seems OpenBSD just doesn't work with that SATA port (with a real 
disk), try -current and see if that works better.  If not, post a full 
dmesg so we can figure out what we are dealing with.

To get running today, I'd see if you can degrade the port to non-AHCI 
mode -- it will be slower, but for a firewall?  Who cares.  Won't notice 
with most flash devices anyway.  Or use a USB flash drive instead of a SATA.

Nick.



Available disks are: none at installation of OpenBSD 5.5

2014-09-18 Thread ML mail
Hi,

I'm trying to install OpenBSD 5.5 (amd64) to use as a firewall on a SATA flash 
drive of 8 GB. Unfortuantely the drive does not get detected by OpenBSD at the 
installation so I am unable to install OpenBSD.

The relevant output of the dmesg would be the following:


Intel C226 LPC rev 0x05 at pci0 dev 31 function 0 not configured
ahci0 at pci0 dev 31 function 2 Intel 8 Series AHCI rev 0x05: msi, AHCI 1.3
ahci0: device on port 1 didn't come ready, TFD: 0x80BSY
ahci0: stopping the port, softreset slot 31 was still active.
ahci0: unable to communicate with device on port 1

Any ideas for a workaround or fix?

Regards
ML



Re: Available disks are: none at installation of OpenBSD 5.5

2014-09-18 Thread Nick Holland

On 09/18/14 12:27, ML mail wrote:

Hi,

I'm trying to install OpenBSD 5.5 (amd64) to use as a firewall on a
SATA flash drive of 8 GB. Unfortuantely the drive does not get
detected by OpenBSD at the installation so I am unable to install
OpenBSD.

The relevant output of the dmesg would be the following:


If you know what the relevant output is, you could probably
fix the problem.
don't snip your dmesg.
...
But ... sounds like sucky hw.

I'd start by swapping out the SATA cables (I think I've had some issues
with that).  Try a real SATA disk.  If the real disk works, your flash 
drive or its adapter is bad (or ahci-uncooperative)


If it seems OpenBSD just doesn't work with that SATA port (with a real 
disk), try -current and see if that works better.  If not, post a full 
dmesg so we can figure out what we are dealing with.


To get running today, I'd see if you can degrade the port to non-AHCI 
mode -- it will be slower, but for a firewall?  Who cares.  Won't notice 
with most flash devices anyway.  Or use a USB flash drive instead of a SATA.


Nick.



Re: Available disks are: none at installation of OpenBSD 5.5

2014-09-18 Thread Chris Cappuccio
Try OpenBSD 5.6, a workaround was provided in ahci for this issue.

Or, recompile your OpenBSD 5.5 kernel with this patch:

http://openbsd.cs.toronto.edu/cgi-bin/cvsweb/src/sys/dev/ic/ahci.c.diff?r1=1.13r2=1.14

ML mail [mlnos...@yahoo.com] wrote:
 Hi,
 
 I'm trying to install OpenBSD 5.5 (amd64) to use as a firewall on a SATA 
 flash drive of 8 GB. Unfortuantely the drive does not get detected by OpenBSD 
 at the installation so I am unable to install OpenBSD.
 
 The relevant output of the dmesg would be the following:
 
 
 Intel C226 LPC rev 0x05 at pci0 dev 31 function 0 not configured
 ahci0 at pci0 dev 31 function 2 Intel 8 Series AHCI rev 0x05: msi, AHCI 1.3
 ahci0: device on port 1 didn't come ready, TFD: 0x80BSY
 ahci0: stopping the port, softreset slot 31 was still active.
 ahci0: unable to communicate with device on port 1
 
 Any ideas for a workaround or fix?
 
 Regards
 ML

-- 
The bums will always lose