Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Can't configure new disk



There are no entries made to dmesg while running 'fdisk wd1'.

Agreed that changing out the disk is grasping at straws.  I installed a small SSD and it doesn't see that at all.  Very frustrating. This hardware might just might be too old to support these newer devices??

bash-4.3# ls -l /dev/rwd[01]*
crw-r-----  1 root  operator  3,      0 Aug 21  2015 /dev/rwd0a
crw-r-----  1 root  operator  3,      1 Feb 20  2014 /dev/rwd0b
crw-r-----  1 root  operator  3,      2 Feb  1  2014 /dev/rwd0c
crw-r-----  1 root  operator  3,      3 Feb  1  2014 /dev/rwd0d
crw-r-----  1 root  operator  3,      4 Jul  8  2016 /dev/rwd0e
crw-r-----  1 root  operator  3,      5 Jul  8  2016 /dev/rwd0f
crw-r-----  1 root  operator  3,      6 Jul  8  2016 /dev/rwd0g
crw-r-----  1 root  operator  3,      7 Jul  8  2016 /dev/rwd0h
crw-r-----  1 root  operator  3, 524288 Jul  8  2016 /dev/rwd0i
crw-r-----  1 root  operator  3, 524289 Jul  8  2016 /dev/rwd0j
crw-r-----  1 root  operator  3, 524290 Jul  8  2016 /dev/rwd0k
crw-r-----  1 root  operator  3, 524291 Jul  8  2016 /dev/rwd0l
crw-r-----  1 root  operator  3, 524292 Jul  8  2016 /dev/rwd0m
crw-r-----  1 root  operator  3, 524293 Feb  1  2014 /dev/rwd0n
crw-r-----  1 root  operator  3, 524294 Feb  1  2014 /dev/rwd0o
crw-r-----  1 root  operator  3, 524295 Feb  1  2014 /dev/rwd0p
crw-r-----  1 root  operator  3,      8 Nov 22  2014 /dev/rwd1a
crw-r-----  1 root  operator  3,      9 Feb  1  2014 /dev/rwd1b
crw-r-----  1 root  operator  3,     10 Feb  1  2014 /dev/rwd1c
crw-r-----  1 root  operator  3,     11 Feb  1  2014 /dev/rwd1d
crw-r-----  1 root  operator  3,     12 Nov 22  2014 /dev/rwd1e
crw-r-----  1 root  operator  3,     13 Feb  1  2014 /dev/rwd1f
crw-r-----  1 root  operator  3,     14 Feb  1  2014 /dev/rwd1g
crw-r-----  1 root  operator  3,     15 Nov 22  2014 /dev/rwd1h
crw-r-----  1 root  operator  3, 524296 Feb  1  2014 /dev/rwd1i
crw-r-----  1 root  operator  3, 524297 Feb  1  2014 /dev/rwd1j
crw-r-----  1 root  operator  3, 524298 Feb  1  2014 /dev/rwd1k
crw-r-----  1 root  operator  3, 524299 Feb  1  2014 /dev/rwd1l
crw-r-----  1 root  operator  3, 524300 Feb  1  2014 /dev/rwd1m
crw-r-----  1 root  operator  3, 524301 Feb  1  2014 /dev/rwd1n
crw-r-----  1 root  operator  3, 524302 Feb  1  2014 /dev/rwd1o
crw-r-----  1 root  operator  3, 524303 Feb  1  2014 /dev/rwd1p

************* /var/log/boot.dmesg*****************

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 6.99.31 (GEMINI) #0: Sun Feb 16 19:11:21 PST 2014
        root@:/usr/src/BUILD_OBJ/sys/arch/i386/compile/GEMINI
total memory = 3071 MB
avail memory = 3005 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
        ( )
mainbus0 (root)
ACPI: RSDP 0xf7c20 000014 (v00 IntelR)
ACPI: RSDT 0xbfff3000 00002C (v01 IntelR AWRDACPI 42302E31 AWRD 00000000)
ACPI: FACP 0xbfff3040 000074 (v01 IntelR AWRDACPI 42302E31 AWRD 00000000)
ACPI: DSDT 0xbfff30c0 0044FA (v01 INTELR AWRDACPI 00001000 MSFT 0100000E)
ACPI: FACS 0xbfff0000 000040
ACPI: APIC 0xbfff75c0 000068 (v01 IntelR AWRDACPI 42302E31 AWRD 00000000)
ACPI: All ACPI Tables successfully acquired
cpu0 at mainbus0 apid 0: Intel(R) Pentium(R) 4 CPU 2.80GHz, id 0xf29
cpu1 at mainbus0 apid 1: Intel(R) Pentium(R) 4 CPU 2.80GHz, id 0xf29
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 0x20, 24 pins
acpi0 at mainbus0: Intel ACPICA 20131218
acpi0: X/RSDT: OemId <IntelR,AWRDACPI,42302e31>, AslId <AWRD,00000000>
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
SYSR (PNP0C02) at acpi0 not configured
attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
midi0 at pcppi1: PC speaker
sysbeep0 at pcppi1
COPR (PNP0C04) at acpi0 not configured
FDC0 (PNP0700) at acpi0 not configured
UAR1 (PNP0501) at acpi0 not configured
IRDA (PNP0510) at acpi0 not configured
LPT1 (PNP0400) at acpi0 not configured
PSMR (PNP0C02) at acpi0 not configured
PMIO (PNP0C02) at acpi0 not configured
FWH (INT0800) at acpi0 not configured
MEM (PNP0C01) at acpi0 not configured
acpifan0 at acpi0 (FAN, PNP0C0B): ACPI Fan
acpitz0 at acpi0 (THRM): cpu0
acpitz0: active cooling level 0: 85.0C
acpitz0: levels: critical 100.0 C, passive 85.0 C
apm0 at acpi0: Power Management spec V1.2
ACPI: Enabled 1 GPEs in block 00 to 1F
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20131218/hwxface-646)
ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S3_] (20131218/hwxface-646)
attimer1: attached to pcppi1
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: vendor 0x8086 product 0x2570 (rev. 0x02)
agp0 at pchb0: aperture at 0xf0000000, size 0x8000000
ppb0 at pci0 dev 1 function 0: vendor 0x8086 product 0x2571 (rev. 0x02)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: vendor 0x1002 product 0x4153 (rev. 0x00)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
radeondrm0 at vga1: ATI Radeon AS 9550
radeondrm0: AGP at 0xf0000000 128MB
radeondrm0: Initialized radeon 1.29.0 20080613
vendor 0x1002 product 0x4173 (miscellaneous display) at pci1 dev 0 function 1 not configured
uhci0 at pci0 dev 29 function 0: vendor 0x8086 product 0x24d2 (rev. 0x02)
uhci0: interrupting at ioapic0 pin 16
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 29 function 1: vendor 0x8086 product 0x24d4 (rev. 0x02)
uhci1: interrupting at ioapic0 pin 19
usb1 at uhci1: USB revision 1.0
uhci2 at pci0 dev 29 function 2: vendor 0x8086 product 0x24d7 (rev. 0x02)
uhci2: interrupting at ioapic0 pin 18
usb2 at uhci2: USB revision 1.0
uhci3 at pci0 dev 29 function 3: vendor 0x8086 product 0x24de (rev. 0x02)
uhci3: interrupting at ioapic0 pin 16
usb3 at uhci3: USB revision 1.0
ehci0 at pci0 dev 29 function 7: vendor 0x8086 product 0x24dd (rev. 0x02)
ehci0: interrupting at ioapic0 pin 23
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3
usb4 at ehci0: USB revision 2.0
ppb1 at pci0 dev 30 function 0: vendor 0x8086 product 0x244e (rev. 0xc2)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled
rtk0 at pci2 dev 2 function 0: Realtek 8139 10/100BaseTX (rev. 0x10)
rtk0: interrupting at ioapic0 pin 18
rtk0: Ethernet address 00:50:8d:4f:76:5c
rlphy0 at rtk0 phy 7: Realtek internal PHY
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
hptide0 at pci2 dev 4 function 0
hptide0: Triones/Highpoint HPT302 IDE Controller
hptide0: bus-master DMA support present
hptide0: primary channel wired to native-PCI mode
hptide0: using ioapic0 pin 20 for native-PCI interrupt
atabus0 at hptide0 channel 0
hptide0: secondary channel wired to native-PCI mode
atabus1 at hptide0 channel 1
satalink0 at pci2 dev 7 function 0: Silicon Image SATALink 3512 (rev. 0x01)
satalink0: SATALink BA5 register space disabled
satalink0: bus-master DMA support present
satalink0: primary channel wired to native-PCI mode
satalink0: using ioapic0 pin 23 for native-PCI interrupt
atabus2 at satalink0 channel 0
satalink0: secondary channel wired to native-PCI mode
atabus3 at satalink0 channel 1
re0 at pci2 dev 9 function 0: RealTek 8169/8110 Gigabit Ethernet (rev. 0x10)
re0: interrupting at ioapic0 pin 17
re0: Ethernet address 00:18:4d:72:15:60
re0: using 256 tx descriptors
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 1000BASE-T media interface, rev. 0
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
ichlpcib0 at pci0 dev 31 function 0: vendor 0x8086 product 0x24d0 (rev. 0x02)
timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz quality 1000
ichlpcib0: 24-bit timer
ichlpcib0: TCO (watchdog) timer configured.
gpio0 at ichlpcib0: 64 pins
piixide0 at pci0 dev 31 function 2: Intel 82801EB Serial ATA Controller (rev. 0x02)
piixide0: bus-master DMA support present
piixide0: primary channel configured to compatibility mode
piixide0: primary channel interrupting at ioapic0 pin 14
atabus4 at piixide0 channel 0
piixide0: secondary channel configured to compatibility mode
piixide0: secondary channel interrupting at ioapic0 pin 15
atabus5 at piixide0 channel 1
ichsmb0 at pci0 dev 31 function 3: vendor 0x8086 product 0x24d3 (rev. 0x02)
ichsmb0: interrupting at ioapic0 pin 17
iic0 at ichsmb0: I2C bus
auich0 at pci0 dev 31 function 5: i82801EB (ICH5) AC-97 Audio
auich0: interrupting at ioapic0 pin 17
auich0: ac97: Avance Logic ALC650 codec; 20 bit DAC, 18 bit ADC, Realtek 3D
auich0: ac97: ext id 0x5c7<AC97_22,LDAC,SDAC,CDAC,SPDIF,DRA,VRA>
isa0 at ichlpcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
acpicpu0 at cpu0: ACPI CPU
acpicpu0: C1: HLT, lat   0 us, pow     0 mW
acpicpu1 at cpu1: ACPI CPU
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
auich0: measured ac97 link rate at 48003 Hz, will use 48000 Hz
audio0 at auich0: full duplex, playback, capture, mmap, independent
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
uhub0 at usb2: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
wd0 at atabus4 drive 0
uhub1 at usb4: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 8 ports with 8 removable, self powered
uhub2 at usb0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhub3 at usb1: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
uhub4 at usb3: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub4: 2 ports with 2 removable, self powered
wd0: <ST31000528AS>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect x 1953525168 sectors
IPsec: Initialized Security Association Processing.
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd1 at atabus4 drive 1
wd1: <Hitachi HDS721010CLA332>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect x 1953525168 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
wd1(piixide0:0:1): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
atapibus0 at atabus5: 2 targets
cd0 at atapibus0 drive 0: <DVD-ROM DDU1621, , VER S4.> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
ehci0: handing over low speed device on port 8 to uhci3
Kernelized RAIDframe activated
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
uhidev0 at uhub4 port 2 configuration 1 interface 0
uhidev0: Logitech USB Keyboard, rev 1.10/64.00, addr 2, iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uhidev1 at uhub4 port 2 configuration 1 interface 1
uhidev1: Logitech USB Keyboard, rev 1.10/64.00, addr 2, iclass 3/0
uhidev1: 3 report ids
uhid0 at uhidev1 reportid 1: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=1, output=0, feature=0
uhid2 at uhidev1 reportid 3: input=3, output=0, feature=0
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
wsdisplay0: screen 5 added (80x50, vt100 emulation)



On Sun, Mar 12, 2017 at 4:47 AM, Robert Elz <kre%munnari.oz.au@localhost> wrote:
    Date:        Sun, 12 Mar 2017 14:41:23 +0800 (PHT)
    From:        Paul Goyette <paul%whooppee.com@localhost>
    Message-ID:  <Pine.NEB.4.64.1703121440110.10741%speedy.whooppee.com@localhost>

  | Please provide the output from dmeg(1)

dmesg ...  some of that was in the earlier message, and it all looked OK
for wd1.  It might be useful to see the whole dmesg output though, just
in case there is something else relevant in there.   It would also be a
good idea to run "dmesg | tail" before and after attempting the fdisk,
disklabel, etc - just in case the kernel says something on the console
when rejecting the device opens with ENXIO (you would be looking for
anything added at the end of the "after" dmesg.)

What I still do not see is: ls -l of /dev/rwd1* output to verify they're
made for the correct architecture (i386 and amd64 /dev/wd entries are not
interchangeable, except for wd0[a-h])

>From the earlier message, this is running on an i386 kernel, and the
/dev/wd1* entries looked correct for i386 but no idea if the rw1* entries
match.

It is unlikely that changing the disc drive itself will make any difference,
if there was something wrong with that you'd more likely see EIO (I/O errror)
then ENXIO (device not configured) - however ENXIO is almost certain if
the minor device numbers don't match the device correctly, or if something
is not configured correctly.

Paul: this is (from the earlier e-mail - Mar 1) ...

NetBSD gemini.wan.vpn 6.99.31 NetBSD 6.99.31 (GEMINI) #0: Sun Feb 16
19:11:21 PST 2014  root@:/usr/src/BUILD_OBJ/sys/arch/i386/compile/GEMINI
i386

so it isn't anything new as a kernel (but I ran/run lots from that
timeframe, and have no problems with multiple wd drives)

kre




Home | Main Index | Thread Index | Old Index