9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] sata working on cd kernel, but not after install?
@ 2008-12-21  5:41 Ben Calvert
  2008-12-21 14:18 ` erik quanstrom
  0 siblings, 1 reply; 11+ messages in thread
From: Ben Calvert @ 2008-12-21  5:41 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

when running from the CD, my sata drives are detected and I can
install onto them.  when i try to boot from one of them, it can't find
the drive.

if i install onto an ata drive, i can boot, but sdE and sdF don't show
up in /dev

is this a case of the cd kernel being out of sync from the installed
one?



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

* Re: [9fans] sata working on cd kernel, but not after install?
  2008-12-21  5:41 [9fans] sata working on cd kernel, but not after install? Ben Calvert
@ 2008-12-21 14:18 ` erik quanstrom
  2008-12-21 20:26   ` Ben Calvert
  0 siblings, 1 reply; 11+ messages in thread
From: erik quanstrom @ 2008-12-21 14:18 UTC (permalink / raw)
  To: 9fans

On Sun Dec 21 00:43:13 EST 2008, ben@flyingwalrus.net wrote:
> when running from the CD, my sata drives are detected and I can
> install onto them.  when i try to boot from one of them, it can't find
> the drive.
>
> if i install onto an ata drive, i can boot, but sdE and sdF don't show
> up in /dev
>
> is this a case of the cd kernel being out of sync from the installed
> one?

maybe.  what's the output of
	pci|grep disk

- erik



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

* Re: [9fans] sata working on cd kernel, but not after install?
  2008-12-21 14:18 ` erik quanstrom
@ 2008-12-21 20:26   ` Ben Calvert
  2008-12-21 20:42     ` erik quanstrom
  0 siblings, 1 reply; 11+ messages in thread
From: Ben Calvert @ 2008-12-21 20:26 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs


On Dec 21, 2008, at 6:18 AM, erik quanstrom wrote:

> On Sun Dec 21 00:43:13 EST 2008, ben@flyingwalrus.net wrote:
>> when running from the CD, my sata drives are detected and I can
>> install onto them.  when i try to boot from one of them, it can't
>> find
>> the drive.
>>
>> if i install onto an ata drive, i can boot, but sdE and sdF don't
>> show
>> up in /dev
>>
>> is this a case of the cd kernel being out of sync from the installed
>> one?
>
> maybe.  what's the output of
> 	pci|grep disk

0.10.0:  disk 01.01.85 10de/00e3  10 0:00009f1 16 1:00000bf1 16
2:00000971 16 3:00000b71 16 4:0000b001 16 5:0000ac01 128
0.8.0:  disk 01.01.8a 10de/00e5   0 4:0000dc01 16
0.9.0:  disk 01.01.85 10de/00ee  11 1:000009e1 16 1:00000be1 16
2:00000961 16 3:00000b61 16 4:0000c801 5:0000c401 128
2.9.0:  disk 01.04.00 13c1/1001  5 0:00008801 16 1:fd7fe000 16
2:fc800000 8388608



>
>
> - erik
>

thanks,

Ben




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

* Re: [9fans] sata working on cd kernel, but not after install?
  2008-12-21 20:26   ` Ben Calvert
@ 2008-12-21 20:42     ` erik quanstrom
  2008-12-21 21:24       ` Ben Calvert
  2008-12-24  8:19       ` Ben Calvert
  0 siblings, 2 replies; 11+ messages in thread
From: erik quanstrom @ 2008-12-21 20:42 UTC (permalink / raw)
  To: 9fans

geoff has probablly fixed things for you today.  this line from sdata.c
added recently should support your nvidia controller
		case (0x00E3<<16)|0x10DE:	/* nVidia nForce2 250 SATA */
thanks, geoff.

i've got no idea about your 3ware controller.  from the
subclass code, it's a custom interface.

- erik



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

* Re: [9fans] sata working on cd kernel, but not after install?
  2008-12-21 20:42     ` erik quanstrom
@ 2008-12-21 21:24       ` Ben Calvert
  2008-12-21 21:43         ` erik quanstrom
  2008-12-24  8:19       ` Ben Calvert
  1 sibling, 1 reply; 11+ messages in thread
From: Ben Calvert @ 2008-12-21 21:24 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs


On Dec 21, 2008, at 12:42 PM, erik quanstrom wrote:

> geoff has probablly fixed things for you today.  this line from
> sdata.c
> added recently should support your nvidia controller
> 		case (0x00E3<<16)|0x10DE:	/* nVidia nForce2 250 SATA */
> thanks, geoff.

would this be in the updates from this morning?  i've just pulled
everything and rebooted, but i still only see sdC0 and sdD0...

> i've got no idea about your 3ware controller.  from the
> subclass code, it's a custom interface.

don't care about that one anyway.  software raid == bad

>
>
> - erik
>




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

* Re: [9fans] sata working on cd kernel, but not after install?
  2008-12-21 21:24       ` Ben Calvert
@ 2008-12-21 21:43         ` erik quanstrom
  2008-12-21 23:00           ` Ben Calvert
  0 siblings, 1 reply; 11+ messages in thread
From: erik quanstrom @ 2008-12-21 21:43 UTC (permalink / raw)
  To: 9fans

> > i've got no idea about your 3ware controller.  from the
> > subclass code, it's a custom interface.
>
> don't care about that one anyway.  software raid == bad

to the best of my knowledge, no one has ever built a bit
of hardware that does all the things raid needs to do in
hardware.  i don't think anyone has even implemented the
entire hot path in hardware.  there's always a processor and
firmware.  the only argument is where it runs.

- erik



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

* Re: [9fans] sata working on cd kernel, but not after install?
  2008-12-21 21:43         ` erik quanstrom
@ 2008-12-21 23:00           ` Ben Calvert
  0 siblings, 0 replies; 11+ messages in thread
From: Ben Calvert @ 2008-12-21 23:00 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs


On Dec 21, 2008, at 1:43 PM, erik quanstrom wrote:

>>> i've got no idea about your 3ware controller.  from the
>>> subclass code, it's a custom interface.
>>
>> don't care about that one anyway.  software raid == bad
>
> to the best of my knowledge, no one has ever built a bit
> of hardware that does all the things raid needs to do in
> hardware.  i don't think anyone has even implemented the
> entire hot path in hardware.  there's always a processor and
> firmware.  the only argument is where it runs.

fair enough.  and as soon as one completed the hardware, and shipped
it, one would find that it was buggy and be unable to patch it, as it
was in hardware :)

I'm still having the same two problems after pulling geoff's updates:

in vmware ( fusion ) i get the "aux/vga: vgactlw: <linear 0x3e80000
0x0>: unknown vmware id 0740

error, and on my physical machine, my sata disks are still not showing
up

... even though all of these things work during installation from the
cd. ( i'm using a cd from a couple of days ago )

>
> - erik
>




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

* Re: [9fans] sata working on cd kernel, but not after install?
  2008-12-21 20:42     ` erik quanstrom
  2008-12-21 21:24       ` Ben Calvert
@ 2008-12-24  8:19       ` Ben Calvert
  2008-12-24 13:51         ` erik quanstrom
  1 sibling, 1 reply; 11+ messages in thread
From: Ben Calvert @ 2008-12-24  8:19 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs


On Dec 21, 2008, at 12:42 PM, erik quanstrom wrote:

> geoff has probablly fixed things for you today.  this line from
> sdata.c
> added recently should support your nvidia controller
> 		case (0x00E3<<16)|0x10DE:	/* nVidia nForce2 250 SATA */
> thanks, geoff.

the following diff enables dma on this controller and has yet to blow
anything up.

/n/sources/plan9/sys/src/9/pc/sdata.c:1939,1944 - /sys/src/9/pc/
sdata.c:1939,1947
   			 */
   			break;
   		case (0x7441<<16)|0x1022:	/* AMD 768 */
+
+ 			/* testing!!!!!*/
+ 		case (0x00E3<<16)|0x10DE:	/* nVidia nForce2 250 SATA */
   			/*
   			 * Set:
   			 *	0x41	prefetch, postwrite;
/n/sources/plan9/sys/src/9/pc/sdata.c:1966,1973 - /sys/src/9/pc/
sdata.c:1969,1975
   		case (0x209A<<16)|0x1022:	/* AMD CS5536 */
   		case (0x01BC<<16)|0x10DE:	/* nVidia nForce1 */
   		case (0x0065<<16)|0x10DE:	/* nVidia nForce2 */
- 		case (0x0085<<16)|0x10DE:	/* nVidia nForce2 MCP */
- 		case (0x00E3<<16)|0x10DE:	/* nVidia nForce2 250 SATA */
+ 		case (0x0085<<16)|0x10DE:	/* nVidia nForce2 MCP */
   		case (0x00D5<<16)|0x10DE:	/* nVidia nForce3 */
   		case (0x00E5<<16)|0x10DE:	/* nVidia nForce3 Pro */
   		case (0x00EE<<16)|0x10DE:	/* nVidia nForce3 250 SATA */

thanks eric, geoff

Ben


>
> - erik
>




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

* Re: [9fans] sata working on cd kernel, but not after install?
  2008-12-24  8:19       ` Ben Calvert
@ 2008-12-24 13:51         ` erik quanstrom
  2008-12-24 18:28           ` [9fans] sata, sdata.c, and the wiki Ben Calvert
  0 siblings, 1 reply; 11+ messages in thread
From: erik quanstrom @ 2008-12-24 13:51 UTC (permalink / raw)
  To: 9fans

> the following diff enables dma on this controller and has yet to blow
> anything up.

echo dma on>/dev/sdXX/ctl doesn't turn dma on?

- erik




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

* Re: [9fans] sata, sdata.c, and the wiki
  2008-12-24 13:51         ` erik quanstrom
@ 2008-12-24 18:28           ` Ben Calvert
  2008-12-24 18:33             ` erik quanstrom
  0 siblings, 1 reply; 11+ messages in thread
From: Ben Calvert @ 2008-12-24 18:28 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs


On Dec 24, 2008, at 5:51 AM, erik quanstrom wrote:

>> the following diff enables dma on this controller and has yet to blow
>> anything up.
>
> echo dma on>/dev/sdXX/ctl doesn't turn dma on?

And I was so proud of myself.

Is this documented somewhere? the only reference to dma i found was in
the Supported PC Hardware page of the wiki, which suggests editing
data.c.

Speaking of the wiki, I notice that the instructions on the Acme Wiki
Instructions are not working?  There are some links on the site that
are broken, ( e.g. the installation notes link on the http://plan9.bell-labs.com/plan9/
  page points to http://plan9.bell-labs.com/wiki/plan9/installation_instructions/
  instead of http://www.plan9.bell-labs.com/wiki/plan9/Installation_instructions
  ) and I thought to help fix that

In any case, my system is now mostly idle and is no longer generating
tens of thousands of interrupts per second.

ben
>
>
> - erik
>
>




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

* Re: [9fans] sata, sdata.c, and the wiki
  2008-12-24 18:28           ` [9fans] sata, sdata.c, and the wiki Ben Calvert
@ 2008-12-24 18:33             ` erik quanstrom
  0 siblings, 0 replies; 11+ messages in thread
From: erik quanstrom @ 2008-12-24 18:33 UTC (permalink / raw)
  To: 9fans

>> echo dma on>/dev/sdXX/ctl doesn't turn dma on?
>
> And I was so proud of myself.

you should be.

> Is this documented somewhere?

i know it's in the mailing list archives.

- erik




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

end of thread, other threads:[~2008-12-24 18:33 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-21  5:41 [9fans] sata working on cd kernel, but not after install? Ben Calvert
2008-12-21 14:18 ` erik quanstrom
2008-12-21 20:26   ` Ben Calvert
2008-12-21 20:42     ` erik quanstrom
2008-12-21 21:24       ` Ben Calvert
2008-12-21 21:43         ` erik quanstrom
2008-12-21 23:00           ` Ben Calvert
2008-12-24  8:19       ` Ben Calvert
2008-12-24 13:51         ` erik quanstrom
2008-12-24 18:28           ` [9fans] sata, sdata.c, and the wiki Ben Calvert
2008-12-24 18:33             ` erik quanstrom

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