9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] SATA controller found by kernel but not 9load
@ 2007-11-21  1:33 erik quanstrom
  0 siblings, 0 replies; 14+ messages in thread
From: erik quanstrom @ 2007-11-21  1:33 UTC (permalink / raw)
  To: 9fans

> How straight-forward is it to move the kernel version of the driver
> into 9load? I don't suppose anyone's already looked at that for this
> device?

i missed this question earlier.  sometimes it's straightforward.  but
generally it's difficult.  there are two reasons for this.  first, 9load
doesn't have any procs, tasks or any other multiprogramming constructs.
so sleep and wakeup are out the window.  the other reason is that
the problem of writing a boot-loading driver is conceptually different
than writing a kernel driver.  performance just isn't an issue.  getting
the job done with as few resources as possible is the goal.

- erik


^ permalink raw reply	[flat|nested] 14+ messages in thread
* [9fans] SATA controller found by kernel but not 9load
@ 2007-11-20  3:35 Anthony Sorace
  2007-11-20 10:20 ` Gorka Guardiola
  0 siblings, 1 reply; 14+ messages in thread
From: Anthony Sorace @ 2007-11-20  3:35 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I'm trying to install a new system and I've run into a problem: the
SATA controller is recognized fine by the kernel, but not by 9load.
The kernel tells me:

#S/sdE: ahci: port 0xe0000000: hba sss 0; ncs 31; coal 1; mports 3;
led 1; clo 1; ems 0
#S/sdE: sb600: sata-II with 4 ports

but 9load has nothing at all to say about it. Once I'm up with a
kernel (say, loaded off the CD which is still attached to (p)ATA and
works fine with 9load), I can access it without issue. In the normal
kernel, this is handled by sdiahci.c, which seems to be an older
version in 9load.

How straight-forward is it to move the kernel version of the driver
into 9load? I don't suppose anyone's already looked at that for this
device?

As an aside: how space-constrained are the kernels used for install
currently? It would be very nice to have fs(3) in there so an install
can be done with mirrored disks, rather than having to retrofit it
after the fact.
Anthony


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

end of thread, other threads:[~2007-11-27  4:09 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-21  1:33 [9fans] SATA controller found by kernel but not 9load erik quanstrom
  -- strict thread matches above, loose matches on Subject: below --
2007-11-20  3:35 Anthony Sorace
2007-11-20 10:20 ` Gorka Guardiola
2007-11-20 14:24   ` Anthony Sorace
2007-11-20 14:34     ` erik quanstrom
2007-11-21  1:13       ` Anthony Sorace
2007-11-21  1:20         ` erik quanstrom
2007-11-21  2:41           ` Anthony Sorace
2007-11-21  3:03             ` erik quanstrom
2007-11-21 13:26             ` erik quanstrom
2007-11-22  4:30               ` Anthony Sorace
2007-11-22 12:33                 ` erik quanstrom
2007-11-22 13:03                   ` erik quanstrom
2007-11-27  4:09               ` Anthony Sorace

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