9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] install kernel fails to find hard disk
@ 2006-03-18 10:35 John Stalker
  2006-03-20 17:36 ` John Stalker
  0 siblings, 1 reply; 5+ messages in thread
From: John Stalker @ 2006-03-18 10:35 UTC (permalink / raw)
  To: 9fans

The relevant part of the output of scanpci is

pci bus 0x0000 cardnum 0x1f function 0x02: vendor 0x8086 device 0x24d1
 Intel Corp. 82801EB (ICH5) SATA Controller

The vendor id matches, but the value in sdata.c is 0x24DB.  It seems
geoff is right.  I can try to build a new kernel on another machine
to test this.  Is there an rc script or mkfile to build an install
iso, or do I have to do everything by hand?
--
John Stalker
University of Dublin, Trinity College
School of Mathematics


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

* Re: [9fans] install kernel fails to find hard disk
  2006-03-18 10:35 [9fans] install kernel fails to find hard disk John Stalker
@ 2006-03-20 17:36 ` John Stalker
  2006-03-21  2:56   ` geoff
  0 siblings, 1 reply; 5+ messages in thread
From: John Stalker @ 2006-03-20 17:36 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

I tried adding 0x24D1 in sdata.c, recompiling cddisk, burning an
install disk, and booting from it.  Possibly I screwed something
up, but I still don't see sdC0.  Is there something else I should
try, or should I give up and run it as domU in xen?

> The relevant part of the output of scanpci is
>
> pci bus 0x0000 cardnum 0x1f function 0x02: vendor 0x8086 device 0x24d1
>  Intel Corp. 82801EB (ICH5) SATA Controller
>
> The vendor id matches, but the value in sdata.c is 0x24DB.  It seems
> geoff is right.  I can try to build a new kernel on another machine
> to test this.  Is there an rc script or mkfile to build an install
> iso, or do I have to do everything by hand?
> --
> John Stalker
> University of Dublin, Trinity College
> School of Mathematics

--
John Stalker
University of Dublin, Trinity College
School of Mathematics


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

* Re: [9fans] install kernel fails to find hard disk
  2006-03-20 17:36 ` John Stalker
@ 2006-03-21  2:56   ` geoff
  0 siblings, 0 replies; 5+ messages in thread
From: geoff @ 2006-03-21  2:56 UTC (permalink / raw)
  To: 9fans

It sounds like you've done the right thing (though I haven't tried
rebuilding the install machinery).  I don't think you should have to
make a similar change to /sys/src/boot/pc/sdata.c until the
installation is done.



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

* Re: [9fans] install kernel fails to find hard disk
  2006-03-16 10:31 John Stalker
@ 2006-03-17  0:03 ` geoff
  0 siblings, 0 replies; 5+ messages in thread
From: geoff @ 2006-03-17  0:03 UTC (permalink / raw)
  To: 9fans

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

Perhaps your SATA controller isn't recognised by Plan 9?  sdata.c
contains

		case (0x24DB<<16)|0x8086:	/* 82801EB (ICH5) */

but perhaps yours has a different did (device id)?  What's lspci (or
equivalent on netbsd) list as vid & did for it?

[-- Attachment #2: Type: message/rfc822, Size: 3822 bytes --]

From: John Stalker <stalker@maths.tcd.ie>
To: 9fans@cse.psu.edu
Subject: [9fans] install kernel fails to find hard disk
Date: Thu, 16 Mar 2006 10:31:29 +0000
Message-ID: <200603161031.aa84704@salmon.maths.tcd.ie>

I just tried to install plan9 on a machine at work.  At partdisk
it tells me

  The following disk devices were found.

  sdD0 - TEAC DVD+RW DV-W58E D.0C09/14/03

  Disk to partition (sdD0)[sdD0]:

No mention of the hard disk.  Typing sdC0 at the prompt doesn't help.
Neither does turning off DMA.

The relevant hardware, as found by NetBSD, is

  NetBSD 3.0 (GENERIC) #0: Mon Dec 19 01:04:02 UTC 2005
  	builds@works.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/i386/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/i386/compile/GENERIC
  RTC BIOS diagnostic error 18<memory_size,fixed_disk>
  BIOS32 rev. 0 found at 0xffe90
  mainbus0 (root)
  pci0 at mainbus0 bus 0: configuration mode 1
  pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
  piixide1 at pci0 dev 31 function 2
  piixide1: Intel 82801EB Serial ATA Controller (rev. 0x02)
  piixide1: bus-master DMA support present
  piixide1: primary channel configured to native-PCI mode
  piixide1: using irq 9 for native-PCI interrupt
  atabus1 at piixide1 channel 0
  piixide1: secondary channel configured to native-PCI mode
  wd0 at atabus1 drive 0: <WDC WD1600JD-75HBB0>
  wd0: drive supports 16-sector PIO transfers, LBA48 addressing
  wd0: 149 GB, 310019 cyl, 16 head, 63 sec, 512 bytes/sect x 312500000 sectors
  wd0: 32-bit data port
  wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
  wd0(piixide1:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)

Any ideas?
--
John Stalker
University of Dublin, Trinity College
School of Mathematics

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

* [9fans] install kernel fails to find hard disk
@ 2006-03-16 10:31 John Stalker
  2006-03-17  0:03 ` geoff
  0 siblings, 1 reply; 5+ messages in thread
From: John Stalker @ 2006-03-16 10:31 UTC (permalink / raw)
  To: 9fans

I just tried to install plan9 on a machine at work.  At partdisk
it tells me

  The following disk devices were found.

  sdD0 - TEAC DVD+RW DV-W58E D.0C09/14/03

  Disk to partition (sdD0)[sdD0]:

No mention of the hard disk.  Typing sdC0 at the prompt doesn't help.
Neither does turning off DMA.

The relevant hardware, as found by NetBSD, is

  NetBSD 3.0 (GENERIC) #0: Mon Dec 19 01:04:02 UTC 2005
  	builds@works.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/i386/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/i386/compile/GENERIC
  RTC BIOS diagnostic error 18<memory_size,fixed_disk>
  BIOS32 rev. 0 found at 0xffe90
  mainbus0 (root)
  pci0 at mainbus0 bus 0: configuration mode 1
  pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
  piixide1 at pci0 dev 31 function 2
  piixide1: Intel 82801EB Serial ATA Controller (rev. 0x02)
  piixide1: bus-master DMA support present
  piixide1: primary channel configured to native-PCI mode
  piixide1: using irq 9 for native-PCI interrupt
  atabus1 at piixide1 channel 0
  piixide1: secondary channel configured to native-PCI mode
  wd0 at atabus1 drive 0: <WDC WD1600JD-75HBB0>
  wd0: drive supports 16-sector PIO transfers, LBA48 addressing
  wd0: 149 GB, 310019 cyl, 16 head, 63 sec, 512 bytes/sect x 312500000 sectors
  wd0: 32-bit data port
  wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
  wd0(piixide1:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)

Any ideas?
--
John Stalker
University of Dublin, Trinity College
School of Mathematics


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

end of thread, other threads:[~2006-03-21  2:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-18 10:35 [9fans] install kernel fails to find hard disk John Stalker
2006-03-20 17:36 ` John Stalker
2006-03-21  2:56   ` geoff
  -- strict thread matches above, loose matches on Subject: below --
2006-03-16 10:31 John Stalker
2006-03-17  0:03 ` geoff

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