Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Logical partitions missing after rebuilding kernel [Solved]
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
subpremium
n00b
n00b


Joined: 30 Apr 2007
Posts: 5

PostPosted: Thu May 24, 2007 2:11 am    Post subject: Logical partitions missing after rebuilding kernel [Solved] Reply with quote

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
View user's profile Send private message
Abraxas
l33t
l33t


Joined: 25 May 2003
Posts: 814

PostPosted: Thu May 24, 2007 5:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
mudrii
l33t
l33t


Joined: 26 Jun 2003
Posts: 789
Location: Singapore

PostPosted: Thu May 24, 2007 6:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
subpremium
n00b
n00b


Joined: 30 Apr 2007
Posts: 5

PostPosted: Mon May 28, 2007 10:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
Abraxas
l33t
l33t


Joined: 25 May 2003
Posts: 814

PostPosted: Tue May 29, 2007 12:17 pm    Post subject: Reply with quote

What chipset do you have? Is it an amd machine or intel? Do you have both SATA and IDE?
Back to top
View user's profile Send private message
_droop_
l33t
l33t


Joined: 30 May 2004
Posts: 957

PostPosted: Tue May 29, 2007 1:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
subpremium
n00b
n00b


Joined: 30 Apr 2007
Posts: 5

PostPosted: Thu May 31, 2007 11:56 pm    Post subject: Reply with quote

Thanks Droop,

Installing udev got everything working.
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