[ros-kernel] Flush volume

Hartmut Birr hartmut.birr at gmx.de
Mon Jan 19 00:34:22 CET 2004


It seems that the flush request goes to the disk stack. In bochs I get
some debug prints from atapi and class2.

- Hartmut

(usetup.c:3242) Install FAT32 bootcode: \Device\CdRom0\loader\fat32.bin
==> \Device\Harddisk0\Partition1
(usetup.c:3430) Flushing volume '\Device\Harddisk0\Partition1'...
(atapi.c:2463) IDE error: 04
(class2.c:1233) SCSI error (SRB status: 4)
(atapi.c:2463) IDE error: 04
(class2.c:1233) SCSI error (SRB status: 4)
(atapi.c:2463) IDE error: 04
(class2.c:1233) SCSI error (SRB status: 4)
(atapi.c:2463) IDE error: 04
(class2.c:1233) SCSI error (SRB status: 4)
(atapi.c:2463) IDE error: 04
(class2.c:1233) SCSI error (SRB status: 4)
(class2.c:1233) SCSI error (SRB status: 4)

> -----Original Message-----
> From: ros-kernel-bounces at reactos.com 
> [mailto:ros-kernel-bounces at reactos.com] On Behalf Of Casper Hornstrup
> Sent: Sunday, January 18, 2004 10:02 PM
> To: 'ReactOS Kernel List'
> Subject: [ros-kernel] Flush volume
> 
> 
> I'm trying to flush the volume after phase 1 installation, but so far
> I've been unsuccessful.
> Am I passing wrong parameters to NtCreateFile()? The call 
> doesn't fail,
> but it does not open
> the volume either since "Open..." and "Open volume..." are 
> not printed.
> 
> (usetup.c:3241) Install FAT32 bootcode: 
> \Device\CdRom0\loader\fat32.bin
> ==> \Device\Harddisk0\Partition1
> (usetup.c:3430) Flushing volume '\Device\Harddisk0\Partition1'...
> (flush.c:112) VfatFlush()
> Assertion '#x' failed at flush.c line 124: 
> 
> Casper
 



More information about the Ros-kernel mailing list