Sponsored Content
Operating Systems BSD Open (and Free) BSD with Jmicron 20339 USB <-> SATA II chipset Post 302239832 by noratx on Wednesday 24th of September 2008 01:23:02 PM
Old 09-24-2008
with "more, but not enough", i mean this:
On FreeBSD the dive is recognized by the system, as Dmesg shows something like this:
Code:
umass0 at uhub0 port 1 configuration 1 interface 0 "JMicron USB to ATA/ATAPI Bridge" rev 2.00/1.00 addr 3
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets
sd0 at scsibus1 targ 1 lun 0: <ST325041, 0AS, > SCSI2 0/direct fixed
sd0: 238475MB, 30401 cyl, 255 head, 63 sec, 512 bytes/sec, 488397168 sec total

(The above dmesg is actually from my newly installed OpenBSD, but its very similar (if not even exactly the same)
and usbdevs shows:
Code:
[root@germany /home/noratx]# usbdevs
addr 1: OHCI root hub, (0x108e)
 addr 2: Dell USB Keyboard, Dell
 addr 3: USB to ATA/ATAPI Bridge, JMicron

But it stops there, the only device I get in FreeBSD under /dev is "sd0", nothing more.

In OpenBSD, I can actually use disklabel and create a new partition, BUT, when i want to mount it, this is what I get:

Code:
# disklabel sd0
# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: 0AS
flags: vendor
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 30401
total sectors: 488397168
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

16 partitions:
#                size           offset  fstype [fsize bsize  cpg]
  a:        488392065                0  4.2BSD   2048 16384    1
  c:        488397168                0  unused      0     0
# mount /dev/sd0a /share/250GB-1/
mount_ffs: /dev/sd0a on /share/250GB-1: Invalid argument

So, drive recognized, I'm able to partition (obviously), but not able to mount the disk.
Allthough, maybe this is just something I have missed, but I don't know what that could be.

Edit:
YES! I was stupid and missed one vital thing...
After using disklabel, I maybe should have used newfs.. Smilie (Here I miss a smiley with a big hand comming and smacking the forhead)... BAH!
Well, after waiting forever for OpenBSD to run newfs on my 250 GB disk, it now works.. just the way it should.
I just wish that it fould work under FreeBSD (7.0) as well, But OpenBSD is anyway better than Linux (IMHO).
Now I'm finally happy again! Thank you, and sorry for beeing a bit stupid. Smilie

Last edited by noratx; 09-24-2008 at 05:06 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Red hat or free BSD?

This is my first post here, so I thought Id make it good. I am building a webserver that will be up in a month or so, so I am starting now. I was wondering, since I am on the fence here, should I go with Red hat or BSD? I am comfortable with both, I can run apache on either one, but I am wondering... (4 Replies)
Discussion started by: advok8
4 Replies

2. UNIX for Dummies Questions & Answers

Free Bsd

i am installing FREEBSD and I would like to know which hardware specific network card that works and help with this would be great I am very new to this (UNIX) (1 Reply)
Discussion started by: BSD_NEWUSER
1 Replies

3. UNIX for Dummies Questions & Answers

Free BSD Display Properties?

I'm very new to UNIX and just istalled FreeBSD on my computer. I using the KDE desktop and the resolution is horrible. How do I adjust this. (3 Replies)
Discussion started by: mbrouder
3 Replies

4. BSD

X-Windows Free BSD

so, i have a video card SIS s315 AGP and i can't cofigure X Free on free BSD to run X window. Anybody can help me solve this problem?? (2 Replies)
Discussion started by: Dmitri-br
2 Replies

5. BSD

Free BSD X window

Can anyone help me ? I have installed Free BSD several times and I can't get the X window to work . I have installed the ports Gnome and others but for some reason when I type start x doesn't work. I downloaded the 3 i386 disks but I get to install the first one wich complete the setup and... (3 Replies)
Discussion started by: skyhawkfly
3 Replies

6. UNIX for Dummies Questions & Answers

Hardware for UNIX/Free BSD

Hi! I'm planning to start to set up a Webserver. All software has to be freeware. I'm also planning to use Free BSD/UNIX for this project. Apache as Webserversystem and so on... Therefor I would like to have some info about what kind of hardware I need. I'm planning to buy a computer... (9 Replies)
Discussion started by: kargooliw
9 Replies

7. BSD

How to create IP table at Free BSD

Now, I had installed free bsd at my office. Unfortunitely, Email server have been using Local PoP3 and SMTP to our ISP with outlook. but my unix firewall sever ( free bsd ) didn't allow these port ( 110 & 25 ). How can i create the IP table to pass at server. If u have any experience about obvious... (4 Replies)
Discussion started by: Ashraff Ali
4 Replies

8. BSD

installing free BSD

Hello friends. I am new to Unix although i am very flexible to any programming language. i was a window user. Now, no more. I have decided myself to switch to unix. Here is my problem: I burned the free BSD into my new RW CD's. I inserted the bootable manager first then, it was scanning and... (5 Replies)
Discussion started by: bonjour2006
5 Replies

9. BSD

Free BSD Release 8.0 not recognizing CD/DVD and usb install media

Hi, I am trying to install Free BSD release 8.0 on my Dell XPS Studio laptop along with already existing Windows partition. (150GB for Win Vista, 30GB for win backup and 130 GB for Free BSD). To do trial I first installed it on Sun virtual Box in Windows where it installed without any complaints.... (2 Replies)
Discussion started by: dheerajsuthar
2 Replies

10. BSD

USB mount of Free BSD

Hello all When I insert my USB , its says : umass0 detected . I want to ls files present in the USB. I tried mount -t msdosfs /dev/da0s1 /mnt Whats is dev/da0s1 ????? How can I mount it to use it ? Regards (3 Replies)
Discussion started by: Junaid Subhani
3 Replies
disktab(4)						     Kernel Interfaces Manual							disktab(4)

NAME
disktab - Disk description file SYNOPSIS
#include <sys/disklabel.h> DESCRIPTION
The disktab database describes disk geometries and disk partition characteristics. It is used to initialize the disk label on the disk. The format is patterned after the termcap terminal database. Entries in a disktab file consist of a number of : (colon) separated fields. The first entry for each disk gives the names which are known for the disk, separated by | (vertical bar) characters. The last name given should be a long name fully identifying the disk. The following list indicates the normal values stored for each disk entry: Type Description str Type of disk (for example, removable, win- chester) str Type of controller (for example, SMD, ESDI, floppy) num Number of sectors per track num Number of tracks per cylinder num Total number of cylinders on the disk num Number of sectors per cylinder, nc*nt default num Number of sectors per unit, sc*nc default num Sector size in bytes, DEV_BSIZE default bool Controller supports bad144-style bad sector forwarding num Rotation speed, rpm, default 3600 num Sector skew per track, default 0 num Sector skew per cylinder, default 0 num Headswitch time, usec, default 0 num One-cylinder seek time, usec, default 0 num Sector interleave (n:1), default 1 num Drive-type-dependent parameters num Boot block size, default BBSIZE num Superblock size, default SBSIZE num Block size for partition `a' (bytes) num Block size for partition `d' (bytes) num Block size for partition `e' (bytes) num Block size for partition `f' (bytes) num Block size for partition `g' (bytes) num Block size for partition `h' (bytes) num Fragment size for partition `a' (bytes) num Fragment size for partition `d' (bytes) num Fragment size for partition `e' (bytes) num Fragment size for partition `f' (bytes) num Fragment size for partition `g' (bytes) num Fragment size for partition `h' (bytes) num Offset of partition `a' in sectors num Offset of partition `b' in sectors num Offset of partition `c' in sectors num Offset of partition `d' in sectors num Offset of partition `e' in sectors num Offset of partition `f' in sectors num Offset of partition `g' in sectors num Offset of partition `h' in sectors num Size of partition `a' in sectors num Size of partition `b' in sectors num Size of partition `c' in sectors num Size of partition `d' in sectors num Size of partition `e' in sectors num Size of partition `f' in sectors num Size of partition `g' in sectors num Size of partition `h' in sectors str Partition type of partition `a' (4.2BSD file system, swap, etc.) str Partition type of partition `b' str Partition type of partition `c' str Parti- tion type of partition `d' str Partition type of partition `e' str Partition type of partition `f' str Partition type of partition `g' str Partition type of partition `h' EXAMPLES
The following is an example disktab entry: rz25|RZ25|DEC RZ25 Winchester: :ty=winchester:dt=SCSI:ns#62:nt#9:nc#1492: :oa#0:pa#131072:ba#8192:fa#1024: :ob#131072:pb#262144:bb#8192:fb#1024: :oc#0:pc#832527:bc#8192:fc#1024: :od#393216:pd#146437:bd#8192:fd#1024: :oe#539656:pe#146437:be#8192:fe#1024: :of#686096:pf#146437:bf#8192:ff#1024: :og#393216:pg#439311:bg#8192:fg#1024: :oh#0:ph#0:bh#8192:fh#1024: FILES
/etc/disktab RELATED INFORMATION
Functions: getdiskbyname(3) Files: disklabel(4) Commands: disklabel(8), newfs(8) delim off disktab(4)
All times are GMT -4. The time now is 11:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy