Re: Sarge d-i rc3 failled to install d380 :-(
On Thu, Apr 07, 2005 at 07:01:09PM +0200, Joel Soete wrote:
> Hello Richard,
>
> >
> > On Wed, Apr 06, 2005 at 05:38:47PM +0200, Joel Soete wrote:
> > > Hello all,
> > >
> > > I just get an old d380 2-way 256Mb ram (from with I removed a broken
> remote
> > > management card and duno if supported)
> > >
> > > It's a good oportunity to test sarge d-i (netinstall cd) :-)
> > >
> > > unfortunately it failled to boot on a well known ramdisk pb:"attempt
> to
> > access
> > > beyond end of device"
> >
> > The initrd on the hppa d-i rc3 iso seems to be about 21MB:
> >
> > sh-3.00# zcat /mnt/iso/install/initrd.gz | wc -c
> > 21897216
> >
> > and the kernel is booted with ramdisk_size of 16M:
> >
> > sh-3.00# strings /home/richard/downloads/sarge-hppa-netinst.iso | grep
> ramdisk_size=
> > Q0/vmlinux root=/dev/ram initrd=0/ramdisk ramdisk_size=16384 init=/linuxrc
> >
> > so it is indeed unlikely to work. I don't know the d380; presumably
> > you can't interact with IPL to edit the kernel cmdline on that box?
> In fact yes (btw all models I know 712, c110, b132, b180, b2000, d380, a500,
> Lx000, n4000 can interact with ipl ;-)
Oh! I thought your original mail was asking for ideas on how to
proceed, so I assumed that meant you could not edit the cmdline.
I'll go back to sleep now :)
Richard
>
> >
> > I used hexedit to edit the ISO image, so it looked like this:
> >
> > 00000000 80 00 50 41 4C 4F 00 03 00 E4 88 00 00 41 E7 8D 00 2C 00
> 00
> > ..PALO.......A...,..
> > 00000014 00 5F 1F 51 30 2F 76 6D 6C 69 6E 75 78 20 72 6F 6F 74 3D
> 2F
> > ._.Q0/vmlinux root=/
> > 00000028 64 65 76 2F 72 61 6D 20 69 6E 69 74 72 64 3D 30 2F 72 61
> 6D
> > dev/ram initrd=0/ram
> > 0000003C 64 69 73 6B 20 72 61 6D 64 69 73 6B 5F 73 69 7A 65 3D 33
> 32
> > disk ramdisk_size=32
> > 00000050 37 36 38 20 69 6E 69 74 3D 2F 6C 69 6E 75 78 72 63 00 00
> 00
> > 768 init=/linuxrc...
> > 00000064 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 00
> > ....................
> >
> > I just changed the ramdisk_size value, to 32768.
> >
> Cool
>
> > (ctrl-X to leave hexedit). Then I burned a CD and booted it on my B180.
> > It booted fine, and I got as far as partitioning before I gave up (didn't
> > want to overwrite the disk).
> >
> any way I prefer soft solution by changing interactively ramdisk_size kernel
> boot paramter to this recommended value :-)
>
> The cd boot fine and all seems to works fine (just some difficulties with
> the partion disk interface: no (more) advance, expert or custom option :-(
> ).
>
> unfortunately the reboot hang while loading tulip driver (I don't remember
> if it's already known issue?);
> here is the boot log (in case you will see some mistakes I missed):
> HARD Booted.
> palo ipl 1.5 root@c3k Fri May 14 16:17:38 MDT 2004
> Skipping extended partition 7 - beyond reach of IPL
>
> Partition Start(MB) End(MB) Id Type
> 1 1 31 f0 Palo
> 2 32 156 83 ext2
> 3 157 502 82 swap
> 5 503 2031 83 ext2
> 6 2032 2282 83 ext2
>
> PALO(F0) partition contains:
> 0/vmlinux32 4968722 bytes @ 0x48000
>
> Information: No console specified on kernel command line. This is normal.
> PALO will choose the console currently used by firmware (serial).Current
> command
> line:
> 2/vmlinux root=/dev/sda5 initrd=2/initrd.img HOME=/ console=ttyS0 TERM=vt102
> 0: 2/vmlinux
> 1: root=/dev/sda5
> 2: initrd=2/initrd.img
> 3: HOME=/
> 4: console=ttyS0
> 5: TERM=vt102
>
> <#> edit the numbered field
> 'b' boot with this command line
> 'r' restore command line
> 'l' list dir
> ? b
>
> Command line for kernel: 'root=/dev/sda5 HOME=/ console=ttyS0 TERM=vt102
> palo_ke
> rnel=2/vmlinux'
> Selected kernel: /vmlinux from partition 2
> Selected ramdisk: /initrd.img from partition 2
> ELF32 executable
> Entry 00100000 first 00100000 n 3
> Segment 0 load 00100000 size 2832408 mediaptr 0x1000
> Segment 1 load 003b4000 size 705472 mediaptr 0x2b5000
> Segment 2 load 00464000 size 397328 mediaptr 0x362000
> Loading ramdisk 5197824 bytes @ 0faf9000...
> 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.6.8-2-32-smp (kyle@caradhras) (gcc version 3.3.5 (Debian
> 1:3.3.5
> -7)) #1 SMP Mon Feb 7 22:19:10 EST 2005
> FP[0] enabled: Rev 0 Model 14
> The 32-bit Kernel has started...
> Determining PDC firmware type: System Map.
> model 00005aa0 00000491 00000000 00000002 77872c2d 100000f0 00000008 000000b2
> 00
> 0000b2
> vers 00000301
> CPUID vers 14 rev 11 (0x000001cb)
> capabilities 0x3
> model 9000/820/D380
> Total Memory: 256 Mb
> initrd: 1faf9000-1ffee000
> initrd: reserving 0faf9000-0ffee000 (mem_max 10000000)
> SMP: bootstrap CPU ID is 0
> Built 1 zonelists
> Kernel command line: root=/dev/sda5 HOME=/ console=ttyS0 TERM=vt102 palo_kernel=
> 2/vmlinux
> PID hash table entries: 16 (order 4: 128 bytes)
> Console: colour dummy device 160x64
> Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
> Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
> Memory: 262144k available
> Calibrating delay loop... 359.62 BogoMIPS
> Security Scaffold v1.0.0 initialized
> Capability LSM initialized
> Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
> Brought up 1 CPUs
> checking if image is initramfs...it isn't (ungzip failed); looks like an
> initrd
> NET: Registered protocol family 16
> EISA bus registered
> Searching for devices...
> Found devices:
> 1. U2-IOA BC Runway Port at 0xfff88000 [8] { 12, 0xf, 0x580, 0x0000b }
> 2. Bluefish Add-on FW-SCSI at 0xf1004000 [8/4] { 4, 0x1, 0x013, 0x00089 }
> 3. Bluefish Add-on FW-SCSI at 0xf1008000 [8/8] { 4, 0x1, 0x013, 0x00089 }
> 4. Bluefish Add-on FW-SCSI at 0xf100c000 [8/12] { 4, 0x1, 0x013, 0x00089
> }
> 5. UL 550 Lasi Core BA at 0xffd00000 [8/16] { 11, 0x0, 0x02f, 0x00081 },
> additi
> onal addresses: 0xffd0c000 0xffc00000
> 6. UL 550 Core Centronics at 0xffd02000 [8/16/0] { 10, 0x0, 0x02f, 0x00074
> }, a
> dditional addresses: 0xffd01000 0xffd03000
> 7. UL 550 Lasi Core RS-232 at 0xffd05000 [8/16/4] { 10, 0x0, 0x02f, 0x0008c
> }
> 8. UL 550 Core SCSI at 0xffd06000 [8/16/5] { 10, 0x0, 0x02f, 0x00082 }
> 9. UL 350 Core LAN (802.3) at 0xffd07000 [8/16/6] { 10, 0x0, 0x02f, 0x0008a
> }
> 10. UL 550 Core PS/2 Port at 0xffd08000 [8/16/7] { 10, 0x0, 0x02f, 0x00084
> }
> 11. UL 550 Core PS/2 Port at 0xffd08100 [8/16/8] { 10, 0x0, 0x02f, 0x00084
> }
> 12. UL 550 Core Wax BA at 0xffe00000 [8/20] { 11, 0x0, 0x031, 0x0008e }
> 13. UL 550 Wax Core RS-232 at 0xffe02000 [8/20/2] { 10, 0x0, 0x031, 0x0008c
> }
> 14. UL 550 Wax EISA BA at 0xfc000000 [8/20/5] { 11, 0x0, 0x031, 0x00090 },
> addi
> tional addresses: 0xffc88000
> 15. U2-IOA BC GSC+ Port at 0xf103f000 [8/63] { 7, 0x1, 0x501, 0x0000c }
> 16. U2-IOA BC Runway Port at 0xfff8a000 [10] { 12, 0xf, 0x580, 0x0000b }
> 17. HP HSC-PCI Cards at 0xf180c000 [10/12] { 4, 0x0, 0x004, 0x0009d }
> 18. U2-IOA BC GSC+ Port at 0xf183f000 [10/63] { 7, 0x1, 0x501, 0x0000c }
> 19. UL proc 2-way U180 1M/1M at 0xfffa0000 [32] { 0, 0x0, 0x5aa, 0x00004
> }
> 20. UL proc 2-way U180 1M/1M at 0xfffa2000 [34] { 0, 0x0, 0x5aa, 0x00004
> }
> 21. Memory at 0xfffb1000 [49] { 1, 0x0, 0x07c, 0x00009 }
> Releasing cpu 1 now, hpa=fffa2000
> FP[1] enabled: Rev 0 Model 14
> CPU(s): 2 x PA8000 (PCX-U) at 180.000000 MHz
> Found U2 at 0xfff88000
> Found U2 at 0xfff8a000
> Lasi version 0 at 0xffd00000 found.
> LED display at ffd0c000 registered
> Wax at 0xffe00000 found.
> Wax EISA Adapter found at 0xfc000000
> EISA EEPROM: cannot register misc device.
> Enumerating EISA bus
> EISA: Probing bus 0 at parisc8:20:5
> EISA: Mainboard HWPC051 detected.
> EISA: Detected 0 cards.
> Dino [10/12] version 3.x (card mode) found at 0xf180c000
> SCSI subsystem initialized
> TC classifier action (bugs to netdev@oss.sgi.com cc hadi@cyberus.ca)
> STI GSC/PCI core graphics driver Version 0.9a
> unwind_init: start = 0x103b5720, end = 0x103d6f20, entries = 8576
> VFS: Disk quotas dquot_6.5.1
> Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
> devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
> devfs: boot_options: 0x0
> Initializing Cryptographic API
> Soft power switch enabled, polling @ 0xf0140000.
> Generic RTC Driver v1.07
> Serial: 8250/16550 driver $Revision: 1.90 $ 25 ports, IRQ sharing enabled
> ttyS0 at MMIO 0xffd05800 (irq = 90) is a 16550A
> ttyS1 at MMIO 0xffe02800 (irq = 121) is a 16550A
> RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
> mice: PS/2 mouse device common for all mice
> serio: GSC PS2 keyboard port at 0xffd08000 irq 69 @ parisc8:16:7
> serio: GSC PS2 mouse port at 0xffd08100 irq 69 @ parisc8:16:8
> 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
> NET: Registered protocol family 2
> IP: routing cache hash table of 512 buckets, 12Kbytes
> TCP: Hash tables configured (established 4096 bind 6553)
> RAMDISK: cramfs filesystem found at block 0
> RAMDISK: Loading 5076 blocks [1 disk] into ram disk... done.
> VFS: Mounted root (cramfs filesystem) readonly.
> Freeing unused kernel memory: Badness in smp_call_function at arch/parisc/kernel
> /smp.c:342
> Backtrace:
> [<1011963c>] smp_call_function+0x408/0x410
> [<101088dc>] flush_data_cache+0x24/0x40
> [<10107a38>] free_initmem+0x78/0x38c
> [<10103d30>] init+0x304/0x410
> [<10110c5c>] ret_from_kernel_thread+0x1c/0x24
>
> 344k freed
> initrd-tools: 0.1.77
> NET: Registered protocol family 1
> 53c700: Version 2.8 By James.Bottomley@HansenPartnership.com
> scsi0: 53c710 rev 2
> scsi0 : LASI SCSI 53c700
> Using anticipatory io scheduler
> Vendor: HP Model: HP35480A Rev: 1009
> Type: Sequential-Access ANSI SCSI revision: 02
> scsi(0:0:0:0): Beginning Domain Validation
> scsi0: (0:0) Asynchronous
> scsi0: (0:0) Synchronous at offset 8, period 200ns
> scsi(0:0:0:0): Domain Validation skipping write tests
> scsi(0:0:0:0): Ending Domain Validation
> Vendor: TOSHIBA Model: CD-ROM XM-5401TA Rev: 3115
> Type: CD-ROM ANSI SCSI revision: 02
> scsi(0:0:2:0): Beginning Domain Validation
> scsi0: (2:0) Asynchronous
> scsi0: (2:0) Synchronous at offset 8, period 236ns
> scsi(0:0:2:0): Domain Validation skipping write tests
> scsi(0:0:2:0): Ending Domain Validation
> Vendor: HP Model: DVD-ROM 6x/32x Rev: 1.08
> Type: CD-ROM ANSI SCSI revision: 02
> scsi(0:0:4:0): Beginning Domain Validation
> scsi0: (4:0) Asynchronous
> scsi0: (4:0) Synchronous at offset 8, period 100ns
> scsi(0:0:4:0): Domain Validation skipping write tests
> scsi(0:0:4:0): Ending Domain Validation
> zalon_probe: Zalon vers field is 0x1, IRQ 36
> ncr53c720-0: rev 0xf irq 36
> ncr53c720-0: ID 7, Fast-10, Parity Checking, Differential
> scsi1 : ncr53c8xx-3.4.3f
> Vendor: SEAGATE Model: ST39173WC Rev: HP11
> Type: Direct-Access ANSI SCSI revision: 02
> ncr53c720-0-<5,*>: FAST-10 WIDE SCSI 20.0 MB/s (100 ns, offset 8)
> Vendor: SEAGATE Model: ST39236LC Rev: HP02
> Type: Direct-Access ANSI SCSI revision: 03
> ncr53c720-0-<8,*>: FAST-10 WIDE SCSI 20.0 MB/s (100 ns, offset 8)
> Vendor: SEAGATE Model: ST32550W Rev: HP12
> Type: Direct-Access ANSI SCSI revision: 02
> ncr53c720-0-<9,*>: FAST-10 WIDE SCSI 20.0 MB/s (100 ns, offset 8)
> Vendor: SEAGATE Model: ST32550W Rev: HP12
> Type: Direct-Access ANSI SCSI revision: 02
> ncr53c720-0-<10,*>: FAST-10 WIDE SCSI 20.0 MB/s (100 ns, offset 8)
> zalon_probe: Zalon vers field is 0x1, IRQ 37
> ncr53c720-1: rev 0xf irq 37
> ncr53c720-1: ID 7, Fast-10, Parity Checking, Differential
> scsi2 : ncr53c8xx-3.4.3f
> Vendor: SEAGATE Model: ST34371W Rev: HPM4
> Type: Direct-Access ANSI SCSI revision: 02
> ncr53c720-1-<9,*>: FAST-10 WIDE SCSI 20.0 MB/s (100 ns, offset 8)
> Vendor: SEAGATE Model: ST34371W Rev: HPM4
> Type: Direct-Access ANSI SCSI revision: 02
> ncr53c720-1-<10,*>: FAST-10 WIDE SCSI 20.0 MB/s (100 ns, offset 8)
> Vendor: SEAGATE Model: ST34371W Rev: HPM4
> Type: Direct-Access ANSI SCSI revision: 02
> ncr53c720-1-<11,*>: FAST-10 WIDE SCSI 20.0 MB/s (100 ns, offset 8)
> Vendor: SEAGATE Model: ST32272WC Rev: HP03
> Type: Direct-Access ANSI SCSI revision: 02
> ncr53c720-1-<12,*>: FAST-10 WIDE SCSI 20.0 MB/s (100 ns, offset 8)
> Vendor: SEAGATE Model: ST15150W Rev: HP12
> Type: Direct-Access ANSI SCSI revision: 02
> ncr53c720-1-<14,*>: FAST-10 WIDE SCSI 20.0 MB/s (100 ns, offset 8)
> Vendor: SEAGATE Model: ST15150W Rev: HP12
> Type: Direct-Access ANSI SCSI revision: 02
> ncr53c720-1-<15,*>: FAST-10 WIDE SCSI 20.0 MB/s (100 ns, offset 8)
> zalon_probe: Zalon vers field is 0x1, IRQ 38
> ncr53c720-2: rev 0xf irq 38
> ncr53c720-2: ID 7, Fast-10, Parity Checking, Differential
> scsi3 : ncr53c8xx-3.4.3f
> SCSI device sda: 17783112 512-byte hdwr sectors (9105 MB)
> SCSI device sda: drive cache: write through
> /dev/scsi/host1/bus0/target5/lun0: p1 p2 p3 p4 < p5 p6 p7 p8 p9 >
> Attached scsi disk sda at scsi1, channel 0, id 5, lun 0
> SCSI device sdb: 17783112 512-byte hdwr sectors (9105 MB)
> SCSI device sdb: drive cache: write through
> /dev/scsi/host1/bus0/target8/lun0: unknown partition table
> Attached scsi disk sdb at scsi1, channel 0, id 8, lun 0
> SCSI device sdc: 4165272 512-byte hdwr sectors (2133 MB)
> SCSI device sdc: drive cache: write through
> /dev/scsi/host1/bus0/target9/lun0: unknown partition table
> Attached scsi disk sdc at scsi1, channel 0, id 9, lun 0
> SCSI device sdd: 4165272 512-byte hdwr sectors (2133 MB)
> SCSI device sdd: drive cache: write through
> /dev/scsi/host1/bus0/target10/lun0: unknown partition table
> Attached scsi disk sdd at scsi1, channel 0, id 10, lun 0
> SCSI device sde: 8388314 512-byte hdwr sectors (4295 MB)
> SCSI device sde: drive cache: write through
> /dev/scsi/host2/bus0/target9/lun0: unknown partition table
> Attached scsi disk sde at scsi2, channel 0, id 9, lun 0
> SCSI device sdf: 8388314 512-byte hdwr sectors (4295 MB)
> SCSI device sdf: drive cache: write through
> /dev/scsi/host2/bus0/target10/lun0: unknown partition table
> Attached scsi disk sdf at scsi2, channel 0, id 10, lun 0
> SCSI device sdg: 8388314 512-byte hdwr sectors (4295 MB)
> SCSI device sdg: drive cache: write through
> /dev/scsi/host2/bus0/target11/lun0: unknown partition table
> Attached scsi disk sdg at scsi2, channel 0, id 11, lun 0
> SCSI device sdh: 4165272 512-byte hdwr sectors (2133 MB)
> SCSI device sdh: drive cache: write through
> /dev/scsi/host2/bus0/target12/lun0: unknown partition table
> Attached scsi disk sdh at scsi2, channel 0, id 12, lun 0
> SCSI device sdi: 8388314 512-byte hdwr sectors (4295 MB)
> SCSI device sdi: drive cache: write through
> /dev/scsi/host2/bus0/target14/lun0: unknown partition table
> Attached scsi disk sdi at scsi2, channel 0, id 14, lun 0
> SCSI device sdj: 8388314 512-byte hdwr sectors (4295 MB)
> SCSI device sdj: drive cache: write through
> /dev/scsi/host2/bus0/target15/lun0: unknown partition table
> Attached scsi disk sdj at scsi2, channel 0, id 15, lun 0
> sr0: scsi-1 drive
> Uniform CD-ROM driver Revision: 3.20
> sr1: scsi3-mmc drive: 0x/0x cd/rw xa/form2 cdda tray
> kjournald starting. Commit interval 5 seconds
> EXT3-fs: mounted filesystem with ordered data mode.
> INIT: version 2.86 booting
> Activating swap.
> Adding 353420k swap on /dev/sda3. Priority:-1 extents:1
> Checking root file system...
> fsck 1.35 (28-Feb-2004)
> /: clean, 10962/783360 files, 240240/1566306 blocks
> EXT3 FS on sda5, internal journal
> System time was Thu Apr 7 16:39:26 UTC 2005.
> Setting the System Clock using the Hardware Clock as reference...
> System Clock set. System local time is now Thu Apr 7 16:39:28 UTC 2005.
> Cleaning up ifupdown...done.
> Calculating module dependencies... done.
> Loading modules...
> lasi700
> lasi_82596
> LASI 82596 driver - Revision: 1.30
> Found i82596 at 0xffd07000, IRQ 87
> eth0: 82596 at 0xffd07000, 08 00 09 D2 89 15 IRQ 87.
> sd_mod
> sr_mod
> tulip
>
> (btw I plug in this spare j3515 additional nic; may be the sort of pb Matthew
> already encountered?)
>
> I will try to manage to reboot from another disk to attempt to fix this boot
> pb ;-)
>
> Thanks again for kind help,
> Joel
>
Reply to: