DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 10th February 2015
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 320
Default openbsd 5.6 install can not detect my western digital USB disk

I want install openbsd 5.6 amd64 on my western digital hard drive , my Western Digital hard disk is USB hard disk and connect to my main board by USB cable.in bios my HDD is detect .but openbsd can not detect it and I can not install it. and installation script can not detect my HDD disk .I want have full disk encryption
__________________
http://www.mfaridi.com
First site about FreeBSD and OpenBSD in persian or Farsi.

Last edited by mfaridi; 10th February 2015 at 01:18 PM.
Reply With Quote
  #2   (View Single Post)  
Old 10th February 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Post a dmesg from the RAMDISK kernel. Use FAQ 4.16 as your guide. If there are any kernel messages produced at the time the USB drive is physically connected, please highlight them.
Reply With Quote
  #3   (View Single Post)  
Old 10th February 2015
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 320
Default

Quote:
Originally Posted by jggimi View Post
Post a dmesg from the RAMDISK kernel. Use FAQ 4.16 as your guide. If there are any kernel messages produced at the time the USB drive is physically connected, please highlight them.
Thanks
I do not have floppy drive and can not use serial console
Can I do this with email ? I want openbsd send mail dmesg for me
Can I use USB flash ?
Can I find another way for get dmesg ?
__________________
http://www.mfaridi.com
First site about FreeBSD and OpenBSD in persian or Farsi.
Reply With Quote
  #4   (View Single Post)  
Old 10th February 2015
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by mfaridi View Post
Can I use USB flash ?
Yes. See Section 14.17.1 if you need specifics. Reading the mount(8) manpage will benefit you as well.

Last edited by ocicat; 10th February 2015 at 08:26 PM. Reason: Don't forget mount(8)...
Reply With Quote
  #5   (View Single Post)  
Old 10th February 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Quote:
Originally Posted by mfaridi View Post
Can I do this with email ?
No, you would need a mail client, which is not included in the RAMDISK kernel.
Quote:
Can I use USB flash ?
Maybe. It will depend on the reason you are unable to use your USB attached hard drive. We don't yet know what that reason is. Operationally, there is no difference between a USB-attached flash drive and a USB-attached magnetic (or SSD) drive.

Do you see ANY kernel messages when the RAMDISK kernel is running, and you either remove or insert the USB connector? If so, you can record those messages manually, and post them here. From that, we may be able to help you determine the problem source. If there are no messages when you insert/remove the USB connector, then you may not be able to use the drive with OpenBSD.

I suspect two possible reasons for your problem. a) You are attempting to use USB 3.0 with OpenBSD 5.6, or b) there is operator confusion / operator error.

Quote:
Can I find another way for get dmesg ?
You can store a dmseg on a non-USB hard drive (eg: SATA, SCSI) if it has a FAT partition.

You can photograph the display.
Reply With Quote
  #6   (View Single Post)  
Old 10th February 2015
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by jggimi View Post
You are attempting to use USB 3.0 with OpenBSD 5.6,
jggimi is correct. No version of OpenBSD will be able to use USB 3.0 until OpenBSD 5.7.
Reply With Quote
  #7   (View Single Post)  
Old 10th February 2015
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 320
Wink

Quote:
Originally Posted by jggimi View Post
No, you would need a mail client, which is not included in the RAMDISK kernel.Maybe. It will depend on the reason you are unable to use your USB attached hard drive. We don't yet know what that reason is. Operationally, there is no difference between a USB-attached flash drive and a USB-attached magnetic (or SSD) drive.

Do you see ANY kernel messages when the RAMDISK kernel is running, and you either remove or insert the USB connector? If so, you can record those messages manually, and post them here. From that, we may be able to help you determine the problem source. If there are no messages when you insert/remove the USB connector, then you may not be able to use the drive with OpenBSD.

I suspect two possible reasons for your problem. a) You are attempting to use USB 3.0 with OpenBSD 5.6, or b) there is operator confusion / operator error.

You can store a dmseg on a non-USB hard drive (eg: SATA, SCSI) if it has a FAT partition.

You can photograph the display.
Thanks thanks
I wish this photo help you to solve my problem
After my openbsd boot finish I see this error

Uhidev2 detached


http://o75i.imgup.net/IMG_2015023f1d.jpg
__________________
http://www.mfaridi.com
First site about FreeBSD and OpenBSD in persian or Farsi.

Last edited by mfaridi; 10th February 2015 at 09:33 PM.
Reply With Quote
  #8   (View Single Post)  
Old 10th February 2015
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 320
Default

I use USB 2 and my computer has USB two only
__________________
http://www.mfaridi.com
First site about FreeBSD and OpenBSD in persian or Farsi.
Reply With Quote
  #9   (View Single Post)  
Old 10th February 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Unfortunately, your photograph does not show the right side of the screen, where the specific model of your "Western Digital My (Book?)" would be shown. It's hard to Google for problem reports or solutions for that specific drive on OpenBSD, when we do not know what it is.

I can also see that the expected kernel messages for the creation of a dynamic sd(4) device does not appear on this photograph.

The uhidev(4) driver manages keyboards and mice.
Reply With Quote
Old 10th February 2015
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,503
Default

Some external hard drives come pre-formated with NTFS and have security features that make it difficult to reformat. These were an issue in the Linux sphere several years ago and resulted in read/write NTFS and FUSE. It may be worth searching the web to see if Linux/OS X users have had issues with that particular hard drive.
Reply With Quote
Old 10th February 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

A USB device that supports a umass(4) interface should normally result in a virtual, dynamic sd(4) device attachment. Unfortunately, we don't have enough information and mfaridi is neither sufficiently comfortable with nor sufficiently skilled with OpenBSD to be able to deliver useful diagnostic information to us

In his defense, while a complete dmesg or usbdevs report might provide insights, there are no guarantees that armed with this information we would be able to solve this particular problem for him.
Reply With Quote
Old 11th February 2015
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 320
Default

Thanks all guys
My openbsd detect my HDD as UMass device .in that photo you see my openbsd detect my HDD and boot process stop in that step for one minutes.
I installed freebsd 10.1 on my HDD and it work good
My HDD is my book essential edition
__________________
http://www.mfaridi.com
First site about FreeBSD and OpenBSD in persian or Farsi.
Reply With Quote
Old 11th February 2015
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 320
Default

thanks all friend this is all of dmesg in photo

when I attach new usb flash disk with FAT FS my system reboot and I can not get dmesg

I reboot my system with OpenBSD disk installation and run this command in shell
Code:
dmesg | more
and then take photos with my smart phone

these photos are all my dmesg

photo 1 of dmesg http://a78i.imgup.net/image1fcef.jpg
photo 2 of dmesg http://g70i.imgup.net/image26313.jpg
photo 3 of dmesg http://y10i.imgup.net/image3f9b2.jpg
photo 4 of dmesg http://d27i.imgup.net/image4d1e5.jpg
photo 5 of dmesg http://j07i.imgup.net/image5d36d.jpg
__________________
http://www.mfaridi.com
First site about FreeBSD and OpenBSD in persian or Farsi.
Reply With Quote
Old 11th February 2015
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 320
Default

if that link dose not work this is new links
photo 1----http://imgur.com/CoOrLMY
photo 2----http://imgur.com/lZfLRun
photo 3-----http://imgur.com/Ytt5Veg
photo 4-----http://imgur.com/BY6AB7Q
photo 5-----http://imgur.com/uHtnsWP
__________________
http://www.mfaridi.com
First site about FreeBSD and OpenBSD in persian or Farsi.
Reply With Quote
Old 11th February 2015
bsd-keith bsd-keith is offline
Real Name: Keith
Open Source Software user
 
Join Date: Jun 2014
Location: Surrey/Hants Border, England
Posts: 343
Default

(New to OpenBSD myself but have used FreeBSD & Linux.)

Try booting up without the disk attached, then attach the disk & run dmesg | tail in a terminal, that will let you know what the system thinks of your disk.

Also, run ls /dev/sd* in the terminal to see if it has been configured.
__________________
Linux since 1999, & also a BSD user.
Reply With Quote
Old 11th February 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Thank you for posting links to all the photographs, mfaridi. As I mentioned above, it may not be possible to resolve with the dmesg alone. From your dmesg, it appears to me that your USB mouse may be interfering with your disk drive attachment, since it detaches, as if it were physically unplugged.

I agree with bsd-keith that you may learn more by attaching the USB drive after you have completed the boot-into-shell process. As you've already noticed, the RAMDISK kernel doesn't need a physical hard drive to function. You could boot, select the shell, then make a variety of tests to determine if you get different results, depending on which USB devices are connected at the time you connect the disk drive. Try with your keyboard and mouse attached. Then, try again with the wireless mouse detached. Then, again with mouse and keyboard detached.... and if you get different results you may learn why your drive will not attach properly.

As mentioned in my second post in this thread, you could also see if a USB flash drive will connect properly, during these tests.

----

I am glad you were able to get an OS working with that workstation configuration. I'm sorry it wasn't the one you preferred.
Reply With Quote
Old 11th February 2015
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 320
Default

thanks
I change mouse and keyboard . but nothing happen and installation disk can not detect my USB hard disk , I start installation without HDD . but nothing happen and after plug my HDD . installation process can not detect my HDD and installation failed
__________________
http://www.mfaridi.com
First site about FreeBSD and OpenBSD in persian or Farsi.
Reply With Quote
Old 11th February 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

Sorry, mfaridi. If you wish to participate in additional diagnostics, I believe you may be able to try these steps:
  • As mentioned multiple times, you could test a USB flash drive. This would help determine whether the problem is with the use of that hard drive, or the problem is with USB itself. If you can use a USB flash drive, that would not only tell us the problem is with OpenBSD's communication with that hard drive, it would permit the transfer of information back and forth without a camera.
  • You could test with a -current snapshot. There have been many changes to OpenBSD since August of 2014, when 5.6-release was finalized.
  • Upload an ASCII dmesg to an FTP server over the network, using the RAMDISK built-in ftp(1) client, having first used either dhclient(8) or ifconfig(8) to configure a NIC on your local network.
This recommendation is likely beyond your skills, based on your communications with us so far:
Using ldd(1) on a running OpenBSD system to determine the files needed, download the usbdevs(8) executable file /usr/sbin/usbdevs and any /usr/lib libraries and /usr/libexec link loader support tools it uses to the RAMDISK system. Submit a dmesg and a verbose usbdevs report to bugs@ in the most complete and detailed problem report you can produce, using sendbug(1).

Last edited by jggimi; 11th February 2015 at 06:25 PM. Reason: clarity, typos, missing halves of several sentences. :)
Reply With Quote
Old 11th February 2015
mfaridi's Avatar
mfaridi mfaridi is offline
Spam Deminer
 
Join Date: May 2008
Location: Afghanistan
Posts: 320
Default

Quote:
Originally Posted by jggimi View Post
Sorry, mfaridi. If you wish to participate in additional diagnostics, I believe you may be able to try these steps:
  • As mentioned multiple times, you could test a USB flash drive. This would help determine whether the problem is with the use of that hard drive, or the problem is with USB itself. If you can use a USB flash drive, that would not only tell us the problem is with OpenBSD's communication with that hard drive, it would permit the transfer of information back and forth without a camera.
  • You could test with a -current snapshot. There have been many changes to OpenBSD since August of 2014, when 5.6-release was finalized.
  • Upload an ASCII dmesg to an FTP server over the network, using the RAMDISK built-in ftp(1) client, having first used either dhclient(8) or ifconfig(8) to configure a NIC on your local network.
This recommendation is likely beyond your skills, based on your communications with us so far:
Using ldd(1) on a running OpenBSD system to determine the files needed, download the usbdevs(8) executable file /usr/sbin/usbdevs and any /usr/lib libraries and /usr/libexec link loader support tools it uses to the RAMDISK system. Submit a dmesg and a verbose usbdevs report to bugs@ in the most complete and detailed problem report you can produce, using sendbug(1).
thanks
I will try current can you guide me how I can use ftp client to send dmesg ?
__________________
http://www.mfaridi.com
First site about FreeBSD and OpenBSD in persian or Farsi.
Reply With Quote
Old 11th February 2015
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,975
Default

I may have misled you. My apologies.

Memory plays tricks on me, but as I think about it, it may be that the RAMDISK ftp client, having gone through crunchgen(8), is a "small" build that does not contain interactive functions, and is limited to fetching with command line options only.

If that is so, it cannot issue an ftp put command.

Unfortunately, I do not have access to test facilities at this moment to double-check this.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
GStreamer will not detect sound device (or possible permissions problem) in OpenBSD BenHur OpenBSD Packages and Ports 18 16th August 2013 03:02 AM
OpenBSD -current install mising half size of a 1 tb disk daemonfowl OpenBSD Installation and Upgrading 10 7th June 2013 07:28 PM
Western Digital to buy Hitachi Global Storage Technologies IdOp News 3 9th March 2011 11:09 AM
any one mount a digital camera on OpenBSD and download images from it yet? tetrodozombie OpenBSD General 18 12th September 2010 07:23 PM
Western Digital 4K sectored hard disks J65nko News 0 16th February 2010 12:38 AM


All times are GMT. The time now is 09:01 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick