LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   LDM problem Cannot find TOCBLOCK (https://www.linuxquestions.org/questions/linux-software-2/ldm-problem-cannot-find-tocblock-599472/)

nLEyETn 11-13-2007 10:57 PM

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.

nLEyETn 11-14-2007 02:30 AM

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.


nLEyETn 11-14-2007 02:17 PM

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?


All times are GMT -5. The time now is 01:50 PM.