Bug#495216: installation-reports: sparc64 V480 lenny: installer/kernel hangs after "exec busybox init" - Debian

This is a discussion on Bug#495216: installation-reports: sparc64 V480 lenny: installer/kernel hangs after "exec busybox init" - Debian ; Package: installation-reports Version: lenny Severity: important -- Package-specific info: Boot method: network Image version: http://people.debian.org/~stappers/d...tboot/boot.img 15-Aug-2008 05:14 Date: 20080815 Machine: Sun Fire V480, ultrasparc Partitions: Base System Installation Checklist: [O] = OK, [E] = Error (please elaborate below), [ ] ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: Bug#495216: installation-reports: sparc64 V480 lenny: installer/kernel hangs after "exec busybox init"

  1. Bug#495216: installation-reports: sparc64 V480 lenny: installer/kernel hangs after "exec busybox init"

    Package: installation-reports
    Version: lenny
    Severity: important



    -- Package-specific info:

    Boot method: network
    Image version: http://people.debian.org/~stappers/d...tboot/boot.img 15-Aug-2008 05:14
    Date: 20080815

    Machine: Sun Fire V480, ultrasparc
    Partitions:


    Base System Installation Checklist:
    [O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

    Initial boot: [E]
    Detect network card: [ ]
    Configure network: [ ]
    Detect CD: [ ]
    Load installer modules: [ ]
    Detect hard drives: [ ]
    Partition hard drives: [ ]
    Install base system: [ ]
    Clock/timezone setup: [ ]
    User/password setup: [ ]
    Install tasks: [ ]
    Install boot loader: [ ]
    Overall install: [ ]

    Comments/Problems:

    kernel starts (same as with lenny2 beta2, the etch installer is unusable due to a installer
    (UP) kernel bug on this machine), but after the "exec busybox init" step (with BOOT_DEBUG=3)
    the machine hangs.

    How can this debugged further and what output is is helpfull ? (debug shell (before init) is
    working)

    Thanks,
    Hermann

    last boot cmdline used at OBP (tried some variations already):
    boot net:dhcp -p suite=etch BOOT_DEBUG=3 DEBIAN_FRONTEND=text console=/dev/ttyS0,9600 fb=false
    --

    ==============================================
    Installer lsb-release:
    ==============================================
    DISTRIB_ID=Debian
    DISTRIB_DESCRIPTION="Debian GNU/Linux installer"
    DISTRIB_RELEASE="lenny daily"
    X_INSTALLATION_MEDIUM=netboot

    ==============================================
    Installer hardware-summary:
    ==============================================
    dmesg output:

    [ 0.000000] PROMLIB: Sun IEEE Boot Prom 'OBP 4.22.34 2007/07/23 13:01'
    [ 0.000000] PROMLIB: Root node compatible:
    [ 0.000000] Linux version 2.6.25-2-sparc64 (Debian 2.6.25-7) (maks@debian.org) (gcc version 4.1.3
    20080623 (prerelease) (Debian 4.1.2-23)) #2 Mon Jul 14 20:07:15 UTC 2008
    [ 0.000000] console [earlyprom0] enabled
    [ 0.000000] ARCH: SUN4U
    [ 0.000000] Ethernet address: 00:03:ba:29:7c:9f
    [ 0.000000] Kernel: Using 1 locked TLB entries for main kernel image.
    [ 0.000000] Remapping the kernel... done.
    [ 0.000000] [0000000318000000-fffff8a000800000] page_structs=262144 node=0 entry=1120/0
    [ 0.000000] [0000000318000000-fffff8a000c00000] page_structs=262144 node=0 entry=1121/0
    [ 0.000000] [0000000318000000-fffff8a001000000] page_structs=262144 node=0 entry=1122/0
    [ 0.000000] [0000000318000000-fffff8a001400000] page_structs=262144 node=0 entry=1123/0
    [ 0.000000] [0000000318e00000-fffff8a001800000] page_structs=262144 node=0 entry=1124/0
    [ 0.000000] [0000000318e00000-fffff8a001c00000] page_structs=262144 node=0 entry=1125/0
    [ 0.000000] [0000000318e00000-fffff8a002000000] page_structs=262144 node=0 entry=1126/0
    [ 0.000000] [0000000319c00000-fffff8a002400000] page_structs=262144 node=0 entry=1127/0
    [ 0.000000] [0000000319c00000-fffff8a002800000] page_structs=262144 node=0 entry=1128/0
    [ 0.000000] [0000000319c00000-fffff8a002c00000] page_structs=262144 node=0 entry=1129/0
    [ 0.000000] [0000000319c00000-fffff8a003000000] page_structs=262144 node=0 entry=1130/0
    [ 0.000000] [000000031aa00000-fffff8a003400000] page_structs=262144 node=0 entry=1131/0
    [ 0.000000] [000000031aa00000-fffff8a003800000] page_structs=262144 node=0 entry=1132/0
    [ 0.000000] [000000031aa00000-fffff8a003c00000] page_structs=262144 node=0 entry=1133/0
    [ 0.000000] OF stdout device is: /pci@9,700000/ebus@1/serial@1,400000:a
    [ 0.000000] PROM: Built device tree with 101836 bytes of memory.
    [ 0.000000] On node 0 totalpages: 1047440
    [ 0.000000] Normal zone: 580603 pages used for memmap
    [ 0.000000] Normal zone: 0 pages reserved
    [ 0.000000] Normal zone: 466837 pages, LIFO batch:15
    [ 0.000000] Movable zone: 0 pages used for memmap
    [ 0.000000] Booting Linux...
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 466837
    [ 0.000000] Kernel command line: -p suite=etch BOOT_DEBUG=3 DEBIAN_FRONTEND=text
    console=/dev/ttyS0,9600 fb=false
    [ 0.000000] PID hash table entries: 4096 (order: 12, 32768 bytes)
    [ 0.004000] clocksource: mult[640000] shift[16]
    [ 0.004000] clockevent: mult[28f5c28] shift[32]
    [ 0.004000] Console: colour dummy device 80x25
    [ 0.008083] Dentry cache hash table entries: 524288 (order: 9, 4194304 bytes)
    [ 0.016762] Inode-cache hash table entries: 262144 (order: 8, 2097152 bytes)
    [ 0.913070] Memory: 8311320k available (2528k kernel code, 920k data, 160k init)
    [fffff80000000000,000000a1ffb22000][ 0.996066] Calibrating delay using timer specific routine..
    20.01 BogoMIPS (lpj=40032)
    [ 1.004212] Security Framework initialized
    [ 1.008085] SELinux: Disabled at boot.
    [ 1.012077] Capability LSM initialized
    [ 1.016105] Mount-cache hash table entries: 512
    [ 1.020465] Initializing cgroup subsys ns
    [ 1.024076] Initializing cgroup subsys cpuacct
    [ 1.028822] net_namespace: 1000 bytes
    [ 1.032692] NET: Registered protocol family 16
    [ 1.048464] PCI: Probing for controllers.
    [ 1.052096] /pci@8,700000: SCHIZO PCI Bus Module ver[4:0]
    [ 1.056171] /pci@8,700000: PCI IO[7ffef000000] MEM[7fe00000000]
    [ 1.064744] /pci@8,600000: SCHIZO PCI Bus Module ver[4:0]
    [ 1.068077] /pci@8,600000: PCI IO[7ffed000000] MEM[7fd00000000]
    [ 1.076688] /pci@9,700000: SCHIZO PCI Bus Module ver[4:0]
    [ 1.080080] /pci@9,700000: PCI IO[7ffeb000000] MEM[7fc00000000]
    [ 1.088703] /pci@9,600000: SCHIZO PCI Bus Module ver[4:0]
    [ 1.092079] /pci@9,600000: PCI IO[7ffe9000000] MEM[7fb00000000]
    [ 1.100667] PCI: Scanning PBM /pci@9,600000
    [ 1.104783] PCI: Scanning PBM /pci@9,700000
    [ 1.108713] PCI: Scanning PBM /pci@8,600000
    [ 1.112848] PCI: Scanning PBM /pci@8,700000
    [ 1.116557] ebus0: [flashprom] [bbc] [power] [i2c -> (fru) (fru) (fru) (fru) (fru) (fru) (fru)
    (fru) (fru) (fru) (fru) (fru) (fru) (fru) (fru) (fru) (fru) (nvram) (idprom) (fru) (fru)] [i2c ->
    (temperature) (temperature) (ioexp) (ioexp) (ioexp) (ioexp) (ioexp) (ioexp) (ioexp)
    (temperature-sensor) (fru) (fru) (fru) (fru) (fru) (rscrtc)] [rtc] [gpio] [pmc] [rsc-control]
    [rsc-console] [serial]
    [ 1.315278] power: Control reg at 7fc7e30002e
    [ 1.318873] usbcore: registered new interface driver usbfs
    [ 1.320285] usbcore: registered new interface driver hub
    [ 1.324228] usbcore: registered new device driver usb
    [ 1.340368] /pci@9,700000/ebus@1/rtc@1,300070: Clock regs at 000007fc7e300070
    [ 1.345331] NET: Registered protocol family 2
    [ 1.384257] IP route cache hash table entries: 131072 (order: 7, 1048576 bytes)
    [ 1.469771] TCP established hash table entries: 524288 (order: 10, 8388608 bytes)
    [ 1.591055] TCP bind hash table entries: 65536 (order: 6, 524288 bytes)
    [ 1.670055] TCP: Hash tables configured (established 524288 bind 65536)
    [ 1.744116] TCP reno registered
    [ 1.796657] checking if image is initramfs... it is
    [ 2.575824] Freeing initrd memory: 3321k freed
    [ 2.624540] Mini RTC Driver
    [ 2.660464] /memory-controller@0,400000: US3 memory controller at 0000040000400000 [ACTIVE]
    [ 2.760191] /memory-controller@2,400000: US3 memory controller at 0000040001400000 [ACTIVE]
    [ 2.860952] audit: initializing netlink socket (disabled)
    [ 2.924220] type=2000 audit(1218796784.109:1): initialized
    [ 2.992655] Total HugeTLB memory allocated, 0
    [ 3.044466] VFS: Disk quotas dquot_6.5.1
    [ 3.088300] Dquot-cache hash table entries: 1024 (order 0, 8192 bytes)
    [ 3.168486] io scheduler noop registered
    [ 3.216207] io scheduler anticipatory registered
    [ 3.272210] io scheduler deadline registered
    [ 3.320241] io scheduler cfq registered (default)
    [ 7.625543] Console: switching to mono PROM 80x34
    [ 11.916801] [drm] Initialized drm 1.1.0 20060810
    [ 11.969601] f00bf958: ttyS0 at MMIO 0x7fc7e400000 (irq = 21) is a SAB82532 V3.2
    [ 12.056766] Console: ttyS0 (SAB82532)
    [ 12.100841] console handover: boot [earlyprom0] -> real [ttyS0]
    [ 12.168915] f00bf958: ttyS1 at MMIO 0x7fc7e400040 (irq = 21) is a SAB82532 V3.2
    [ 12.261679] brd: module loaded
    [ 12.297716] loop: module loaded
    [ 12.332812] Uniform Multi-Platform E-IDE driver
    [ 12.388784] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
    [ 12.485579] mice: PS/2 mouse device common for all mice
    [ 12.545454] usbcore: registered new interface driver usbhid
    [ 12.612833] drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
    [ 12.689766] TCP cubic registered
    [ 12.724819] NET: Registered protocol family 1
    [ 12.776838] NET: Registered protocol family 17
    [ 12.833125] registered taskstats version 1





    --
    To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  2. Bug#495216: kernel 2.6.26.5 SMP boots and stable executing the installer so far

    After several unsucessful tries I found vanilla kernel 2.6.26.5 SMP
    able to netboot on V480 and V880 and stable enough to execute
    the installer. Fiddling with the modules now.

    Things I found helpfull so far:

    1) http://merkel.debian.org/~jurij/ for a default debian sparc kernel .config
    2) a little script to extract the installer initramfs from the netboot images:

    #!/usr/bin/python
    # (C) Hermann Lauer 2008
    # can be distibuted under GPLv3 or later

    import sys

    f=file(sys.argv[1])

    GZIPSIG='\037\213\010'

    x=f.read()
    #print x.count('\037\213\010'),x.count('\037\236')

    cnt=1
    loc=0
    while True:
    loc=x.find(GZIPSIG,loc)
    if loc<0: break
    fn="arch_%i.gz"%cnt
    print fn,loc
    f=file(fn,"w")
    f.write(x[loc:])
    f.close()
    loc+=1
    cnt+=1

    3) make tftpboot.img ROOT_IMG=/tmp/arch_2.gz
    4) bug #464445 for the qlogic firmware (not tested yet)

    Greetings
    Hermann



    --
    To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  3. Bug#495216: installation-reports: sparc64 V480 lenny: installer/kernel hangs after "exec busybox init"

    On Fri, Aug 15, 2008 at 01:27:08PM +0200, Hermann Lauer wrote:
    > kernel starts (same as with lenny2 beta2, the etch installer is unusable due to a installer
    > (UP) kernel bug on this machine), but after the "exec busybox init" step (with BOOT_DEBUG=3)
    > the machine hangs.
    >
    > How can this debugged further and what output is is helpfull ? (debug shell (before init) is
    > working)


    Could you try again with one of the daily built images? Sparc kernels
    for d-i have been updated and should boot properly now.

    Cheers,
    --
    Jérémy Bobbio .''`.
    lunar@debian.org : :Ⓐ : # apt-get install anarchism
    `. `'`
    `-

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.6 (GNU/Linux)

    iD8DBQFIz8d92PUjs9fQ72URAqZTAJ4xj8UveCKVf24puOfI//Smx8jNgQCfZj0t
    0hC6wcK33TplFI38N5R+nbI=
    =5UjF
    -----END PGP SIGNATURE-----


  4. Bug#495216: installation-reports: sparc64 V480 lenny: installer/kernel hangs after "exec busybox init"

    On Tue, Sep 16, 2008 at 04:49:34PM +0200, Jrmy Bobbio wrote:
    > Could you try again with one of the daily built images? Sparc kernels
    > for d-i have been updated and should boot properly now.


    Nope, Sun Fire 480R seems to hang hard in or after
    the cassini gigabit network driver now. Note, that this machines have
    two internal cassini network ports and it seems to hang while
    initializing the second one.

    Console output is attached. I noticed the cassini drivers seems to have
    changed the mac address of the machine ?!
    Needed to put another mac now in the dhcpserver.

    Any further suggestions how to proceed with debugging are very welcome.
    Anyway, many thanks for noticing me.
    Hermann

    -------------------------------------------------------------
    Rebooting with command: boot net:dhcp -p suite=etch BOOT_DEBUG=3 console=/dev/ttyS0,9600
    Boot device: /pci@9,700000/network@2:dhcp File and args: -p suite=etch BOOT_DEBUG=3 console=/dev/ttyS0,9600
    /pci@9,700000/network@2: 1000 Mbps full duplex link up
    Timed out waiting for BOOTP/DHCP reply
    Timed out waiting for BOOTP/DHCP reply
    Timed out waiting for BOOTP/DHCP reply
    Timed out waiting for BOOTP/DHCP reply
    Timed out waiting for BOOTP/DHCP reply
    Timed out waiting for BOOTP/DHCP reply
    |
    [ 0.000000] PROMLIB: Sun IEEE Boot Prom 'OBP 4.22.34 2007/07/23 13:01'
    [ 0.000000] PROMLIB: Root node compatible:
    [ 0.000000] Initializing cgroup subsys cpu
    [ 0.000000] Linux version 2.6.26-1-sparc64 (Debian 2.6.26-5) (waldi@debian.org) (gcc version 4.1.3 20080623 (prerelease) (Debian 4.1.2-23)) #1 Thu Sep 11 00:15:29 UTC 2008
    [ 0.000000] console [earlyprom0] enabled
    [ 0.000000] ARCH: SUN4U
    [ 0.000000] Ethernet address: 00:03:ba:29:7c:9f
    [ 0.000000] Kernel: Using 1 locked TLB entries for main kernel image.
    [ 0.000000] Remapping the kernel... done.
    [ 0.000000] OF stdout device is: /pci@9,700000/ebus@1/serial@1,400000:a
    [ 0.000000] PROM: Built device tree with 101792 bytes of memory.
    [ 0.000000] Top of RAM: 0xa1ffb22000, Total RAM: 0x1ffad6000
    [ 0.000000] Memory hole size: 655360MB
    [ 0.000000] [0000000318000000-fffff8a000800000] page_structs=131072 node=0 entry=1120/0
    [ 0.000000] [0000000318000000-fffff8a000c00000] page_structs=131072 node=0 entry=1121/0
    [ 0.000000] [0000000318700000-fffff8a001000000] page_structs=131072 node=0 entry=1122/0
    [ 0.000000] [0000000318700000-fffff8a001400000] page_structs=131072 node=0 entry=1123/0
    [ 0.000000] [0000000318e00000-fffff8a001800000] page_structs=131072 node=0 entry=1124/0
    [ 0.000000] [0000000318e00000-fffff8a001c00000] page_structs=131072 node=0 entry=1125/0
    [ 0.000000] [0000000319500000-fffff8a002000000] page_structs=131072 node=0 entry=1126/0
    [ 0.000000] [0000000319c00000-fffff8a002400000] page_structs=131072 node=0 entry=1127/0
    [ 0.000000] [0000000319c00000-fffff8a002800000] page_structs=131072 node=0 entry=1128/0
    [ 0.000000] [000000031a300000-fffff8a002c00000] page_structs=131072 node=0 entry=1129/0
    [ 0.000000] [000000031a300000-fffff8a003000000] page_structs=131072 node=0 entry=1130/0
    [ 0.000000] [000000031aa00000-fffff8a003400000] page_structs=131072 node=0 entry=1131/0
    [ 0.000000] [000000031aa00000-fffff8a003800000] page_structs=131072 node=0 entry=1132/0
    [ 0.000000] [000000031b100000-fffff8a003c00000] page_structs=131072 node=0 entry=1133/0
    [ 0.000000] Zone PFN ranges:
    [ 0.000000] Normal 83886080 -> 84934033
    [ 0.000000] Movable zone start PFN for each node
    [ 0.000000] early_node_map[4] active PFN ranges
    [ 0.000000] 0: 83886080 -> 84932607
    [ 0.000000] 0: 84932608 -> 84933932
    [ 0.000000] 0: 84933968 -> 84934031
    [ 0.000000] 0: 84934032 -> 84934033
    [ 0.000000] Booting Linux...
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 1040751
    [ 0.000000] Kernel command line: -p suite=etch BOOT_DEBUG=3 console=/dev/ttyS0,9600
    [ 0.000000] PID hash table entries: 4096 (order: 12, 32768 bytes)
    [ 0.000000] clocksource: mult[640000] shift[16]
    [ 0.000000] clockevent: mult[28f5c28] shift[32]
    [ 288.752419] Console: colour dummy device 80x25
    [ 288.813649] Dentry cache hash table entries: 1048576 (order: 10, 8388608bytes)
    [ 288.918524] Inode-cache hash table entries: 524288 (order: 9, 4194304 bytes)
    [ 299.710205] Console: switching to mono PROM 80x34 [ 304.000240] [drm] Initialized drm 1.1.0 20060810
    [ 304.056011] f00bf958: ttyS0 at MMIO 0x7fc7e400000 (irq = 21) is a SAB82532 V3.2
    [ 304.255778] f00bf958: ttyS1 at MMIO 0x7fc7e400040 (irq = 21) is a SAB82532 V3.2lyprom0] -> real [ttyS0]

    [ 304.346767] brd: module loaded
    [ 304.384062] loop: module loaded
    [ 304.420681] Uniform Multi-Platform E-IDE driver
    [ 304.474812] ide: Assuming 33MHz system bus speed for PIO modes; overridewith idebus=xx
    [ 304.571536] mice: PS/2 mouse device common for all mice
    [ 304.633816] usbcore: registered new interface driver usbhid
    [ 304.699911] usbhid: v2.6:USB HID core driver
    [ 304.751976] TCP cubic registered
    [ 304.789622] NET: Registered protocol family 17
    [ 304.843076] registered taskstats version 1
    %G�%@+ debugshell just bootedc/hctosys.c: unable to open rtc device (rtc0)
    + [ 3 -gt 2 ]
    + echo This is a debug shell (just booted).
    This is a debug shell (just booted).
    + sh


    BusyBox v1.10.2 (Debian 1:1.10.2-2) built-in shell (ash)
    Enter 'help' for a list of built-in commands.

    sh: can't access tty; job control turned off ~ # exit + mount /proc + mount/sys
    + /lib/debian-installer/start-udev
    [ 312.702088] ohci_hcd 0002:00:01.3: OHCI Host Controller
    [ 312.763960] ohci_hcd 0002:00:01.3: new USB bus registered, assigned bus number 1
    [ 312.852279] ohci_hcd 0002:00:01.3: irq 22, io mem 0x7fc01000000
    [ 312.935873] cassini.c:v1.6 (21 May 2008)
    [ 312.985004] cassini: MAC address not found in ROM VPD
    [ 313.045617] eth0: Sun Cassini+ (64bit/66MHz PCI/Cu) Ethernet[29] 08:00:20:98:12:42
    [ 313.151093] usb usb1: configuration #1 chosen from 1 choice
    [ 313.216913] hub 1-0:1.0: USB hub found
    [ 313.261648] hub 1-0:1.0: 4 ports detected
    [ 313.412685] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
    [ 313.492989] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 313.579463] usb usb1: Product: OHCI Host Controller
    [ 313.637779] usb usb1: Manufacturer: Linux 2.6.26-1-sparc64 ohci_hcd
    [ 313.712783] usb usb1: SerialNumber: 0002:00:01.3
    [ 313.772152] cassini: MAC address not found in ROM VPD
    [ 313.832843] eth1: Sun Cassini+ (64bit/33MHz PCI/Cu) Ethernet[23] 08:00:20:bc:1d:1c

    --
    Netzwerkadministration/Zentrale Dienste, Interdiziplinaeres
    Zentrum fuer wissenschaftliches Rechnen der Universitaet Heidelberg
    IWR; INF 368; 69120 Heidelberg; Tel: (06221)54-8236 Fax: -5224
    Email: Hermann.Lauer@iwr.uni-heidelberg.de



    --
    To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

+ Reply to Thread