Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15358 - can't make raid filesystems from livecd; suspect md module missing/not loaded
Summary: can't make raid filesystems from livecd; suspect md module missing/not loaded
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-08 23:53 UTC by Eric Johanson
Modified: 2003-02-09 07:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Johanson 2003-02-08 23:53:07 UTC
I'm working on setting up a LVM/Raid system (LVM _in_ raid, not raid in LVM). 

I can't seem to use the liveCD to mkraid;

# mkraid /dev/md0
cannot determine md version: No such file or directory
#

my /etc/raidtab:
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
chunk-size 32
persistent-superblock 1
device /dev/hda1
raid-disk 0
device /dev/hdb1
raid-disk 1


Reproducible: Always
Steps to Reproduce:
1. boot from live cd
2. setup raidtab file
3. format partitions & mark as raid (fd)
4. run 'mkraid /dev/md0'

Actual Results:  
cannot determine md version: No such file or directory


Expected Results:  
it would blood work.  :)

Here is what both hda & hdb are setup as:


Disk /dev/hda: 255 heads, 63 sectors, 12161 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1             1         3     24066   fd  Linux raid autodetect
/dev/hda2             4      1278  10241437+  fd  Linux raid autodetect
/dev/hda3          1279     12161  87417697+  8e  Linux LVM


Here is most of my dmesg:

: arbitration: 00
.... IRQ redirection table:
 NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:   
 00 000 00  1    0    0   0   0    0    0    00
 01 003 03  0    0    0   0   0    1    1    39
 02 003 03  0    0    0   0   0    1    1    31
 03 003 03  0    0    0   0   0    1    1    41
 04 003 03  0    0    0   0   0    1    1    49
 05 003 03  0    0    0   0   0    1    1    51
 06 003 03  0    0    0   0   0    1    1    59
 07 003 03  0    0    0   0   0    1    1    61
 08 003 03  0    0    0   0   0    1    1    69
 09 003 03  1    1    0   0   0    1    1    71
 0a 003 03  0    0    0   0   0    1    1    79
 0b 003 03  0    0    0   0   0    1    1    81
 0c 003 03  0    0    0   0   0    1    1    89
 0d 003 03  0    0    0   0   0    1    1    91
 0e 003 03  0    0    0   0   0    1    1    99
 0f 003 03  0    0    0   0   0    1    1    A1
 10 000 00  1    0    0   0   0    0    0    00
 11 000 00  1    0    0   0   0    0    0    00
 12 000 00  1    0    0   0   0    0    0    00
 13 000 00  1    0    0   0   0    0    0    00
 14 000 00  1    0    0   0   0    0    0    00
 15 000 00  1    0    0   0   0    0    0    00
 16 000 00  1    0    0   0   0    0    0    00
 17 000 00  1    0    0   0   0    0    0    00
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ3 -> 0:3
IRQ4 -> 0:4
IRQ5 -> 0:5
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9
IRQ10 -> 0:10
IRQ11 -> 0:11
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:15
.................................... done.
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 796.5394 MHz.
..... host bus clock speed is 99.5672 MHz.
cpu: 0, clocks: 995672, slice: 331890
CPU0<T0:995664,T1:663760,D:14,S:331890,C:995672>
cpu: 1, clocks: 995672, slice: 331890
CPU1<T0:995664,T1:331872,D:12,S:331890,C:995672>
checking TSC synchronization across CPUs: passed.
Waiting on wait_init_idle (map = 0x2)
All processors have done init_idle
ACPI: Subsystem revision 20021212
PCI: PCI BIOS revision 2.10 entry at 0xfdab0, last bus=2
PCI: Using configuration type 1
    ACPI-0263: *** Info: GPE Block0 defined as GPE0 to GPE15
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: System [ACPI] (supports S0 S1 S4 S5)
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [PRQ0] (IRQs 3 4 5 7 10 11 12 15, disabled)
ACPI: PCI Interrupt Link [PRQ1] (IRQs 3 4 5 7 10 11 12 15, disabled)
ACPI: PCI Interrupt Link [PRQ2] (IRQs 3 4 *5 7 10 11 12 15)
ACPI: PCI Interrupt Link [PRQ3] (IRQs 3 4 5 7 10 11 12 15, disabled)
ACPI: PCI Interrupt Link [PRQ4] (IRQs 3 4 5 7 10 11 12 15, disabled)
ACPI: PCI Interrupt Link [PRQ5] (IRQs 3 4 5 7 *10 11 12 15)
ACPI: PCI Interrupt Link [PRQ6] (IRQs 3 4 5 7 10 11 12 15, disabled)
ACPI: PCI Interrupt Link [PRQ7] (IRQs 3 4 5 7 10 11 12 15, disabled)
PCI: Probing PCI hardware
ACPI: PCI Interrupt Link [PRQ0] enabled at IRQ 0
ACPI: PCI Interrupt Link [PRQ1] enabled at IRQ 0
ACPI: PCI Interrupt Link [PRQ3] enabled at IRQ 0
ACPI: PCI Interrupt Link [PRQ4] enabled at IRQ 11
ACPI: PCI Interrupt Link [PRQ6] enabled at IRQ 0
ACPI: PCI Interrupt Link [PRQ7] enabled at IRQ 0
IOAPIC[0]: Set PCI routing entry (2-16 -> 0xa9 -> IRQ 16)
00:00:10[A] -> 2-16 -> IRQ 16
IOAPIC[0]: Set PCI routing entry (2-21 -> 0xb1 -> IRQ 21)
00:00:10[B] -> 2-21 -> IRQ 21
IOAPIC[0]: Set PCI routing entry (2-22 -> 0xb9 -> IRQ 22)
00:00:10[C] -> 2-22 -> IRQ 22
IOAPIC[0]: Set PCI routing entry (2-23 -> 0xc1 -> IRQ 23)
00:00:10[D] -> 2-23 -> IRQ 23
IOAPIC[0]: Set PCI routing entry (2-17 -> 0xc9 -> IRQ 17)
00:00:0d[A] -> 2-17 -> IRQ 17
Pin 2-22 already programmed
Pin 2-23 already programmed
Pin 2-21 already programmed
IOAPIC[0]: Set PCI routing entry (2-18 -> 0xd1 -> IRQ 18)
00:00:0b[A] -> 2-18 -> IRQ 18
Pin 2-23 already programmed
Pin 2-21 already programmed
Pin 2-22 already programmed
IOAPIC[0]: Set PCI routing entry (2-19 -> 0xd9 -> IRQ 19)
00:00:09[A] -> 2-19 -> IRQ 19
Pin 2-21 already programmed
Pin 2-22 already programmed
Pin 2-23 already programmed
Pin 2-21 already programmed
Pin 2-22 already programmed
Pin 2-23 already programmed
IOAPIC[0]: Set PCI routing entry (2-20 -> 0xe1 -> IRQ 20)
00:00:01[D] -> 2-20 -> IRQ 20
Pin 2-19 already programmed
Pin 2-19 already programmed
Pin 2-21 already programmed
Pin 2-21 already programmed
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or 
even 'acpi=off'
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Journalled Block Device driver loaded
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
ACPI: Power Button (FF) [PWRF]
ACPI: Processor [CPU0] (supports C1)
ACPI: Processor [CPU1] (supports C1)
pty: 256 Unix98 ptys configured
Real Time Clock Driver v1.10e
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PDC20269: IDE controller on PCI bus 00 dev 58
PDC20269: chipset revision 2
PDC20269: not 100% native mode: will probe irqs later
PDC20269: (U)DMA Burst Bit DISABLED Primary PCI Mode Secondary PCI Mode.
PDC20269: FORCING BURST BIT 0x00 -> 0x01 ACTIVE
    ide2: BM-DMA at 0x2860-0x2867, BIOS settings: hde:pio, hdf:pio
    ide3: BM-DMA at 0x2868-0x286f, BIOS settings: hdg:pio, hdh:pio
PIIX4: IDE controller on PCI bus 00 dev 91
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x2870-0x2877, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0x2878-0x287f, BIOS settings: hdc:DMA, hdd:DMA
hda: WDC WD1000BB-00CAA1, ATA DISK drive
hdb: WDC WD1000BB-00CAA1, ATA DISK drive
hdc: QUANTUM FIREBALLP LM20.5, ATA DISK drive
hdd: CD-540E, ATAPI CD/DVD-ROM drive
hde: WDC WD1000BB-00CAA1, ATA DISK drive
hdf: WDC WD1000BB-00CAA1, ATA DISK drive
hdg: WDC WD1000BB-00CAA1, ATA DISK drive
hdh: WDC WD1000BB-00CAA1, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide2 at 0x2890-0x2897,0x2886 on irq 18
ide3 at 0x2888-0x288f,0x2882 on irq 18
blk: queue 803fa444, I/O limit 4095Mb (mask 0xffffffff)
hda: 195371568 sectors (100030 MB) w/2048KiB Cache, CHS=12161/255/63, UDMA(33)
blk: queue 803fa590, I/O limit 4095Mb (mask 0xffffffff)
hdb: 195371568 sectors (100030 MB) w/2048KiB Cache, CHS=12161/255/63, UDMA(33)
blk: queue 803fa7a8, I/O limit 4095Mb (mask 0xffffffff)
hdc: 40132503 sectors (20548 MB) w/1900KiB Cache, CHS=39813/16/63, UDMA(33)
blk: queue 803fab0c, I/O limit 4095Mb (mask 0xffffffff)
hde: 195371568 sectors (100030 MB) w/2048KiB Cache, CHS=193821/16/63, UDMA(100)
blk: queue 803fac58, I/O limit 4095Mb (mask 0xffffffff)
hdf: 195371568 sectors (100030 MB) w/2048KiB Cache, CHS=193821/16/63, UDMA(100)
blk: queue 803fae70, I/O limit 4095Mb (mask 0xffffffff)
hdg: 195371568 sectors (100030 MB) w/2048KiB Cache, CHS=193821/16/63, UDMA(100)
blk: queue 803fafbc, I/O limit 4095Mb (mask 0xffffffff)
hdh: 195371568 sectors (100030 MB) w/2048KiB Cache, CHS=193821/16/63, UDMA(100)
hdd: ATAPI 40X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Partition check:
 /dev/ide/host0/bus0/target0/lun0: p1 p2 p3
 /dev/ide/host0/bus0/target1/lun0: p1 p2 p3
 /dev/ide/host0/bus1/target0/lun0: [PTBL] [2498/255/63] p1 p2 < p5 p6 p7 >
 /dev/ide/host2/bus0/target0/lun0: unknown partition table
 /dev/ide/host2/bus0/target1/lun0: unknown partition table
 /dev/ide/host2/bus1/target0/lun0: unknown partition table
 /dev/ide/host2/bus1/target1/lun0: unknown partition table
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 04:51:38 Jan  1 2003
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: USB UHCI at I/O 0x2840, IRQ 21
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
evms: md raid5: measuring checksumming speed
evms: md raid5:    8regs     :  1320.400 MB/sec
evms: md raid5:    32regs    :   770.000 MB/sec
evms: md raid5:    pIII_sse  :  1629.200 MB/sec
evms: md raid5:    pII_mmx   :  1783.600 MB/sec
evms: md raid5:    p5_mmx    :  1868.800 MB/sec
evms: md raid5: using function: pIII_sse (1629.200 MB/sec)
evms: EVMS v1.2.1 initializing .... info level(5).
evms: Exporting EVMS Volume(117,1) from "/dev/evms/hdg".
evms: Exporting EVMS Volume(117,2) from "/dev/evms/hdh".
evms: Exporting EVMS Volume(117,3) from "/dev/evms/hde".
evms: Exporting EVMS Volume(117,4) from "/dev/evms/hdf".
evms: Exporting EVMS Volume(117,5) from "/dev/evms/hdc1".
evms: Exporting EVMS Volume(117,6) from "/dev/evms/hdc5".
evms: Exporting EVMS Volume(117,7) from "/dev/evms/hdc6".
evms: Exporting EVMS Volume(117,8) from "/dev/evms/hdc7".
evms: Exporting EVMS Volume(117,9) from "/dev/evms/hda1".
evms: Exporting EVMS Volume(117,10) from "/dev/evms/hda2".
evms: Exporting EVMS Volume(117,11) from "/dev/evms/hda3".
evms: Exporting EVMS Volume(117,12) from "/dev/evms/hdb1".
evms: Exporting EVMS Volume(117,13) from "/dev/evms/hdb2".
evms: Exporting EVMS Volume(117,14) from "/dev/evms/hdb3".
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
IPv6 v0.8 for NET4.0
IPv6 over IPv4 tunneling driver
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 960k freed
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 116k freed
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8
        <Adaptec aic7896/97 Ultra2 SCSI adapter>
        aic7896/97: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs

scsi1 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.8
        <Adaptec aic7896/97 Ultra2 SCSI adapter>
        aic7896/97: Ultra2 Wide Channel B, SCSI Id=7, 32/253 SCBs

NCR53c406a: no available ports found
aec671x_detect: 
PCI: Enabling device 00:0c.0 (0116 -> 0117)
PCI: Enabling device 00:0c.1 (0116 -> 0117)
scsi0: PCI error Interrupt at seqaddr = 0x8
scsi0: Signaled a Target Abort
scsi1: PCI error Interrupt at seqaddr = 0x9
scsi1: Signaled a Target Abort
scsi: <fdomain> Detection failed (no card)
megaraid: v1.18 (Release Date: Thu Oct 11 15:02:53 EDT 2001)
megaraid: no BIOS enabled.
DC390: 0 adapters found
Failed initialization of WD-7000 SCSI card!
DC395x (TRM-S1040) SCSI driver 1.41, 2002-06-21
DC395x (TRM-S1040): 0 adapters found
ISO 9660 Extensions: Microsoft Joliet Level 3
ISO 9660 Extensions: RRIP_1991A
cloop: Welcome to cloop v0.66
cloop: /newroot/mnt/cdrom/livecd.cloop: 1251 blocks, 65536 bytes/block, largest 
block is 55710 bytes.
3c505.c: warning, using default DMA channel,
3c505.c: module autoprobe not recommended, give io=xx.
3c505.c: Failed to register card at 0x0.
3c507: register_netdev() returned non-zero.
3c515.c:v0.99t 17-Nov-2001 becker@scyld.com and others
0 3c515 cards found.
ac3200.c: No ac3200 card found (i/o = 0x0).
aironet4500.c v0.1 1/1/99 Elmer Joandi, elmer@ylenurme.ee.
arlan: no devices found 
at1700: register_netdev() returned non-zero.
atp.c:v1.09 8/9/2000 Donald Becker <becker@scyld.com>
  http://www.scyld.com/network/atp.html
cs89x0.c: Module autoprobing not allowed.
cs89x0.c: Append io=0xNNN
eth0: D-Link DE-600 pocket adapter: not at I/O 0x378.
D-Link DE-620 pocket adapter not identified in the printer port
eth0: depca_probe() cannot find device at 0x0200.
dgrs: SW=$Id: dgrs.c,v 1.13 2000/06/06 04:07:00 rick Exp $ FW=Build 550 
11/16/96 03:45:15
FW Version=$Version$
dmfe: Davicom DM9xxx net driver, version 1.36.4 (2002-01-17)
e2100.c: Presently autoprobing (not recommended) for a single card.
e2100.c: No E2100 card found (i/o = 0x0).
eepro_init_module: Probe is very dangerous in ISA boards!
eepro_init_module: Please add "autodetect=1" to force probe
eexpress.c: Module autoprobe not recommended, give io=xx.
eexpress.c: Failed to register card at 0x0.
eth16i.c: Presently autoprobing (not recommended) for a single card.
eth16i.c No Eth16i card found (i/o = 0x0).
scsi0: PCI error Interrupt at seqaddr = 0x8
scsi0: Signaled a Target Abort
eth0: ewrk3_probe() cannot find device at 0x0300.
hamachi.c:v1.01+LK1.0.1 5/18/2001  Written by Donald Becker
   Some modifications by Eric kasten <kasten@nscl.msu.edu>
   Further modifications by Keith Underwood <keithu@parl.clemson.edu>
hp-plus.c: Presently autoprobing (not recommended) for a single card.
hp-plus.c: No HP-Plus card found (i/o = 0x0).
hp.c: Presently autoprobing (not recommended) for a single card.
hp.c: No HP card found (i/o = 0x0).
lance.c: Module autoprobing not allowed. Append "io=0xNNN" value(s).
eth0: i82596 initialization timed out
natsemi dp8381x driver, version 1.07+LK1.0.17, Sep 27, 2002
  originally by Donald Becker <becker@scyld.com>
  http://www.scyld.com/network/natsemi.html
  2.4.x kernel port by Jeff Garzik, Tjeerd Mulder
ne2k-pci.c:v1.02 10/19/2000 D. Becker/P. Gortmaker
  http://www.scyld.com/network/ne2k-pci.html
NI5010: Autoprobing for modules is hazardous, trying anyway..
ni52: Autoprobing not allowed for modules.
ni52: Set symbols 'io' 'irq' 'memstart' and 'memend'
ns83820.c: National Semiconductor DP83820 10/100/1000 driver.
pcnet32.c:v1.27b 01.10.2002 tsbogend@alpha.franken.de
sis900.c: v1.08.06 9/24/2002
CSLIP: code copyright 1989 Regents of the University of California
SMC9194: You shouldn't use auto-probing with insmod!
starfire.c:v1.03 7/26/2000  Written by Donald Becker <becker@scyld.com>
 (unofficial 2.2/2.4 kernel port, version 1.03+LK1.3.6, March 7, 2002)
STRIP: Version 1.3-STUART.CHESHIRE-MODULAR (unlimited channels)
sundance.c:v1.01+LK1.06b 6-Nov-2002  Written by Donald Becker
  http://www.scyld.com/network/sundance.html
ThunderLAN driver v1.15
TLAN: 0 devices installed, PCI: 0  EISA: 0
via-rhine.c:v1.10-LK1.1.14  May-3-2002  Written by Donald Becker
  http://www.scyld.com/network/via-rhine.html
WaveLAN init_module(): doing device probing (bad !)
Specify base addresses while loading module to correct the problem
WaveLAN init_module(): no device found
wd.c: Presently autoprobing (not recommended) for a single card.
wd.c: No wd80x3 card found (i/o = 0x0).
winbond-840.c:v1.01-d (2.4 port) Nov-17-2001  Donald Becker <becker@scyld.com>
  http://www.scyld.com/network/drivers.html
yellowfin.c:v1.05  1/09/2001  Written by Donald Becker <becker@scyld.com>
  http://www.scyld.com/network/yellowfin.html
  (unofficial 2.4.x port, 1.05+LK1.1.5, May 10, 2001)
Intel(R) PRO/100 Network Driver - version 2.1.24-k1
Copyright (c) 2002 Intel Corporation

e100: selftest OK.
e100: eth0: Intel(R) 82559 Fast Ethernet LAN on Motherboard
  Mem:0xf4006000  IRQ:21  Speed:0 Mbps  Dx:N/A
  Hardware receive checksums enabled
  cpu cycle saver enabled

e100: eth0 NIC Link is Up 100 Mbps Full duplex
eth0: no IPv6 routers present
Comment 2 Daniel Robbins (RETIRED) gentoo-dev 2003-02-09 07:18:51 UTC
This should be fixed in our latest experimental livecd in experimental/x86/livecd/. I'll close this bug -- if the latest experimental livecd doesn't work, feel free to reopen this.