View previous topic :: View next topic |
Author |
Message |
subpremium n00b
Joined: 30 Apr 2007 Posts: 5
|
Posted: Thu May 24, 2007 2:11 am Post subject: Logical partitions missing after rebuilding kernel [Solved] |
|
|
When I tried to move from kernel 2.6.12-r9 to kernel 2.6.20-r8 I ran into an issue where all my logical partitions were no longer being created as /dev/hdc5, /dev/hdc6, and /dev/hdc7. The primary partitions were still available and working correctly. In /proc/partitions all the partitions were still listed. I also noticed that in /dev a new group hdd1 - hdd7 created, this appears to be the same layout as my harddisk, but any attempt to mount them would fail saying that they were not block devices.
Any suggestions as to what would cause this?
Last edited by subpremium on Thu May 31, 2007 11:56 pm; edited 1 time in total |
|
Back to top |
|
|
Abraxas l33t
Joined: 25 May 2003 Posts: 814
|
Posted: Thu May 24, 2007 5:08 pm Post subject: |
|
|
Did you "make oldconfig" and then correct any remaining issues with "make menuconfig"? There were major changes with libata that may have affected you. |
|
Back to top |
|
|
mudrii l33t
Joined: 26 Jun 2003 Posts: 789 Location: Singapore
|
Posted: Thu May 24, 2007 6:09 pm Post subject: |
|
|
if you have any sata ide drive you should go manually compile the kernel for new libata that was add in 2.6.19 _________________ www.gentoo.ro |
|
Back to top |
|
|
subpremium n00b
Joined: 30 Apr 2007 Posts: 5
|
Posted: Mon May 28, 2007 10:25 pm Post subject: |
|
|
I just tried running make oldconfig and that did not raise any issues. Here are some things I noticed in dmesg that are new after the kernel upgrade:
Added: Code: |
hdc: hw_config=604b
hdc: hw_config=604b |
This: Code: |
hdc: max request size: 1024KiB
hdc: 781422768 sectors (400088 MB) w/16384KiB Cache, CHS=48641/255/63, UDMA(100)
hdc: cache flushes supported
/dev/ide/host0/bus1/target0/lun0: p1 p2 p3 p4 < p5 p6 p7 > |
became
Code: |
hdc: max request size: 512KiB
hdc: 781422768 sectors (400088 MB) w/16384KiB Cache, CHS=48641/255/63<6>hdc: hw_config=604b
, UDMA(100)
hdc: cache flushes supported
hdc: hdc1 hdc2 hdc3 hdc4 < hdc5 hdc6 hdc7 > |
|
|
Back to top |
|
|
Abraxas l33t
Joined: 25 May 2003 Posts: 814
|
Posted: Tue May 29, 2007 12:17 pm Post subject: |
|
|
What chipset do you have? Is it an amd machine or intel? Do you have both SATA and IDE? |
|
Back to top |
|
|
_droop_ l33t
Joined: 30 May 2004 Posts: 957
|
Posted: Tue May 29, 2007 1:55 pm Post subject: |
|
|
subpremium wrote: |
Code: |
hdc: max request size: 512KiB
hdc: 781422768 sectors (400088 MB) w/16384KiB Cache, CHS=48641/255/63<6>hdc: hw_config=604b
, UDMA(100)
hdc: cache flushes supported
hdc: hdc1 hdc2 hdc3 hdc4 < hdc5 hdc6 hdc7 > |
|
Hi,
This seems good. Logical partitions are detected by the kernel (last line).
Perhaps, you should upgrade udev and use dispatch-conf for udev rules modification. |
|
Back to top |
|
|
subpremium n00b
Joined: 30 Apr 2007 Posts: 5
|
Posted: Thu May 31, 2007 11:56 pm Post subject: |
|
|
Thanks Droop,
Installing udev got everything working. |
|
Back to top |
|
|
|