Unix Technical Forum

VFS: Cannot open root device "hda1" or unknown-block(0,0)

This is a discussion on VFS: Cannot open root device "hda1" or unknown-block(0,0) within the Gentoo Linux Support forums, part of the Unix Operating Systems category; --> Gosha wrote: > On Feb 25, 2:26 am, "J.O. Aho" <u...@example.net> wrote: >> Gosha wrote: >>> This Blade machine ...


Go Back   Unix Technical Forum > Unix Operating Systems > Gentoo Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 02-21-2008, 12:00 PM
J.O. Aho
 
Posts: n/a
Default Re: VFS: Cannot open root device "hda1" or unknown-block(0,0)

Gosha wrote:
> On Feb 25, 2:26 am, "J.O. Aho" <u...@example.net> wrote:
>> Gosha wrote:


>>> This Blade machine is one little buggy piece of hardware..

>> The hardware ain't that buggy, just the Linux support that ain't up to date.
>> Maybe there will be a change when the whole OpenSolaris source has been released.

> OpenSolaris sounds desperate..
> Solaris.. a perfect system with nobody using it or programming for it.


I think it will be like open source version of older Solaris, I know
indirectly people working on the OpenSolaris project, porting it to PowerPC,
not that I'm that interested of running it on my PowerPC machine, it's easier
to have the same OS on all machines.


> I'm compiling the livecd kernel to see if it will do better.


You should have run lspci to find out the chip used for the IDE

0000:00:0d.0 IDE interface: ALi Corporation M5229 IDE (rev c3)

that should work with the alim15x3 driver, not sure if you need some patch,
seems to be mentioned at lkml

--- pata_ali.patch ---
diff --git a/drivers/ata/pata_ali.c b/drivers/ata/pata_ali.c
index 1d695df..a0b9e49 100644
- --- a/drivers/ata/pata_ali.c
+++ b/drivers/ata/pata_ali.c
@@ -329,6 +329,16 @@ static void ali_lock_sectors(struct ata_
adev->max_sectors = 255;
}

+static unsigned long atapi_max_xfer_mask = ~0;
+module_param(atapi_max_xfer_mask, ulong, 644);
+
+static unsigned long ali_mode_filter(const struct ata_port *ap, struct
ata_devi
ce *adev, unsigned long xfer_mask)
+{
+ if (adev->class == ATA_DEV_ATAPI)
+ xfer_mask &= atapi_max_xfer_mask;
+ return ata_pci_default_filter(ap, adev, xfer_mask);
+}
+
static struct scsi_host_template ali_sht = {
.module = THIS_MODULE,
.name = DRV_NAME,
@@ -428,7 +438,7 @@ static struct ata_port_operations ali_c2
.port_disable = ata_port_disable,
.set_piomode = ali_set_piomode,
.set_dmamode = ali_set_dmamode,
- - .mode_filter = ata_pci_default_filter,
+ .mode_filter = ali_mode_filter,
.tf_load = ata_tf_load,
.tf_read = ata_tf_read,
.check_status = ata_check_status,
--- eof ---

Good luck.


--

//Aho
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:21 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com