From owner-freebsd-questions Sun Jan 19 4: 8:28 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02A2937B401 for ; Sun, 19 Jan 2003 04:08:16 -0800 (PST) Received: from prometheus.home.laserfence.net (apollo.laserfence.net [196.44.69.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id D22A743EB2 for ; Sun, 19 Jan 2003 04:08:09 -0800 (PST) (envelope-from will@phoenix.home.laserfence.net) Received: from phoenix.home.laserfence.net ([192.168.0.2]) by prometheus.home.laserfence.net with esmtp (Exim 4.10) id 18aEF5-0008Y0-00; Sun, 19 Jan 2003 14:07:59 +0200 Received: from will by phoenix.home.laserfence.net with local (Exim 4.10) id 18aEF4-0000J1-00; Sun, 19 Jan 2003 14:07:58 +0200 Content-Type: text/plain; charset="windows-1252" From: Willie Viljoen Organization: Highveld Computing Solutions To: Ion-Mihai Tetcu Subject: Re: MakeDev: Unknown major/minor... when trying to label the 2nd SCSI HDD Date: Sun, 19 Jan 2003 14:07:58 +0200 User-Agent: KMail/1.4.3 References: In-Reply-To: Cc: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200301191407.58183.will@highveldcs.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Sounds to me like sysinstall is trying to make the devices. This means th= ey=20 aren't there. You're using a RELEASE kernel, so the device numbers should= n't=20 be different, but you never know. You might want to try creating the node= s=20 before hand, sothat sysinstall doesn't have to: cd /dev && sh MAKEDEV all Now try sysinstall again. You might also not have configured the appropriate devices in your kernel= , I=20 notice you have built a custom one. Try booting with /kernel.GENERIC and = see=20 if the problem persists. If that doesn't help, try using CVSup to upgrade to the latest 4-STABLE a= nd=20 compile a new kernel. Will On Sunday 19 January 2003 13:59, Ion-Mihai Tetcu wrote: > Hi, > > Please kepp me on the cc: as i'm not posting from my subscribed address= =2E > Hope the mail it is ok formatted, i'm sending from a win. > > When I try to use /stand/sysinstall's disklabel to set up my 2nd SCSI H= DD > disk it gives : > DEBUG: MakeDev: Unknoen major/minor for devtype- on another console, an= d > i'm getting : > Error adding swap: device not configurated > Error mounting /dev/da1s1f on /NOFUTURE: Invalid argument, > etc. > > I cannot figure out what is wrog; > i've searched with Google and found out 2 link but no very usefull as i > don't speak russian or hungar. > There are also some related posts on the scsi mailling list who didn't = help > me. > > I've also tryied to : > dislabel -r ad0 > dsklabel.txt > editing to point to ad1 and > disklabel -r ad1 dsklabel.txt > which has leave me with some "strage" softupdate inconssistency as fsck= did > nicely told me. > > The relevant dmesg and disklabel output are bellow. > > If someone could point me to the right direction i would really aprecia= te, > as the machine should go on > production in less that 48 hours. > > Many thaks, > IOnut > > > FreeBSD 4.7-RELEASE #0: Sat Jan 18 19:27:03 EET 2003 > root@cmserver.staffcollection.ro:/usr/src/sys/compile/fp1 > Timecounter "i8254" frequency 1193182 Hz > CPU: AMD Athlon(TM) XP 2000+ (1666.20-MHz 686-class CPU) > Origin =3D "AuthenticAMD" Id =3D 0x662 Stepping =3D 2 > Features=3D0x383fbff > X,FXS R,SSE> > AMD Features=3D0xc0400000 > real memory =3D 1073725440 (1048560K bytes) > > ahc0: port 0xb800-0xb8ff mem > 0xdb000000- 0xdb000fff irq 10 at device 14.0 > on pci0 > aic7892: Ultra160 Wide Channel A, SCSI Id=3D7, 32/253 SCBs > > da0 at ahc0 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-3 device > da0: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queuei= ng > Enabled > da0: 35003MB (71687340 512 byte sectors: 64H 32S/T 35003C) > da1 at ahc0 bus 0 target 2 lun 0 > da1: Fixed Direct Access SCSI-3 device > da1: 160.000MB/s transfers (80.000MHz, offset 63, 16bit), Tagged Queuei= ng > Enabled > da1: 35003MB (71687340 512 byte sectors: 64H 32S/T 35003C) > > # /dev/da0c: > type: SCSI > disk: da0s1 > label: > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 255 > sectors/cylinder: 16065 > cylinders: 4461 > sectors/unit: 71681967 > rpm: 3600 > interleave: 1 > trackskew: 0 > cylinderskew: 0 > headswitch: 0=09=09# milliseconds > track-to-track seek: 0=09# milliseconds > drivedata: 0 > > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 5120000 0 4.2BSD 2048 16384 89 =09# (Cyl. 0 -= 318*) > b: 5120000 5120000 swap =09# (Cyl. 318*- 6= 37*) > c: 71681967 0 unused 0 0 =09# (Cyl. 0 -= 461*) > e: 33554432 10240000 4.2BSD 2048 16384 89 =09# (Cyl. 637*-= 726*) > f: 10485760 43794432 4.2BSD 2048 16384 89 =09# (Cyl. 2726*-= 378*) > g: 17401775 54280192 4.2BSD 2048 16384 89 =09# (Cyl. 3378*-= 461*) > > > # /dev/da1c: > type: SCSI > disk: da1s1 > label: > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 255 > sectors/cylinder: 16065 > cylinders: 4461 > sectors/unit: 71681967 > rpm: 3600 > interleave: 1 > trackskew: 0 > cylinderskew: 0 > headswitch: 0=09=09# milliseconds > track-to-track seek: 0=09# milliseconds > drivedata: 0 > > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > c: 71681967 0 unused 0 0 =09# (Cyl. 0 - > 4461*) e: 5120000 0 4.2BSD 2048 16384 89 =09# (Cyl. = 0 - > 318*) > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message --=20 Willie Viljoen IT Solutions Consultant Highveld Computing Solutions 214 Paul Kruger Avenue, Universitas Bloemfontein 9321 South Africa +27 51 522 15 60 +27 51 522 44 36 (after hours) +27 82 404 03 27 (mobile) will@highveldcs.com Be ahead of the pack, visit http://www.highveldcs.com/ and find out how o= ur=20 next generation IT solutions will propel your business into the 21st cent= ury. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message