Re: ssd drive disappears when booting

2019-02-18 Thread Nick Holland
On 2/17/19 2:57 AM, Jason McIntyre wrote:
> On Sun, Feb 17, 2019 at 01:23:44AM +, tfrohw...@fastmail.com wrote:
...
>> This sounds like the problem that I (and others) have seen when the hard 
>> drive is set to RAID in the Bios/firmware. Try setting it to AHCI if your 
>> bios lets you.
>> 
> 
> wow, that was exactly it! i don;t understand how it was running one
> minute, and then changed, but setting the drive to ahci worked (it was
> indeed parked on raid).
> 
> thanks so much - you just saved me a ton of hassle.
> 
> jmc
> 
> OpenBSD 6.4-current (GENERIC.MP) #713: Wed Feb 13 22:35:28 MST 2019
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
...
> bios0: vendor Dell Inc. version "A15" date 08/15/2012

Your CMOS battery is dying.
I've got a Dell a bit newer than yours with the same problem -- under
circumstances I haven't quite figured out, the CMOS resets to default,
which, oddly, is RAID.

Nick.



Re: ssd drive disappears when booting

2019-02-16 Thread Jason McIntyre
On Sun, Feb 17, 2019 at 01:23:44AM +, tfrohw...@fastmail.com wrote:
> On February 16, 2019 6:41:49 PM UTC, Jason McIntyre  
> wrote:
> >hi. hoping someone knows what's happening here...
> >
> >i installed -current amd64 on an old dell latitude e6320 laptop.
> >it ran fine for a few hours, but on a subsequent reboot the disk (an
> >ssd)
> >seemed to disappear:
> >
> > ...
> > softraid0 at root
> > scsibus2 at softraid0: 256 targets
> > root device:<- hit 
> > use one of: exit em0 iwn0
> > root device:
> >
> >i.e. it fails to find sd0. i thought it was a hardware issue.
> >i don;t want to open this thing up. but i thought initially the drive
> >was
> >either dead or somehow disconnected. but at the bios level, the machine
> >reports the disk is ok (i ran some bios diagnostics on it).
> >
> >so what i tried:
> >
> > boot>
> > boot hd0a:/bsd
> >
> >that just fails in the same way.
> >
> > boot> machine diskinfo
> > DiskBIOS#   TypeCylsHeads   SecsFlags   Checksum
> > hd0 0x80label   1023255 63  0x2 0xd53d9ad8
> >
> >that looks ok.
> >
> > boot> ls
> > drwxr-xr-x 0,0 512  . 
> > drwxr-xr-x 0,0 512  ..
> > drwxr-xr-x 0,0 512  home
> > drwxr-xr-x 0,0 512  tmp
> > drwxr-xr-x 0,0 512  usr
> > drwxr-xr-x 0,0 512  var
> > -rwx-- 0,0 15696910 bsd
> > -rw--- 0,0 15696910 bsd.rd
> > drwxr-xr-x 0,0 512  altroot
> > drwxr-xr-x 0,0 1024 bin 
> > drwxr-xr-x 0,0 19456dev
> > drwxr-xr-x 0,0 1536 etc
> > drwxr-xr-x 0,0 512  mnt
> > drwxr-xr-x 0,0 512  root
> > drwxr-xr-x 0,0 1536 sbin
> > -rw-r--r-- 0,0 578  .cshrc
> > -rw-r--r-- 0,0 468  .profile
> > stat(hda0/./sys): No such file or directory
> > -rw-r--r-- 0,0 82320boot
> > -rw--- 0,0 15579327 bsd.sp
> > -rw--- 0,0 15714870 bsd.booted
> >
> >so at this level i can see the disk. but when i boot it's not found.
> >
> >trying fresh installs just end the same way - it fails to locate the
> >disk. so i can;t use anything like fdisk to dig around.
> >
> >any opinions on whether the issue is with the disk, or whether there's
> >anything else i can try?
> >
> >sorry i have no up to date dmesg for this machine ;(
> >
> >thanks,
> >jmc
> 
> This sounds like the problem that I (and others) have seen when the hard 
> drive is set to RAID in the Bios/firmware. Try setting it to AHCI if your 
> bios lets you.
> 

wow, that was exactly it! i don;t understand how it was running one
minute, and then changed, but setting the drive to ahci worked (it was
indeed parked on raid).

thanks so much - you just saved me a ton of hassle.

jmc

OpenBSD 6.4-current (GENERIC.MP) #713: Wed Feb 13 22:35:28 MST 2019
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8448847872 (8057MB)
avail mem = 8183095296 (7804MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xf2120 (106 entries)
bios0: vendor Dell Inc. version "A15" date 08/15/2012
bios0: Dell Inc. Latitude E6320
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC TCPA SSDT MCFG HPET BOOT SSDT SSDT SLIC
acpi0: wakeup devices HDEF(S4) GLAN(S4) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4) 
PXSX(S4) RP04(S4) PXSX(S4) RP05(S4) PXSX(S4) RP06(S4) PXSX(S4) RP07(S4) 
PXSX(S4) RP08(S4) [...]
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2494.69 MHz, 06-2a-07
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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu0: 256KB 64b/line 8-way L2 cache
cpu0: smt 0, core 0, package 0
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 2 (application processor)
cpu1: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2494.33 MHz, 06-2a-07
cpu1: 
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,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,POPCNT,DEADLINE,AES,XSAVE,AVX,NXE,RDTSCP,LONG,LAHF,PERF,ITSC,IBRS,IBPB,STIBP,L1DF,SSBD,SENSOR,ARAT,XSAVEOPT,MELTDOWN
cpu1: 256KB 64b/line 8-way L2 cache
cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 1 (application processor)
cpu2: Intel(R) Core(TM) i5-2520M CPU @ 2.50GHz, 2494.34 MHz, 06-2a-07
cpu2: 
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,PC

Re: ssd drive disappears when booting

2019-02-16 Thread tfrohw...@fastmail.com
On February 16, 2019 6:41:49 PM UTC, Jason McIntyre  wrote:
>hi. hoping someone knows what's happening here...
>
>i installed -current amd64 on an old dell latitude e6320 laptop.
>it ran fine for a few hours, but on a subsequent reboot the disk (an
>ssd)
>seemed to disappear:
>
>   ...
>   softraid0 at root
>   scsibus2 at softraid0: 256 targets
>   root device:<- hit 
>   use one of: exit em0 iwn0
>   root device:
>
>i.e. it fails to find sd0. i thought it was a hardware issue.
>i don;t want to open this thing up. but i thought initially the drive
>was
>either dead or somehow disconnected. but at the bios level, the machine
>reports the disk is ok (i ran some bios diagnostics on it).
>
>so what i tried:
>
>   boot>
>   boot hd0a:/bsd
>
>that just fails in the same way.
>
>   boot> machine diskinfo
>   DiskBIOS#   TypeCylsHeads   SecsFlags   Checksum
>   hd0 0x80label   1023255 63  0x2 0xd53d9ad8
>
>that looks ok.
>
>   boot> ls
>   drwxr-xr-x 0,0 512  . 
>   drwxr-xr-x 0,0 512  ..
>   drwxr-xr-x 0,0 512  home
>   drwxr-xr-x 0,0 512  tmp
>   drwxr-xr-x 0,0 512  usr
>   drwxr-xr-x 0,0 512  var
>   -rwx-- 0,0 15696910 bsd
>   -rw--- 0,0 15696910 bsd.rd
>   drwxr-xr-x 0,0 512  altroot
>   drwxr-xr-x 0,0 1024 bin 
>   drwxr-xr-x 0,0 19456dev
>   drwxr-xr-x 0,0 1536 etc
>   drwxr-xr-x 0,0 512  mnt
>   drwxr-xr-x 0,0 512  root
>   drwxr-xr-x 0,0 1536 sbin
>   -rw-r--r-- 0,0 578  .cshrc
>   -rw-r--r-- 0,0 468  .profile
>   stat(hda0/./sys): No such file or directory
>   -rw-r--r-- 0,0 82320boot
>   -rw--- 0,0 15579327 bsd.sp
>   -rw--- 0,0 15714870 bsd.booted
>
>so at this level i can see the disk. but when i boot it's not found.
>
>trying fresh installs just end the same way - it fails to locate the
>disk. so i can;t use anything like fdisk to dig around.
>
>any opinions on whether the issue is with the disk, or whether there's
>anything else i can try?
>
>sorry i have no up to date dmesg for this machine ;(
>
>thanks,
>jmc

This sounds like the problem that I (and others) have seen when the hard drive 
is set to RAID in the Bios/firmware. Try setting it to AHCI if your bios lets 
you.



ssd drive disappears when booting

2019-02-16 Thread Jason McIntyre
hi. hoping someone knows what's happening here...

i installed -current amd64 on an old dell latitude e6320 laptop.
it ran fine for a few hours, but on a subsequent reboot the disk (an ssd)
seemed to disappear:

...
softraid0 at root
scsibus2 at softraid0: 256 targets
root device:<- hit 
use one of: exit em0 iwn0
root device:

i.e. it fails to find sd0. i thought it was a hardware issue.
i don;t want to open this thing up. but i thought initially the drive was
either dead or somehow disconnected. but at the bios level, the machine
reports the disk is ok (i ran some bios diagnostics on it).

so what i tried:

boot>
boot hd0a:/bsd

that just fails in the same way.

boot> machine diskinfo
DiskBIOS#   TypeCylsHeads   SecsFlags   Checksum
hd0 0x80label   1023255 63  0x2 0xd53d9ad8

that looks ok.

boot> ls
drwxr-xr-x 0,0 512  . 
drwxr-xr-x 0,0 512  ..
drwxr-xr-x 0,0 512  home
drwxr-xr-x 0,0 512  tmp
drwxr-xr-x 0,0 512  usr
drwxr-xr-x 0,0 512  var
-rwx-- 0,0 15696910 bsd
-rw--- 0,0 15696910 bsd.rd
drwxr-xr-x 0,0 512  altroot
drwxr-xr-x 0,0 1024 bin 
drwxr-xr-x 0,0 19456dev
drwxr-xr-x 0,0 1536 etc
drwxr-xr-x 0,0 512  mnt
drwxr-xr-x 0,0 512  root
drwxr-xr-x 0,0 1536 sbin
-rw-r--r-- 0,0 578  .cshrc
-rw-r--r-- 0,0 468  .profile
stat(hda0/./sys): No such file or directory
-rw-r--r-- 0,0 82320boot
-rw--- 0,0 15579327 bsd.sp
-rw--- 0,0 15714870 bsd.booted

so at this level i can see the disk. but when i boot it's not found.

trying fresh installs just end the same way - it fails to locate the
disk. so i can;t use anything like fdisk to dig around.

any opinions on whether the issue is with the disk, or whether there's
anything else i can try?

sorry i have no up to date dmesg for this machine ;(

thanks,
jmc