Re: [9fans] Plan 9 on Intel P45 chipset motherboard

2010-02-06 Thread erik quanstrom
>I don't think the on-board network adapter is supported (Atheros >AR81xx), I use a gigabit intel nic. I haven't really looked at the >onboard audio, I use an usb sound card. unfortunately, not (yet) supported. >I have had some problems using the box as a cpu server, as it would >freeze up from

Re: [9fans] In case anyone worries about block hash collision in venti

2010-02-06 Thread erik quanstrom
> Sorry, this is all bunk. You shouldn't be worried about > an accidental collision. You should be worried about > an intentional collision. Especially if your filesystem > stores data that is under the attackers control such as > email messages, web page caches, etc. So what you need > to anal

Re: [9fans] kenfs question?

2010-02-06 Thread erik quanstrom
> I guess I wasn't clear; what I was asking was why it was safe to > attempt to take a lock when splhi() at all. because the rule is you can't sleep when holding a lock. - erik

Re: [9fans] kenfs question?

2010-02-06 Thread Venkatesh Srinivas
Hi, I guess I wasn't clear; what I was asking was why it was safe to attempt to take a lock when splhi() at all. On a UP, if that lock is contended and interrupts are off, you'll lockup, no? (The timer interrupt handler will never run, reschedule will never happen, the lock holder will never run)

Re: [9fans] kenfs question?

2010-02-06 Thread Russ Cox
> > ilock() (pc/lock.c) calls splhi() and then calls lock(). If that lock were > contended, how would the system not stop? And on a UP system, if you're > inside an splhi() block, > why would you need to take an uncontended lock? > ilock is for locks that get used both in normal procs and in inter

Re: [9fans] NaN, +Inf, and -Inf, constants?

2010-02-06 Thread Russ Cox
On Sat, Feb 6, 2010 at 7:38 AM, Tristan Plumb <9p...@imu.li> wrote: > enums can hold doubles (which is quite nice) > Umm, no they can't. Russ

Re: [9fans] In case anyone worries about block hash collision in venti

2010-02-06 Thread Tim Newsham
http://www.c0t0d0s0.org/archives/6349-Perceived-Risk.html Sorry, this is all bunk. You shouldn't be worried about an accidental collision. You should be worried about an intentional collision. Especially if your filesystem stores data that is under the attackers control such as email messages

Re: [9fans] Plan 9 on Intel P45 chipset motherboard

2010-02-06 Thread Andreas Eriksen
Hi Steve, I also have an Asus P5Q motherboard (not "SE2") and an Asus EN6200LE/TC video card. I have been able to install from a sata dvd+rw drive in both IDE and AHCI mode, using the sata ports connected to the ICH10R. IDE compatability mode works with the official distribution, but without dm

Re: [9fans] Plan 9 on Intel P45 chipset motherboard

2010-02-06 Thread erik quanstrom
> 1. The installation of Plan 9 is not possible. I found > that the Marvell 88se61xx IDE controller is not working. > The message: > pcirouting: ignoring south bridge PCI.0.31.0 8086/3A18 the pcirouting message is likely unrelated. this is probablly a bug in the ahci driver. the ahci driver sho

Re: [9fans] Plan 9 on Intel P45 chipset motherboard

2010-02-06 Thread Steve Simon
> How can I stop starting rc and go to the console? Booting from > cdrom is not possible at the moment. alternatively, if you have a network perhaps you could PXE boot the machine from another host and then mount and edit plan9.ini -Steve

[9fans] Plan 9 on Intel P45 chipset motherboard

2010-02-06 Thread Wolfgang Kunz
Hi, after reading a lot of chip sets I was thinking: No risk, no fun and bought a very new motherboard. The board is an Asus P5Q SE2 with Intel P45 and ICH10. http://www.asus.com/product.aspx?P_ID=T4T7B10FfR6zJ4Ns&templete=2 Here my results: 1. The installation of Plan 9 is not possible. I f

[9fans] In case anyone worries about block hash collision in venti

2010-02-06 Thread maht
http://www.c0t0d0s0.org/archives/6349-Perceived-Risk.html

Re: [9fans] LinuxEMU

2010-02-06 Thread David Leimbach
On Sat, Feb 6, 2010 at 9:56 AM, wrote: > here are efforts to build a staticly linked linux distribution: > > http://stali.suckless.org/ > > have not tried it on linuxemu yet, but from the discription they > will use some alternative tiny libc. > > looks like the right direction... > > -- > cinap

Re: [9fans] LinuxEMU

2010-02-06 Thread cinap_lenrek
here are efforts to build a staticly linked linux distribution: http://stali.suckless.org/ have not tried it on linuxemu yet, but from the discription they will use some alternative tiny libc. looks like the right direction... -- cinap --- Begin Message --- cinap_len...@gmx.de wrote: > look at

Re: [9fans] NaN, +Inf, and -Inf, constants?

2010-02-06 Thread Tristan Plumb
> NaN(2) and Inf(2) are not constant functions. the result depends on > the settings of the fcr (getfcr(2)). Really? My reading of /sys/src/libc/port/nan.c makes me think NaN(2) returns a uvlong value of 0x7ff1, miss I something? On the other hand, the assignment of NaN to a double de

Re: [9fans] kenfs question?

2010-02-06 Thread erik quanstrom
> ilock() (pc/lock.c) calls splhi() and then calls lock(). If that lock were > contended, > how would the system not stop? And on a UP system, if you're inside an > splhi() block, > why would you need to take an uncontended lock? good question. on a up system, splhi() is sufficient. on a mp s

[9fans] kenfs question?

2010-02-06 Thread Venkatesh Srinivas
Hi, I was looking at the sources to kenfs and saw something that confused me - ilock() (pc/lock.c) calls splhi() and then calls lock(). If that lock were contended, how would the system not stop? And on a UP system, if you're inside an splhi() block, why would you need to take an uncontended l

Re: [9fans] NaN, +Inf, and -Inf, constants?

2010-02-06 Thread erik quanstrom
> One thing leading to another, I am currently centralizing constants, and > found that enums can hold doubles (which is quite nice), but I have no > way of defining NaN or Inf as a constant, is there such a way? > > Or is there a way to evaluate constant functions at compile time (eep)? NaN(2) a

[9fans] NaN, +Inf, and -Inf, constants?

2010-02-06 Thread Tristan Plumb
I'm porting PROJ4.3.3 (the cleanest version of proj I could find), and it's a little ugly. One thing leading to another, I am currently centralizing constants, and found that enums can hold doubles (which is quite nice), but I have no way of defining NaN or Inf as a constant, is there such a way?