From owner-9fans Fri May 1 01:29:54 1998 Received: (from majordom@localhost) by cse.psu.edu (8.8.8/8.7.3) id BAA07681 for 9fans-outgoing; Fri, 1 May 1998 01:29:54 -0400 (EDT) X-Authentication-Warning: claven.cse.psu.edu: majordom set sender to owner-9fans using -f Received: from plan9.aichi-u.ac.jp (plan9.aichi-u.ac.jp [202.250.160.122]) by cse.psu.edu (8.8.8/8.7.3) with SMTP id BAA07676 for <9fans@cse.psu.edu>; Fri, 1 May 1998 01:29:49 -0400 (EDT) From: arisawa@plan9.aichi-u.ac.jp Message-Id: <199805010529.BAA07676@cse.psu.edu> To: 9fans@cse.psu.edu Date: Fri, 1 May 1998 14:36:40 -0500 Subject: [9fans] more secure kfs Sender: owner-9fans@cse.psu.edu Precedence: bulk Reply-To: 9fans Does anyone has a patch to kfs that enables more secure kfs? I would like to prohibit some kfs commands by the user who is not the owner of /dev/hd0* Kenji Arisawa E-mail: arisawa@aichi-u.ac.jp From owner-9fans Sat May 2 05:48:56 1998 Received: (from majordom@localhost) by cse.psu.edu (8.8.8/8.7.3) id FAA27527 for 9fans-outgoing; Sat, 2 May 1998 05:48:56 -0400 (EDT) X-Authentication-Warning: claven.cse.psu.edu: majordom set sender to owner-9fans using -f Received: from hamnavoe.demon.co.uk (hamnavoe.demon.co.uk [158.152.225.204]) by cse.psu.edu (8.8.8/8.7.3) with SMTP id FAA27523 for <9fans@cse.psu.edu>; Sat, 2 May 1998 05:48:51 -0400 (EDT) From: miller@hamnavoe.demon.co.uk Message-Id: <199805020948.FAA27523@cse.psu.edu> To: 9fans@cse.psu.edu Date: Sat, 2 May 1998 10:48:14 BST Subject: Re: [9fans] more secure kfs Sender: owner-9fans@cse.psu.edu Precedence: bulk Reply-To: 9fans Kenji Arisawa asks: > Does anyone has a patch to kfs that enables more secure kfs? > > I would like to prohibit some kfs commands by the user who is > not the owner of /dev/hd0* It's simple to prohibit *all* kfs commands except from hostowner, by changing main.c as shown below. A filter program could then be started from cpurc to accept commands on another /srv file and pass the safe ones (sync?) to /srv.kfs [left as an exercise for the reader]. ========================================== diff /sys/src/cmd/disk/kfs/main.c main.c 11c11 < int srvfd(char*, int); --- > int srvfd(char*, int, int); 296c296 < srvfd(buf, p[0]); --- > srvfd(buf, p[0], 0600); 398c398 < srvfd(buf, sfd); --- > srvfd(buf, sfd, 0666); 412c412 < srvfd(char *s, int sfd) --- > srvfd(char *s, int sfd, int perm) 417c417 < fd = create(s, OWRITE, 0666); --- > fd = create(s, OWRITE, perm); 420c420 < fd = create(s, OWRITE, 0666); --- > fd = create(s, OWRITE, perm); ========================================== -- Richard Miller From owner-9fans Sat May 2 19:56:16 1998 Received: (from majordom@localhost) by cse.psu.edu (8.8.8/8.7.3) id TAA02799 for 9fans-outgoing; Sat, 2 May 1998 19:56:16 -0400 (EDT) X-Authentication-Warning: claven.cse.psu.edu: majordom set sender to owner-9fans using -f Received: from plan9.aichi-u.ac.jp (plan9.aichi-u.ac.jp [202.250.160.122]) by cse.psu.edu (8.8.8/8.7.3) with SMTP id TAA02794 for <9fans@cse.psu.edu>; Sat, 2 May 1998 19:56:11 -0400 (EDT) From: arisawa@plan9.aichi-u.ac.jp Message-Id: <199805022356.TAA02794@cse.psu.edu> To: 9fans@cse.psu.edu Date: Sun, 3 May 1998 09:03:23 -0500 Subject: Re: [9fans] more secure kfs Sender: owner-9fans@cse.psu.edu Precedence: bulk Reply-To: 9fans >It's simple to prohibit *all* kfs commands except from hostowner, >by changing main.c as shown below. ... >-- Richard Miller Thank you, Richard. I will try. Kenji Arisawa E-mail: arisawa@aichi-u.ac.jp From owner-9fans Sun May 3 00:00:45 1998 Received: (from majordom@localhost) by cse.psu.edu (8.8.8/8.7.3) id AAA04908 for 9fans-outgoing; Sun, 3 May 1998 00:00:45 -0400 (EDT) X-Authentication-Warning: claven.cse.psu.edu: majordom set sender to owner-9fans using -f Received: from fw1.tek.com (fw1.tek.com [192.65.17.16]) by cse.psu.edu (8.8.8/8.7.3) with ESMTP id AAA04903 for <9fans@cse.psu.edu>; Sun, 3 May 1998 00:00:40 -0400 (EDT) Received: from fw1.tek.com (root@localhost) by fw1.tek.com with ESMTP id VAA04961 for <9fans@cse.psu.edu>; Sat, 2 May 1998 21:00:39 -0700 (PDT) Received: from orca.wv.tek.com (orca.wv.tek.com [134.62.8.23]) by fw1.tek.com with SMTP id VAA04957 for <9fans@cse.psu.edu>; Sat, 2 May 1998 21:00:38 -0700 (PDT) Received: from pogo.wv.tek.com by orca.wv.tek.com (4.1/8.2) id AA01023; Sat, 2 May 98 21:03:32 PDT Received: from hackerpc.isdn2.tek.com (host241.isdn2.tek.com) by pogo.wv.tek.com (4.1/8.0) id AA07760; Sat, 2 May 98 21:00:37 PDT Message-Id: <3.0.1.32.19980502210025.00698fbc@pogo.wv.tek.com> X-Sender: hacker@pogo.wv.tek.com X-Mailer: Windows Eudora Pro Version 3.0.1 (32) Date: Sat, 02 May 1998 21:00:25 -0700 To: 9fans@cse.psu.edu From: "Patrick E. Hacker" Subject: [9fans] Plan9 installation problem Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-9fans@cse.psu.edu Precedence: bulk Reply-To: 9fans Can anybody help with this problem? I downloaded disk1 (and disk1.nvd, disk1.orig) from ftp://plan9.bell-labs.com/plan9/pcdist, transferred disk1 to a floppy with putimg, and upon rebooting got the following: Protected-mode bootstrap hd0: LBA 8248472 sectors, -71237632 bytes .bad magic 0xeb29904f not a Plan9 executable! Boot devices: hd!0 h!0 boot from: I'm using the following platform: Pentium 200 MHz, 32MB 1.44 MB floppy 4 GB IDE HD 3Com EtherLink III 3C579 S3 Trio64V+ Any suggestions? Pat patrick.e.hacker@tek.com From owner-9fans Sun May 3 00:18:58 1998 Received: (from majordom@localhost) by cse.psu.edu (8.8.8/8.7.3) id AAA05191 for 9fans-outgoing; Sun, 3 May 1998 00:18:58 -0400 (EDT) X-Authentication-Warning: claven.cse.psu.edu: majordom set sender to owner-9fans using -f Received: from plan9.bell-labs.com (plan9.bell-labs.com [204.178.31.2]) by cse.psu.edu (8.8.8/8.7.3) with SMTP id AAA05187 for <9fans@cse.psu.edu>; Sun, 3 May 1998 00:18:54 -0400 (EDT) Message-Id: <199805030418.AAA05187@cse.psu.edu> Date: Sun, 3 May 1998 00:17:51 -0400 To: 9fans@cse.psu.edu From: "jim mckie" Subject: Re: [9fans] Plan9 installation problem Sender: owner-9fans@cse.psu.edu Precedence: bulk Reply-To: 9fans it's likely that the disc is too big. there was a sign-extension problem in the original release limiting its understanding to <2GB ide drives. if you can't replace with a smaller drive then perhaps we can find someone out there with a fixed bootstrap programme and kernel to get you under way. --jim From owner-9fans Sun May 3 10:39:54 1998 Received: (from majordom@localhost) by cse.psu.edu (8.8.8/8.7.3) id KAA07653 for 9fans-outgoing; Sun, 3 May 1998 10:39:54 -0400 (EDT) X-Authentication-Warning: claven.cse.psu.edu: majordom set sender to owner-9fans using -f Received: from plan9.bell-labs.com (plan9.bell-labs.com [204.178.31.2]) by cse.psu.edu (8.8.8/8.7.3) with SMTP id KAA07649 for <9fans@cse.psu.edu>; Sun, 3 May 1998 10:39:50 -0400 (EDT) Message-Id: <199805031439.KAA07649@cse.psu.edu> Date: Sun, 3 May 1998 10:33:54 -0400 To: 9fans@cse.psu.edu From: "Russ Cox" Subject: re: [9fans] Plan9 installation problem Sender: owner-9fans@cse.psu.edu Precedence: bulk Reply-To: 9fans > Protected-mode bootstrap > hd0: LBA 8248472 sectors, -71237632 bytes > .bad magic 0xeb29904f not a Plan9 executable! > Boot devices: hd!0 h!0 More disturbing is the fact that fd!0 is not on your boot devices line. Can you try booting into DOS and then type C:\>a: A:\>b fd!0!9dos and see what happens. If it asks "root is from" tell it "fd!0". Assuming you haven't installed Plan9 onto your hard disk yet (you're only on disk 1!) b.com's lack of understanding about 4GB disks shouldn't matter. From owner-9fans Sun May 3 12:41:52 1998 Received: (from majordom@localhost) by cse.psu.edu (8.8.8/8.7.3) id MAA08546 for 9fans-outgoing; Sun, 3 May 1998 12:41:52 -0400 (EDT) X-Authentication-Warning: claven.cse.psu.edu: majordom set sender to owner-9fans using -f Received: from fw1.tek.com (fw1.tek.com [192.65.17.16]) by cse.psu.edu (8.8.8/8.7.3) with ESMTP id MAA08542 for <9fans@cse.psu.edu>; Sun, 3 May 1998 12:41:47 -0400 (EDT) Received: from fw1.tek.com (root@localhost) by fw1.tek.com with ESMTP id JAA15057 for <9fans@cse.psu.edu>; Sun, 3 May 1998 09:41:46 -0700 (PDT) Received: from orca.wv.tek.com (orca.wv.tek.com [134.62.8.23]) by fw1.tek.com with SMTP id JAA15053 for <9fans@cse.psu.edu>; Sun, 3 May 1998 09:41:46 -0700 (PDT) Received: from pogo.wv.tek.com by orca.wv.tek.com (4.1/8.2) id AA08773; Sun, 3 May 98 09:44:40 PDT Received: from hackerpc.isdn2.tek.com (host241.isdn2.tek.com) by pogo.wv.tek.com (4.1/8.0) id AA19534; Sun, 3 May 98 09:41:45 PDT Message-Id: <3.0.1.32.19980503094131.00698f28@pogo.wv.tek.com> X-Sender: hacker@pogo.wv.tek.com (Unverified) X-Mailer: Windows Eudora Pro Version 3.0.1 (32) Date: Sun, 03 May 1998 09:41:31 -0700 To: 9fans@cse.psu.edu From: "Patrick E. Hacker" Subject: [9fans] 9fans@cse.psu.edu Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-9fans@cse.psu.edu Precedence: bulk Reply-To: 9fans Russ Cox (rsc@pan9.bell-labs.com) suggested I try: A:\> b hd!0!9dos I received the following: Protected-mode bootstrap hd0: LBA 8248472 sectors, -71237632 bytes Cannot access device: fd!0!9dos Boot devices: hd!0 h!0 boot from: Seems it doesn't like my floppy controller?! That would tend to point to incompatible chip set or unexpected timing issues. The manual indicates the following chips on board (sorry I'm not familiar with the Intel line so I'm not sure which one handles the floppy) Intel Pemtium-MMX 82437VX 82371SB I'll need to open it up to check on bus speeds. I'll also try moving the floppy controller to an AHA1540/42CP SCSI controller. Thanks for helping! From owner-9fans Sun May 3 19:41:57 1998 Received: (from majordom@localhost) by cse.psu.edu (8.8.8/8.7.3) id TAA12465 for 9fans-outgoing; Sun, 3 May 1998 19:41:57 -0400 (EDT) X-Authentication-Warning: claven.cse.psu.edu: majordom set sender to owner-9fans using -f Received: from washoe.cs.unr.edu (washoe.cs.unr.edu [134.197.42.61]) by cse.psu.edu (8.8.8/8.7.3) with SMTP id TAA12461 for <9fans@cse.psu.edu>; Sun, 3 May 1998 19:41:51 -0400 (EDT) From: ed@washoe.cs.unr.edu Message-Id: <199805032341.TAA12461@cse.psu.edu> To: 9fans@cse.psu.edu Date: Sun, 3 May 1998 16:25:51 PDT Subject: [9fans] Installing Plan 9 Sender: owner-9fans@cse.psu.edu Precedence: bulk Reply-To: 9fans Patrick, another option is to try the 4 diskettes prepared by David Butler at ftp.dbsystems.com/pub/PLAN9/pcdist. His web site was down just now, but I was able to ftp there and the floppy images seem to be there. David applied all the updates through Dec 1997 and has support for 3Com 905 also. His kernel supports multiple ethernets so as I recall you need to edit the /rc/bin/termrc file to test for /net/ether0/clone to configure the ethernet / IP interfaces. I have used this 4 diskette set and it works fine. Once when I couldn't unpack the Lucent diskettes it was able to unpack. I know this is not your problem but the updates may have fixed what ever is bugging you. This `ether0' versus `ether' stuff breaks some commands but it will get you up for further testing/debugging. ed wishart ------------------------------------------------ patrick.e.hacker@tek.com writes: Can anybody help with this problem? I downloaded disk1 (and disk1.nvd, disk1.orig) from ftp://plan9.bell-labs.com/plan9/pcdist, transferred disk1 to a floppy with putimg, and upon rebooting got the following: Protected-mode bootstrap hd0: LBA 8248472 sectors, -71237632 bytes .bad magic 0xeb29904f not a Plan9 executable! Boot devices: hd!0 h!0 boot from: I'm using the following platform: Pentium 200 MHz, 32MB 1.44 MB floppy 4 GB IDE HD 3Com EtherLink III 3C579 S3 Trio64V+ Any suggestions? Pat From owner-9fans Mon May 4 08:46:41 1998 Received: (from majordom@localhost) by cse.psu.edu (8.8.8/8.7.3) id IAA17981 for 9fans-outgoing; Mon, 4 May 1998 08:46:41 -0400 (EDT) X-Authentication-Warning: claven.cse.psu.edu: majordom set sender to owner-9fans using -f Received: from ns.dbSystems.com (root@ns.dbsystems.com [204.178.76.1]) by cse.psu.edu (8.8.8/8.7.3) with SMTP id IAA17977 for <9fans@cse.psu.edu>; Mon, 4 May 1998 08:46:35 -0400 (EDT) Received: (from gdb@localhost) by ns.dbSystems.com (8.6.11/8.6.9) id HAA11904 for 9fans@cse.psu.edu; Mon, 4 May 1998 07:42:19 -0500 Date: Mon, 4 May 1998 07:42:19 -0500 From: "G. David Butler" Message-Id: <199805041242.HAA11904@ns.dbSystems.com> To: 9fans@cse.psu.edu Subject: Re: [9fans] Installing Plan 9 Sender: owner-9fans@cse.psu.edu Precedence: bulk Reply-To: 9fans >patrick.e.hacker@tek.com writes: > >Boot devices: hd!0 h!0 If this was the old b.com then the problem would be >I'm using the following platform: > Pentium 200 MHz, 32MB because a delay is needed in the floppysend and floppyrcv routines for faster processors. Follow Ed's advice using ftp.dbsystems.com/pub/PLAN9/pcdist and see if it fixes your problem. David Butler gdb@dbSystems.com From owner-9fans Tue May 5 16:50:12 1998 Received: (from majordom@localhost) by cse.psu.edu (8.8.8/8.7.3) id QAA16107 for 9fans-outgoing; Tue, 5 May 1998 16:50:12 -0400 (EDT) X-Authentication-Warning: claven.cse.psu.edu: majordom set sender to owner-9fans using -f Received: from grande.dcc.unicamp.br (grande.dcc.unicamp.br [143.106.1.11]) by cse.psu.edu (8.8.8/8.7.3) with ESMTP id QAA16097 for <9fans@cse.psu.edu>; Tue, 5 May 1998 16:49:43 -0400 (EDT) Received: from amazonas.dcc.unicamp.br (amazonas.dcc.unicamp.br [143.106.7.11]) by grande.dcc.unicamp.br (8.8.5/8.8.5) with ESMTP id RAA23515 for <9fans@cse.psu.edu>; Tue, 5 May 1998 17:48:43 -0300 (EST) Received: from dcc.unicamp.br (pinduca.dcc.unicamp.br [143.106.24.121]) by amazonas.dcc.unicamp.br (8.8.5/8.8.5) with ESMTP id RAA25910 for <9fans@cse.psu.edu>; Tue, 5 May 1998 17:48:39 -0300 (EST) Message-ID: <354F7AB3.C37DA0D5@dcc.unicamp.br> Date: Tue, 05 May 1998 17:46:43 -0300 From: "Franklin Robert Araujo Fran€a" <973930@dcc.unicamp.br> Reply-To: 973930@dcc.unicamp.br Organization: UNICAMP X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: 9fans@cse.psu.edu Subject: Re: [9fans] Installing plan9 References: <199804191929.PAA28923@cse.psu.edu> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-9fans@cse.psu.edu Precedence: bulk Reply-To: 9fans ed@washoe.cs.unr.edu wrote: > Kevin: > > I use an NE200 clone with no problems. Delete the > > ip/arpd -b bcast-addr > > line as arpd is started by ip/ipconfig unless told not to. > My system hangs if I try to start a second arpd this way also. > > The #Q device has to be compiled into the kernel as the distribution > does not have it. You need the source for this and the instructions > are: > > addd the line; > icmp Q > *********************************************************** > to the pcdisk file (or whatever configuration you are building) > in /sys/src/9/pc, type mk. Copy the new kernel to the > boot partition and then: > ************************************************************ > add to /lib/namespace: > bind -a #Q /net > > add to /rc/bin/termrc: > bind -a '#Q' /dev > aux/icmp > echo -n 'add tcp il udp icmp' >/net/cs > > Others have addressed the ATAPI issue. I use SCSI cdroms. > > ed wishart Ed what€s does mean the line above: Copy the new kernel to the boot partition... ? Thanks. Franklin. From owner-9fans Wed May 6 08:39:11 1998 Received: (from majordom@localhost) by cse.psu.edu (8.8.8/8.7.3) id IAA24306 for 9fans-outgoing; Wed, 6 May 1998 08:39:11 -0400 (EDT) X-Authentication-Warning: claven.cse.psu.edu: majordom set sender to owner-9fans using -f Received: from grande.dcc.unicamp.br (grande.dcc.unicamp.br [143.106.1.11]) by cse.psu.edu (8.8.8/8.7.3) with ESMTP id IAA24302 for <9fans@cse.psu.edu>; Wed, 6 May 1998 08:39:03 -0400 (EDT) Received: from amazonas.dcc.unicamp.br (amazonas.dcc.unicamp.br [143.106.7.11]) by grande.dcc.unicamp.br (8.8.5/8.8.5) with ESMTP id JAA07586 for <9fans@cse.psu.edu>; Wed, 6 May 1998 09:38:34 -0300 (EST) Received: from dcc.unicamp.br (pinduca.dcc.unicamp.br [143.106.24.121]) by amazonas.dcc.unicamp.br (8.8.5/8.8.5) with ESMTP id JAA21868 for <9fans@cse.psu.edu>; Wed, 6 May 1998 09:38:36 -0300 (EST) Message-ID: <3550593E.D3C776C1@dcc.unicamp.br> Date: Wed, 06 May 1998 09:36:41 -0300 From: "Franklin Robert Araujo Fran€a" <973930@dcc.unicamp.br> Reply-To: 973930@dcc.unicamp.br Organization: UNICAMP X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: 9fans@cse.psu.edu Subject: [9fans] Installing plan9 References: <199804191929.PAA28923@cse.psu.edu> <354F7AB3.C37DA0D5@dcc.unicamp.br> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-9fans@cse.psu.edu Precedence: bulk Reply-To: 9fans We have successfully retrieved, unpacked and compiled the file 9/pc/824494421.rc ( 16-Feb-96 update) which has the devata.c driver. We copied the files to the proper source directory (/sys/src/9/pc) and typed mk installall generating the 9dos, 9pc, 9pcdisk kernels. Then we copied 9pcdisk to DOS (c:/plan9/) and fetched 9pcdisk and tried it via Plan9.ini (bootfile=hd!0!/plan9/9pcdisk), but here's what happens: CPU is a 200MHz Pentium735 (cpuid: ax52cdx1bf) scsibuf: 0x2bbb84 scsibuf: 0x2dbb94 scsibuf: 0x2fbba4 scsibuf: 0x31bbb4 root is from (local, 9660, 19200, il)[local!#H/hd0disk]: local!#H/hd0fs user: franklin password: cmd=00, lastcmd=A0 cdsize count 14, status 0x50, error 0x00 cmd=00, lastcmd=A0 cdsize count 14, status 0x50, error 0x00 boot: can't connect to file server: file does not exist panic: boot process died: unknown What did we miss? Any suggestions? Franklin. From owner-9fans Thu May 7 05:47:25 1998 Received: (from majordom@localhost) by cse.psu.edu (8.8.8/8.7.3) id FAA11269 for 9fans-outgoing; Thu, 7 May 1998 05:47:25 -0400 (EDT) X-Authentication-Warning: claven.cse.psu.edu: majordom set sender to owner-9fans using -f Received: from hamnavoe.demon.co.uk (hamnavoe.demon.co.uk [158.152.225.204]) by cse.psu.edu (8.8.8/8.7.3) with SMTP id FAA11265 for <9fans@cse.psu.edu>; Thu, 7 May 1998 05:47:19 -0400 (EDT) From: miller@hamnavoe.demon.co.uk Message-Id: <199805070947.FAA11265@cse.psu.edu> To: 9fans@cse.psu.edu Date: Thu, 7 May 1998 10:43:04 BST Subject: Re: [9fans] Installing plan9 Sender: owner-9fans@cse.psu.edu Precedence: bulk Reply-To: 9fans The message > cmd=00, lastcmd=A0 cdsize count 14, status 0x50, error 0x00 probably means that an ATAPI cd-rom is returning 14 bytes of data instead of 18 to a Creqsense command. That's what my Mitsumi FX400 does. You can make the message go away by changing if(cp->count != 18){ /* ?Mitsumi? */ to if(cp->count != 18 && cp->count != 14){ in devata.c (it doesn't seem to do any harm). -- Richard Miller From owner-9fans Sun May 10 09:51:36 1998 Received: (from majordom@localhost) by cse.psu.edu (8.8.8/8.7.3) id JAA23053 for 9fans-outgoing; Sun, 10 May 1998 09:51:36 -0400 (EDT) X-Authentication-Warning: claven.cse.psu.edu: majordom set sender to owner-9fans using -f Received: from plan9.bell-labs.com (plan9.bell-labs.com [204.178.31.2]) by cse.psu.edu (8.8.8/8.7.3) with SMTP id JAA23049 for <9fans@cse.psu.edu>; Sun, 10 May 1998 09:51:32 -0400 (EDT) Message-Id: <199805101351.JAA23049@cse.psu.edu> Date: Sun, 10 May 1998 09:32:39 -0400 To: 9fans@cse.psu.edu From: "jim mckie" Subject: Re: [9fans] Installing plan9 Sender: owner-9fans@cse.psu.edu Precedence: bulk Reply-To: 9fans that print will only come from the driver if debugging is on (is it?). since the request-sense is only used to clear any lingering state, it's probably ok to just delete the test completely, any real error will cause the error-stack to be called. if debugging isn't on then the print comes from the similar test on the capacity command which would be more serious as more bytes were returned than asked for. if debugging is on i'd expect a lot more diagnostic output. back to the original problem. have you ever had plan9 running on this machine? in mail you said the disk is 3GB. check the 'start' argument to ataxfer is a ulong. b.com has a similar problem. --jim ------ forwarded message follows ------ >From cse.psu.edu!owner-9fans Thu May 7 05:48:52 EDT 1998 Received: from plan9.bell-labs.com ([135.104.8.6]) by plan9; Thu May 7 05:48:52 EDT 1998 Received: from cse.psu.edu ([130.203.3.50]) by plan9; Thu May 7 05:48:51 EDT 1998 Received: from localhost (majordom@localhost) by cse.psu.edu (8.8.8/8.7.3) with SMTP id FAA11305; Thu, 7 May 1998 05:48:34 -0400 (EDT) Received: by claven.cse.psu.edu (bulk_mailer v1.5); Thu, 7 May 1998 05:47:29 -0400 Received: (from majordom@localhost) by cse.psu.edu (8.8.8/8.7.3) id FAA11269 for 9fans-outgoing; Thu, 7 May 1998 05:47:25 -0400 (EDT) X-Authentication-Warning: claven.cse.psu.edu: majordom set sender to owner-9fans using -f Received: from hamnavoe.demon.co.uk (hamnavoe.demon.co.uk [158.152.225.204]) by cse.psu.edu (8.8.8/8.7.3) with SMTP id FAA11265 for <9fans@cse.psu.edu>; Thu, 7 May 1998 05:47:19 -0400 (EDT) From: hamnavoe.demon.co.uk!miller Message-Id: <199805070947.FAA11265@cse.psu.edu> To: cse.psu.edu!9fans Date: Thu, 7 May 1998 10:43:04 BST Subject: Re: [9fans] Installing plan9 Sender: cse.psu.edu!owner-9fans Reply-To: cse.psu.edu!9fans Precedence: bulk The message > cmd=00, lastcmd=A0 cdsize count 14, status 0x50, error 0x00 probably means that an ATAPI cd-rom is returning 14 bytes of data instead of 18 to a Creqsense command. That's what my Mitsumi FX400 does. You can make the message go away by changing if(cp->count != 18){ /* ?Mitsumi? */ to if(cp->count != 18 && cp->count != 14){ in devata.c (it doesn't seem to do any harm). -- Richard Miller From owner-9fans Sun May 10 12:25:15 1998 Received: (from majordom@localhost) by cse.psu.edu (8.8.8/8.7.3) id MAA23778 for 9fans-outgoing; Sun, 10 May 1998 12:25:15 -0400 (EDT) X-Authentication-Warning: claven.cse.psu.edu: majordom set sender to owner-9fans using -f Received: from hamnavoe.demon.co.uk (hamnavoe.demon.co.uk [158.152.225.204]) by cse.psu.edu (8.8.8/8.7.3) with SMTP id MAA23774 for <9fans@cse.psu.edu>; Sun, 10 May 1998 12:25:10 -0400 (EDT) From: miller@hamnavoe.demon.co.uk Message-Id: <199805101625.MAA23774@cse.psu.edu> To: 9fans@cse.psu.edu Date: Sun, 10 May 1998 17:24:29 BST Subject: Re: [9fans] Installing plan9 Sender: owner-9fans@cse.psu.edu Precedence: bulk Reply-To: 9fans > that print will only come from the driver if debugging is on (is it?). I think you are looking at a not-yet-released version of the driver. In the most recent update of devata.c on plan9.bell-labs.com, the Creqsense message is printed even when debugging is off, and is followed by an error(Eio). But you are right that the real problem is probably the 2GB disk limitation in devata.c. I think b.com is actually all right up to 4GB. -- Richard From owner-9fans Sun May 10 12:41:03 1998 Received: (from majordom@localhost) by cse.psu.edu (8.8.8/8.7.3) id MAA24646 for 9fans-outgoing; Sun, 10 May 1998 12:41:03 -0400 (EDT) X-Authentication-Warning: claven.cse.psu.edu: majordom set sender to owner-9fans using -f Received: from plan9.bell-labs.com (plan9.bell-labs.com [204.178.31.2]) by cse.psu.edu (8.8.8/8.7.3) with SMTP id MAA24642 for <9fans@cse.psu.edu>; Sun, 10 May 1998 12:40:59 -0400 (EDT) Message-Id: <199805101640.MAA24642@cse.psu.edu> Date: Sun, 10 May 1998 12:39:20 -0400 To: 9fans@cse.psu.edu From: "jim mckie" Subject: Re: [9fans] Installing plan9 Sender: owner-9fans@cse.psu.edu Precedence: bulk Reply-To: 9fans >I think you are looking at a not-yet-released version of the driver. probably. i have a 6.3GB ata drive on order with the intention of setting up a plan9 system to be better able to fix rpblems like this and get updates out. --jim From owner-9fans Tue May 12 14:10:54 1998 Received: (from majordom@localhost) by cse.psu.edu (8.8.8/8.7.3) id OAA23116 for 9fans-outgoing; Tue, 12 May 1998 14:10:54 -0400 (EDT) X-Authentication-Warning: claven.cse.psu.edu: majordom set sender to owner-9fans using -f Received: from grande.dcc.unicamp.br (grande.dcc.unicamp.br [143.106.1.11]) by cse.psu.edu (8.8.8/8.7.3) with ESMTP id OAA23109 for <9fans@cse.psu.edu>; Tue, 12 May 1998 14:10:36 -0400 (EDT) Received: from amazonas.dcc.unicamp.br (amazonas.dcc.unicamp.br [143.106.7.11]) by grande.dcc.unicamp.br (8.8.5/8.8.5) with ESMTP id PAA13719 for <9fans@cse.psu.edu>; Tue, 12 May 1998 15:09:47 -0300 (EST) Received: from dcc.unicamp.br (pinduca.dcc.unicamp.br [143.106.24.121]) by amazonas.dcc.unicamp.br (8.8.5/8.8.5) with ESMTP id PAA26931 for <9fans@cse.psu.edu>; Tue, 12 May 1998 15:09:48 -0300 (EST) Message-ID: <35588FFD.A83C293F@dcc.unicamp.br> Date: Tue, 12 May 1998 15:07:57 -0300 From: "Franklin Robert Araujo Fran€a" <973930@dcc.unicamp.br> Reply-To: 973930@dcc.unicamp.br Organization: UNICAMP X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: 9fans@cse.psu.edu Subject: [9fans] atapi2disk' References: <199804191907.PAA28087@cse.psu.edu> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-9fans@cse.psu.edu Precedence: bulk Reply-To: 9fans Hi Jim, thanks for your assistance. I changed the €start€ argument to ataxfer to ulong, generating the kernel and it works. No messages errors appears in the time boot. But the file atapi2disk is generated in €#H/atapi2disk€ with 0 bytes. How may I proceed to use the cd-rom? Franklin. From owner-9fans Fri May 15 00:02:07 1998 Received: (from majordom@localhost) by cse.psu.edu (8.8.8/8.7.3) id AAA28965 for 9fans-outgoing; Fri, 15 May 1998 00:02:07 -0400 (EDT) X-Authentication-Warning: claven.cse.psu.edu: majordom set sender to owner-9fans using -f Received: from tornd.securecomputing.com (elgreco.tor.securecomputing.com [199.71.190.101]) by cse.psu.edu (8.8.8/8.7.3) with ESMTP id AAA28961 for <9fans@cse.psu.edu>; Fri, 15 May 1998 00:02:02 -0400 (EDT) Received: by elgreco.tornd.securecomputing.com id <11649>; Fri, 15 May 1998 00:02:42 -0400 Date: Fri, 15 May 1998 00:01:00 -0400 From: Steve Kotsopoulos Message-Id: <98May15.000242edt.11649@elgreco.tornd.securecomputing.com> To: <9fans@cse.psu.edu> Subject: [9fans] [reminder] pointer to Plan 9 FAQ Sender: owner-9fans@cse.psu.edu Precedence: bulk Reply-To: 9fans The Plan 9 faq is posted to comp.os.plan9 at the beginning of each month. It is also at news.answers archive sites, look for comp-os/plan9-faq The latest hypertext version of the faq is available at url http://www.fywss.com/plan9/plan9faq.html From owner-9fans Wed May 20 05:53:50 1998 Received: (from majordom@localhost) by cse.psu.edu (8.8.8/8.7.3) id FAA05557 for 9fans-outgoing; Wed, 20 May 1998 05:53:50 -0400 (EDT) X-Authentication-Warning: claven.cse.psu.edu: majordom set sender to owner-9fans using -f Received: from mail.core.genedata.com (mentolat-e0.core.genedata.com [157.161.173.16]) by cse.psu.edu (8.8.8/8.7.3) with ESMTP id FAA05553 for <9fans@cse.psu.edu>; Wed, 20 May 1998 05:53:42 -0400 (EDT) From: Elliott.Hughes@genedata.com Received: from relay.ch.genedata.com (pinatubo.ch.genedata.com [157.161.173.32]) by mail.core.genedata.com (8.9.0/8.9.0) with ESMTP id LAA21651 for <9fans@cse.psu.edu>; Wed, 20 May 1998 11:53:39 +0200 Received: from stromboli.ch.genedata.com (IDENT:enh@stromboli.ch.genedata.com [157.161.173.184]) by relay.ch.genedata.com (8.9.0/8.9.0) with SMTP id LAA26073 for <9fans@cse.psu.edu>; Wed, 20 May 1998 11:53:38 +0200 (CEST) Date: Wed, 20 May 1998 11:53:38 +0200 (CEST) Message-Id: <199805200953.LAA26073@relay.ch.genedata.com> To: 9fans@cse.psu.edu Subject: [9fans] u9fs and _conform.map Sender: owner-9fans@cse.psu.edu Precedence: bulk Reply-To: 9fans Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Has anyone altered u9fs to use _conform.map? I want to boot a Sun (an IPC: there seem to be a lot of them about all of a sudden!) from a Unix machine, at least until I get the Sun's disc sorted for Plan 9. If not, I suppose I could get the mangled names onto the Sun's disc and then go through the filesystem correcting them after the fact. Comments? -- http://users.ch.genedata.com/~enh/ From owner-9fans Wed May 20 08:51:28 1998 Received: (from majordom@localhost) by cse.psu.edu (8.8.8/8.7.3) id IAA06954 for 9fans-outgoing; Wed, 20 May 1998 08:51:28 -0400 (EDT) X-Authentication-Warning: claven.cse.psu.edu: majordom set sender to owner-9fans using -f Received: from plan9.bell-labs.com (plan9.bell-labs.com [204.178.31.2]) by cse.psu.edu (8.8.8/8.7.3) with SMTP id IAA06950 for <9fans@cse.psu.edu>; Wed, 20 May 1998 08:51:24 -0400 (EDT) Message-Id: <199805201251.IAA06950@cse.psu.edu> Date: Wed, 20 May 1998 08:45:52 -0400 To: 9fans@cse.psu.edu From: "Russ Cox" Subject: re: [9fans] u9fs and _conform.map Sender: owner-9fans@cse.psu.edu Precedence: bulk Reply-To: 9fans I had a similar problem a couple months ago and solved it with disk space. I copied the entire CD onto a Unix disk and then did something approximately: cat _conform.map | sed 's/^F/f/g;s/^D/d/g' | sort > $HOME/conform.map % cat $HOME/fix #!/bin/sh for i in * do if test -d $i (cd $i; $HOME/fix) done for i in d00* f00* do x=`look $i $HOME/conform.map` mv $i $x done % cd $HOME/plan9cd % $HOME/fix which worked pretty well. A warning: I just typed that shell script on the fly while writing this message. I can't find the one I used when I did it, but that conveys the basic gist. From owner-9fans Wed May 20 10:03:40 1998 Received: (from majordom@localhost) by cse.psu.edu (8.8.8/8.7.3) id KAA08018 for 9fans-outgoing; Wed, 20 May 1998 10:03:40 -0400 (EDT) X-Authentication-Warning: claven.cse.psu.edu: majordom set sender to owner-9fans using -f Received: from tor.securecomputing.com (tor.securecomputing.com [199.71.190.98]) by cse.psu.edu (8.8.8/8.7.3) with ESMTP id KAA08012 for <9fans@cse.psu.edu>; Wed, 20 May 1998 10:03:34 -0400 (EDT) Received: by janus.tor.securecomputing.com id <11654>; Wed, 20 May 1998 10:04:18 -0400 Message-Id: <98May20.100418edt.11654@janus.tor.securecomputing.com> To: 9fans@cse.psu.edu Subject: Re: [9fans] u9fs and _conform.map In-reply-to: Your message of "Wed, 20 May 1998 05:53:38 EDT." <199805200953.LAA26073@relay.ch.genedata.com> Date: Wed, 20 May 1998 10:02:51 -0400 From: Steve Kotsopoulos Sender: owner-9fans@cse.psu.edu Precedence: bulk Reply-To: 9fans Grab ftp://ftp.ecf.toronto.edu/pub/plan9/steve/fixit It will convert the filenames for you. From owner-9fans Wed May 20 10:27:15 1998 Received: (from majordom@localhost) by cse.psu.edu (8.8.8/8.7.3) id KAA08690 for 9fans-outgoing; Wed, 20 May 1998 10:27:15 -0400 (EDT) X-Authentication-Warning: claven.cse.psu.edu: majordom set sender to owner-9fans using -f Received: from tor.securecomputing.com (tor.securecomputing.com [199.71.190.98]) by cse.psu.edu (8.8.8/8.7.3) with ESMTP id KAA08686 for <9fans@cse.psu.edu>; Wed, 20 May 1998 10:27:09 -0400 (EDT) Received: by janus.tor.securecomputing.com id <11657>; Wed, 20 May 1998 10:28:23 -0400 Message-Id: <98May20.102823edt.11657@janus.tor.securecomputing.com> To: 9fans@cse.psu.edu Subject: Re: [9fans] u9fs and _conform.map In-reply-to: Your message of "Wed, 20 May 1998 10:02:51 EDT." <98May20.100418edt.11654@janus.tor.securecomputing.com> Date: Wed, 20 May 1998 10:26:56 -0400 From: Steve Kotsopoulos Sender: owner-9fans@cse.psu.edu Precedence: bulk Reply-To: 9fans I wrote: > Grab ftp://ftp.ecf.toronto.edu/pub/plan9/steve/fixit > It will convert the filenames for you. sorry, that script was for the 1993 release, so it might not work. From owner-9fans Wed May 20 11:55:42 1998 Received: (from majordom@localhost) by cse.psu.edu (8.8.8/8.7.3) id LAA00699 for 9fans-outgoing; Wed, 20 May 1998 11:55:41 -0400 (EDT) X-Authentication-Warning: claven.cse.psu.edu: majordom set sender to owner-9fans using -f Received: from mail.core.genedata.com (mentolat-e0.core.genedata.com [157.161.173.16]) by cse.psu.edu (8.8.8/8.7.3) with ESMTP id LAA00688 for <9fans@cse.psu.edu>; Wed, 20 May 1998 11:55:30 -0400 (EDT) From: Elliott.Hughes@genedata.com Received: from relay.ch.genedata.com (pinatubo.ch.genedata.com [157.161.173.32]) by mail.core.genedata.com (8.9.0/8.9.0) with ESMTP id RAA23142 for <9fans@cse.psu.edu>; Wed, 20 May 1998 17:55:07 +0200 Received: from stromboli.ch.genedata.com (IDENT:enh@stromboli.ch.genedata.com [157.161.173.184]) by relay.ch.genedata.com (8.9.0/8.9.0) with SMTP id RAA05343 for <9fans@cse.psu.edu>; Wed, 20 May 1998 17:55:06 +0200 (CEST) Date: Wed, 20 May 1998 17:55:06 +0200 (CEST) Message-Id: <199805201555.RAA05343@relay.ch.genedata.com> To: 9fans@cse.psu.edu Subject: Re: re: [9fans] u9fs and _conform.map Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-9fans@cse.psu.edu Precedence: bulk Reply-To: 9fans > I had a similar problem a couple months ago and solved > it with disk space. Thanks (to everyone else, too). Now I'm off to "create a kfs on sd1". I wish I'd got into this when forsyth was a two-minute walk away! [Logging in to Plan 9 as none this afternoon made me quite nostalgic.] -- http://users.ch.genedata.com/~enh/ From owner-9fans Thu May 21 16:08:17 1998 Received: (from majordom@localhost) by cse.psu.edu (8.8.8/8.7.3) id QAA06259 for 9fans-outgoing; Thu, 21 May 1998 16:08:17 -0400 (EDT) X-Authentication-Warning: claven.cse.psu.edu: majordom set sender to owner-9fans using -f Received: from mailhost.dircon.co.uk (mailhost.dircon.co.uk [194.112.50.75]) by cse.psu.edu (8.8.8/8.7.3) with ESMTP id QAA06255 for <9fans@cse.psu.edu>; Thu, 21 May 1998 16:08:12 -0400 (EDT) Received: from cthulhu.dircon.co.uk (digbyt@cthulhu.dircon.co.uk [194.112.45.202]) by mailhost.dircon.co.uk (8.8.8/8.8.7) with ESMTP id VAA19726 for <9fans@cse.psu.edu>; Thu, 21 May 1998 21:08:08 +0100 (BST) Received: (from digbyt@localhost) by cthulhu.dircon.co.uk (8.8.4/8.7.3) id VAA04101 for 9fans@cse.psu.edu; Thu, 21 May 1998 21:08:00 +0100 (BST) Message-Id: <199805212008.VAA04101@cthulhu.dircon.co.uk> Subject: [9fans] libretto? To: 9fans@cse.psu.edu Date: Thu, 21 May 1998 21:07:59 +0100 (BST) From: Digby Tarvin Reply-To: digbyt@acm.org (Digby Tarvin) X-Face: &(//%&/WHJk7>_lW'@YYeED-qsdBV8&h3_Hpn/0.9_=}vTk}5u/2l=Mx&rX!\.i9X{(S@nk[we'a|IX#|?jmh`(j}a+\C5/> %DpYTPd<7jF2V b[Z.TjttL[FMm_$Z$^#qd62A:T.qw7}0S\o.Or_|I 2t~t0D=eCU"S?ls%(Ro X-Pgp-Key-Fingerprint: 61 E7 39 FE 4A F4 CA F3 F5 5E BB 45 26 EC 36 3C X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-9fans@cse.psu.edu Precedence: bulk Reply-To: 9fans Just wondering if anyone has looked at the feasibility of running Plan9 on a libretto? Regards, DigbyT -- Digby R. S. Tarvin digbyt@acm.org http://www.cthulhu.dircon.co.uk From owner-9fans Sun May 31 22:21:08 1998 Received: (from majordom@localhost) by cse.psu.edu (8.8.8/8.7.3) id WAA11647 for 9fans-outgoing; Sun, 31 May 1998 22:21:08 -0400 (EDT) X-Authentication-Warning: claven.cse.psu.edu: majordom set sender to owner-9fans using -f Received: from vega.aichi-u.ac.jp (vega.aichi-u.ac.jp [202.16.124.3]) by cse.psu.edu (8.8.8/8.7.3) with ESMTP id WAA11638 for <9fans@cse.psu.edu>; Sun, 31 May 1998 22:20:58 -0400 (EDT) Received: by vega.aichi-u.ac.jp (8.8.5+2.7Wbeta5/3.6W) id LAA18829; Mon, 1 Jun 1998 11:30:23 +0900 (JST) Received: by ken.aichi-u.ac.jp (NX5.67f/NX3.0S) id AA08324; Mon, 1 Jun 98 11:21:48 +0900 Message-Id: <9806010221.AA08324@ken.aichi-u.ac.jp> Content-Type: text/plain Mime-Version: 1.0 (NeXT Mail 3.3J v130.3) X-Nextstep-Mailer: Mail 3.3J (Enhance 2.0b6) Received: by NeXT.Mailer (1.130.3) From: Kenji Arisawa Date: Mon, 1 Jun 98 11:21:47 +0900 To: 9fans@vega.aichi-u.ac.jp Subject: [9fans] A patch to fs Reply-To: arisawa@aichi-u.ac.jp Sender: owner-9fans@cse.psu.edu Precedence: bulk Reply-To: 9fans Hello 9fans! Does anyone has a patch to fs that enables to get current config status? Thanks, Arisawa Kenji E-mail: arisawa@aichi-u.ac.jp