Unix Technical Forum

SEO

vBulletin Search Engine Optimization


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

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-11-2008, 08:40 PM
Osiro
 
Posts: n/a
Default Upgrading to Slack 12.1

I was upgrading my slack 12 to 12.1 ( using this script
ftp.slackware.com/pub/slackware/slackware-12.1/UPGRADE.TXT ), and
whena boot my computer I received the following erro:
--------------------------------------------------------------------------------------------------------------------------
VFS: Cannot open root device "806"or unknown-block(8,6)
Please append a correct "root=" boot option; here are the
available partitions:
0300 312571224 hda driver: ide-scsi
0301 20482843 hda1
0302 1 hda2
0305 20482843 hda5
0306 4996183 hda6
0307 4000153 hda7
0308 2000061 hda8
0309 2000061 hda9
030a 128905528 hda10
030b 129700746 hda11
1600 4194302 hdc driver: ide-cdrom

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-
block(8,6)
--------------------------------------------------------------------------------------------------------------------------

In fact I understood the problem, I need to append a correct root, but
I did this change on lilo.conf and the problem persists.

And I realized something strange, I don`t have a IDE Hard Disk, is a
SATA.
So, why the available partitions are hda instead of sda? Do I need to
change some kernel configuration? How can I do it?

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 05-11-2008, 08:40 PM
Helmut Hullen
 
Posts: n/a
Default Re: Upgrading to Slack 12.1

Hallo, Osiro,

Du meintest am 11.05.08:

> Cannot open root device "806"or unknown-block(8,6)


The system looks for sda6.

> Please append
> a correct "root=" boot option; here are the available partitions:
> 0300 312571224 hda driver: ide-scsi


That's a strange driver for an IDE drive.

Viele Gruesse
Helmut

"Ubuntu" - an African word, meaning "Slackware is too hard for me".

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-11-2008, 08:40 PM
Bartosz Oudekerk
 
Posts: n/a
Default Re: Upgrading to Slack 12.1

Osiro <vinicius.osiro@gmail.com> typed on 2008-05-11:
> I was upgrading my slack 12 to 12.1 ( using this script
> ftp.slackware.com/pub/slackware/slackware-12.1/UPGRADE.TXT ), and
> whena boot my computer I received the following erro:
> --------------------------------------------------------------------------------------------------------------------------
> VFS: Cannot open root device "806"or unknown-block(8,6)
> Please append a correct "root=" boot option; here are the
> available partitions:
> 0300 312571224 hda driver: ide-scsi
> 0301 20482843 hda1
> 0302 1 hda2
> 0305 20482843 hda5
> 0306 4996183 hda6
> 0307 4000153 hda7
> 0308 2000061 hda8
> 0309 2000061 hda9
> 030a 128905528 hda10
> 030b 129700746 hda11
> 1600 4194302 hdc driver: ide-cdrom
>
> Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-
> block(8,6)
> --------------------------------------------------------------------------------------------------------------------------
>
> And I realized something strange, I don`t have a IDE Hard Disk, is a
> SATA.
> So, why the available partitions are hda instead of sda? Do I need to
> change some kernel configuration? How can I do it?


I've seen this before, it seems the ide-disk driver is picking up your
sata drive. Reconfiguring your system to use it like this is not really
an option, as it's impossible to enable DMA.

The easiest way is to add hda=noprobe & hda=none to your kernel
parameters, then ide-disk will skip it and the correct driver will be
able to pick up your drive as sda.

Regards,
--
Bartosz Oudekerk
I think a better name for PAM might be SCAM, for Swiss Cheese Authentication
Modules, and have never felt that the small amount of convenience it provides
is worth the great loss of system security. -- Patrick Volkerding
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 05-11-2008, 08:40 PM
Martin Schmitz
 
Posts: n/a
Default Re: Upgrading to Slack 12.1

Bartosz Oudekerk wrote:
> The easiest way is to add hda=noprobe & hda=none to your kernel
> parameters, then ide-disk will skip it and the correct driver will be
> able to pick up your drive as sda.


Afaik this has to be "ide0=noprobe hda=none". Or maybe ide1.

Martin

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 05-11-2008, 08:40 PM
Osiro
 
Posts: n/a
Default Re: Upgrading to Slack 12.1

On 11 maio, 12:52, Bartosz Oudekerk <bartosz@see_my_GnuPG-key.com>
wrote:
> Osiro <vinicius.os...@gmail.com> typed on 2008-05-11:
>
>
>
> > I was upgrading my slack 12 to 12.1 ( using this script
> > ftp.slackware.com/pub/slackware/slackware-12.1/UPGRADE.TXT ), and
> > whena boot my computer I received the following erro:
> > --------------------------------------------------------------------------------------------------------------------------
> > VFS: Cannot open root device "806"or unknown-block(8,6)
> > Please append a correct "root=" boot option; here are the
> > available partitions:
> > 0300 312571224 hda driver: ide-scsi
> > 0301 20482843 hda1
> > 0302 1 hda2
> > 0305 20482843 hda5
> > 0306 4996183 hda6
> > 0307 4000153 hda7
> > 0308 2000061 hda8
> > 0309 2000061 hda9
> > 030a 128905528 hda10
> > 030b 129700746 hda11
> > 1600 4194302 hdc driver: ide-cdrom

>
> > Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-
> > block(8,6)
> > --------------------------------------------------------------------------------------------------------------------------

>
> > And I realized something strange, I don`t have a IDE Hard Disk, is a
> > SATA.
> > So, why the available partitions are hda instead of sda? Do I need to
> > change some kernel configuration? How can I do it?

>
> I've seen this before, it seems the ide-disk driver is picking up your
> sata drive. Reconfiguring your system to use it like this is not really
> an option, as it's impossible to enable DMA.
>
> The easiest way is to add hda=noprobe & hda=none to your kernel
> parameters, then ide-disk will skip it and the correct driver will be
> able to pick up your drive as sda.
>
> Regards,
> --
> Bartosz Oudekerk
> I think a better name for PAM might be SCAM, for Swiss Cheese Authentication
> Modules, and have never felt that the small amount of convenience it provides
> is worth the great loss of system security. -- Patrick Volkerding


Some linux forums said to reconfigure kernel with support to SATA
drivers, do you think this is one way to solve it?
I'm analyzing my kernel configuration now, but I don't have idea how I
can do it?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 05-11-2008, 08:41 PM
Bartosz Oudekerk
 
Posts: n/a
Default Re: Upgrading to Slack 12.1

Martin Schmitz <usenet@rmz.ath.cx> typed on 2008-05-11:
> Bartosz Oudekerk wrote:
>> The easiest way is to add hda=noprobe & hda=none to your kernel
>> parameters, then ide-disk will skip it and the correct driver will be
>> able to pick up your drive as sda.

>
> Afaik this has to be "ide0=noprobe hda=none". Or maybe ide1.


Well, hda=noprobe works for me. But my guess would be that using ide0
would work just as well, assuming you don't have a hdb device that does
need to be recognised by the driver.

Regards,
--
Bartosz Oudekerk
I think a better name for PAM might be SCAM, for Swiss Cheese Authentication
Modules, and have never felt that the small amount of convenience it provides
is worth the great loss of system security. -- Patrick Volkerding
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 05-11-2008, 08:41 PM
Bartosz Oudekerk
 
Posts: n/a
Default Re: Upgrading to Slack 12.1

Osiro <vinicius.osiro@gmail.com> typed on 2008-05-11:
> On 11 maio, 12:52, Bartosz Oudekerk <bartosz@see_my_GnuPG-key.com>
> wrote:
>> Osiro <vinicius.os...@gmail.com> typed on 2008-05-11:
>>
>> > And I realized something strange, I don`t have a IDE Hard Disk, is a
>> > SATA.
>> > So, why the available partitions are hda instead of sda? Do I need to
>> > change some kernel configuration? How can I do it?

>>
>> I've seen this before, it seems the ide-disk driver is picking up your
>> sata drive. Reconfiguring your system to use it like this is not really
>> an option, as it's impossible to enable DMA.
>>
>> The easiest way is to add hda=noprobe & hda=none to your kernel
>> parameters, then ide-disk will skip it and the correct driver will be
>> able to pick up your drive as sda.
>>

> Some linux forums said to reconfigure kernel with support to SATA
> drivers, do you think this is one way to solve it?
> I'm analyzing my kernel configuration now, but I don't have idea how I
> can do it?


If you're using one of Pats pre-compiled kernels, SATA support is in
there, the problem is another driver picking it up first. The kernel
parameters I specified earlier, tell the driver to leave the drive
alone so the correct driver can then pick it up.

To fix it in the kernel, you'd have to compile a kernel without
ide-disk, or ide-disk as a module which you could load after booting.

Note: I don't know if ATAPI devices (like your cdrom) use the driver. I
don't think so, but it's not really an issue if you compile it as a
module, I don't recall ever needing my cdrom drive till after booting.

Note2: I'm pretty sure it's ide-disk, but I haven't tested this by
removing ide-disk from my kernel(yet), like I describe above.

Note3: Please don't quote my .signature when replying.

Regards,
--
Bartosz Oudekerk
I think a better name for PAM might be SCAM, for Swiss Cheese Authentication
Modules, and have never felt that the small amount of convenience it provides
is worth the great loss of system security. -- Patrick Volkerding
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



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


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145