Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LiveCD not creating /dev/sda link to megaraid device
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
smyles
n00b
n00b


Joined: 23 Jul 2003
Posts: 13
Location: Ipswich, UK

PostPosted: Mon Jun 26, 2006 2:23 pm    Post subject: LiveCD not creating /dev/sda link to megaraid device Reply with quote

I have a Compaq ML530 [not a G2 model] which I've connected an Intel SRCU42X dual channel RAID card. Using the BIOS on this card I've created a 1.7TB array of disks. The controller, which uses an LSI chip with the megaraid driver, is detected by the kernel. The problem is that no device /dev/sda is created so I can't go any further and partition the disk. The device appears under /sys/block/sda

Section of dmesg output
Code:
megaraid cmm: 2.20.2.6 (Release Date: Mon Mar 7 00:01:03 EST 2005)
megaraid: 2.20.4.6 (Release Date: Mon Mar 07 12:27:22 EST 2005)
megaraid: probe new device 0x1000:0x0407:0x8086:0x0532: bus 3:slot 0:func 0
ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 25 (level, low) -> IRQ 18
megaraid: fw version:[414C] bios version:[H429]
scsi2 : LSI Logic MegaRAID driver
scsi[2]: scanning scsi channel 0 [Phy 0] for non-raid devices
scsi[2]: scanning scsi channel 1 [Phy 1] for non-raid devices
scsi[2]: scanning scsi channel 2 [virtual] for logical drives
  Vendor: MegaRAID  Model: LD 0 RAID5 1710G  Rev: 414C
  Type:   Direct-Access                      ANSI SCSI revision: 02
SCSI device sda: 3503898624 512-byte hdwr sectors (1793996 MB)
sda: asking for cache data failed
sda: assuming drive cache: write through
SCSI device sda: 3503898624 512-byte hdwr sectors (1793996 MB)
sda: asking for cache data failed
sda: assuming drive cache: write through
 sda: unknown partition table
sd 2:2:0:0: Attached scsi disk sda


ls -l of /sys/block/sda:
Code:
-r--r--r--  1 root root 4096 Jun 24 05:02 dev
lrwxrwxrwx  1 root root    0 Jun 23 22:33 device -> ../../devices/pci0000:02/0000:02:05.0/0000:03:00.0/host2/target2:2:0/2:2:0:0
drwxr-xr-x  3 root root    0 Jun 23 22:33 queue
-r--r--r--  1 root root 4096 Jun 24 05:02 range
-r--r--r--  1 root root 4096 Jun 24 05:02 removable
-r--r--r--  1 root root 4096 Jun 24 05:02 size
-r--r--r--  1 root root 4096 Jun 24 05:02 stat
--w-------  1 root root 4096 Jun 24 05:02 uevent


Can anyone help why /dev/sda is not appearing and how to fix it?[/code][/glsa]
Back to top
View user's profile Send private message
elestedt
Guru
Guru


Joined: 13 Mar 2005
Posts: 383

PostPosted: Mon Jun 26, 2006 5:50 pm    Post subject: Re: LiveCD not creating /dev/sda link to megaraid device Reply with quote

Did you add doscsi to the kernel options?
That is: did you type
Code:
gentoo doscsi
at boot prompt?
Back to top
View user's profile Send private message
smyles
n00b
n00b


Joined: 23 Jul 2003
Posts: 13
Location: Ipswich, UK

PostPosted: Tue Jun 27, 2006 7:32 pm    Post subject: Reply with quote

Thanks for the reply. That didn't help much. The megaraid module is being loaded correctly and doing an lsmod shows the module. What doesn't seem to be happening is that a device node under /dev doesn't seem to being created.
Back to top
View user's profile Send private message
elestedt
Guru
Guru


Joined: 13 Mar 2005
Posts: 383

PostPosted: Tue Jun 27, 2006 7:44 pm    Post subject: Reply with quote

smyles wrote:
Thanks for the reply. That didn't help much. The megaraid module is being loaded correctly and doing an lsmod shows the module. What doesn't seem to be happening is that a device node under /dev doesn't seem to being created.

Then I'm out of ideas - unfortunantly. Since your kernel does find the device that should have solved it.
Look around in the README at boot, there might be some option I've missed...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum