[ros-kernel] Removable Media Support is Broken.

James Tabor jimtabor at adsl-64-217-116-74.dsl.hstntx.swbell.net
Tue Jul 13 02:06:49 CEST 2004


Hartmut Birr wrote:
> 
>>-----Original Message-----
>>From: ros-kernel-bounces at reactos.com 
>>[mailto:ros-kernel-bounces at reactos.com] On Behalf Of James Tabor
>>Sent: Monday, July 12, 2004 4:40 PM
>>To: ReactOS Kernel List
>>Subject: Re: [ros-kernel] Removable Media Support is Broken.
>>
>>
>>
>>In disk.c DiskBuildPartitionTable() I had to do this,
>>
>>       else
>>         {
>>//        DiskData->PartitionType = 0;
>>//        DiskData->PartitionNumber = 1;
>>//        DiskData->PartitionOrdinal = 0;
>>//        DiskData->HiddenSectors = 0;
>>//        DiskData->BootIndicator = 0;
>>//        DiskData->DriveNotReady = FALSE;
>>// 
>>DiskDeviceExtension->PartitionLength.QuadPart+=DiskDeviceExten
>>sion->StartingOffset.QuadPart;
>>//        DiskDeviceExtension->StartingOffset.QuadPart = 0;
>>         }
>>     }
> 
> 
>>Now, I can read and write, do directors bla bla bla.
>>
>>This is still not right and I moved down deeper into the kernel.
> 
> 
>>The first partition read was good, but the 2nd, 3rd, 4th and 
>>5th things go wrong
>>but do not fail. I guess after the first read it's the boot sector.
>>Any ideas why we read the partition table first than after 
>>that it is junk in
>>the buffer? 8^0
>>James
> 
> 
> The first partition read comes from a disk which was formatted as partition
> disk. The others comes from a disk which was formatted as super floppy. This
> disk is not recognized because you have disabled the super floppy code. 
> 
> - Hartmut
> 
NO! It is the same disk! It is read more than once. Zip disk do not format
to super floppy mode.
James


More information about the Ros-kernel mailing list