Glyn Astill | 7 Oct 2006 13:52
Picon
Favicon

poffd problem

Hi people,

I just got a new hard disk for my qube and I installed the 3.99 CD
image.

All was going well and I followed the instructions here
http://www.teraqube.co.uk/software/#s1.2 to do the basic setup.

Then I did a shutdown -r to reboot the machine however on bootup the
last thing on the qubes display is Starting Up >poffd

It seems to get stuck here, does anyone know why this could be?

I can still rlogin to the qube and instead of the usual # prompt I've
got 192#

I've not got much experience with netbsd so I'm a bit confused here.
Thanks
Glyn

		
___________________________________________________________ 
Yahoo! Photos – NEW, now offering a quality print service from just 8p a photo http://uk.photos.yahoo.com

katana | 8 Oct 2006 07:25
Favicon

Apache installation problem

Well, actually, it's more of a pkg-add problem.
I installed NetBSD-1.6.1 on my qube-2, got it up and running, can ssh in.

I'm following the instructions I found at andreas' page
http://www.aironaut.ch/content/view/18/53/
I point at the pkg repository:
setenv PKG_PATH ftp://ftp.netbsd.org/pub/NetBSD/packages/1.6/cobalt/All
and try to get apache
pkg-add -v apache
and it says it can't find that package.  Sure enough if I go look at the
package list, there's no apache.  There are lots of packages that start
with ap-(stuff) but I have no idea which one(s) I need.
Ditto for trying to get samba.
So: is apache split up into multiple packages?  Which do I need?  Or is
there another recommended repository?

Thanks

John

Glyn Astill | 7 Oct 2006 14:15
Picon
Favicon

Poffd problem

Hi People,

I recently re-installed my qube using the 3.99 CD, and then followed
the  initial setup parameters here
http://www.teraqube.co.uk/software/#s1.2

I then did a shutdown -r and expected the qube to boot back up no
problems, however it gets stuck at Starting Up >poffd on the qubes
display.

Does anyone know why this might be, I cant see what I have done wrong
and it's driving me crazy.

However it seems that I can still connect to the qube and everything
however the qubes display just freezes at the "Starting up >poffd"
bit.

Any ideas would be appreciated, I don't know much at all about
netbsd.

thanks 
Glyn

Glyn Astill

		
___________________________________________________________ 
All New Yahoo! Mail – Tired of Vi <at> gr <at> ! come-ons? Let our SpamGuard protect you. http://uk.docs.yahoo.com/nowyoucan.html

(Continue reading)

Erik Berls | 8 Oct 2006 11:02

Re: poffd problem

You might want to check /etc/ttys, there could be a baud rate mismatch.

The 192 sounds like it tried to parse the IP address as the hostname (i.e. breaking apart a dotted quad thinking it was a FQDN).  Do you have reverse DNS set up?  Running dhclient?

-=erik.


On 10/7/06, Glyn Astill <glynastill <at> yahoo.co.uk> wrote:
Hi people,

I just got a new hard disk for my qube and I installed the 3.99 CD
image.

All was going well and I followed the instructions here
http://www.teraqube.co.uk/software/#s1.2 to do the basic setup.

Then I did a shutdown -r to reboot the machine however on bootup the
last thing on the qubes display is Starting Up >poffd

It seems to get stuck here, does anyone know why this could be?

I can still rlogin to the qube and instead of the usual # prompt I've
got 192#

I've not got much experience with netbsd so I'm a bit confused here.
Thanks
Glyn



___________________________________________________________
Yahoo! Photos – NEW, now offering a quality print service from just 8p a photo http://uk.photos.yahoo.com

Erik Berls | 8 Oct 2006 11:05

Re: Apache installation problem

1.6.x is quite old and no longer supported.
The 2.x branch will likely be obsoleted in the next year when 4.0 comes out.  Older packages may get removed when there are security issues with them, unsupported versions may not necessarily get rebuilt.

The ap- are additional modules, but you need the base package.
You should be able to compile it yourself from the latest pkgsrc, though I recommend upgrading to something newer than 1.6.1.

-=erik.


On 10/7/06, katana <at> frii.com <katana <at> frii.com> wrote:
Well, actually, it's more of a pkg-add problem.
I installed NetBSD-1.6.1 on my qube-2, got it up and running, can ssh in.

I'm following the instructions I found at andreas' page
http://www.aironaut.ch/content/view/18/53/
I point at the pkg repository:
setenv PKG_PATH ftp://ftp.netbsd.org/pub/NetBSD/packages/1.6/cobalt/All
and try to get apache
pkg-add -v apache
and it says it can't find that package.  Sure enough if I go look at the
package list, there's no apache.  There are lots of packages that start
with ap-(stuff) but I have no idea which one(s) I need.
Ditto for trying to get samba.
So: is apache split up into multiple packages?  Which do I need?  Or is
there another recommended repository?

Thanks

John


Brian McEwen | 8 Oct 2006 12:50
Picon

Re: Poffd problem


On Oct 7, 2006, at 8:15 AM, Glyn Astill wrote:

> Hi People,
>
> I recently re-installed my qube using the 3.99 CD, and then followed
> the  initial setup parameters here
> http://www.teraqube.co.uk/software/#s1.2
>
> I then did a shutdown -r and expected the qube to boot back up no
> problems, however it gets stuck at Starting Up >poffd on the qubes
> display.
>
> Does anyone know why this might be, I cant see what I have done wrong
> and it's driving me crazy.
>
> However it seems that I can still connect to the qube and everything
> however the qubes display just freezes at the "Starting up >poffd"
> bit.
>
> Any ideas would be appreciated, I don't know much at all about
> netbsd.

So, you're saying you can connect and everything just fine, it's just  
the display locks up (LCD isn't working).

There had been for ages a problem with NetBSD and the Qube's LCD; the  
LCD support broke at one point, I think for all of 2.0.   I thought  
that the patch had been built into the general 3.99 release but  
perhaps not.  If you search these list archives .. hey, I just did  
that, and you had the 3.99 going in Aug and had the IP address  
displaying fine, right?  I found a message on this list from April  
2006 that indicated the 3.99 CD on the NEtBSD site has a working  
paneld (the buttons) and by implication so should the LCD.

Shon's page has instructions for editing the banner.sh in 1.6.1, did  
you perform that edit with your 3.99 install?  If so, go back to the  
original banner and see if the IP address displays.   If it was doing  
this out of the box, it's likely the install CD you used didn't have  
the patch to get the display working properly.
In all honesty, most people turned it off in 1.6.1, it used up a lot  
of CPU time to maintain, then it broke for a long while, then a patch  
came out to make it work, but I don't recall about the CPU load being  
fixed.

You should be able to get it going though.

Brian

KIYOHARA Takashi | 8 Oct 2006 19:02
Picon

Re: dangerous for initialize of MIPS timer

Hi! tsutsui-san,

From: Izumi Tsutsui <tsutsui <at> ceres.dti.ne.jp>
Date: Sat, 30 Sep 2006 09:49:12 +0900

> kiyohara <at> kk.iij4u.or.jp wrote:
> 
> > > >   #define _splnoclock()	  _spllower(MIPS_INT_MASK_5 | MIPS_SR_INT_IE)
> > > 
> > > IMHO, this usage doesn't match "system priority level" definitions
> > > (i.e. splfoo() implies something to "raise" the system priority level)
> > > so it might be better to have some other name, like enable_devintr()
> > > or enable_extintr() etc? (in <mips/mips3_clock.h>?)
> > 
> > It cannot be thought that the name such as devintr and extintr is
> > appropriateness to me. 
> > In this case, I think that more directly name 'noclock' is the best. 
> 
> IMO `enable_intr_noclock()' also looks ambiguous, but we should ask
> other native mips guys...
> 
> Another possible option is just removing spl calls from MD cpu_configure(9)
> so that we don't have to choose any names?

hmm...
How is this problem done?
There are none of reactions from mips guys... ;-<

Thanks,
--
kiyohara

KIYOHARA Takashi | 8 Oct 2006 19:29
Picon

Re: sharing IRQ

Hi! tsutsui-san,

From: Izumi Tsutsui <tsutsui <at> ceres.dti.ne.jp>
Date: Wed, 20 Sep 2006 18:07:09 +0900

> So, before implemente shared IRQ support code, we should
> know hardware specification around cobalt PCI, i.e.
> we should know which IRQ pins each PIN A-D lines are
> connected to. If each PIN A-D lines of the PCI slot
> are connected to independent ICU irq pins, we don't
> have to have shared irq support at all.

I tried some multi-function cards.  However, my cobalt was not able to
booted.  Firmware hangs up.  When it is a card that uses a different pin
(A-D), it thinks like this.  The multi function card of different irq
might be not able to be used with cobalt. 

Thanks,
--
kiyohara

Index: arch/cobalt/cobalt/machdep.c
===================================================================
RCS file: /cvsroot/src/sys/arch/cobalt/cobalt/machdep.c,v
retrieving revision 1.75
diff -u -r1.75 machdep.c
--- arch/cobalt/cobalt/machdep.c	16 Sep 2006 13:31:44 -0000	1.75
+++ arch/cobalt/cobalt/machdep.c	8 Oct 2006 17:05:16 -0000
 <at>  <at>  -66,6 +66,7  <at>  <at> 
 #include <sys/reboot.h>
 #include <sys/user.h>
 #include <sys/mount.h>
+#include <sys/malloc.h>
 #include <sys/kcore.h>
 #include <sys/boot_flag.h>
 #include <sys/ksyms.h>
 <at>  <at>  -513,8 +514,10  <at>  <at> 
 	struct cobalt_intrhand *ih;

 	ih = &icu_intrtab[irq];
-	if (ih->ih_func != NULL)
-		panic("icu_intr_establish(): irq %d is already in use", irq);
+	if (ih->ih_func != NULL) {
+		ih = malloc(sizeof(*ih), M_DEVBUF, M_NOWAIT);
+		LIST_INSERT_AFTER(&icu_intrtab[irq], ih, ih_q);
+	}

 	ih->ih_cookie_type = COBALT_COOKIE_TYPE_ICU;
 	ih->ih_func = func;
 <at>  <at>  -604,12 +607,14  <at>  <at> 
 		irq = OCW3_POLL_IRQ(ICU2_READ(PIC_OCW3)) + 8;
 	}

-	ih = &icu_intrtab[irq];
-	if (__predict_false(ih->ih_func == NULL)) {
-		printf("icu_intr(): spurious interrupt (irq = %d)\n", irq);
-	} else if (__predict_true((*ih->ih_func)(ih->ih_arg))) {
-		ih->ih_evcnt.ev_count++;
-		handled = 1;
+	for (ih = &icu_intrtab[irq]; ih != NULL; ih = LIST_NEXT(ih, ih_q)) {
+		if (__predict_false(ih->ih_func == NULL))
+			printf("icu_intr(): spurious interrupt (irq = %d)\n",
+			    irq);
+		else if (__predict_true((*ih->ih_func)(ih->ih_arg))) {
+			ih->ih_evcnt.ev_count++;
+			handled = 1;
+		}
 	}

 	/* issue EOI to ack */
Index: arch/cobalt/pci/pci_machdep.c
===================================================================
RCS file: /cvsroot/src/sys/arch/cobalt/pci/pci_machdep.c,v
retrieving revision 1.24
diff -u -r1.24 pci_machdep.c
--- arch/cobalt/pci/pci_machdep.c	22 Aug 2006 21:42:19 -0000	1.24
+++ arch/cobalt/pci/pci_machdep.c	8 Oct 2006 17:05:16 -0000
 <at>  <at>  -160,6 +160,8  <at>  <at> 
 		*ihp = 16 + 1;
 	else if (bus == 0 && dev == 12 && pin == PCI_INTERRUPT_PIN_A)
 		*ihp = 16 + 2;
+	else if (bus == 0 && dev == 10 && line == 0)
+		*ihp = 9;
 	else
 		*ihp = line;

Glyn Astill | 9 Oct 2006 11:02
Picon
Favicon

Re: poffd problem

I have no idea what I'd be looking for in ttys or how this would have
affected it.

However you are correct on the 192, I had put the ip address in
/etc/myname rather than the host name.

However this has not fixed my main problem.

I have done a brand new install since I first had the problem, yhen
followed the instructions here
http://www.teraqube.co.uk/software/#s1.2

When the install first finishes the display functions fine, then once
I've applied the setup parameters it stops at >poffd and never
displays the hostname and ip.

I know the display is still working because if I do a shutdown - r
then it shows the services that are being stopped.

I've followed these instructions bang on a few times now and still
get the same problem, I can't see why though.

I followed them once before (about 3 months ago) with a smaller hard
disk and the exact same boot image but back then it worked fine.

Bizzare, what does poffd actually do?

I'm Confused

--- Erik Berls <cyber <at> ono-sendai.com> wrote:

> You might want to check /etc/ttys, there could be a baud rate
> mismatch.
> 
> The 192 sounds like it tried to parse the IP address as the
> hostname (i.e.
> breaking apart a dotted quad thinking it was a FQDN).  Do you have
> reverse
> DNS set up?  Running dhclient?
> 
> -=erik.
> 
> 
> On 10/7/06, Glyn Astill <glynastill <at> yahoo.co.uk> wrote:
> >
> > Hi people,
> >
> > I just got a new hard disk for my qube and I installed the 3.99
> CD
> > image.
> >
> > All was going well and I followed the instructions here
> > http://www.teraqube.co.uk/software/#s1.2 to do the basic setup.
> >
> > Then I did a shutdown -r to reboot the machine however on bootup
> the
> > last thing on the qubes display is Starting Up >poffd
> >
> > It seems to get stuck here, does anyone know why this could be?
> >
> > I can still rlogin to the qube and instead of the usual # prompt
> I've
> > got 192#
> >
> > I've not got much experience with netbsd so I'm a bit confused
> here.
> > Thanks
> > Glyn
> >
> >
> >
> > ___________________________________________________________
> > Yahoo! Photos – NEW, now offering a quality print service from
> just 8p a
> > photo http://uk.photos.yahoo.com
> >
> 

Glyn Astill

		
___________________________________________________________ 
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com

Pettefar Nick | 9 Oct 2006 12:09
Picon

RE: poffd problem

I think that this may be a bug?

poffd is the power-off daemon and it shoul;d only be in the 68k
architecture.

Nick Pettefar
Senior Assistant Telephone Sanitizer.
BT Global Services (pettefarn <at> jms.mod.uk) Tel. 01793 86-3064

> -----Original Message-----
> From: Glyn Astill [mailto:glynastill <at> yahoo.co.uk] 
> Sent: 09 October 2006 10:02
> To: Erik Berls
> Cc: port-cobalt <at> NetBSD.org
> Subject: Re: poffd problem
> 
> I have no idea what I'd be looking for in ttys or how this 
> would have affected it.
> 
> However you are correct on the 192, I had put the ip address 
> in /etc/myname rather than the host name.
> 
> However this has not fixed my main problem.
> 
> I have done a brand new install since I first had the 
> problem, yhen followed the instructions here
> http://www.teraqube.co.uk/software/#s1.2
> 
> When the install first finishes the display functions fine, 
> then once I've applied the setup parameters it stops at 
> >poffd and never displays the hostname and ip.
> 
> I know the display is still working because if I do a 
> shutdown - r then it shows the services that are being stopped.
> 
> I've followed these instructions bang on a few times now and 
> still get the same problem, I can't see why though.
> 
> I followed them once before (about 3 months ago) with a 
> smaller hard disk and the exact same boot image but back then 
> it worked fine.
> 
> Bizzare, what does poffd actually do?
> 
> I'm Confused
> 
> --- Erik Berls <cyber <at> ono-sendai.com> wrote:
> 
> > You might want to check /etc/ttys, there could be a baud rate 
> > mismatch.
> > 
> > The 192 sounds like it tried to parse the IP address as the 
> hostname 
> > (i.e.
> > breaking apart a dotted quad thinking it was a FQDN).  Do you have 
> > reverse DNS set up?  Running dhclient?
> > 
> > -=erik.
> > 
> > 
> > On 10/7/06, Glyn Astill <glynastill <at> yahoo.co.uk> wrote:
> > >
> > > Hi people,
> > >
> > > I just got a new hard disk for my qube and I installed the 3.99
> > CD
> > > image.
> > >
> > > All was going well and I followed the instructions here
> > > http://www.teraqube.co.uk/software/#s1.2 to do the basic setup.
> > >
> > > Then I did a shutdown -r to reboot the machine however on bootup
> > the
> > > last thing on the qubes display is Starting Up >poffd
> > >
> > > It seems to get stuck here, does anyone know why this could be?
> > >
> > > I can still rlogin to the qube and instead of the usual # prompt
> > I've
> > > got 192#
> > >
> > > I've not got much experience with netbsd so I'm a bit confused
> > here.
> > > Thanks
> > > Glyn
> > >
> > >
> > >
> > > ___________________________________________________________
> > > Yahoo! Photos - NEW, now offering a quality print service from
> > just 8p a
> > > photo http://uk.photos.yahoo.com
> > >
> > 
> 
> 
> 
> Glyn Astill
> 
> 
> 
> 		
> ___________________________________________________________
> To help you stay safe and secure online, we've developed the 
> all new Yahoo! Security Centre. http://uk.security.yahoo.com
> 
> 


Gmane