Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo on hp 712
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Fri Feb 16, 2007 2:27 pm    Post subject: gentoo on hp 712 Reply with quote

HP712-100 is a good machine, and it is running gentoo very well


Quote:
Linux version 2.6.16-sliding-snow-leopard-hp712 - 5 Jan 2007
- gcc version 4.1.1
- Gentoo 4.1.1

FP[0] enabled: Rev 1 Model 13
The 32-bit Kernel has started...
Initialized PDC Console for debugging.
Determining PDC firmware type: Snake.
model 00006020 00000481 00000000 00000000 77c2ca12 00000000 00000004 00000072 00000072
vers 0000000c
model 9000/712
Total Memory: 192 MB
On node 0 totalpages: 49152
DMA zone: 49152 pages, LIFO batch:15
DMA32 zone: 0 pages, LIFO batch:0
Normal zone: 0 pages, LIFO batch:0
HighMem zone: 0 pages, LIFO batch:0
Built 1 zonelists
Kernel command line: root=/dev/sda3 console=tty0 font=FONT_8x16 palo_kernel=3/gentoo-2.6.16
PID hash table entries: 1024 (order: 10, 16384 bytes)
Console: colour dummy device 128x48
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 196608k available
Calibrating delay loop... 99.53 BogoMIPS (lpj=497664)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
Searching for devices...
Found devices:
1. Gecko 100 GSC Core Graphics at 0xf8000000 [1] { 10, 0x0, 0x01d, 0x00085 }
2. Gecko 100 Core BA at 0xf0100000 [2] { 11, 0x0, 0x01d, 0x00081 }
3. Gecko 100 Core SCSI at 0xf0106000 [2/0/1] { 10, 0x0, 0x01d, 0x00082 }
4. Gecko 100 Core LAN (802.3) at 0xf0107000 [2/0/2] { 10, 0x0, 0x01d, 0x0008a }
5. Gecko 100 Core RS-232 at 0xf0105000 [2/0/4] { 10, 0x0, 0x01d, 0x0008c }
6. Gecko 100 Core Centronics at 0xf0102000 [2/0/6] { 10, 0x0, 0x01d, 0x00074 }
7. Gecko 100 Audio at 0xf0104000 [2/0/8] { 10, 0x0, 0x01d, 0x0007b }
8. Gecko 100 Core PC Floppy at 0xf010a000 [2/0/10] { 10, 0x0, 0x01d, 0x00083 }
9. Gecko 100 Core PS/2 Port at 0xf0108000 [2/0/11] { 10, 0x0, 0x01d, 0x00084 }
10. Gecko 100 Core PS/2 Port at 0xf0108100 [2/0/12] { 10, 0x0, 0x01d, 0x00084 }
11. Gecko 100 Core BA at 0xf0500000 [6] { 11, 0x0, 0x01d, 0x00081 }
12. Gecko Optional LAN (802.3) at 0xf0507000 [6/0/2] { 10, 0x0, 0x018, 0x0008a }
13. Gecko Optional RS-232 at 0xf0505000 [6/0/4] { 10, 0x0, 0x018, 0x0008c }
14. Gecko 100 (712/100) at 0xfffbe000 [8] { 0, 0x0, 0x602, 0x00004 }
15. Memory at 0xfffbf000 [9] { 1, 0x0, 0x039, 0x00009 }
CPU(s): 1 x PA7100LC (PCX-L) at 100.000000 MHz
Whole cache flush 58780 cycles, flushing 3518788 bytes 386150 cycles
Setting cache flush threshold to 6e0 (1 CPUs online)
Lasi version 0 at 0xf0100000 found.
Lasi version 0 at 0xf0500000 found.
SCSI subsystem initialized
unwind_init: start = 0x10350220, end = 0x103726f0, entries = 8781
fuse init (API version 7.6)
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
PDC Stable Storage facility v0.22
Gecko-style soft power switch enabled.
STI GSC/PCI core graphics driver Version 0.9a
id 2b4ded6d-40a00499, conforms to spec rev. 8.04
graphics card name: HPA208LC1024
sticon: Initializing STI text console.
Console: switching to colour STI console 128x48
Console: switching to colour frame buffer device 128x48
fb0: stifb 1024x768-8 frame buffer device, HPA208LC1024, id: 2b4ded6d, mmio: 0xf8100000
Generic RTC Driver v1.07
serio: GSC PS/2 keyboard port at 0x00810000 irq 22 @ 2:0:11
serio: GSC PS/2 mouse port at 0x00812100 irq 22 @ 2:0:12
HP SDC: No SDC found.
HP SDC MLC: Registering the System Domain Controller's HIL MLC.
HP SDC MLC: Request for raw HIL ISR hook denied
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
2:0:4: ttyS0 at MMIO 0xf0105800 (irq = 18 ) is a 16550A
6:0:4: ttyS1 at MMIO 0xf0505800 (irq = 24 ) is a 16550A
parport_init_chip: initialize bidirectional-mode.
parport0: PC-style at 0xf0102800, irq 19 [PCSPP,TRISTATE]
loop: loaded (max 8 devices)
Ethernet Channel Bonding Driver: v3.0.1 (January 9, 2006)
bonding: Warning: either miimon or arp_interval and arp_ip_target module parameters must be specified, otherwise bonding will not detect link failures! see bonding.txt for details.
LASI 82596 driver - Revision: 1.30
Found i82596 at 0xf0107000, IRQ 17
eth0: 82596 at 0xf0107000, 00 60 B0 21 63 D8 IRQ 17.
Found i82596 at 0xf0507000, IRQ 23
eth1: 82596 at 0xf0507000, 00 60 B0 21 63 D9 IRQ 23.
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
53c700: Version 2.8 By James.Bottomley@HansenPartnership.com
scsi0: 53c710 rev 2
scsi0 : LASI SCSI 53c700
Vendor: SEAGATE Model: ST19101N Rev: 0014
Type: Direct-Access ANSI SCSI revision: 02
target0:0:4: Beginning Domain Validation
0:0:4:0: Enabling Tag Command Queuing
target0:0:4: asynchronous
target0:0:4: FAST-10 SCSI 10.0 MB/s ST (100 ns, offset 8 )
target0:0:4: Domain Validation skipping write tests
target0:0:4: Ending Domain Validation
SCSI device sda: 17821600 512-byte hdwr sectors (9125 MB)
sda: Write Protect is off
sda: Mode Sense: b7 00 10 08
SCSI device sda: drive cache: none w/ FUA
SCSI device sda: 17821600 512-byte hdwr sectors (9125 MB)
sda: Write Protect is off
sda: Mode Sense: b7 00 10 08
SCSI device sda: drive cache: none w/ FUA
sda: sda1 sda2 sda3 sda4
sd 0:0:4:0: Attached scsi disk sda
sd 0:0:4:0: Attached scsi generic sg0 type 0
mice: PS/2 mouse device common for all mice
input: AT Raw Set 2 keyboard as /class/input/input0
Lasi Harmony Audio driver V0.9a, h/w id 20, rev. 0 at 0xf0104000, IRQ 20
logips2pp: Detected unknown logitech mouse model 1
input: PS/2 Logitech Mouse as /class/input/input1
Advanced Linux Sound Architecture Driver Version 1.0.11rc2 (Wed Jan 04 08:57:20 2006 UTC).
ALSA device list:
No soundcards found.
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 228k freed
EXT3 FS on sda3, internal journal
kjournald starting. Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on sda4, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Adding 292856k swap on /dev/sda2. Priority:-1 extents:1 across:292856k
eth0: link ok.



the CPU-info

Quote:
processor : 0
cpu family : PA-RISC 1.1d
cpu : PA7100LC (PCX-L)
cpu MHz : 100.000000
model : 9000/712
model name : Gecko 100 (712/100)
hversion : 0x00006020
sversion : 0x00000481
I-cache : 128 KB
D-cache : 128 KB (WB, 0-way associative)
ITLB entries : 64
DTLB entries : 64 - shared with ITLB
BTLB fixed : max. 16384 pages, pagesize=4096 (64MB)
BTLB fix-entr. : 0 instruction, 0 data (8 combined)
BTLB var-entr. : 0 instruction, 0 data (0 combined)
bogomips : 99.53
software id : 2009254418






gentoo provides a good frame buffer support


Code:
STI GSC/PCI core graphics driver Version 0.9a
    id 2b4ded6d-40a00499, conforms to spec rev. 8.04
    graphics card name: HPA208LC1024
sticon: Initializing STI text console.
Console: switching to colour STI console 128x48
Console: switching to colour frame buffer device 128x48
fb0: stifb 1024x768-8 frame buffer device, HPA208LC1024, id: 2b4ded6d, mmio: 0xf8100000


stifb works well in text console application, and it works well in links2 directly frambuffer graphic application (very fast)
Unfortunatly it works bad in Xorg-x11, i read the documentation, i did, X11 starts, but the monitor area is splitted into 2 parts

=================================================
|
| windows&C here
|
---------------------------------------------------------------------
|
| black here
|
=================================================





Quote:

The Frame Buffer Device
-----------------------

4. The X Server
---------------

The X server (XF68_FBDev) is the most notable application program for the frame
buffer device. Starting with XFree86 release 3.2, the X server is part of
XFree86 and has 2 modes:

- If the `Display' subsection for the `fbdev' driver in the /etc/XF86Config
file contains a

Modes "default"

line, the X server will use the scheme discussed above, i.e. it will start
up in the resolution determined by /dev/fb0 (or $FRAMEBUFFER, if set). You
still have to specify the color depth (using the Depth keyword) and virtual
resolution (using the Virtual keyword) though. This is the default for the
configuration file supplied with XFree86. It's the most simple
configuration, but it has some limitations.

- Therefore it's also possible to specify resolutions in the /etc/XF86Config
file. This allows for on-the-fly resolution switching while retaining the
same virtual desktop size. The frame buffer device that's used is still
/dev/fb0current (or $FRAMEBUFFER), but the available resolutions are
defined by /etc/XF86Config now. The disadvantage is that you have to
specify the timings in a different format (but `fbset -x' may help).

To tune a video mode, you can use fbset or xvidtune. Note that xvidtune doesn't
work 100% with XF68_FBDev: the reported clock values are always incorrect.





here it is /etc/X11/xorg

Quote:
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
Load "freetype"
# Load "xtt"
Load "extmod"
Load "glx"
# Load "dri"
Load "dbe"
Load "record"
Load "xtrap"
Load "type1"
# Load "speedo"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "Auto"
Option "Emulate3Buttons"
Option "Device" "/dev/input/mice"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
EndSection

Section "Monitor"

### Comment all HorizSync and VertSync values to use DDC:
#HorizSync 31.5 - 50.1
#VertRefresh 50.0 - 75.0
Identifier "Monitor0"
EndSection

Section "Device"
Identifier "Card0"
Driver "fbdev"
Option "UseFBDdev" "true"
BusID "my frame buffer"
Option "DMPS"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 8
SubSection "Display"

#Viewport 0 0
#Modes "800x600"
Modes "Default"
#Modes "640x480"
#Depth 8
#Modes "1024x768"
EndSubSection
EndSection



does anybody know how to solve this problem ?
how to use X11 on HP712


Last edited by ddc on Fri Feb 16, 2007 2:43 pm; edited 2 times in total
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Fri Feb 16, 2007 2:35 pm    Post subject: Reply with quote

i know for PPC there is a nice tool: Xorgautoconfig

Description:
Xorgautconfig generates xorg.conf files for PPC based computers.

Support:
- alpha=no
- amd64=no
- arm =no
- hppa =no
- ia64 =no
- mips =no
- ppc =yes
- ppc64 =yes
- ppc macos =no
- s390 =no
- sparc =no
- sparc =no
- fbsd =no
- x86 =no
- x86 fbsd=no


it solves a lot of troubles with apple-powerbook-G3 (based on ATI-mach64)
do you know something similar for HPPA STI ?
Back to top
View user's profile Send private message
corsair
Retired Dev
Retired Dev


Joined: 06 Oct 2003
Posts: 451
Location: Aachen, Germany

PostPosted: Sat Feb 17, 2007 7:43 am    Post subject: Reply with quote

well... I don't know anything about hppa, but there is a superior version of Xorgautoconfig which is named xac. This could work on hppa, too. You could give it a try.

-corsair
Back to top
View user's profile Send private message
HPRichard
Tux's lil' helper
Tux's lil' helper


Joined: 02 Feb 2005
Posts: 94
Location: KA, Germany

PostPosted: Sat Feb 17, 2007 9:03 pm    Post subject: Reply with quote

There is a known problem in the fbdev X driver in combination with the stifb kernel driver. I don't know the exact details, but stating
Code:
    Option      "ShadowFB" "0"

in the graphics card section of the xorg(.conf) helps.
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Sun Feb 18, 2007 8:40 pm    Post subject: Reply with quote

thank you, it is working (i report the full /etc/X11/xorg.conf

where do you read about this problem ?
I'd like to investigate about the kernel driver conflict




Code:

Section "ServerLayout"
   Identifier     "Layout0"
   Screen      0  "Screen0" 0 0
   InputDevice    "Keyboard0" "CoreKeyboard"
   InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
   Load  "freetype"
   # Load "xtt"
   Load  "extmod"
   Load  "glx"
        # Load  "dri"
   Load  "dbe"
   Load  "record"
   Load  "xtrap"
   Load  "type1"
   # Load  "speedo"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver      "mouse"
   Option       "Protocol" "Auto"
   Option       "Emulate3Buttons"
   Option       "Device" "/dev/input/mice"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver      "kbd"
   Option       "XkbModel" "pc101"
   Option       "XkbLayout" "us"
EndSection

Section "Monitor"

 ### Comment all HorizSync and VertSync values to use DDC:
   HorizSync    31.5 - 50.1
   VertRefresh  50.0 - 75.0
   Identifier   "Monitor0"
EndSection

Section "Device"
   Identifier  "Card0"
   Driver      "fbdev"
   Option       "UseFBDdev" "true"
        Option      "ShadowFB"  "0"
               # There is a known problem
          # in the fbdev X driver
          # in combination with the stifb
          # kernel driver.
   BusID       "my frame buffer"
        Option      "DMPS"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device     "Card0"
   Monitor    "Monitor0"
   DefaultDepth     8
   SubSection "Display"

      #Viewport   0 0
      #Modes    "800x600"
                Modes    "Default"
                #Modes    "640x480"
      Depth     8
      #Modes     "1024x768"
   EndSubSection
EndSection
Back to top
View user's profile Send private message
HPRichard
Tux's lil' helper
Tux's lil' helper


Joined: 02 Feb 2005
Posts: 94
Location: KA, Germany

PostPosted: Tue Feb 20, 2007 7:46 pm    Post subject: Reply with quote

I read about it on IRC when having the problem myself, or being more precisely, after one of the last upgrades or XOrg, I had the similar problem and asked on #gentoo-hppa on the freenode network and some helpful developers helped me.
The problem is AFAIR that either the stifb driver does not support ShadowFB at all or this support is broken, whereas in the latest versions of XORg X assumes that this support is present. I also don't know whether X asks the driver it it provides that functionality at all or if the driver provides the wrong answer to this question.
Back to top
View user's profile Send private message
wohltaeter
n00b
n00b


Joined: 06 Jan 2006
Posts: 5

PostPosted: Fri Feb 23, 2007 8:08 am    Post subject: gentoo hppa xorg Reply with quote

addition to above mentioned Problem

I am using a HPPA Bl132. Due to a GLSA issue I had update the Xserver and encountered similar problems.
Trying Xorg-X 7.1 which does not work I switched to 7.2 which does not work ether...

I think it is a bit strange from point of QA to give the X7.1 a "stable" on HPPA when it does not work with STIFB devices which are the only X capable cards in this architecture. :?:

I am afraid this leaves a nicely running machine now without any X and therefore crippled.... :(

Next to try is to go back to an older Version of X. They might be less secure but work at all.....
regards
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Wed Mar 07, 2007 10:02 am    Post subject: Reply with quote

gosh it's' terrible, i know ...
... it happens to my powerbook G3 with ati-mach64, but fortunately there is an autoconfig app (only for ppc) that is able to fix the problem reconfiguring /etc/X11/xorg.conf


i don't really know about your hppa machine, here i use 712 as xterminal, and hppa-C3600 as remote server. Fortunately this one has a PCI bus where i can plug a matrox millennium1/2 that could make me use is as X11-workstation




... but i want to tell you a secret of mine: troubles have taught me i am better to backup, so, as soon as i have a stable working system, i run use this (stupid) script, then i burn a cd/dvd

/usr/bin/mybackup
Code:
for file in `cat /etc/mybackup-folders`
    do
       echo $file | tr -t / - > /mnt/proof/tmp
       for file_name in `cat /mnt/proof/tmp`
           do
                 echo > /dev/null
           done
    if [ "*`echo $file | grep "#"`" == "*" ]
       then
           echo "+ $file"
           tar -czvf mygentoo$file_name.tgz $file > mygentoo$file_name.txt 2> /dev/null
    fi
    done
today=`date '+%d-%m-%Y'`
version=`uname -r`
machinename=`hostname`
machinearch=`mymachine`
machinearch=`myparam4 $machinearch`
echo "$machinename: gentoo-$machinearch-v$version updated to $today" > mygentoo-version.txt
echo "$machinename-gentoo-$machinearch-v$version updated to $today" > /etc/myversion
echo "#$machinename-gentoo-$machinearch-v$version-updated-to-$today" >> /etc/myversion-portage



/etc/mybackup-folders
Code:
/bin
/etc
/home
/lib
/sbin
/sys
/tmp
/var
/my/mysrc
/proof/idp
/usr/X11R6
/usr/bin
/usr/sbin
/usr/doc
/usr/include
/usr/kde
/usr/lib
/usr/libexec
/usr/local
/usr/man
/usr/portage
/usr/hppa-unknown-linux-gnu
/usr/hppa-unknown-linux-gnu
/usr/qt
/usr/share
/usr/src
/usr/src/my-linux-conf
/usr/tmp
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum