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

Bug#156308: boot-floppies: installation on NFS root doesn't work



Package: boot-floppies
Version: 3.0.23

CD image: debian-30r0-powerpc-binary-1_NONUS.iso
MD5: 59437e412f1779b603dca0a677b20e82

Note on version number: /sbin/dbootstrap identifies itself as belonging
to boot-floppies 3.0.23 in the opening "Release Notes", but the list
of package sources
	ftp://ftp.debian.org/debian/dists/Debian3.0r0/main/source/Sources.gz
	MD5: 2162652a5bd38112f2c6f8c0bb4403d6
says it's version 3.0.22.  Huh?

My machine (iBook Firewire) doesn't have any mass storage devices except
a CD-ROM drive, and in this test nothing is plugged into the USB or
Firewire port.

After passing the yaboot prompt I have the following installation dialog
(window-headline (window-text) -- response  [comment]):

Choose The Language -- en
Choose Language Variant -- English (United States)
Release Notes -- Continue
Debian GNU/Linux Installation Main Menu -- Configure the Keyboard
Select a Keyboard -- qwerty/us
Main Menu -- Configure the Network
Choose the Hostname -- debian
Automatic Network Configuration -- No
Choose the IP Address -- 141.24.132.61
Choose the Network Mask -- 255.255.255.0
What is your IP gateway address? --  [empty]
Choose the Domain Name --  [empty]
Choose the DNS Server Address --  [empty]
Main Menu -- Mount a Previously-Initialized Partition
Choose NFS filesystem -- 141.24.132.30:/paul
	[I know that this export contains nothing except a directory
	named .logs and has more than one gigabyte room.  I also know
	that a certain client (Debian2.2r6, powerpc, package nfs-common)
	can do F_SETLK locking with this server (Debian3.0r0, i386,
	package nfs-kernel-server) because I have tested it from
	the client side with the small program
		http://www.tu-ilmenau.de/~past-in/pub_/trylock.tar
	]
Mount as the Root Filesystem? -- Yes
	[Now this can take a while.  Be very patient.]
Main Menu -- Install the Base System
Found a Debian CD-ROM -- Yes
Select Installation Medium -- cdrom
Please insert the CD-ROM -- Continue
Please Wait (building a list)
Select Archive path -- /instmnt  [only choice]
Installing Base System, please wait... (Retrieving, Validating, Extracting,
					Installing core packages...)
Warning (Failure trying to run: chroot /target dpkg --force-depends
         --install
         /var/cache/apt/archives/base-files_3.0.2_powerpc.deb
         /var/cache/apt/archives/base-passwd_3.4.1_powerpc.deb) -- Continue
Base Installation Error (debootstrap exited with
                         an error (return value 1)) -- Continue
Main Menu --
	[End of installation dialog.  Now dmesg and /var/log/messages
	are as shown below.]

$ dmesg
device tree used 38400 bytes
Total memory = 128MB; using 512kB for hash table (at c0400000)
Linux version 2.2.20-pmac (root@voltaire) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 Thu Mar 21 17:08:23 EST 2002
PCI bus 0 controlled by pci at f0000000
PCI bus 0 controlled by pci at f2000000
PCI bus 0 controlled by pci at f4000000
Uni-N revision: 8, KeyLargo revision: 3
Registered 1 feature controller(s)
PMU driver initialized for Core99
pmac nvram is core99: 1
PowerMac using OpenPIC irq controller
OpenPIC Version 1.2 (4 CPUs and 64 IRQ sources) at eff3d000
GMT Delta read from XPRAM: 0 minutes, DST: off
via_calibrate_decr: decrementer_count = 166442 (998654 ticks)
Console: colour dummy device 80x25
Calibrating delay loop... 730.72 BogoMIPS
Memory: 124992k available (1716k kernel code, 2740k data, 184k init) [c0000000,c8000000]
Dentry hash table entries: 16384 (order 5, 128k)
Buffer cache hash table entries: 131072 (order 7, 512k)
Page cache hash table entries: 32768 (order 5, 128k)
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
adb devices: [2]: 2 c4 [3]: 3 1 [7]: 7 1f
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
TCP: Hash tables configured (ehash 131072 bhash 65536)
Starting kswapd v 1.5 
aty128fb: detected XCLK=0x2904, ref_div=0x3b
aty128fb: Rage Mobility M3 (AGP) [chip rev 0x0] 8M 128-bit SDR SGRAM (1:1)
Console: switching to colour frame buffer device 100x37
Registered "ati" backlight controller, level: 15/15
fb0: ATY Rage128 frame buffer device on /pci@f0000000/ATY,RageM3p1@10
input0: Macintosh mouse button emulation
ADB keyboard at 2, handler 1
Detected ADB keyboard, type ISO, swapping keys.
input1: ADB HID on ID 2:2.c4
input2: ADB HID on ID 7:7.1f
ADB mouse at 3, handler set to 4 (trackpad)
input3: ADB HID on ID 3:3.01
PowerMac Z8530 serial driver version 2.0
tty00 at 0xcc804020 (irq = 22) is a Z8530 ESCC
tty01 at 0xcc80b000 (irq = 50) is a Z8530 ESCC
pty: 256 Unix98 ptys configured
Macintosh non-volatile memory driver v1.0
RAM disk driver initialized:  16 RAM disks of 8192K size
loop: registered device at major 7
pmac_ide: enabling IDE bus ID 2
pmac_ide: enabling IDE bus ID 0
pmac_ide: enabling IDE bus ID 1
hdc: MATSHITA CR-176, ATAPI CDROM drive
ide1 at 0xda815000-0xda815007,0xda815160 on irq 20
hdc: Enabling MultiWord DMA 2
hdc: ATAPI 24X CD-ROM drive, 128kB Cache
Uniform CD-ROM driver Revision: 3.11
md driver 0.36.6 MAX_MD_DEV=4, MAX_REAL=8
scsi : 0 hosts.
scsi : detected total.
eth0: GMAC at 00:30:65:ec:5d:3e, driver v1.3k2
3c59x.c 18Feb01 Donald Becker and others http://www.scyld.com/network/vortex.html
Partition check:
RAMDISK: Compressed image found at block 0
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
event0: Event device for input3
event1: Event device for input2
event2: Event device for input1
event3: Event device for input0
usb.c: registered new driver hid
keybdev.c: Adding keyboard: input1
mouse0: PS/2 mouse device for input3
mouse1: PS/2 mouse device for input0
mice: PS/2 mouse device common for all mice
PCI: Enabling bus mastering for device 00:c0
usb-ohci.c: USB OHCI at membase 0xcc82e000, IRQ 27
usb.c: new USB bus registered, assigned bus number 1
usb.c: USB new device connect, assigned device number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Enabling bus mastering for device 00:c8
PCI: Increasing latency timer of device 00:c8 to 64
__ioremap(): phys addr 0 is RAM lr c000fbfc
usb-ohci.c: Error mapping OHCI memory
usb.c: registered new driver wacom
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 184k init 28k prep
VFS: Disk change detected on device ide1(22,0)
ISO 9660 Extensions: RRIP_1991A
eth0 PHY ID: 0x00406212
eth0 Found Broadcom BCM5201 PHY
Link state change, phy_status: 0x782d
    Link up ! BCM5201 aux_stat: 0x003e
    full_duplex: 0, speed: 100
portmap: RPC call returned error 5
portmap: RPC call returned error 5
lockd_up: makesock failed, error=-5
portmap: RPC call returned error 5
ISO 9660 Extensions: RRIP_1991A
ISO 9660 Extensions: RRIP_1991A
portmap: RPC call returned error 5
nsm_mon_unmon: rpc failed, status=-5
lockd: cannot monitor 141.24.132.30
lockd: failed to monitor 141.24.132.30
portmap: RPC call returned error 5
nsm_mon_unmon: rpc failed, status=-5
lockd: cannot monitor 141.24.132.30
lockd: failed to monitor 141.24.132.30
portmap: RPC call returned error 5
nsm_mon_unmon: rpc failed, status=-5
lockd: cannot monitor 141.24.132.30
lockd: failed to monitor 141.24.132.30
$ cat /var/log/messages
Aug 11 15:39:39 (none) syslog.info syslogd started: BusyBox v0.60.3-pre (2002.01.19-22:40+0000)
Aug 11 15:39:39 (none) user.info init: Starting pid 67, console /dev/tty1: '/etc/init.d/check_fb.sh' 
Aug 11 15:39:39 (none) user.info init: Starting pid 70, console /dev/tty4: '/usr/bin/tail -f /proc/kmsg' 
Aug 11 15:39:39 (none) user.info init: Starting pid 71, console /dev/tty3: '/usr/bin/tail -f /var/log/messages' 
Aug 11 15:39:39 (none) user.info init: Waiting for enter to start '-sh' (pid 72, console /dev/tty2) 
Aug 11 15:39:39 (none) user.info init: Starting pid 73, console /dev/console: '/sbin/udbootstrap' 
Aug 11 15:39:40 (none) user.info dbootstrap[77]: dbootstrap starting; built 2002.05.16-14:09+0000 for powerpc
Aug 11 15:39:40 (none) user.info dbootstrap[77]: Unmounting partition mounted at /instmnt
Aug 11 15:44:08 (none) user.debug dbootstrap[77]: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or 
Aug 11 15:44:08 (none) user.debug dbootstrap[77]: kill -l [exitstatus] 
Aug 11 15:45:21 (none) user.info dbootstrap[77]: Mounting nfs partition 141.24.132.30:/paul on /target
Aug 11 15:47:16 (none) user.info dbootstrap[77]: making symlink from /dev/hdc to /dev/cdrom
Aug 11 15:47:16 (none) user.err dbootstrap[77]: Please place the first Debian CD-ROM in the CD-ROM drive.
Aug 11 15:48:39 (none) user.info dbootstrap[77]: running '/usr/sbin/debootstrap --boot-floppies --arch powerpc woody /target file:/instmnt'
Aug 11 15:50:38 (none) user.err dbootstrap[77]: Failure trying to run: chroot /target dpkg --force-depends --install /var/cache/apt/archives/base-files_3.0.2_powerpc.deb /var/cache/apt/archives/base-passwd_3.4.1_powerpc.deb 
Aug 11 15:52:41 (none) user.err dbootstrap[77]: debootstrap exited with an error (return value 1)
Aug 11 15:53:29 (none) user.info dbootstrap[77]: Unmounting partition mounted at /instmnt
Aug 11 15:53:39 (none) user.info init: Starting pid 72, console /dev/tty2: '-/bin/sh' 
$ ###

This was after I had responded "install" to the yaboot prompt.  On a
second try I responded "install24" to the yaboot prompt and had the
exact same installation dialog, but slightly different logs:

$ dmesg
Memory BAT mapping: BAT2=128Mb, BAT3=0Mb, residual: 0Mb
Total memory = 128MB; using 512kB for hash table (at c0300000)
Linux version 2.4.18-newpmac (root@voltaire) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 Thu Mar 14 22:44:49 EST 2002
Found Uninorth memory controller & host bridge, revision: 8
Found a Keylargo mac-io controller, rev: 3, mapped at 0xfdf7f000
Processor NAP mode on idle enabled.
PowerMac motherboard: iBook FireWire
Found UniNorth PCI host bridge at 0xf0000000. Firmware bus number: 0->0
Found UniNorth PCI host bridge at 0xf2000000. Firmware bus number: 0->0
Found UniNorth PCI host bridge at 0xf4000000. Firmware bus number: 0->0
PMU driver 2 initialized for Core99, firmware: 0c
On node 0 totalpages: 32768
zone(0): 32768 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: ro ramdisk_size=8192 disksize=2.88 
PowerMac using OpenPIC irq controller
OpenPIC Version 1.2 (4 CPUs and 64 IRQ sources) at fc731000
OpenPIC timer frequency is 4.161221 MHz
GMT Delta read from XPRAM: 0 minutes, DST: off
time_init: decrementer frequency = 16.644884 MHz
Console: colour dummy device 80x25
Calibrating delay loop... 730.72 BogoMIPS
Memory: 123824k available (1828k kernel code, 952k data, 284k init, 0k highmem)
AGP special page: 0xc7fff000
Dentry-cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
Fixup res 1 (101) of dev 00:10.0: 400 -> 802400
PCI->OF bus map:
0 -> 0
1 -> 0
2 -> 0
No OF node for device 1:19
PCI:00:10.0: Resource 0: 94000000-97ffffff (f=1208)
PCI:00:10.0: Resource 2: 90000000-90003fff (f=200)
PCI:01:17.0: Resource 0: 80000000-8007ffff (f=200)
PCI:02:0f.0: Resource 0: f5200000-f53fffff (f=200)
PCI:00:10.0: Resource 1: 00802400-008024ff (f=101)
PCI:01:18.0: Resource 0: 80080000-80080fff (f=200)
PCI:02:0e.0: Resource 0: f5000000-f5000fff (f=200)
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Thermal assist unit using timers, shrink_timer: 200 jiffies
Starting kswapd
VFS: Diskquotas version dquot_6.4.0 initialized
Journalled Block Device driver loaded
PCI: Enabling device 00:10.0 (0086 -> 0087)
aty128fb: Rage Mobility M3 (AGP) [chip rev 0x0] 8M 128-bit SDR SGRAM (1:1)
Console: switching to colour frame buffer device 100x37
Registered "ati" backlight controller, level: 15/15
fb0: ATY Rage128 frame buffer device on PCI
input0: Macintosh mouse button emulation
pty: 256 Unix98 ptys configured
block: 128 slots per queue, batch=32
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
IN from bad port cfc at c00f5598
IN from bad port cfc at c00f5598
IN from bad port cfc at c00f5598
IN from bad port cfc at c00f5598
IN from bad port cfc at c00f5598
IN from bad port cfc at c00f5598
IN from bad port cfc at c00f5598
IN from bad port cfc at c00f5598
IN from bad port cfc at c00f5598
IN from bad port cfc at c00f5598
IN from bad port cfc at c00f5598
IN from bad port cfc at c00f5598
IN from bad port cfc at c00f5598
IN from bad port cfc at c00f5598
IN from bad port cfc at c00f5598
IN from bad port cfc at c00f5598
IN from bad port cfc at c00f5598
IN from bad port cfc at c00f5598
IN from bad port cfc at c00f5598
IN from bad port cfc at c00f5598
IN from bad port cfc at c00f5598
IN from bad port cfc at c00f5598
IN from bad port cfc at c00f5598
IN from bad port cfc at c00f5598
IN from bad port cfc at c00f5598
IN from bad port cfc at c00f5598
IN from bad port cfc at c00f5598
IN from bad port cfc at c00f5598
IN from bad port cfc at c00f5598
IN from bad port cfc at c00f5598
IN from bad port cfc at c00f5598
IN from bad port cfc at c00f5598
IN from bad port c000 at c00f56ac
IN from bad port c100 at c00f56ac
IN from bad port c200 at c00f56ac
IN from bad port c300 at c00f56ac
IN from bad port c400 at c00f56ac
IN from bad port c500 at c00f56ac
IN from bad port c600 at c00f56ac
IN from bad port c700 at c00f56ac
IN from bad port c800 at c00f56ac
IN from bad port c900 at c00f56ac
IN from bad port ca00 at c00f56ac
IN from bad port cb00 at c00f56ac
IN from bad port cc00 at c00f56ac
IN from bad port cd00 at c00f56ac
IN from bad port ce00 at c00f56ac
IN from bad port cf00 at c00f56ac
pmac_ide: enabling IDE bus ID 2
pmac_ide: enabling IDE bus ID 0
pmac_ide: enabling IDE bus ID 1
hdc: MATSHITA CR-176, ATAPI CD/DVD-ROM drive
ide1 at 0xcc88e000-0xcc88e007,0xcc88e160 on irq 20
hdc: Enabling MultiWord DMA 2
ide_pmac: MDMA, cycleTime: 120, accessTime: 90, recTime: 30
ide_pmac: Set MDMA timing for mode 2, reg: 0x00011d26
hdc: ATAPI 24X CD-ROM drive, 128kB Cache, (U)DMA
Uniform CD-ROM driver Revision: 3.12
loop: loaded (max 8 devices)
eth0: GMAC at 00:30:65:ec:5d:3e, driver v1.5k4
SCSI subsystem driver Revision: 1.00
request_module[scsi_hostadapter]: Root fs not mounted
request_module[scsi_hostadapter]: Root fs not mounted
Macintosh non-volatile memory driver v1.0
apm_emu: APM Emulation 0.5 initialized.
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Enabling device 01:18.0 (0000 -> 0002)
usb-ohci.c: USB OHCI at membase 0xc9821000, IRQ 27
usb-ohci.c: usb-01:18.0, Apple Computer Inc. KeyLargo USB
adb: starting probe task...
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver usb_mouse
usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
usb.c: registered new driver keyboard
usbkbd.c: :USB HID Boot Protocol keyboard driver
mice: PS/2 mouse device common for all mice
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 8192 bind 8192)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 1440k freed
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 284k init 8k chrp 36k prep
adb devices: [2]: 2 c4 [3]: 3 1 [7]: 7 1f
ADB keyboard at 2, handler 1
Detected ADB keyboard, type ISO, swapping keys.
input1: ADB HID on ID 2:2.c4
input2: ADB HID on ID 7:7.1f
ADB mouse at 3, handler set to 4 (trackpad)
input3: ADB HID on ID 3:3.01
adb: finished probe task...
VFS: Disk change detected on device ide1(22,0)
ISO 9660 Extensions: RRIP_1991A
eth0: PHY ID: 0x00406212
eth0: Found Broadcom BCM5201 PHY
eth0: Link state change, phy_status: 0x782d
eth0:    Link up ! BCM5201/5221 aux_stat: 0x003e
eth0:    Full Duplex: 0, Speed: 100
portmap: server localhost not responding, timed out
portmap: server localhost not responding, timed out
lockd_up: makesock failed, error=-5
portmap: server localhost not responding, timed out
ISO 9660 Extensions: RRIP_1991A
ISO 9660 Extensions: RRIP_1991A
nsm_mon_unmon: rpc failed, status=-110
lockd: cannot monitor 141.24.132.30
lockd: failed to monitor 141.24.132.30
nsm_mon_unmon: rpc failed, status=-110
lockd: cannot monitor 141.24.132.30
lockd: failed to monitor 141.24.132.30
nsm_mon_unmon: rpc failed, status=-110
lockd: cannot monitor 141.24.132.30
lockd: failed to monitor 141.24.132.30
$ cat /var/log/messages
Aug 11 16:05:20 (none) syslog.info syslogd started: BusyBox v0.60.3-pre (2002.01.19-22:40+0000)
Aug 11 16:05:20 (none) user.info init: Starting pid 73, console /dev/tty4: '/usr/bin/tail -f /proc/kmsg' 
Aug 11 16:05:20 (none) user.info init: Starting pid 74, console /dev/tty3: '/usr/bin/tail -f /var/log/messages' 
Aug 11 16:05:20 (none) user.info init: Waiting for enter to start '-sh' (pid 75, console /dev/tty2) 
Aug 11 16:05:20 (none) user.info init: Starting pid 76, console /dev/console: '/sbin/udbootstrap' 
Aug 11 16:05:20 (none) user.info dbootstrap[80]: dbootstrap starting; built 2002.05.16-14:09+0000 for powerpc
Aug 11 16:05:20 (none) user.info dbootstrap[80]: Unmounting partition mounted at /instmnt
Aug 11 16:06:12 (none) user.debug dbootstrap[80]: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or 
Aug 11 16:06:12 (none) user.debug dbootstrap[80]: kill -l [exitstatus] 
Aug 11 16:06:27 (none) user.info dbootstrap[80]: Mounting nfs partition 141.24.132.30:/paul on /target
Aug 11 16:12:15 (none) user.info dbootstrap[80]: making symlink from /dev/hdc to /dev/cdrom
Aug 11 16:12:15 (none) user.err dbootstrap[80]: Please place the first Debian CD-ROM in the CD-ROM drive.
Aug 11 16:12:48 (none) user.info dbootstrap[80]: running '/usr/sbin/debootstrap --boot-floppies --arch powerpc woody /target file:/instmnt'
Aug 11 16:15:33 (none) user.err dbootstrap[80]: Failure trying to run: chroot /target dpkg --force-depends --install /var/cache/apt/archives/base-files_3.0.2_powerpc.deb /var/cache/apt/archives/base-passwd_3.4.1_powerpc.deb 
Aug 11 16:15:42 (none) user.err dbootstrap[80]: debootstrap exited with an error (return value 1)
Aug 11 16:15:45 (none) user.info dbootstrap[80]: Unmounting partition mounted at /instmnt
Aug 11 16:15:57 (none) user.info init: Starting pid 75, console /dev/tty2: '-/bin/sh' 
$ ###

This problem has been discussed from a different angle in the messages
listed below.  There I propose a change to dpkg, but that won't change the
user's experience shown in This message.

http://lists.debian.org/debian-cd/2002/debian-cd-200205/msg00154.html
http://lists.debian.org/debian-cd/2002/debian-cd-200205/msg00164.html
http://lists.debian.org/debian-dpkg/2002/debian-dpkg-200206/msg00027.html
http://lists.debian.org/debian-dpkg/2002/debian-dpkg-200206/msg00032.html
http://lists.debian.org/debian-dpkg/2002/debian-dpkg-200206/msg00033.html
http://lists.debian.org/debian-dpkg/2002/debian-dpkg-200206/msg00034.html
http://lists.debian.org/debian-dpkg/2002/debian-dpkg-200206/msg00037.html
http://lists.debian.org/debian-dpkg/2002/debian-dpkg-200206/msg00038.html
http://lists.debian.org/debian-dpkg/2002/debian-dpkg-200208/msg00069.html

And now for something completely different: Pizza!



Reply to: