 |
11-17-2007
|
#1 (permalink)
| | Just Joined!
Join Date: Sep 2004 Location: So-Cal
Posts: 17
| RAID-0 Assembly Failing on Boot For the past two months I've been running two 500Gb SATA drives (/dev/sda1 and /dev/sdb1) in RAID-0 (/dev/md0) and mounting it as /home on my 64-bit Debian Etch server. The OS runs separately off of an 80Gb PATA drive at /dev/hda. Unfortunately a few weeks ago my power supply failed and upon getting a new one and updating the linux kernel to 2.6.23.7 (it was working with 2.6.22) the RAID stopped coming up on boot. Even reverting back to the original stock Debian kernel (2.6.18-5) that the RAID was built with still gives the same errors.
The error message on boot is: Code: Assembling MD array md0...failed (no devices found).
Generating udev events for MD arrays...done.
and when I try to manually assemble the array with: mdadm --assemble /dev/md0 /dev/sda1 /dev/sdb1 I get: Code: mdadm: cannot open device /dev/sda1: Device or resource busy
mdadm: /dev/sda1 has no superblock - assembly aborted
Which doesn't make much sense since /dev/sda1 and /dev/sdb1 are both detected in the kernel and even mdadm --examine shows they have valid RAID superblocks which match the UUIDs that are in /etc/mdadm.conf (see bug report output below). I've also checked for anything using /dev/sda1 and /dev/sdb1 (lsof, etc) but I can't find anything that would cause them to be busy.
After kernel recompiles, downgrading the kernel, updating Debian, tweaking /etc/mdadm.conf and /etc/default/mdadm.conf, and even searching the Debian bug archive I still haven't found a way for the RAID to load properly. However, after coming across this Ubuntu bug, https://bugs.launchpad.net/ubuntu/+s....15/+bug/27037, it gave me an idea. I loaded the RAID partitions as loop devices using losetup, assembled the array by hand, and then it mounted just fine, all the data was there. Code: losetup /dev/loop0 /dev/sda1
losetup /dev/loop1 /dev/sdb1
mdadm --assemble /dev/md0 /dev/loop0 /dev/loop1
mdadm: /dev/md0 has been started with 2 drives.
cat /proc/mdstat
Personalities : [raid0]
md0 : active raid0 loop1[0] loop0[1]
976767872 blocks 64k chunks
unused devices: <none>
Could anyone explain what is going on here? Do I need to set some certain kernel parameters when building a custom kernel for RAID? I didn't do anything special, just the normal SATA modules for my chipset (VIA) and the standard RAID modules, nothing experimental. I've attached a zip file of the kernel config to this post as well.
Currently I have a script that loads everything correctly at boot, but I don't like the idea of having to go through a loop device when I know this has worked normally in the past. If anyone could help shed some light on this I would greatly appreciate it, thank you.
Useful system details:
udev and mdadm versions: Code: ii mdadm 2.5.6-9 tool to administer Linux MD arrays (software RAI
ii udev 0.105-4 /dev/ and hotplug management daemon
Output of /usr/share/bug/mdadm/script 3>&1 Code: /dev/hda3 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/hda1 on /boot type ext3 (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
--- mdadm.conf
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#
# by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
DEVICE partitions
# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes
# automatically tag new arrays as belonging to the local system
HOMEHOST <system>
# instruct the monitoring daemon where to send mail alerts
MAILADDR root
# definitions of existing MD arrays
ARRAY /dev/md0 level=raid0 num-devices=2 UUID=34924c55:e5f129c2:a050d4f1:2d695a51
# This file was auto-generated on Mon, 09 Jul 2007 23:20:38 +0000
# by mkconf $Id: mkconf 261 2006-11-09 13:32:35Z madduck $
--- /proc/mdstat:
Personalities : [raid0]
unused devices: <none>
--- /proc/partitions:
major minor #blocks name
8 0 488386584 sda
8 1 488384001 sda1
8 16 488386584 sdb
8 17 488384001 sdb1
3 0 80043264 hda
3 1 586341 hda1
3 2 4883760 hda2
3 3 74565697 hda3
254 0 976773120 dm-0
254 1 488384001 dm-1
--- initrd.img-2.6.23.7-20071116-mcw-01:
27390 blocks
sbin/mdadm
etc/mdadm
etc/mdadm/mdadm.conf
lib/modules/2.6.23.7-20071116-mcw-01/kernel/drivers/md/raid0.ko
lib/modules/2.6.23.7-20071116-mcw-01/kernel/drivers/md/multipath.ko
lib/modules/2.6.23.7-20071116-mcw-01/kernel/drivers/md/raid10.ko
lib/modules/2.6.23.7-20071116-mcw-01/kernel/drivers/md/md-mod.ko
lib/modules/2.6.23.7-20071116-mcw-01/kernel/drivers/md/raid1.ko
lib/modules/2.6.23.7-20071116-mcw-01/kernel/drivers/md/raid456.ko
lib/modules/2.6.23.7-20071116-mcw-01/kernel/drivers/md/linear.ko
lib/modules/2.6.23.7-20071116-mcw-01/kernel/drivers/md/dm-mod.ko
scripts/local-top/mdadm
--- /proc/modules:
raid0 8320 0 - Live 0xffffffff8810c000
md_mod 81500 1 raid0, Live 0xffffffff880f7000
dm_mod 60496 5 - Live 0xffffffff880e7000
--- /var/log/syslog:
Nov 17 00:24:37 jezebel kernel: md: md0 stopped.
Nov 17 00:24:37 jezebel kernel: md: bind<loop0>
Nov 17 00:24:37 jezebel kernel: md: bind<loop1>
Nov 17 00:36:05 jezebel kernel: md: md0 stopped.
Nov 17 00:36:05 jezebel kernel: md: unbind<loop1>
Nov 17 00:36:05 jezebel kernel: md: export_rdev(loop1)
Nov 17 00:36:05 jezebel kernel: md: unbind<loop0>
Nov 17 00:36:05 jezebel kernel: md: export_rdev(loop0)
Nov 17 00:39:05 jezebel kernel: md: raid0 personality registered for level 0
Nov 17 00:39:05 jezebel kernel: md: md0 stopped.
Nov 17 00:39:05 jezebel kernel: md: md0 stopped.
Nov 17 00:40:09 jezebel mdadm: DeviceDisappeared event detected on md device /dev/md0
--- volume detail:
/dev/sda1:
Magic : a92b4efc
Version : 00.90.00
UUID : 34924c55:e5f129c2:a050d4f1:2d695a51
Creation Time : Mon Jul 9 16:13:48 2007
Raid Level : raid0
Device Size : 0
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Update Time : Fri Nov 16 16:37:16 2007
State : active
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Checksum : 1f3aedd8 - correct
Events : 0.5
Chunk Size : 64K
Number Major Minor RaidDevice State
this 1 7 0 1 active sync /dev/loop0
0 0 7 1 0 active sync /dev/loop1
1 1 7 0 1 active sync /dev/loop0
--
/dev/sdb1:
Magic : a92b4efc
Version : 00.90.00
UUID : 34924c55:e5f129c2:a050d4f1:2d695a51
Creation Time : Mon Jul 9 16:13:48 2007
Raid Level : raid0
Device Size : 0
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Update Time : Fri Nov 16 16:37:16 2007
State : active
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Checksum : 1f3aedd7 - correct
Events : 0.5
Chunk Size : 64K
Number Major Minor RaidDevice State
this 0 7 1 0 active sync /dev/loop1
0 0 7 1 0 active sync /dev/loop1
1 1 7 0 1 active sync /dev/loop0
--
--- /proc/cmdline
root=/dev/hda3 ro
--- grub:
kernel /vmlinuz-2.6.23.7-20071116-mcw-01 root=/dev/hda3 ro
kernel /vmlinuz-2.6.23.7-20071116-mcw-01 root=/dev/hda3 ro single
kernel /vmlinuz-2.6.22-20071115-mcw-01 root=/dev/hda3 ro
kernel /vmlinuz-2.6.22-20071115-mcw-01 root=/dev/hda3 ro single
kernel /vmlinuz-2.6.22-20070709-mcw-1 root=/dev/hda3 ro
kernel /vmlinuz-2.6.22-20070709-mcw-1 root=/dev/hda3 ro single
kernel /vmlinuz-2.6.18-5-amd64 root=/dev/hda3 ro
kernel /vmlinuz-2.6.18-5-amd64 root=/dev/hda3 ro single
kernel /vmlinuz-2.6.18-4-amd64 root=/dev/hda3 ro
kernel /vmlinuz-2.6.18-4-amd64 root=/dev/hda3 ro single
/var/log/dmesg Code: Linux version 2.6.23.7-20071116-mcw-01 (root@jezebel) (gcc version 4.1.2 20061115 (prerelea
se) (Debian 4.1.1-21)) #1 PREEMPT Fri Nov 16 13:10:55 PST 2007
Command line: root=/dev/hda3 ro
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f000 (usable)
BIOS-e820: 000000000009f000 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000007fef0000 (usable)
BIOS-e820: 000000007fef0000 - 000000007fef3000 (ACPI NVS)
BIOS-e820: 000000007fef3000 - 000000007ff00000 (ACPI data)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
Entering add_active_range(0, 0, 159) 0 entries of 256 used
Entering add_active_range(0, 256, 524016) 1 entries of 256 used
end_pfn_map = 1048576
DMI 2.3 present.
ACPI: RSDP 000F9260, 0014 (r0 VIAK8T)
ACPI: RSDT 7FEF3040, 002C (r1 VIAK8T AWRDACPI 42302E31 AWRD 0)
ACPI: FACP 7FEF30C0, 0074 (r1 VIAK8T AWRDACPI 42302E31 AWRD 0)
ACPI: DSDT 7FEF3180, 502C (r1 VIAK8T AWRDACPI 1000 MSFT 100000E)
ACPI: FACS 7FEF0000, 0040
ACPI: APIC 7FEF8200, 005A (r1 VIAK8T AWRDACPI 42302E31 AWRD 0)
Entering add_active_range(0, 0, 159) 0 entries of 256 used
Entering add_active_range(0, 256, 524016) 1 entries of 256 used
Zone PFN ranges:
DMA 0 -> 4096
DMA32 4096 -> 1048576
Normal 1048576 -> 1048576
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
0: 0 -> 159
0: 256 -> 524016
On node 0 totalpages: 523919
DMA zone: 56 pages used for memmap
DMA zone: 961 pages reserved
DMA zone: 2982 pages, LIFO batch:0
DMA32 zone: 7108 pages used for memmap
DMA32 zone: 512812 pages, LIFO batch:31
Normal zone: 0 pages used for memmap
Movable zone: 0 pages used for memmap
ACPI: PM-Timer IO Port: 0x4008
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 (Bootup-CPU)
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Setting APIC routing to flat
Using ACPI (MADT) for SMP configuration information
Allocating PCI resources starting at 80000000 (gap: 7ff00000:7ed00000)
Built 1 zonelists in Zone order. Total pages: 515794
Kernel command line: root=/dev/hda3 ro
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 32768 bytes)
time.c: Detected 1603.685 MHz processor.
Console: colour VGA+ 80x25
console [tty0] enabled
Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
Checking aperture...
CPU 0: aperture @ e0000000 size 128 MB
Memory: 2054260k/2096064k available (2272k kernel code, 40752k reserved, 975k data, 192k in
it)
SLUB: Genslabs=22, HWalign=64, Order=0-1, MinObjects=4, CPUs=1, Nodes=1
Calibrating delay using timer specific routine.. 3211.25 BogoMIPS (lpj=6422512)
Security Framework v1.0.0 initialized
SELinux: Disabled at boot.
Capability LSM initialized
Mount-cache hash table entries: 256
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 128K (64 bytes/line)
CPU: AMD Hammer Family processor - Model Unknown stepping 02
ACPI: Core revision 20070126
Using local APIC timer interrupts.
result 12528800
Detected 12.528 MHz APIC timer.
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: Using configuration type 1
ACPI: EC: Look up EC in DSDT
ACPI: Interpreter enabled
ACPI: (supports S0 S3 S5)
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 6 7 10 *11 12)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 6 7 *10 11 12)
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 6 7 10 11 12) *5
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 6 7 10 11 12) *0, disabled.
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 6 7 10 11 12) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 6 7 10 11 12) *0, disabled.
ACPI: PCI Interrupt Link [LNK0] (IRQs 3 4 6 7 10 11 12) *0, disabled.
ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 6 7 10 11 12) *0, disabled.
ACPI: PCI Interrupt Link [ALKA] (IRQs *20)
ACPI: PCI Interrupt Link [ALKB] (IRQs *21)
ACPI: PCI Interrupt Link [ALKC] (IRQs *22), disabled.
ACPI: PCI Interrupt Link [ALKD] (IRQs *23), disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: ACPI device : hid PNP0C01
pnp: ACPI device : hid PNP0A03
pnp: ACPI device : hid PNP0C02
pnp: ACPI device : hid PNP0C02
pnp: ACPI device : hid PNP0200
pnp: ACPI device : hid PNP0B00
pnp: ACPI device : hid PNP0800
pnp: ACPI device : hid PNP0C04
pnp: ACPI device : hid PNP0501
pnp: ACPI device : hid PNP0400
pnp: ACPI device : hid PNP0303
pnp: PnP ACPI: found 11 devices
ACPI: ACPI bus type pnp unregistered
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 report
PCI: Cannot allocate resource region 0 of device 0000:00:00.0
NET: Registered protocol family 8
NET: Registered protocol family 20
agpgart: Detected AGP bridge 0
agpgart: AGP aperture is 128M @ 0xe0000000
Time: tsc clocksource has been installed.
pnp: the driver 'system' has been registered
pnp: match found with the PnP device '00:00' and the driver 'system'
pnp: 00:00: iomem range 0xd0000-0xd3fff has been reserved
pnp: 00:00: iomem range 0xdcc00-0xdffff has been reserved
pnp: 00:00: iomem range 0xf0000-0xfbfff could not be reserved
pnp: 00:00: iomem range 0xfc000-0xfffff could not be reserved
pnp: match found with the PnP device '00:02' and the driver 'system'
pnp: 00:02: ioport range 0x4000-0x407f has been reserved
pnp: 00:02: ioport range 0x5000-0x500f has been reserved
pnp: match found with the PnP device '00:03' and the driver 'system'
PCI: Bridge: 0000:00:01.0
IO window: disabled.
MEM window: f8000000-f9ffffff
PREFETCH window: e8000000-f7ffffff
PCI: Setting latency timer of device 0000:00:01.0 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 65536 (order: 7, 524288 bytes)
TCP established hash table entries: 262144 (order: 10, 4194304 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 262144 bind 65536)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 5082k freed
audit: initializing netlink socket (disabled)
audit(1195288726.780:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
JFS: nTxBlock = 8192, nTxLock = 65536
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
PCI: VIA PCI bridge detected. Disabling DAC.
PCI: Firmware left 0000:00:0c.0 e100 interrupts enabled, disabling
Boot video device is 0000:01:00.0
Real Time Clock Driver v1.12ac
Linux agpgart interface v0.102
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
pnp: the driver 'serial' has been registered
pnp: match found with the PnP device '00:08' and the driver 'serial'
00:08: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
usbmon: debugfs is not available
pnp: the driver 'i8042 kbd' has been registered
pnp: match found with the PnP device '00:0a' and the driver 'i8042 kbd'
pnp: the driver 'i8042 aux' has been registered
PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.no
pnp
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Freeing unused kernel memory: 192k freed
input: AT Translated Set 2 keyboard as /class/input/input0
ACPI: Fan [FAN] (on)
ACPI: Thermal Zone [THRM] (22 C)
SCSI subsystem initialized
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:0f.1
ACPI: PCI Interrupt Link [ALKA] enabled at IRQ 20
ACPI: PCI Interrupt 0000:00:0f.1[A] -> Link [ALKA] -> GSI 20 (level, low) -> IRQ 20
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1
ide0: BM-DMA at 0xe900-0xe907, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xe908-0xe90f, BIOS settings: hdc:pio, hdd:pio
Probing IDE interface ide0...
libata version 2.21 loaded.
e100: Intel(R) PRO/100 Network Driver, 3.5.23-k4-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
USB Universal Host Controller Interface driver v3.0
hda: Maxtor 6Y080P0, ATA DISK drive
hdb: DVDRW IDE H16X, ATAPI CD/DVD-ROM drive
hda: selected mode 0x46
hdb: selected mode 0x42
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
ACPI: PCI Interrupt 0000:00:0c.0[A] -> GSI 17 (level, low) -> IRQ 17
e100: eth0: e100_probe: addr 0xfa201000, irq 17, MAC addr 00:A0:C9:5A:85:7F
ACPI: PCI Interrupt Link [ALKB] enabled at IRQ 21
ACPI: PCI Interrupt 0000:00:10.0[A] -> Link [ALKB] -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:10.0: UHCI Host Controller
uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:10.0: irq 21, io base 0x0000ea00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:10.1[A] -> Link [ALKB] -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:10.1: UHCI Host Controller
uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:10.1: irq 21, io base 0x0000eb00
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI Interrupt 0000:00:10.2[b] -> Link [ALKB] -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:10.2: UHCI Host Controller
uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 3
uhci_hcd 0000:00:10.2: irq 21, io base 0x0000ec00
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
sata_via 0000:00:0f.0: version 2.3
ACPI: PCI Interrupt 0000:00:0f.0[A] -> Link [ALKA] -> GSI 20 (level, low) -> IRQ 20
sata_via 0000:00:0f.0: routed to hard irq line 11
scsi0 : sata_via
scsi1 : sata_via
ata1: SATA max UDMA/133 cmd 0x000000000001e300 ctl 0x000000000001e402 bmdma 0x000000000001e
700 irq 20
ata2: SATA max UDMA/133 cmd 0x000000000001e500 ctl 0x000000000001e602 bmdma 0x000000000001e
708 irq 20
usb 1-2: new low speed USB device using uhci_hcd and address 2
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
usb 1-2: configuration #1 chosen from 1 choice
ata1.00: ATA-7: MAXTOR STM3500630AS, 3.AAE, max UDMA/133
ata1.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata1.00: configured for UDMA/133
usb 2-1: new low speed USB device using uhci_hcd and address 2
ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
usb 2-1: configuration #1 chosen from 1 choice
ata2.00: ATA-7: MAXTOR STM3500630AS, 3.AAE, max UDMA/133
ata2.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata2.00: configured for UDMA/133
scsi 0:0:0:0: Direct-Access ATA MAXTOR STM350063 3.AA PQ: 0 ANSI: 5
scsi 1:0:0:0: Direct-Access ATA MAXTOR STM350063 3.AA PQ: 0 ANSI: 5
ACPI: PCI Interrupt 0000:00:10.4[C] -> Link [ALKB] -> GSI 21 (level, low) -> IRQ 21
ehci_hcd 0000:00:10.4: EHCI Host Controller
ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 4
ehci_hcd 0000:00:10.4: irq 21, io mem 0xfa200000
ehci_hcd 0000:00:10.4: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb4: configuration #1 chosen from 1 choice
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 8 ports detected
sd 0:0:0:0: [sda] 976773168 512-byte hardware sectors (500108 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 976773168 512-byte hardware sectors (500108 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1
sd 0:0:0:0: [sda] Attached SCSI disk
sd 1:0:0:0: [sdb] 976773168 512-byte hardware sectors (500108 MB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 1:0:0:0: [sdb] 976773168 512-byte hardware sectors (500108 MB)
sd 1:0:0:0: [sdb] Write Protect is off
sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sdb: sdb1
sd 1:0:0:0: [sdb] Attached SCSI disk
usb 1-2: USB disconnect, address 2
ACPI: PCI Interrupt 0000:00:10.3[b] -> Link [ALKB] -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:10.3: UHCI Host Controller
uhci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 5
uhci_hcd 0000:00:10.3: irq 21, io base 0x0000ed00
usb usb5: configuration #1 chosen from 1 choice
hub 5-0:1.0: USB hub found
hub 5-0:1.0: 2 ports detected
usb 2-1: USB disconnect, address 2
hdb: ATAPI 48X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
hda: max request size: 128KiB
hda: 160086528 sectors (81964 MB) w/7936KiB Cache, CHS=65535/16/63, UDMA(133)
hda: cache flushes supported
hda: hda1 hda2 hda3
usbcore: registered new interface driver hiddev
usb 1-2: new low speed USB device using uhci_hcd and address 3
usb 1-2: configuration #1 chosen from 1 choice
usb 2-1: new low speed USB device using uhci_hcd and address 3
usb 2-1: configuration #1 chosen from 1 choice
input: Logitech USB Mouse as /class/input/input1
input: USB HID v1.10 Mouse [Logitech USB Mouse] on usb-0000:00:10.1-1
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com
md: raid0 personality registered for level 0
md: md0 stopped.
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
hdb: selected mode 0x42
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
gameport: EMU10K1 is pci0000:00:0a.1/gameport0, io 0xe100, speed 1045kHz
input: Power Button (FF) as /class/input/input2
ACPI: Power Button (FF) [PWRF]
input: Power Button (CM) as /class/input/input3
ACPI: Power Button (CM) [PWRB]
input: PC Speaker as /class/input/input4
lirc_dev: IR Remote Control driver registered, major 61
lirc_streamzap: no version for "lirc_unregister_plugin" found: kernel tainted.
pnp: the driver 'parport_pc' has been registered
pnp: match found with the PnP device '00:09' and the driver 'parport_pc'
parport_pc 00:09: reported by Plug and Play ACPI
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
lirc_streamzap[-1]: Streamzap, Inc. Streamzap Remote Control on usb1:3 attached
lirc_dev: lirc_register_plugin: sample_rate: 0
usbcore: registered new interface driver lirc_streamzap
lirc_streamzap $Revision: 1.24 $ registered
ACPI: PCI Interrupt 0000:00:0a.0[A] -> GSI 18 (level, low) -> IRQ 18
hdb: selected mode 0x42
Adding 4883752k swap on /dev/hda2. Priority:-1 extents:1 across:4883752k
EXT3 FS on hda3, internal journal
loop: module loaded
md: md0 stopped.
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
lp0: using parport0 (interrupt-driven).
ppdev: user-space parallel port driver
tsdev (compaq touchscreen emulation) is scheduled for removal.
See Documentation/feature-removal-schedule.txt for details.
eth0: no IPv6 routers present
NET: Registered protocol family 5
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
NFSD: starting 90-second grace period
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16
NVRM: loading NVIDIA Linux x86_64 Kernel Module 96.43.01 Wed Sep 5 18:44:48 PDT 2007
agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
agpgart: Device is in legacy mode, falling back to 2.x
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
lspci Code: 00:00.0 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South]
00:0a.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 05)
00:0a.1 Input device controller: Creative Labs SB Live! Game Port (rev 05)
00:0c.0 Ethernet controller: Intel Corporation 82557/8/9 [Ethernet Pro 100] (rev 02)
00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX 420] (rev a3)
lsmod Code: Module Size Used by
nvidia 5655220 22
nfs 267256 0
nfsd 258568 17
exportfs 6208 1 nfsd
lockd 69040 3 nfs,nfsd
nfs_acl 4160 2 nfs,nfsd
auth_rpcgss 48992 1 nfsd
sunrpc 184872 9 nfs,nfsd,lockd,nfs_acl,auth_rpcgss
appletalk 36912 20
ppdev 9864 0
lp 13128 0
ac 6792 0
battery 14224 0
ipv6 271848 14
loop 19972 0
snd_emu10k1_synth 8000 0
snd_emux_synth 36416 1 snd_emu10k1_synth
snd_seq_virmidi 7936 1 snd_emux_synth
snd_seq_midi_emul 7040 1 snd_emux_synth
snd_emu10k1 140128 1 snd_emu10k1_synth
snd_seq_dummy 4548 0
snd_seq_oss 32640 0
snd_seq_midi 9536 0
snd_seq_midi_event 8512 3 snd_seq_virmidi,snd_seq_oss,snd_seq_midi
snd_seq 53824 9 snd_emux_synth,snd_seq_virmidi,snd_seq_midi_emul,snd_seq_du
mmy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_rawmidi 27296 3 snd_seq_virmidi,snd_emu10k1,snd_seq_midi
firmware_class 11456 1 snd_emu10k1
snd_ac97_codec 112024 1 snd_emu10k1
ac97_bus 3200 1 snd_ac97_codec
snd_pcm_oss 44512 0
snd_mixer_oss 17792 1 snd_pcm_oss
parport_pc 38568 1
parport 40780 3 ppdev,lp,parport_pc
lirc_streamzap 17412 0
lirc_dev 15656 1 lirc_streamzap
snd_pcm 87564 3 snd_emu10k1,snd_ac97_codec,snd_pcm_oss
k8temp 6592 0
snd_seq_device 9044 8 snd_emu10k1_synth,snd_emux_synth,snd_emu10k1,snd_seq_dummy,
snd_seq_oss,snd_seq_midi,snd_seq,snd_rawmidi
snd_timer 25480 3 snd_emu10k1,snd_seq,snd_pcm
snd_page_alloc 11408 2 snd_emu10k1,snd_pcm
snd_util_mem 5632 2 snd_emux_synth,snd_emu10k1
snd_hwdep 11080 2 snd_emux_synth,snd_emu10k1
pcspkr 3648 0
button 9888 0
snd 62056 13 snd_emux_synth,snd_seq_virmidi,snd_emu10k1,snd_seq_oss,snd
_seq,snd_rawmidi,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_device,snd_timer,
snd_hwdep
i2c_viapro 9816 0
i2c_core 27352 2 nvidia,i2c_viapro
shpchp 34332 0
pci_hotplug 17352 1 shpchp
soundcore 9504 1 snd
emu10k1_gp 4672 0
gameport 17232 2 emu10k1_gp
evdev 11456 1
tsdev 9536 0
raid0 8320 0
md_mod 81500 1 raid0
dm_mod 60496 5
usbhid 30112 0
ide_disk 17920 4
ide_cd 40928 0
cdrom 35880 1 ide_cd
pata_via 13892 0
generic 6468 0 [permanent]
sd_mod 29656 2
ehci_hcd 35020 0
uhci_hcd 25880 0
e100 38032 0
mii 6272 1 e100
sata_via 13572 4
via82cxxx 9860 0 [permanent]
ide_core 138192 4 ide_disk,ide_cd,generic,via82cxxx
libata 128400 2 pata_via,sata_via
scsi_mod 161688 2 sd_mod,libata
thermal 18208 0
processor 30592 1 thermal
fan 6280 0
Last edited by ecliptik; 11-17-2007 at 08:19 AM.
Reason: changed title and added udev and mdadm versions
|
| |
01-31-2008
|
#2 (permalink)
| | Just Joined!
Join Date: Sep 2004 Location: So-Cal
Posts: 17
| After finding some time to work on this again, I finally came across the solution. I have a VIA chipset that does "fakeraid" and in the VIA BIOS utility both drives were part of a "fakeraid" array. I removed this array, disabled the VIA RAID controller, and rebooted, only to see that the "Linux raid autodetect" partitions missing. I recreated these with fdisk and rebooted again to see a fully working software RAID.
Something very simple to fix, but at the same time confusing, hopefully this helps someone else out who has a similar issue. |
| |
02-04-2008
|
#3 (permalink)
| | Just Joined!
Join Date: Feb 2008
Posts: 1
| Monitor energy saving How do I turn off the screen energy saving feature under Linux. Under Windows there is PowerOption in Controll panel that allows you to manage this feature. How about Linux.  My customer wants the screen to be on all the time. Thanks a alot in advance for your resonse/help/
TranChung |
| |
06-02-2008
|
#4 (permalink)
| | Just Joined!
Join Date: May 2008
Posts: 1
| Hi ecliptik,
It seems I have the same problem as you described in your post "RAID-0 Assembly Failing on Boot". Only one question: how did you find out that a "fakeraid" was already running. I don't see that in your processes or lsmod-lis
t. I have also a controller with software raid, but as far as I checked it, the RAID functionality is disabled. So I wonder whether there is any sign noticing that although being disabled, the fakeraid started nevertheless.
Many thanks,
linuxnomo |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | | | Free Magazines | Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe | Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe | The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe | Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe | Total Telecom Total Telecom is "The Economist of the communications industry". subscribe | | More free magazines » | All times are GMT. The time now is 11:13 PM. |
| |