From owner-freebsd-questions Fri Jan 16 18:04:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA16580 for questions-outgoing; Fri, 16 Jan 1998 18:04:03 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ns1.sminter.com.ar (ns1.sminter.com.ar [200.10.100.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA16534 for ; Fri, 16 Jan 1998 18:02:41 -0800 (PST) (envelope-from fpscha@ns1.sminter.com.ar) Received: (from fpscha@localhost) by ns1.sminter.com.ar (8.8.5/8.8.4) id XAA16974; Fri, 16 Jan 1998 23:00:38 +0300 (GMT) From: Fernando Schapachnik Message-Id: <199801162000.XAA16974@ns1.sminter.com.ar> Subject: Re: Problem adding a hard disk To: dwhite@resnet.uoregon.edu Date: Fri, 16 Jan 1998 23:00:38 +0300 (GMT) Cc: fpscha@ns1.sminter.com.ar, questions@FreeBSD.ORG In-Reply-To: from "Doug White" at Jan 16, 98 11:44:27 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk En un mensaje anterior, Doug White escribió: > > On Thu, 15 Jan 1998, Fernando Schapachnik wrote: > > > > > > > (ahc0:1:0): "SEAGATE ST34371W 0484" type 0 fixed SCSI 2 > > > > > > sd1(ahc0:1:0): Direct-Access 4148MB (8496884 512 byte sectors) > > > > > > > I've read the tutorial you pointed and followed the manual steps. > > > > Here are the results: > > > > > > Hm, interesting. Can you please post the output of `disklabel sd1' and > > > > Sure, here you have: > > > > [1001]ns3:/root>disklabel sd1 > > disklabel: ioctl DIOCGDINFO: Invalid argument > > What's odd is that I'm getting the same message for my SCSI disk (a 2GB > Hawk), but my boot disk, wd0, reports fine. Hm..... > > > > `dmesg'? It's acting like the in-core disklabel for sd1 is blank, which > > > isn't correct. > > > > arplookup 102.255.105.85 failed: host is not on local network > > oops your dmesg is hosed. Post the contents of `/var/run/dmesg.boot' > instead. I don't have a dmesg.boot there, but I have the boot report from syslog (I cicle it :) ): Jan 5 09:28:39 ns3 /kernel: FreeBSD 2.1.7.1-RELEASE #0: Thu Nov 6 09:42:50 ARST 1997 Jan 5 09:28:39 ns3 /kernel: root@ns3.sminter.com.ar:/usr/src/sys/compile/NKERNEL Jan 5 09:28:40 ns3 /kernel: CPU: 120-MHz Pentium 735\90 or 815\100 (Pentium-class CPU) Jan 5 09:28:40 ns3 /kernel: Origin = "GenuineIntel" Id = 0x52c Stepping=12 Jan 5 09:28:40 ns3 /kernel: Features=0x1bf Jan 5 09:28:40 ns3 /kernel: real memory = 67108864 (65536K bytes) Jan 5 09:28:41 ns3 /kernel: avail memory = 62758912 (61288K bytes) Jan 5 09:28:41 ns3 /kernel: Probing for devices on PCI bus 0: Jan 5 09:28:41 ns3 /kernel: chip0 rev 16 on pci0:0 Jan 5 09:28:41 ns3 /kernel: chip1 rev 2 on pci0:7:0 Jan 5 09:28:41 ns3 /kernel: pci0:7:1: VIA Technologies, device=0x0571, class=storage (ide) [no driver assigned] Jan 5 09:28:42 ns3 /kernel: vx0 <3COM 3C900 Etherlink XL PCI> rev 0 int a irq 11 on pci0:8 Jan 5 09:28:42 ns3 /kernel: utp/aui/bnc[*utp*]: disable 'auto select' with DOS util! address 00:60:97:61:91:71 Jan 5 09:28:42 ns3 /kernel: vga0 rev 0 on pci0:10 Jan 5 09:28:42 ns3 /kernel: ahc0 rev 0 int a irq 10 on pci0:11 Jan 5 09:28:42 ns3 /kernel: ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs Jan 5 09:28:42 ns3 /kernel: ahc0 waiting for scsi devices to settle Jan 5 09:28:42 ns3 /kernel: (ahc0:0:0): "SEAGATE ST34371W 0484" type 0 fixed SCSI 2 Jan 5 09:28:42 ns3 /kernel: sd0(ahc0:0:0): Direct-Access 4148MB (8496884 512 byte sectors) Jan 5 09:28:42 ns3 /kernel: (ahc0:1:0): "SEAGATE ST34371W 0484" type 0 fixed SCSI 2 Jan 5 09:28:42 ns3 /kernel: sd1(ahc0:1:0): Direct-Access 4148MB (8496884 512 byte sectors) Is this what you are looking for? Jan 5 09:28:43 ns3 /kernel: Probing for devices on the ISA bus: Jan 5 09:28:43 ns3 /kernel: sc0 at 0x60-0x6f irq 1 on motherboard Jan 5 09:28:43 ns3 /kernel: sc0: VGA color <16 virtual consoles, flags=0x0> Jan 5 09:28:43 ns3 /kernel: ed0 not found at 0x280 Jan 5 09:28:43 ns3 /kernel: ed1 not found at 0x300 Jan 5 09:28:43 ns3 /kernel: sio0 at 0x3f8-0x3ff irq 4 on isa Jan 5 09:28:43 ns3 /kernel: sio0: type 16550A Jan 5 09:28:43 ns3 /kernel: sio1 at 0x2f8-0x2ff irq 3 on isa Jan 5 09:28:43 ns3 /kernel: sio1: type 16550A Jan 5 09:28:43 ns3 /kernel: sio2: disabled, not probed. Jan 5 09:28:44 ns3 /kernel: sio3: disabled, not probed. Jan 5 09:28:44 ns3 /kernel: lpt0 at 0x378-0x37f irq 7 on isa Jan 5 09:28:44 ns3 /kernel: lpt0: Interrupt-driven port Jan 5 09:28:44 ns3 /kernel: lp0: TCP/IP capable interface Jan 5 09:28:44 ns3 /kernel: lpt1 not found at 0xffffffff Jan 5 09:28:44 ns3 /kernel: mse0 not found at 0x23c Jan 5 09:28:44 ns3 /kernel: psm0: disabled, not probed. Jan 5 09:28:44 ns3 /kernel: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa Jan 5 09:28:44 ns3 /kernel: fdc0: NEC 72065B Jan 5 09:28:44 ns3 /kernel: fd0: 1.44MB 3.5in Jan 5 09:28:45 ns3 /kernel: wdc0 at 0x1f0-0x1f7 irq 14 on isa Jan 5 09:28:45 ns3 /kernel: wdc0: unit 0 (wd0): Jan 5 09:28:45 ns3 /kernel: wd0: 1032MB (2113776 sectors), 2097 cyls, 16 heads, 63 S/T, 512 B/S Jan 5 09:28:45 ns3 /kernel: wdc1 not found at 0x170 Jan 5 09:28:45 ns3 /kernel: bt0 not found at 0x330 Jan 5 09:28:45 ns3 /kernel: uha0 not found at 0x330 Jan 5 09:28:45 ns3 /kernel: aha0 not found at 0x330 Jan 5 09:28:45 ns3 /kernel: aic0 not found at 0x340 Jan 5 09:28:45 ns3 /kernel: nca0 not found at 0x1f88 Jan 5 09:28:46 ns3 /kernel: nca1 not found at 0x350 Jan 5 09:28:46 ns3 /kernel: sea0 not found Jan 5 09:28:46 ns3 /kernel: wt0 not found at 0x300 Jan 5 09:28:46 ns3 /kernel: mcd0: timeout getting status Jan 5 09:28:46 ns3 /kernel: mcd0 not found at 0x300 Jan 5 09:28:46 ns3 /kernel: matcdc0 not found at 0x230 Jan 5 09:28:46 ns3 /kernel: scd0 not found at 0x230 Jan 5 09:28:46 ns3 /kernel: ie0 not found at 0x360 Jan 5 09:28:46 ns3 /kernel: ep0 not found at 0x300 Jan 5 09:28:46 ns3 /kernel: ix0 not found at 0x300 Jan 5 09:28:47 ns3 /kernel: le0 not found at 0x300 Jan 5 09:28:47 ns3 /kernel: lnc0 not found at 0x280 Jan 5 09:28:47 ns3 /kernel: ze0 not found at 0x300 Jan 5 09:28:47 ns3 /kernel: zp0 not found at 0x300 Jan 5 09:28:47 ns3 /kernel: npx0 on motherboard Jan 5 09:28:47 ns3 /kernel: npx0: INT 16 interface Jan 5 09:28:47 ns3 sendmail[90]: /etc/sendmail.cf: WARNING: dangerous write permissions [...stuff concerning hardware ends here, the rest is daemons initialization...] Tell me if you need anything else. > > > Do you think all this trouble may be due to hardware failure? I > > DOS-formated the disk and it worked. > > No, it's some confusion in the FreeBSD area. > > > > > [1013]ns3:/etc>dd if=/dev/zero of=/dev/rsd1 count=2 > > > > 2+0 records in > > > > 2+0 records out > > > > 1024 bytes transferred in 1 secs (1024 bytes/sec) > > > > [1014]ns3:/etc>disklabel /dev/rsd1 | disklabel -B -R -r sd1 /dev/stdin > > > > Warning, revolutions/minute 0 > > > > boot block size 0 > > > > super block size 0 > > > > line 12: 0: bad rpm > > > > line 13: 0: bad interleave > > > > Warning, revolutions/minute 0 > > > > [1015]ns3:/etc>newfs /dev/rsd1c > > > > newfs: ioctl (GDINFO): Invalid argument > > > > newfs: /dev/rsd1c: can't read disk label; disk type must be specified Fernando P. Schapachnik S&M Internet