LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-04-2005, 03:44 PM   #1
david.skinner
Member
 
Registered: Dec 2003
Location: New Zealand
Distribution: Mandriva 2006 64
Posts: 45

Rep: Reputation: 15
md boot error messages


I have just upgraded from mandrake 10.0 community to 10.1 official (2.6.3 to 2.6.8.1 kernel). i am having some strange error messages on boot relating to my md raid1 configuration. They're not critical (I think) as eveything appears to work but I would like to know what they mean and why they are occuring.

My hardware configuration includes 2 disks (hda and hde) partitioned each as partition 2 (swap), 3 (/), and 4 (/home). hda is on a nvidia controller and also has partition 1 set as /boot. hde is on a iteraid controller and requires the it8212 module loaded to use it.

My kernels are compiled with the it8212 in it and raid1 as a module. The boot image is loaded with the raid1 module as well as the related ext3, and scsi modules (for other drives).

It would seem to me that mdadm is running very early in the boot process and either raid1 or perhaps it8212 has not yet been loaded so it tries to assemble the arrays and can't and then dissambles then, then appears to load the above modules and reassembles them. I'm also interested in the error message I get during the interactive boot process which appears to do the same thing i.e.
:swapon /dev/md2 - invalid device
but it then seems to assemble /dev/md2 and does in-fact mount it for swap.

I have tried using the --preload= option in mkinitrd for both the raid1 and it8212 modules (in this instance I compiled the it8212 as a module) but this didn't change anything. As a matter of interest but probably unrelated I am also having problems with devfs conflicting with udev in case this is related. Any help or pointers is appreciated. Details below:

this is my my /etc/mdadm.conf
Code:
DEVICE /dev/hda2 /dev/hde2
DEVICE /dev/hda3 /dev/hde3
DEVICE /dev/hda4 /dev/hde4
ARRAY /dev/md2 devices=/dev/hda2,/dev/hde2
ARRAY /dev/md3 devices=/dev/hda3,/dev/hde3
ARRAY /dev/md4 devices=/dev/hda4,/dev/hde4
MAILADDR root@server
I get the following interesting boot messages in dmesg
Code:
RAMDISK driver initialized: 16 RAM disks of 32000K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE2: IDE controller at PCI slot 0000:00:09.0
NFORCE2: chipset revision 162
NFORCE2: not 100% native mode: will probe irqs later
NFORCE2: BIOS didn't set cable bits correctly. Enabling workaround.
NFORCE2: 0000:00:09.0 (rev a2) UDMA133 controller
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: MAXTOR 6L080L4, ATA DISK drive
hdb: ST320014A, ATA DISK drive
Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: SONY DVD RW DRU-510A, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
IT8212: IDE controller at PCI slot 0000:01:0c.0
IT8212: chipset revision 17
IT8212: 100% native mode on irq 11
    ide2: BM-DMA at 0xb400-0xb407, BIOS settings: hde:DMA, hdf:pio
    ide3: BM-DMA at 0xb408-0xb40f, BIOS settings: hdg:pio, hdh:pio
it8212: controller in pass through mode.
Probing IDE interface ide2...
hde: Maxtor 6Y080L0, ATA DISK drive
it8212: selected 50MHz clock.
ide2 at 0xa410-0xa417,0xa802 on irq 11
Probing IDE interface ide3...
hda: max request size: 128KiB
hda: 156355584 sectors (80054 MB) w/1819KiB Cache, CHS=65535/16/63, UDMA(133)
 hda: hda1 hda2 hda3 hda4
hdb: max request size: 128KiB
hdb: Host Protected Area detected.
        current capacity is 39100223 sectors (20019 MB)
        native  capacity is 39102336 sectors (20020 MB)
hdb: 39100223 sectors (20019 MB) w/2048KiB Cache, CHS=38789/16/63, UDMA(100)
 hdb: hdb1 hdb2 hdb3
hde: max request size: 128KiB
hde: 160086528 sectors (81964 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(133)
 hde: hde2 hde3 hde4
mice: PS/2 mouse device common for all mice
serio: i8042 AUX port at 0x60,0x64 irq 12
input: ImExPS/2 Generic Explorer Mouse on isa0060/serio1
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
NET: Registered protocol family 2
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
NET: Registered protocol family 1
BIOS EDD facility v0.16 2004-Jun-25, 4 devices found
init init/main.c:726
md: Autodetecting RAID arrays.
md: autorun ...
md: considering hde4 ...
md:  adding hde4 ...
md: hde3 has different UUID to hde4
md: hde2 has different UUID to hde4
md:  adding hda4 ...
md: hda3 has different UUID to hde4
md: hda2 has different UUID to hde4
md: created md4
md: bind<hda4>
md: bind<hde4>
md: running: <hde4><hda4>
md: personality 3 is not loaded!
md :do_md_run() returned -22
md: md4 stopped.
md: unbind<hde4>
md: export_rdev(hde4)
md: unbind<hda4>
md: export_rdev(hda4)
md: considering hde3 ...
md:  adding hde3 ...
md: hde2 has different UUID to hde3
md:  adding hda3 ...
md: hda2 has different UUID to hde3
md: created md3
md: bind<hda3>
md: bind<hde3>
md: running: <hde3><hda3>
md: personality 3 is not loaded!
md :do_md_run() returned -22
md: md3 stopped.
md: unbind<hde3>
md: export_rdev(hde3)
md: unbind<hda3>
md: export_rdev(hda3)
md: considering hde2 ...
md:  adding hde2 ...
md:  adding hda2 ...
md: created md2
md: bind<hda2>
md: bind<hde2>
md: running: <hde2><hda2>
md: personality 3 is not loaded!
md :do_md_run() returned -22
md: md2 stopped.
md: unbind<hde2>
md: export_rdev(hde2)
md: unbind<hda2>
md: export_rdev(hda2)
md: ... autorun DONE.
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
md: raid1 personality registered as nr 3
md: md3 stopped.
md: bind<hda3>
md: bind<hde3>
raid1: raid set md3 active with 2 out of 2 mirrors
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 164k freed
usbcore: registered new driver usbfs
...
EXT3 FS on md3, internal journal
SCSI subsystem initialized
libata version 1.02 loaded.
sata_sil version 0.54
ata1: SATA max UDMA/100 cmd 0xF89F4080 ctl 0xF89F408A bmdma 0xF89F4000 irq 10
ata2: SATA max UDMA/100 cmd 0xF89F40C0 ctl 0xF89F40CA bmdma 0xF89F4008 irq 10
ata1: no device found (phy stat 00000000)
scsi0 : sata_sil
  Vendor: ATA       Model: ST3160023AS       Rev: 3.18
  Type:   Direct-Access                      ANSI SCSI revision: 05
Unable to find swap-space signature
SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
SCSI device sda: drive cache: write back
 sda: sda1
Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected NVIDIA nForce2 chipset
agpgart: Maximum main memory to use for agp memory: 941M
agpgart: AGP aperture is 64M @ 0xe0000000
md: md2 stopped.
md: bind<hda2>
md: bind<hde2>
raid1: raid set md2 active with 2 out of 2 mirrors
md: md4 stopped.
md: bind<hda4>
md: bind<hde4>
raid1: raid set md4 active with 2 out of 2 mirrors
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on md4, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
NTFS driver 2.1.15 [Flags: R/O DEBUG MODULE].
NTFS volume version 3.1.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Supermount version 2.0.4 for kernel 2.6
loop: loaded (max 8 devices)
Adding 2930168k swap on /dev/md2.  Priority:-1 extents:1

Last edited by david.skinner; 01-04-2005 at 03:46 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse Boot Error Messages Anmol SUSE / openSUSE 0 01-14-2005 12:12 PM
Hotplug error messages at boot dhbiker Slackware 2 04-22-2004 01:54 AM
Error messages at boot time ICO Slackware 3 01-30-2004 03:37 AM
ACPI error messages on boot mbarreto Linux - Laptop and Netbook 2 11-26-2003 08:59 PM
Slack 9.0 Boot Error Messages Cyclops Slackware 4 04-02-2003 10:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration