Bug 147262

Summary: Installation "Start Rescue System" option not working on RS/6000 43P-140
Product: [openSUSE] SUSE Linux 10.1 Reporter: Ricky Ng-Adam <rngadam>
Component: InstallationAssignee: Steffen Winterfeldt <snwint>
Status: RESOLVED FIXED QA Contact: Klaus Kämpf <kkaempf>
Severity: Normal    
Priority: P5 - None    
Version: Beta 2   
Target Milestone: ---   
Hardware: PowerPC   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Ricky Ng-Adam 2006-02-01 15:03:24 UTC
Hardware is:

IBM RISC System/6000
43P-140
TYPE 7043-140
S/N 10-31984
604e 233MHZ

Booting installation CDROM with console (appending console=ttyS0) works - in constrast with trying to use the attached keyboard/video which doesn't.

However, when selecting the rescue option no output appears either on the console or the attached video once the rescue system is loaded.

-----
Kernel Messages

Total memory = 512MB; using 1024kB for hash table (at c0500000)
Linux version 2.6.13-15-default (geeko@buildhost) (gcc version 4.0.2 20050901 (p
rerelease) (SUSE Linux)) #1 Tue Sep 13 14:56:15 UTC 2005
PReP architecture
IBM planar ID: d5
MPIC at 0xfddc0000 (0x3ddc0000), length 0x00040000 mapped to 0xeffc0000
On node 0 totalpages: 131072
  DMA zone: 131072 pages, LIFO batch:31
  Normal zone: 0 pages, LIFO batch:1
  HighMem zone: 0 pages, LIFO batch:1
Built 1 zonelists
Kernel command line: sysrq=1 nosshkey minmemory=0 MemYaSTText=0 quiet console=tt
yS0
OpenPIC Version 1.0 (4 CPUs and 16 IRQ sources) at effc0000
PID hash table entries: 4096 (order: 12, 65536 bytes)
time_init: decrementer frequency = 16.618094 MHz
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 509696k available (2828k kernel code, 1580k data, 188k init, 0k highmem)

Calibrating delay loop... 463.87 BogoMIPS (lpj=231936)
Security Framework v1.0.0 initialized
SELinux:  Disabled at boot.
Mount-cache hash table entries: 512
checking if image is initramfs... it is
Freeing initrd memory: 3845k freed
NET: Registered protocol family 16
PCI: Probing PCI hardware
Setting PCI interrupts for a "IBM 43P-140 (Tiger1)"
PCI: Cannot allocate resource region 0 of device 0000:00:0b.0
PCI: Cannot allocate resource region 0 of device 0000:00:0c.0
PCI: Cannot allocate resource region 0 of device 0000:00:10.0
PCI: Cannot allocate resource region 0 of device 0000:00:12.0
Registering openpic with sysfs...
Linux Plug and Play Support v0.97 (c) Adam Belay
usbcore: registered new driver usbfs
usbcore: registered new driver hub
TC classifier action (bugs to netdev@vger.kernel.org cc hadi@cyberus.ca)
Thermal assist unit not available
audit: initializing netlink socket (disabled)
audit(1138748278.705:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Initializing Cryptographic API
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Generic RTC Driver v1.07
Macintosh non-volatile memory driver v1.1
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
pmac_zilog: 0.6 (Benjamin Herrenschmidt <benh@kernel.crashing.org>)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 123456K size 1024 blocksize
loop: loaded (max 8 devices)
input: Macintosh mouse button emulation
apm_emu: Requires a machine with a PMU.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Probing IDE interface ide0...
Probing IDE interface ide1...
Probing IDE interface ide2...
Probing IDE interface ide3...
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
mice: PS/2 mouse device common for all mice
md: md driver 0.90.2 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: bitmap version 3.38
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
TCP westwood registered
TCP htcp registered
NET: Registered protocol family 1
NET: Registered protocol family 17
atkbd.c: keyboard reset failed on isa0060/serio1
Freeing unused kernel memory: 188k init 60k pmac 4k chrp 8k openfirmware
atkbd.c: keyboard reset failed on isa0060/serio0
SCSI subsystem initialized
Floppy drive(s): fd0 is 2.88M
FDC 0 is a National Semiconductor PC87306
end_request: I/O error, dev fd0, sector 0
end_request: I/O error, dev fd0, sector 0
end_request: I/O error, dev fd0, sector 0
end_request: I/O error, dev fd0, sector 0
PCI: Enabling device 0000:00:10.0 (0010 -> 0013)
sym0: <825a> rev 0x13 at pci 0000:00:10.0 irq 23
sym0: No NVRAM, ID 7, Fast-10, SE, parity checking
sym0: SCSI BUS has been reset.
scsi0 : sym-2.2.1
  Vendor: IBM       Model: CDRM00203     !K  Rev: 1.00
  Type:   CD-ROM                             ANSI SCSI revision: 02
 target0:0:3: Beginning Domain Validation
 target0:0:3: asynchronous.
 target0:0:3: Domain Validation skipping write tests
 target0:0:3: FAST-10 SCSI 10.0 MB/s ST (100 ns, offset 8)
 target0:0:3: Ending Domain Validation
sr0: scsi-1 drive
Uniform CD-ROM driver Revision: 3.20
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 3, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 3, lun 0,  type 5
 target0:0:4: FAST-10 WIDE SCSI 20.0 MB/s ST (100 ns, offset 8)
  Vendor: IBM       Model: DCHS04U           Rev: 6363
  Type:   Direct-Access                      ANSI SCSI revision: 02
 target0:0:4: tagged command queuing enabled, command queue depth 16.
 target0:0:4: Beginning Domain Validation
 target0:0:4: FAST-10 SCSI 10.0 MB/s ST (100 ns, offset 8)
 target0:0:4: FAST-10 WIDE SCSI 20.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: 8813870 512-byte hdwr sectors (4513 MB)
SCSI device sda: drive cache: write through
SCSI device sda: 8813870 512-byte hdwr sectors (4513 MB)
SCSI device sda: drive cache: write through
 sda: unknown partition table
Attached scsi disk sda at scsi0, channel 0, id 4, lun 0
Attached scsi generic sg1 at scsi0, channel 0, id 4, lun 0,  type 0
 target0:0:5: FAST-10 WIDE SCSI 20.0 MB/s ST (100 ns, offset 8)
  Vendor: IBM       Model: DCHS04U           Rev: 6363
  Type:   Direct-Access                      ANSI SCSI revision: 02
 target0:0:5: tagged command queuing enabled, command queue depth 16.
 target0:0:5: Beginning Domain Validation
 target0:0:5: FAST-10 SCSI 10.0 MB/s ST (100 ns, offset 8)
 target0:0:5: FAST-10 WIDE SCSI 20.0 MB/s ST (100 ns, offset 8)
 target0:0:5: Domain Validation skipping write tests
 target0:0:5: Ending Domain Validation
SCSI device sdb: 8813870 512-byte hdwr sectors (4513 MB)
SCSI device sdb: drive cache: write through
SCSI device sdb: 8813870 512-byte hdwr sectors (4513 MB)
SCSI device sdb: drive cache: write through
 sdb: unknown partition table
Attached scsi disk sdb at scsi0, channel 0, id 5, lun 0
Attached scsi generic sg2 at scsi0, channel 0, id 5, lun 0,  type 0
ISO 9660 Extensions: RRIP_1991A
ISO 9660 Extensions: RRIP_1991A

System Information

 1) Kernel Messages
 2) Hard Disks or CD-ROMs
 3) Modules
 4) Processor
 5) Memory
 6) I/O Ports
 7) Interrupts
 8) Devices
 9) Network Cards
10) DMA

>

Main Menu

1) Settings
2) System Information
3) Kernel Modules (Hardware Drivers)
4) Start Installation or System
5) Verify Installation CD-ROM/DVD
6) Eject CD
7) Exit or Reboot
8) Power off

> 1

Settings

1) Language
2) Display
3) Keymap
4) Debug (expert)

> 2

Select the display type.

1) Color display
2) Monochrome display

>
>>> Linuxrc v1.9.16 (Kernel 2.6.13-15-default) <<<
>>> Linuxrc v1.9.16 (Kernel 2.6.13-15-default) <<<

Main Menu

1) Settings
2) System Information
3) Kernel Modules (Hardware Drivers)
4) Start Installation or System
5) Verify Installation CD-ROM/DVD
6) Eject CD
7) Exit or Reboot
8) Power off

> 4

Start Installation or System

1) Start Installation or Update
2) Boot Installed System
3) Start Rescue System

> 3

Choose the source medium.

1) CD-ROM
2) Network
3) Hard Disk
4) Floppy

> 1
Trying to mount the CD-ROM...
Loading Rescue System (74270100%


INIT: version 2.85 booting
System Boot Control: Running /etc/init.d/boot
Mounting /proc filesystem                                            done
-----
Comment 1 Steffen Winterfeldt 2006-02-01 16:03:13 UTC
Not even on ttyS0?
Comment 2 Ricky Ng-Adam 2006-02-01 16:55:06 UTC
This is on ttyS0 (serial console). I've disconnected the monitor and the keyboard and I'm using another PC as a terminal for this RS/6000. I've just tried again and got a little bit farther:

Sending DHCP request...
Trying to mount the CD-ROM...
Loading Rescue System (74270100%


INIT: version 2.85 booting
System Boot Control: Running /etc/init.d/boot
Mounting /proc filesystem                                            done
Mounting sysfs on /s

This is my first time trying to install anything on a PPC, so maybe I'm doing something wrong? I can't even figure out from what HTTP server to load the network install from.... I get "Loading Installation Sy100%" and get kicked back to the main menu without any error message.
Comment 3 Steffen Winterfeldt 2006-02-02 10:33:31 UTC
Please try booting with linuxrcstderr=/dev/ttyS0 it will print some more messages. Does it give some hint?
Comment 4 Ricky Ng-Adam 2006-02-02 15:57:55 UTC
The boot now looks like this:

------------------------------------------------------
vmlinux buffer @ 0x00e00000
stdin  '/pci@80000000/isa@b/serial@i3f8'
type   'serial'
stdout '/pci@80000000/isa@b/serial@i3f8'
zImage.prep starting
Open Firmware: 0x0021a0c0
stack at:      0x00daa480 0x00500030
loaded at:     0x00600400 0x00baa988
relocated to:  0x00800000 0x00daa588
zimage at:     0x00809945 0x009d318f
initrd at:     0x009d4000 0x00d95521
edit kernel cmdline within 10 seconds and press RETURN:
sysrq=1 nosshkey minmemory=0 MemYaSTText=0 quiet console=ttyS0 linuxrcstderr=/dev/ttyS0
uncompressing kernel done. (0x003fc86c bytes)
birecs @ 0x00500000
Now booting the kernel
You may not see any kernel console output,
use a serial console on COM1 in this case.
append 'console=ttyS0' to the kernel cmdline
PCI: Cannot allocate resource region 0 of device 0000:00:0b.0
PCI: Cannot allocate resource region 0 of device 0000:00:0c.0
PCI: Cannot allocate resource region 0 of device 0000:00:10.0
PCI: Cannot allocate resource region 0 of device 0000:00:12.0
Moving into tmpfs... done.
created /dev tree (14824 inodes)

>>> SUSE Linux installation program v1.9.16 (c) 1996-2005 SUSE Linux Products GmbH <<<

Remount of / ok
Console: /dev/ttyS0, serial line params "ttyS0"
Please supply a config file
error setting kbd mode: Invalid argument
CPU: 0, Memory: 488808
insmod /modules/nls_cp437.ko
insmod /modules/nls_iso8859-1.ko
insmod /modules/fat.ko
insmod /modules/vfat.ko
insmod /modules/cdrom.ko
insmod /modules/scsi_mod.ko
insmod /modules/sd_mod.ko
insmod /modules/sr_mod.ko
insmod /modules/sg.ko
insmod /modules/ide-cd.ko
insmod /modules/floppy.ko
insmod /modules/psmouse.ko
Beginning hardware probing...
Starting hardware detection...
Please supply a config file
Please supply a config file
Hardware probing finished.
There seems to be no floppy disk.
Searching for info file...
got info from cmdline
Please supply a config file
insmod /modules/scsi_transport_spi.ko
insmod /modules/sym53c8xx.ko
Ok, that seems to have worked. :-)
Looking for a SUSE Linux CD...
Ok, that didn't work; see if we can activate another storage device...
No further storage devices found; giving up.
Please supply a config file
Automatic setup not possible.
GG
*** Could not find the SUSE Linux Installation CD.
------------------------------------------------------

I seem to be encountering a different problem!  If I look at the kernel messages, I get:

------------------------------------------------------
PCI: Enabling device 0000:00:10.0 (0010 -> 0013)
sym0: <825a> rev 0x13 at pci 0000:00:10.0 irq 23
sym0: No NVRAM, ID 7, Fast-10, SE, parity checking
CACHE TEST FAILED: timeout.
sym0: CACHE INCORRECTLY CONFIGURED.
sym0: giving up ...
------------------------------------------------------

Perhaps the SCSI controller has hardware problem? Perhaps it would explain why it didn't complete the boot of the rescue system? I did ran the IBM standalone diagnostics and it passed just before I tried installing SuSE on this... I'll keep trying to see if I can get farther again.
Comment 5 Steffen Winterfeldt 2006-02-07 15:13:47 UTC
The serial console login should work in beta4. (cf. bug 145357)