LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-12-2004, 11:27 AM   #1
kennedy01
LQ Newbie
 
Registered: Nov 2003
Location: Georgia
Distribution: Slackware 10.1
Posts: 28

Rep: Reputation: 15
RAID 0 was working...not now


The SW RAID0 was working. Samba was setup to share /raid66. While moving files to the share an error occurred (moving DVD data from win2K to Samba). The data was backed up...no worries...so I did a reboot. The array looks like its broke after reboot. Any ideas what Slackware is trying to tell me?

I have another question relating to the raid0 config. I do not have a /etc/raidtab file....nothing. Where is my config for the raid? Is this all auto detect?

################ dmesg ###################
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x1000-0x1007, BIOS settings: hda:DMA, hdb:pio
PDC20262: IDE controller at PCI slot 00:11.0
PCI: Found IRQ 10 for device 00:11.0
PDC20262: chipset revision 1
PDC20262: not 100% native mode: will probe irqs later
PDC20262: (U)DMA Burst Bit ENABLED Primary PCI Mode Secondary PCI Mode.
ide2: BM-DMA at 0x1080-0x1087, BIOS settings: hde:DMA, hdf:pio
ide3: BM-DMA at 0x1088-0x108f, BIOS settings: hdg:DMA, hdh:DMA
hda: IDE DVD-ROM 16X, ATAPI CD/DVD-ROM drive
hdb: 24X10, ATAPI CD/DVD-ROM drive
hde: Maxtor 6Y120P0, ATA DISK drive
blk: queue c03aa628, I/O limit 4095Mb (mask 0xffffffff)
hdg: WDC WD1200JB-00EVA0, ATA DISK drive
blk: queue c03aaa7c, I/O limit 4095Mb (mask 0xffffffff)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide2 at 0x1060-0x1067,0x1016 on irq 10
ide3 at 0x1018-0x101f,0x1012 on irq 10
hde: attached ide-disk driver.
hde: host protected area => 1
hde: 240121728 sectors (122942 MB) w/7936KiB Cache, CHS=238216/16/63, UDMA(66)
hdg: attached ide-disk driver.
hdg: host protected area => 1
hdg: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=14593/255/63, UDMA(66)
hda: attached ide-cdrom driver.
hda: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
hdb: attached ide-cdrom driver.
hdb: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache, DMA
Partition check:
hde: [PTBL] [14946/255/63] hde1 hde2
hdg: hdg1 hdg2
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
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
8regs : 905.600 MB/sec
32regs : 546.400 MB/sec
pIII_sse : 1118.000 MB/sec
pII_mmx : 1225.200 MB/sec
p5_mmx : 1257.600 MB/sec
raid5: using function: pIII_sse (1118.000 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
[events: 0000009e]
[events: 0000003a]
md: autorun ...
md: considering hdg2 ...
md: adding hdg2 ...
md: adding hde2 ...
md: created md0
md: bind<hde2,1>
md: bind<hdg2,2>
md: running: <hdg2><hde2>
md: hdg2's event counter: 0000003a
md: hde2's event counter: 0000009e
md: superblock update time inconsistency -- using the most recent one
md: freshest: hde2
md: kicking non-fresh hdg2 from array!
md: unbind<hdg2,1>
md: export_rdev(hdg2)
md0: former device hdg2 is unavailable, removing from array!
md0: max total readahead window set to 1024k
md0: 2 data-disks, max readahead per data-disk: 512k
md: md0, array needs 2 disks, has 1, aborting.
raid0: disks are not ordered, aborting!
md: pers->run() failed ...
md :do_md_run() returned -22
md: md0 stopped.
md: unbind<hde2,0>
md: export_rdev(hde2)
md: ... autorun DONE.
LVM version 1.0.5+(22/07/2002)

###################### Info for hde ###############
root@Joshua:~# fdisk /dev/hde -l

Disk /dev/hde: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hde1 1 451 3622626 83 Linux
/dev/hde2 452 14946 116431087+ fd Linux raid autodetect

####################Info for hdg ###################
root@Joshua:~# fdisk /dev/hdg -l

Disk /dev/hdg: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdg1 1 63 506016 82 Linux swap
/dev/hdg2 64 14593 116712225 fd Linux raid autodetect

##################### fstab #####################
root@Joshua:~# cat /etc/fstab
/dev/hdg1 swap swap defaults 0 0
/dev/hde1 / ext3 defaults 1 1
/dev/md0 /raid66 ext3 defaults 1 2
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0


Thanks in advance for the help.
 
Old 06-13-2004, 03:24 PM   #2
kennedy01
LQ Newbie
 
Registered: Nov 2003
Location: Georgia
Distribution: Slackware 10.1
Posts: 28

Original Poster
Rep: Reputation: 15
Gave up on RAID 0...for the moment

OK, I gave up on RAID 0 ... for the moment .... and continued making each 120gig drive an individual drive. The Maxtor drive (newer of the two) formatted OK. The older Wester Digital drive was taking too long to format...so I did a reboot and issued the following command again.

root@Joshua:~# mke2fs -j -c /dev/hdg2

It proceeded at a pretty good click for about 44000 blocks then just stopped. So I took a look at dmesg and here's what reported

hdg: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdg: dma_intr: error=0x84 { DriveStatusError BadCRC }
hdg: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdg: dma_intr: error=0x84 { DriveStatusError BadCRC }
hdg: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdg: dma_intr: error=0x84 { DriveStatusError BadCRC }
hdg: dma_timer_expiry: dma status == 0x60
hdg: timeout waiting for DMA

Im guessing my lack of patients on inital install (didnt check for bad blocks) is is paying negative dividends. Could this be the REAL reason RAID0 wont load? The real reason the Array broke in the first place?

I have an extra (and newer) ATA133 controller to replace the older PromiseUltra 66 controller with, along with newer ATA133 round cables. WE'll try replaing those two and see what happens. Although these efforts could fix it...it doesnt look hopefull.

Last feel free to post a reply! My last question (IPTABLES and dhcpd) and this one havent seen a single response, but I will post final resolution when I figure it out. I do see the posts are viewed, just no active conversation.

--justin
 
  


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
RAID autodetect not working gbbenson Linux - General 2 06-30-2004 07:20 AM
Promise Raid w/ 2.6.2 & suse 9 Not working dragin33 Linux - Software 0 02-08-2004 11:45 PM
Getting on-board RAID working? Jestrik Linux - Hardware 3 12-15-2003 10:33 AM
Raid working with Promise SATA150 TX4 Raid? edoope Linux - Hardware 2 12-02-2003 09:30 AM
Highpoint raid not working with mandrake 9.0 Borriszan Linux - Hardware 0 01-09-2003 07:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:18 PM.

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