Torsten Harenberg | 2 Oct 15:58 2009
Picon

mac mini G5 freezing after X11 ends

Dear list,

I'm new to this list so please excuse if this has discussed before - I  
couldn't find it in the archives.

I recently set up a mac mini with NetBSD (first 5.0.1_PATCH, now I  
updated to -current (5.99.19) to have the internal WLAN running).

Everything worked fine and as described in INSTALL (I already have a  
couple of NetBSD boxes running) and I even got X11 to work.

But when I stop X11 (kill it or regularly), the machine freezes.  
Nothing is in the log files:

Oct  2 13:00:01  dhclient: DHCPACK from xxx.xxx.xxx.xxx
Oct  2 13:00:01  dhclient: bound to xxx.xxx.xxx.xxx -- renewal in 1717  
seconds.
Oct  2 13:28:38  dhclient: DHCPREQUEST on gem0 to xxx.xxx.xxx.xxx port  
67
Oct  2 13:28:38  dhclient: DHCPACK from xxx.xxx.xxx.xxx
Oct  2 13:28:38  dhclient: bound to xxx.xxx.xxx.xxx -- renewal in 1439  
seconds.
Oct  2 13:45:26  syslogd[104]: restart
Oct  2 13:45:26  /netbsd: Copyright (c) 1996, 1997, 1998, 1999, 2000,  
2001, 2002
, 2003, 2004, 2005,
Oct  2 13:45:26  /netbsd:    2006, 2007, 2008, 2009
Oct  2 13:45:26  /netbsd:    The NetBSD Foundation, Inc.  All rights  
reserved.
Oct  2 13:45:26  /netbsd: Copyright (c) 1982, 1986, 1989, 1991, 1993
(Continue reading)

Marco Trillo | 2 Oct 18:30 2009
Picon

Re: mac mini G5 freezing after X11 ends

Hi,

On 10/2/09, Torsten Harenberg <harenberg <at> physik.uni-wuppertal.de> wrote:
> Dear list,
>
> I'm new to this list so please excuse if this has discussed before - I
> couldn't find it in the archives.
>
> I recently set up a mac mini with NetBSD (first 5.0.1_PATCH, now I
> updated to -current (5.99.19) to have the internal WLAN running).
>
> Everything worked fine and as described in INSTALL (I already have a
> couple of NetBSD boxes running) and I even got X11 to work.
>
> But when I stop X11 (kill it or regularly), the machine freezes.

Try enabling the following option:
	Option	"MacModel"	"mini"
in the Device section of your Xorg.conf file.

Hope that helps,
Marco.

Peter Bex | 2 Oct 19:34 2009
Picon
Picon

Re: mac mini G5 freezing after X11 ends

On Fri, Oct 02, 2009 at 03:58:38PM +0200, Torsten Harenberg wrote:
> Dear list,
> 
> I'm new to this list so please excuse if this has discussed before - I  
> couldn't find it in the archives.
> 
> I recently set up a mac mini with NetBSD (first 5.0.1_PATCH, now I  
> updated to -current (5.99.19) to have the internal WLAN running).
> 
> Everything worked fine and as described in INSTALL (I already have a  
> couple of NetBSD boxes running) and I even got X11 to work.
> 
> But when I stop X11 (kill it or regularly), the machine freezes.  

Are you sure it freezes?  Did you try to run sshd and ssh into it, or
ping it?  I know my mac seems to freeze when I exit X, but it's actually
just the keyboard that stops responding, IIRC.

Cheers,
Peter
--

-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
							-- Donald Knuth
Torsten Harenberg | 3 Oct 08:23 2009
Picon

Re: mac mini G5 freezing after X11 ends

Hi Peter,

thanks for the reply.

> Are you sure it freezes?  Did you try to run sshd and ssh into it, or
> ping it?  I know my mac seems to freeze when I exit X, but it's actually
> just the keyboard that stops responding, IIRC.

yes.. I'm sure: running ssh connections to this machine die and its IP 
is suddenly un-pingable.

I detached the keyboard after X has finished, so that the kernel should 
print the detached usb device in its log and nothing happens.

Let me try Marco's hint and see if this helps...

Cheers,

    Torsten

--

-- 
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<>                                                              <>
<> Dr. Torsten Harenberg     harenberg <at> physik.uni-wuppertal.de  <>
<> Bergische Universitaet                                       <>
<> FB C - Physik             Tel.: +49 (0)202 439-3521          <>
<> Gaussstr. 20              Fax : +49 (0)202 439-2811          <>
<> 42097 Wuppertal                                              <>
<>                                                              <>
<><><><><><><>< Of course it runs NetBSD http://www.netbsd.org ><>
(Continue reading)

Torsten Harenberg | 5 Oct 11:17 2009
Picon

Re: mac mini G5 freezing after X11 ends

Hi Marco,

unfortunately, it didn't change anything.

Xorg.0.log shows the option to be recognized:

(II) Setting vga for screen 0.
(II) RADEON(0): MMIO registers at 0x0000000090000000: size 64KB
(WW) xf86EnableIO 5
(II) RADEON(0): PCI bus 0 card 0 func 0
(**) RADEON(0): Depth 24, (--) framebuffer bpp 32
(II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
(==) RADEON(0): Default visual is TrueColor
(**) RADEON(0): Option "MacModel" "mini"
(II) RADEON(0): VGAAccess option set to FALSE, VGA module load skipped

But still: when stopping the X server, these are the last lines  
printed to the terminal where "startx" was issued and afterwards the  
machine is "dead" (as described: no network, no kernel logs, Xorg. 
0.log is not touched anymore, .. )

waiting for X server to shut down xterm:  fatal IO error 32 (Broken  
pipe) or KillClient on X server ":0.0"
xterm:  fatal IO error 32 (Broken pipe) or KillClient on X server ":0.0"
X connection to :0.0 broken (explicit kill or server shutdown).
finished PLL2
finished PLL1
Entering Restore TV
Restore TV PLL
Restore TVHV
(Continue reading)

Ted Lemon | 5 Oct 19:16 2009

bwi0 intr fatal TX/RX message - any clues?

I have -current running on my 15" AlBook, and when I try to configure  
bwi0, the system goes catatonic printing over and over again messages  
like the following:

bwi0: intr fatal TX/RX (0): error 0x00010000

The number in parentheses varies between 0 and 1.

Has anyone else seen this?   Is the driver working for others in - 
current?

Thanks for any clues.

Torsten Harenberg | 8 Oct 09:34 2009
Picon

Re: bwi0 intr fatal TX/RX message - any clues?

Hi Ted,

Am 05.10.2009 um 19:16 schrieb Ted Lemon:

>   Is the driver working for others in -current?

I have it working on a mac mini running -current. Wild guess: do you  
have the firmware in the appropreate place?

Cheers

  Torsten

--
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<>                                                              <>
<> Dr. Torsten Harenberg     harenberg <at> physik.uni-wuppertal.de  <>
<> Bergische Universitaet                                       <>
<> FB C - Physik             Tel.: +49 (0)202 439-3521          <>
<> Gaussstr. 20              Fax : +49 (0)202 439-2811          <>
<> 42097 Wuppertal                                              <>
<>                                                              <>
<><><><><><><>< Of course it runs NetBSD http://www.netbsd.org ><>

Andy Ruhl | 13 Oct 16:38 2009
Picon

Netbooting a blue and white G3

Hello all,

I'm trying to run a blue and white G3 machine diskless to see how
Netbsd works on it.

I've got fairly extensive experience with netbooting and running
diskless, enough to know that minor details can really cause problems.

I'm following the diskless docs as well as this one:
ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-5.0.1/macppc/INSTALL.html

It seems as if the bootloader is being booted OK, but once it's loaded
it can't find the kernel.

This is what I used at the firmware prompt to get the bootloader loaded:

0 > boot enet:,ofwboot.xcf

This seems to work.

This is what I get after the bootloader is loaded via tftp:

>> NetBSD/macppc OpenFirmware Boot, Revision 1.11
>> (builds <at> b7.netbsd.org, Wed Jul 29 21:44:51 UTC 2009)

CLIENT: XXXXXXXXXXXX 192.168.1.3
SERVER: XXXXXXXXXXXX 192.168.1.254 Using IP address: 192.168.1.3
root addr=192.168.1.254 path=/home/sylvester/root
open /netbsd: Unknown error: code 60

(Continue reading)

André Schulze | 13 Oct 16:59 2009
Picon

Re: Netbooting a blue and white G3

Hello Andy,

did you try Wireshark already? Maybe it can show who is causing the trouble.

Regards,
  andre

Andy Ruhl | 13 Oct 17:31 2009
Picon

Re: Netbooting a blue and white G3

On Tue, Oct 13, 2009 at 7:59 AM, André Schulze <andre.schulze <at> gmail.com> wrote:
> did you try Wireshark already? Maybe it can show who is causing the trouble.

No, that's next. I ran out of time this morning already.

I did try to NFS mount the server from OSX, but there was some RPC
problem which seems inevitable these days. I'm not sure if it's
related to the bootloader problem or not.

Andy


Gmane