Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Nov 1998 00:42:36 +0100 (CET)
From:      Leif Neland <root@swimsuit.internet.dk>
To:        freebsd-current@FreeBSD.ORG
Subject:   How to make /dev/da0
Message-ID:  <Pine.BSF.4.05.9811080026310.8500-100000@gina.swimsuit.internet.dk>

next in thread | raw e-mail | index | archive | help
I try to mount a linux-scsi disk, but fails miserably.

FreeBSD 3.0-CURRENT #2: Sun Nov  8 00:00:38 CET 1998
    root@gina.swimsuit.internet.dk:/usr/src/sys/compile/REAL

ncr0: <ncr 53c810a fast10 scsi> rev 0x12 int a irq 10 on pci0.11.0

da0 at ncr0 bus 0 target 6 lun 0
da0: <IBM DCAS-34330 S60B> Fixed Direct Access SCSI2 device 
da0: 10.0MB/s transfers (10.0MHz, offset 8), Tagged Queueing Enabled
da0: 4134MB (8467200 512 byte sectors: 255H 63S/T 527C)

But I don't have any /dev/da0*

No MAKEDEV will make a dev0

This have never heard of /dev/da0
-r-xr-xr-x  1 root  wheel  28634 22 Jul 10:16 /dev/MAKEDEV
gina//dev $ /dev/MAKEDEV da0
da0 - no such device name

These seems to know something, but not enough.

-r-xr-xr-x  1 root  wheel  30602 13 Okt 19:08 /usr/release/dev/MAKEDEV
-rwxr-xr-x  1 root  wheel  30673 31 Okt 07:38 /usr/src/etc/etc.i386/MAKEDEV
gina//dev $ /usr/src/etc/etc.i386/MAKEDEV da0
da0s0h - no such device name
da0s1 - no such device name
da0s2 - no such device name
da0s3 - no such device name
da0s4 - no such device name

Fdisk can see /dev/sd0

Script started on Sun Nov  8 00:36:26 1998
gina//dev $ fdisk /dev/sd0
******* Working on device /dev/sd0 *******
parameters extracted from in-core disklabel are:
cylinders=1019 heads=134 sectors/track=62 (8308 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=1019 heads=134 sectors/track=62 (8308 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 131,(Linux filesystem)
    start 62, size 3073898 (1500 Meg), flag 80 (active)
	beg: cyl 0/ sector 1/ head 1;
	end: cyl 369/ sector 62/ head 133
The data for partition 2 is:
sysid 130,(Linux swap or Solaris x86)
    start 3073960, size 249240 (121 Meg), flag 0
	beg: cyl 370/ sector 1/ head 0;
	end: cyl 399/ sector 62/ head 133
The data for partition 3 is:
sysid 131,(Linux filesystem)
    start 3323200, size 5142652 (2511 Meg), flag 0
	beg: cyl 400/ sector 1/ head 0;
	end: cyl 1018/ sector 62/ head 133
The data for partition 4 is:
<UNUSED>

Fdisk doesn't see a /dev/da0

gina//dev $ fdisk /dev/da0
fdisk: can't get file status of /dev/da0
fdisk: cannot open disk /dev/da0: No such file or directory

I cant mount /dev/sd0s1 or /dev/da0s1
gina//dev $ mount_ext2fs /dev/sd0s1 /sd1
mount_ext2fs: vfsload(ext2fs): No such file or directory


If I boot from a 2.2.7-RELEASE boot.flp, the disk gets recognized as
/dev/sd0s1

Must I create /dev/da0 etc myself, and if so, what major/minor number?


Leif



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9811080026310.8500-100000>