From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Date: Wed, 31 Mar 2010 08:24:23 +0300 Message-ID: From: ruel hernandez To: 9fans@9fans.net Content-Type: multipart/alternative; boundary=00151747bdd68244fc048311f56a Subject: [9fans] using usb Topicbox-Message-UUID: fa117d02-ead5-11e9-9d60-3106f5b1d025 --00151747bdd68244fc048311f56a Content-Type: text/plain; charset=ISO-8859-1 hi to all, i'm a new plan9 user, i just wanted to know how to use my usb in plan9. because i have a pdf file about plan9 and i would like to read it in plan9 anybody? please help. thanks in advance, ru60hzatgmaildotcom --00151747bdd68244fc048311f56a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
hi to all,
=A0
i'm a new plan9 user, i just wanted to know how to use my usb in p= lan9. because i have a pdf file about plan9 and i would like to read it in = plan9
=A0
anybody? please help.
=A0
thanks in advance,
ru60hzatgmaildotcom
=A0
--00151747bdd68244fc048311f56a-- From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: From: Sergey Zhilkin Date: Wed, 31 Mar 2010 11:53:54 +0400 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=0016e6d99fb966f9540483140d2c Subject: Re: [9fans] using usb Topicbox-Message-UUID: fa17c612-ead5-11e9-9d60-3106f5b1d025 --0016e6d99fb966f9540483140d2c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello ! Usb disk ??? On Wed, Mar 31, 2010 at 9:24 AM, ruel hernandez wrote: > hi to all, > > i'm a new plan9 user, i just wanted to know how to use my usb in plan9. > because i have a pdf file about plan9 and i would like to read it in plan= 9 > > anybody? please help. > > thanks in advance, > ru60hzatgmaildotcom > > --=20 =D0=A1 =D0=BD=D0=B0=D0=B8=D0=BB=D1=83=D1=87=D1=88=D0=B8=D0=BC=D0=B8 =D0=BF= =D0=BE=D0=B6=D0=B5=D0=BB=D0=B0=D0=BD=D0=B8=D1=8F=D0=BC=D0=B8 =D0=96=D0=B8=D0=BB=D0=BA=D0=B8=D0=BD =D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9 With best regards Zhilkin Sergey --0016e6d99fb966f9540483140d2c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello !

Usb disk ???


On Wed, M= ar 31, 2010 at 9:24 AM, ruel hernandez <ru60hz@gmail.com> wrote:
hi to all,
=C2=A0
i'm a new plan9 user, i just wanted to know how to use my usb in p= lan9. because i have a pdf file about plan9 and i would like to read it in = plan9
=C2=A0
anybody? please help.
=C2=A0
thanks in advance,
ru60hzatgmaildotcom
=C2=A0



--
=D0=A1 =D0=BD=D0=B0=D0= =B8=D0=BB=D1=83=D1=87=D1=88=D0=B8=D0=BC=D0=B8 =D0=BF=D0=BE=D0=B6=D0=B5=D0= =BB=D0=B0=D0=BD=D0=B8=D1=8F=D0=BC=D0=B8
=D0=96=D0=B8=D0=BB=D0=BA=D0=B8= =D0=BD =D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9
With best regards
Zhilkin= Sergey
--0016e6d99fb966f9540483140d2c-- From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: From: Sergey Zhilkin Date: Wed, 31 Mar 2010 11:56:19 +0400 Message-ID: To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=0016e65ae6820a3f51048314161b Subject: Re: [9fans] using usb Topicbox-Message-UUID: fa1d825a-ead5-11e9-9d60-3106f5b1d025 --0016e65ae6820a3f51048314161b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable man 4 usb On Wed, Mar 31, 2010 at 9:24 AM, ruel hernandez wrote: > hi to all, > > i'm a new plan9 user, i just wanted to know how to use my usb in plan9. > because i have a pdf file about plan9 and i would like to read it in plan= 9 > > anybody? please help. > > thanks in advance, > ru60hzatgmaildotcom > > --=20 =D0=A1 =D0=BD=D0=B0=D0=B8=D0=BB=D1=83=D1=87=D1=88=D0=B8=D0=BC=D0=B8 =D0=BF= =D0=BE=D0=B6=D0=B5=D0=BB=D0=B0=D0=BD=D0=B8=D1=8F=D0=BC=D0=B8 =D0=96=D0=B8=D0=BB=D0=BA=D0=B8=D0=BD =D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9 With best regards Zhilkin Sergey --0016e65ae6820a3f51048314161b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable man 4 usb

On Wed, Mar 31, 2010 at 9:24 AM= , ruel hernandez <= ru60hz@gmail.com> wrote:
hi to all,
=C2=A0
i'm a new plan9 user, i just wanted to know how to use my usb in p= lan9. because i have a pdf file about plan9 and i would like to read it in = plan9
=C2=A0
anybody? please help.
=C2=A0
thanks in advance,
ru60hzatgmaildotcom
=C2=A0



--
=D0=A1 =D0=BD=D0=B0=D0= =B8=D0=BB=D1=83=D1=87=D1=88=D0=B8=D0=BC=D0=B8 =D0=BF=D0=BE=D0=B6=D0=B5=D0= =BB=D0=B0=D0=BD=D0=B8=D1=8F=D0=BC=D0=B8
=D0=96=D0=B8=D0=BB=D0=BA=D0=B8= =D0=BD =D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9
With best regards
Zhilkin= Sergey
--0016e65ae6820a3f51048314161b-- From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 31 Mar 2010 10:10:42 +0200 Message-ID: From: Francisco J Ballesteros To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] using usb Topicbox-Message-UUID: fa23e30c-ead5-11e9-9d60-3106f5b1d025 plug it, run usbfat: and go to /n... see its man page. On Wednesday, March 31, 2010, ruel hernandez wrote: > hi to all, > > i'm a new plan9 user, i just wanted to know how to use my usb in plan9. because i have a pdf file about plan9 and i would like to read it in plan9 > > anybody? please help. > > thanks in advance, > ru60hzatgmaildotcom > > From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 31 Mar 2010 05:49:53 -0600 To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net>, "Francisco J Ballesteros" From: "EBo" Message-ID: In-Reply-To: References: , Subject: Re: [9fans] using usb Topicbox-Message-UUID: fa28ee88-ead5-11e9-9d60-3106f5b1d025 > plug it, run usbfat: > and go to /n... > > see its man page. usbfat: does not work consistently on my machines, but I was not going to mention that until I spent enough time to try to figure out why. So, try it, it might work for you. If it does not also try running usb/disk /dev/sdU* (where * is the usb device) and then try running usbfat: For some reason that seems to work for me most of the time. As a note, the problem with the USB is probably more systemic -- I even lost my USB mouse for awhile after I rebooted into Linux. I had to unplug the machine a couple of times before it came back. Not sure what's up with that. EBo -- From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Wed, 31 Mar 2010 14:17:54 +0200 Message-ID: From: Francisco J Ballesteros To: ebo@sandien.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] using usb Topicbox-Message-UUID: fa3e4648-ead5-11e9-9d60-3106f5b1d025 If you have some problems I could reproduce, I'd like to know. thanks On Wed, Mar 31, 2010 at 1:49 PM, EBo wrote: > >> plug it, run usbfat: >> and go to /n... >> >> see its man page. > > usbfat: does not work consistently on my machines, but I was not going to > mention that until I spent enough time to try to figure out why. =C2=A0So= , try it, > it might work for you. =C2=A0If it does not also try running usb/disk /de= v/sdU* > (where * is the usb device) and then try running usbfat: =C2=A0For some r= eason that > seems to work for me most of the time. > > As a note, the problem with the USB is probably more systemic -- I even l= ost > my USB mouse for awhile after I rebooted into Linux. =C2=A0I had to unplu= g the > machine a couple of times before it came back. =C2=A0Not sure what's up w= ith that. > > =C2=A0EBo -- > > > From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <033c8cd7947f7f7c2eded21499966f95@hera.eonet.ne.jp> To: ebo@sandien.com, 9fans@9fans.net Date: Wed, 31 Mar 2010 21:42:22 +0900 From: kokamoto@hera.eonet.ne.jp In-Reply-To: MIME-Version: 1.0 Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] using usb Topicbox-Message-UUID: fa54e2b8-ead5-11e9-9d60-3106f5b1d025 > usbfat: does not work consistently on my machines, because you are using Erik's plan9.iso. The usb driver in that kernel and /sys/src/cmd/usb files are older than the formal distribution of plan9.iso. Kenji From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <76881eccb4509e7a4642deaf6843a3c5@hera.eonet.ne.jp> To: 9fans@9fans.net Date: Wed, 31 Mar 2010 21:43:07 +0900 From: kokamoto@hera.eonet.ne.jp In-Reply-To: MIME-Version: 1.0 Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] using usb Topicbox-Message-UUID: fa4edeea-ead5-11e9-9d60-3106f5b1d025 > usbfat: does not work consistently on my machines, because you are using Erik's plan9.iso. The usb driver in that kernel and /sys/src/cmd/usb files are older than the formal distribution of plan9.iso. Kenji From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Wed, 31 Mar 2010 08:56:26 -0400 To: 9fans@9fans.net Message-ID: In-Reply-To: <76881eccb4509e7a4642deaf6843a3c5@hera.eonet.ne.jp> References: <76881eccb4509e7a4642deaf6843a3c5@hera.eonet.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] using usb Topicbox-Message-UUID: fa5acd72-ead5-11e9-9d60-3106f5b1d025 > because you are using Erik's plan9.iso. > The usb driver in that kernel and /sys/src/cmd/usb files are older than the formal > distribution of plan9.iso. that's not true. - erik From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <76881eccb4509e7a4642deaf6843a3c5@hera.eonet.ne.jp> Date: Wed, 31 Mar 2010 16:30:55 +0200 Message-ID: From: Francisco J Ballesteros To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] using usb Topicbox-Message-UUID: fa60ef7c-ead5-11e9-9d60-3106f5b1d025 One thing that could still happen is that at some point there was a change in both kernel and user programs that made incompatible using new binaries with old kernels (and maybe viceversa). That won't happen again, but just in case it's still bothering some of you I thought it's worth to say it again. Sorry. On Wed, Mar 31, 2010 at 2:56 PM, erik quanstrom wrote: >> because you are using Erik's plan9.iso. >> The usb driver in that kernel and /sys/src/cmd/usb files are older than the formal >> distribution of plan9.iso. > > that's not true. > > - erik > > From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 31 Mar 2010 08:41:05 -0600 To: "Francisco J Ballesteros" , From: "EBo" Message-ID: In-Reply-To: References: , Cc: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Subject: Re: [9fans] using usb Topicbox-Message-UUID: fa6db824-ead5-11e9-9d60-3106f5b1d025 Francisco J Ballesteros said: > If you have some problems I could reproduce, I'd like to know. certainly! Figuring this out is much lower on my priority list than finishing my GSoC applications and moving forward on some technical stuff for my thesis, but is annoying enough that I'll probably get back at it sooner than later. If I do not write you with some info within the next two weeks, give me a ping and that will probably be a good window of opportunity. I may have simply forgot. One thing that I have noticed though is that if I boot the machine with the thumb drive in, then it often comes right up. I do not know enough about Plan 9 devices and drivers yet to say much about that... As a note, the BIOS on my primary machine is really buggy, and there are actual configurations which cause the machine to reboot in the middle of posting and it never even gets to the point of reading any MBR or boot device (just starting up, and up, and up...) It may be that the current configuration is not quite stable enough and is screwing with the usbdevices. I actually need to post a couple of bug reports to Gateway (now I am begging to remember why I swore off buying their products 20 years ago...) Thanks and best regards, EBo -- > thanks > > On Wed, Mar 31, 2010 at 1:49 PM, EBo wrote: > > > >> plug it, run usbfat: > >> and go to /n... > >> > >> see its man page. > > > > usbfat: does not work consistently on my machines, but I was not going to > > mention that until I spent enough time to try to figure out why.  So, try it, > > it might work for you.  If it does not also try running usb/disk /dev/sdU* > > (where * is the usb device) and then try running usbfat:  For some reason that > > seems to work for me most of the time. > > > > As a note, the problem with the USB is probably more systemic -- I even lost > > my USB mouse for awhile after I rebooted into Linux.  I had to unplug the > > machine a couple of times before it came back.  Not sure what's up with that. > > > >  EBo -- > > > > > > > -- From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <1def7da58450822ca7f1519c7e9bc5a6@hera.eonet.ne.jp> To: 9fans@9fans.net Date: Thu, 1 Apr 2010 07:12:36 +0900 From: kokamoto@hera.eonet.ne.jp In-Reply-To: MIME-Version: 1.0 Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] using usb Topicbox-Message-UUID: fab512fa-ead5-11e9-9d60-3106f5b1d025 >> because you are using Erik's plan9.iso. >> The usb driver in that kernel and /sys/src/cmd/usb files are older than the formal >> distribution of plan9.iso. > > that's not true. I really experienced this, too, when I tested your March 24, 2010 9atom.iso. I replaced the devusb.c etc under /sys/src/9/pc and all the files under /sys/src/cmd/usb by those in the formal distribution plan9.iso's ones. Then, the usb disk problem went away. Kenji From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Wed, 31 Mar 2010 18:28:21 -0400 To: 9fans@9fans.net Message-ID: In-Reply-To: <1def7da58450822ca7f1519c7e9bc5a6@hera.eonet.ne.jp> References: <1def7da58450822ca7f1519c7e9bc5a6@hera.eonet.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] using usb Topicbox-Message-UUID: fabaef68-ead5-11e9-9d60-3106f5b1d025 > I really experienced this, too, when I tested your March 24, 2010 9atom.iso. > I replaced the devusb.c etc under /sys/src/9/pc and all the files under /sys/src/cmd/usb > by those in the formal distribution plan9.iso's ones. Then, the usb disk problem went away. ah, thanks for the report. i do have something in there to manage ehci bios handoff, which has been known to go south. (but on some machines, ehci doesn't work without it!) i'll take another look. - erik From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@9fans.net Date: Thu, 1 Apr 2010 10:13:33 +0000 From: "antonio.fin@gmail.com" Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable References: Subject: Re: [9fans] using usb Topicbox-Message-UUID: fb451d5a-ead5-11e9-9d60-3106f5b1d025 when I run usbfat: I got this: bind: #u: unknown device in # filename no #u/usb and there is not any lights from the pendrive, I think that the pendrive is not detected. On Mar 31, 11:12 am, n...@lsub.org (Francisco J Ballesteros) wrote: > plug it, run usbfat: > and go to /n... > > see its man page. > > On Wednesday, March 31, 2010, ruel hernandez wrote: > > hi to all, > > > i'm a new plan9 user, i just wanted to know how to use my usb in plan9. because i have a pdf file about plan9 and i would like to read it in plan9 > > > anybody? please help. > > > thanks in advance, > > ru60hzatgmaildotcom From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 1 Apr 2010 12:24:26 +0200 Message-ID: From: Francisco J Ballesteros To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] using usb Topicbox-Message-UUID: fb59b01c-ead5-11e9-9d60-3106f5b1d025 If you can ls '#U' then you are running an old kernel. If you can't, then you have to include the usb device in your kernel. Either way, it seems your kernel does not have '#u'. On Thu, Apr 1, 2010 at 12:13 PM, antonio.fin@gmail.com wrote: > when I run usbfat: I got this: > bind: #u: unknown device in # filename > no #u/usb > > and there is not any lights from the pendrive, I think that the > pendrive is not detected. > > On Mar 31, 11:12=C3=82=C2=A0am, n...@lsub.org (Francisco J Ballesteros) w= rote: >> plug it, run usbfat: >> and go to /n... >> >> see its man page. >> >> On Wednesday, March 31, 2010, ruel hernandez wrote: >> > hi to all, >> >> > i'm a new plan9 user, i just wanted to know how to use my usb in plan9= . because i have a pdf file about plan9 and i would like to read it in plan= 9 >> >> > anybody? please help. >> >> > thanks in advance, >> > ru60hzatgmaildotcom > > From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <8620f5b87bbbfc30468f7e134aa1acc0@hera.eonet.ne.jp> To: 9fans@9fans.net Date: Thu, 1 Apr 2010 20:11:23 +0900 From: kokamoto@hera.eonet.ne.jp In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] using usb Topicbox-Message-UUID: fb657bc2-ead5-11e9-9d60-3106f5b1d025 Erik thank you for your calm-dowmed reply.=E2=98=BA I know you are doing good job for ahci mode SATA driver for Plan 9. I still have problem with detecting CDROM by the formal distribution driv= er.(Asus P5K-VM) So, I tried your 9atom.iso, and got good feeling with this. Yes, the CDROM was detected successfully! Up-to-now, I only aplied /sys/src/boot/pc drivers, and found strange behaviour of that, say missing 'other' partition in a SATA HDD(only this = partition). It has many partiotions, such as 9fat, fossil, arenas0, isect0~3, swap, c= ache, nvram and other). Then, I used /disk/prep, which reported right partioning, and write it to the disk. Then, I can use other file system. However, when I rebooted the system, then, 'other' partition disappears again. Do you have some idea what's going on here. Kenji From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 1 Apr 2010 06:37:21 -0600 To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net>, "antonio.fin@gmail.com" From: "EBo" Message-ID: In-Reply-To: References: Subject: Re: [9fans] using usb Topicbox-Message-UUID: fb6c150e-ead5-11e9-9d60-3106f5b1d025 > when I run usbfat: I got this: > bind: #u: unknown device in # filename > no #u/usb > > and there is not any lights from the pendrive, I think that the > pendrive is not detected. I know this sounds weird, but unplug the power to the machine for a half minute and power it back up and boot off the same kernel. See if it happens again. I had had my USB ports disappear a couple of times after playing with plan9, and it even persisted after rebooting into Linux. I have no idea what would have caused that, and have not had time to try to reproduce. From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Thu, 1 Apr 2010 09:19:13 -0400 To: 9fans@9fans.net Message-ID: In-Reply-To: <8620f5b87bbbfc30468f7e134aa1acc0@hera.eonet.ne.jp> References: <8620f5b87bbbfc30468f7e134aa1acc0@hera.eonet.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] using usb Topicbox-Message-UUID: fb79e4c2-ead5-11e9-9d60-3106f5b1d025 > Up-to-now, I only aplied /sys/src/boot/pc drivers, and found strange > behaviour of that, say missing 'other' partition in a SATA HDD(only this partition). > It has many partiotions, such as 9fat, fossil, arenas0, isect0~3, swap, cache, nvram and other). > Then, I used /disk/prep, which reported right partioning, and write it > to the disk. Then, I can use other file system. > However, when I rebooted the system, then, 'other' partition disappears > again. > > Do you have some idea what's going on here. i hope i have understood correctly that you applied the partitions which were originally missing with disk/prep -p and rebooted and the partitions didn't reappear. in that case, ... disk/prep -p doesn't write anything to the disk. it just prints a list of partions and ranges, one per line. if you inform sd about partions with disk/prep -p /dev/sdXX/data>/dev/sdXX/ctl again, nothing is written to disk but sd creates the partitions it was told about in memory. and a file with the name of each partition appears. each time the machine is booted, prep must be run. if necessary, diskparts(8) serves this purpose. on the other hand, if 9load provides the kernel with a conf variable sdXXpart, sd with partition sdXX on boot. 9load only automaticly provides this variable if it booted a kernel from sdXX. i have set the variable sda0part for a machine using sas disks because i never bothered porting the driver to 9load but needed a place for nvram. - erik From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <397333a85c5603c75c523f7226746e9b@hera.eonet.ne.jp> To: 9fans@9fans.net Date: Fri, 2 Apr 2010 19:49:32 +0900 From: kokamoto@hera.eonet.ne.jp In-Reply-To: MIME-Version: 1.0 Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] using usb Topicbox-Message-UUID: fbcc42a8-ead5-11e9-9d60-3106f5b1d025 This machine is in my business room, and I cannot touch it until next monday. So I cannot report the info of seE0part of this machine now. However, I'll retry what happened here. 1) replaced only /sys/src/boot/pc/sdiahci.c from the format CDROM to your 9atom CDROM. 2) It booted nicely, meaning no long wait to detect and fail CDROM 3) system came up safely, and I can do anything, but only no /dev/sdE0/other directory. 4) Then, I dispatched the disk/prep command interacyively. 5) Yes, it reports the right partition table including 'other' 6) then, I wrote the table to the disk. 7) exit disk/prep 8) Now, I see /dev/sdE0/other directory. 9) therefore, ofcourse, I can mount that partion safely. 10) however, after end the session, and rebooted the system again, then, /dev/sdE0/other disappeared again. This the precise story I experienced. Kenji PS. I can see the list only after next Monday night. From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Fri, 2 Apr 2010 06:56:27 -0400 To: 9fans@9fans.net Message-ID: <963ad4156c2cc7d24cee0a0143fda9b8@ladd.quanstro.net> In-Reply-To: <397333a85c5603c75c523f7226746e9b@hera.eonet.ne.jp> References: <397333a85c5603c75c523f7226746e9b@hera.eonet.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] using usb Topicbox-Message-UUID: fbdbd8b2-ead5-11e9-9d60-3106f5b1d025 > 1) replaced only /sys/src/boot/pc/sdiahci.c from the format CDROM > to your 9atom CDROM. > 2) It booted nicely, meaning no long wait to detect and fail CDROM > 3) system came up safely, and I can do anything, but only no /dev/sdE0/other > directory. > 4) Then, I dispatched the disk/prep command interacyively. > 5) Yes, it reports the right partition table including 'other' > 6) then, I wrote the table to the disk. > 7) exit disk/prep > 8) Now, I see /dev/sdE0/other directory. > 9) therefore, ofcourse, I can mount that partion safely. > 10) however, after end the session, and rebooted the system again, then, > /dev/sdE0/other disappeared again. > > This the precise story I experienced. you need to run prep every time you boot. - erik From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Date: Sun, 4 Apr 2010 04:41:59 +0000 Message-ID: From: ruel hernandez To: 9fans@9fans.net Content-Type: multipart/alternative; boundary=0015174be91e4349ae048361d5bc Subject: Re: [9fans] using usb Topicbox-Message-UUID: fc3a629c-ead5-11e9-9d60-3106f5b1d025 --0015174be91e4349ae048361d5bc Content-Type: text/plain; charset=ISO-8859-1 I'm sorry about yesterday sir, I forgot to edit the subject, anyway. when I run; % cat /dev/usb/ctl % ep1.0 enabled control rw speed full maxpkt 64 pollival 0 samplesz 0 hz 0 hub 0 port 0 busy roothub csp 0x000009 port 3 ep2.0 enabled control rw speed full maxpkt 64 pollival 0 samplesz 0 hz 0 hub 0 port 0 busy this is the same output even the usb is unplugged. by the way i'm using a 2gb sd here, connected to a card reader + 3 port usb hub connected to my computer usb port 1. any way after that i made some experiment and here are the result. reboot using a usb keyboard: cpu0: 2019 mhz genuine intel pentium IV/Xeon cpuid: ax 0x0f27 dx 0xbfebfbff ELCR:0A20 pci routing:ignoring south bridge pci 0.0.01039/0650 #u/usb/ep1.0:ohci:port 0xE0000000 irq9 #u/usb/ep2.0:ohci:port 0xE0001000 irq11 224 memory: 92 M kernel data,132M user,507Mswap usbd... usb/kb... root is from(tcp,local)[local!#S/sdC0/fossil]panic:ohci:full packet but cbp != 0 panic:ohci: full packet but cbp != 0 dump stack disabled cpu: exiting reboot using usb mouse: ....same as above here. usbd.../boot/usbd: /dev/usb/cp3.0: warning: device with short descriptor On 4/3/10, 9fans-request@9fans.net <9fans-request@9fans.net> wrote: > > Send 9fans mailing list submissions to > 9fans@9fans.net > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.9fans.net/listinfo/9fans > or, via email, send a message with subject or body 'help' to > 9fans-request@9fans.net > > You can reach the person managing the list at > 9fans-owner@9fans.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of 9fans digest..." > > > Today's Topics: > > 1. Re: 9fans Digest, Vol 72, Issue 4 (ruel hernandez) > 2. Re: 9fans Digest, Vol 72, Issue 4 (Francisco J Ballesteros) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 3 Apr 2010 03:30:25 +0000 > From: ruel hernandez > Subject: Re: [9fans] 9fans Digest, Vol 72, Issue 4 > To: 9fans@9fans.net > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > In my case, when i run; > > %usbfat: > %no usb disk > > what could be the problem? > as of now i'm reading the intro to operating sysrems abstraction by > Francisco Ballesteros from linux then try out the programs there > in plan9. > > > On 4/2/10, 9fans-request@9fans.net <9fans-request@9fans.net> wrote: > > > > Send 9fans mailing list submissions to > > 9fans@9fans.net > > > > To subscribe or unsubscribe via the World Wide Web, visit > > http://mail.9fans.net/listinfo/9fans > > or, via email, send a message with subject or body 'help' to > > 9fans-request@9fans.net > > > > You can reach the person managing the list at > > 9fans-owner@9fans.net > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of 9fans digest..." > > > > > > Today's Topics: > > > > 1. Re: using usb (kokamoto@hera.eonet.ne.jp) > > 2. Re: using usb (erik quanstrom) > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Fri, 2 Apr 2010 19:49:32 +0900 > > From: kokamoto@hera.eonet.ne.jp > > Subject: Re: [9fans] using usb > > To: 9fans@9fans.net > > Message-ID: <397333a85c5603c75c523f7226746e9b@hera.eonet.ne.jp> > > Content-Type: text/plain; charset="US-ASCII" > > > > This machine is in my business room, and I cannot touch it until next > > monday. > > > > So I cannot report the info of seE0part of this machine now. > > However, I'll retry what happened here. > > > > 1) replaced only /sys/src/boot/pc/sdiahci.c from the format CDROM > > to your 9atom CDROM. > > 2) It booted nicely, meaning no long wait to detect and fail CDROM > > 3) system came up safely, and I can do anything, but only no > > /dev/sdE0/other > > directory. > > 4) Then, I dispatched the disk/prep command interacyively. > > 5) Yes, it reports the right partition table including 'other' > > 6) then, I wrote the table to the disk. > > 7) exit disk/prep > > 8) Now, I see /dev/sdE0/other directory. > > 9) therefore, ofcourse, I can mount that partion safely. > > 10) however, after end the session, and rebooted the system again, then, > > /dev/sdE0/other disappeared again. > > > > This the precise story I experienced. > > > > Kenji > > > > PS. I can see the list only after next Monday night. > > > > > > > > > > ------------------------------ > > > > Message: 2 > > Date: Fri, 2 Apr 2010 06:56:27 -0400 > > From: erik quanstrom > > Subject: Re: [9fans] using usb > > To: 9fans@9fans.net > > Message-ID: <963ad4156c2cc7d24cee0a0143fda9b8@ladd.quanstro.net> > > Content-Type: text/plain; charset="US-ASCII" > > > > > 1) replaced only /sys/src/boot/pc/sdiahci.c from the format CDROM > > > to your 9atom CDROM. > > > 2) It booted nicely, meaning no long wait to detect and fail CDROM > > > 3) system came up safely, and I can do anything, but only no > > /dev/sdE0/other > > > directory. > > > 4) Then, I dispatched the disk/prep command interacyively. > > > 5) Yes, it reports the right partition table including 'other' > > > 6) then, I wrote the table to the disk. > > > 7) exit disk/prep > > > 8) Now, I see /dev/sdE0/other directory. > > > 9) therefore, ofcourse, I can mount that partion safely. > > > 10) however, after end the session, and rebooted the system again, > then, > > > /dev/sdE0/other disappeared again. > > > > > > This the precise story I experienced. > > > > you need to run prep every time you boot. > > > > - erik > > > > > > > > End of 9fans Digest, Vol 72, Issue 4 > > ************************************ > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://mail.9fans.net/private/9fans/attachments/20100403/86d46727/attachment.html > > > > ------------------------------ > > Message: 2 > Date: Sat, 3 Apr 2010 12:24:12 +0200 > From: Francisco J Ballesteros > Subject: Re: [9fans] 9fans Digest, Vol 72, Issue 4 > To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> > Message-ID: > > Content-Type: text/plain; charset=UTF-8 > > What's /dev/usb/ctl > on your system after plugging your disk? > That may give a clue. > > > On Sat, Apr 3, 2010 at 5:30 AM, ruel hernandez wrote: > > In my case, when i run; > > > > %usbfat: > > %no usb disk > > > > what could be the problem? > > as of now i'm reading the intro to operating sysrems abstraction by > > Francisco Ballesteros from? linux then try? out the programs there > > in plan9. > > > > > > On 4/2/10, 9fans-request@9fans.net <9fans-request@9fans.net> wrote: > >> > >> Send 9fans mailing list submissions to > >> ?????? 9fans@9fans.net > >> > >> To subscribe or unsubscribe via the World Wide Web, visit > >> ?????? http://mail.9fans.net/listinfo/9fans > >> or, via email, send a message with subject or body 'help' to > >> ?????? 9fans-request@9fans.net > >> > >> You can reach the person managing the list at > >> ?????? 9fans-owner@9fans.net > >> > >> When replying, please edit your Subject line so it is more specific > >> than "Re: Contents of 9fans digest..." > >> > >> > >> Today's Topics: > >> > >> ??1. Re: using usb (kokamoto@hera.eonet.ne.jp) > >> ??2. Re: using usb (erik quanstrom) > >> > >> > >> ---------------------------------------------------------------------- > >> > >> Message: 1 > >> Date: Fri, 2 Apr 2010 19:49:32 +0900 > >> From: kokamoto@hera.eonet.ne.jp > >> Subject: Re: [9fans] using usb > >> To: 9fans@9fans.net > >> Message-ID: <397333a85c5603c75c523f7226746e9b@hera.eonet.ne.jp> > >> Content-Type: text/plain; charset="US-ASCII" > >> > >> This machine is in my business room, and I cannot touch it until next > >> monday. > >> > >> So I cannot report the info of seE0part of this machine now. > >> However, I'll retry what happened here. > >> > >> 1) replaced only /sys/src/boot/pc/sdiahci.c from the format CDROM > >> to your 9atom CDROM. > >> 2) It booted nicely, meaning no long wait to detect and fail CDROM > >> 3) system came up safely, and I can do anything, but only no > >> /dev/sdE0/other > >> directory. > >> 4) Then, I dispatched the disk/prep command interacyively. > >> 5) Yes, it reports the right partition table including 'other' > >> 6) then, I wrote the table to the disk. > >> 7) exit disk/prep > >> 8) Now, I see /dev/sdE0/other directory. > >> 9) therefore, ofcourse, I can mount that partion safely. > >> 10) however, after end the session, and rebooted the system again, then, > >> /dev/sdE0/other disappeared again. > >> > >> This the precise story I experienced. > >> > >> Kenji > >> > >> PS. I can see the list only after next Monday night. > >> > >> > >> > >> > >> ------------------------------ > >> > >> Message: 2 > >> Date: Fri, 2 Apr 2010 06:56:27 -0400 > >> From: erik quanstrom > >> Subject: Re: [9fans] using usb > >> To: 9fans@9fans.net > >> Message-ID: <963ad4156c2cc7d24cee0a0143fda9b8@ladd.quanstro.net> > >> Content-Type: text/plain; charset="US-ASCII" > >> > >> > 1) replaced only /sys/src/boot/pc/sdiahci.c from the format CDROM > >> > to your 9atom CDROM. > >> > 2) It booted nicely, meaning no long wait to detect and fail CDROM > >> > 3) system came up safely, and I can do anything, but only no > >> > /dev/sdE0/other > >> > directory. > >> > 4) Then, I dispatched the disk/prep command interacyively. > >> > 5) Yes, it reports the right partition table including 'other' > >> > 6) then, I wrote the table to the disk. > >> > 7) exit disk/prep > >> > 8) Now, I see /dev/sdE0/other directory. > >> > 9) therefore, ofcourse, I can mount that partion safely. > >> > 10) however, after end the session, and rebooted the system again, > then, > >> > /dev/sdE0/other disappeared again. > >> > > >> > This the precise story I experienced. > >> > >> you need to run prep every time you boot. > >> > >> - erik > >> > >> > >> > >> End of 9fans Digest, Vol 72, Issue 4 > >> ************************************ > > > > > > > > End of 9fans Digest, Vol 72, Issue 5 > ************************************ > --0015174be91e4349ae048361d5bc Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I'm sorry about yesterday sir, I forgot to edit the subject, anywa= y.
when I run;
=A0=A0=A0 % cat /dev/usb/ctl
=A0=A0=A0 % ep1.0 enabled control rw speed full maxpkt 64 pollival 0 s= amplesz 0 hz 0 hub 0 port 0 busy
=A0=A0=A0 roothub csp 0x000009 port 3
=A0=A0=A0=A0=A0=A0=A0 ep2.0 enabled control rw speed full maxpkt 64 po= llival 0 samplesz 0 hz
0 hub 0 port 0 busy
=A0=A0=A0
this is the same output even the usb is unplugged. by the way i'm = using a 2gb sd here, connected to a card reader + 3 port usb hub connected = to my computer usb port 1. any way after that i made some experiment and he= re are the result.
reboot using a usb keyboard:
cpu0: 2019 mhz genuine intel pentium IV/Xeon cpuid: ax 0x0f27 dx 0xbfe= bfbff
ELCR:0A20
pci routing:ignoring south bridge pci 0.0.01039/0650
#u/usb/ep1.0:ohci:port 0xE0000000 irq9
#u/usb/ep2.0:ohci:port 0xE0001000 irq11
224 memory: 92 M kernel data,132M user,507Mswap
usbd... usb/kb... root is from(tcp,local)[local!#S/sdC0/fossil]panic:o= hci:full
packet but cbp !=3D 0
panic:ohci: full packet but cbp !=3D 0
dump stack disabled
cpu: exiting
=A0
reboot using usb mouse:
....same as above here.
usbd.../boot/usbd: /dev/usb/cp3.0: warning: device with short descript= or
=A0
=A0


=A0
On 4/3/10, <= a href=3D"mailto:9fans-request@9fans.net">9fans-request@9fans.net &= lt;9fans-request@9fans.net&g= t; wrote:
Send 9fans mailing list submissi= ons to
=A0=A0=A0=A0=A0=A0 9fans@9fans= .net

To subscribe or unsubscribe via the World Wide Web, visit
=A0=A0=A0=A0= =A0=A0 http://mail.9fans.n= et/listinfo/9fans
or, via email, send a message with subject or body= 'help' to
=A0=A0=A0=A0=A0=A0 9fans-request= @9fans.net

You can reach the person managing the list at
=A0= =A0=A0=A0=A0=A0 9fans-owner@9fans.= net

When replying, please edit your Subject line so it is more s= pecific
than "Re: Contents of 9fans digest..."


Today's Top= ics:

=A0=A01. Re: 9fans Digest, Vol 72, Issue 4 (ruel hernandez)
= =A0=A02. Re: 9fans Digest, Vol 72, Issue 4 (Francisco J Ballesteros)

----------------------------------------------------------------------
<= br>Message: 1
Date: Sat, 3 Apr 2010 03:30:25 +0000
From: ruel hernand= ez <ru60hz@gmail.com>
Subj= ect: Re: [9fans] 9fans Digest, Vol 72, Issue 4
To: 9fans@9fans.net
Message-ID:=A0=A0=A0=A0=A0=A0 <z2xaff529401004022030i635a361bj9a18a668654e= 3921@mail.gmail.com>
Content-Type: text/plain; charset=3D"iso-8859-1"

In my cas= e, when i run;

%usbfat:
%no usb disk

what could be the pro= blem?
as of now i'm reading the intro to operating sysrems abstracti= on by
Francisco Ballesteros from=A0=A0linux then try=A0=A0out the programs there<= br>in plan9.


On 4/2/10, 9fans-request@9fans.net <9fans-request@9fans.net> wrote:
>
> Send 9fans mailing list submissions to
>=A0=A0=A0=A0=A0= =A0=A0=A09fans@9fans.net
>
= > To subscribe or unsubscribe via the World Wide Web, visit
>=A0= =A0=A0=A0=A0=A0=A0=A0http:= //mail.9fans.net/listinfo/9fans
> or, via email, send a message with subject or body 'help' to>=A0=A0=A0=A0=A0=A0=A0=A09f= ans-request@9fans.net
>
> You can reach the person managing= the list at
>=A0=A0=A0=A0=A0=A0=A0=A09fans-= owner@9fans.net
>
> When replying, please edit your Subject= line so it is more specific
> than "Re: Contents of 9fans diges= t..."
>
>
> Today's Topics:
>
>=A0=A0 1. Re: using= usb (kokamoto@hera.eonet.ne.j= p)
>=A0=A0 2. Re: using usb (erik quanstrom)
>
>
&= gt; ----------------------------------------------------------------------<= br> >
> Message: 1
> Date: Fri, 2 Apr 2010 19:49:32 +0900
>= ; From: kokamoto@hera.eonet.ne= .jp
> Subject: Re: [9fans] using usb
> To: 9fans@9fans.net
> Message-ID: <397333a85c5603c75c523f7226746e9b@hera.eonet.ne.jp>> Content-Type: text/plain; charset=3D"US-ASCII"
>
&= gt; This machine is in my business room, and I cannot touch it until next > monday.
>
> So I cannot report the info of seE0part of thi= s machine now.
> However, I'll retry what happened here.
><= br>> 1) replaced only /sys/src/boot/pc/sdiahci.c from the format CDROM > to your 9atom CDROM.
> 2) It booted nicely, meaning no long wait= to detect and fail CDROM
> 3) system came up safely, and I can do an= ything, but only no
> /dev/sdE0/other
> directory.
> 4) T= hen, I dispatched the disk/prep command interacyively.
> 5) Yes, it reports the right partition table including 'other'=
> 6) then, I wrote the table to the disk.
> 7) exit disk/prep<= br>> 8) Now, I see /dev/sdE0/other directory.
> 9) therefore, ofco= urse, I can mount that partion safely.
> 10) however, after end the session, and rebooted the system again, the= n,
> /dev/sdE0/other disappeared again.
>
> This the prec= ise story I experienced.
>
> Kenji
>
> PS. I can se= e the list only after next Monday night.
>
>
>
>
> ------------------------------
>=
> Message: 2
> Date: Fri, 2 Apr 2010 06:56:27 -0400
> Fr= om: erik quanstrom <quanstro@qu= anstro.net>
> Subject: Re: [9fans] using usb
> To: 9fans@9fans.net
> Message-ID: <963ad4156c2cc7d24cee0a0143fd= a9b8@ladd.quanstro.net>
> Content-Type: text/plain; charset=3D"US-ASCII"
>
&g= t; > 1) replaced only /sys/src/boot/pc/sdiahci.c from the format CDROM> > to your 9atom CDROM.
> > 2) It booted nicely, meaning = no long wait to detect and fail CDROM
> > 3) system came up safely, and I can do anything, but only no
&= gt; /dev/sdE0/other
> > directory.
> > 4) Then, I dispatc= hed the disk/prep command interacyively.
> > 5) Yes, it reports th= e right partition table including 'other'
> > 6) then, I wrote the table to the disk.
> > 7) exit disk= /prep
> > 8) Now, I see /dev/sdE0/other directory.
> > 9)= therefore, ofcourse, I can mount that partion safely.
> > 10) how= ever, after end the session, and rebooted the system again, then,
> > /dev/sdE0/other disappeared again.
> >
> > This= the precise story I experienced.
>
> you need to run prep ever= y time you boot.
>
> - erik
>
>
>
> End= of 9fans Digest, Vol 72, Issue 4
> ************************************
>
-------------- next pa= rt --------------
An HTML attachment was scrubbed...
URL: <http://mail.9fans.net/private/9fans/attachments/20100403/86d467= 27/attachment.html>

------------------------------

Message: 2
Date: Sat, 3 Apr 20= 10 12:24:12 +0200
From: Francisco J Ballesteros <nemo@lsub.org>
Subject: Re: [9fans] 9fans Digest, Vo= l 72, Issue 4
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Message-ID:
=A0=A0=A0=A0=A0=A0 <o2q8ccc8ba41004030324x5181388fmf2134257d8874652@mail.gmail.com> Content-Type: text/plain; charset=3DUTF-8

What's /dev/usb/ctlon your system after plugging your disk?
That may give a clue.

<= br>On Sat, Apr 3, 2010 at 5:30 AM, ruel hernandez <ru60hz@gmail.com> wrote:
> In my case, when i run;
>
> %usbfat:
> %no usb disk<= br>>
> what could be the problem?
> as of now i'm readin= g the intro to operating sysrems abstraction by
> Francisco Ballester= os from? linux then try? out the programs there
> in plan9.
>
>
> On 4/2/10, 9fans-request@9fans.net <9fans-request@9fans.net> wrote:
>>
>= ;> Send 9fans mailing list submissions to
>> ?????? 9fans@9fans.net
&= gt;>
>> To subscribe or unsubscribe via the World Wide Web, vis= it
>> ?????? http= ://mail.9fans.net/listinfo/9fans
>> or, via email, send a message with subject or body 'help' = to
>> ?????? 9fans-requ= est@9fans.net
>>
>> You can reach the person managing= the list at
>> ?????? 9fans-owner@9fans.= net
>>
>> When replying, please edit your Subject lin= e so it is more specific
>> than "Re: Contents of 9fans diges= t..."
>>
>>
>> Today's Topics:
>>
>>= ; ??1. Re: using usb (kokamoto= @hera.eonet.ne.jp)
>> ??2. Re: using usb (erik quanstrom)
>>
>>
>> ------------------------------------------= ----------------------------
>>
>> Message: 1
>>= Date: Fri, 2 Apr 2010 19:49:32 +0900
>> From: kokamoto@hera.eonet.ne.jp
>> Subject: Re: [9fans] using usb
>> To: 9fans@9fans.net
>> Message-ID: <397333a85c5603c75= c523f7226746e9b@hera.eonet.ne.jp>
>> Content-Type: text/plain; charset=3D"US-ASCII"
>&g= t;
>> This machine is in my business room, and I cannot touch it u= ntil next
>> monday.
>>
>> So I cannot report th= e info of seE0part of this machine now.
>> However, I'll retry what happened here.
>>
>>= ; 1) replaced only /sys/src/boot/pc/sdiahci.c from the format CDROM
>= > to your 9atom CDROM.
>> 2) It booted nicely, meaning no long = wait to detect and fail CDROM
>> 3) system came up safely, and I can do anything, but only no
&g= t;> /dev/sdE0/other
>> directory.
>> 4) Then, I dispat= ched the disk/prep command interacyively.
>> 5) Yes, it reports th= e right partition table including 'other'
>> 6) then, I wrote the table to the disk.
>> 7) exit disk/p= rep
>> 8) Now, I see /dev/sdE0/other directory.
>> 9) the= refore, ofcourse, I can mount that partion safely.
>> 10) however,= after end the session, and rebooted the system again, then,
>> /dev/sdE0/other disappeared again.
>>
>> This th= e precise story I experienced.
>>
>> Kenji
>>>> PS. I can see the list only after next Monday night.
>><= br> >>
>>
>>
>> ------------------------------=
>>
>> Message: 2
>> Date: Fri, 2 Apr 2010 06:56= :27 -0400
>> From: erik quanstrom <quanstro@quanstro.net>
>> Subject: Re: [9fans] using usb
>> To: 9fans@9fans.net
>> Message-ID: <963ad4156c2cc7d2= 4cee0a0143fda9b8@ladd.quanstro.net>
>> Content-Type: text/plain; charset=3D"US-ASCII"
>&g= t;
>> > 1) replaced only /sys/src/boot/pc/sdiahci.c from the fo= rmat CDROM
>> > to your 9atom CDROM.
>> > 2) It boo= ted nicely, meaning no long wait to detect and fail CDROM
>> > 3) system came up safely, and I can do anything, but only no<= br>>> > /dev/sdE0/other
>> > directory.
>> &g= t; 4) Then, I dispatched the disk/prep command interacyively.
>> &= gt; 5) Yes, it reports the right partition table including 'other'<= br> >> > 6) then, I wrote the table to the disk.
>> > 7) e= xit disk/prep
>> > 8) Now, I see /dev/sdE0/other directory.
= >> > 9) therefore, ofcourse, I can mount that partion safely.
>> > 10) however, after end the session, and rebooted the system a= gain, then,
>> > /dev/sdE0/other disappeared again.
>>= >
>> > This the precise story I experienced.
>> >> you need to run prep every time you boot.
>>
>> = - erik
>>
>>
>>
>> End of 9fans Digest,= Vol 72, Issue 4
>> ************************************
> >



End of 9fans Digest, Vol 72, Issue 5
***************= *********************

--0015174be91e4349ae048361d5bc-- From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Date: Sun, 4 Apr 2010 22:50:21 -0600 Message-ID: From: ruel hernandez To: 9fans@9fans.net Content-Type: multipart/alternative; boundary=00032555a4e6fe0d1f04837610c9 Subject: Re: [9fans] using usb Topicbox-Message-UUID: fc6c653a-ead5-11e9-9d60-3106f5b1d025 --00032555a4e6fe0d1f04837610c9 Content-Type: text/plain; charset=ISO-8859-1 Boot my plan9 today with my usb connected, it worked! Now i could access my files using my usb. on my system, if it can detect my usb during fresh boot why it can't detect while the system is already running? The introduction on operating system abstraction by Mr. Francisco Ballesteros is nice, very well explained that even a beginner like me could easily understand. thanks On 4/3/10, 9fans-request@9fans.net <9fans-request@9fans.net> wrote: > > Send 9fans mailing list submissions to > 9fans@9fans.net > > To subscribe or unsubscribe via the World Wide Web, visit > http://mail.9fans.net/listinfo/9fans > or, via email, send a message with subject or body 'help' to > 9fans-request@9fans.net > > You can reach the person managing the list at > 9fans-owner@9fans.net > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of 9fans digest..." > > > Today's Topics: > > 1. rc word splitting trouble (Ethan Grammatikidis) > 2. Re: rc word splitting trouble (erik quanstrom) > 3. Re: rc word splitting trouble (Ethan Grammatikidis) > 4. ktrans on p9p (Alex Lee) > 5. tinycore 9vx .tce on sources (ron minnich) > 6. Re: tinycore 9vx .tce on sources (EBo) > 7. Re: tinycore 9vx .tce on sources (Jack Johnson) > 8. cpuid (erik quanstrom) > 9. Re: using usb (ruel hernandez) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 3 Apr 2010 15:21:33 +0100 > From: Ethan Grammatikidis > Subject: [9fans] rc word splitting trouble > To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> > Message-ID: <341DF8C2-A223-49A7-AA6C-65B7FB4C1CF5@fastmail.fm> > Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes > > I'm writing a little web server in rc. For the most part it's been > less trouble than setting up Apache to serve static files, but I've > run into an odd little problem where rc appears to be behaving > differently depending on whether it's run in a script or a terminal. > (Rc & 9term from p9p.) > > I'm testing with url: > http://analytical-reengineering.dre.am/one/two?three+four > > The script separates out the /one/two?three+four into a variable & > then splits that twice, first to get the 'file' part, which it does > correctly, then the arguments, which it has trouble with. You can see > the result at the url above. "three four" appear on 1 line where they > should be two. If I paste the same lines of code into a terminal, the > lines are split correctly: > > % fullloc = '/one/two?three+four' > % params = `{echo $fullloc | sed -e 's;.*\?;;' -e 's;\+; ;g'} > % for(param in $params) echo '
  • '$"param >
  • three >
  • four > > The 2nd and 3rd command lines are copied directly from the script, but > the script itself outputs the following: > >
  • three four > > The sed expressions appear to be working correctly, to my eyes, so I > don't understand what's going on. > > -- > Simplicity does not precede complexity, but follows it. -- Alan Perlis > > > > > ------------------------------ > > Message: 2 > Date: Sat, 3 Apr 2010 10:38:11 -0400 > From: erik quanstrom > Subject: Re: [9fans] rc word splitting trouble > To: 9fans@9fans.net > Message-ID: <79bfa351ebdb8906c17ec13976aa3e15@ladd.quanstro.net> > Content-Type: text/plain; charset="US-ASCII" > > > % fullloc = '/one/two?three+four' > > % params = `{echo $fullloc | sed -e 's;.*\?;;' -e 's;\+; ;g'} > > % for(param in $params) echo '
  • '$"param > >
  • three > >
  • four > > > > The 2nd and 3rd command lines are copied directly from the script, but > > the script itself outputs the following: > > > >
  • three four > > > > The sed expressions appear to be working correctly, to my eyes, so I > > don't understand what's going on. > > i suspect your ifs is set to something funky. > > inserting a "whatis params" in your script would be pretty > interesting. note that gnu sed will eat your regular expression > since you \? is their meta character. > > you can accomplish something that's equivalent in rc without > an explicit loop: > > echo '
  • ' ^ $params > > - erik > > > > ------------------------------ > > Message: 3 > Date: Sat, 3 Apr 2010 18:24:44 +0100 > From: Ethan Grammatikidis > Subject: Re: [9fans] rc word splitting trouble > To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> > Message-ID: <11C11BC0-346A-4E77-9909-B87667FE6EF2@fastmail.fm> > Content-Type: text/plain; charset="us-ascii"; Format="flowed"; > DelSp="yes" > > > On 3 Apr 2010, at 15:38, erik quanstrom wrote: > > >> % fullloc = '/one/two?three+four' > >> % params = `{echo $fullloc | sed -e 's;.*\?;;' -e 's;\+; ;g'} > >> % for(param in $params) echo '
  • '$"param > >>
  • three > >>
  • four > >> > >> The 2nd and 3rd command lines are copied directly from the script, > >> but > >> the script itself outputs the following: > >> > >>
  • three four > >> > >> The sed expressions appear to be working correctly, to my eyes, so I > >> don't understand what's going on. > > > > i suspect your ifs is set to something funky. > > > > inserting a "whatis params" in your script would be pretty > > interesting. note that gnu sed will eat your regular expression > > since you \? is their meta character. > > sed is p9p sed, verified with which, but ty. > > You're right about ifs, "whatis ifs" showed it up. It is set to > newline-only for one line within the read loop, using the "var=foo > command" syntax, but "command" in this case is another assignment. > When I add a no-op command to the end (making it "assignment > assignment command") rc complains "params: not found" and fails to run > the loop properly. I don't know what kind of state the parser got into > to produce that error. > > Anyway, I've fixed it for now by re-setting ifs after the line in > question. > > I'm attaching the script; an embedded carriage-return makes a mess of > both pasting the line here and posting it in a pastebin. The problem > line is the first one in the while block. > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: web-script.rc > Type: application/octet-stream > Size: 1050 bytes > Desc: not available > URL: < > http://mail.9fans.net/private/9fans/attachments/20100403/bc5917ee/attachment-0001.obj > > > -------------- next part -------------- > > > > > > > > you can accomplish something that's equivalent in rc without > > an explicit loop: > > > > echo '
  • ' ^ $params > > Good to know. I haven't used it here because the for loop generates > nicer html from nicer source, if that makes sense. > > > > > - erik > > > > -- > Simplicity does not precede complexity, but follows it. -- Alan Perlis > > > ------------------------------ > > Message: 4 > Date: Sat, 03 Apr 2010 15:31:31 -0500 > From: Alex Lee > Subject: [9fans] ktrans on p9p > To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> > Message-ID: <4BB7A5A3.4050402@fastmail.net> > Content-Type: text/plain; charset=UTF-8 > > Dear all, > > I've found ktrans to be extremely useful in 9vx (thanks, Kenji), and I'm > wondering now whether it would be possible to use it with plan9port (on > Linux). Mainly I would want this for acme -- would it make sense to > modify p9p acme to include ktrans within it? Or is there a better > approach? Any suggestions on how to go about this would be much > appreciated. > > Also, in case it is of use to anyone else, I modified ktrans to support > ancient/polytonic Greek, using betacode input: > http://bitbucket.org/alexlee/ktrans/ > And here is a ttf2subf'd version of DejaVu Sans, for better Greek glyph > coverage: > http://dl.dropbox.com/u/1734204/djsans.tar.gz > > Alex > > > > > ------------------------------ > > Message: 5 > Date: Sat, 3 Apr 2010 22:52:34 +0000 > From: ron minnich > Subject: [9fans] tinycore 9vx .tce on sources > To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>, > ebo@sandien.com > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > --rw-r--r-- M 26 rminnich sys 8805 Apr 3 17:41 > /n/sources/contrib/rminnich/9vx.tce > > Note this is only the following: > -rwxr-xr-x root/root 61 2009-10-13 22:11:07 usr/local/bin/9vx > -rwxr-xr-x tc/staff 20 2009-10-14 03:38:18 usr/local/tce.flwm/9vx > -rw-r--r-- tc/staff 8580 2009-10-14 03:29:01 > usr/local/tce.icons/9ball.png > -rw-r--r-- tc/staff 48 2009-10-14 03:39:49 usr/local/tce.icons/9vx > -rw-r--r-- tc/staff 49 2009-10-14 03:31:19 usr/local/tce.menu/9vx > > If you drop this into the tce directory on tinycore, it will give you > the 9ball in the menu at the bottom and the flwm menu items on boot. > > The files look like this: > > tc@box:~$ cat usr/local/tce.menu/9vx > > 9vxr > > > tc@box:~$ cat usr/local/bin/9vx > #!/bin/sh > cd `cat /opt/.tce_dir`/../tc/plan9/9vx* > exec ./9vx > > tc@box:~$ ls -l usr/local/tce.flwm/9vx > -rwxr-xr-x 1 tc staff 20 Oct 14 03:38 > usr/local/tce.flwm/9vx > > tc@box:~$ cat usr/local/tce.flwm/9vx > #!/bin/sh > exec 9vxr > tc@box:~$ > > What's the 9vxr reference? Actually, I don't know. I have to go look! > > The 9ball.png is too small to look nice. However, we have a .svg > version of this now, see: http://swtch.com/~rsc/9ball.svg > > so you can make a bigger version. > > Obviously, this is incomplete. You need the root file system from 9vx. > The scripts are written so that if you put the 9vx-0.what into > > /tc/plan9/9vx-0.12 > > on the stick, all will work. You can use the tinycore scripts to build > a usb stick and then put these directories into place on it. > > Questions? Let me know. > > Thanks > > ron > > > > ------------------------------ > > Message: 6 > Date: Sat, 3 Apr 2010 17:21:03 MDT > From: "EBo" > Subject: Re: [9fans] tinycore 9vx .tce on sources > To: "ron minnich" , "Fans of the OS Plan 9 from > Bell Labs" <9fans@9fans.net>, > Message-ID: > > > > --rw-r--r-- M 26 rminnich sys 8805 Apr 3 17:41 > > /n/sources/contrib/rminnich/9vx.tce > > Thanks, I've downloaded this and will play with it later... > > > Questions? Let me know. > > will do. > > > Thanks > > Thank you! > > Laters, > > EBo -- > > > > > ------------------------------ > > Message: 7 > Date: Sat, 3 Apr 2010 15:39:01 -0800 > From: Jack Johnson > Subject: Re: [9fans] tinycore 9vx .tce on sources > To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > On Sat, Apr 3, 2010 at 2:52 PM, ron minnich wrote: > > > --rw-r--r-- M 26 rminnich sys 8805 Apr 3 17:41 > > /n/sources/contrib/rminnich/9vx.tce > > > > Wild. I've been screwing around with a tinycore terminal server in a couple > of VMs and I was planning on building a TCE for 9vx after this weekend's > Easter festivities. Thanks! > > Maybe I should procrastinate more often.... > > -Jack > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://mail.9fans.net/private/9fans/attachments/20100403/cdb16da8/attachment-0001.htm > > > > ------------------------------ > > Message: 8 > Date: Sat, 3 Apr 2010 22:43:00 -0400 > From: erik quanstrom > Subject: [9fans] cpuid > To: 9fans@9fans.net > Message-ID: <6ab0de93bd25fe99ee0ef00e07cb7b25@ladd.quanstro.net> > Content-Type: text/plain; charset="US-ASCII" > > i updated aux/cpuid to allow one to specify a mach on > which to run cpuid. unfortunately, /proc/%d/ctl doesn't > really guarentee when target will be running on the > requested mach. as a defense, sleep(1) is called > after wiring, but i'm not convinced that sleep must always > sched and thus potentially could return still on the wrong > mach. and there is no way for a proc to request its current > mach number to verifiy that it has been wired. (unless you > count picking through the binary /proc/%d/proc structure, > which seems too messy to count.) > > perhaps this is all just paranoia, but in order to get /dev/reboot > working reliably (ie. in a loop for more than 10 minutes), > loops like this were required: > > for(;;){ > procwired(up, n); > sched(); > if(m->machno == n) > break; > } > > perhaps a call from user space solves all these problems, but > /dev/reboot is esentially a call from user space, so if it does, > why that could be is not currently clear to me. > > perhaps it would make sense to add /proc/%d/mach or even > /dev/machno or even /dev/wire which would be in a position > to guarentee wiring. > > - erik > > > > ------------------------------ > > Message: 9 > Date: Sun, 4 Apr 2010 04:41:59 +0000 > From: ruel hernandez > Subject: Re: [9fans] using usb > To: 9fans@9fans.net > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > I'm sorry about yesterday sir, I forgot to edit the subject, anyway. > when I run; > % cat /dev/usb/ctl > % ep1.0 enabled control rw speed full maxpkt 64 pollival 0 samplesz 0 hz > 0 hub 0 port 0 busy > roothub csp 0x000009 port 3 > ep2.0 enabled control rw speed full maxpkt 64 pollival 0 samplesz 0 > hz > 0 hub 0 port 0 busy > > this is the same output even the usb is unplugged. by the way i'm using a > 2gb sd here, connected to a card reader + 3 port usb hub connected to my > computer usb port 1. any way after that i made some experiment and here are > the result. > reboot using a usb keyboard: > cpu0: 2019 mhz genuine intel pentium IV/Xeon cpuid: ax 0x0f27 dx 0xbfebfbff > ELCR:0A20 > pci routing:ignoring south bridge pci 0.0.01039/0650 > #u/usb/ep1.0:ohci:port 0xE0000000 irq9 > #u/usb/ep2.0:ohci:port 0xE0001000 irq11 > 224 memory: 92 M kernel data,132M user,507Mswap > usbd... usb/kb... root is > from(tcp,local)[local!#S/sdC0/fossil]panic:ohci:full > packet but cbp != 0 > panic:ohci: full packet but cbp != 0 > dump stack disabled > cpu: exiting > > reboot using usb mouse: > ....same as above here. > usbd.../boot/usbd: /dev/usb/cp3.0: warning: device with short descriptor > > > > > > On 4/3/10, 9fans-request@9fans.net <9fans-request@9fans.net> wrote: > > > > Send 9fans mailing list submissions to > > 9fans@9fans.net > > > > To subscribe or unsubscribe via the World Wide Web, visit > > http://mail.9fans.net/listinfo/9fans > > or, via email, send a message with subject or body 'help' to > > 9fans-request@9fans.net > > > > You can reach the person managing the list at > > 9fans-owner@9fans.net > > > > When replying, please edit your Subject line so it is more specific > > than "Re: Contents of 9fans digest..." > > > > > > Today's Topics: > > > > 1. Re: 9fans Digest, Vol 72, Issue 4 (ruel hernandez) > > 2. Re: 9fans Digest, Vol 72, Issue 4 (Francisco J Ballesteros) > > > > > > ---------------------------------------------------------------------- > > > > Message: 1 > > Date: Sat, 3 Apr 2010 03:30:25 +0000 > > From: ruel hernandez > > Subject: Re: [9fans] 9fans Digest, Vol 72, Issue 4 > > To: 9fans@9fans.net > > Message-ID: > > > > Content-Type: text/plain; charset="iso-8859-1" > > > > In my case, when i run; > > > > %usbfat: > > %no usb disk > > > > what could be the problem? > > as of now i'm reading the intro to operating sysrems abstraction by > > Francisco Ballesteros from linux then try out the programs there > > in plan9. > > > > > > On 4/2/10, 9fans-request@9fans.net <9fans-request@9fans.net> wrote: > > > > > > Send 9fans mailing list submissions to > > > 9fans@9fans.net > > > > > > To subscribe or unsubscribe via the World Wide Web, visit > > > http://mail.9fans.net/listinfo/9fans > > > or, via email, send a message with subject or body 'help' to > > > 9fans-request@9fans.net > > > > > > You can reach the person managing the list at > > > 9fans-owner@9fans.net > > > > > > When replying, please edit your Subject line so it is more specific > > > than "Re: Contents of 9fans digest..." > > > > > > > > > Today's Topics: > > > > > > 1. Re: using usb (kokamoto@hera.eonet.ne.jp) > > > 2. Re: using usb (erik quanstrom) > > > > > > > > > ---------------------------------------------------------------------- > > > > > > Message: 1 > > > Date: Fri, 2 Apr 2010 19:49:32 +0900 > > > From: kokamoto@hera.eonet.ne.jp > > > Subject: Re: [9fans] using usb > > > To: 9fans@9fans.net > > > Message-ID: <397333a85c5603c75c523f7226746e9b@hera.eonet.ne.jp> > > > Content-Type: text/plain; charset="US-ASCII" > > > > > > This machine is in my business room, and I cannot touch it until next > > > monday. > > > > > > So I cannot report the info of seE0part of this machine now. > > > However, I'll retry what happened here. > > > > > > 1) replaced only /sys/src/boot/pc/sdiahci.c from the format CDROM > > > to your 9atom CDROM. > > > 2) It booted nicely, meaning no long wait to detect and fail CDROM > > > 3) system came up safely, and I can do anything, but only no > > > /dev/sdE0/other > > > directory. > > > 4) Then, I dispatched the disk/prep command interacyively. > > > 5) Yes, it reports the right partition table including 'other' > > > 6) then, I wrote the table to the disk. > > > 7) exit disk/prep > > > 8) Now, I see /dev/sdE0/other directory. > > > 9) therefore, ofcourse, I can mount that partion safely. > > > 10) however, after end the session, and rebooted the system again, > then, > > > /dev/sdE0/other disappeared again. > > > > > > This the precise story I experienced. > > > > > > Kenji > > > > > > PS. I can see the list only after next Monday night. > > > > > > > > > > > > > > > ------------------------------ > > > > > > Message: 2 > > > Date: Fri, 2 Apr 2010 06:56:27 -0400 > > > From: erik quanstrom > > > Subject: Re: [9fans] using usb > > > To: 9fans@9fans.net > > > Message-ID: <963ad4156c2cc7d24cee0a0143fda9b8@ladd.quanstro.net> > > > Content-Type: text/plain; charset="US-ASCII" > > > > > > > 1) replaced only /sys/src/boot/pc/sdiahci.c from the format CDROM > > > > to your 9atom CDROM. > > > > 2) It booted nicely, meaning no long wait to detect and fail CDROM > > > > 3) system came up safely, and I can do anything, but only no > > > /dev/sdE0/other > > > > directory. > > > > 4) Then, I dispatched the disk/prep command interacyively. > > > > 5) Yes, it reports the right partition table including 'other' > > > > 6) then, I wrote the table to the disk. > > > > 7) exit disk/prep > > > > 8) Now, I see /dev/sdE0/other directory. > > > > 9) therefore, ofcourse, I can mount that partion safely. > > > > 10) however, after end the session, and rebooted the system again, > > then, > > > > /dev/sdE0/other disappeared again. > > > > > > > > This the precise story I experienced. > > > > > > you need to run prep every time you boot. > > > > > > - erik > > > > > > > > > > > > End of 9fans Digest, Vol 72, Issue 4 > > > ************************************ > > > > > -------------- next part -------------- > > An HTML attachment was scrubbed... > > URL: < > > > http://mail.9fans.net/private/9fans/attachments/20100403/86d46727/attachment.html > > > > > > > ------------------------------ > > > > Message: 2 > > Date: Sat, 3 Apr 2010 12:24:12 +0200 > > From: Francisco J Ballesteros > > Subject: Re: [9fans] 9fans Digest, Vol 72, Issue 4 > > To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> > > Message-ID: > > > > Content-Type: text/plain; charset=UTF-8 > > > > What's /dev/usb/ctl > > on your system after plugging your disk? > > That may give a clue. > > > > > > On Sat, Apr 3, 2010 at 5:30 AM, ruel hernandez wrote: > > > In my case, when i run; > > > > > > %usbfat: > > > %no usb disk > > > > > > what could be the problem? > > > as of now i'm reading the intro to operating sysrems abstraction by > > > Francisco Ballesteros from? linux then try? out the programs there > > > in plan9. > > > > > > > > > On 4/2/10, 9fans-request@9fans.net <9fans-request@9fans.net> wrote: > > >> > > >> Send 9fans mailing list submissions to > > >> ?????? 9fans@9fans.net > > >> > > >> To subscribe or unsubscribe via the World Wide Web, visit > > >> ?????? http://mail.9fans.net/listinfo/9fans > > >> or, via email, send a message with subject or body 'help' to > > >> ?????? 9fans-request@9fans.net > > >> > > >> You can reach the person managing the list at > > >> ?????? 9fans-owner@9fans.net > > >> > > >> When replying, please edit your Subject line so it is more specific > > >> than "Re: Contents of 9fans digest..." > > >> > > >> > > >> Today's Topics: > > >> > > >> ??1. Re: using usb (kokamoto@hera.eonet.ne.jp) > > >> ??2. Re: using usb (erik quanstrom) > > >> > > >> > > >> ---------------------------------------------------------------------- > > >> > > >> Message: 1 > > >> Date: Fri, 2 Apr 2010 19:49:32 +0900 > > >> From: kokamoto@hera.eonet.ne.jp > > >> Subject: Re: [9fans] using usb > > >> To: 9fans@9fans.net > > >> Message-ID: <397333a85c5603c75c523f7226746e9b@hera.eonet.ne.jp> > > >> Content-Type: text/plain; charset="US-ASCII" > > >> > > >> This machine is in my business room, and I cannot touch it until next > > >> monday. > > >> > > >> So I cannot report the info of seE0part of this machine now. > > >> However, I'll retry what happened here. > > >> > > >> 1) replaced only /sys/src/boot/pc/sdiahci.c from the format CDROM > > >> to your 9atom CDROM. > > >> 2) It booted nicely, meaning no long wait to detect and fail CDROM > > >> 3) system came up safely, and I can do anything, but only no > > >> /dev/sdE0/other > > >> directory. > > >> 4) Then, I dispatched the disk/prep command interacyively. > > >> 5) Yes, it reports the right partition table including 'other' > > >> 6) then, I wrote the table to the disk. > > >> 7) exit disk/prep > > >> 8) Now, I see /dev/sdE0/other directory. > > >> 9) therefore, ofcourse, I can mount that partion safely. > > >> 10) however, after end the session, and rebooted the system again, > then, > > >> /dev/sdE0/other disappeared again. > > >> > > >> This the precise story I experienced. > > >> > > >> Kenji > > >> > > >> PS. I can see the list only after next Monday night. > > >> > > >> > > >> > > >> > > >> ------------------------------ > > >> > > >> Message: 2 > > >> Date: Fri, 2 Apr 2010 06:56:27 -0400 > > >> From: erik quanstrom > > >> Subject: Re: [9fans] using usb > > >> To: 9fans@9fans.net > > >> Message-ID: <963ad4156c2cc7d24cee0a0143fda9b8@ladd.quanstro.net> > > >> Content-Type: text/plain; charset="US-ASCII" > > >> > > >> > 1) replaced only /sys/src/boot/pc/sdiahci.c from the format CDROM > > >> > to your 9atom CDROM. > > >> > 2) It booted nicely, meaning no long wait to detect and fail CDROM > > >> > 3) system came up safely, and I can do anything, but only no > > >> > /dev/sdE0/other > > >> > directory. > > >> > 4) Then, I dispatched the disk/prep command interacyively. > > >> > 5) Yes, it reports the right partition table including 'other' > > >> > 6) then, I wrote the table to the disk. > > >> > 7) exit disk/prep > > >> > 8) Now, I see /dev/sdE0/other directory. > > >> > 9) therefore, ofcourse, I can mount that partion safely. > > >> > 10) however, after end the session, and rebooted the system again, > > then, > > >> > /dev/sdE0/other disappeared again. > > >> > > > >> > This the precise story I experienced. > > >> > > >> you need to run prep every time you boot. > > >> > > >> - erik > > >> > > >> > > >> > > >> End of 9fans Digest, Vol 72, Issue 4 > > >> ************************************ > > > > > > > > > > > > > > End of 9fans Digest, Vol 72, Issue 5 > > ************************************ > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://mail.9fans.net/private/9fans/attachments/20100404/c62e1dfa/attachment.htm > > > > End of 9fans Digest, Vol 72, Issue 6 > ************************************ > --00032555a4e6fe0d1f04837610c9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
    Boot my plan9=A0today with my usb connected, it worked! Now i could ac= cess
    my files using my usb. on my system, if it can detect my usb during fr= esh boot why it can't detect while the system is already running?
    =A0
    The introduction on operating system abstraction by Mr. Francisco Ball= esteros is nice, very well explained that even a beginner like me could eas= ily understand.
    =A0
    thanks


    =A0
    On 4/3/10, <= a href=3D"mailto:9fans-request@9fans.net">9fans-request@9fans.net &= lt;9fans-request@9fans.net&g= t; wrote:
    Send 9fans mailing list submissi= ons to
    =A0=A0=A0=A0=A0=A0 9fans@9fans= .net

    To subscribe or unsubscribe via the World Wide Web, visit
    =A0=A0=A0=A0= =A0=A0 http://mail.9fans.n= et/listinfo/9fans
    or, via email, send a message with subject or body= 'help' to
    =A0=A0=A0=A0=A0=A0 9fans-request= @9fans.net

    You can reach the person managing the list at
    =A0= =A0=A0=A0=A0=A0 9fans-owner@9fans.= net

    When replying, please edit your Subject line so it is more s= pecific
    than "Re: Contents of 9fans digest..."


    Today's Top= ics:

    =A0=A01. rc word splitting trouble (Ethan Grammatikidis)
    =A0= =A02. Re: rc word splitting trouble (erik quanstrom)
    =A0=A03. Re: rc wor= d splitting trouble (Ethan Grammatikidis)
    =A0=A04. ktrans on p9p (Alex Lee)
    =A0=A05. tinycore 9vx .tce on sources = (ron minnich)
    =A0=A06. Re: tinycore 9vx .tce on sources (EBo)
    =A0=A07= . Re: tinycore 9vx .tce on sources (Jack Johnson)
    =A0=A08. cpuid (erik q= uanstrom)
    =A0=A09. Re: using usb (ruel hernandez)


    -------------------------------------------------------------------= ---

    Message: 1
    Date: Sat, 3 Apr 2010 15:21:33 +0100
    From: Etha= n Grammatikidis <eekee57@fastmail= .fm>
    Subject: [9fans] rc word splitting trouble
    To: Fans of the OS Plan 9 fro= m Bell Labs <9fans@9fans.net><= br>Message-ID: <341DF8C2-A223-49A7-AA6C-65B7FB4C1CF5@fastmail.fm>
    Content-Type: text/plain; charset=3DUS-ASCII; format=3Dflowed; delsp=3Dyes<= br>
    I'm writing a little web server in rc. For the most part it'= s been
    less trouble than setting up Apache to serve static files, but I&= #39;ve
    run into an odd little problem where rc appears to be behaving
    different= ly depending on whether it's run in a script or a terminal.
    (Rc &= ; 9term from p9p.)

    I'm testing with url: http://analytical-reengineer= ing.dre.am/one/two?three+four

    The script separates out the /one/two?three+four into a variable &<= br>then splits that twice, first to get the 'file' part, which it d= oes
    correctly, then the arguments, which it has trouble with. You can se= e
    the result at the url above. "three four" appear on 1 line where = they
    should be two. If I paste the same lines of code into a terminal, t= he
    lines are split correctly:

    % fullloc =3D '/one/two?three+f= our'
    % params =3D `{echo $fullloc | sed -e 's;.*\?;;' -e 's;\+; ;g&#= 39;}
    % for(param in $params) echo '=A0=A0<li>'$"param=
    =A0=A0=A0=A0=A0=A0 <li>three
    =A0=A0=A0=A0=A0=A0 <li>four=

    The 2nd and 3rd command lines are copied directly from the script, = but
    the script itself outputs the following:

    =A0=A0=A0=A0=A0=A0 <li&g= t;three four

    The sed expressions appear to be working correctly, to = my eyes, so I
    don't understand what's going on.

    --
    Sim= plicity does not precede complexity, but follows it. -- Alan Perlis




    ------------------------------

    Message: 2
    Date: S= at, 3 Apr 2010 10:38:11 -0400
    From: erik quanstrom <quanstro@quanstro.net>
    Subject: Re: [9fan= s] rc word splitting trouble
    To: 9fans@9fans.net
    Message-ID: &= lt;79= bfa351ebdb8906c17ec13976aa3e15@ladd.quanstro.net>
    Content-Type: t= ext/plain; charset=3D"US-ASCII"

    > % fullloc =3D '/one/two?three+four'
    > % params =3D `= {echo $fullloc | sed -e 's;.*\?;;' -e 's;\+; ;g'}
    > %= for(param in $params) echo '=A0=A0=A0=A0=A0=A0=A0=A0<li>'$&q= uot;param
    >=A0=A0=A0=A0=A0=A0 <li>three
    >=A0=A0=A0=A0=A0=A0 <li>four
    >
    > The 2nd and 3rd comma= nd lines are copied directly from the script, but
    > the script itself= outputs the following:
    >
    >=A0=A0=A0=A0=A0=A0 <li>three f= our
    >
    > The sed expressions appear to be working correctly, to = my eyes, so I
    > don't understand what's going on.

    i suspect your ifs is= set to something funky.

    inserting a "whatis params" in yo= ur script would be pretty
    interesting.=A0=A0note that gnu sed will eat y= our regular expression
    since you \? is their meta character.

    you can accomplish something t= hat's equivalent in rc without
    an explicit loop:

    echo '&l= t;li>' ^ $params

    - erik



    ----------------------= --------

    Message: 3
    Date: Sat, 3 Apr 2010 18:24:44 +0100
    From: Ethan Gramm= atikidis <eekee57@fastmail.fm= >
    Subject: Re: [9fans] rc word splitting trouble
    To: Fans of the O= S Plan 9 from Bell Labs <9fans@9fans.= net>
    Message-ID: <11C11BC0-346A-4E77-9909-B87667FE6EF2@fastmail.fm>
    Conten= t-Type: text/plain; charset=3D"us-ascii"; Format=3D"flowed&q= uot;;
    =A0=A0=A0=A0=A0=A0 DelSp=3D"yes"


    On 3 Apr 2010, at 15:= 38, erik quanstrom wrote:

    >> % fullloc =3D '/one/two?three= +four'
    >> % params =3D `{echo $fullloc | sed -e 's;.*\?;;&= #39; -e 's;\+; ;g'}
    >> % for(param in $params) echo '=A0=A0=A0=A0=A0=A0 <li>= 9;$"param
    >>=A0=A0=A0=A0=A0=A0<li>three
    >>=A0= =A0=A0=A0=A0=A0<li>four
    >>
    >> The 2nd and 3rd comma= nd lines are copied directly from the script,
    >> but
    >> the script itself outputs the following:
    >&g= t;
    >>=A0=A0=A0=A0=A0=A0<li>three four
    >>
    >>= ; The sed expressions appear to be working correctly, to my eyes, so I
    &= gt;> don't understand what's going on.
    >
    > i suspect your ifs is set to something funky.
    >
    > = inserting a "whatis params" in your script would be pretty
    >= ; interesting.=A0=A0note that gnu sed will eat your regular expression
    &= gt; since you \? is their meta character.

    sed is p9p sed, verified with which, but ty.

    You're right ab= out ifs, "whatis ifs" showed it up. It is set to
    newline-only = for one line within the read loop, using the "var=3Dfoo
    command&quo= t; syntax, but "command" in this case is another assignment.
    When I add a no-op command to the end (making it "assignment
    assign= ment command") rc complains "params: not found" and fails to= run
    the loop properly. I don't know what kind of state the parser g= ot into
    to produce that error.

    Anyway, I've fixed it for now by re-setti= ng ifs after the line in
    question.

    I'm attaching the script; = an embedded carriage-return makes a mess of
    both pasting the line here a= nd posting it in a pastebin. The problem
    line is the first one in the while block.

    -------------- next part -= -------------
    A non-text attachment was scrubbed...
    Name: web-script.= rc
    Type: application/octet-stream
    Size: 1050 bytes
    Desc: not avail= able
    URL: <http://mail.9fans.net/private/9fans/attachm= ents/20100403/bc5917ee/attachment-0001.obj>
    -------------- next p= art --------------




    >
    > you can accomplish something that's equiva= lent in rc without
    > an explicit loop:
    >
    > echo '<= li>' ^ $params

    Good to know. I haven't used it here becau= se the for loop generates
    nicer html from nicer source, if that makes sense.

    >
    > - er= ik
    >

    --
    Simplicity does not precede complexity, but follows= it. -- Alan Perlis


    ------------------------------

    Messag= e: 4
    Date: Sat, 03 Apr 2010 15:31:31 -0500
    From: Alex Lee <alexlee@fastmail.net>
    Subject: [9fans] k= trans on p9p
    To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
    Message-ID: <4BB7A5A3.4= 050402@fastmail.net>
    Content-Type: text/plain; charset=3DUTF-8
    Dear all,

    I've found ktrans to be extremely useful in 9vx (= thanks, Kenji), and I'm
    wondering now whether it would be possible to use it with plan9port (on
    = Linux). Mainly I would want this for acme -- would it make sense to
    modi= fy p9p acme to include ktrans within it? Or is there a better
    approach? = Any suggestions on how to go about this would be much appreciated.

    Also, in case it is of use to anyone else, I modified ktrans to support=
    ancient/polytonic Greek, using betacode input:
    http://bitbucket.org/alexlee/ktrans/
    And= here is a ttf2subf'd version of DejaVu Sans, for better Greek glyph coverage:
    http= ://dl.dropbox.com/u/1734204/djsans.tar.gz

    Alex



    ------------------------------

    Message: 5
    Date: Sat, 3 Apr 2010= 22:52:34 +0000
    From: ron minnich <rminnich@gmail.= com>
    Subject: [9fans] tinycore 9vx .tce on sources
    To: Fans of= the OS Plan 9 from Bell Labs <9fans@= 9fans.net>,
    =A0=A0=A0=A0=A0=A0 ebo@sandien.comMessage-ID:
    =A0=A0=A0=A0=A0=A0 <j2x13426df11004031552q41a1d1= 72pd118e896b9ae9fbc@mail.gmail.com>
    Content-Type: text/plain; charset=3DISO-8859-1

    --rw-r--r-- M 26 rmin= nich sys=A0=A0=A0=A08805 Apr=A0=A03 17:41
    /n/sources/contrib/rminnich/9v= x.tce

    Note this is only the following:
    -rwxr-xr-x root/root=A0=A0= =A0=A0=A0=A0=A0=A061 2009-10-13 22:11:07 usr/local/bin/9vx
    -rwxr-xr-x tc/staff=A0=A0=A0=A0=A0=A0=A0=A020 2009-10-14 03:38:18 usr/local= /tce.flwm/9vx
    -rw-r--r-- tc/staff=A0=A0=A0=A0=A0=A08580 2009-10-14 03:29= :01 usr/local/tce.icons/9ball.png
    -rw-r--r-- tc/staff=A0=A0=A0=A0=A0=A0= =A0=A048 2009-10-14 03:39:49 usr/local/tce.icons/9vx
    -rw-r--r-- tc/staff=A0=A0=A0=A0=A0=A0=A0=A049 2009-10-14 03:31:19 usr/local= /tce.menu/9vx

    If you drop this into the tce directory on tinycore, i= t will give you
    the 9ball in the menu at the bottom and the flwm menu it= ems on boot.

    The files look like this:

    tc@box:~$ cat usr/local/tce.menu/9vx<JWM>
    <Program label=3D"9vx">9vxr</Program>= ;
    </JWM>

    tc@box:~$ cat usr/local/bin/9vx
    #!/bin/sh
    cd `cat /opt/.tce_dir`/../tc/plan9/9vx*
    exec ./9vx

    tc@box:~$ ls -= l usr/local/tce.flwm/9vx
    -rwxr-xr-x=A0=A0=A0=A01 tc=A0=A0=A0=A0=A0=A0 st= aff=A0=A0=A0=A0=A0=A0=A0=A0=A0=A020 Oct 14 03:38 usr/local/tce.flwm/9vx
    =
    tc@box:~$ cat=A0=A0usr/local/tce.flwm/9vx
    #!/bin/sh
    exec 9vxr
    tc@box:~$

    What's the 9vxr reference? A= ctually, I don't know. I have to go look!

    The 9ball.png is too s= mall to look nice. However, we have a .svg
    version of this now, see: http://swtch.com/~rsc/9ball.svg

    so you can make a bigger version.

    Obviously, this is incomplete.= You need the root file system from 9vx.
    The scripts are written so that= if you put the 9vx-0.what into

    /tc/plan9/9vx-0.12

    on the sti= ck, all will work. You can use the tinycore scripts to build
    a usb stick and then put these directories into place on it.

    Questio= ns? Let me know.

    Thanks

    ron



    ------------------= ------------

    Message: 6
    Date: Sat, 3 Apr 2010 17:21:03 MDT
    From: "EBo" <
    ebo@sandien.co= m>
    Subject: Re: [9fans] tinycore 9vx .tce on sources
    To: "= ;ron minnich" <rminnich@gmail= .com>, "Fans of the OS Plan 9 from
    =A0=A0=A0=A0=A0=A0 Bell Labs" <9= fans@9fans.net>, <ebo@sandien.= com>
    Message-ID: <twig.1270336863.84688@swcp.com>


    > --rw-r--r-- M 26 rminnich sys=A0=A0=A0=A08805 Apr=A0=A03 17:41=
    > /n/sources/contrib/rminnich/9vx.tce

    Thanks, I've downlo= aded this and will play with it later...

    > Questions? Let me know= .

    will do.

    > Thanks

    Thank you!

    Laters,

    EBo --<= br>



    ------------------------------

    Message: 7
    Date= : Sat, 3 Apr 2010 15:39:01 -0800
    From: Jack Johnson <knapjack@gmail.com>
    Subject: Re: [9fans] tinycore 9vx .tce on sources
    To: Fans of the OS Pla= n 9 from Bell Labs <9fans@9fans.net>
    Message-ID:
    =A0=A0=A0=A0=A0=A0 <
    u2v6e35c062100403163= 9s70aa5db8r2e9f5e0b06c6a211@mail.gmail.com>
    Content-Type: text/plain; charset=3D"iso-8859-1"

    On Sat, A= pr 3, 2010 at 2:52 PM, ron minnich <rminnich@gmail.com> wrote:

    > --rw-r--r-- M 26 rminnich s= ys=A0=A0=A0=A08805 Apr=A0=A03 17:41
    > /n/sources/contrib/rminnich/9vx.tce
    >

    Wild. I've been= screwing around with a tinycore terminal server in a couple
    of VMs and = I was planning on building a TCE for 9vx after this weekend's
    Easter= festivities.=A0=A0Thanks!

    Maybe I should procrastinate more often....

    -Jack
    -----------= --- next part --------------
    An HTML attachment was scrubbed...
    URL: = <http://mail.9fans.net/private/9fans/attachments/= 20100403/cdb16da8/attachment-0001.htm>

    ------------------------------

    Message: 8
    Date: Sat, 3 Apr 20= 10 22:43:00 -0400
    From: erik quanstrom <quanstro@quanstro.net>
    Subject: [9fans] cpuid
    To: = 9fans@9fans.net
    Message-ID: <6ab0de93bd25fe99ee0ef00e07cb7b25@ladd.quanstro.net>
    Co= ntent-Type: text/plain; charset=3D"US-ASCII"

    i updated aux= /cpuid to allow one to specify a mach on
    which to run cpuid.=A0=A0unfortunately, /proc/%d/ctl doesn't
    really = guarentee when target will be running on the
    requested mach.=A0=A0as a d= efense, sleep(1) is called
    after wiring, but i'm not convinced that = sleep must always
    sched and thus potentially could return still on the wrong
    mach.=A0=A0an= d there is no way for a proc to request its current
    mach number to verif= iy that it has been wired.=A0=A0(unless you
    count picking through the bi= nary /proc/%d/proc structure,
    which seems too messy to count.)

    perhaps this is all just paranoia, = but in order to get /dev/reboot
    working reliably (ie. in a loop for more= than 10 minutes),
    loops like this were required:

    =A0=A0=A0=A0=A0= =A0 for(;;){
    =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 procwired(up, n);
    =A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 sched();
    =A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0 if(m->machno =3D=3D n)
    =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 break;
    =A0=A0=A0=A0=A0=A0 }

    = perhaps a call from user space solves all these problems, but
    /dev/reboo= t is esentially a call from user space, so if it does,
    why that could be is not currently clear to me.

    perhaps it would mak= e sense to add /proc/%d/mach or even
    /dev/machno or even /dev/wire which= would be in a position
    to guarentee wiring.

    - erik



    ------------------------------

    Message: 9
    Date: Sun, 4 Apr 20= 10 04:41:59 +0000
    From: ruel hernandez <ru60hz@gmail.com>
    Subject: Re: [9fans] using usb
    To: 9fans@9fans.net
    Message-ID:
    =A0=A0=A0=A0=A0=A0 <v2taff529401004032141m382567f3= x11b6d43cd6783640@mail.gmail.com>
    Content-Type: text/plain; chars= et=3D"iso-8859-1"

    I'm sorry about yesterday sir, I forgot to edit the subject, anyway= .
    when I run;
    =A0=A0 % cat /dev/usb/ctl
    =A0=A0 % ep1.0 enabled con= trol rw speed full maxpkt 64 pollival 0 samplesz 0 hz
    0 hub 0 port 0 bus= y
    =A0=A0 roothub csp 0x000009 port 3
    =A0=A0=A0=A0=A0=A0 ep2.0 enabled cont= rol rw speed full maxpkt 64 pollival 0 samplesz 0
    hz
    0 hub 0 port 0 b= usy

    this is the same output even the usb is unplugged. by the way i&= #39;m using a
    2gb sd here, connected to a card reader + 3 port usb hub connected to mycomputer usb port 1. any way after that i made some experiment and here ar= e
    the result.
    reboot using a usb keyboard:
    cpu0: 2019 mhz genuine = intel pentium IV/Xeon cpuid: ax 0x0f27 dx 0xbfebfbff
    ELCR:0A20
    pci routing:ignoring south bridge pci 0.0.01039/0650
    #u/usb= /ep1.0:ohci:port 0xE0000000 irq9
    #u/usb/ep2.0:ohci:port 0xE0001000 irq11=
    224 memory: 92 M kernel data,132M user,507Mswap
    usbd... usb/kb... ro= ot is
    from(tcp,local)[local!#S/sdC0/fossil]panic:ohci:full
    packet but cbp !=3D= 0
    panic:ohci: full packet but cbp !=3D 0
    dump stack disabled
    cpu:= exiting

    reboot using usb mouse:
    ....same as above here.
    usbd.= ../boot/usbd: /dev/usb/cp3.0: warning: device with short descriptor





    On 4/3/10, 9= fans-request@9fans.net <9= fans-request@9fans.net> wrote:
    >
    > Send 9fans mailing li= st submissions to
    >=A0=A0=A0=A0=A0=A0=A0=A09fans@9fans.= net
    >
    > To subscribe or unsubscribe via the World Wide Web,= visit
    >=A0=A0=A0=A0=A0=A0=A0=A0http://mail.9fans.net/listinfo/9fans
    > or, via email, send a message with subject or body 'help' to>=A0=A0=A0=A0=A0=A0=A0=A09f= ans-request@9fans.net
    >
    > You can reach the person managing= the list at
    >=A0=A0=A0=A0=A0=A0=A0=A09fans-= owner@9fans.net
    >
    > When replying, please edit your Subject= line so it is more specific
    > than "Re: Contents of 9fans diges= t..."
    >
    >
    > Today's Topics:
    >
    >=A0=A0 1. Re: 9fans= Digest, Vol 72, Issue 4 (ruel hernandez)
    >=A0=A0 2. Re: 9fans Digest= , Vol 72, Issue 4 (Francisco J Ballesteros)
    >
    >
    > -------= ---------------------------------------------------------------
    >
    > Message: 1
    > Date: Sat, 3 Apr 2010 03:30:25 +0000
    >= ; From: ruel hernandez <ru60hz@gmail= .com>
    > Subject: Re: [9fans] 9fans Digest, Vol 72, Issue 4
    > To: 9fans@9fans.net
    > Mes= sage-ID:
    >=A0=A0=A0=A0=A0=A0=A0=A0<z2xaff529401004022030i63= 5a361bj9a18a668654e3921@mail.gmail.com>
    > Content-Type: text/plain; charset=3D"iso-8859-1"
    >
    = > In my case, when i run;
    >
    > %usbfat:
    > %no usb disk<= br>>
    > what could be the problem?
    > as of now i'm readin= g the intro to operating sysrems abstraction by
    > Francisco Ballesteros from=A0=A0linux then try=A0=A0out the programs t= here
    > in plan9.
    >
    >
    > On 4/2/10, 9fans-request@9fans.net <9fans-request@9fans.net> wrote:
    > >
    > > Send 9fans mailing list submissions to
    > >= =A0=A0=A0=A0=A0=A0=A0=A09fans@9fans.net<= /a>
    > >
    > > To subscribe or unsubscribe via the World Wid= e Web, visit
    > >=A0=A0=A0=A0=A0=A0=A0=A0
    http://mail.9fans.net/listinfo/9fans
    > > or, via email,= send a message with subject or body 'help' to
    > >=A0=A0= =A0=A0=A0=A0=A0=A09fans-request@= 9fans.net
    > >
    > > You can reach the person managing the list at
    >= ; >=A0=A0=A0=A0=A0=A0=A0=A09fan= s-owner@9fans.net
    > >
    > > When replying, please edit = your Subject line so it is more specific
    > > than "Re: Contents of 9fans digest..."
    > >
    = > >
    > > Today's Topics:
    > >
    > >=A0=A0 = 1. Re: using usb (kokamoto@her= a.eonet.ne.jp)
    > >=A0=A0 2. Re: using usb (erik quanstrom)
    > >
    > >=
    > > -------------------------------------------------------------= ---------
    > >
    > > Message: 1
    > > Date: Fri, 2 Ap= r 2010 19:49:32 +0900
    > > From: kokamoto@hera.= eonet.ne.jp
    > > Subject: Re: [9fans] using usb
    > > To= : 9fans@9fans.net
    > > Messa= ge-ID: <397333a85c5603c75c523f7226746e9b@hera.eonet.ne.jp>
    > > Content-Type: text/plain; charset=3D"US-ASCII"
    > = >
    > > This machine is in my business room, and I cannot touch i= t until next
    > > monday.
    > >
    > > So I cannot rep= ort the info of seE0part of this machine now.
    > > However, I'll retry what happened here.
    > >
    > = > 1) replaced only /sys/src/boot/pc/sdiahci.c from the format CDROM
    &= gt; > to your 9atom CDROM.
    > > 2) It booted nicely, meaning no = long wait to detect and fail CDROM
    > > 3) system came up safely, and I can do anything, but only no
    &= gt; > /dev/sdE0/other
    > > directory.
    > > 4) Then, I di= spatched the disk/prep command interacyively.
    > > 5) Yes, it repor= ts the right partition table including 'other'
    > > 6) then, I wrote the table to the disk.
    > > 7) exit disk= /prep
    > > 8) Now, I see /dev/sdE0/other directory.
    > > 9)= therefore, ofcourse, I can mount that partion safely.
    > > 10) how= ever, after end the session, and rebooted the system again, then,
    > > /dev/sdE0/other disappeared again.
    > >
    > > This= the precise story I experienced.
    > >
    > > Kenji
    > &= gt;
    > > PS. I can see the list only after next Monday night.
    > >
    > >
    > >
    > >
    > > -------------= -----------------
    > >
    > > Message: 2
    > > Date: F= ri, 2 Apr 2010 06:56:27 -0400
    > > From: erik quanstrom <quanstro@quanstro.net>
    > > Subject: Re: [9fans] using usb
    > > To: 9fans@9fans.net
    > > Message-ID: <963ad4156c2c= c7d24cee0a0143fda9b8@ladd.quanstro.net>
    > > Content-Type: text/plain; charset=3D"US-ASCII"
    > = >
    > > > 1) replaced only /sys/src/boot/pc/sdiahci.c from the= format CDROM
    > > > to your 9atom CDROM.
    > > > 2) I= t booted nicely, meaning no long wait to detect and fail CDROM
    > > > 3) system came up safely, and I can do anything, but only no=
    > > /dev/sdE0/other
    > > > directory.
    > > >= ; 4) Then, I dispatched the disk/prep command interacyively.
    > > &= gt; 5) Yes, it reports the right partition table including 'other'<= br> > > > 6) then, I wrote the table to the disk.
    > > > 7)= exit disk/prep
    > > > 8) Now, I see /dev/sdE0/other directory.<= br>> > > 9) therefore, ofcourse, I can mount that partion safely.<= br> > > > 10) however, after end the session, and rebooted the system = again,
    > then,
    > > > /dev/sdE0/other disappeared again.> > >
    > > > This the precise story I experienced. > >
    > > you need to run prep every time you boot.
    > &g= t;
    > > - erik
    > >
    > >
    > >
    > > = End of 9fans Digest, Vol 72, Issue 4
    > > *************************= ***********
    > >
    > -------------- next part --------------
    > An HTML a= ttachment was scrubbed...
    > URL: <
    > http= ://mail.9fans.net/private/9fans/attachments/20100403/86d46727/attachment.ht= ml
    > >
    >
    > ------------------------------
    >
    > Me= ssage: 2
    > Date: Sat, 3 Apr 2010 12:24:12 +0200
    > From: Francis= co J Ballesteros <nemo@lsub.org>=
    > Subject: Re: [9fans] 9fans Digest, Vol 72, Issue 4
    > To: Fans of= the OS Plan 9 from Bell Labs <9fans@= 9fans.net>
    > Message-ID:
    >=A0=A0=A0=A0=A0=A0=A0=A0<o2q8ccc8ba41004030324x5181388fmf2134257d8874652@mail.gmail.com>=
    > Content-Type: text/plain; charset=3DUTF-8
    >
    > What's /= dev/usb/ctl
    > on your system after plugging your disk?
    > That m= ay give a clue.
    >
    >
    > On Sat, Apr 3, 2010 at 5:30 AM, rue= l hernandez <ru60hz@gmail.com>= ; wrote:
    > > In my case, when i run;
    > >
    > > %usbfat:
    >= ; > %no usb disk
    > >
    > > what could be the problem?> > as of now i'm reading the intro to operating sysrems abstrac= tion by
    > > Francisco Ballesteros from? linux then try? out the programs ther= e
    > > in plan9.
    > >
    > >
    > > On 4/2/10, = 9fans-request@9fans.net <= 9fans-request@9fans.net> = wrote:
    > >>
    > >> Send 9fans mailing list submissions to
    &g= t; >> ?????? 9fans@9fans.net> >>
    > >> To subscribe or unsubscribe via the World = Wide Web, visit
    > >> ?????? http:= //mail.9fans.net/listinfo/9fans
    > >> or, via email, send a = message with subject or body 'help' to
    > >> ?????? 9fans-request@9fans.net
    > >>
    > >> You can reach the person managing the list a= t
    > >> ?????? 9fans-ow= ner@9fans.net
    > >>
    > >> When replying, please e= dit your Subject line so it is more specific
    > >> than "Re: Contents of 9fans digest..."
    > >= >
    > >>
    > >> Today's Topics:
    > >>=
    > >> ??1. Re: using usb (kokamoto@hera.eonet.ne.jp)
    > >> ??2. Re: using usb (erik quanstrom)
    > >>
    > = >>
    > >> -------------------------------------------------= ---------------------
    > >>
    > >> Message: 1
    > = >> Date: Fri, 2 Apr 2010 19:49:32 +0900
    > >> From: kokamoto@h= era.eonet.ne.jp
    > >> Subject: Re: [9fans] using usb
    >= >> To: 9fans@9fans.net
    >= ; >> Message-ID: <397333a85c5603c75c523f7226746e9b@hera.eonet.ne.jp&= gt;
    > >> Content-Type: text/plain; charset=3D"US-ASCII"
    &= gt; >>
    > >> This machine is in my business room, and I ca= nnot touch it until next
    > >> monday.
    > >>
    > = >> So I cannot report the info of seE0part of this machine now.
    > >> However, I'll retry what happened here.
    > >><= br>> >> 1) replaced only /sys/src/boot/pc/sdiahci.c from the forma= t CDROM
    > >> to your 9atom CDROM.
    > >> 2) It booted= nicely, meaning no long wait to detect and fail CDROM
    > >> 3) system came up safely, and I can do anything, but only no<= br>> >> /dev/sdE0/other
    > >> directory.
    > >&g= t; 4) Then, I dispatched the disk/prep command interacyively.
    > >&= gt; 5) Yes, it reports the right partition table including 'other'<= br> > >> 6) then, I wrote the table to the disk.
    > >> 7) e= xit disk/prep
    > >> 8) Now, I see /dev/sdE0/other directory.
    = > >> 9) therefore, ofcourse, I can mount that partion safely.
    > >> 10) however, after end the session, and rebooted the system a= gain, then,
    > >> /dev/sdE0/other disappeared again.
    > >= ;>
    > >> This the precise story I experienced.
    > >&g= t;
    > >> Kenji
    > >>
    > >> PS. I can see the lis= t only after next Monday night.
    > >>
    > >>
    > &= gt;>
    > >>
    > >> ------------------------------ > >>
    > >> Message: 2
    > >> Date: Fri, 2 Apr= 2010 06:56:27 -0400
    > >> From: erik quanstrom <quanstro@quanstro.net>
    > >>= Subject: Re: [9fans] using usb
    > >> To: 9fans@9fans.net> >> Message-ID: <963ad4156c2cc7d24cee0a0143fda9b8@ladd.quanstro.ne= t>
    > >> Content-Type: text/plain; charset=3D"US-ASCII"
    &= gt; >>
    > >> > 1) replaced only /sys/src/boot/pc/sdiahc= i.c from the format CDROM
    > >> > to your 9atom CDROM.
    >= ; >> > 2) It booted nicely, meaning no long wait to detect and fai= l CDROM
    > >> > 3) system came up safely, and I can do anything, but onl= y no
    > >> > /dev/sdE0/other
    > >> > directory.=
    > >> > 4) Then, I dispatched the disk/prep command interacy= ively.
    > >> > 5) Yes, it reports the right partition table including &= #39;other'
    > >> > 6) then, I wrote the table to the disk= .
    > >> > 7) exit disk/prep
    > >> > 8) Now, I s= ee /dev/sdE0/other directory.
    > >> > 9) therefore, ofcourse, I can mount that partion safely.=
    > >> > 10) however, after end the session, and rebooted the= system again,
    > then,
    > >> > /dev/sdE0/other disappea= red again.
    > >> >
    > >> > This the precise story I experienc= ed.
    > >>
    > >> you need to run prep every time you b= oot.
    > >>
    > >> - erik
    > >>
    > >= >
    > >>
    > >> End of 9fans Digest, Vol 72, Issue 4
    >= >> ************************************
    > >
    > >>
    >
    >
    > End of 9fans Digest, Vol 72, Issue 5
    > = ************************************
    >
    -------------- next part --------------
    An HTML attachment was s= crubbed...
    URL: <http://mail.9fans.net/private/9fan= s/attachments/20100404/c62e1dfa/attachment.htm>

    End of 9fans Digest, Vol 72, Issue 6
    *******************************= *****

    --00032555a4e6fe0d1f04837610c9-- From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@9fans.net Date: Mon, 12 Apr 2010 09:30:00 +0000 From: "antonio.fin@gmail.com" Message-ID: <140be49a-52f9-4608-bec3-008b2b10f882@b33g2000yqc.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable References: Subject: Re: [9fans] using usb Topicbox-Message-UUID: ff57503e-ead5-11e9-9d60-3106f5b1d025 I reinstalled with a new iso before to read your mail. With the new installation I can mount one old pendrive (128mb) with the new ones I got this: mount: mount /n/sdU2.0: unknown format and in the screen like a kernel message: usb/disk... disk: reset: device is detached (My computer is an old thinkpad 600e and this could be the problem) When I plug the old one, is detected but there is no lights, and nothing happen when I try to mount it. Then I tried with usb/disk /dev/ sdU* that EBo said, the pendrive light starts, now I can mount an unmount without problems. Doing the same with the new ones I got the same message: unknown format. Antonio On Apr 1, 1:28 pm, n...@lsub.org (Francisco J Ballesteros) wrote: > If you can > > ls '#U' > > then you are running an old kernel. > > If you can't, then you have to include the usb device in your kernel. > > Either way, it seems your kernel does not have '#u'. > > On Thu, Apr 1, 2010 at 12:13 PM, antonio....@gmail.com From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <140be49a-52f9-4608-bec3-008b2b10f882@b33g2000yqc.googlegroups.com> References: <140be49a-52f9-4608-bec3-008b2b10f882@b33g2000yqc.googlegroups.com> Date: Mon, 12 Apr 2010 11:58:36 +0200 Message-ID: From: Francisco J Ballesteros To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] using usb Topicbox-Message-UUID: ff5f93ca-ead5-11e9-9d60-3106f5b1d025 does your name space mount /srv/usb ? I mean, does it mount the files served from usbd? I'll take a look to usbfat in any case. On Mon, Apr 12, 2010 at 11:30 AM, antonio.fin@gmail.com wrote: > I reinstalled with a new iso before to read your mail. > With the new installation I can mount one old pendrive (128mb) with > the new ones I got this: > mount: mount /n/sdU2.0: unknown format > and in the screen like a kernel message: usb/disk... disk: reset: > device is detached > (My computer is an old thinkpad 600e and this could be the problem) > > When I plug the old one, is detected but there is no lights, and > nothing happen when I try to mount it. Then I tried with usb/disk /dev/ > sdU* that EBo said, the pendrive light starts, now I can mount an > unmount without problems. > Doing the same with the new ones I got the same message: unknown > format. > > Antonio > > On Apr 1, 1:28=C3=82=C2=A0pm, n...@lsub.org (Francisco J Ballesteros) wro= te: >> If you can >> >> ls '#U' >> >> then you are running an old kernel. >> >> If you can't, then you have to include the usb device in your kernel. >> >> Either way, it seems your kernel does not have '#u'. >> >> On Thu, Apr 1, 2010 at 12:13 PM, antonio....@gmail.com > >