|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
What's happening here? USB and SSD's connections disappeared suddenly
Install using CD (install58.iso, snapshot of install59.iso)
I was trying to install OpenBSD 5.8 (install58.iso) using a CD when during the installing process, weird things happened. A message, white text against a blue background, popped up at various times after I typed the letter I (for "install"). It read as follows: Quote:
When it came to choosing which sets of software to install, I typed -game58.tgz to remove it from being installed. Next I pressed the ENTER key. Immediately I was asked a second time to choose the software I wished to install. And again I typed -game58.tgz to deselect it. The above repeated itself ad nauseum till I pressed Ctrl+C to abort the installation. The same weird things happened when I tried to install a snapshot of OpenBSD 5.9 (install59.iso). Install using USB 2.0, USB 3.0 thumb drives (install58.fs, snapshot of install59.fs) In addition to the message "uhidev0 at uhub0 port 5 configuration 1 interface....." appearing, when it came for me to choose whether to (A)utoinstall, (I)nstall, (U)pgrade, sd0 disappeared while sd1 remained. (sd0 is the SSD drive while sd1 is the thumb drive). I am beginning to wonder if my computer has been possessed, jinxed or worse tampered with by the 3-letter government agency. The components of my computer are: Quote:
|
|
|||
Maybe there is something wrong with mouse and cable?
I also have some messages, but fortunately they are not so frequent. I have a laptop so I have also touchpad. If I unplug mouse and use only touchpad, messages are not displaying on screen/dmesg. Unfortunately and often manufacturer doesn't make power saving features of mouse according to USB standard, rather than than just test against Windows. |
|
|||
How is it that when I was installing a Linux distro such as Ubuntu, Gentoo or Arch Linux, no such problems occurred?
I didn't test it against Microsoft Windows. I tested it against some flavors of Linux. |
|
|||
Quote:
I did inform the installer that I was done selecting/deselecting filesets by pressing the relevant keys. Like you said the "signals" from the key presses were somehow lost by one of the USB ports disconnection. Indeed it is. What's weirder is that the problems as described in my original post--USB port disconnecting, keyboard inputs not registering with the installer, sd0 lost while sd1 was still connected--suggest that the Haswell motherboard has been tampered with. But then again, if it had been messed with, the exact same problems should've appeared when I was installing Ubuntu, Gentoo and Arch Linux, no? Quote:
I'm sorry for not having been clear enough in my original post. I tested various scenarios using a USB 2.0 thumb drive inserted into a USB 2.0 port too. The exact same problems reared their ugly heads as well. |
|
||||
Sorry for confusing myself, and you. I was indeed confusing Haswell and Skylake.
It might be possible to obtain a dmesg(8) from that platform. The RAMDISK kernel you have booted from a thumb drive contains a small kernel and a self-contained, but minimal userland filesystem with some tools -- in RAM -- hence the name. Select the shell after boot, instead of the install script. The USB stick you booted from wouldn't be useful for this purpose, because you'd need a working OpenBSD system to read any files written there. A second stick, if you have one, formatted with a FAT filesytem could be used to transfer a dmesg(). It's possible, but less easy to transfer over a network, because the tools available on the RAMDISK system are limited. If you have a second stick available, formatted with a FAT filesystem, it can be mounted and a dmesg() copied to it. Foreign filesystems like FAT are given virtual disklabel letters beginning with "i". So, if the blue/while kernel messages tell you that a USB stick has been inserted and assigned to device sd3, then sd3i would be its FAT filesystem. # mount /dev/sd3i /mnt # dmesg > /mnt/my.dmesg # umount /mnt With a dmesg, a problem report can be submitted to the OpenBSD Project team for review. Doing this from the snapshot, rather than 5.8, would be recommended, since you have it available. |
|
|||
Quote:
Select what shell please? Could you provide more detailed steps? Quote:
If I'm plan to write it down by hand, you'll need to show me how to pause the dmesg() from scrolling. Quote:
P.S.: In your opinion, does my motherboard have hardware problems such as faulty USB ports, Sata ports (because sd0 also was disconnected), faulty keyboard ports? |
|
||||
It contains the same system, just with CD boot blocks instead of an MBR with boot blocks, and a CD99600 fillesystem instead of an FFS filesystem.
Quote:
Code:
(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? Quote:
Quote:
You can stop the output with a pager program. The less(1) pager is available in that RAMDISK system. The more(1) pager might also be available, but I don't use it and haven't ever checked. (They're effectively the same program anyway.) # dmesg | less You don't need to set a terminal type. less() will warn you that it doesn't know what kind of terminal you have, but you'll still get paged output that will pause until you press the space bar. Quote:
A dmesg has a lot of information about your hardware as the kernel sees it, which is why one is so valuable to developers. Sometimes, they're even helpful to us users. Last edited by jggimi; 7th March 2016 at 01:55 AM. Reason: typos, different filesystems CD vs USB stick |
|
||||
Here's the latest update on what I've done:
1. Downloaded the latest snapshot of install59.iso and burned it to a CD 2. Booted the RAMDISK kernel and when I came to the prompt Quote:
3. I typed Quote:
Quote:
At the shell prompt, I re-typed Quote:
What shall I do next, boss? |
|
||||
I'm sorry you were having trouble. The example commands in post #7 above are predicated on your use of a USB stick already formatted with with a FAT filesystem.
In those cases, there is an MBR in sector 0, and an MBR partition table entry for the FAT filesystem. OpenBSD will recognize the MBR and the partition table entry, and create a virtual disklabel for it, using the letter "i", which is the first partition letter used for foreign filesystems that it recognizes in an MBR partition table. |
|
|||
Quote:
As I don't have a computer with an installed OpenBSD to format a USB stick, I'd to use Microsoft Windows to do the job. It appears that OpenBSD doesn't recognize filesystems created by Microsoft Windows as the same error message appeared, viz. Quote:
Do you've suggestions for a workaround? |
|
||||
My apologies, *again*. The RAMDISK kernel is a tiny thing, with limited resources, and doesn't have device nodes created in advance the same way a full system would. I had forgotten this. Among the sd(4) devices, only sd0 is pre-populated with device nodes in /dev.
To correct this, before the mount of /dev/sd1i will work, you must first create the device node (a special file in /dev). # cd /dev # sh MAKEDEV sd1 That will create the special files in the /dev directory needed to successfully mount. (My apologies, again, for missing this critical step.) |
|
|||
No need to apologize as you're providing tech support for free and you've been a great help. Moreover according to OpenBSD's philosophy, I'm just here for the "ride".
Quote:
No sweat, no harm done. I'm learning new stuff for free each time I post here. |
|
|||
Good news: I was able to mount of the USB 2.0 stick on a device node.
Thanks in advancing for reviewing the attached dmesg in plain text format. Last edited by betweendayandnight; 8th March 2016 at 07:40 AM. |
|
|||
While waiting for the analysis of my first dmesg report 20160307-1.txt attached to my post #15, I ventured to test to see if the same error(s) would occur if I changed my Logitech mouse (USB).
I got myself a cheap 50-cent generic USB mouse and plugged it into a USB 3.0 port (I've only two USB 2.0 ports, one of which is reserved for the Logitech K200 keyboard (USB) while the other is reserved for the USB 2.0 thumb drive into which dmesg messages will be dumped as and when the installation routine throws up errors.) I booted into the RAMDISK kernel using a CD (latest snapshot of install59.iso). No errors about the USB mouse being disconnected popped up on the screen. So far so good. I managed to reach the step which stated: Code:
Directory does not contain SHA256.sig. Continue without verification? [no] yes Code:
Installing comp59.tgz Code:
cd0 (ahci0:1:0): Check Condition (error 0x70) on opcode 0x28 SENSE KEY: Media Error Code:
ftp: Reading from file: Input/output error gzip: stdin: unrecognized file format tar: End of archive volume 1 reached tar: Sorry, unable to determine archive format I plugged a USB 2.0 stick into the only free USB 2.0 port. White text on a blue background appeared on my monitor telling me that the USB 2.0 stick had been mounted successfully. At the shell prompt, I typed the following commands: Code:
cd /dev sh MAKEDEV sd1 mount /dev/sd1i /mnt dmesg > /mnt/20160307-2.txt umount /mnt I attach 20160307-2.txt for your analysis and report. Thanks in advance. |
|
||||
Quote:
Quote:
I will guess you have a BIOS setting which may enable "legacy" USB connectivity, and if so, that may solve your USB-related troubles. Quote:
In this case, a 2048-byte sector on your CD could not be read from your CD drive by the kernel, and it reported this to you. And as your second dmesg shows, it tried repeatedly to do so. |
|
|||
Quote:
Quote:
Quote:
This time round I was able to install the OS successfully, this in spite of repetitive kernel messages about disconnects of my Logitech mouse. I am now able to boot into OpenBSD, all this because of your unfaltering tech support. |
|
||||
Quote:
These references to xhci(4) and ehci(4) and ohci(4) and sd(4) are man page references. The numbers in parentheses are the section numbers. Sometimes, there are multiple man pages with the same name in different sections. $ man printf will produce different results than $ man 3 printf .Quote:
Last edited by jggimi; 8th March 2016 at 04:59 PM. Reason: typos. SOP for me |
|
|||
Quote:
Please find attached the GENERIC dmesg output for your expert diagnosis. Thanks in advance. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
/var/log disappeared after upgrade | acampbell | OpenBSD Installation and Upgrading | 6 | 25th November 2015 09:14 AM |
External USB Drive suddenly Read only | kerasi | OpenBSD General | 8 | 17th March 2015 01:12 PM |
suddenly no applications reach internet, but ping does so. | spermwhale_warrior | OpenBSD Packages and Ports | 8 | 20th July 2014 10:26 PM |
soud suddenly stopped working | Brainfsck | NetBSD General | 0 | 25th August 2011 07:00 PM |
Power Supply Fan Suddenly Stopped | IdOp | General Hardware | 16 | 26th June 2010 08:36 PM |