LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-13-2007, 10:57 PM   #1
nLEyETn
LQ Newbie
 
Registered: Mar 2007
Posts: 28

Rep: Reputation: 15
Unhappy LDM problem Cannot find TOCBLOCK


I just setup 2 Dynamic Disks in Windows Vista and they are spanned together. I want to read/write to them in linux, but my LDM driver does not seem to be seeing them correctly. When my machine boots, I get this message:

Code:
 sdb:<2>ldm_parse_tocblock(): Cannot find TOCBLOCK, database may be corrupt.
ldm_parse_tocblock(): Cannot find TOCBLOCK, database may be corrupt.
I am using kernel version 2.6.23.1 with both the following options enabled:

Code:
"Advanced partition selection" CONFIG_PARTITION_ADVANCED
"Windows Logical Disk Manager (Dynamic Disk) support" CONFIG_LDM_PARTITION
Please help me fix this.
 
Old 11-14-2007, 02:30 AM   #2
nLEyETn
LQ Newbie
 
Registered: Mar 2007
Posts: 28

Original Poster
Rep: Reputation: 15
I recompiled my kernel with ldm debugging support, so here is some more info which hopefully will help.

Code:
ldm_validate_partition_table(): Found W2K dynamic disk partition type.
ldm_parse_privhead(): PRIVHEAD version 2.12 (Windows Vista).
ldm_parse_privhead(): Parsed PRIVHEAD successfully.
ldm_parse_privhead(): PRIVHEAD version 2.12 (Windows Vista).
ldm_parse_privhead(): Parsed PRIVHEAD successfully.
ldm_parse_privhead(): PRIVHEAD version 2.12 (Windows Vista).
ldm_parse_privhead(): Parsed PRIVHEAD successfully.
ldm_validate_privheads(): Validated PRIVHEADs successfully.
ldm_parse_tocblock(): Cannot find TOCBLOCK, database may be corrupt.
ldm_parse_tocblock(): Parsed TOCBLOCK successfully.
ldm_parse_tocblock(): Parsed TOCBLOCK successfully.
ldm_parse_tocblock(): Cannot find TOCBLOCK, database may be corrupt.
ldm_validate_tocblocks(): Validated 2 TOCBLOCKs successfully.
ldm_parse_vmdb(): Parsed VMDB successfully.
ldm_parse_vblk(): Parsed VBLK 0x1 (type: 0x35) ok.
ldm_parse_vblk(): Parsed VBLK 0x3 (type: 0x51) ok.
ldm_parse_vblk(): Parsed VBLK 0x2 (type: 0x34) ok.
ldm_parse_vblk(): Parsed VBLK 0x5 (type: 0x33) ok.
ldm_parse_vblk(): Parsed VBLK 0x6 (type: 0x34) ok.
ldm_parse_vblk(): Parsed VBLK 0x4 (type: 0x32) ok.
ldm_parse_vblk(): Parsed VBLK 0x7 (type: 0x33) ok.
ldm_partition(): Parsed LDM database successfully.
 
Old 11-14-2007, 02:17 PM   #3
nLEyETn
LQ Newbie
 
Registered: Mar 2007
Posts: 28

Original Poster
Rep: Reputation: 15
Well, after some reading it seems that my dynamic disks should be alright since in the debug info it shows that 2 out of 4 attempted TOCBLOCKS were parsed correctly, and I found this in the ldm.c file which shows that should be alright.

Code:
* Windows Vista LDM v2.12 does not always have all four TOCBLOCKs so
* skip any that fail as long as we get at least one valid TOCBLOCK.
But when I tried to mount it, it did not seem to work so I read some more and it seems I need to setup a md device, but I have no experience doing that, so I was hoping somebody could explain that for me since most of the documentation I found is for creating a new one and not setting up one already made in Vista. Can anybody help me through that?
 
  


Reply

Tags
disks, dynamic, ldm


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LDM on ubuntu 7.04 alternate install disk? nicepen Linux - Software 2 07-15-2007 02:37 PM
problem using find to find word windsurfer Linux - Software 3 03-08-2007 08:09 AM
problem with find Mclewson Linux - General 3 11-28-2004 10:24 AM
Problem with find jowid Linux - Newbie 3 10-09-2003 04:37 PM
LDM error with Mandrake 9.1 bob49 Linux - Distributions 2 06-23-2003 02:01 PM


All times are GMT -5. The time now is 08:37 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration