Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Nov 1998 15:37:55 +0100 (MET)
From:      Mathias Picker <mathiasp@virtual-earth.de>
To:        questions@FreeBSD.ORG
Subject:   disklabel problem on 3.0
Message-ID:  <199811251437.PAA00381@world.virtual-earth.de>

next in thread | raw e-mail | index | archive | help
I'm having problems with a new 4GB UW-SCSI:

replacing a disk of same size which develped bad blocks, I installed
the new disk on an 68-pin cable next to the old one. I used sysinstall
to partinion it. Everything worked fine. after newfs, I copied the
contents of the old disk to the new one. Worked.

Then I uninstalled the old disk, put the new one on the end of the
cable and switched on termination.

On the next boot I got a "device not configured" error from mount, even
though the drive is recognised (see dmesg output at end of file)

Looking again with sysinstall, I saw an empty drive. Damn I thought,
and re-partitioned it. Didn't work. No errors, but any operation on
/dev/da2s1e gives "device not configured" So I tried dd, no problems
there I can write to that disk just fine. I disklabel, and though 
disklabel /dev/da2 shows an empty disklabel, 
disklabel -r /dev/da2 gives back: "disklabel: bad pack magic number
(label is damaged, or pack is unlabeled)"

Hmmmmm. So I thought about camcontol, everything looks fine.
start/stop/inquiry/tur work as expected. I can hear the drive spinning
down and up, so cam really can talk to the device.

Next try:

world# disklabel -r -R /dev/[r]da2 /tmp/da2.label  
disklabel: ioctl DIOCWLABEL: Operation not supported by device
(da2.label is the auto label plus partitions)

Damn.



Any HELP would be really welcome, this is (was) my main data drive) I
really need this!

please respond directly to me, too, I only get questions-digest, which
might take some time....


Thanks, Mathias

P.S.: some infos
world# camcontrol devlist
<IBM DPES-31080 S31Q>              at scbus0 target 0 lun 0 (pass0,da0)
<HP C1533A 9503>                   at scbus0 target 3 lun 0 (pass1,sa0)
<IBM DORS-32160 S84A>              at scbus0 target 4 lun 0 (pass2,da1)
<NEC CD-ROM DRIVE:222 3.1k>        at scbus0 target 6 lun 0 (pass3,cd0)
<IBM DDRS-34560D DC1B>             at scbus0 target 8 lun 0 (pass4,da2)
world# camcontrol inquiry -u 2
<IBM DDRS-34560D DC1B> Fixed Direct Access SCSI2 device 
Serial Number RD1X8723        
40.0MB/s transfers (20.0MHz, offset 15, 16bit), Tagged Queueing Enabled
world# 

Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 3.0-CURRENT #0: Tue Nov 17 11:59:52 MET 1998
    mathiasp@world.virtual-earth.de:/usr/src/sys/compile/WORLD
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 99474141 Hz
CPU: Pentium/P54C (99.47-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x525  Stepping=5
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 33554432 (32768K bytes)
config> quit
avail memory = 30449664 (29736K bytes)
Probing for devices on PCI bus 0:
chip0: <Intel 82437FX PCI cache memory controller> rev 0x02 on pci0.0.0
chip1: <Intel 82371FB PCI to ISA bridge> rev 0x02 on pci0.7.0
de0: <Digital 21041 Ethernet> rev 0x11 int a irq 10 on pci0.9.0
de0: 21041 [10Mb/s] pass 1.1
de0: address 00:80:48:e8:d7:85
ncr0: <ncr 53c875 fast20 wide scsi> rev 0x26 int a irq 11 on pci0.11.0
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
psm0 not found at 0x60
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
npx0 on motherboard
npx0: INT 16 interface
de0: enabling 10baseT port
Intel Pentium F00F detected, installing workaround
Waiting 8 seconds for SCSI devices to settle
sa0 at ncr0 bus 0 target 3 lun 0
sa0: <HP C1533A 9503> Removable Sequential Access SCSI2 device 
sa0: 10.0MB/s transfers (10.0MHz, offset 8)
changing root device to da0s1a
da0 at ncr0 bus 0 target 0 lun 0
da0: <IBM DPES-31080 S31Q> Fixed Direct Access SCSI2 device 
da0: 10.0MB/s transfers (10.0MHz, offset 15), Tagged Queueing Enabled
da0: 1034MB (2118144 512 byte sectors: 255H 63S/T 131C)
cd0 at ncr0 bus 0 target 6 lun 0
cd0: <NEC CD-ROM DRIVE:222 3.1k> Removable CD-ROM SCSI2 device 
cd0: 8.64MB/s transfers (8.64MHz, offset 15)
cd0: cd present [133289 x 2048 byte records]
da1 at ncr0 bus 0 target 4 lun 0
da1: <IBM DORS-32160 S84A> Fixed Direct Access SCSI2 device 
da1: 10.0MB/s transfers (10.0MHz, offset 15), Tagged Queueing Enabled
da1: 2063MB (4226725 512 byte sectors: 255H 63S/T 263C)
da2 at ncr0 bus 0 target 8 lun 0
da2: <IBM DDRS-34560D DC1B> Fixed Direct Access SCSI2 device 
da2: 40.0MB/s transfers (20.0MHz, offset 15, 16bit), Tagged Queueing Enabled
da2: 4357MB (8925000 512 byte sectors: 255H 63S/T 555C)
ffs_mountfs: superblock updated for soft updates
ffs_mountfs: superblock updated for soft updates


-- 

  Mathias Picker

Consultant Information Architecture 

  Mathias.Picker@virtual-earth.de 
              +49 172 / 89 19 381


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?199811251437.PAA00381>