* [parisc-linux] cvs does not terminate...
@ 2002-10-08 8:16 Tilo Riemer
2002-10-08 13:49 ` [parisc-linux] boot (micro) hang phi
0 siblings, 1 reply; 10+ messages in thread
From: Tilo Riemer @ 2002-10-08 8:16 UTC (permalink / raw)
To: parisc-linux
Hello list,
if I use LinCVS with my parisc machine as server, cvs does not terminate
in all cases. Is this a known problem? It seems that all works fine if I
use cvs from commandline.
Best regards, Tilo
^ permalink raw reply [flat|nested] 10+ messages in thread
* [parisc-linux] boot (micro) hang
2002-10-08 8:16 [parisc-linux] cvs does not terminate Tilo Riemer
@ 2002-10-08 13:49 ` phi
2002-10-08 15:00 ` Randolph Chung
2002-10-08 17:01 ` Grant Grundler
0 siblings, 2 replies; 10+ messages in thread
From: phi @ 2002-10-08 13:49 UTC (permalink / raw)
To: parisc-linux
Hi All,
I have made no progress today.
Thomas helped to turn on verbosity during boot and remove LED display code,
but yet it fail to boot 'normally' and I still get the micro hang (15 minute).
Here is the boot display.
HARD Booted.
INIT C5FF
palo ipl 1.0 root@palinux Mon Apr 1 10:02:53 MST 2002
Partition Start(MB) End(MB) Id Type
1 1 32 f0 Palo
2 33 201 82 swap
3 202 4094 83 ext2
PALO(F0) partition contains:
0/vmlinux32 2511320 bytes @ 0x48000
Information: No console specified on kernel command line. This is normal.
PALO will choose the console currently used by firmware (serial).
Command line for kernel: 'root=/dev/sda3 HOME=/ ncr53c8xx=burst:3
console=ttyS0
TERM=vt102 palo_kernel=3/boot/vmlinux'
Selected kernel: /boot/vmlinux from partition 3
ELF32 executable
Entry 00100000 first 00100000 n 6
Segment 0 load 00100000 size 2065880 mediaptr 0x1000
Segment 1 load 002fa000 size 453664 mediaptr 0x1fa000
Segment 2 load 0036c000 size 269924 mediaptr 0x269000
Segment 3 load 003b0000 size 8192 mediaptr 0x2ab000
Segment 4 load 003b8000 size 32768 mediaptr 0x2ad000
Segment 5 load 003e1e70 size 104784 mediaptr 0x2b5e70
Branching to kernel entry point 0x00100000. If this is the last
message you see, you may need to switch your console. This is
a common symptom -- search the FAQ and mailing list at parisc-linux.org
Linux version 2.4.19-pa21 (phi@iws1pb02) (gcc version 3.0.4) #3 Tue Oct 8
15:32:
43 CEST 2002
FP[0] enabled: Rev 0 Model 14
The 32-bit Kernel has started...
Initialized PDC Console for debugging.
Determining PDC firmware type: System Map.
model 000059c0 00000481 00000000 00000002 77ecd750 100000f0 00000008 000000b2
00
0000b2
vers 00000205
CPUID vers 14 rev 9 (0x000001c9)
capabilities 0x2
model 9000/780/C180
Total Memory: 128 Mb
pagetable_init
On node 0 totalpages: 32768
zone(0): 32768 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/sda3 HOME=/ ncr53c8xx=burst:3 console=ttyS0
TERM=
vt102 palo_kernel=3/boot/vmlinux
Console: colour dummy device 160x64
Initialized PDC Console for debugging.
Calibrating delay loop... 359.62 BogoMIPS
Memory: 126368k available
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
Searching for devices...
=================== micro hang here ==================================
Found devices:
1. U2-IOA BC Runway Port (12) at 0xfff88000 [8], versions 0x580, 0xf, 0xb
2. Dino PCI Bridge (13) at 0xf2000000 [8/0], versions 0x680, 0x3, 0xa
3. Raven U/L2 Dino PS/2 Port (10) at 0xf2001000 [8/1], versions 0x6, 0x0, 0x96
4. Raven U/L2 Dino RS-232 (10) at 0xf2003000 [8/3], versions 0x6, 0x0, 0x8c
5. Raven U/L2 Core FW-SCSI (4) at 0xf200c000 [8/12], versions 0x3b, 0x0, 0x89
6. Raven U/L2 Core BA (11) at 0xffd00000 [8/16], versions 0x3b, 0x0, 0x81,
addi
tional addresses: 0xffd0c000 0xffc00000
7. Raven U/L2 Core Centronics (10) at 0xffd02000 [8/16/0], versions 0x3b, 0x0,
0
x74, additional addresses: 0xffd01000 0xffd03000
8. Raven U/L2 Core Audio (10) at 0xffd04000 [8/16/1], versions 0x3b, 0x4, 0x7b
9. Raven U/L2 Core RS-232 (10) at 0xffd05000 [8/16/4], versions 0x3b, 0x0,
0x8c
10. Raven U/L2 Core SCSI (10) at 0xffd06000 [8/16/5], versions 0x3b, 0x0, 0x82
11. Raven U/L2 Core LAN (802.3) (10) at 0xffd07000 [8/16/6], versions 0x3b,
0x0,
0x8a
12. Raven U/L2 Core PS/2 Port (10) at 0xffd08000 [8/16/7], versions 0x3b, 0x0,
0
x84
13. Raven U/L2 Core PS/2 Port (10) at 0xffd08100 [8/16/8], versions 0x3b, 0x0,
0
x84
14. Raven Backplane Wax BA (11) at 0xffe00000 [8/20], versions 0x17, 0x0, 0x8e
15. Raven Backplane Wax HIL (10) at 0xffe01000 [8/20/1], versions 0x17, 0x0,
0x7
3
16. Raven Backplane RS-232 (10) at 0xffe02000 [8/20/2], versions 0x17, 0x0,
0x8c
17. Raven Backplane Wax EISA BA (11) at 0xfc000000 [8/20/5], versions 0x17,
0x0,
0x90, additional addresses: 0xffc88000 0xfc00000b
18. Gecko GSC Core Graphics (10) at 0xfa000000 [8/24], versions 0x16, 0x0,
0x85,
additional addresses: 0xf0026000
19. U2-IOA BC GSC+ Port (7) at 0xf203f000 [8/63], versions 0x501, 0x1, 0xc
20. U2-IOA BC Runway Port (12) at 0xfff8a000 [10], versions 0x580, 0xf, 0xb
21. U2-IOA BC GSC+ Port (7) at 0xf103f000 [10/63], versions 0x501, 0x1, 0xc
22. Raven U 180 (9000/780/C180) (0) at 0xfffa0000 [32], versions 0x59c, 0x0,
0x4
23. Memory (1) at 0xfffb1000 [49], versions 0x72, 0x0, 0x9
CPU(s): 1 x PA8000 (PCX-U) at 180.000000 MHz
Found U2 at 0xfff88000
Found U2 at 0xfff8a000
Lasi version 0 at 0xffd00000 found.
Wax at 0xffe00000 found.
Wax EISA Adapter found at 0xfc000000
EISA EEPROM at 0xffc88000
Enumerating EISA bus
EISA slot 1 a configured board was not detected ( expected INP0500)
Dino version 3.1 found at 0xf2000000
Dino: No PCI devices enabled.
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Soft power switch enabled, polling @ 0xf0140000.
Starting kswapd
Journalled Block Device driver loaded
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
parport_init_chip: initialize bidirectional-mode.
parport0: PC-style at 0xffd02800, irq 88 [PCSPP,TRISTATE]
STI GSC/PCI graphics driver version 0.9
STI word mode ROM at f0026000, hpa at fa000000
STI id 2d08c0a7-9a02587, conforms to spec rev. 8.07
STI device: INTERNAL_EG_1280
Console: switching to colour frame buffer device 160x64
fb0: stifb 1280x1024-8 frame buffer device, id: 2d08c0a7, mmio: 0xfa100000
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI
en
abled
ttyS00 at iomem 0xffd05800 (irq = 90) is a 16550A
ttyS01 at iomem 0xffe02800 (irq = 121) is a 16550A
PS/2 keyboard port at 0xffd08000 (irq 69) found, no device attached.
PS/2 psaux port at 0xffd08100 (irq 69) found, no device attached.
lp0: using parport0 (interrupt-driven).
Generic RTC Driver v1.02 05/27/1999 Sam Creasey (sammy@oh.verio.com)
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
Found i82596 at 0xffd07000, IRQ 87
eth0: 82596 at 0xffd07000, 00 60 B0 05 34 7B IRQ 87.
82596.c $Revision: 1.29 $
SCSI subsystem driver Revision: 1.00
zalon_scsi_callback: Zalon vers field is 0x1, IRQ 35
ncr53c8xx: 53c720 detected
ncr53c720-0: ID 7, Fast-10, Parity Checking, Differential
scsi0 : ncr53c8xx-3.4.3b-20010512
ncr53c720-0-<6,*>: FAST-10 WIDE SCSI 20.0 MB/s (100 ns, offset 8)
Vendor: SEAGATE Model: ST15150W Rev: HP10
Type: Direct-Access ANSI SCSI revision: 02
53c700: Version 2.7 By James.Bottomley@HansenPartnership.com
scsi1: 53c710 rev 2
scsi1 : LASI SCSI 53c700
Attached scsi disk sda at scsi0, channel 0, id 6, lun 0
SCSI device sda: 8388314 512-byte hdwr sectors (4295 MB)
Partition check:
sda: sda1 sda2 sda3
Lasi Harmony Audio driver V0.9a, h/w id 20, rev. 0 at 0xffd04000, IRQ 82
mice: PS/2 mouse device common for all mice
HP SDC: HP SDC reports successful PUP.
HP SDC: HP SDC at 0xffe01000, IRQ 126 (NMI IRQ 125)
HP SDC: New style SDC
HP SDC: Revision: 1820-4784
HP SDC: TI SN76494 beeper present
HP SDC: OKI MSM-58321 BBRTC present
HP SDC: Spunking the self test register to force PUP on next firmware reset.
HP SDC MLC: Registering the System Domain Controller's HIL MLC.
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
8regs : 392.800 MB/sec
8regs_prefetch: 392.800 MB/sec
32regs : 305.600 MB/sec
32regs_prefetch: 305.600 MB/sec
raid5: using function: 8regs_prefetch (392.800 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
HP SDC: Transaction add failed: transaction already queued?
md: Autodetecting RAID arrays.
HP SDC: Transaction add failed: transaction already queued?
md: autorun ...
md: ... autorun DONE.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
HP SDC: Transaction add failed: transaction already queued?
HP SDC: Transaction add failed: transaction already queued?
HP SDC: Transaction add failed: transaction already queued?
HP SDC: read timeout (860942us)!
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 264k freed
INIT: version 2.84 booting
Loading /etc/console/boottime.kmap.gz
Activating swap.
Adding Swap: 173156k swap-space (priority -1)
Checking root file system...
fsck 1.27 (8-Mar-2002)
/dev/sda3: clean, 49882/498976 files, 353001/996735 blocks
System time was Tue Oct 8 12:52:10 UTC 2002.
Setting the System Clock using the Hardware Clock as reference...
System Clock set. System local time is now Tue Oct 8 12:52:03 UTC 2002.
Calculating module dependencies... depmod: Can't open
/lib/modules/2.4.19-pa21/m
odules.dep for writing
done.
Loading modules:
modprobe: Can't open dependencies file /lib/modules/2.4.19-pa21/modules.dep
(No
such file or directory)
Checking all file systems...
fsck 1.27 (8-Mar-2002)
Setting kernel variables.
Mounting local filesystems...
nothing was mounted
Cleaning: /etc/network/ifstate.
Setting up IP spoofing protection: rp_filter.
Configuring network interfaces... eth0: link ok.
done.
R
Setting the System Clock using the Hardware Clock as reference...
System Clock set. Local time: Tue Oct 8 14:52:10 CEST 2002
Cleaning: /tmp /var/lock /var/run.
Initializing random number generator... done.
Recovering nvi editor sessions... done.
=============================================================================
The vmlinux.prev boot ok, so no HW should be the root cause.
The vmlinux.prev is
Linux version 2.4.18-pa58 (phi@iws1pb02) (gcc version 3.0.4) #1 Thu Jul 25
13:29
:39 CEST 2002
Any ideas?
Phi
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [parisc-linux] boot (micro) hang
2002-10-08 13:49 ` [parisc-linux] boot (micro) hang phi
@ 2002-10-08 15:00 ` Randolph Chung
2002-10-08 17:01 ` Grant Grundler
1 sibling, 0 replies; 10+ messages in thread
From: Randolph Chung @ 2002-10-08 15:00 UTC (permalink / raw)
To: phi; +Cc: parisc-linux
> I have made no progress today.
> Thomas helped to turn on verbosity during boot and remove LED display code,
> but yet it fail to boot 'normally' and I still get the micro hang (15 minute).
>
> Here is the boot display.
Make sure you have the System.map that goes along with the kernel you
are booting, then when you observe the hang on bootup, press the TOC
button (usually a recessed button on the back of the box). The machine
should automatically reboot. At the next reboot at the PDC prompt, do
"ser pim" and capture the output. Put that output and your System.map
someplace others can access (or you can try to match it up yourself,
the interesting bits are where the IAOQ and GR02 values lay in
System.map)
good luck :)
randolph
--
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [parisc-linux] boot (micro) hang
2002-10-08 13:49 ` [parisc-linux] boot (micro) hang phi
2002-10-08 15:00 ` Randolph Chung
@ 2002-10-08 17:01 ` Grant Grundler
2002-10-09 12:44 ` phi
1 sibling, 1 reply; 10+ messages in thread
From: Grant Grundler @ 2002-10-08 17:01 UTC (permalink / raw)
To: phi; +Cc: parisc-linux
phi wrote:
> Thomas helped to turn on verbosity during boot and remove LED display code,
> but yet it fail to boot 'normally' and I still get the micro hang (15 minute).
The long delay happens during device discovery.
You could enable EARLY_BOOTUP_DEBUG in arch/parisc/kernel/pdc_cons.c
and add some printk's to the loop in system_map_inventory().
Only two pieces of code really get executed during that time.
One is the PDC calls - verify your firmware is the latest and if it
isn't, please update. The other might be GSC buswalk code. I thought
the bus's under U2 are walked to detect devices not listed by PDC.
But I don't know exactly when that occurs in the boot sequence.
grant
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [parisc-linux] boot (micro) hang
2002-10-08 17:01 ` Grant Grundler
@ 2002-10-09 12:44 ` phi
2002-10-09 14:05 ` Ryan Bradetich
2002-10-09 17:57 ` Grant Grundler
0 siblings, 2 replies; 10+ messages in thread
From: phi @ 2002-10-09 12:44 UTC (permalink / raw)
To: Grant Grundler; +Cc: parisc-linux
Grant Grundler wrote:
> The long delay happens during device discovery.
> You could enable EARLY_BOOTUP_DEBUG in arch/parisc/kernel/pdc_cons.c
> and add some printk's to the loop in system_map_inventory().
>
> Only two pieces of code really get executed during that time.
> One is the PDC calls - verify your firmware is the latest and if it
> isn't, please update. The other might be GSC buswalk code. I thought
> the bus's under U2 are walked to detect devices not listed by PDC.
> But I don't know exactly when that occurs in the boot sequence.
>
> grant
My Firmware is
Firmware Version 5.2
Duplex Console IO Dependent Code (IODC) revision 1
Boot IO Dependent Code (IODC) revision 153
Dunno if this is good enuff. At least it works for old kernel.
==================================================================
printk() into walk_native_bus() as follow shos this.
static void walk_native_bus(unsigned long io_io_low, unsigned long io_io_high,
struct parisc_device *parent)
{
int i, devices_found = 0;
unsigned long hpa = io_io_low;
struct hardware_path path;
printk("1.1 low=0x%08x high=0x%08x\n",io_io_low,io_io_high);
get_node_path(parent, &path);
do {
printk("1.2 i=%d hpa=0x%08x\n",0,hpa);
for (i = 0; i < MAX_NATIVE_DEVICES; i++, hpa +=
NATIVE_DEVICE_OF
FSET) {
struct parisc_device *dev;
/* Was the device already added by Firmware? */
dev = find_device_by_addr(hpa);
if (!dev) {
path.mod = i;
printk("1.3 i=%d hpa=0x%08x\n",i,hpa);
dev = alloc_pa_dev(hpa, &path);
if (!dev)
continue;
printk("1.4\n");
register_parisc_device(dev);
devices_found++;
}
walk_lower_bus(dev);
}
} while (!devices_found && hpa < io_io_high);
}
1.1 low=0xfff80000 high=0xfffc0000
1.2 i=0 hpa=0xfff80000
1.3 i=0 hpa=0xfff80000
1.3 i=1 hpa=0xfff81000
1.3 i=2 hpa=0xfff82000
1.3 i=3 hpa=0xfff83000
1.3 i=4 hpa=0xfff84000
1.3 i=5 hpa=0xfff85000
1.3 i=6 hpa=0xfff86000
1.3 i=7 hpa=0xfff87000
1.3 i=8 hpa=0xfff88000
1.4
1.1 low=0xf2000000 high=0xf4000000
1.2 i=0 hpa=0xf2000000
1.3 i=1 hpa=0xf2001000
1.4
1.3 i=2 hpa=0xf2002000
1.3 i=3 hpa=0xf2003000
1.4
1.3 i=4 hpa=0xf2004000
1.3 i=5 hpa=0xf2005000
1.3 i=6 hpa=0xf2006000
1.3 i=7 hpa=0xf2007000
1.3 i=8 hpa=0xf2008000
1.3 i=9 hpa=0xf2009000
1.3 i=10 hpa=0xf200a000
1.3 i=11 hpa=0xf200b000
1.3 i=13 hpa=0xf200d000
1.3 i=14 hpa=0xf200e000
1.3 i=15 hpa=0xf200f000
1.3 i=16 hpa=0xf2010000
1.3 i=17 hpa=0xf2011000
1.3 i=18 hpa=0xf2012000
1.3 i=19 hpa=0xf2013000
1.3 i=20 hpa=0xf2014000
1.3 i=21 hpa=0xf2015000
1.3 i=22 hpa=0xf2016000
1.3 i=23 hpa=0xf2017000
1.3 i=24 hpa=0xf2018000
1.3 i=25 hpa=0xf2019000
1.3 i=26 hpa=0xf201a000
1.3 i=27 hpa=0xf201b000
1.3 i=28 hpa=0xf201c000
1.3 i=29 hpa=0xf201d000
1.3 i=30 hpa=0xf201e000
1.3 i=31 hpa=0xf201f000
1.3 i=32 hpa=0xf2020000
1.3 i=33 hpa=0xf2021000
1.3 i=34 hpa=0xf2022000
1.3 i=35 hpa=0xf2023000
1.3 i=36 hpa=0xf2024000
1.3 i=37 hpa=0xf2025000
1.3 i=38 hpa=0xf2026000
1.3 i=39 hpa=0xf2027000
1.3 i=40 hpa=0xf2028000
1.3 i=41 hpa=0xf2029000
1.3 i=42 hpa=0xf202a000
1.3 i=43 hpa=0xf202b000
1.3 i=44 hpa=0xf202c000
1.3 i=45 hpa=0xf202d000
1.3 i=46 hpa=0xf202e000
1.3 i=47 hpa=0xf202f000
1.3 i=48 hpa=0xf2030000
1.3 i=49 hpa=0xf2031000
1.3 i=50 hpa=0xf2032000
1.3 i=51 hpa=0xf2033000
1.3 i=52 hpa=0xf2034000
1.3 i=53 hpa=0xf2035000
1.3 i=54 hpa=0xf2036000
1.3 i=55 hpa=0xf2037000
1.3 i=56 hpa=0xf2038000
1.3 i=57 hpa=0xf2039000
1.3 i=58 hpa=0xf203a000
1.3 i=59 hpa=0xf203b000
1.3 i=60 hpa=0xf203c000
1.3 i=61 hpa=0xf203d000
1.3 i=62 hpa=0xf203e000
1.3 i=9 hpa=0xfff89000
1.3 i=10 hpa=0xfff8a000
1.4
1.1 low=0xf1000000 high=0xf2000000
1.2 i=0 hpa=0xf1000000
1.3 i=0 hpa=0xf1000000
1.3 i=1 hpa=0xf1001000
1.3 i=2 hpa=0xf1002000
1.3 i=3 hpa=0xf1003000
1.3 i=4 hpa=0xf1004000
1.3 i=5 hpa=0xf1005000
1.3 i=6 hpa=0xf1006000
1.3 i=7 hpa=0xf1007000
1.3 i=8 hpa=0xf1008000
1.3 i=9 hpa=0xf1009000
1.3 i=10 hpa=0xf100a000
1.3 i=11 hpa=0xf100b000
1.3 i=12 hpa=0xf100c000
1.3 i=13 hpa=0xf100d000
1.3 i=14 hpa=0xf100e000
1.3 i=15 hpa=0xf100f000
1.3 i=16 hpa=0xf1010000
1.3 i=17 hpa=0xf1011000
1.3 i=18 hpa=0xf1012000
1.3 i=19 hpa=0xf1013000
1.3 i=20 hpa=0xf1014000
1.3 i=21 hpa=0xf1015000
1.3 i=22 hpa=0xf1016000
1.3 i=23 hpa=0xf1017000
1.3 i=24 hpa=0xf1018000
1.3 i=25 hpa=0xf1019000
1.3 i=26 hpa=0xf101a000
1.3 i=27 hpa=0xf101b000
1.3 i=28 hpa=0xf101c000
1.3 i=29 hpa=0xf101d000
1.3 i=30 hpa=0xf101e000
1.3 i=31 hpa=0xf101f000
1.3 i=32 hpa=0xf1020000
1.3 i=33 hpa=0xf1021000
1.3 i=34 hpa=0xf1022000
1.3 i=35 hpa=0xf1023000
1.3 i=36 hpa=0xf1024000
1.3 i=37 hpa=0xf1025000
1.3 i=38 hpa=0xf1026000
1.3 i=39 hpa=0xf1027000
1.3 i=40 hpa=0xf1028000
1.3 i=41 hpa=0xf1029000
1.3 i=42 hpa=0xf102a000
1.3 i=43 hpa=0xf102b000
1.3 i=44 hpa=0xf102c000
1.3 i=45 hpa=0xf102d000
1.3 i=46 hpa=0xf102e000
1.3 i=47 hpa=0xf102f000
1.3 i=48 hpa=0xf1030000
1.3 i=49 hpa=0xf1031000
1.3 i=50 hpa=0xf1032000
1.3 i=51 hpa=0xf1033000
1.3 i=52 hpa=0xf1034000
1.3 i=53 hpa=0xf1035000
1.3 i=54 hpa=0xf1036000
1.3 i=55 hpa=0xf1037000
1.3 i=56 hpa=0xf1038000
1.3 i=57 hpa=0xf1039000
1.3 i=58 hpa=0xf103a000
1.3 i=59 hpa=0xf103b000
1.3 i=60 hpa=0xf103c000
1.3 i=61 hpa=0xf103d000
1.3 i=62 hpa=0xf103e000
1.2 i=0 hpa=0xf1040000
1.3 i=0 hpa=0xf1040000
1.3 i=1 hpa=0xf1041000
1.3 i=2 hpa=0xf1042000
1.3 i=3 hpa=0xf1043000
1.3 i=4 hpa=0xf1044000
1.3 i=5 hpa=0xf1045000
1.3 i=6 hpa=0xf1046000
1.3 i=7 hpa=0xf1047000
1.3 i=8 hpa=0xf1048000
1.3 i=9 hpa=0xf1049000
1.3 i=10 hpa=0xf104a000
1.3 i=11 hpa=0xf104b000
1.3 i=12 hpa=0xf104c000
1.3 i=13 hpa=0xf104d000
1.3 i=14 hpa=0xf104e000
1.3 i=15 hpa=0xf104f000
1.3 i=16 hpa=0xf1050000
1.3 i=17 hpa=0xf1051000
1.3 i=18 hpa=0xf1052000
1.3 i=19 hpa=0xf1053000
1.3 i=20 hpa=0xf1054000
1.3 i=21 hpa=0xf1055000
1.3 i=22 hpa=0xf1056000
1.3 i=23 hpa=0xf1057000
1.3 i=24 hpa=0xf1058000
1.3 i=25 hpa=0xf1059000
1.3 i=26 hpa=0xf105a000
1.3 i=27 hpa=0xf105b000
1.3 i=28 hpa=0xf105c000
1.3 i=29 hpa=0xf105d000
1.3 i=30 hpa=0xf105e000
1.3 i=31 hpa=0xf105f000
1.3 i=32 hpa=0xf1060000
1.3 i=33 hpa=0xf1061000
1.3 i=34 hpa=0xf1062000
1.3 i=35 hpa=0xf1063000
1.3 i=36 hpa=0xf1064000
1.3 i=37 hpa=0xf1065000
1.3 i=38 hpa=0xf1066000
1.3 i=39 hpa=0xf1067000
1.3 i=40 hpa=0xf1068000
1.3 i=41 hpa=0xf1069000
1.3 i=42 hpa=0xf106a000
1.3 i=43 hpa=0xf106b000
1.3 i=44 hpa=0xf106c000
1.3 i=45 hpa=0xf106d000
1.3 i=46 hpa=0xf106e000
1.3 i=47 hpa=0xf106f000
1.3 i=48 hpa=0xf1070000
1.3 i=49 hpa=0xf1071000
1.3 i=50 hpa=0xf1072000
1.3 i=51 hpa=0xf1073000
1.3 i=52 hpa=0xf1074000
1.3 i=53 hpa=0xf1075000
1.3 i=54 hpa=0xf1076000
1.3 i=55 hpa=0xf1077000
1.3 i=56 hpa=0xf1078000
1.3 i=57 hpa=0xf1079000
1.3 i=58 hpa=0xf107a000
1.3 i=59 hpa=0xf107b000
1.3 i=60 hpa=0xf107c000
1.3 i=61 hpa=0xf107d000
1.3 i=62 hpa=0xf107e000
1.3 i=63 hpa=0xf107f000
1.2 i=0 hpa=0xf1080000
1.3 i=0 hpa=0xf1080000
1.3 i=1 hpa=0xf1081000
1.3 i=2 hpa=0xf1082000
1.3 i=3 hpa=0xf1083000
1.3 i=4 hpa=0xf1084000
1.3 i=5 hpa=0xf1085000
1.3 i=6 hpa=0xf1086000
1.3 i=7 hpa=0xf1087000
1.3 i=8 hpa=0xf1088000
1.3 i=9 hpa=0xf1089000
1.3 i=10 hpa=0xf108a000
1.3 i=11 hpa=0xf108b000
1.3 i=12 hpa=0xf108c000
1.3 i=13 hpa=0xf108d000
1.3 i=14 hpa=0xf108e000
1.3 i=15 hpa=0xf108f000
1.3 i=16 hpa=0xf1090000
1.3 i=17 hpa=0xf1091000
1.3 i=18 hpa=0xf1092000
1.3 i=19 hpa=0xf1093000
1.3 i=20 hpa=0xf1094000
1.3 i=21 hpa=0xf1095000
1.3 i=22 hpa=0xf1096000
1.3 i=23 hpa=0xf1097000
1.3 i=24 hpa=0xf1098000
1.3 i=25 hpa=0xf1099000
1.3 i=26 hpa=0xf109a000
1.3 i=27 hpa=0xf109b000
1.3 i=28 hpa=0xf109c000
1.3 i=29 hpa=0xf109d000
1.3 i=30 hpa=0xf109e000
1.3 i=31 hpa=0xf109f000
1.3 i=32 hpa=0xf10a0000
1.3 i=33 hpa=0xf10a1000
1.3 i=34 hpa=0xf10a2000
1.3 i=35 hpa=0xf10a3000
1.3 i=36 hpa=0xf10a4000
1.3 i=37 hpa=0xf10a5000
1.3 i=38 hpa=0xf10a6000
1.3 i=39 hpa=0xf10a7000
1.3 i=40 hpa=0xf10a8000
1.3 i=41 hpa=0xf10a9000
1.3 i=42 hpa=0xf10aa000
1.3 i=43 hpa=0xf10ab000
1.3 i=44 hpa=0xf10ac000
1.3 i=45 hpa=0xf10ad000
1.3 i=46 hpa=0xf10ae000
1.3 i=47 hpa=0xf10af000
1.3 i=48 hpa=0xf10b0000
1.3 i=49 hpa=0xf10b1000
1.3 i=50 hpa=0xf10b2000
1.3 i=51 hpa=0xf10b3000
1.3 i=52 hpa=0xf10b4000
1.3 i=53 hpa=0xf10b5000
1.3 i=54 hpa=0xf10b6000
1.3 i=55 hpa=0xf10b7000
1.3 i=56 hpa=0xf10b8000
1.3 i=57 hpa=0xf10b9000
1.3 i=58 hpa=0xf10ba000
1.3 i=59 hpa=0xf10bb000
1.3 i=60 hpa=0xf10bc000
1.3 i=61 hpa=0xf10bd000
1.3 i=62 hpa=0xf10be000
1.3 i=63 hpa=0xf10bf000
1.2 i=0 hpa=0xf10c0000
I am not knowledeable enough to tell if the range to walk on is valid or not,
but it is way too much for my config.
I wonder if this functin got the range correctly
void walk_lower_bus(struct parisc_device *dev)
{
unsigned long io_io_low, io_io_high;
if(!BUS_CONVERTER(dev) || IS_LOWER_PORT(dev))
return;
io_io_low = ((unsigned long)(signed int)READ_IO_IO_LOW(dev) +
~FLEX_MASK
) & FLEX_MASK;
io_io_high = ((unsigned long)(signed int)READ_IO_IO_HIGH(dev) +
~FLEX_MA
SK) & FLEX_MASK;
walk_native_bus(io_io_low, io_io_high, dev);
}
For the time being I enforce
io_io_high=io_io_low+(MAX_NATIVE_DEVICES*NATIVE_DEVICE_OFFSET);
In the above function which as the effect of shortening the loop and boot ok.
Dunno if this hack make sense, may be I would loose some devices, but I don't
plan to add any anyway.
Phi
--
mailto:Philippe_Benard@hp.com [ HPS-SE HP-UX kernel debugging tools ]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [parisc-linux] boot (micro) hang
2002-10-09 12:44 ` phi
@ 2002-10-09 14:05 ` Ryan Bradetich
2002-10-09 14:20 ` phi
2002-10-09 17:57 ` Grant Grundler
1 sibling, 1 reply; 10+ messages in thread
From: Ryan Bradetich @ 2002-10-09 14:05 UTC (permalink / raw)
To: phi; +Cc: Grant Grundler, parisc-linux
*sigh*
This is due to a change I made to detect devices on the E class systems.
Before we encountered the E Class systems, the devices were always at
the bottom of the range, but E Class put them at the top. The function
will break out once a device is found ... it appears that your system
also has the devices towards the top of the io range.
post the contents of /proc/iomem and I can verify this for sure. We
need to come up with a better way for discovering these devices.
btw, what model system is this?
Thanks,
- Ryan
P.S. the reason it worked before is because it only walked the first
0 - 63 devices with in that range. Not it walks the entire range
until it finds a device.
On Wed, 2002-10-09 at 06:44, phi wrote:
> Grant Grundler wrote:
> > The long delay happens during device discovery.
> > You could enable EARLY_BOOTUP_DEBUG in arch/parisc/kernel/pdc_cons.c
> > and add some printk's to the loop in system_map_inventory().
> >
> > Only two pieces of code really get executed during that time.
> > One is the PDC calls - verify your firmware is the latest and if it
> > isn't, please update. The other might be GSC buswalk code. I thought
> > the bus's under U2 are walked to detect devices not listed by PDC.
> > But I don't know exactly when that occurs in the boot sequence.
> >
> > grant
>
> My Firmware is
>
> Firmware Version 5.2
> Duplex Console IO Dependent Code (IODC) revision 1
> Boot IO Dependent Code (IODC) revision 153
>
>
> Dunno if this is good enuff. At least it works for old kernel.
>
>
> ==================================================================
>
> printk() into walk_native_bus() as follow shos this.
>
> static void walk_native_bus(unsigned long io_io_low, unsigned long io_io_high,
> struct parisc_device *parent)
> {
> int i, devices_found = 0;
> unsigned long hpa = io_io_low;
> struct hardware_path path;
>
> printk("1.1 low=0x%08x high=0x%08x\n",io_io_low,io_io_high);
> get_node_path(parent, &path);
> do {
> printk("1.2 i=%d hpa=0x%08x\n",0,hpa);
> for (i = 0; i < MAX_NATIVE_DEVICES; i++, hpa +=
> NATIVE_DEVICE_OF
> FSET) {
> struct parisc_device *dev;
>
> /* Was the device already added by Firmware? */
> dev = find_device_by_addr(hpa);
> if (!dev) {
> path.mod = i;
> printk("1.3 i=%d hpa=0x%08x\n",i,hpa);
> dev = alloc_pa_dev(hpa, &path);
> if (!dev)
> continue;
>
> printk("1.4\n");
> register_parisc_device(dev);
> devices_found++;
> }
> walk_lower_bus(dev);
> }
> } while (!devices_found && hpa < io_io_high);
> }
>
> 1.1 low=0xfff80000 high=0xfffc0000
> 1.2 i=0 hpa=0xfff80000
> 1.3 i=0 hpa=0xfff80000
> 1.3 i=1 hpa=0xfff81000
> 1.3 i=2 hpa=0xfff82000
> 1.3 i=3 hpa=0xfff83000
> 1.3 i=4 hpa=0xfff84000
> 1.3 i=5 hpa=0xfff85000
> 1.3 i=6 hpa=0xfff86000
> 1.3 i=7 hpa=0xfff87000
> 1.3 i=8 hpa=0xfff88000
> 1.4
> 1.1 low=0xf2000000 high=0xf4000000
> 1.2 i=0 hpa=0xf2000000
> 1.3 i=1 hpa=0xf2001000
> 1.4
> 1.3 i=2 hpa=0xf2002000
> 1.3 i=3 hpa=0xf2003000
> 1.4
> 1.3 i=4 hpa=0xf2004000
> 1.3 i=5 hpa=0xf2005000
> 1.3 i=6 hpa=0xf2006000
> 1.3 i=7 hpa=0xf2007000
> 1.3 i=8 hpa=0xf2008000
> 1.3 i=9 hpa=0xf2009000
> 1.3 i=10 hpa=0xf200a000
> 1.3 i=11 hpa=0xf200b000
> 1.3 i=13 hpa=0xf200d000
> 1.3 i=14 hpa=0xf200e000
> 1.3 i=15 hpa=0xf200f000
> 1.3 i=16 hpa=0xf2010000
> 1.3 i=17 hpa=0xf2011000
> 1.3 i=18 hpa=0xf2012000
> 1.3 i=19 hpa=0xf2013000
> 1.3 i=20 hpa=0xf2014000
> 1.3 i=21 hpa=0xf2015000
> 1.3 i=22 hpa=0xf2016000
> 1.3 i=23 hpa=0xf2017000
> 1.3 i=24 hpa=0xf2018000
> 1.3 i=25 hpa=0xf2019000
> 1.3 i=26 hpa=0xf201a000
> 1.3 i=27 hpa=0xf201b000
> 1.3 i=28 hpa=0xf201c000
> 1.3 i=29 hpa=0xf201d000
> 1.3 i=30 hpa=0xf201e000
> 1.3 i=31 hpa=0xf201f000
> 1.3 i=32 hpa=0xf2020000
> 1.3 i=33 hpa=0xf2021000
> 1.3 i=34 hpa=0xf2022000
> 1.3 i=35 hpa=0xf2023000
> 1.3 i=36 hpa=0xf2024000
> 1.3 i=37 hpa=0xf2025000
> 1.3 i=38 hpa=0xf2026000
> 1.3 i=39 hpa=0xf2027000
> 1.3 i=40 hpa=0xf2028000
> 1.3 i=41 hpa=0xf2029000
> 1.3 i=42 hpa=0xf202a000
> 1.3 i=43 hpa=0xf202b000
> 1.3 i=44 hpa=0xf202c000
> 1.3 i=45 hpa=0xf202d000
> 1.3 i=46 hpa=0xf202e000
> 1.3 i=47 hpa=0xf202f000
> 1.3 i=48 hpa=0xf2030000
> 1.3 i=49 hpa=0xf2031000
> 1.3 i=50 hpa=0xf2032000
> 1.3 i=51 hpa=0xf2033000
> 1.3 i=52 hpa=0xf2034000
> 1.3 i=53 hpa=0xf2035000
> 1.3 i=54 hpa=0xf2036000
> 1.3 i=55 hpa=0xf2037000
> 1.3 i=56 hpa=0xf2038000
> 1.3 i=57 hpa=0xf2039000
> 1.3 i=58 hpa=0xf203a000
> 1.3 i=59 hpa=0xf203b000
> 1.3 i=60 hpa=0xf203c000
> 1.3 i=61 hpa=0xf203d000
> 1.3 i=62 hpa=0xf203e000
> 1.3 i=9 hpa=0xfff89000
> 1.3 i=10 hpa=0xfff8a000
> 1.4
> 1.1 low=0xf1000000 high=0xf2000000
> 1.2 i=0 hpa=0xf1000000
> 1.3 i=0 hpa=0xf1000000
> 1.3 i=1 hpa=0xf1001000
> 1.3 i=2 hpa=0xf1002000
> 1.3 i=3 hpa=0xf1003000
> 1.3 i=4 hpa=0xf1004000
> 1.3 i=5 hpa=0xf1005000
> 1.3 i=6 hpa=0xf1006000
> 1.3 i=7 hpa=0xf1007000
> 1.3 i=8 hpa=0xf1008000
> 1.3 i=9 hpa=0xf1009000
> 1.3 i=10 hpa=0xf100a000
> 1.3 i=11 hpa=0xf100b000
> 1.3 i=12 hpa=0xf100c000
> 1.3 i=13 hpa=0xf100d000
> 1.3 i=14 hpa=0xf100e000
> 1.3 i=15 hpa=0xf100f000
> 1.3 i=16 hpa=0xf1010000
> 1.3 i=17 hpa=0xf1011000
> 1.3 i=18 hpa=0xf1012000
> 1.3 i=19 hpa=0xf1013000
> 1.3 i=20 hpa=0xf1014000
> 1.3 i=21 hpa=0xf1015000
> 1.3 i=22 hpa=0xf1016000
> 1.3 i=23 hpa=0xf1017000
> 1.3 i=24 hpa=0xf1018000
> 1.3 i=25 hpa=0xf1019000
> 1.3 i=26 hpa=0xf101a000
> 1.3 i=27 hpa=0xf101b000
> 1.3 i=28 hpa=0xf101c000
> 1.3 i=29 hpa=0xf101d000
> 1.3 i=30 hpa=0xf101e000
> 1.3 i=31 hpa=0xf101f000
> 1.3 i=32 hpa=0xf1020000
> 1.3 i=33 hpa=0xf1021000
> 1.3 i=34 hpa=0xf1022000
> 1.3 i=35 hpa=0xf1023000
> 1.3 i=36 hpa=0xf1024000
> 1.3 i=37 hpa=0xf1025000
> 1.3 i=38 hpa=0xf1026000
> 1.3 i=39 hpa=0xf1027000
> 1.3 i=40 hpa=0xf1028000
> 1.3 i=41 hpa=0xf1029000
> 1.3 i=42 hpa=0xf102a000
> 1.3 i=43 hpa=0xf102b000
> 1.3 i=44 hpa=0xf102c000
> 1.3 i=45 hpa=0xf102d000
> 1.3 i=46 hpa=0xf102e000
> 1.3 i=47 hpa=0xf102f000
> 1.3 i=48 hpa=0xf1030000
> 1.3 i=49 hpa=0xf1031000
> 1.3 i=50 hpa=0xf1032000
> 1.3 i=51 hpa=0xf1033000
> 1.3 i=52 hpa=0xf1034000
> 1.3 i=53 hpa=0xf1035000
> 1.3 i=54 hpa=0xf1036000
> 1.3 i=55 hpa=0xf1037000
> 1.3 i=56 hpa=0xf1038000
> 1.3 i=57 hpa=0xf1039000
> 1.3 i=58 hpa=0xf103a000
> 1.3 i=59 hpa=0xf103b000
> 1.3 i=60 hpa=0xf103c000
> 1.3 i=61 hpa=0xf103d000
> 1.3 i=62 hpa=0xf103e000
> 1.2 i=0 hpa=0xf1040000
> 1.3 i=0 hpa=0xf1040000
> 1.3 i=1 hpa=0xf1041000
> 1.3 i=2 hpa=0xf1042000
> 1.3 i=3 hpa=0xf1043000
> 1.3 i=4 hpa=0xf1044000
> 1.3 i=5 hpa=0xf1045000
> 1.3 i=6 hpa=0xf1046000
> 1.3 i=7 hpa=0xf1047000
> 1.3 i=8 hpa=0xf1048000
> 1.3 i=9 hpa=0xf1049000
> 1.3 i=10 hpa=0xf104a000
> 1.3 i=11 hpa=0xf104b000
> 1.3 i=12 hpa=0xf104c000
> 1.3 i=13 hpa=0xf104d000
> 1.3 i=14 hpa=0xf104e000
> 1.3 i=15 hpa=0xf104f000
> 1.3 i=16 hpa=0xf1050000
> 1.3 i=17 hpa=0xf1051000
> 1.3 i=18 hpa=0xf1052000
> 1.3 i=19 hpa=0xf1053000
> 1.3 i=20 hpa=0xf1054000
> 1.3 i=21 hpa=0xf1055000
> 1.3 i=22 hpa=0xf1056000
> 1.3 i=23 hpa=0xf1057000
> 1.3 i=24 hpa=0xf1058000
> 1.3 i=25 hpa=0xf1059000
> 1.3 i=26 hpa=0xf105a000
> 1.3 i=27 hpa=0xf105b000
> 1.3 i=28 hpa=0xf105c000
> 1.3 i=29 hpa=0xf105d000
> 1.3 i=30 hpa=0xf105e000
> 1.3 i=31 hpa=0xf105f000
> 1.3 i=32 hpa=0xf1060000
> 1.3 i=33 hpa=0xf1061000
> 1.3 i=34 hpa=0xf1062000
> 1.3 i=35 hpa=0xf1063000
> 1.3 i=36 hpa=0xf1064000
> 1.3 i=37 hpa=0xf1065000
> 1.3 i=38 hpa=0xf1066000
> 1.3 i=39 hpa=0xf1067000
> 1.3 i=40 hpa=0xf1068000
> 1.3 i=41 hpa=0xf1069000
> 1.3 i=42 hpa=0xf106a000
> 1.3 i=43 hpa=0xf106b000
> 1.3 i=44 hpa=0xf106c000
> 1.3 i=45 hpa=0xf106d000
> 1.3 i=46 hpa=0xf106e000
> 1.3 i=47 hpa=0xf106f000
> 1.3 i=48 hpa=0xf1070000
> 1.3 i=49 hpa=0xf1071000
> 1.3 i=50 hpa=0xf1072000
> 1.3 i=51 hpa=0xf1073000
> 1.3 i=52 hpa=0xf1074000
> 1.3 i=53 hpa=0xf1075000
> 1.3 i=54 hpa=0xf1076000
> 1.3 i=55 hpa=0xf1077000
> 1.3 i=56 hpa=0xf1078000
> 1.3 i=57 hpa=0xf1079000
> 1.3 i=58 hpa=0xf107a000
> 1.3 i=59 hpa=0xf107b000
> 1.3 i=60 hpa=0xf107c000
> 1.3 i=61 hpa=0xf107d000
> 1.3 i=62 hpa=0xf107e000
> 1.3 i=63 hpa=0xf107f000
> 1.2 i=0 hpa=0xf1080000
> 1.3 i=0 hpa=0xf1080000
> 1.3 i=1 hpa=0xf1081000
> 1.3 i=2 hpa=0xf1082000
> 1.3 i=3 hpa=0xf1083000
> 1.3 i=4 hpa=0xf1084000
> 1.3 i=5 hpa=0xf1085000
> 1.3 i=6 hpa=0xf1086000
> 1.3 i=7 hpa=0xf1087000
> 1.3 i=8 hpa=0xf1088000
> 1.3 i=9 hpa=0xf1089000
> 1.3 i=10 hpa=0xf108a000
> 1.3 i=11 hpa=0xf108b000
> 1.3 i=12 hpa=0xf108c000
> 1.3 i=13 hpa=0xf108d000
> 1.3 i=14 hpa=0xf108e000
> 1.3 i=15 hpa=0xf108f000
> 1.3 i=16 hpa=0xf1090000
> 1.3 i=17 hpa=0xf1091000
> 1.3 i=18 hpa=0xf1092000
> 1.3 i=19 hpa=0xf1093000
> 1.3 i=20 hpa=0xf1094000
> 1.3 i=21 hpa=0xf1095000
> 1.3 i=22 hpa=0xf1096000
> 1.3 i=23 hpa=0xf1097000
> 1.3 i=24 hpa=0xf1098000
> 1.3 i=25 hpa=0xf1099000
> 1.3 i=26 hpa=0xf109a000
> 1.3 i=27 hpa=0xf109b000
> 1.3 i=28 hpa=0xf109c000
> 1.3 i=29 hpa=0xf109d000
> 1.3 i=30 hpa=0xf109e000
> 1.3 i=31 hpa=0xf109f000
> 1.3 i=32 hpa=0xf10a0000
> 1.3 i=33 hpa=0xf10a1000
> 1.3 i=34 hpa=0xf10a2000
> 1.3 i=35 hpa=0xf10a3000
> 1.3 i=36 hpa=0xf10a4000
> 1.3 i=37 hpa=0xf10a5000
> 1.3 i=38 hpa=0xf10a6000
> 1.3 i=39 hpa=0xf10a7000
> 1.3 i=40 hpa=0xf10a8000
> 1.3 i=41 hpa=0xf10a9000
> 1.3 i=42 hpa=0xf10aa000
> 1.3 i=43 hpa=0xf10ab000
> 1.3 i=44 hpa=0xf10ac000
> 1.3 i=45 hpa=0xf10ad000
> 1.3 i=46 hpa=0xf10ae000
> 1.3 i=47 hpa=0xf10af000
> 1.3 i=48 hpa=0xf10b0000
> 1.3 i=49 hpa=0xf10b1000
> 1.3 i=50 hpa=0xf10b2000
> 1.3 i=51 hpa=0xf10b3000
> 1.3 i=52 hpa=0xf10b4000
> 1.3 i=53 hpa=0xf10b5000
> 1.3 i=54 hpa=0xf10b6000
> 1.3 i=55 hpa=0xf10b7000
> 1.3 i=56 hpa=0xf10b8000
> 1.3 i=57 hpa=0xf10b9000
> 1.3 i=58 hpa=0xf10ba000
> 1.3 i=59 hpa=0xf10bb000
> 1.3 i=60 hpa=0xf10bc000
> 1.3 i=61 hpa=0xf10bd000
> 1.3 i=62 hpa=0xf10be000
> 1.3 i=63 hpa=0xf10bf000
> 1.2 i=0 hpa=0xf10c0000
>
>
> I am not knowledeable enough to tell if the range to walk on is valid or not,
> but it is way too much for my config.
>
> I wonder if this functin got the range correctly
> void walk_lower_bus(struct parisc_device *dev)
> {
> unsigned long io_io_low, io_io_high;
>
> if(!BUS_CONVERTER(dev) || IS_LOWER_PORT(dev))
> return;
>
> io_io_low = ((unsigned long)(signed int)READ_IO_IO_LOW(dev) +
> ~FLEX_MASK
> ) & FLEX_MASK;
> io_io_high = ((unsigned long)(signed int)READ_IO_IO_HIGH(dev) +
> ~FLEX_MA
> SK) & FLEX_MASK;
>
> walk_native_bus(io_io_low, io_io_high, dev);
> }
>
>
> For the time being I enforce
>
> io_io_high=io_io_low+(MAX_NATIVE_DEVICES*NATIVE_DEVICE_OFFSET);
>
> In the above function which as the effect of shortening the loop and boot ok.
> Dunno if this hack make sense, may be I would loose some devices, but I don't
> plan to add any anyway.
>
> Phi
>
>
> --
> mailto:Philippe_Benard@hp.com [ HPS-SE HP-UX kernel debugging tools ]
> _______________________________________________
> parisc-linux mailing list
> parisc-linux@lists.parisc-linux.org
> http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [parisc-linux] boot (micro) hang
2002-10-09 14:05 ` Ryan Bradetich
@ 2002-10-09 14:20 ` phi
0 siblings, 0 replies; 10+ messages in thread
From: phi @ 2002-10-09 14:20 UTC (permalink / raw)
To: Ryan Bradetich; +Cc: Grant Grundler, parisc-linux
Ryan Bradetich wrote:
>
> *sigh*
>
> This is due to a change I made to detect devices on the E class systems.
>
> Before we encountered the E Class systems, the devices were always at
> the bottom of the range, but E Class put them at the top. The function
> will break out once a device is found ... it appears that your system
> also has the devices towards the top of the io range.
>
> post the contents of /proc/iomem and I can verify this for sure. We
> need to come up with a better way for discovering these devices.
>
> btw, what model system is this?
>
This is a recycled C180
$ cat /proc/cpuinfo
processor : 0
cpu family : PA-RISC 2.0
cpu : PA8000 (PCX-U)
cpu MHz : 180.000000
model : 9000/780/C180
model name : Raven U 180 (9000/780/C180)
hversion : 0x000059c0
sversion : 0x00000481
I-cache : 1024 KB
D-cache : 1024 KB (WB)
ITLB entries : 96
DTLB entries : 96 - shared with ITLB
BTLB fixed : max. 16384 pages, pagesize=4096 (64MB)
BTLB fix-entr. : 0 instruction, 0 data (16 combined)
BTLB var-entr. : 0 instruction, 0 data (0 combined)
bogomips : 359.62
software id : 2012010320
$ cat /proc/iomem
00000000-07ffffff : System RAM
00000000-000009ff : PDC data (Page Zero)
00100000-002f9fff : Kernel code
002fa000-003fb7bf : Kernel data
f1000000-f1ffffff : GSC Bus [10/]
f2000000-f3ffffff : GSC Bus [8/]
f2000000-f2000fff : Dino
f200c000-f200cfff : GSC SCSI (Zalon)
f4000000-fff7ffff : GSC Bus [8/]
fa000000-fa000fff : sti (native)
fa100000-fa4fffff : stifb mmio
fb000000-fbffffff : stifb
fc000000-ffbfffff : EISA
fc000000-fc000fff : EISA Bus Adapter
ffd00000-ffdfffff : Lasi
ffd00000-ffd00fff : Lasi
ffd02000-ffd02fff : Parallel
ffd04000-ffd04fff : Lasi Harmony
ffd05000-ffd05fff : Serial RS232
ffd06000-ffd06fff : Lasi SCSI
ffd07000-ffd07fff : Apricot
ffd08000-ffd08fff : Lasi psaux
ffe00000-ffefffff : Wax
ffe00000-ffe00fff : Wax
ffe01000-ffe01fff : HP SDC
ffe02000-ffe02fff : Serial RS232
fff80000-fffaffff : Central Bus
fff88000-fff88fff : U2/Uturn
fff8a000-fff8afff : U2/Uturn
fffa0000-fffa0fff : CPU
fffb0000-fffdffff : Local Broadcast
fffe0000-ffffffff : Global Broadcast
Cheers,
Phi
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [parisc-linux] boot (micro) hang
2002-10-09 12:44 ` phi
2002-10-09 14:05 ` Ryan Bradetich
@ 2002-10-09 17:57 ` Grant Grundler
2002-10-10 6:33 ` phi
1 sibling, 1 reply; 10+ messages in thread
From: Grant Grundler @ 2002-10-09 17:57 UTC (permalink / raw)
To: phi; +Cc: parisc-linux
phi wrote:
> My Firmware is
>
> Firmware Version 5.2
sorry - I forgot to mention the FAQ explains how to determine
what the latest available rev is.
grant
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [parisc-linux] boot (micro) hang
2002-10-09 17:57 ` Grant Grundler
@ 2002-10-10 6:33 ` phi
2002-10-10 14:34 ` Derek Engelhaupt
0 siblings, 1 reply; 10+ messages in thread
From: phi @ 2002-10-10 6:33 UTC (permalink / raw)
Cc: parisc-linux
Grant Grundler wrote:
>
> phi wrote:
> > My Firmware is
> >
> > Firmware Version 5.2
>
> sorry - I forgot to mention the FAQ explains how to determine
> what the latest available rev is.
>
The FAQ also say it is dangerous to update a firware and you do it only if
absolutly necessary.
In my situation I had the proof that booting the prev kernel was ok, so the FW
was good enough for this.
I own only 1 c180, and will not have another one, also based on your
recomandation I prefered discover what made the C180 hanging at boot, at least
I learned a bit more about the iotree discovery, while upgrading the firmware
to 6.1 would have learned me nothing and I could have lost my machine.
So all in all I am happy with my temp solution, I am glad that Ryan will
revisit his code and fix this regression for the benefit of all.
So apparently FW5.2 is good enough for what I am doing, the patch catalog only
give the latest version number and doesn't tell what diff there is between 5.2
and 6.1, without good explanation, there is no reason to upgrade.
The link 'HPUX-11 Patch Management' is obso and don't work (for me).
Thanx for your help and pointers.
Cheers,
Phi
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [parisc-linux] boot (micro) hang
2002-10-10 6:33 ` phi
@ 2002-10-10 14:34 ` Derek Engelhaupt
0 siblings, 0 replies; 10+ messages in thread
From: Derek Engelhaupt @ 2002-10-10 14:34 UTC (permalink / raw)
To: phi; +Cc: parisc-linux
Phi,
Well if you knew an HP CE that could help you with the firmware update
it wouldn't have been that big a deal. From your E-mail address you
look like you work for HP. Our tools for updating firmware are
pre-burned on what we used to call the ECU disk. That's how I updated
my firmware on my C180 to 6.3 (6.3 is for the C200/240 but runs fine on
my C180). I perform firmware updates quite often on HP machines along
the whole product line and most of the time it is an effortless thing.
Of course the tools use hardware folks use to update firmware are not
available to the general public. The N and L class servers can be
updated now with just an HP-UX patch, but that doesn't help the Linux
folks. My C180 doesn't hang at boot using the
palinux-2.4.18-pa55-20020715-netinst.iso image. I completed the
install over the internet. Not exactly sure why you are having
problems with hangs where I do not. Are you using HP disks or third
party? Are you running the boot-up in fastboot mode or normal test all
the memory mode? If you are running fastboot I would say turn it off
and let it run self-test on your memory. I found 2 bad simms when I
turned off fastboot on my machine. I now run with fastboot on, but
it's a great tool to troubleshoot memory problems. If you really want
to know what the difference in firmware revs are, I could get you that
info from my firmware CD's or from an HP service note. That info I can
give you. If you have any questions about my C180 set-up don't
hesitate to ask. I'm currently helping a guy from HP Greely set-up his
C180.
Derek Engelhaupt
HP CE
--- phi <phi@hpfrcu81.france.hp.com> wrote:
> Grant Grundler wrote:
> >
> > phi wrote:
> > > My Firmware is
> > >
> > > Firmware Version 5.2
> >
> > sorry - I forgot to mention the FAQ explains how to determine
> > what the latest available rev is.
> >
>
> The FAQ also say it is dangerous to update a firware and you do it
> only if
> absolutly necessary.
>
> In my situation I had the proof that booting the prev kernel was ok,
> so the FW
> was good enough for this.
>
> I own only 1 c180, and will not have another one, also based on your
> recomandation I prefered discover what made the C180 hanging at boot,
> at least
> I learned a bit more about the iotree discovery, while upgrading the
> firmware
> to 6.1 would have learned me nothing and I could have lost my
> machine.
>
> So all in all I am happy with my temp solution, I am glad that Ryan
> will
> revisit his code and fix this regression for the benefit of all.
>
> So apparently FW5.2 is good enough for what I am doing, the patch
> catalog only
> give the latest version number and doesn't tell what diff there is
> between 5.2
> and 6.1, without good explanation, there is no reason to upgrade.
>
> The link 'HPUX-11 Patch Management' is obso and don't work (for me).
>
> Thanx for your help and pointers.
> Cheers,
> Phi
> _______________________________________________
> parisc-linux mailing list
> parisc-linux@lists.parisc-linux.org
> http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2002-10-10 14:34 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-08 8:16 [parisc-linux] cvs does not terminate Tilo Riemer
2002-10-08 13:49 ` [parisc-linux] boot (micro) hang phi
2002-10-08 15:00 ` Randolph Chung
2002-10-08 17:01 ` Grant Grundler
2002-10-09 12:44 ` phi
2002-10-09 14:05 ` Ryan Bradetich
2002-10-09 14:20 ` phi
2002-10-09 17:57 ` Grant Grundler
2002-10-10 6:33 ` phi
2002-10-10 14:34 ` Derek Engelhaupt
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.