You are not logged in.

#1 2006-02-04 01:20:32

tom8658
Member
Registered: 2006-01-27
Posts: 18

Areca Raid card and Udev strangeness

I rebuilt my system with a custom kernel to use the Areca ARC1210 Raid drivers. The kernel built and booted without any problems, and dmesg even shows the raid driver initializing:

ARECA RAID ADAPTER0: FIRMWARE VERSION 1.38 2005-10-4
scsi0: ARECA ARC1210 PCI-EXPRESS 4 PORTS SATA RAID CONTROLLER
             Driver version: 1.20.0X.12
             Vendor: Areca  Model: ARC-1210-VOL#00  Rev: 001
             Type: Direct-access              ANSI SCSI Revision: 003

and later

SCSI device sda: 1249999872 512-byte hdwr sectors (640000 MB)
....
   sda: sda1
sd 0:0:0:0 Attached SCSI disk sda
libata version 1.20.0 loaded

However, as it is booting it displays

mount: special device /dev/sda1 does not exist.

The /etc/fstab entry is:

/dev/sda1     /smnt/raid     reiserfs     defaults    0 0

It may or may not be worth noting, but when I go to mount it with udev (mount /dev/sda1) it fails with "wrong filesystem". But if I "mount /dev/sda1 /smnt/raid" it works just fine.

Also, /dev/scsi/host0/bus0/target0/lun0/part1 is symlinked to /dev/sda.

Am I missing something from my kernel? Or is something compiled as a module that shouldn't be?

EDIT: I forgot to mention, the custom kernel is not an initrd kernel, so I don't think the wiki page applies.

Offline

#2 2006-02-04 11:23:18

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: Areca Raid card and Udev strangeness

If "mount /dev/sda1" doesn't work, I think your /etc/fstab isn't correct: mount reads /etc/fstab unless you use a "full" mount command like your "mount /dev/sda1 /smnt/raid".


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#3 2006-02-07 00:49:03

tom8658
Member
Registered: 2006-01-27
Posts: 18

Re: Areca Raid card and Udev strangeness

FUBAR wrote:

If "mount /dev/sda1" doesn't work, I think your /etc/fstab isn't correct: mount reads /etc/fstab unless you use a "full" mount command like your "mount /dev/sda1 /smnt/raid".

You were correct on one count, thanks. I had a line

/dev/sda1 /mnt/usb vfat user,noauto 0 0

earlier in fstab to mount my flash drive big_smile.

It does mount with "mount /dev/sda1" now, but it still produces the same error on boot, even though it seems to recognize the card at the beginning of dmesg. I would write a script to mount it before mysqld at boot, but I'm afraid that I'm missing something that will come back and bite me later. Is there some udev subtlety that I'm not catching?

Offline

#4 2006-02-07 17:02:59

FUBAR
Member
From: Belgium
Registered: 2004-12-08
Posts: 1,029
Website

Re: Areca Raid card and Udev strangeness

Are you saying your partition is mounted too late? Or not at all? (When you boot your computer)


A bus station is where a bus stops.
A train station is where a train stops.
On my desk I have a workstation.

Offline

#5 2006-02-07 20:58:16

tom8658
Member
Registered: 2006-01-27
Posts: 18

Re: Areca Raid card and Udev strangeness

When I boot, it doesn't load the partition. But after I login, i can mount it normally.

Offline

#6 2006-02-08 23:50:04

tom8658
Member
Registered: 2006-01-27
Posts: 18

Re: Areca Raid card and Udev strangeness

I don't know if this has any bearing on my problem, but in /proc/devices, my raid card is listed as device 254 under character devices, when an ls -l of /dev quite clearly shows that /dev/sda is a block device. Is something wrong?

Offline

Board footer

Powered by FluxBB