Re: [9fans] iwp9 video?

2010-10-27 Thread Bela Valek
There are actual Hungarians on this mailing list, I am sure that we
can be of assistance :)

On Mon, Oct 18, 2010 at 4:41 PM,  cinap_len...@gmx.de wrote:
 can they do hungarian subtitles?

 --
 cinap


 -- Forwarded message --
 From: Eric Van Hensbergen eri...@gmail.com
 To: Fans of the OS Plan 9 from Bell Labs 9fans@9fans.net
 Date: Mon, 18 Oct 2010 09:12:01 -0500
 Subject: Re: [9fans] iwp9 video?
 On Mon, Oct 18, 2010 at 6:34 AM, roger peppe rogpe...@gmail.com wrote:
 yeah, youtube (or better, vimeo) would be great.
 livestream is very glitchy from here too.
 (although it was fun when it did work live...)


 youtube would be a pain as the videos have to be sliced and diced to
 match 10 minutes.  Not sure if vimeo has similar restrictions.
 Honestly I won't have much time for editing.  I'm gonna rip the tapes
 to some compressed format and post them.  If folks want to edit, post
 to other sites, etc. -- more power to them.  I'll do my best to rip
 this week, its off of tape, so that's 7 hours and I've got more travel
 this week, but I'll post whatever I rip.  In the interim, you can try
 downloading the stream from livestream -- there should be in an option
 with the Video-on-Demand stuff.

        -eric





Re: [9fans] out of physical memory; no swap configured

2010-03-19 Thread Bela Valek
2010/3/12 erik quanstrom quans...@labs.coraid.com:
 How do other operating systems detect the available RAM? Could Plan 9
 use the same method?

 plan 9 uses the same methods for detecting ram
 everyone else does.  perhaps we trust bios too much,
 but 8mb isn't impossible, either.

 try
        a *noe820scan=1
 at the 9load menu prompt.

 - erik



Hi,

I tried it and didnt work, I got the same output. Maybe its time to
trust BIOS less... :(

Greetings: Bela



[9fans] out of physical memory; no swap configured

2010-02-27 Thread Bela Valek
Hi,

I used Erik's 9atoms.iso to install Plan 9. When its booting, after
its asking for root partition and username, I get the error message
repeated: out of physical memory; no swap configured. Why, oh why?

I use fossil without venti, on a 2GB partition, the RAM is also 2 GB.

I found the message in
http://plan9.bell-labs.com/sources/plan9/sys/src/9/port/swap.c -
static void pager(void *junk).

Greetings: Béla



[9fans] unrecognized ethernet card

2010-02-24 Thread Bela Valek
Hi Everybody,

I installed Plan 9 on a new computer (Erik's 9atoms.iso), it doesnt
recognize the ethernet device (there is no /net/ether0). I wonder if
something can be done. If changing configuration doesnt help, I hope
its similar enough to an already supported device, so a few changes
here and there can make it work.

By the way, I was also wondering, when will Erik's SATA support arrive
in the main distribution?

Anyway, here are the details of the unrecognized device, from Linux:

- lshw says:
 *-bridge
  description: Ethernet interface
  product: MCP61 Ethernet
  vendor: nVidia Corporation
  physical id: 7
  bus info: p...@:00:07.0
  logical name: eth0
  version: a2
  serial: 00:1d:92:0b:b5:23
  size: 1
  capacity: 1
  width: 32 bits
  clock: 66MHz
  capabilities: bridge pm msi ht bus_master cap_list ethernet
physical mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
  configuration: autonegotiation=on broadcast=yes
driver=forcedeth driverversion=0.64 duplex=full latency=0 link=yes
maxlatency=20 mingnt=1 multicast=yes port=MII speed=100MB/s
  resources: irq:27 memory:dfff9000-dfff9fff ioport:e480(size=8)

- lspci says:
00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2)
Subsystem: Micro-Star International Co., Ltd. Device 7309
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=fast TAbort-
TAbort- MAbort- SERR- PERR- INTx-
Latency: 0 (250ns min, 5000ns max)
Interrupt: pin A routed to IRQ 27
Region 0: Memory at dfff9000 (32-bit, non-prefetchable) [size=4K]
Region 1: I/O ports at e480 [size=8]
Capabilities: [44] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA 
PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable+ DSel=0 DScale=0 PME-
Capabilities: [50] Message Signalled Interrupts: Mask+ 64bit+ Queue=0/3 
Enable+
Address: fee0100c  Data: 4181
Masking: 00fe  Pending: 
Capabilities: [6c] HyperTransport: MSI Mapping Enable- Fixed+
Kernel driver in use: forcedeth
Kernel modules: forcedeth

Greetings: Béla



Re: [9fans] pppoe on Plan 9

2010-02-23 Thread Bela Valek
Thanks, after I provided the service name, ip/pppoe asked for username
and password. However I still didnt have Internet access. I tried
ipconf/outside but it times out. Here is the complete output of
ip/pppoe:

http://pastebin.com/V7ACsh6g

Did I forgot something?

Thanks: Bela

2010/2/23 Russ Cox r...@swtch.com:
 00304894958d - 00508d68c9c0 type 0x8863
        vers 1 type 1 code 0x7 sessid 0x0 length 63
        0x102 22: ac 'pecs-nas1.tvnetwork.hu'
        0x101 9: service 'TvNetWork'
        0x104 20: ac cookie 31e0aff8b09a633faae5b9685fdfbd0dad00
 dropping unwanted pkt: no matching service name

 try adding
     -S TvNetWork
 to your command line.

 it looks like in pppoe.c the block

        if((s = findtag(pkt, TagSrvName, len, 0)) == nil)
                return bad(no matching service name);
        if(len != strlen(srvname) || memcmp(s, srvname, len) != 0)
                return bad(no matching service name);

 should be inside a if(srvname[0] != '\0') { ... }.





Re: [9fans] pppoe on Plan 9

2010-02-22 Thread Bela Valek
Thanks.

I got a username, a password, and an IP address from the Internet
provider. How do I give this information to ip/pppoe?

If I have to use Factotum, my question is: how do I give the username
and password to Factotum, so PPPoE can use it?

Thanks: Bela

2010/2/20 Russ Cox r...@swtch.com:
 How do we use pppoe on Plan 9? Its listening on stdin and answering on
 stdout. How do I have to start it, so its listening to the network
 interface?

 It sounds like you are running ip/ppp not ip/pppoe.
 See ppp(8).

 Russ





Re: [9fans] pppoe on Plan 9

2010-02-22 Thread Bela Valek
2010/2/22 Russ Cox r...@swtch.com:
 I got a username, a password, and an IP address from the Internet
 provider. How do I give this information to ip/pppoe?

 It should just prompt you (via factotum) for the username/password.
 The IP address should be irrelevant - the ppp server
 will tell you the IP address anyway.

 Russ



thank you. well, it doesnt prompt, somebody can help and tell me why?

this is the output (actually its repeated 6 times before giving up):

term% ip/pppoe -d
 -  type 0x8863
vers 1 type 1 code 0x9 sessid 0x0 length 4
0x101 0: service ''
00508d68c9c0 -  type 0x8863
vers 1 type 1 code 0x9 sessid 0x0 length 4
0x101 0: service ''
dropping unwanted pkt: not an offer
00304894958d - 00508d68c9c0 type 0x8863
vers 1 type 1 code 0x7 sessid 0x0 length 63
0x102 22: ac 'pecs-nas1.tvnetwork.hu'
0x101 9: service 'TvNetWork'
0x104 20: ac cookie 31e0aff8b09a633faae5b9685fdfbd0dad00
dropping unwanted pkt: no matching service name
ip/pppoe: could not establish session
term%



[9fans] pppoe on Plan 9

2010-02-20 Thread Bela Valek
Hi,

How do we use pppoe on Plan 9? Its listening on stdin and answering on
stdout. How do I have to start it, so its listening to the network
interface?

I have new internet probider unsing pppoe lannet, and I need help to
set up Plan 9 for it (i dont even know the right questions to ask)

Thanks: Bela



Re: [9fans] contrib/gui

2010-02-04 Thread Bela Valek
Great tool, I just downloaded and tried it. I found a bug: if you
click at the 'Info' menu item before you select any items, it dies.

2010/2/2 Federico G. Benavento benave...@gmail.com:
 after talking about it for some time
 I got tired of talking and wrote a simple
 gui installer for contrib
 so if you pull contrib, you'll get a contrib/gui

 here's a shot:
 http://lab-fgb.com/contrib.png

 ah, the code is not the best, but
 it gets the job done

 --
 Federico G. Benavento





Re: [9fans] Shall we fix the use of Up/Dn arrows?

2010-01-23 Thread Bela Valek
I agree, but only because PgDown and PgUp do the same as the Down and
Up arrows. Having two pairs of keys doing the same thing on the
keyboard is a waste. On the other hand, I found it easy to get used to
the Plan 9 approach. Its comfortable for me either way, I only think
that this modification would add a new functionality to the interface.

2010/1/23 Yi DAI plm@gmail.com:
 Hi,

 I am new to Plan9. This request sounds quite simple/naive. Don't think that
 I dislike the Plan9 ways. I enjoy it a lot. But it doesn't mean that it
 needs no improvement/fix, right?
 OK, here is my suggestion. We shall fix the use of Up/Dn arrows, I mean,
 instead of using it to go one page up/dn, use it to move the cursor up/dn
 one line. Here are two reasons for this:
 1. We use Lf/Rt arrows to move the cursor, don't we? Then use Up/Dn to do
 the same kind of task is symmetric, and thus more reasonable.
 2. We already have PageUp/PageDown keys which do the task of paging up/dn,
 and symmetrically, Home/End to move to the first and last page.

 EOT


 --
 DAY




[9fans] SiS 6326 AGP problem

2009-10-08 Thread Bela Valek
Hi all,

I have problem with a SiS 6326 AGP type video card. The screen is
dirty at every resolution, including x...@640x480x8 and
v...@640x480x8. Its no fun without graphics, if there is a workaround,
please help.

Thanks: Bela



Re: [9fans] plan9.iso and 9atom.iso fail on SATA IDE system

2009-09-03 Thread Bela Valek
2009/9/2 erik quanstrom quans...@quanstro.net:

 what date 9atom.iso?  the latest is from aug 26.  it detects
 more hardware.

 could you send me the output of pci or lspci -nv or whatever
 offlist?

 - erik



I sent you the lspci -nv output private. The 9atom.iso is the latest (Aug. 26).

Thank you for your help.

Greetings: Béla



[9fans] plan9.iso and 9atom.iso fail on SATA IDE system

2009-09-02 Thread Bela Valek
Hi,

The test subject is a desktop PC, it has SATA primary harddrive and
IDE master optical drive (according to the BIOS).

I tried to install with the regular CD (Aug. 15), it detected the SATA
harddrive only. I also tried Erik's 9atom.iso, it detected the IDE
drive only, so it booted the Live CD only. It reported 47 e820 entries
during boot.

(i try to get access to the other test subject too, so i can post its
error messages. the problem is, that its not in my possession)

Greetings: Béla



[9fans] Acer with 9atom.iso: out of physical memory

2009-08-26 Thread Bela Valek
Hi Everybody,

I try to install our favourite operating system on an Acer emachines
E525 laptop. Installation succeeded with Erik's 9atom.iso, but I
cannot boot. Here is the whole story:

- 1. Plan 9 install CD (of Aug. 15):

PBS1...
Plan 9 from Bell Labs
ELCR: 0C00
pcirouting: South Bridge 8086, 2919 not found

...nd hangup both in IDE and AHCI mode. not even Ctrl+Alt+Del
works. I suspect the buggy BIOS, but both Ubuntu 9.04 and WinXP worked
(the latter only in IDE mode).

- 2. Erik's 9atom.iso (of Aug. 16 22:13 PM) in IDE mode:

PBS1... Plan 9 from Bell Labs
ELCR: 0C00
sdata: blind probe 1f0
sdata: blind probe 170
aoepnp(nil)
found 54 e820 entries
Boot devices: fd0
boot from:

...nd nothing is accepted, CD is probably not recognized (I tried
the usual combinations).

- 3. Erik's 9atom.iso in AHCI mode works!

hard drive is sdE0, CD is sdE1, bad process or channel control
request: dma on, touchpad is ps2 mouse, vga works with 1024x768x32,
installation successful.

-4. trying to boot, after I log in as glenda, fossil says repeatedly:

out of physical memory, no swap configured

RAM is 2 GB, partition is 2 GB, i selected fossil only, i accepted the
default in prepdisk (i admit, i didnt look at it carefully, but it was
never a problem before). Any suggestions?

Greetings: Béla



Re: [9fans] Acer with 9atom.iso: out of physical memory

2009-08-26 Thread Bela Valek

 i'll take a look at this.  looks like a bug.  the number of e820
 entries is also curious.


when its already installed, the system says at boot time: found 1 e820 entries


 what does /dev/swap say?

 - erik


I checked with disk/prep in live CD mode, 9fat = 100 MB, nvram = 512
B, fossil = 1.44 GB, swap = 370.63 MB

fossil reports 'out of physical memory' immediatelly when its mounting
the partition. I cant get to take a look at /dev/swap.

Thanks for helping: Béla



Re: [9fans] Acer with 9atom.iso: out of physical memory

2009-08-26 Thread Bela Valek
2009/8/26 erik quanstrom quans...@quanstro.net:
 fossil reports 'out of physical memory' immediatelly when its mounting
 the partition. I cant get to take a look at /dev/swap.

 can you use the boot cd to modify plan9.ini to set
 *e820print=1
 ?

 - erik



I tried it, nothing changed



Re: [9fans] Acer with 9atom.iso: out of physical memory

2009-08-26 Thread Bela Valek

 it wasn't expected that anything would change.
 i was interested in the e820 output.  if you
 would send that along, that would be helpful.

 - erik



Oh, sorry. The install disk wrote '54 e820', the installed system
already writes '1 e820' without this line added.



Re: [9fans] USB HDD connection problem

2009-08-20 Thread Bela Valek
I tried a recent distribution image (Aug15). The live CD worked with
my external harddrive, after plugging it in i issued 'usbfat:', and i
was able to read and write files on it. When I installed it, 'usbfat:'
said that there are no usb disks. usbd was running (5 threads), I will
try ls '#u' when i have access to the machine.


2009/8/19 Francisco J Ballesteros n...@lsub.org:
 there has been an update on usb software recently.
 the old kernel driver was called #U, the new one is #u.
 Tools like usb/usbd and usb/disk changed as well.

 Do you still have the problem?
 I'm just reading the mail thread and don't understand why
 /srv/usb is not there. It should.

 can you ls '#u' ?
 Do you have usbd running?

 Sorry, just came and I might be missing some eairlier mail.
 I'm still reading them all.

 On Sat, Aug 8, 2009 at 1:08 PM, Bela Valekbval...@gmail.com wrote:
 - usb/usbd is up and running
 - the only option in my BIOS is to turn USB off
 - I am sorry, i dont understand the part about the old and new USB
 devices and tools. can you explain a bit?

 Thanks: Béla

 2009/8/7 erik quanstrom quans...@coraid.com:
 On Fri Aug  7 02:53:14 EDT 2009, bval...@gmail.com wrote:
 There is more:

 I don't have a usbdisk manpage. '%man usbdisk' complains that its not
 there, but if i do a '%lookman usbdisk', the manpage is listed as a
 hit, so it must be in the search index.

 [...]
 
  - usb/disk gives this:
  usb/disk: /dev/usb: no devs
 
  - usbfat: writes:
  mount: can't open /srv/usb: '/srv/usb' file does not exist
  cannot mount /srv/usb
 
  The USB mouse works.

 hmm.  if the usb mouse works, yet plan 9 is not running
 usb/usbd (have you checked), it may be that your bios has
 put your usb in legacy mode and either won't or hasn't been
 asked to let go.

 if you are running usbd and usb/kb, then this could happen
 if you are mixing #U and tools for #U (the old usb device)
 and #u and tools for #u.

 your man page problem sounds like you've damaged your local fs.
 consider a pull to update.

 - erik









[9fans] usbd error message

2009-08-13 Thread Bela Valek
I managed to reproduce the error in Bochs, the only thing I did was
turning on the USB support in the emulator (usb_uhci: enabled=1).

Startup:
pcirouting: BIOS workaround: PCI.0.1.3 at pin 1 link 96 irq 11 - 9
#u/usb/ep1.0: uhci: port 0xC020 irq 9
256M memory: 105M kernel data, 151M user, 576M swap
usbd...root is from (tcp, local)[local!#S/sdC0/fossil]:

The error message:
usb/usbd: opendevdata: /dev/usb/ep1.0: '/dev/usb/ep1.0/data' device or
object already in use
usb/usbd: /dev/usb/ep1.0: '/dev/usb/ep1.0/data' device or object already in use

Do you know what happened?

Greetings: Béla



Re: [9fans] Plan 9 hg with private repositories

2009-08-13 Thread Bela Valek

 Presumably this is because ssh is sshv1
 but bitbucket requires sshv2.

 Russ


Correct me if I am wrong, but an sshv2 server is also providing sshv1
too. Maybe when the Plan 9 ssh client is facing sshv2, instead of
shutting down with an error, it should try sshv1, or wait until its
offered, i am unsure about the mechanism here. Just an idea, I am
really not an expert here.

Greetings: Béla



Re: [9fans] usbd error message

2009-08-13 Thread Bela Valek
First of all, i missed some pids, the total number of usbd processes is 8:

glenda50:00   0:00  356K Sleepusbd
glenda60:00   0:00  356K Preadusbd
glenda70:00   0:00  356K Rendez   usbd
glenda80:00   0:00  356K Rendez   usbd
glenda   950:00   0:00  356K Sleepusbd
glenda   960:00   0:00  356K Preadusbd
glenda   970:00   0:00  356K Rendez   usbd
glenda   980:00   0:00  356K Rendez   usbd

processes 5 - 8 give this an output like this:

term% echo 'stacks()' | acid -l thread 5
/proc/5/text:386 plan 9 executable
/sys/lib/acid/port
/sys/lib/acid/386
/sys/lib/acid/thread:1: (error) pushfile:
/sys/src/libthread/sched.acid: '/sys/src/libthread/sched.acid' does
not exist
no symbol information
acid: stdin:2: (error) no function stacks
acid:
echo kill  /proc/5/ctl

processes 95 - 98 give this output (missing line: 'no symbol information'):

term% echo 'stacks()' | acid -l thread 95
/proc/5/text:386 plan 9 executable
/sys/lib/acid/port
/sys/lib/acid/386
/sys/lib/acid/thread:1: (error) pushfile:
/sys/src/libthread/sched.acid: '/sys/src/libthread/sched.acid' does
not exist
acid: stdin:2: (error) no function stacks
acid:
echo kill  /proc/95/ctl

Greetings: Béla

2009/8/13 Noah Evans noah.ev...@gmail.com:
 Okay, could you run:

  echo 'stacks()' | acid -l thread pid

 On Thu, Aug 13, 2009 at 11:44 AM, Bela Valekbval...@gmail.com wrote:
 Logged in with 'none':

 none             91    0:00   0:00      356K Sleep    usbd
 none             92    0:00   0:00      356K Pread    usbd
 none             93    0:00   0:00      356K Rendez   usbd
 none             94    0:00   0:00      356K Rendez   usbd

 Logged in with 'glenda':

 glenda            5    0:00   0:00      356K Sleep    usbd
 glenda            6    0:00   0:00      356K Pread    usbd
 glenda            7    0:00   0:00      356K Rendez   usbd
 glenda            8    0:00   0:00      356K Rendez   usbd

 Its a default install, nothing was modified.

 2009/8/13 Noah Evans noah.ev...@gmail.com:
 Are you sure you're not running two usbds? Can send a listing of your
 process table?

 On Thu, Aug 13, 2009 at 11:03 AM, Bela Valekbval...@gmail.com wrote:
 I managed to reproduce the error in Bochs, the only thing I did was
 turning on the USB support in the emulator (usb_uhci: enabled=1).

 Startup:
 pcirouting: BIOS workaround: PCI.0.1.3 at pin 1 link 96 irq 11 - 9
 #u/usb/ep1.0: uhci: port 0xC020 irq 9
 256M memory: 105M kernel data, 151M user, 576M swap
 usbd...root is from (tcp, local)[local!#S/sdC0/fossil]:

 The error message:
 usb/usbd: opendevdata: /dev/usb/ep1.0: '/dev/usb/ep1.0/data' device or
 object already in use
 usb/usbd: /dev/usb/ep1.0: '/dev/usb/ep1.0/data' device or object already 
 in use

 Do you know what happened?

 Greetings: Béla











Re: [9fans] usbd error message

2009-08-13 Thread Bela Valek
2009/8/13 Noah Evans noah.ev...@gmail.com:
 Can you mk all /sys/src/libthread. This is bogging down a bit. Take it 
 off-list?


I did mk, and i tried the command again, thread 5 has no process
information, thread 95 gives this:

term% echo 'stacks()' | acid -l thread 95
/proc/95/text:386 plan 9 executable
/sys/lib/acid/port
/sys/lib/acid/386
/sys/lib/acid/thread
acid: p=(Proc)0x38988pid 95  Running
t=(Thread)0x39328Running/sys/src/cmd/usb/usbd/usbd.c:585 work
sleep()+0x7 /sys/src/libc/9syscall/sleep.s:5
work(a=0x38948)+0x12c /sys/src/cmd/usb/usbd/usbd.c:585
launcher386(arg=0x38948,f=0x2b0d)+0x10 
/sys/src/libthread/386.c:10
0xfefefefe ?file?:0


p=(Proc)0x52c88pid 96  Running
t=(Thread)0x53628Running/sys/src/cmd/usb/lib/fs.c:592 usbfs
pread()+0x7 /sys/src/libc/9syscall/pread.s:5
read(fd=0x5,buf=0x4efc4,n=0x4)+0x2f /sys/src/libc/9sys/read.c:7
readn(n=0x4,av=0x4efc4,f=0x5)+0x3a /sys/src/libc/port/readn.c:13
read9pmsg(abuf=0x4efc4,fd=0x5,n=0x2080)+0x24 
/sys/src/libc/9sys/read9pmsg.c:14
usbfs()+0x100 /sys/src/cmd/usb/lib/fs.c:592
launcher386(arg=0x0,f=0xadd0)+0x10 /sys/src/libthread/386.c:10
0xfefefefe ?file?:0

t=(Thread)0x53748Rendez /sys/src/cmd/usb/lib/fs.c:119 schedproc
alt(alts=0x49950)+0x12a /sys/src/libthread/channel.c:140
schedproc()+0xbe /sys/src/cmd/usb/lib/fs.c:119
launcher386(arg=0x0,f=0x9bb2)+0x10 /sys/src/libthread/386.c:10
0xfefefefe ?file?:0


p=(Proc)0x499d8pid 97  Sched
t=(Thread)0x537e8Rendez /sys/src/cmd/usb/lib/fs.c:546 outproc
recvp(c=0x38948)+0x2c /sys/src/libthread/channel.c:270
outproc()+0x2f /sys/src/cmd/usb/lib/fs.c:546
launcher386(arg=0x0,f=0xac11)+0x10 /sys/src/libthread/386.c:10
0xfefefefe ?file?:0


p=(Proc)0x4e398pid 98  Sched
t=(Thread)0x53928Rendez /sys/src/cmd/usb/lib/fs.c:342 fsioproc
recvp(c=0x538e8)+0x2c /sys/src/libthread/channel.c:270
fsioproc(a=0x538e8)+0x51 /sys/src/cmd/usb/lib/fs.c:342
launcher386(arg=0x538e8,f=0xa440)+0x10 
/sys/src/libthread/386.c:10
0xfefefefe ?file?:0


acid:
echo kill  /proc/98/ctl
echo kill  /proc/97/ctl
echo kill  /proc/96/ctl
echo kill  /proc/95/ctl



Re: [9fans] usbd error message

2009-08-13 Thread Bela Valek
Its a default install, i didnt modify it.

2009/8/13 erik quanstrom quans...@quanstro.net:
 On Thu Aug 13 06:25:14 EDT 2009, bval...@gmail.com wrote:
 First of all, i missed some pids, the total number of usbd processes is 8:

 glenda            5    0:00   0:00      356K Sleep    usbd
 glenda            6    0:00   0:00      356K Pread    usbd
 glenda            7    0:00   0:00      356K Rendez   usbd
 glenda            8    0:00   0:00      356K Rendez   usbd
 glenda           95    0:00   0:00      356K Sleep    usbd
 glenda           96    0:00   0:00      356K Pread    usbd
 glenda           97    0:00   0:00      356K Rendez   usbd
 glenda           98    0:00   0:00      356K Rendez   usbd

 looks like the problem is that you're starting usbd twice.
 perhaps in or from cpurc or termrc?

 - erik





Re: [9fans] usbd error message

2009-08-13 Thread Bela Valek
2009/8/13 Noah Evans noah.ev...@gmail.com:
 Can you reboot the machine and then pastebin the full transcript of
 what happens from boot to your usbd error? AFAIK you shouldn't have
 two instances of usbd running.


Its very short, the error message comes early:

Plan 9
E820:  0009f000 memory
E820: 0009f000 000a reserved
E820: 000e8000 0010 reserved
E820: 0010 0fff memory
E820: 0fff 1000 acpi reclaim
E820: fffc 1 reserved
126 holes free
00019000 0009f000 548864
0040e000 0687f000 105320448
105869312 bytes free
cpu0: 50MHz GenuineIntel PentiumIV/Xeon (cpuid: AX 0x0F20 DX 0x78BFBFF)
ELCR: 0A00
pcirouting: BIOS workaround: PCI.0.1.3 at pin 1 link 96 irq 11 - 9
#u/usb/ep1.0: uhci: port 0xC020 irq 9
256M memory: 105M kernel data, 151M user, 576M swap
usbd...root is from (tcp, local)[local!#S/sdC0/fossil]:
user[none]: glenda
time...
fossil(#S/sdC0/fossil)...version...time...

init: starting /bin/rc
grep: exec header invalid
grep: exec header invalid
grep: exec header invalid
usb/usbd: opendevdata: /dev/usb/ep1.0: '/dev/usb/ep1.0/data' device or
object already in use
usb/usbd: /dev/usb/ep1.0: '/dev/usb/ep1.0/data' device or object already in use



Re: [9fans] usbd error message

2009-08-13 Thread Bela Valek
2009/8/13 Noah Evans noah.ev...@gmail.com:
 Can add 'flag x +' to /rc/bin/usbstart and /rc/bin/termrc and post
 that output? I think I know your problem now. Also could you:
 echo  | grep -s hello; echo $status

 My guess is that somehow your grep is borked and:

        if (! ps | grep -s ' usbd$')
                usb/usbd
 is succeeding in /rc/bin/usbstart


term% echo  | grep -s hello; echo $status
grep: exec header invalid
|rc 220: can't exec: exec header invalid

I wonder, what did I temper with, on two different installations. I
just tried a clean install, the error message is not there, and ps
show only 4 usbd threads.



[9fans] manpages broken/outdated

2009-08-10 Thread Bela Valek
I have checked it on 3 different installations, the 'usbdisk' manpage
is missing, on fresh installations too. Its not a filesystem
corruption for sure. Most other USB-related manpages still list the
nonexistent -f and -l parameters for the 'usb/disk' command.

Greetings: Béla



Re: [9fans] manpages broken/outdated

2009-08-10 Thread Bela Valek
Erik: thank you for helping, I see that the usb(4) manpage is up to
date. The old usbdisk(4) manpage had a working example for attaching a
FAT filesystem formatted USB hardrive. Can you tell me, where I can
find the updated version of this example?

Thanks: Béla



Re: [9fans] manpages broken/outdated

2009-08-10 Thread Bela Valek
Well, then simply running 'usbfat:' is supposed to work, right? I see
the warning about the untested drivers in usb(4), so a bug is no
surprise i guess... I try to create a proper bugreport with exact
hardware specification then.

2009/8/10 erik quanstrom quans...@quanstro.net:
 On Mon Aug 10 08:30:37 EDT 2009, bval...@gmail.com wrote:
 Erik: thank you for helping, I see that the usb(4) manpage is up to
 date. The old usbdisk(4) manpage had a working example for attaching a
 FAT filesystem formatted USB hardrive. Can you tell me, where I can
 find the updated version of this example?

 see /rc/bin/usbfat:

 - erik





Re: [9fans] USB HDD connection problem

2009-08-08 Thread Bela Valek
- usb/usbd is up and running
- the only option in my BIOS is to turn USB off
- I am sorry, i dont understand the part about the old and new USB
devices and tools. can you explain a bit?

Thanks: Béla

2009/8/7 erik quanstrom quans...@coraid.com:
 On Fri Aug  7 02:53:14 EDT 2009, bval...@gmail.com wrote:
 There is more:

 I don't have a usbdisk manpage. '%man usbdisk' complains that its not
 there, but if i do a '%lookman usbdisk', the manpage is listed as a
 hit, so it must be in the search index.

 [...]
 
  - usb/disk gives this:
  usb/disk: /dev/usb: no devs
 
  - usbfat: writes:
  mount: can't open /srv/usb: '/srv/usb' file does not exist
  cannot mount /srv/usb
 
  The USB mouse works.

 hmm.  if the usb mouse works, yet plan 9 is not running
 usb/usbd (have you checked), it may be that your bios has
 put your usb in legacy mode and either won't or hasn't been
 asked to let go.

 if you are running usbd and usb/kb, then this could happen
 if you are mixing #U and tools for #U (the old usb device)
 and #u and tools for #u.

 your man page problem sounds like you've damaged your local fs.
 consider a pull to update.

 - erik





Re: [9fans] USB HDD connection problem

2009-08-07 Thread Bela Valek
There is more:

I don't have a usbdisk manpage. '%man usbdisk' complains that its not
there, but if i do a '%lookman usbdisk', the manpage is listed as a
hit, so it must be in the search index.

My 'usb/disk' command doesn't have -f and -l parameters at all. I
downloaded the installation ISO file on the 4th of june. Do you know
something about it?

Both 'usb/usbd' and '/boot/usbd' complain about the same (busy
devices), and the rest of the commands simply doesnt find anything in
'/dev'. So, I cannot try the example in the (nonexistent) usbdisk
manpage, not to mention the nonexistent -f and -l parameters...

Can you help me?

Greetings: Béla

2009/8/6 Bela Valek bval...@gmail.com:
 Forgot to mention, I tried to start /boot/usbd manually, i got error
 messages, it said that the epX.Y and port numbers are busy or
 something (i dont have the exact error message here, sorry).

 2009/8/5 Francisco J Ballesteros n...@lsub.org:
 It seems you dont have usbd running.

 El 05/08/2009, a las 17:51, bval...@gmail.com escribió:

 Hi,

 I have a problem with connecting USB HDD. When i plug it in, i get
 this error message: /boot/usbd: /dev/usb/ep5.0: port 8: opendev: can't
 open endpoint /dev/usb/ep7.0: '/dev/usb' file does not exist
 I get this after several other tries too, only the ep-number and the
 port are varied.

 - usb/disk gives this:
 usb/disk: /dev/usb: no devs

 - usbfat: writes:
 mount: can't open /srv/usb: '/srv/usb' file does not exist
 cannot mount /srv/usb

 The USB mouse works.

 Greetings: Béla

 [/mail/box/nemo/msgs/200908/45693]






Re: [9fans] USB HDD connection problem

2009-08-06 Thread Bela Valek
Forgot to mention, I tried to start /boot/usbd manually, i got error
messages, it said that the epX.Y and port numbers are busy or
something (i dont have the exact error message here, sorry).

2009/8/5 Francisco J Ballesteros n...@lsub.org:
 It seems you dont have usbd running.

 El 05/08/2009, a las 17:51, bval...@gmail.com escribió:

 Hi,

 I have a problem with connecting USB HDD. When i plug it in, i get
 this error message: /boot/usbd: /dev/usb/ep5.0: port 8: opendev: can't
 open endpoint /dev/usb/ep7.0: '/dev/usb' file does not exist
 I get this after several other tries too, only the ep-number and the
 port are varied.

 - usb/disk gives this:
 usb/disk: /dev/usb: no devs

 - usbfat: writes:
 mount: can't open /srv/usb: '/srv/usb' file does not exist
 cannot mount /srv/usb

 The USB mouse works.

 Greetings: Béla

 [/mail/box/nemo/msgs/200908/45693]





[9fans] USB HDD connection problem

2009-08-05 Thread Bela Valek
Hi,

I have a problem with connecting USB HDD. When i plug it in, i get
this error message: /boot/usbd: /dev/usb/ep5.0: port 8: opendev: can't
open endpoint /dev/usb/ep7.0: '/dev/usb' file does not exist
I get this after several other tries too, only the ep-number and the
port are varied.

- usb/disk gives this:
usb/disk: /dev/usb: no devs

- usbfat: writes:
mount: can't open /srv/usb: '/srv/usb' file does not exist
cannot mount /srv/usb

The USB mouse works.

Greetings: Béla



[9fans] Announcing the first Hungarian Plan 9 mailing list

2009-08-01 Thread Bela Valek
Harka Győző at the University of Pécs has just started a new mailing
list for the Hungarian fans of Plan 9. We discuss topics about our
favorite operating system in our native language. You can join us at:
https://omega.ttk.pte.hu/cgi-bin/mailman/listinfo/9rajong



Re: [9fans] installing from sdC0 or sdC1 CD

2009-07-31 Thread Bela Valek
I was able to install from sdC1 in the Bochs emulator. If you install
and your CD is not sdD0, you get this prompt:

Unknown boot device: sdD0!cdboot!9pcflop.gz
Boot device: fd0
boot from:

If its sdC1 (like in my case), the answer has to be:

boot from: sdC1!cdboot!9pcflop.gz

More info about the install at
http://plan9.bell-labs.com/wiki/plan9/installation_instructions/



Re: [9fans] Help needed - Boot Failure...

2009-07-20 Thread Bela Valek
Hi,

If Erik's fix works for Lyle's installation, I suggest that you
include it in the distribution.

Greetings: Bela (the annoying include it in the distrib guy)