Title: Re: md0 won't let go... (dmesg dump...)
I have scrapped the earlier configuration, and have rebuilt a kernel and tried this whole RAID ringmarole again. I am including mdstat, dmesg, and raidtab at the end.
Kernel 2.2.15
ide.2.2.15.20000509.patch
raid-2.2.15-A0 (Mingo)
Compiled, installed and rebooted fine. Recognized controllers, and all drives (see dmesg output).
Properly recognized and used /dev/md0 (hdg1/hdh1)
Also recognized hdf, hdj, hdk.
Doing fdisk /dev/hdf works just fine.
Doing fdisk /dev/hdg or /dev/hdk results in the old 'unable to open hdj/hdk'
Alright, try turning off the RAID again ... raidstop -all or raidstop /dev/md0.
This generates the following:
raidstop /dev/md0
/dev/md0: Device or resource busy
or
raidstop --all
nothing to do!
usage: raidstop [--all] [--configfile] [--help] [--version] [-achv] </dev/md?>*
So, this time it won't let go of hdj and hdk (I moved the drives around during the rebuild), which *DO* exist, and whose partition ID I can't change (even though it is currently blank/unformatted) becaused I can't use fdisk...
Any ideas?
Harry
/proc/mdstat:
-------------
Personalities : [raid0]
read_ahead 1024 sectors
md0 : active raid0 hdh1[1] hdg1[0] 19806976 blocks 16k chunks
unused devices: <none>
/etc/raidtab:
-------------
raiddev /dev/md0
raid-level 0
nr-raid-disks 2
persistent-superblock 1
chunk-size 16
device /dev/hdg1
raid-disk 0
device /dev/hdh1
raid-disk 1
dmesg:
------
Linux version 2.2.15 ([EMAIL PROTECTED]) (gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)) #1 Wed May 17 04:00:28 PDT 2000
Detected 451039172 Hz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 897.84 BogoMIPS
Memory: 127900k/131008k available (1068k kernel code, 416k reserved, 1556k data, 68k init)
Dentry hash table entries: 16384 (order 5, 128k)
Buffer cache hash table entries: 131072 (order 7, 512k)
Page cache hash table entries: 32768 (order 5, 128k)
VFS: Diskquotas version dquot_6.4.0 initialized
CPU: L1 I Cache: 32K L1 D Cache: 32K
CPU: AMD AMD-K6(tm) 3D processor stepping 0c
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.35a (19990819) Richard Gooch ([EMAIL PROTECTED])
PCI: PCI BIOS revision 2.10 entry at 0xfb4e0
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: 00:3b [1106/3040/000604] has unknown header type 00, ignoring.
PCI: 00:38 [1106/0586]: Work around ISA DMA hangs (00)
Activating ISA DMA hang workarounds.
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
TCP: Hash tables configured (ehash 131072 bhash 65536)
Initializing RT netlink socket
Starting kswapd v 1.5
Detected PS/2 Mouse Port.
Serial driver version 4.27 with MANY_PORTS MULTIPORT SHARE_IRQ enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
pty: 256 Unix98 ptys configured
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.12)
Real Time Clock Driver v1.09
RAM disk driver initialized: 16 RAM disks of 4096K size
Uniform Multi-Platform E-IDE driver Revision: 6.30
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller on PCI bus 00 dev 39
VP_IDE: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xb400-0xb407, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xb408-0xb40f, BIOS settings: hdc:DMA, hdd:DMA
HPT366: IDE controller on PCI bus 00 dev 40
HPT366: not 100% native mode: will probe irqs later
ide2: BM-DMA at 0xc000-0xc007, BIOS settings: hde:pio, hdf:DMA
HPT366: IDE controller on PCI bus 00 dev 41
HPT366: not 100% native mode: will probe irqs later
ide3: BM-DMA at 0xcc00-0xcc07, BIOS settings: hdg:DMA, hdh:DMA
HPT366: IDE controller on PCI bus 00 dev 48
HPT366: not 100% native mode: will probe irqs later
ide4: BM-DMA at 0xd800-0xd807, BIOS settings: hdi:pio, hdj:DMA
HPT366: IDE controller on PCI bus 00 dev 49
HPT366: not 100% native mode: will probe irqs later
ide5: BM-DMA at 0xe400-0xe407, BIOS settings: hdk:DMA, hdl:pio
hda: IBM-DTTA-351010, ATA DISK drive
hdc: IDE/ATAPI CD-ROM 44X, ATAPI CDROM drive
hdf: IBM-DJNA-352500, ATA DISK drive
hdg: IBM-DTTA-351010, ATA DISK drive
hdh: IBM-DTTA-351010, ATA DISK drive
hdj: IBM-DJNA-352500, ATA DISK drive
hdk: IBM-DJNA-352500, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide2 at 0xb800-0xb807,0xbc02 on irq 11
ide3 at 0xc400-0xc407,0xc802 on irq 11
ide4 at 0xd000-0xd007,0xd402 on irq 9
ide5 at 0xdc00-0xdc07,0xe002 on irq 9
hda: IBM-DTTA-351010, 9671MB w/466kB Cache, CHS=1232/255/63, UDMA(33)
hdf: IBM-DJNA-352500, 24405MB w/1966kB Cache, CHS=49585/16/63, UDMA(66)
hdg: IBM-DTTA-351010, 9671MB w/466kB Cache, CHS=19650/16/63, UDMA(33)
hdh: IBM-DTTA-351010, 9671MB w/466kB Cache, CHS=19650/16/63, UDMA(33)
hdj: IBM-DJNA-352500, 24405MB w/1966kB Cache, CHS=49585/16/63, UDMA(66)
hdk: IBM-DJNA-352500, 24405MB w/1966kB Cache, CHS=49585/16/63, UDMA(66)
hdc: ATAPI 20X CD-ROM drive, 128kB Cache, UDMA(16)
Uniform CDROM driver Revision: 2.56
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
md driver 0.90.0 MAX_MD_DEVS=256, MAX_REAL=12
raid5: measuring checksumming speed
raid5: MMX detected, trying high-speed MMX checksum routines
pII_mmx : 958.596 MB/sec
p5_mmx : 840.105 MB/sec
8regs : 651.129 MB/sec
32regs : 454.152 MB/sec
using fastest function: pII_mmx (958.596 MB/sec)
scsi : 0 hosts.
scsi : detected total.
md.c: sizeof(mdp_super_t) = 4096
Partition check:
hda: hda1 hda2 < hda5 hda6 >
hdf: hdf1
hdg: hdg1
hdh: hdh1
hdj: [PTBL] [1027/255/63] hdj1
hdk: [PTBL] [1027/255/63] hdk1
autodetecting RAID arrays
(read) hdg1's sb offset: 9903488 [events: 00000020]
(read) hdh1's sb offset: 9903488 [events: 00000020]
(read) hdj1's sb offset: 24988992 [events: 7ea3ac70]
md: invalid raid superblock magic on hdj1
md: hdj1 has invalid sb, not importing!
could not import hdj1!
(read) hdk1's sb offset: 24988992 [events: ffffffff]
md: invalid raid superblock magic on hdk1
md: hdk1 has invalid sb, not importing!
could not import hdk1!
autorun ...
considering hdh1 ...
adding hdh1 ...
adding hdg1 ...
created md0
bind<hdg1,1>
bind<hdh1,2>
running: <hdh1><hdg1>
now!
hdh1's event counter: 00000020
hdg1's event counter: 00000020
request_module[md-personality-2]: Root fs not mounted
do_md_run() returned -22
unbind<hdh1,1>
export_rdev(hdh1)
unbind<hdg1,0>
export_rdev(hdg1)
md0 stopped.
... autorun DONE.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 68k freed
Adding Swap: 265032k swap-space (priority -1)
Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
ad1848/cs4248 codec driver Copyright (C) by Hannu Savolainen 1993-1996
MAD16 audio driver Copyright (C) by Hannu Savolainen 1993-1996
CDROM Disabled.
Joystick port enabled.
MAD16 / Mozart: Invalid MIDI port 0x340
YM3812 and OPL-3 driver Copyright (C) by Hannu Savolainen, Rob Hooft 1993-1996
(read) hdg1's sb offset: 9903488 [events: 00000020]
(read) hdh1's sb offset: 9903488 [events: 00000020]
autorun ...
considering hdh1 ...
adding hdh1 ...
adding hdg1 ...
created md0
bind<hdg1,1>
bind<hdh1,2>
running: <hdh1><hdg1>
now!
hdh1's event counter: 00000020
hdg1's event counter: 00000020
raid0 personality registered
mask fffffff0
rdev->size: 9903488
masked rdev->size: 9903488
new md_size: 9903488
rdev->size: 9903488
masked rdev->size: 9903488
new md_size: 19806976
md0: max total readahead window set to 256k
md0: 2 data-disks, max readahead per data-disk: 128k
raid0: looking at hdg1
raid0: comparing hdg1(9903488) with hdg1(9903488)
raid0: END
raid0: ==> UNIQUE
raid0: 1 zones
raid0: looking at hdh1
raid0: comparing hdh1(9903488) with hdg1(9903488)
raid0: EQUAL
raid0: FINAL 1 zones
zone 0
checking hdg1 ... contained as device 0
(9903488) is smallest!.
checking hdh1 ... contained as device 1
zone->nb_dev: 2, size: 19806976
current zone offset: 9903488
done.
raid0 : md_size is 19806976 blocks.
raid0 : conf->smallest->size is 19806976 blocks.
raid0 : nb_zone is 1.
raid0 : Allocating 8 bytes for hash.
md: updating md0 RAID superblock on device
hdh1 [events: 00000021](write) hdh1's sb offset: 9903488
hdg1 [events: 00000021](write) hdg1's sb offset: 9903488
.
... autorun DONE.
tulip.c:v0.91g-ppc 7/16/99 [EMAIL PROTECTED]
eth0: Digital DS21140 Tulip rev 34 at 0xe800, 00:40:05:31:00:CF, IRQ 9.
eth0: EEPROM default media type Autosense.
eth0: Index #0 - Media MII (#11) described by a 21140 MII PHY (1) block.
eth0: MII transceiver #0 config 1000 status 782d advertising 01e1.
NET4: AppleTalk 0.18 for Linux NET4.0
- RE: md0 won't let go... Gregory Leblanc
- Re: md0 won't let go... Harry Zink
- RE: md0 won't let go... Gregory Leblanc
- Re: md0 won't let go... (dmesg dump...) Harry Zink
- Re: md0 won't let go... (dmesg dump...) James Manning
- Re: md0 won't let go... D. Lance Robinson
- Re: md0 won't let go... (dmesg dump..... Harry Zink
- Re: md0 won't let go... (dmesg du... Tommy
- Re: md0 won't let go... (dme... James Manning
- Re: md0 won't let go... ... Harry Zink
- Re: md0 won't let go... ... Harry Zink
- Re: md0 won't let go... ... James Manning
- Re: md0 won't let go... ... Harry Zink
- Re: md0 won't let go... ... James Manning
- Re: md0 won't let go... ... Mr. James W. Laferriere
- Re: md0 won't let go... ... Harry Zink