Re: X server fails to start after netinstall of Etch on Ultra 60

2007-05-29 Thread Steve Jones
I finally solved the problem, thanks to the help of those who
responded.

I am running kernel version 2.6.18, and I installed afbinit using:
apt-get install afbinit.  Unfortunately, the version of afbinit I
got was 1.0-1, and the bug fix is in the newer version 1.0-1.1, for
which there does not appear to be a .deb package.  I had to download
the source code for version 1.0-1.1 from ftp.debian.org and compile
it.

My X server starts now.  Evidently, you must have afbinit version
1.0-1.1 to make it work.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: X server fails to start after netinstall of Etch on Ultra 60

2007-05-29 Thread Josip Rodin
On Tue, May 29, 2007 at 06:57:16AM -0700, Steve Jones wrote:
 I am running kernel version 2.6.18, and I installed afbinit using:
 apt-get install afbinit.  Unfortunately, the version of afbinit I
 got was 1.0-1, and the bug fix is in the newer version 1.0-1.1, for
 which there does not appear to be a .deb package.

If you look at http://packages.debian.org/afbinit you will notice how the
new version is actually in the latest stable Debian release, 4.0 (etch).

Maybe you need to upgrade from sarge (3.1) to etch?

-- 
 2. That which causes joy or happiness.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: X server fails to start after netinstall of Etch on Ultra 60

2007-05-28 Thread Florian Zagler
On Sonntag, 27. Mai 2007 01:21, Steve Jones wrote:
 I managed to find afb.ucode on the Sunsolve website (in the
 106144-28.zip patch file, dated 21Feb2003), and I placed it in /usr/
 lib.  Now, when the afbinit command runs I get the following error
 message:
 mmap user regs: Invalid argument

 The X server still fails to start.

 Also, in my /var/log/Xorg.0.log I have the following:

 (II) /dev/fb0: AFB: Detected Elite3D/M6.
 (II) /dev/fb0: BT498 (PAC2) ramdac detected
 (II) /dev/fb0: Detected Elite3D M3/M6, checking firmware...
 (II) /dev/fb0: ... AFB firmware not loaded
 (WW) /dev/fb0: Forcing no acceleration on Elite3D M3/M6
 (==) SUNFFB(0): Backing store disabled
 (==) SUNFFB(0): Silken mouse enabled
 (**) Option dpms
 (**) SUNFFB(0): DPMS enabled
 (**) SUNFFB(0): DPMS enabled
 (WW) SUNFFB(0): Option UseFBDev is not used

 What concerns me most from the above is the AFB firmware not loaded
 message, although I don't know what to do about it.

Did you try to load the firmware manually with the 
command  /usr/sbin/afbinit /dev/fb0 /usr/lib/afb.ucode ?
After that try to start the xserver with startx.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: X server fails to start after netinstall of Etch on Ultra 60

2007-05-28 Thread Steve Jones
On May 28, 8:00 am, Florian Zagler [EMAIL PROTECTED] wrote:
 On Sonntag, 27. Mai 2007 01:21, Steve Jones wrote:



  I managed to find afb.ucode on the Sunsolve website (in the
  106144-28.zip patch file, dated 21Feb2003), and I placed it in /usr/
  lib.  Now, when the afbinit command runs I get the following error
  message:
  mmap user regs: Invalid argument

  The X server still fails to start.

  Also, in my /var/log/Xorg.0.log I have the following:

  (II) /dev/fb0: AFB: Detected Elite3D/M6.
  (II) /dev/fb0: BT498 (PAC2) ramdac detected
  (II) /dev/fb0: Detected Elite3D M3/M6, checking firmware...
  (II) /dev/fb0: ... AFB firmware not loaded
  (WW) /dev/fb0: Forcing no acceleration on Elite3D M3/M6
  (==) SUNFFB(0): Backing store disabled
  (==) SUNFFB(0): Silken mouse enabled
  (**) Option dpms
  (**) SUNFFB(0): DPMS enabled
  (**) SUNFFB(0): DPMS enabled
  (WW) SUNFFB(0): Option UseFBDev is not used

  What concerns me most from the above is the AFB firmware not loaded
  message, although I don't know what to do about it.

 Did you try to load the firmware manually with the
 command  /usr/sbin/afbinit /dev/fb0 /usr/lib/afb.ucode ?
 After that try to start the xserver with startx.

 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Yes, I should have mentioned that I did try running that command
manually, and I got the same error message:

mmap user regs: Invalid argument

I just now tried running startx immediately after manually entering
the command, but that failed to work.  I don't understand the error
message, and that may be the key to solving the problem.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: X server fails to start after netinstall of Etch on Ultra 60

2007-05-28 Thread Ulrich Teichert
Hi,

[del]
 Did you try to load the firmware manually with the
 command  /usr/sbin/afbinit /dev/fb0 /usr/lib/afb.ucode ?
 After that try to start the xserver with startx.
[del]
Yes, I should have mentioned that I did try running that command
manually, and I got the same error message:

mmap user regs: Invalid argument
[del]

Some, maybe silly, questions:

1. Are you root when you're running afbinit?
2. Does /dev/fb0 exist?
3. Does it point to the right card?

HTH,
Uli
-- 
Dipl. Inf. Ulrich Teichert|e-mail: [EMAIL PROTECTED]
Stormweg 24   |listening to: Channel 13 Is Haunted (Hex Dispensers)
24539 Neumuenster, Germany|Adrenalin (Supabond), Ne Me Touch Pas (Opération S)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: X server fails to start after netinstall of Etch on Ultra 60

2007-05-28 Thread Steve Jones
On May 28, 12:30 pm, Ulrich Teichert [EMAIL PROTECTED]
wrote:
 Hi,

 [del] Did you try to load the firmware manually with the
  command  /usr/sbin/afbinit /dev/fb0 /usr/lib/afb.ucode ?
  After that try to start the xserver with startx.
 [del]
 Yes, I should have mentioned that I did try running that command
 manually, and I got the same error message:

 mmap user regs: Invalid argument

 [del]

 Some, maybe silly, questions:

 1. Are you root when you're running afbinit?
 2. Does /dev/fb0 exist?
 3. Does it point to the right card?

 HTH,
 Uli
 --
 Dipl. Inf. Ulrich Teichert|e-mail: [EMAIL PROTECTED]
 Stormweg 24   |listening to: Channel 13 Is Haunted (Hex 
 Dispensers)
 24539 Neumuenster, Germany|Adrenalin (Supabond), Ne Me Touch Pas (Opération S)

 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Thank you for the silly questions.  I value those just as highly as
the others.

1. Yes, I always run afbinit as root.
2. Yes, I know /dev/fb0 exists because when I 'ls -l' on it, I get:
 crw-rw 1 root video 29, 0 2007-05-28 14:46 /dev/fb0
3. I don't know for sure; however there is no other 'fb...' in /dev,
and there is nothing else in /dev that belongs to the 'video' group.
I have only one graphics card (I double-checked), and Debian reports
finding an Elite3D card, so I am assuming /dev/fb0 points to the right
card.



Re: X server fails to start after netinstall of Etch on Ultra 60

2007-05-28 Thread Emanuele Rocca
Hello Steve,

* Steve Jones [EMAIL PROTECTED], [2007-05-28 12:36 -0700]:
  3. I don't know for sure; however there is no other 'fb...' in /dev,
  and there is nothing else in /dev that belongs to the 'video' group.
  I have only one graphics card (I double-checked), and Debian reports
  finding an Elite3D card, so I am assuming /dev/fb0 points to the right
  card.

I'd say there's no doubt here. BTW, for future reference: cat /proc/fb.

ciao,
ema


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: X server fails to start after netinstall of Etch on Ultra 60

2007-05-28 Thread Emanuele Rocca
Hello Steve,

* Steve Jones [EMAIL PROTECTED], [2007-05-26 16:21 -0700]:
  Now, when the afbinit command runs I get the following error message:
  mmap user regs: Invalid argument

Which kernel version are you using? 

There's a couple of reports of the same problem with 2.6.15 kernels:

http://lists.debian.org/debian-sparc/2006/01/msg00065.html
https://launchpad.net/ubuntu/+source/afbinit/+bugs

afbinit works fine here with kernels = 2.6.18.

ciao,
ema


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: X server fails to start after netinstall of Etch on Ultra 60

2007-05-28 Thread Hamish Greig

Steve Jones wrote:

On May 28, 12:30 pm, Ulrich Teichert [EMAIL PROTECTED]
wrote:

Hi,

[del] Did you try to load the firmware manually with the

command  /usr/sbin/afbinit /dev/fb0 /usr/lib/afb.ucode ?
After that try to start the xserver with startx.

[del]

Yes, I should have mentioned that I did try running that command
manually, and I got the same error message:
mmap user regs: Invalid argument

[del]

Some, maybe silly, questions:

1. Are you root when you're running afbinit?
2. Does /dev/fb0 exist?
3. Does it point to the right card?

HTH,
Uli
--
Dipl. Inf. Ulrich Teichert|e-mail: [EMAIL PROTECTED]
Stormweg 24   |listening to: Channel 13 Is Haunted (Hex Dispensers)
24539 Neumuenster, Germany|Adrenalin (Supabond), Ne Me Touch Pas (Opération S)

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Thank you for the silly questions.  I value those just as highly as
the others.

1. Yes, I always run afbinit as root.
2. Yes, I know /dev/fb0 exists because when I 'ls -l' on it, I get:
 crw-rw 1 root video 29, 0 2007-05-28 14:46 /dev/fb0
3. I don't know for sure; however there is no other 'fb...' in /dev,
and there is nothing else in /dev that belongs to the 'video' group.
I have only one graphics card (I double-checked), and Debian reports
finding an Elite3D card, so I am assuming /dev/fb0 points to the right
card.





http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=346085 reports this.
I just googled for the error mesg you got, you can figure out if you 
need the patch for afbinit, a newer version or a kernel upgrade from the 
 bug comments I think.

hgg


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: X server fails to start after netinstall of Etch on Ultra 60

2007-05-26 Thread Earl Violet
I don't use an Elite card but have been looking for one.  I think an
extra driver besides the sunffb is needed.  Did you add that?

Earl

URL http://deserthowler.cjb.net
Instant messenger: earlcoyote
ICQ:64033496


   
Pinpoint
 customers who are looking for what you sell. 
http://searchmarketing.yahoo.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: X server fails to start after netinstall of Etch on Ultra 60

2007-05-26 Thread Florian Zagler
On Samstag, 26. Mai 2007 04:12, Steve Jones wrote:
 I did a fresh netinstall of Etch on my Ultra 60 with Elite3D graphics
 and 21 Sun CRT monitor.  All worked well when I did this on a PC
 using the same Sun monitor.  However, on the Ultra 60 the X server
 fails to start.

 The installation program seems to have detected the graphics card
 correctly.  Below is an excerpt from my /etc/X11/xorg.conf.  The
 Monitor section is identical on the PC, except on the PC the
 HorizSync and VertRefresh lines are absent.

 Can anyone advise me on how to get the X server working?

You have to install the package afbinit and you need the firmware for the 
Elite3D. This file is called afb.ucode. You find it on the Solaris DVD or 
maybe on the net.

The startscript supplied with afbinit may work or not. In my case I had to add 
the following line to /etc/rc.local to get the card working.

/usr/sbin/afbinit /dev/fb0 /usr/lib/afb.ucode


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: X server fails to start after netinstall of Etch on Ultra 60

2007-05-26 Thread Steve Jones
On May 26, 4:10 pm, Florian Zagler [EMAIL PROTECTED] wrote:
 On Samstag, 26. Mai 2007 04:12, Steve Jones wrote:

  I did a fresh netinstall of Etch on my Ultra 60 with Elite3D graphics
  and 21 Sun CRT monitor.  All worked well when I did this on a PC
  using the same Sun monitor.  However, on the Ultra 60 the X server
  fails to start.

  The installation program seems to have detected the graphics card
  correctly.  Below is an excerpt from my /etc/X11/xorg.conf.  The
  Monitor section is identical on the PC, except on the PC the
  HorizSync and VertRefresh lines are absent.

  Can anyone advise me on how to get the X server working?

 You have to install the package afbinit and you need the firmware for the
 Elite3D. This file is called afb.ucode. You find it on the Solaris DVD or
 maybe on the net.

 The startscript supplied with afbinit may work or not. In my case I had to add
 the following line to /etc/rc.local to get the card working.

 /usr/sbin/afbinit /dev/fb0 /usr/lib/afb.ucode

 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

I managed to find afb.ucode on the Sunsolve website (in the
106144-28.zip patch file, dated 21Feb2003), and I placed it in /usr/
lib.  Now, when the afbinit command runs I get the following error
message:
mmap user regs: Invalid argument

The X server still fails to start.

Also, in my /var/log/Xorg.0.log I have the following:

(II) /dev/fb0: AFB: Detected Elite3D/M6.
(II) /dev/fb0: BT498 (PAC2) ramdac detected
(II) /dev/fb0: Detected Elite3D M3/M6, checking firmware...
(II) /dev/fb0: ... AFB firmware not loaded
(WW) /dev/fb0: Forcing no acceleration on Elite3D M3/M6
(==) SUNFFB(0): Backing store disabled
(==) SUNFFB(0): Silken mouse enabled
(**) Option dpms
(**) SUNFFB(0): DPMS enabled
(**) SUNFFB(0): DPMS enabled
(WW) SUNFFB(0): Option UseFBDev is not used

What concerns me most from the above is the AFB firmware not loaded
message, although I don't know what to do about it.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



X server fails to start after netinstall of Etch on Ultra 60

2007-05-25 Thread Steve Jones
I did a fresh netinstall of Etch on my Ultra 60 with Elite3D graphics
and 21 Sun CRT monitor.  All worked well when I did this on a PC
using the same Sun monitor.  However, on the Ultra 60 the X server
fails to start.

The installation program seems to have detected the graphics card
correctly.  Below is an excerpt from my /etc/X11/xorg.conf.  The
Monitor section is identical on the PC, except on the PC the
HorizSync and VertRefresh lines are absent.

Can anyone advise me on how to get the X server working?


Section Device
Identifier  Sun Elite3D framebuffer or similar (SUNW,XXX-
)
Driver  sunffb
Option  UseFBDev  true
EndSection

Section Monitor
Identifier  Generic Monitor
Option  DPMS
HorizSync   28-51
VertRefresh 43-60
EndSection


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]