Hi all. I'm having a few problems trying to get a SATA drive to run on a VIA EPIA EN15000G. I'm running Slack 10.2 with a custom 2.6.27.4 kernel. I have enabled all of the SATA kernel modules, and been through my configuration over and over again, but I'm getting the same problem every time.
During boot, I get all of the sda messages popping up in /var/log/messages, apparently showing that it has all worked ok... An example of one of these messages is below:
Code:
Dec 1 10:18:11 workshop0 kernel: sd 1:0:0:0: [sda] 312581808 512-byte hardware sectors (160042 MB)
Dec 1 10:18:11 workshop0 kernel: sd 1:0:0:0: [sda] Attached SCSI disk
The problem is that when boot has finished, I try fdisk /dev/sda and what comes back is "Unable to open /dev/sda".
I have tried multiple SATA drives (of different brands), and recompiled the kernel a good few times just in case but I get the same result every time, so I'm positive it's a configuration issue. I'd rather get the the bottom of this rather than just go reinstalling things willy-nilly, as it's a production machine I'm working with.
If it helps I have the motherboard set to use the SATA in IDE mode rather than RAID mode (it seemed to be the sensible option, as I do not require RAID for this machine).
Any help is much much appreciated.
UPDATE: Looking in /sys/block/, I have a seemingly valid folder sda with a link of device to ../../devices/pci0000(...), a valid size file, ro is set to 0, removable is 0. The uevent file reads as follows:
Code:
MAJOR=8
MINOR=0
DEVTYPE=disk
PHYSDEVPATH=/devices/pci0000:00/0000:00:0f.0/host1/target1:0:0/1:0:0:0
PHYSDEVBUS=scsi
PHYSDEVDRIVER=sd
Also, I've just noticed that on boot, it says that the "sd driver needs updating"
Thanks again!
X-T