Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 07-06-2007, 10:40 AM   #1
LQ Newbie
Registered: Feb 2006
Distribution: Slackware
Posts: 1

Rep: Reputation: 0
Cannot boot a software raid array with 'generic' kernel (Slackware 12)


I've managed to install Slackware 12.0 on a VMware virtual machine.
It boots fine using the 'huge' kernel but I cannot boot with the
'generic' kernel.
I've made an initrd image with the following command:

mkinitrd -c -k -m sg:mptbase:mptspi:mptscsih:dm-mirror:dm-
multipath:ext3 -f ext3 -r /dev/md0

... and this is what I've got:

Linux version (root@midas) (gcc version 4.1.2) #1 SMP Tue
Jun 19 14:52:25 CDT 2007
BIOS-provided physical RAM map:
sanitize start
sanitize end
copy_e820_map() start: 0000000000000000 size: 000000000009f800 end:
000000000009f800 type: 1
copy_e820_map() type is E820_RAM
copy_e820_map() start: 000000000009f800 size: 0000000000000800 end:
00000000000a0000 type: 2
copy_e820_map() start: 00000000000ca000 size: 0000000000002000 end:
00000000000cc000 type: 2
copy_e820_map() start: 00000000000dc000 size: 0000000000024000 end:
0000000000100000 type: 2
copy_e820_map() start: 0000000000100000 size: 0000000009df0000 end:
0000000009ef0000 type: 1
copy_e820_map() type is E820_RAM
copy_e820_map() start: 0000000009ef0000 size: 000000000000f000 end:
0000000009eff000 type: 3
copy_e820_map() start: 0000000009eff000 size: 0000000000001000 end:
0000000009f00000 type: 4
copy_e820_map() start: 0000000009f00000 size: 0000000000100000 end:
000000000a000000 type: 1
copy_e820_map() type is E820_RAM
copy_e820_map() start: 00000000fec00000 size: 0000000000010000 end:
00000000fec10000 type: 2
copy_e820_map() start: 00000000fee00000 size: 0000000000001000 end:
00000000fee01000 type: 2
copy_e820_map() start: 00000000fffe0000 size: 0000000000020000 end:
0000000100000000 type: 2
BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000ca000 - 00000000000cc000 (reserved)
BIOS-e820: 00000000000dc000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000009ef0000 (usable)
BIOS-e820: 0000000009ef0000 - 0000000009eff000 (ACPI data)
BIOS-e820: 0000000009eff000 - 0000000009f00000 (ACPI NVS)
BIOS-e820: 0000000009f00000 - 000000000a000000 (usable)
BIOS-e820: 00000000fec00000 - 00000000fec10000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000fffe0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
160MB LOWMEM available.
found SMP MP-table at 000f6c90
Zone PFN ranges:
DMA 0 -> 4096
Normal 4096 -> 40960
HighMem 40960 -> 40960
early_node_map[1] active PFN ranges
0: 0 -> 40960
DMI present.
ACPI: RSDP 000F6C20, 0014 (r0 PTLTD )
ACPI: RSDT 09EFAB68, 0030 (r1 PTLTD RSDT 6040000 LTP 0)
ACPI: FACP 09EFEF14, 0074 (r1 INTEL 440BX 6040000 PTL F4240)
ACPI: DSDT 09EFAB98, 437C (r1 PTLTD Custom 6040000 MSFT 100000D)
ACPI: APIC 09EFEF88, 0050 (r1 PTLTD APIC 6040000 LTP 0)
ACPI: BOOT 09EFEFD8, 0028 (r1 PTLTD $SBFTBL$ 6040000 LTP 1)
ACPI: PM-Timer IO Port: 0x1008
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 6:7 APIC version 17
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: IOAPIC (id[0x01] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 1, version 17, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 high edge)
Enabling APIC mode: Flat. Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 10000000 (gap: 0a000000:f4c00000)
Built 1 zonelists. Total pages: 40640
Kernel command line: BOOT_IMAGE=generic-raid ro root=900 console=ttyS0
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 4096 bytes)
Detected 1200.026 MHz processor.
Console: colour VGA+ 80x25
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 156820k/163840k available (2658k kernel code, 6432k reserved,
1046k data, 268k init, 0k highmem)
virtual kernel memory layout:
fixmap : 0xffe17000 - 0xfffff000 (1952 kB)
pkmap : 0xff800000 - 0xffc00000 (4096 kB)
vmalloc : 0xca800000 - 0xff7fe000 ( 847 MB)
lowmem : 0xc0000000 - 0xca000000 ( 160 MB)
.init : 0xc04a6000 - 0xc04e9000 ( 268 kB)
.data : 0xc039892d - 0xc049e374 (1046 kB)
.text : 0xc0100000 - 0xc039892d (2658 kB)
Checking if this processor honours the WP bit even in supervisor mode...
Calibrating delay using timer specific routine.. 2419.53 BogoMIPS
Security Framework v1.0.0 initialized
Mount-cache hash table entries: 512
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 64K (64 bytes/line)
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Compat vDSO mapped to ffffe000.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 14k freed
ACPI: Core revision 20070126
CPU0: AMD Duron(tm) Processor stepping 01
Total of 1 processors activated (2419.53 BogoMIPS).
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=-1 pin2=-1
Brought up 1 CPUs
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfd9a0, last bus=2
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI quirk: region 1000-103f claimed by PIIX4 ACPI
PCI quirk: region 1040-104f claimed by PIIX4 SMB
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 11 14 15) *0,
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 *11 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 *10 11 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 *9 10 11 14 15)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
pnp: PnP ACPI: found 11 devices
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a
Time: tsc clocksource has been installed.
PCI: Bridge: 0000:00:01.0
IO window: disabled.
MEM window: disabled.
PREFETCH window: disabled.
PCI: Bridge: 0000:00:11.0
IO window: 2000-2fff
MEM window: e8900000-e89fffff
PREFETCH window: disabled.
ACPI: PCI Interrupt 0000:00:11.0[A] -> GSI 18 (level, low) -> IRQ 16
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 98304 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 542k freed
Simple Boot Flag at 0x36 set to 0x1
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
apm: overridden by ACPI.
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Limiting direct PCI/PCI transfers.
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
isapnp: Scanning for PnP cards...
Switched to high resolution mode on CPU 0
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12ac
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
˙serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:09: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
loop: loaded (max 8 devices)
input: Macintosh mouse button emulation as /class/input/input0
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with
PIIX4: IDE controller at PCI slot 0000:00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
ide1: BM-DMA at 0x1058-0x105f, BIOS settings: hdcMA, hddio
hdc: VMware Virtual IDE CDROM Drive, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hdc: ATAPI 1X DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
ide-floppy driver 0.99.newide
Loading iSCSI transport class v2.0-724.
usbmon: debugfs is not available
PNP: PS/2 Controller [PNP0303:KBC,PNP0f13:MOUS] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
raid6: int32x1 436 MB/s
raid6: int32x2 520 MB/s
raid6: int32x4 447 MB/s
raid6: int32x8 321 MB/s
raid6: mmxx1 1025 MB/s
raid6: mmxx2 1570 MB/s
raid6: sse1x1 921 MB/s
raid6: sse1x2 1499 MB/s
raid6: using algorithm sse1x2 (1499 MB/s)
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
raid5: automatically using best checksumming function: pIII_sse
pIII_sse : 1053.000 MB/sec
raid5: using function: pIII_sse (1053.000 MB/sec)
md: multipath personality registered for level -4
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
input: AT Translated Set 2 keyboard as /class/input/input1
Freeing unused kernel memory: 268k freed
initrd.gz: Loading kernel modules from initrd image:
Using /lib/modules/
Fusion MPT base driver 3.04.04
Copyright (c) 1999-2007 LSI Logic Corporation
Using /lib/modules/
Using /lib/modules/
Fusion MPT SPI Host driver 3.04.04
ACPI: PCI Interrupt 0000:00:10.0[A] -> GSI 17 (level, low) -> IRQ 17
mptbase: Initiating ioc0 bringup
ioc0: 53C1030: Capabilities={Initiator}
scsi0 : ioc0: LSI53C1030, FwRev=01032920h, Ports=1, MaxQ=128, IRQ=17
scsi 0:0:0:0: Direct-Access VMware, VMware Virtual S 1.0 PQ: 0
target0:0:0: Beginning Domain Validation
target0:0:0: Domain Validation skipping write tests
target0:0:0: Ending Domain Validation
target0:0:0: FAST-40 WIDE SCSI 80.0 MB/s ST (25 ns, offset 127)
SCSI device sda: 2097152 512-byte hdwr sectors (1074 MB)
sda: Write Protect is off
sda: cache data unavailable
sda: assuming drive cache: write through
SCSI device sda: 2097152 512-byte hdwr sectors (1074 MB)
sda: Write Protect is off
sda: cache data unavailable
sda: assuming drive cache: write through
sda: sda1 sda2 sda3
sd 0:0:0:0: Attached scsi disk sda
scsi 0:0:2:0: Direct-Access VMware, VMware Virtual S 1.0 PQ: 0
target0:0:2: Beginning Domain Validation
target0:0:2: Domain Validation skipping write tests
target0:0:2: Ending Domain Validation
target0:0:2: FAST-40 WIDE SCSI 80.0 MB/s ST (25 ns, offset 127)
SCSI device sdb: 2097152 512-byte hdwr sectors (1074 MB)
sdb: Write Protect is off
sdb: cache data unavailable
sdb: assuming drive cache: write through
SCSI device sdb: 2097152 512-byte hdwr sectors (1074 MB)
sdb: Write Protect is off
sdb: cache data unavailable
sdb: assuming drive cache: write through
sdb: sdb1 sdb2 sdb3
sd 0:0:2:0: Attached scsi disk sdb
Using /lib/modules/
Using /lib/modules/
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:2:0: Attached scsi generic sg1 type 0
Using /lib/modules/
device-mapper: multipath: version 1.0.5 loaded
Using /lib/modules/
Using /lib/modules/
Using /lib/modules/
Using /lib/modules/
EXT3-fs: unable to read superblock
mount: mounting /dev/md0 on /mnt failed
ERROR: No /sbin/init found on rootdev (or not mounted). Trouble ahead.
Kernel panic - not syncing: Attempted to kill init!

Does anybody know what's wrong here ??

Old 07-09-2007, 03:34 PM   #2
Registered: Feb 2003
Location: Texas
Distribution: slackware 11
Posts: 90

Rep: Reputation: 15
I don't have any experience with software raid, but are you sure your root needs to be /dev/md0 ? It is failing to mount /dev/md0
Old 07-11-2007, 09:26 PM   #3
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware
Posts: 40

Rep: Reputation: 16
It might be /dev/md/0 from what I've seen of Slackware 12.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Degraded Array on Software Raid pcinfo-az Linux - Hardware 8 07-03-2008 10:43 AM
building a software raid 5 array Bogus8 Debian 2 05-29-2007 10:20 PM
Software Raid 5 array power saving shaamone Linux - Hardware 5 03-23-2006 08:01 PM
Create RAID 5 software array wesleywest Red Hat 3 02-09-2005 02:41 AM
Transferring a software RAID array Dee-ehn Linux - Software 0 04-15-2004 04:46 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:37 PM.

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