View previous topic :: View next topic |
Author |
Message |
yurkao n00b
Joined: 20 Sep 2008 Posts: 13
|
Posted: Sun Sep 21, 2008 9:12 pm Post subject: sda becomes sdb |
|
|
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 |
|
|
majoron Apprentice
Joined: 12 Oct 2005 Posts: 243 Location: Frankfurt
|
Posted: Sun Sep 21, 2008 10:13 pm Post subject: |
|
|
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 |
|
|
yurkao n00b
Joined: 20 Sep 2008 Posts: 13
|
Posted: Mon Sep 22, 2008 1:19 am Post subject: |
|
|
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 |
|
|
eccerr0r Watchman
Joined: 01 Jul 2004 Posts: 9882 Location: almost Mile High in the USA
|
Posted: Mon Sep 22, 2008 11:54 pm Post subject: |
|
|
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 |
|
|
ilovebeer Tux's lil' helper
Joined: 16 Aug 2008 Posts: 87
|
Posted: Sat Sep 27, 2008 4:45 am Post subject: |
|
|
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 |
|
|
honeymak Guru
Joined: 30 Dec 2002 Posts: 595
|
Posted: Sun Sep 28, 2008 8:21 am Post subject: |
|
|
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 |
|
|
|