Your message dated Mon, 19 Jan 2015 21:58:43 +0100
with message-id <20150119205843.ga4...@excalibur.cnev.de>
and subject line Re: Bug#775748: installation-report: alternative installation
method on cubieboard
has caused the Debian Bug report #775748,
regarding installation-report: alternative installation method on cubieboard
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
775748: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775748
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: installation-reports
Version: 2.57
Severity: normal
Dear Maintainer,
I see that there is already an installation report for cubieboard,
but as I tried a different approach for booting the installer than
recommended on https://wiki.debian.org/InstallingDebianOn/Allwinner
is think it might be useful to document it here.
The basic idea is to have uboot laod the kernel and initrd of the installer
from it's own boot partition instead of the network. Using preseeding
to get the network up, it is possible to install debian without
having a serial console around.
See below for details and config snippets.
-- Package-specific info:
Boot method: mmc
Image version: http://d-i.debian.org/daily-images/armhf/daily/netboot
Date: 20150119
Machine: cubieboard1
Partitions:
Disk /dev/mmcblk0: 7,4 GiB, 7969177600 bytes, 15564800 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x8d80bbc6
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 * 2048 499711 497664 243M 83 Linux
/dev/mmcblk0p2 499712 14798847 14299136 6,8G 83 Linux
Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it
Initial boot: [O]
Detect network card: [ ]
Configure network: [ ]
Detect CD: [ ]
Load installer modules: [O]
Clock/timezone setup: [O]
User/password setup: [O]
Detect hard drives: [O]
Partition hard drives: [O]
Install base system: [O]
Install tasks: [O]
Install boot loader: [O]
Overall install: [O]
Comments/Problems:
<Description of the install, in prose, and any thoughts, comments
and ideas you had during the initial install.>
On sunxi we have to prepare an SD card with uboot ourselves (no ready
image available), so I used the instructions and files from openwrt,
but modified the uEnv.txt like this to load the installer:
> fdt_addr=0x43000000
> loaddtb=fatload mmc 0 ${fdt_addr} dtb
> ramdisk_addr_r=0x48000000
> loadramdisk=fatload mmc 0 ${ramdisk_addr_r} initrd.gz
> kernel_addr_r=0x47000000
> loadkernel=fatload mmc 0 ${kernel_addr_r} vmlinuz
> bootargs=console=ttyS0,115200 --- DEBIAN_FRONTEND=text
> uenvcmd=run loadkernel && run loaddtb && run loadramdisk && fdt addr
> ${fdt_addr} 0x40000 && bootz ${kernel_addr_r} ${ramdisk_addr_r}:${filesize}
> ${fdt_addr}
I copied vmlinuz and a modified initrd.gz from d-i/netboot to the
boot partition. The initrd.gz was modified to include a preseed.cfg
to load network-console, because I wouldn't have a serial cable available
at installation time.
However from the preseed templates available online I had a hard time
figuring out a working configuration. This is what finally worked for
me. Maybe a few lines are unnecessary:
d-i auto-install/enable boolean true
d-i netcfg/use_autoconfig boolean false
d-i netcfg/disable_autoconfig boolean true
d-i netcfg/link_wait_timeout string 60
d-i netcfg/choose_interface select eth0
d-i netcfg/get_ipaddress string 192.168.11.54
d-i netcfg/get_netmask string 255.255.255.0
d-i netcfg/get_gateway string 192.168.11.52
d-i netcfg/get_nameservers string 8.8.8.8
d-i netcfg/confirm_static boolean true
d-i netcfg/get_hostname string debian
d-i netcfg/get_domain string unassigned-domain
d-i netcfg/hostname string debian
d-i mirror/protocol string http
d-i mirror/country string manual
d-i mirror/http/countries string manual
d-i mirror/http/hostname string 192.168.11.52:9999
d-i mirror/http/directory string /debian
d-i mirror/http/proxy string
d-i anna/choose_modules string network-console
d-i network-console/authorized_keys_url string http://192.168.11.52/openssh-key
d-i network-console/password password r00tme
d-i network-console/password-again password r00tme
Especially the following lines were not obviously necessary when reading
the templates:
d-i netcfg/use_autoconfig boolean false
d-i netcfg/disable_autoconfig boolean true
d-i netcfg/link_wait_timeout string 60
d-i mirror/country string manual
The rest of the installation was quite normal:
I removed the swap partition suggested by "guided partitioning" because
I don't want to wear out the SD card.
Before booting into the new system I copied the ssh-key used for
network-console to my users .ssh/authorized_keys - that could have
been offered by the installer.
When booting into the newly installed system I installed the package
fake-hwclock because cubieboard has no backup battery for the rtc.
--
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 sub...@bugs.debian.org.
==============================================
Installer lsb-release:
==============================================
DISTRIB_ID=Debian
DISTRIB_DESCRIPTION="Debian GNU/Linux installer"
DISTRIB_RELEASE="8 (jessie) - installer build 20141220-05:16"
X_INSTALLATION_MEDIUM=netboot
==============================================
Installer hardware-summary:
==============================================
uname -a: Linux debian 3.16.0-4-armmp #1 SMP Debian 3.16.7-ckt2-1 (2014-12-08)
armv7l GNU/Linux
usb-list:
usb-list: Bus 01 Device 01: EHCI Host Controller [1d6b:0002]
usb-list: Level 00 Parent 00 Port 00 Class 09(hub ) Subclass 00 Protocol 00
usb-list: Manufacturer: Linux 3.16.0-4-armmp ehci_hcd
usb-list: Interface 00: Class 09(hub ) Subclass 00 Protocol 00 Driver hub
usb-list:
usb-list: Bus 02 Device 01: Generic Platform OHCI controller [1d6b:0001]
usb-list: Level 00 Parent 00 Port 00 Class 09(hub ) Subclass 00 Protocol 00
usb-list: Manufacturer: Linux 3.16.0-4-armmp ohci_hcd
usb-list: Interface 00: Class 09(hub ) Subclass 00 Protocol 00 Driver hub
usb-list:
usb-list: Bus 03 Device 01: EHCI Host Controller [1d6b:0002]
usb-list: Level 00 Parent 00 Port 00 Class 09(hub ) Subclass 00 Protocol 00
usb-list: Manufacturer: Linux 3.16.0-4-armmp ehci_hcd
usb-list: Interface 00: Class 09(hub ) Subclass 00 Protocol 00 Driver hub
usb-list:
usb-list: Bus 04 Device 01: Generic Platform OHCI controller [1d6b:0001]
usb-list: Level 00 Parent 00 Port 00 Class 09(hub ) Subclass 00 Protocol 00
usb-list: Manufacturer: Linux 3.16.0-4-armmp ohci_hcd
usb-list: Interface 00: Class 09(hub ) Subclass 00 Protocol 00 Driver hub
lsmod: Module Size Used by
lsmod: nls_utf8 1170 0
lsmod: nls_cp437 4767 0
lsmod: dm_mod 87526 0
lsmod: md_mod 110817 0
lsmod: jfs 169583 0
lsmod: crc32c_generic 1598 1
lsmod: btrfs 956038 0
lsmod: xor 5226 1 btrfs
lsmod: zlib_deflate 20544 1 btrfs
lsmod: raid6_pq 83885 1 btrfs
lsmod: vfat 9593 0
lsmod: fat 52745 1 vfat
lsmod: ext4 491872 2
lsmod: crc16 1146 1 ext4
lsmod: mbcache 8210 1 ext4
lsmod: jbd2 88935 1 ext4
lsmod: usb_storage 41991 0
lsmod: ahci_sunxi 2652 0
lsmod: libahci_platform 4679 1 ahci_sunxi
lsmod: libahci 23077 1 libahci_platform
lsmod: libata 161821 3 libahci,libahci_platform,ahci_sunxi
lsmod: scsi_mod 175828 2 usb_storage,libata
lsmod: ohci_platform 4062 0
lsmod: ehci_platform 4526 0
lsmod: ohci_hcd 37631 1 ohci_platform
lsmod: ehci_hcd 64429 1 ehci_platform
lsmod: phy_sun4i_usb 4220 4
lsmod: sunxi_mmc 10581 0
lsmod: sun4i_emac 10485 0
df: Filesystem 1K-blocks Used Available Use% Mounted on
df: none 102964 48 102916 0% /run
df: devtmpfs 508556 0 508556 0% /dev
df: /dev/mmcblk0p2 6906224 752988 5779376 12% /target
df: /dev/mmcblk0p1 240972 19555 208976 9% /target/boot
df: /dev/mmcblk0p2 6906224 752988 5779376 12% /dev/.static/dev
df: devtmpfs 508556 0 508556 0% /target/dev
free: total used free shared buffers
free: Mem: 1029632 770304 259328 0 101672
free: -/+ buffers: 668632 361000
free: Swap: 0 0 0
/proc/cmdline: console=ttyS0,115200 --- DEBIAN_FRONTEND=text
/proc/cpuinfo: processor : 0
/proc/cpuinfo: model name : ARMv7 Processor rev 2 (v7l)
/proc/cpuinfo: Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3
tls vfpd32
/proc/cpuinfo: CPU implementer : 0x41
/proc/cpuinfo: CPU architecture: 7
/proc/cpuinfo: CPU variant : 0x3
/proc/cpuinfo: CPU part : 0xc08
/proc/cpuinfo: CPU revision : 2
/proc/cpuinfo:
/proc/cpuinfo: Hardware : Allwinner A1X (Device Tree)
/proc/cpuinfo: Revision : 0000
/proc/cpuinfo: Serial : 0000000000000000
/proc/iomem: 01c0b080-01c0b093 : /soc@01c00000/mdio@01c0b080
/proc/iomem: 01c0f000-01c0ffff : /soc@01c00000/mmc@01c0f000
/proc/iomem: 01c13400-01c1340f : phy_ctrl
/proc/iomem: 01c14000-01c140ff : /soc@01c00000/usb@01c14000
/proc/iomem: 01c14400-01c144ff : /soc@01c00000/usb@01c14400
/proc/iomem: 01c14800-01c14803 : pmu1
/proc/iomem: 01c18000-01c18fff : /soc@01c00000/sata@01c18000
/proc/iomem: 01c1c000-01c1c0ff : /soc@01c00000/usb@01c1c000
/proc/iomem: 01c1c400-01c1c4ff : /soc@01c00000/usb@01c1c400
/proc/iomem: 01c1c800-01c1c803 : pmu2
/proc/iomem: 01c20800-01c20bff : /soc@01c00000/pinctrl@01c20800
/proc/iomem: 01c20d00-01c20d1f : /soc@01c00000/rtc@01c20d00
/proc/iomem: 01c28000-01c2801f : serial
/proc/iomem: 40000000-7fffffff : System RAM
/proc/iomem: 40008000-40864ca3 : Kernel code
/proc/iomem: 40912000-40a429f3 : Kernel data
/proc/interrupts: CPU0
/proc/interrupts: 16: 3203202 sun4i_irq 22 sun4i_timer0
/proc/interrupts: 17: 248900 sun4i_irq 55 eth0
/proc/interrupts: 18: 17967265 sun4i_irq 32 sunxi-mmc
/proc/interrupts: 19: 0 sun4i_irq 39 ehci_hcd:usb1
/proc/interrupts: 20: 0 sun4i_irq 64 ohci_hcd:usb2
/proc/interrupts: 21: 0 sun4i_irq 56 ahci-sunxi
/proc/interrupts: 22: 0 sun4i_irq 40 ehci_hcd:usb3
/proc/interrupts: 23: 0 sun4i_irq 65 ohci_hcd:usb4
/proc/interrupts: 25: 1 sun4i_irq 24 1c20d00.rtc
/proc/interrupts: 27: 67 sun4i_irq 1 serial
/proc/interrupts: 31: 0 - 1 1c0f000.mmc cd
/proc/interrupts: IPI0: 0 CPU wakeup interrupts
/proc/interrupts: IPI1: 0 Timer broadcast interrupts
/proc/interrupts: IPI2: 0 Rescheduling interrupts
/proc/interrupts: IPI3: 0 Function call interrupts
/proc/interrupts: IPI4: 0 Single function call interrupts
/proc/interrupts: IPI5: 0 CPU stop interrupts
/proc/interrupts: IPI6: 0 IRQ work interrupts
/proc/interrupts: IPI7: 0 completion interrupts
/proc/interrupts: Err: 0
/proc/meminfo: MemTotal: 1029632 kB
/proc/meminfo: MemFree: 259312 kB
/proc/meminfo: MemAvailable: 889992 kB
/proc/meminfo: Buffers: 101672 kB
/proc/meminfo: Cached: 569156 kB
/proc/meminfo: SwapCached: 0 kB
/proc/meminfo: Active: 369348 kB
/proc/meminfo: Inactive: 330772 kB
/proc/meminfo: Active(anon): 73604 kB
/proc/meminfo: Inactive(anon): 34660 kB
/proc/meminfo: Active(file): 295744 kB
/proc/meminfo: Inactive(file): 296112 kB
/proc/meminfo: Unevictable: 0 kB
/proc/meminfo: Mlocked: 0 kB
/proc/meminfo: HighTotal: 270336 kB
/proc/meminfo: HighFree: 86016 kB
/proc/meminfo: LowTotal: 759296 kB
/proc/meminfo: LowFree: 173296 kB
/proc/meminfo: SwapTotal: 0 kB
/proc/meminfo: SwapFree: 0 kB
/proc/meminfo: Dirty: 580 kB
/proc/meminfo: Writeback: 0 kB
/proc/meminfo: AnonPages: 29328 kB
/proc/meminfo: Mapped: 4888 kB
/proc/meminfo: Shmem: 78976 kB
/proc/meminfo: Slab: 58940 kB
/proc/meminfo: SReclaimable: 53584 kB
/proc/meminfo: SUnreclaim: 5356 kB
/proc/meminfo: KernelStack: 608 kB
/proc/meminfo: PageTables: 476 kB
/proc/meminfo: NFS_Unstable: 0 kB
/proc/meminfo: Bounce: 0 kB
/proc/meminfo: WritebackTmp: 0 kB
/proc/meminfo: CommitLimit: 514816 kB
/proc/meminfo: Committed_AS: 114028 kB
/proc/meminfo: VmallocTotal: 245760 kB
/proc/meminfo: VmallocUsed: 7728 kB
/proc/meminfo: VmallocChunk: 233652 kB
-- System Information:
Debian Release: 8.0
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: armhf (armv7l)
Kernel: Linux 3.16.0-4-armmp (SMP w/1 CPU core)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
installation-report depends on no packages.
Versions of packages installation-report recommends:
ii pciutils 1:3.2.1-3
ii reportbug 6.6.3
installation-report suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
On Mon, Jan 19, 2015 at 03:46:03PM +0100, Harald Geyer wrote:
> Package: installation-reports
[...]
> I see that there is already an installation report for cubieboard,
> but as I tried a different approach for booting the installer than
> recommended on https://wiki.debian.org/InstallingDebianOn/Allwinner
> is think it might be useful to document it here.
Many thanks for the installation report; I have added a link to
it to the cubieboard entry on the wiki page. As the installation
itself has worked as intended, I hereby close the bug.
Regards,
Karsten
--
Gem. Par. 28 Abs. 4 Bundesdatenschutzgesetz widerspreche ich der Nutzung
sowie der Weitergabe meiner personenbezogenen Daten für Zwecke der
Werbung sowie der Markt- oder Meinungsforschung.
--- End Message ---