From owner-freebsd-current Sat Nov 7 15:43:00 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA23550 for freebsd-current-outgoing; Sat, 7 Nov 1998 15:43:00 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from gina.swimsuit.internet.dk (mail.swimsuit.internet.dk [194.255.12.232]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA23539 for ; Sat, 7 Nov 1998 15:42:55 -0800 (PST) (envelope-from root@swimsuit.internet.dk) Received: from localhost (localhost.swimsuit.internet.dk [127.0.0.1]) by gina.swimsuit.internet.dk (8.9.1a/8.9.1) with ESMTP id AAA08825 for ; Sun, 8 Nov 1998 00:42:36 +0100 (CET) (envelope-from root@swimsuit.internet.dk) Date: Sun, 8 Nov 1998 00:42:36 +0100 (CET) From: Leif Neland To: freebsd-current@FreeBSD.ORG Subject: How to make /dev/da0 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: rev 0x12 int a irq 10 on pci0.11.0 da0 at ncr0 bus 0 target 6 lun 0 da0: 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: 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