9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] fossil:diskWriteRawFailed error with Plan 9 on Microsoft Virtual PC
@ 2008-10-07  5:00 Sasidhar Kasturi
  2008-10-08 12:35 ` [9fans] fossil:diskWriteRawFailed error with Plan 9 on Microsoft erik quanstrom
  0 siblings, 1 reply; 14+ messages in thread
From: Sasidhar Kasturi @ 2008-10-07  5:00 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 187 bytes --]

Hello,
       I tried to install plan 9 on virtual pc and succedded. But, once
i boot through plan 9  errors are coming.
Attached the screen shot of the error.


Sasidhar.

/
/

[-- Attachment #2: error.jpg --]
[-- Type: image/jpeg, Size: 61813 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [9fans] fossil:diskWriteRawFailed error with Plan 9 on Microsoft
  2008-10-07  5:00 [9fans] fossil:diskWriteRawFailed error with Plan 9 on Microsoft Virtual PC Sasidhar Kasturi
@ 2008-10-08 12:35 ` erik quanstrom
  0 siblings, 0 replies; 14+ messages in thread
From: erik quanstrom @ 2008-10-08 12:35 UTC (permalink / raw)
  To: 9fans

> Hello,
>        I tried to install plan 9 on virtual pc and succedded. But, once
> i boot through plan 9  errors are coming.
> Attached the screen shot of the error.

the plan 9 ide driver apparently disagrees with virtual pc.
this isn't a fossil or venti problem.

unfortunately, i have no access to virtual pc so the rest of this
email is a thought experiment ....

command 30
data f09534b0 limit f0964eb0 dlen 8192 status 0 error 0
lba 210592 -> 210592, count 16 -> 16 (16)
 0x00 0x04 0xac 0x36 0x03 0xe0 0x58
0x40: e306 0x42: c0000 x48: 00
0x4a 0000

so
	the command is write sectors (Cws; 0x30)
	lba 0x0336a0 (according to the driver)

the registers say:

0	1	2	3	4	5	6	As
	0x00	0x04	0xac	0x36	0x03	0xe0	0x58
	error	count	lba0	lba1	lba2	stat

at lba 0x3036ac (4 sectors to go) status Bsy|Df|Drdy.

i would think you're issuing a command before the device
is ready for you.  this patch may help.

minooka; diff -c /sys/src/9/pc/sdata.c  /n/dump/2008/0908/sys/src/9/pc/sdata.c
/sys/src/9/pc/sdata.c:1418,1424 - /n/dump/2008/0908/sys/src/9/pc/sdata.c:1418,1424
  	ctlr = drive->ctlr;
  	cmdport = ctlr->cmdport;
  	ctlport = ctlr->ctlport;
- 	if(ataready(cmdport, ctlport, drive->dev, Bsy|Drq, Drdy, 101*1000) < 0)
+ 	if(ataready(cmdport, ctlport, drive->dev, Bsy|Drq, 0, 101*1000) < 0)
  		return -1;

  	ilock(ctlr);

- erik




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [9fans] fossil:diskWriteRawFailed error with Plan 9 on Microsoft Virtual PC
  2008-10-12 21:35       ` Wes Kussmaul
  2008-10-12 22:18         ` hiro
@ 2008-10-13 14:52         ` Eris Discordia
  1 sibling, 0 replies; 14+ messages in thread
From: Eris Discordia @ 2008-10-13 14:52 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> You're all taking the bait again.

Come _on_. I'm not that subtle a "baiter," or... am I?

--On Sunday, October 12, 2008 5:35 PM -0400 Wes Kussmaul
<wes@authentrus.com> wrote:

> Uriel wrote:
>>>  Although, the last update to sources is dated April 12, 2008.
>>>
>>
>> What makes you think that?
>>
>
> You're all taking the bait again.
>
>







^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [9fans] fossil:diskWriteRawFailed error with Plan 9 on Microsoft Virtual PC
@ 2008-10-13 14:50 Eris Discordia
  0 siblings, 0 replies; 14+ messages in thread
From: Eris Discordia @ 2008-10-13 14:50 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> What makes you think that?

<http://www.kix.in/plan9/>

> The latest available Plan 9 ISO image is from September 01, 2008.
>
> The sources were last updated on April 12, 2008.

Which _could_ be outdated, but then if Anant Narayanan cares enough to
mirror the ISO and the sources at his own expense--on his website,
anyway--then he probably also cares enough to keep them and any relevant
information current.

--On Sunday, October 12, 2008 11:07 PM +0200 Uriel <uriel99@gmail.com>
wrote:

>>  Although, the last update to sources is dated April 12, 2008.
>
> What makes you think that?
>
> uriel
>



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [9fans] fossil:diskWriteRawFailed error with Plan 9 on Microsoft Virtual PC
  2008-10-12 21:35       ` Wes Kussmaul
@ 2008-10-12 22:18         ` hiro
  2008-10-13 14:52         ` Eris Discordia
  1 sibling, 0 replies; 14+ messages in thread
From: hiro @ 2008-10-12 22:18 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

you too

On Sun, Oct 12, 2008 at 11:35 PM, Wes Kussmaul <wes@authentrus.com> wrote:
> Uriel wrote:
>>>
>>>  Although, the last update to sources is dated April 12, 2008.
>>>
>>
>> What makes you think that?
>>
>
> You're all taking the bait again.
>
>
>



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [9fans] fossil:diskWriteRawFailed error with Plan 9 on Microsoft Virtual PC
  2008-10-12 21:07     ` Uriel
@ 2008-10-12 21:35       ` Wes Kussmaul
  2008-10-12 22:18         ` hiro
  2008-10-13 14:52         ` Eris Discordia
  0 siblings, 2 replies; 14+ messages in thread
From: Wes Kussmaul @ 2008-10-12 21:35 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Uriel wrote:
>>  Although, the last update to sources is dated April 12, 2008.
>>
>
> What makes you think that?
>

You're all taking the bait again.




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [9fans] fossil:diskWriteRawFailed error with Plan 9 on Microsoft Virtual PC
  2008-10-12 17:48   ` Eris Discordia
@ 2008-10-12 21:07     ` Uriel
  2008-10-12 21:35       ` Wes Kussmaul
  0 siblings, 1 reply; 14+ messages in thread
From: Uriel @ 2008-10-12 21:07 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

>  Although, the last update to sources is dated April 12, 2008.

What makes you think that?

uriel



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [9fans] fossil:diskWriteRawFailed error with Plan 9 on Microsoft Virtual PC
  2008-10-12 12:13 ` Uriel
@ 2008-10-12 17:48   ` Eris Discordia
  2008-10-12 21:07     ` Uriel
  0 siblings, 1 reply; 14+ messages in thread
From: Eris Discordia @ 2008-10-12 17:48 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> What next ISO release?

Either... one created from a later compile downloadable from Bell Labs or
any of the mirrors--for example, the one at kix.in which is continually
updated. I recently had the opportunity to download it. The install/live
image I first tried on VPC anteceded this one. Unfortunately, the new one
didn't contain (or pretend to contain) a fix for this specific problem but
I'm rather sure it contained at least _some_ critical patches in the
shipped binaries; or, the whole "release-a-new-image" process is cuckoo.
Although, the last update to sources is dated April 12, 2008.

Or... the next "edition." Some 5e if such thing is ever released.

--On Sunday, October 12, 2008 2:13 PM +0200 Uriel <uriel99@gmail.com> wrote:

>> Wait for the next ISO release and hope for the best. Useful, stable
>> patches--and hopefully the one that fixes this problem--will have found
>> their way into binaries by then.
>
> What next ISO release?
>
> uriel
>







^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [9fans] fossil:diskWriteRawFailed error with Plan 9 on Microsoft Virtual PC
  2008-10-11 13:52 Eris Discordia
  2008-10-11 15:54 ` Steve Simon
@ 2008-10-12 12:13 ` Uriel
  2008-10-12 17:48   ` Eris Discordia
  1 sibling, 1 reply; 14+ messages in thread
From: Uriel @ 2008-10-12 12:13 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> Wait for the next ISO release and hope for the best. Useful, stable patches--and hopefully the one that fixes this problem--will have found their way into binaries by then.

What next ISO release?

uriel



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [9fans] fossil:diskWriteRawFailed error with Plan 9 on Microsoft Virtual PC
  2008-10-11 15:54 ` Steve Simon
@ 2008-10-11 18:22   ` Eris Discordia
  0 siblings, 0 replies; 14+ messages in thread
From: Eris Discordia @ 2008-10-11 18:22 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> So Eris, you coming to iw9p?

Sure not. I can't even (financially) afford a trip to the nearest
town--Greece is way out of the little volume of phase space this poor Gibbs
ensemble can sweep in any short time period from now ;-) Nonetheless,
vicarial pleasure is always an option: you go there, enjoy your trip, tell
9fans about it, I'll be reading the chronicles...

--On Saturday, October 11, 2008 4:54 PM +0100 Steve Simon
<steve@quintile.net> wrote:

> So Eris, you coming to iw9p?
>
> -Steve
>



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [9fans] fossil:diskWriteRawFailed error with Plan 9 on Microsoft Virtual PC
  2008-10-11 13:52 Eris Discordia
@ 2008-10-11 15:54 ` Steve Simon
  2008-10-11 18:22   ` Eris Discordia
  2008-10-12 12:13 ` Uriel
  1 sibling, 1 reply; 14+ messages in thread
From: Steve Simon @ 2008-10-11 15:54 UTC (permalink / raw)
  To: 9fans

So Eris, you comming to iw9p?

-Steve



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [9fans] fossil:diskWriteRawFailed error with Plan 9 on Microsoft Virtual PC
  2008-10-11 11:42 [9fans] fossil:diskWriteRawFailed error with Plan 9 on Microsoft Virtual PC Sasidhar Kasturi
@ 2008-10-11 14:12 ` grai
  0 siblings, 0 replies; 14+ messages in thread
From: grai @ 2008-10-11 14:12 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> can you please point me to the place where i can download the source of plan 9. Also, how
> to rebuild the code once i get it.

If you want to try Erik's patch, you could install plan 9 on real
hardware or under a different virtual machine like qemu or vmware, and
follow the instructions at
http://plan9.bell-labs.com/wiki/plan9/Compiling_kernels/

Or just keep using the other VM and give up on Microsoft Virtual PC
for the moment.

grai



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [9fans] fossil:diskWriteRawFailed error with Plan 9 on Microsoft Virtual PC
@ 2008-10-11 13:52 Eris Discordia
  2008-10-11 15:54 ` Steve Simon
  2008-10-12 12:13 ` Uriel
  0 siblings, 2 replies; 14+ messages in thread
From: Eris Discordia @ 2008-10-11 13:52 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> But, I don't have the source code.

But, you couldn't use it even if you had it. Forget erik quanstrom's
patchworks--he may be high on IQ, but he certainly is rather low on EQ.

Wait for the next ISO release and hope for the best. Useful, stable
patches--and hopefully the one that fixes this problem--will have found
their way into binaries by then.

> Also, how to rebuild the code once i get it.

Set up another Plan 9 and compile on it?! Or cross-compile if GCC has a
"POSIX-free" target?! Use some Vita Nuova secret weapon?! Not worth it,
definitely.

> If there is any step by step tutorial sort of thing, please let me know.

Dream on. This mailing list already hosts a more-than-20-post-long thread
on how to kill rio when you are stuck. Not one soul has yet admitted
something simply needs to be fixed. All they do is CE-ly sidestepping this
non-CE-bread-and-butter guy's sane non-CE question. If you feed on
something other than thermal paste you need to find yourself a better
platform... or you could start taking up thermal paste as a side dish.

--On Saturday, October 11, 2008 5:12 PM +0530 Sasidhar Kasturi
<sasidhar.kvs@gmail.com> wrote:

> erik quanstrom wrote:
>>> Hello,
>>>        I tried to install plan 9 on virtual pc and succedded. But,
>>> once i boot through plan 9  errors are coming.
>>> Attached the screen shot of the error.
>>>
>>
>> the plan 9 ide driver apparently disagrees with virtual pc.
>> this isn't a fossil or venti problem.
>>
>> unfortunately, i have no access to virtual pc so the rest of this
>> email is a thought experiment ....
>>
>> command 30
>> data f09534b0 limit f0964eb0 dlen 8192 status 0 error 0
>> lba 210592 -> 210592, count 16 -> 16 (16)
>>  0x00 0x04 0xac 0x36 0x03 0xe0 0x58
>> 0x40: e306 0x42: c0000 x48: 00
>> 0x4a 0000
>>
>> so
>>     the command is write sectors (Cws; 0x30)
>>     lba 0x0336a0 (according to the driver)
>>
>> the registers say:
>>
>> 0    1    2    3    4    5    6    As
>>     0x00    0x04    0xac    0x36    0x03    0xe0    0x58
>>     error    count    lba0    lba1    lba2    stat
>>
>> at lba 0x3036ac (4 sectors to go) status Bsy|Df|Drdy.
>>
>> i would think you're issuing a command before the device
>> is ready for you.  this patch may help.
>>
>> minooka; diff -c /sys/src/9/pc/sdata.c
>> /n/dump/2008/0908/sys/src/9/pc/sdata.c
>> /sys/src/9/pc/sdata.c:1418,1424 -
>> /n/dump/2008/0908/sys/src/9/pc/sdata.c:1418,1424
>>       ctlr = drive->ctlr;
>>       cmdport = ctlr->cmdport;
>>       ctlport = ctlr->ctlport;
>> -     if(ataready(cmdport, ctlport, drive->dev, Bsy|Drq, Drdy,
>> 101*1000) < 0)
>> +     if(ataready(cmdport, ctlport, drive->dev, Bsy|Drq, 0, 101*1000)
>> < 0)
>>           return -1;
>>         ilock(ctlr);
>>
>> - erik
>>
>>
>>
>
> Hello Erik,
>       Thank you for that.  But, I don't have the source code. Can you
> please point me to the place where i can download the source of plan 9.
> Also, how to rebuild the code once i get it. If there is any step by step
> tutorial sort of thing, please let me know.
>
> Thanking you,
> Sasidhar.
>



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [9fans] fossil:diskWriteRawFailed error with Plan 9 on Microsoft Virtual PC
@ 2008-10-11 11:42 Sasidhar Kasturi
  2008-10-11 14:12 ` grai
  0 siblings, 1 reply; 14+ messages in thread
From: Sasidhar Kasturi @ 2008-10-11 11:42 UTC (permalink / raw)
  To: erik quanstrom; +Cc: 9fans

erik quanstrom wrote:
>> Hello,
>>        I tried to install plan 9 on virtual pc and succedded. But,
>> once i boot through plan 9  errors are coming.
>> Attached the screen shot of the error.
>>
>
> the plan 9 ide driver apparently disagrees with virtual pc.
> this isn't a fossil or venti problem.
>
> unfortunately, i have no access to virtual pc so the rest of this
> email is a thought experiment ....
>
> command 30
> data f09534b0 limit f0964eb0 dlen 8192 status 0 error 0
> lba 210592 -> 210592, count 16 -> 16 (16)
>  0x00 0x04 0xac 0x36 0x03 0xe0 0x58
> 0x40: e306 0x42: c0000 x48: 00
> 0x4a 0000
>
> so
>     the command is write sectors (Cws; 0x30)
>     lba 0x0336a0 (according to the driver)
>
> the registers say:
>
> 0    1    2    3    4    5    6    As
>     0x00    0x04    0xac    0x36    0x03    0xe0    0x58
>     error    count    lba0    lba1    lba2    stat
>
> at lba 0x3036ac (4 sectors to go) status Bsy|Df|Drdy.
>
> i would think you're issuing a command before the device
> is ready for you.  this patch may help.
>
> minooka; diff -c /sys/src/9/pc/sdata.c
> /n/dump/2008/0908/sys/src/9/pc/sdata.c
> /sys/src/9/pc/sdata.c:1418,1424 -
> /n/dump/2008/0908/sys/src/9/pc/sdata.c:1418,1424
>       ctlr = drive->ctlr;
>       cmdport = ctlr->cmdport;
>       ctlport = ctlr->ctlport;
> -     if(ataready(cmdport, ctlport, drive->dev, Bsy|Drq, Drdy,
> 101*1000) < 0)
> +     if(ataready(cmdport, ctlport, drive->dev, Bsy|Drq, 0, 101*1000)
> < 0)
>           return -1;
>         ilock(ctlr);
>
> - erik
>
>
>

Hello Erik,
      Thank you for that.  But, I don't have the source code. Can you
please point me to the place where i can download the source of plan 9.
Also, how to rebuild the code once i get it. If there is any step by
step tutorial sort of thing, please let me know.

Thanking you,
Sasidhar.



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2008-10-13 14:52 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-07  5:00 [9fans] fossil:diskWriteRawFailed error with Plan 9 on Microsoft Virtual PC Sasidhar Kasturi
2008-10-08 12:35 ` [9fans] fossil:diskWriteRawFailed error with Plan 9 on Microsoft erik quanstrom
2008-10-11 11:42 [9fans] fossil:diskWriteRawFailed error with Plan 9 on Microsoft Virtual PC Sasidhar Kasturi
2008-10-11 14:12 ` grai
2008-10-11 13:52 Eris Discordia
2008-10-11 15:54 ` Steve Simon
2008-10-11 18:22   ` Eris Discordia
2008-10-12 12:13 ` Uriel
2008-10-12 17:48   ` Eris Discordia
2008-10-12 21:07     ` Uriel
2008-10-12 21:35       ` Wes Kussmaul
2008-10-12 22:18         ` hiro
2008-10-13 14:52         ` Eris Discordia
2008-10-13 14:50 Eris Discordia

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).