[Cbe-oss-dev] Bug#619236: installation-reports: installation works fine on PS3 now, but we still can't boot after the installation
Antonio Ospite
ospite at studenti.unina.it
Tue Mar 22 20:29:26 EST 2011
Package: installation-reports
Severity: important
Tags: d-i
-- Package-specific info:
Boot method: CD
Image version: http://cdimage.debian.org/cdimage/daily-builds/daily/arch-latest/powerpc/iso-cd/debian-testing-powerpc-netinst.iso 19-Mar-2011 10:28
Date: 19-Mar-2011 15:00
Machine: Sony PS3
Partitions:
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/ps3da1 ext4 25635140 1149880 23183040 5% /
tmpfs tmpfs 112732 0 112732 0% /lib/init/rw
udev tmpfs 50056 128 49928 1% /dev
tmpfs tmpfs 112732 0 112732 0% /dev/shm
Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it
Initial boot: [O]
Detect network card: [O]
Configure network: [O]
Detect CD: [O]
Load installer modules: [O]
Detect hard drives: [O]
Partition hard drives: [O]
Install base system: [O]
Clock/timezone setup: [O]
User/password setup: [O]
Install tasks: [O]
Install boot loader: [E]
Overall install: [O]
Comments/Problems:
Hi,
the installation on PS3 now completes pretty fine, however there are
still some details that could be improved.
The installer warns about the boot loader not being installed, which is
fine, I already had the 'petitboot' bootloader installed, but some
configuration is still needed to make the system actually boot _after_
the installation.
petitboot needs a /etc/kboot.conf in the root filesystem with this
content to successfully boot the installed system:
linux=/boot/vmlinux initrd=/boot/initrd.img root=/dev/ps3da1 quiet
On my installation the / mount point is for /dev/ps3da1, and /boot is on
the same partition, but a script like the following can be used to
figure these things out after the installation:
----[ BEGIN build_kboot.conf.sh ]-------
#!/bin/sh
ROOTFS="$(mount | grep ' / ' | cut -d ' ' -f 1)"
OLD_CMDLINE=$(cat /proc/cmdline | sed -e 's/root=[^[:space:]]*\s//')
CMDLINE="root=$ROOTFS $OLD_CMDLINE"
find /boot -type f -name "vmlinu*" |
while read file;
do
VERSION="$(echo "$file" | cut -d '-' -f 2- )";
echo -n "$VERSION=$file";
echo -n " initrd=/boot/initrd.img-$VERSION";
echo -n " $CMDLINE"
echo
done
----[ END build_kboot.conf.sh ]-------
Can the /etc/kboot.conf file be created by the installer automatically
when the system is a PS3? (Ideally kboot.conf should be recreated after
each kernel install).
Also, can the installer be told to install the ps3-utils package
automatically when the system is a PS3?
It looks like these system dependent configurations are done in
hw-detect, I'll try to provide a patch for these, but some guidance will
be very much appreciated.
Thanks,
Antonio Ospite
http://ao2.it
--
Please make sure that the hardware-summary log file, and any other
installation logs that you think would be useful are attached to this
report. Please compress large files using gzip.
Once you have filled out this report, mail it to submit at bugs.debian.org.
==============================================
Installer lsb-release:
==============================================
DISTRIB_ID=Debian
DISTRIB_DESCRIPTION="Debian GNU/Linux installer"
DISTRIB_RELEASE="7.0 (wheezy) - installer build 20110318-00:16"
X_INSTALLATION_MEDIUM=cdrom
==============================================
Installer hardware-summary:
==============================================
uname -a: Linux ps3 2.6.37-2-powerpc64 #1 SMP Sun Feb 27 13:21:25 UTC 2011 ppc64 GNU/Linux
usb-list:
usb-list: Bus 01 Device 01: PS3 EHCI Host Controller [1d6b:0002]
usb-list: Level 00 Parent 00 Port 00 Class 09(hub ) Subclass 00 Protocol 00
usb-list: Manufacturer: Linux 2.6.37-2-powerpc64 ehci_hcd
usb-list: Interface 00: Class 09(hub ) Subclass 00 Protocol 00 Driver hub
usb-list:
usb-list: Bus 01 Device 02: USB2.0 Hub [05e3:0607]
usb-list: Level 01 Parent 01 Port 01 Class 09(hub ) Subclass 00 Protocol 02
usb-list: Interface 00: Class 09(hub ) Subclass 00 Protocol 02 Driver hub
usb-list:
usb-list: Bus 01 Device 03: Wireless Keyboard/Mouse [099a:7202]
usb-list: Level 02 Parent 02 Port 00 Class 00(>ifc ) Subclass 00 Protocol 00
usb-list: Interface 00: Class 03(HID ) Subclass 01 Protocol 01 Driver usbhid
usb-list: Interface 01: Class 03(HID ) Subclass 01 Protocol 02 Driver usbhid
usb-list:
usb-list: Bus 02 Device 01: PS3 EHCI Host Controller [1d6b:0002]
usb-list: Level 00 Parent 00 Port 00 Class 09(hub ) Subclass 00 Protocol 00
usb-list: Manufacturer: Linux 2.6.37-2-powerpc64 ehci_hcd
usb-list: Interface 00: Class 09(hub ) Subclass 00 Protocol 00 Driver hub
usb-list:
usb-list: Bus 02 Device 02: Bluetooth Transceiver [054c:0267]
usb-list: Level 01 Parent 01 Port 01 Class e0(wlcon) Subclass 01 Protocol 01
usb-list: Manufacturer: Sony
usb-list: Interface 00: Class e0(wlcon) Subclass 01 Protocol 01 Driver <none>
usb-list: Interface 01: Class e0(wlcon) Subclass 01 Protocol 01 Driver <none>
usb-list: Interface 02: Class e0(wlcon) Subclass 01 Protocol 01 Driver <none>
usb-list: Interface 03: Class fe(app. ) Subclass 01 Protocol 00 Driver <none>
usb-list:
usb-list: Bus 03 Device 01: PS3 OHCI Host Controller [1d6b:0001]
usb-list: Level 00 Parent 00 Port 00 Class 09(hub ) Subclass 00 Protocol 00
usb-list: Manufacturer: Linux 2.6.37-2-powerpc64 ohci_hcd
usb-list: Interface 00: Class 09(hub ) Subclass 00 Protocol 00 Driver hub
usb-list:
usb-list: Bus 04 Device 01: PS3 OHCI Host Controller [1d6b:0001]
usb-list: Level 00 Parent 00 Port 00 Class 09(hub ) Subclass 00 Protocol 00
usb-list: Manufacturer: Linux 2.6.37-2-powerpc64 ohci_hcd
usb-list: Interface 00: Class 09(hub ) Subclass 00 Protocol 00 Driver hub
lsmod: Module Size Used by
lsmod: dm_mod 94845 0
lsmod: md_mod 123918 0
lsmod: xfs 819164 0
lsmod: exportfs 6527 1 xfs
lsmod: jfs 209372 0
lsmod: ext4 400290 1
lsmod: jbd2 89412 1 ext4
lsmod: crc16 2951 1 ext4
lsmod: ext3 159160 0
lsmod: jbd 63719 1 ext3
lsmod: btrfs 745846 0
lsmod: zlib_deflate 23161 1 btrfs
lsmod: crc32c 4918 1
lsmod: libcrc32c 3194 1 btrfs
lsmod: vfat 14467 0
lsmod: fat 66121 1 vfat
lsmod: ext2 86684 0
lsmod: mbcache 9713 3 ext4,ext3,ext2
lsmod: ps3_gelic 45303 0
lsmod: ps3disk 10573 3
lsmod: isofs 39196 0
lsmod: usb_storage 53811 0
lsmod: usbhid 48363 0
lsmod: hid 87888 1 usbhid
lsmod: ohci_hcd 59360 0
lsmod: sg 32641 0
lsmod: sr_mod 22256 0
lsmod: cdrom 42303 1 sr_mod
lsmod: ehci_hcd 79613 0
lsmod: ps3rom 7464 0
lsmod: ps3stor_lib 6777 2 ps3disk,ps3rom
lsmod: scsi_mod 209348 4 usb_storage,sg,sr_mod,ps3rom
lsmod: usbcore 186086 5 usb_storage,usbhid,ohci_hcd,ehci_hcd
lsmod: nls_base 9641 5 jfs,vfat,fat,isofs,usbcore
df: Filesystem 1K-blocks Used Available Use% Mounted on
df: tmpfs 113040 28 113012 0% /dev
df: /dev/ps3da1 25635140 725860 23607060 3% /target
df: /dev/ps3da1 25635140 725860 23607060 3% /dev/.static/dev
df: tmpfs 113040 28 113012 0% /target/dev
free: total used free shared buffers
free: Mem: 226080 209216 16864 0 15572
free: -/+ buffers: 193644 32436
free: Swap: 440316 320 439996
/proc/cmdline: DEBCONF_PRIORITY=low -- ramdisk_size=10240 ro video=ps3fb:mode:6
/proc/cpuinfo: processor : 0
/proc/cpuinfo: cpu : Cell Broadband Engine, altivec supported
/proc/cpuinfo: clock : 3192.000000MHz
/proc/cpuinfo: revision : 16.0 (pvr 0070 1000)
/proc/cpuinfo:
/proc/cpuinfo: processor : 1
/proc/cpuinfo: cpu : Cell Broadband Engine, altivec supported
/proc/cpuinfo: clock : 3192.000000MHz
/proc/cpuinfo: revision : 16.0 (pvr 0070 1000)
/proc/cpuinfo:
/proc/cpuinfo: timebase : 79800000
/proc/cpuinfo: platform : PS3
/proc/cpuinfo: model : SonyPS3
/proc/iomem: 08000000-0effffff : System RAM
/proc/iomem: 4000001b0000-4000001bffff : ehci_hcd
/proc/iomem: 4000001c0000-4000001cffff : ehci_hcd
/proc/iomem: 4000001d0000-4000001dffff : ohci_hcd
/proc/iomem: 4000001e0000-4000001effff : ohci_hcd
/proc/interrupts: CPU0 CPU1
/proc/interrupts: 16: 0 0 ps3 Edge ipi call function
/proc/interrupts: 17: 0 122488 ps3 Edge ipi reschedule
/proc/interrupts: 18: 0 1098 ps3 Edge ipi call function single
/proc/interrupts: 19: 0 0 ps3 Edge ipi debugger
/proc/interrupts: 20: 0 0 ps3 Edge ipi call function
/proc/interrupts: 21: 113308 0 ps3 Edge ipi reschedule
/proc/interrupts: 22: 621 0 ps3 Edge ipi call function single
/proc/interrupts: 23: 0 0 ps3 Edge ipi debugger
/proc/interrupts: 24: 0 0 ps3 Edge spe00.0
/proc/interrupts: 25: 0 0 ps3 Edge spe00.1
/proc/interrupts: 26: 0 0 ps3 Edge spe00.2
/proc/interrupts: 27: 0 0 ps3 Edge spe01.0
/proc/interrupts: 28: 0 0 ps3 Edge spe01.1
/proc/interrupts: 29: 0 0 ps3 Edge spe01.2
/proc/interrupts: 30: 0 0 ps3 Edge spe02.0
/proc/interrupts: 31: 0 0 ps3 Edge spe02.1
/proc/interrupts: 32: 0 0 ps3 Edge spe02.2
/proc/interrupts: 33: 0 0 ps3 Edge spe03.0
/proc/interrupts: 34: 0 0 ps3 Edge spe03.1
/proc/interrupts: 35: 0 0 ps3 Edge spe03.2
/proc/interrupts: 36: 0 0 ps3 Edge spe04.0
/proc/interrupts: 37: 0 0 ps3 Edge spe04.1
/proc/interrupts: 38: 0 0 ps3 Edge spe04.2
/proc/interrupts: 39: 0 0 ps3 Edge spe05.0
/proc/interrupts: 40: 0 0 ps3 Edge spe05.1
/proc/interrupts: 41: 0 0 ps3 Edge spe05.2
/proc/interrupts: 42: 5 0 ps3 Edge ps3_notification
/proc/interrupts: 43: 14 0 ps3 Edge vuart
/proc/interrupts: 44: 174136 0 ps3 Edge ps3fb
/proc/interrupts: 45: 3829 0 ps3 Edge ps3rom
/proc/interrupts: 46: 308 0 ps3 Edge ehci_hcd:usb1
/proc/interrupts: 47: 14 0 ps3 Edge ehci_hcd:usb2
/proc/interrupts: 48: 1 0 ps3 Edge ohci_hcd:usb3
/proc/interrupts: 49: 1 0 ps3 Edge ohci_hcd:usb4
/proc/interrupts: 50: 114033 0 ps3 Edge ps3disk
/proc/interrupts: 51: 67388 0 ps3 Edge eth0
/proc/interrupts: LOC: 161332 112035 Local timer interrupts
/proc/interrupts: SPU: 0 0 Spurious interrupts
/proc/interrupts: CNT: 0 0 Performance monitoring interrupts
/proc/interrupts: MCE: 0 0 Machine check exceptions
/proc/meminfo: MemTotal: 226080 kB
/proc/meminfo: MemFree: 16924 kB
/proc/meminfo: Buffers: 15572 kB
/proc/meminfo: Cached: 160864 kB
/proc/meminfo: SwapCached: 248 kB
/proc/meminfo: Active: 73704 kB
/proc/meminfo: Inactive: 61288 kB
/proc/meminfo: Active(anon): 1064 kB
/proc/meminfo: Inactive(anon): 2396 kB
/proc/meminfo: Active(file): 72640 kB
/proc/meminfo: Inactive(file): 58892 kB
/proc/meminfo: Unevictable: 44824 kB
/proc/meminfo: Mlocked: 0 kB
/proc/meminfo: SwapTotal: 440316 kB
/proc/meminfo: SwapFree: 439996 kB
/proc/meminfo: Dirty: 364 kB
/proc/meminfo: Writeback: 0 kB
/proc/meminfo: AnonPages: 3352 kB
/proc/meminfo: Mapped: 2372 kB
/proc/meminfo: Shmem: 28 kB
/proc/meminfo: Slab: 19376 kB
/proc/meminfo: SReclaimable: 13900 kB
/proc/meminfo: SUnreclaim: 5476 kB
/proc/meminfo: KernelStack: 1120 kB
/proc/meminfo: PageTables: 492 kB
/proc/meminfo: NFS_Unstable: 0 kB
/proc/meminfo: Bounce: 0 kB
/proc/meminfo: WritebackTmp: 0 kB
/proc/meminfo: CommitLimit: 553356 kB
/proc/meminfo: Committed_AS: 8448 kB
/proc/meminfo: VmallocTotal: 8589934592 kB
/proc/meminfo: VmallocUsed: 6816 kB
/proc/meminfo: VmallocChunk: 8589917268 kB
/proc/meminfo: HugePages_Total: 0
/proc/meminfo: HugePages_Free: 0
/proc/meminfo: HugePages_Rsvd: 0
/proc/meminfo: HugePages_Surp: 0
/proc/meminfo: Hugepagesize: 16384 kB
/proc/bus/input/devices: I: Bus=0003 Vendor=099a Product=7202 Version=0111
/proc/bus/input/devices: N: Name="Wireless Keyboard/Mouse"
/proc/bus/input/devices: P: Phys=usb-sb_05-2.1/input0
/proc/bus/input/devices: S: Sysfs=/devices/ps3_system/sb_05/usb1/1-2/1-2.1/1-2.1:1.0/input/input0
/proc/bus/input/devices: U: Uniq=
/proc/bus/input/devices: H: Handlers=sysrq kbd
/proc/bus/input/devices: B: EV=120013
/proc/bus/input/devices: B: KEY=10000 7 ff9f207a c14057ff febeffdf ffefffff ffffffff fffffffe
/proc/bus/input/devices: B: MSC=10
/proc/bus/input/devices: B: LED=7
/proc/bus/input/devices:
/proc/bus/input/devices: I: Bus=0003 Vendor=099a Product=7202 Version=0111
/proc/bus/input/devices: N: Name="Wireless Keyboard/Mouse"
/proc/bus/input/devices: P: Phys=usb-sb_05-2.1/input1
/proc/bus/input/devices: S: Sysfs=/devices/ps3_system/sb_05/usb1/1-2/1-2.1/1-2.1:1.1/input/input1
/proc/bus/input/devices: U: Uniq=
/proc/bus/input/devices: H: Handlers=kbd mouse0
/proc/bus/input/devices: B: EV=1f
/proc/bus/input/devices: B: KEY=837fff 2c3027 bf004444 0 0 70001 c04 b27c000 267bfa d9415fed 8e0000 0 0 0
/proc/bus/input/devices: B: REL=143
/proc/bus/input/devices: B: ABS=1 0
/proc/bus/input/devices: B: MSC=10
/proc/bus/input/devices:
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: powerpc (ppc64)
Kernel: Linux 2.6.32-5-powerpc64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
More information about the cbe-oss-dev
mailing list