* Re: [9fans] dos server error
@ 2000-08-03 16:08 Russ Cox
0 siblings, 0 replies; 3+ messages in thread
From: Russ Cox @ 2000-08-03 16:08 UTC (permalink / raw)
To: 9fans, djhender
dev 3 sector 4251141, read: 0, should be 4608
It sounds like you are running an old dossrv.
Either update your system to the latest update,
or change devio.c thusly:
diff /n/dump/2000/0601/sys/src/cmd/dossrv/devio.c devio.c
38c38
< seek(xf->dev, xf->offset+addr*Sectorsize, 0);
---
> seek(xf->dev, xf->offset+(vlong)addr*Sectorsize, 0);
57c57
< seek(xf->dev, xf->offset+addr*Sectorsize, 0);
---
> seek(xf->dev, xf->offset+(vlong)addr*Sectorsize, 0);
and recompile dossrv
cd /sys/src/cmd/dossrv
mk install
mk clean
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [9fans] dos server error
2000-08-03 8:32 Doug Henderson
@ 2000-08-03 14:19 ` Doug Henderson
0 siblings, 0 replies; 3+ messages in thread
From: Doug Henderson @ 2000-08-03 14:19 UTC (permalink / raw)
To: 9fans
% cat /dev/sdC0/ctl
inquiry SAMSUNG SV0842D
config 045A capabilities 0B00 dma 00550004 dmactl 00000000 rwm 16 rwmctl 0
geometry 16514064 512 16383 16 63
part data 0 16514064
part plan9 4401810 8787555
part 9fat 4401810 4422292
part fs 4422292 8592379
part swap 8592379 8787555
part linuxswap 63 273105
part linux 273105 4401810
% cat /dev/sdD0/ctl
inquiry SAMSUNG CD-ROM SC-140 FT02
config 85A0 capabilities 0B00 dma 00000004 dmactl 00000000
% cat /dev/sdD1/ctl
inquiry Maxtor 91369U3
config 0040 capabilities 2F00 dma 00550004 dmactl 00000000 rwm 16 rwmctl 0
geometry 26754336 512 16383 16 63
part data 0 26754336
part dos 16065 8932140
part linuxswap 12080880 12353985
part linux 12353985 26748225
part dos.1 16128 8932140
----- Original Message -----
>dosmnt 2 /n/d:
>
> When I try to access the directory 'd:\Plan9\Download' using 'ls
> /n/d:/Plan9/Download' I get an error message:
>
> dev 3 sector 4251141, read: 0, should be 4608
^ permalink raw reply [flat|nested] 3+ messages in thread
* [9fans] dos server error
@ 2000-08-03 8:32 Doug Henderson
2000-08-03 14:19 ` Doug Henderson
0 siblings, 1 reply; 3+ messages in thread
From: Doug Henderson @ 2000-08-03 8:32 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 985 bytes --]
I have Plan9 on primary IDE, and I mount dos partition from the secondary
IDE disk using a variation of /bin/c:
% cat /bin/d:
#!/bin/rc
dosmnt 2 /n/d:
I have the c: command in termrc commented out. I used a: and unmount /n/a:
earlier in the session.
When I try to access the directory 'd:\Plan9\Download' using 'ls
/n/d:/Plan9/Download' I get an error message:
dev 3 sector 4251141, read: 0, should be 4608
An 'ls /n/d:/Plan9' is successful.
I have attached a PowerQuest PartitionInfo report. I have swapped my primary
(which contains Plan9 and Linux) for my Windows 98SE disk.
The secondary disk is unchanged from my Plan 9 configuration. The second
disk is the one which contains D: (labeled ZETA21) in an extended dos
partition, plus BeOS, Linux Swap, and Linux partitions.
I am not sure how to get the same info out of Plan 9. What can I do to
capture more info to help diagnose this problem?
I ran a scandisk which detected no errors in D:.
[-- Attachment #2: partinfo.txt --]
[-- Type: text/plain, Size: 3202 bytes --]
PowerQuest PartitionInfo -- Windows 95 Version
Date Generated: 08/03/00 02:13:08
Copyright (c)1994-1998, PowerQuest Corporation
Permission is granted for this utility to be freely copied so long
as it is not modified in any way. All other rights are reserved.
PowerQuest, makers of PartitionMagic(r), Drive Image(tm), and DriveCopy(tm), can be reached at:
Voice: 801-437-8900
Fax: 801-226-8941
Web site: http://support.powerquest.com/support.html
E-mail: magic@powerquest.com
General System Information:
Total Physical Memory (bytes): 167,100,416
Used Physical Memory: (bytes): 116,666,368
Maximum Page File Size: (bytes): 1,980,379,136
Current Page File Size: (bytes): 95,727,616
============================================================================================
Disk Geometry Information for Disk 1: 526 Cylinders, 255 Heads, 63 Sectors/Track
System PartSect # Boot BCyl Head Sect FS ECyl Head Sect StartSect NumSects
============================================================================================
ZETA11 0 0 80 0 1 1 0B 459 254 63 63 7,389,837
0 1 00 460 0 1 83 525 254 63 7,389,900 1,060,290
============================================================================================
Disk Geometry Information for Disk 2: 1665 Cylinders, 255 Heads, 63 Sectors/Track
System PartSect # Boot BCyl Head Sect FS ECyl Head Sect StartSect NumSects
============================================================================================
0 0 00 1 0 1 05 555 254 63 16,065 8,916,075
0 1 00 556 0 1 EB 751 254 63 8,932,140 3,148,740
0 2 00 752 0 1 82 768 254 63 12,080,880 273,105
0 3 00 769 0 1 83 1023 254 63 12,353,985 14,394,240
Info: End C,H,S values were large drive placeholders.
Actual values are:
0 3 00 769 0 1 83 1664 254 63 12353985 14394240
ZETA21 16,065 0 00 1 1 1 0B 555 254 63 16,128 8,916,012
============================================================================================
Partition Information for Disk 1: 4126.1 Megabytes
Volume PartitionType Status Size MB PartSect # StartSect TotalSects UsedSects FreeSects
============================================================================================
C:ZETA11 FAT32 Pri,Boot 3608.3 0 0 63 7,389,837 3,087,768 4,302,069
Linux Ext2 Pri 517.7 0 1 7,389,900 1,060,290 149,570 910,720
============================================================================================
Partition Information for Disk 2: 13060.7 Megabytes
Volume PartitionType Status Size MB PartSect # StartSect TotalSects UsedSects FreeSects
============================================================================================
Free Space Pri 7.8 None -- 63 16,002 0 16,002
Extended Pri 4353.6 0 0 16,065 8,916,075 8,916,075 0
EPBR Log 4353.6 None -- 16,065 8,916,075 8,916,075 0
D:ZETA21 FAT32 Log 4353.5 16065 0 16,128 8,916,012 5,156,208 3,759,804
Type EB Pri 1537.5 0 1 8,932,140 3,148,740 3,148,740 0
Linux Swap Pri 133.4 0 2 12,080,880 273,105 273,105 0
Linux Ext2 Pri 7028.4 0 3 12,353,985 14,394,240 2,296,856 12,097,384
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-08-03 16:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-03 16:08 [9fans] dos server error Russ Cox
-- strict thread matches above, loose matches on Subject: below --
2000-08-03 8:32 Doug Henderson
2000-08-03 14:19 ` Doug Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).