Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jan 2003 14:39:27 +0200
From:      Ion-Mihai Tetcu <itetcu@staffcollection.ro>
To:        Willie Viljoen <will@highveldcs.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: MakeDev: Unknown major/minor... when trying to label the 2nd SCSI HDD
Message-ID:  <W2UZT1U4ZFCNUQRPRQMIB98KF76Z.3e2a9c7f@gw>
In-Reply-To: <200301191407.58183.will@highveldcs.com>

next in thread | previous in thread | raw e-mail | index | archive | help
1/19/03 2:07:58 PM, Willie Viljoen <will@highveldcs.com> 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
>> <FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MM
>>X,FXS R,SSE>
>>   AMD Features=0xc0400000<AMIE,DSP,3DNow!>
>> real memory  = 1073725440 (1048560K bytes)
>>
>> ahc0: <Adaptec 29160 Ultra160 SCSI adapter> 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: <IBM DDYS-T36950N SA2A> 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: <IBM DDYS-T36950N SA2A> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?W2UZT1U4ZFCNUQRPRQMIB98KF76Z.3e2a9c7f>