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

next in thread | previous in thread | raw e-mail | index | archive | help
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
> <FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE3=
6,MM
>X,FXS R,SSE>
>   AMD Features=3D0xc0400000<AMIE,DSP,3DNow!>
> real memory  =3D 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=3D7, 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 Queuei=
ng
> 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 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




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