[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#702419: installation-reports: Successful 6.0.6 auto-install netboot (pxe) on Alix-2 using ttyS0 as console (hands-off)



Package: installation-reports
Severity: normal


After reading http://hands.com/d-i and a lot of tries,
searching on how to do this via serial console only,
understanding that network install require that
initrd and vmlinuz by synchronised before (each) use...

This work fine and don't require (direct) human interaction.

-- Package-specific info:

Boot method: network
Image version: debian/dists/squeeze/main/installer-i386/current/images netboot/netboot.tar.gz 'tar -zxC /srv/tftp ./debian-installer/i386/{linux,initrd.gz}'
Date: <Date and time of the install>

Machine: Alix 2D3
Partitions: <df -Tl will do; the raw partition table is preferred>

# df -Tl
Filesystem    Type   1K-blocks      Used Available Use% Mounted on
/dev/sda1     ext3      973624    698624    225544  76% /
tmpfs        tmpfs      127736     62056     65680  49% /var

# mount
/dev/sda1 on / type ext3 (ro,noatime,errors=continue)
tmpfs on /var type tmpfs (rw,nosuid,nodev,relatime)

# cat /proc/partitions 
major minor  #blocks  name
   8        0     990864 sda
   8        1     989184 sda1

# cat /proc/mounts
rootfs / rootfs rw 0 0
none /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
none /proc proc rw,nosuid,nodev,noexec,relatime 0 0
none /dev devtmpfs rw,relatime,size=122948k,nr_inodes=30737,mode=755 0 0
none /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
/dev/disk/by-uuid/d80666ee-f99d-4254-ab38-e5c747b03639 / ext3 ro,noatime,errors=continue,data=ordered 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid,relatime,mode=755 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0
tmpfs /home tmpfs rw,nosuid,nodev,relatime 0 0
tmpfs /root tmpfs rw,nosuid,nodev,relatime 0 0
tmpfs /var tmpfs rw,nosuid,nodev,relatime 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0

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:              [ ] retrieve pressed.cfg from web server [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:    [O]
Overall install:        [O]

Comments/Problems:

<Description of the install, in prose, and any thoughts, comments
      and ideas you had during the initial install.>

Just adding 1st line in pxe for serial an prompt for auto-run
# cat /srv/tftp/alix/pxealix.cfg 
serial 0 38400
display alix/alix.txt
include alix/menu.cfg
default Linux
prompt 1
timeout 10

Create an appropriate syslinux config:
# cat /srv/tftp/alix/live.cfg 
label Linux
        menu label Linux
        kernel debian-installer/i386/linux
        append initrd=debian-installer/i386/initrd.gz auto=true \
		priority=critical url=192.168.12.2 DEBCONF_DEBUG=5 \
		netcfg/choose_interface=eth0 -- console=ttyS0,38400

Correct pressed file as Alix 2D3 hold 3 ethernet interfaces,
so prevent choice question:
...
d-i netcfg/choose_interface select eth0

But one of the WORST thing i've done was to not use swap:
I DON'T UNDERSTAND THIS: 
WHY `NO_SWAP` SETTED TO `FALSE` DO PERMIT NO SWAP!?
...
d-i partman-basicfilesystems/no_swap boolean false

d-i partman-auto/expert_recipe string                         \
      boot-root :: 500 10000 1000000000 ext3                  \
                      $primary{ } $bootable{ }                \
                      method{ format } format{ }              \
                      use_filesystem{ } filesystem{ ext3 }    \
                      mountpoint{ / } .

...

Installing and runing last configuration script is done with:

d-i preseed/run string late_command.sh
d-i preseed/late_command string /bin/sh /tmp/lastjob.sh


-- 

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@bugs.debian.org.

==============================================
Installer lsb-release:
==============================================
DISTRIB_ID=Debian
DISTRIB_DESCRIPTION="Debian GNU/Linux installer"
DISTRIB_RELEASE="6.0 (squeeze) - installer build 20110106+squeeze4+b2"
X_INSTALLATION_MEDIUM=netboot

==============================================
Installer hardware-summary:
==============================================
uname -a: Linux alix 2.6.32-5-486 #1 Sun Sep 23 09:17:35 UTC 2012 i586 GNU/Linux
lspci -knn: 00:01.0 Host bridge [0600]: Advanced Micro Devices [AMD] CS5536 [Geode companion] Host Bridge [1022:2080] (rev 33)
lspci -knn: 	Subsystem: Advanced Micro Devices [AMD] CS5536 [Geode companion] Host Bridge [1022:2080]
lspci -knn: 00:01.2 Entertainment encryption device [1010]: Advanced Micro Devices [AMD] Geode LX AES Security Block [1022:2082]
lspci -knn: 	Subsystem: Advanced Micro Devices [AMD] Geode LX AES Security Block [1022:2082]
lspci -knn: 00:09.0 Ethernet controller [0200]: VIA Technologies, Inc. VT6105M [Rhine-III] [1106:3053] (rev 96)
lspci -knn: 	Subsystem: VIA Technologies, Inc. Device [1106:0106]
lspci -knn: 	Kernel driver in use: via-rhine
lspci -knn: 00:0a.0 Ethernet controller [0200]: VIA Technologies, Inc. VT6105M [Rhine-III] [1106:3053] (rev 96)
lspci -knn: 	Subsystem: VIA Technologies, Inc. Device [1106:0106]
lspci -knn: 	Kernel driver in use: via-rhine
lspci -knn: 00:0b.0 Ethernet controller [0200]: VIA Technologies, Inc. VT6105M [Rhine-III] [1106:3053] (rev 96)
lspci -knn: 	Subsystem: VIA Technologies, Inc. Device [1106:0106]
lspci -knn: 	Kernel driver in use: via-rhine
lspci -knn: 00:0f.0 ISA bridge [0601]: Advanced Micro Devices [AMD] CS5536 [Geode companion] ISA [1022:2090] (rev 03)
lspci -knn: 	Subsystem: Advanced Micro Devices [AMD] CS5536 [Geode companion] ISA [1022:2090]
lspci -knn: 00:0f.2 IDE interface [0101]: Advanced Micro Devices [AMD] CS5536 [Geode companion] IDE [1022:209a] (rev 01)
lspci -knn: 	Subsystem: Advanced Micro Devices [AMD] CS5536 [Geode companion] IDE [1022:209a]
lspci -knn: 	Kernel driver in use: pata_amd
lspci -knn: 00:0f.4 USB Controller [0c03]: Advanced Micro Devices [AMD] CS5536 [Geode companion] OHC [1022:2094] (rev 02)
lspci -knn: 	Subsystem: Advanced Micro Devices [AMD] CS5536 [Geode companion] OHC [1022:2094]
lspci -knn: 	Kernel driver in use: ohci_hcd
lspci -knn: 00:0f.5 USB Controller [0c03]: Advanced Micro Devices [AMD] CS5536 [Geode companion] EHC [1022:2095] (rev 02)
lspci -knn: 	Subsystem: Advanced Micro Devices [AMD] CS5536 [Geode companion] EHC [1022:2095]
lspci -knn: 	Kernel driver in use: ehci_hcd
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 2.6.32-5-486 ehci_hcd
usb-list:    Interface 00: Class 09(hub  ) Subclass 00 Protocol 00 Driver hub
usb-list: 
usb-list: Bus 02 Device 01: 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.32-5-486 ohci_hcd
usb-list:    Interface 00: Class 09(hub  ) Subclass 00 Protocol 00 Driver hub
lsmod: Module                  Size  Used by
lsmod: leds_alix2              1119  0 
lsmod: led_class               1761  1 leds_alix2
lsmod: ufs                    55534  0 
lsmod: qnx4                    5078  0 
lsmod: ntfs                  162607  0 
lsmod: reiserfs              173372  0 
lsmod: battery                 3774  0 
lsmod: dm_mod                 46125  0 
lsmod: md_mod                 66159  0 
lsmod: xfs                   403618  0 
lsmod: exportfs                2486  1 xfs
lsmod: jfs                   133408  0 
lsmod: ext4                  239486  0 
lsmod: jbd2                   48519  1 ext4
lsmod: crc16                   1027  1 ext4
lsmod: ext3                   92928  1 
lsmod: jbd                    28166  1 ext3
lsmod: btrfs                 359883  0 
lsmod: zlib_deflate           15770  1 btrfs
lsmod: crc32c                  2172  1 
lsmod: libcrc32c                762  1 btrfs
lsmod: vfat                    6538  0 
lsmod: fat                    34480  1 vfat
lsmod: ext2                   45150  0 
lsmod: mbcache                 3482  3 ext4,ext3,ext2
lsmod: ide_generic              801  0 [permanent]
lsmod: ide_core               59670  1 ide_generic
lsmod: sd_mod                 25961  2 
lsmod: crc_t10dif              1012  1 sd_mod
lsmod: ata_generic             2239  0 
lsmod: pata_amd                6641  1 
lsmod: libata                117427  2 ata_generic,pata_amd
lsmod: rsrc_nonstatic          7061  0 
lsmod: pcmcia_core            20510  1 rsrc_nonstatic
lsmod: usb_storage            30905  0 
lsmod: scsi_mod              105921  3 sd_mod,libata,usb_storage
lsmod: thermal_sys             9346  0 
lsmod: ohci_hcd               17191  0 
lsmod: ehci_hcd               28859  0 
lsmod: via_rhine              14427  0 
lsmod: usbcore                99126  4 usb_storage,ohci_hcd,ehci_hcd
lsmod: nls_base                4445  5 ntfs,jfs,vfat,fat,usbcore
lsmod: mii                     2654  1 via_rhine
df: Filesystem           1K-blocks      Used Available Use% Mounted on
df: tmpfs
df:                         127736        24    127712   0% /dev
df: /dev/sda1
df:                         973624    519472    404696  56% /target
df: /dev/sda1
df:                         973624    519472    404696  56% /dev/.static/dev
df: tmpfs
df:                         127736        24    127712   0% /target/dev
free:               total         used         free       shared      buffers
free:   Mem:       255472       210464        45008            0         5600
free:  Swap:            0            0            0
free: Total:       255472       210464        45008
/proc/cmdline: initrd=debian-install/i386/initrd.gz auto=true priority=critical url=server001.f-hauri DEBCONF_DEBUG=5 netcfg/choose_interface=eth0 -- console=ttyS0,38400 BOOT_IMAGE=debian-install/i386/vmlinuz 
/proc/cpuinfo: processor	: 0
/proc/cpuinfo: vendor_id	: AuthenticAMD
/proc/cpuinfo: cpu family	: 5
/proc/cpuinfo: model		: 10
/proc/cpuinfo: model name	: Geode(TM) Integrated Processor by AMD PCS
/proc/cpuinfo: stepping	: 2
/proc/cpuinfo: cpu MHz		: 498.014
/proc/cpuinfo: cache size	: 128 KB
/proc/cpuinfo: fdiv_bug	: no
/proc/cpuinfo: hlt_bug		: no
/proc/cpuinfo: f00f_bug	: no
/proc/cpuinfo: coma_bug	: no
/proc/cpuinfo: fpu		: yes
/proc/cpuinfo: fpu_exception	: yes
/proc/cpuinfo: cpuid level	: 1
/proc/cpuinfo: wp		: yes
/proc/cpuinfo: flags		: fpu de pse tsc msr cx8 sep pge cmov clflush mmx mmxext 3dnowext 3dnow
/proc/cpuinfo: bogomips	: 996.02
/proc/cpuinfo: clflush size	: 32
/proc/cpuinfo: cache_alignment	: 32
/proc/cpuinfo: address sizes	: 32 bits physical, 32 bits virtual
/proc/cpuinfo: power management:
/proc/cpuinfo: 
/proc/ioports: 0000-001f : dma1
/proc/ioports: 0020-0021 : pic1
/proc/ioports: 0040-0043 : timer0
/proc/ioports: 0050-0053 : timer1
/proc/ioports: 0060-0060 : keyboard
/proc/ioports: 0064-0064 : keyboard
/proc/ioports: 0070-0071 : rtc_cmos
/proc/ioports:   0070-0071 : rtc0
/proc/ioports: 0080-008f : dma page reg
/proc/ioports: 00a0-00a1 : pic2
/proc/ioports: 00c0-00df : dma2
/proc/ioports: 00f0-00ff : fpu
/proc/ioports: 0170-0177 : 0000:00:0f.2
/proc/ioports:   0170-0177 : pata_amd
/proc/ioports: 01f0-01f7 : 0000:00:0f.2
/proc/ioports:   01f0-01f7 : pata_amd
/proc/ioports: 02f8-02ff : serial
/proc/ioports: 0376-0376 : 0000:00:0f.2
/proc/ioports:   0376-0376 : pata_amd
/proc/ioports: 03b0-03bb : mda
/proc/ioports: 03bf-03bf : mda
/proc/ioports: 03f6-03f6 : 0000:00:0f.2
/proc/ioports:   03f6-03f6 : pata_amd
/proc/ioports: 03f8-03ff : serial
/proc/ioports: 0cf8-0cff : PCI conf1
/proc/ioports: 1000-10ff : 0000:00:09.0
/proc/ioports:   1000-10ff : via-rhine
/proc/ioports: 1400-14ff : 0000:00:0a.0
/proc/ioports:   1400-14ff : via-rhine
/proc/ioports: 1800-18ff : 0000:00:0b.0
/proc/ioports:   1800-18ff : via-rhine
/proc/ioports: 6000-6007 : 0000:00:0f.0
/proc/ioports: 6100-61ff : 0000:00:0f.0
/proc/ioports: 6200-623f : 0000:00:0f.0
/proc/ioports: 9c00-9c3f : 0000:00:0f.0
/proc/ioports: 9d00-9d7f : 0000:00:0f.0
/proc/ioports: ac1c-ac1f : 0000:00:01.0
/proc/ioports: ff00-ff0f : 0000:00:0f.2
/proc/ioports:   ff00-ff0f : pata_amd
/proc/iomem: 00000000-0009ffff : System RAM
/proc/iomem: 000a0000-000bffff : Video RAM area
/proc/iomem: 000e0000-000effff : Extension ROM
/proc/iomem: 000f0000-000fffff : reserved
/proc/iomem:   000f0000-000fffff : System ROM
/proc/iomem: 00100000-0fffffff : System RAM
/proc/iomem:   01000000-0124986c : Kernel code
/proc/iomem:   0124986d-01367c83 : Kernel data
/proc/iomem:   013d7000-01453a5f : Kernel bss
/proc/iomem: e0000000-e00000ff : 0000:00:09.0
/proc/iomem:   e0000000-e00000ff : via-rhine
/proc/iomem: e0040000-e00400ff : 0000:00:0a.0
/proc/iomem:   e0040000-e00400ff : via-rhine
/proc/iomem: e0080000-e00800ff : 0000:00:0b.0
/proc/iomem:   e0080000-e00800ff : via-rhine
/proc/iomem: efff4000-efff7fff : 0000:00:01.2
/proc/iomem: efffd000-efffdfff : 0000:00:0f.5
/proc/iomem:   efffd000-efffdfff : ehci_hcd
/proc/iomem: efffe000-efffefff : 0000:00:0f.4
/proc/iomem:   efffe000-efffefff : ohci_hcd
/proc/iomem: fff00000-ffffffff : reserved
/proc/interrupts:            CPU0       
/proc/interrupts:   0:     483146    XT-PIC-XT        timer
/proc/interrupts:   2:          0    XT-PIC-XT        cascade
/proc/interrupts:   4:       8333    XT-PIC-XT        serial
/proc/interrupts:   8:          1    XT-PIC-XT        rtc0
/proc/interrupts:  10:     242429    XT-PIC-XT        eth0
/proc/interrupts:  12:          1    XT-PIC-XT        ehci_hcd:usb1, ohci_hcd:usb2
/proc/interrupts:  14:      67066    XT-PIC-XT        pata_amd
/proc/interrupts:  15:          0    XT-PIC-XT        pata_amd
/proc/interrupts: NMI:          0   Non-maskable interrupts
/proc/interrupts: LOC:          0   Local timer interrupts
/proc/interrupts: SPU:          0   Spurious interrupts
/proc/interrupts: PMI:          0   Performance monitoring interrupts
/proc/interrupts: PND:          0   Performance pending work
/proc/interrupts: ERR:          0
/proc/interrupts: MIS:          0
/proc/meminfo: MemTotal:         255472 kB
/proc/meminfo: MemFree:           45060 kB
/proc/meminfo: Buffers:            5600 kB
/proc/meminfo: Cached:           183896 kB
/proc/meminfo: SwapCached:            0 kB
/proc/meminfo: Active:           120384 kB
/proc/meminfo: Inactive:          41356 kB
/proc/meminfo: Active(anon):        736 kB
/proc/meminfo: Inactive(anon):     5508 kB
/proc/meminfo: Active(file):     119648 kB
/proc/meminfo: Inactive(file):    35848 kB
/proc/meminfo: Unevictable:       33976 kB
/proc/meminfo: Mlocked:               0 kB
/proc/meminfo: HighTotal:             0 kB
/proc/meminfo: HighFree:              0 kB
/proc/meminfo: LowTotal:         255472 kB
/proc/meminfo: LowFree:           45060 kB
/proc/meminfo: SwapTotal:             0 kB
/proc/meminfo: SwapFree:              0 kB
/proc/meminfo: Dirty:              4184 kB
/proc/meminfo: Writeback:             0 kB
/proc/meminfo: AnonPages:          6244 kB
/proc/meminfo: Mapped:             1708 kB
/proc/meminfo: Shmem:                24 kB
/proc/meminfo: Slab:               9752 kB
/proc/meminfo: SReclaimable:       7544 kB
/proc/meminfo: SUnreclaim:         2208 kB
/proc/meminfo: KernelStack:         480 kB
/proc/meminfo: PageTables:          316 kB
/proc/meminfo: NFS_Unstable:          0 kB
/proc/meminfo: Bounce:                0 kB
/proc/meminfo: WritebackTmp:          0 kB
/proc/meminfo: CommitLimit:      127736 kB
/proc/meminfo: Committed_AS:      10588 kB
/proc/meminfo: VmallocTotal:     770040 kB
/proc/meminfo: VmallocUsed:        3880 kB
/proc/meminfo: VmallocChunk:     763744 kB
/proc/meminfo: HugePages_Total:       0
/proc/meminfo: HugePages_Free:        0
/proc/meminfo: HugePages_Rsvd:        0
/proc/meminfo: HugePages_Surp:        0
/proc/meminfo: Hugepagesize:       4096 kB
/proc/meminfo: DirectMap4k:        8192 kB
/proc/meminfo: DirectMap4M:      253952 kB

-- System Information:
Debian Release: 6.0.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i586)

Kernel: Linux 2.6.32-5-486
Locale: LANG=fr_CH.UTF-8, LC_CTYPE=fr_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


Reply to: