Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sda becomes sdb
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
yurkao
n00b
n00b


Joined: 20 Sep 2008
Posts: 13

PostPosted: Sun Sep 21, 2008 9:12 pm    Post subject: sda becomes sdb Reply with quote

i'm trying to install gentoo (vmware, the only virtual scsi disk - LSI Logic).

after recompiling the kernel and rebooting - sda becomes sdb and of cause, i'm getting kernel panic.
any ideas about that?
Back to top
View user's profile Send private message
majoron
Apprentice
Apprentice


Joined: 12 Oct 2005
Posts: 243
Location: Frankfurt

PostPosted: Sun Sep 21, 2008 10:13 pm    Post subject: Reply with quote

I noticed that the labeling of the disks depends on whether the corresponding module is compiled as a module or included in the kernel. I don't know why, but it happens.
So you can recompile the kernel changing the way you load the specific module that you need for this disk: if now you have it as module, turn it into build in, or viceversa.
Hope it helps.

Regards.
_________________
Computers are like air conditioners, they stop working properly if you open Windows
Back to top
View user's profile Send private message
yurkao
n00b
n00b


Joined: 20 Sep 2008
Posts: 13

PostPosted: Mon Sep 22, 2008 1:19 am    Post subject: Reply with quote

Quote:
I noticed that the labeling of the disks depends on whether the corresponding module is compiled as a module or included in the kernel. I don't know why, but it happens.


i removed all scsi low level drivers and turned on CONFIG_FUSION_SPI=y and it works now.
anyway, intersting why or at least what makes sh*t it happen?
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9882
Location: almost Mile High in the USA

PostPosted: Mon Sep 22, 2008 11:54 pm    Post subject: Reply with quote

depending on how the machine (or virtual machine) enumerates PCI (virtual) devices, the controllers that get probed first will end up with the first device letters. If you only have one driver to probe, then it will get the first one since it's the only one...

You could clean this problem up by referring to disks by UUID. But that's beyond me at the moment, I'm old fashioned...
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
ilovebeer
Tux's lil' helper
Tux's lil' helper


Joined: 16 Aug 2008
Posts: 87

PostPosted: Sat Sep 27, 2008 4:45 am    Post subject: Reply with quote

i had the same problem because i had an external usb dvd drive connected at boot and it took the /dev/sda# i.d. when i unplugged the external device and rebooted all was well. might be your problem... hope it's that simple.
Back to top
View user's profile Send private message
honeymak
Guru
Guru


Joined: 30 Dec 2002
Posts: 595

PostPosted: Sun Sep 28, 2008 8:21 am    Post subject: Reply with quote

maybe try looking for an option "boot off board chipset first"
that may affect this
_________________
hackers - make sth real
academics - read sth said to be real
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