From owner-freebsd-questions Sun Jan 19 4:35:49 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 1B28437B401 for ; Sun, 19 Jan 2003 04:35:43 -0800 (PST) Received: from mx.kappa.ro (smtp.dnt.ro [194.102.255.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5E4943ED8 for ; Sun, 19 Jan 2003 04:35:41 -0800 (PST) (envelope-from itetcu@staffcollection.ro) Received: from gw (staff.kappa.ro [194.102.253.132]) by mx.kappa.ro with esmtp; Sun, 19 Jan 2003 14:35:34 +0200 From: Ion-Mihai Tetcu To: Willie Viljoen Cc: freebsd-questions@FreeBSD.ORG Date: Sun, 19 Jan 2003 14:39:27 +0200 X-Priority: 3 (Normal) Reply-To: itetcu@staffcollection.ro In-Reply-To: <200301191407.58183.will@highveldcs.com> Message-Id: Subject: Re: MakeDev: Unknown major/minor... when trying to label the 2nd SCSI HDD Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Mailer: Opera 6.05 build 1140 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 1/19/03 2:07:58 PM, Willie Viljoen wrote: >Sounds to me like sysinstall is trying to make the devices. This means they >aren't there. You're using a RELEASE kernel, so the device numbers shouldn't >be different, but you never know. You might want to try creating the nodes >before hand, sothat sysinstall doesn't have to: > > cd /dev && sh MAKEDEV all Already done that, but it's the same. When doing newfs ... i get the error. >>Now try sysinstall again. > >You might also not have configured the appropriate devices in your kernel, I >notice you have built a custom one. Try booting with /kernel.GENERIC and see >if the problem persists. First time it was with the /kernel.GENERIC. I've cut out from the generic the usb support, etc and added the vn, ahc, scbus, da, pass. >If that doesn't help, try using CVSup to upgrade to the latest 4-STABLE and >compile a new kernel. Thanks, IOnut > >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. >> 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 HDD >> disk it gives : >> DEBUG: MakeDev: Unknoen major/minor for devtype- on another console, and >> 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 apreciate, >> 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 = "AuthenticAMD" Id = 0x662 Stepping = 2 >> Features=0x383fbff >> >X,FXS R,SSE> >> AMD Features=0xc0400000 >> real memory = 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=7, 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 Queueing >> 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 Queueing >> 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 # milliseconds >> track-to-track seek: 0 # milliseconds >> drivedata: 0 >> >> 8 partitions: >> # size offset fstype [fsize bsize bps/cpg] >> a: 5120000 0 4.2BSD 2048 16384 89 # (Cyl. 0 - 318 *) >> b: 5120000 5120000 swap # (Cyl. 318*- 637 *) >> c: 71681967 0 unused 0 0 # (Cyl. 0 - 461 *) >> e: 33554432 10240000 4.2BSD 2048 16384 89 # (Cyl. 637*- 726 *) >> f: 10485760 43794432 4.2BSD 2048 16384 89 # (Cyl. 2726*- 378 *) >> g: 17401775 54280192 4.2BSD 2048 16384 89 # (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 # milliseconds >> track-to-track seek: 0 # milliseconds >> drivedata: 0 >> >> 8 partitions: >> # size offset fstype [fsize bsize bps/cpg] >> c: 71681967 0 unused 0 0 # (Cyl. 0 - >> 4461*) e: 5120000 0 4.2BSD 2048 16384 89 # (Cyl. 0 - >> 318*) >> >> >> >> >> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-questions" in the body of the message > >-- >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 our >next generation IT solutions will propel your business into the 21st century. > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message