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

Re: netbooting root.bin?



> At some point, does not mean much.

You are entirely right.

> And also please tell us what architecture, and
> which version of boot-floppies you are using.

Debian 2.2r4, i386.

  ######################################################
  # pxelinux.cfg/default                               #
  ######################################################
DEFAULT installer
TIMEOUT 1000

LABEL installer
 KERNEL vmlinuz-2.2.19
 APPEND initrd=Debian2.2r4-root.bin root=0100 rw mem=256M panic=180 video=scrollback:100k

  ######################################################
  # pxe bootup                                         #
  ######################################################

root disk is the "root.bin" image, still compressed.  Kernel, is the same.
Both are loaded up fine via PXE.  IP address for PXE is delivered via
dhcp.


  ######################################################
  # installer                                          #
  ######################################################

The installer loads up.  dmesg looks good from the view in the second
virtual console's point of view.  Anything else has gone by too fast to
notice.


------------------------------------------
 of MP IRQ sources: 17.
number of IO-APIC #4 registers: 16.
number of IO-APIC #5 registers: 16.
testing the IO APIC........................

IO APIC #4......
.... register #00: 04000000
.......    : physical APIC id: 04
.... register #01: 000F0011
.......    : max redirection entries: 0000F
.......    : IO APIC

[snip]

[attempt to get this, by saving it to a partition then net booting a ram OS]

----------------------

"Your keyboard has not been configured.  Please seelect "Next" from the menu
to configure the keyboard.

[do that]

"There are "Linux native" and "Linux swap" partitions...   [This drive is
already parititoned].

I initialize the swap partition, /dev/sda5

There are "Linux Native" ....  Same deal.
At teh "Pre-2.2 Linux Kernel Compatibility" question I say "no".

I skip the scan for bad blocks.

"Are you sure?"  Yes, I'm sure I want to initialize /dev/sda1.


mke2fs runs.

"Mount as the Root Filesystem?"   Yes.

"You've mounted your root file system.  You may initialize and mount
adtional filesystems, or you may go to install the operating system kernel
and the modules."

I choose the default option - Install OPerating System Kernel and Modules.

"Please select the medium you will use to install the system."
I choose network.

"You must first configure your network.  Please do so now."
I set the hostname to "debian"
I choose eth0  [which, when I net boot a small /dev/ram0 based version of
debian, eth0 works fine]

In the second vty, I verify that eth0 is not configured with an IP address.

I let the installer configure for dhcp; it immediately fails.  The DHCP
server that was used to PXE boot this host, did not see a broadcast request
for DHCP at all.

[later run]:
Jan 13 17:25:07 (none) daemon.info pumpd[59]: starting at Sun Jan 13 17:25:07 2002
Jan 13 17:25:07 (none) daemon.debug pumpd[59]: PUMP: sending discover
Jan 17 17:25:07 (none) daemon.debug pumpd[59]: breq: opcode: 1
Jan 17 17:25:07 (none) daemon.debug pumpd[59]: breq: hwlength: 6
Jan 17 17:25:07 (none) daemon.debug pumpd[59]: breq: id: 0x9906cdfd
Jan 17 17:25:07 (none) daemon.debug pumpd[59]: breq: flags: 0x   0
Jan 17 17:25:07 (none) daemon.debug pumpd[59]: breq: ciaddr: 0.0.0.0
Jan 17 17:25:07 (none) daemon.debug pumpd[59]: breq: server_ip: 0.0.0.0
Jan 17 17:25:07 (none) daemon.debug pumpd[59]: breq: hwaddr:
Jan 17 17:25:07 (none) daemon.debug pumpd[59]: breq: bootfile:
Jan 17 17:25:07 (none) daemon.debug pumpd[59]: breq: vendor: 0x63 0x53 0x82 0x63
Jan 17 17:25:07 (none) daemon.debug pumpd[59]: breq: vendor:  53   1 0x 1
Jan 17 17:25:07 (none) daemon.debug pumpd[59]: PUMP: sending discover
Jan 17 17:25:07 (none) daemon.debug pumpd[59]: breq: opcode: 1
Jan 17 17:25:07 (none) daemon.debug pumpd[59]: breq: hwlength: 6
Jan 17 17:25:07 (none) daemon.debug pumpd[59]: breq: id: 0x9906cdfd
Jan 17 17:25:07 (none) daemon.debug pumpd[59]: breq: flags: 0x   0
Jan 17 17:25:07 (none) daemon.debug pumpd[59]: breq: yaddr: 0.0.0.0
Jan 17 17:25:07 (none) daemon.debug pumpd[59]: breq: bootp_gw_ip:0.0.0.0
Jan 17 17:25:07 (none) daemon.debug pumpd[59]: breq: servername:
Jan 17 17:25:07 (none) daemon.debug pumpd[59]: breq: vendor: 0x63 0x53 0x82 0x63
Jan 17 17:25:07 (none) daemon.debug pumpd[59]: breq: vendor:  53   1 0x 1
Jan 17 17:25:07 (none) user.info dbootstrap[37]: Operation failed.


I manually configure the interface.  I'm not too upset about DHCP not
working; this install method is for interactice installs anyways.  Annoying,
but not the end of the world.  I configure 192.168.0.151, 255.255.255.0, and
192.168.0.1 - the same values DHCP would have assigned, had it seen a
request.

I leave the domain field blank.

I configure the name servers to point to a valid name server on the same
network.

"Fetching installation files over the netowrk"
 images-1.44/rescue.bin
 drivers.tgz
I let it choose the default http locations for this test.  As I get closer
to having this work I'll use a proper local mirror that I replicate
into each location where I set up install servers.

images-1.44/rescue.bin fetches from debian/dists/potato/main/disks-i386/current/.
drivers.tgz fetches.

Now it gets interesting.

[times are UTC]

Jan 13 17:02:02 (none) user.info dbootstrap[37]: Mounting /dev/loop0 on /floppy failed: No such device
Jan 13 17:02:02 (none) user.info dbootstrap[37]: Mounting /dev/loop0 on /floppy failed: Invalid argument
Jan 13 17:02:04 (none) user.err dbootstrap[37]: Unable to mount the Rescue Floppy.  You may have inserted the wrong floppy.  Please try again.

/floppy exists, as well as /dev/loop0 (mode 7,0).

For what it is worth, /target/tmp/rescue.bin and /target/tmp/drivers.tgz
exists.


"Please select the floppy drive you will use to read the Rescue Floppy".

I hit cancel

Installation of the file "/tmp/rescue.bin" failed

Here is the dmesg that is remainin in the buffer after this failure.

ster #01: 000F0011
.......     : max redirection entries: 000F
.......     : IO APIC version: 0011
.... register #02: 00000000
.......     : arbitration: 00
.... IRQ redirection table:
 NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
 00 003 03  0    0    0   0   0    0    7    51
 01 000 00  0    0    0   0   0    1    1    59
 02 000 00  0    0    0   0   0    1    1    51
 03 000 00  0    0    0   0   0    1    1    61
 04 000 00  0    0    0   0   0    1    1    69
 05 000 00  1    0    0   0   0    0    0    00
 06 000 00  0    0    0   0   0    1    1    71
 07 000 00  1    0    0   0   0    0    0    00
 08 000 00  0    0    0   0   0    1    1    79
 09 000 00  1    0    0   0   0    0    0    00
 0a 0FF 0F  1    1    0   1   0    1    1    81
 0b 000 00  1    0    0   0   0    0    0    00
 0c 000 00  0    0    0   0   0    1    1    89
 0d 000 00  1    0    0   0   0    0    0    00
 0e 000 00  0    0    0   0   0    1    1    91
 0f 000 00  0    0    0   0   0    1    1    99

IO APIC #5......
.... register #00: 05000000
.......    : physical APIC id: 05
.... register #01: 000F0011
.......     : max redirection entries: 000F
.......     : IO APIC version: 0011
.... register #02: 01000000
.......     : arbitration: 01
.... IRQ redirection table:
 NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
 00 000 00  1    0    0   0   0    0    0    00
 01 000 00  1    0    0   0   0    0    0    00
 02 0FF 0F  1    1    0   1   0    1    1    A1
 03 000 00  1    0    0   0   0    0    0    00
 04 0FF 0F  1    1    0   1   0    1    1    A9
 05 0FF 0F  1    1    0   1   0    1    1    B1
 06 000 00  1    0    0   0   0    0    0    00
 07 000 00  1    0    0   0   0    0    0    00
 08 000 00  1    0    0   0   0    0    0    00
 09 000 00  1    0    0   0   0    0    0    00
 0a 0FF 0F  1    1    0   1   0    1    1    B9
 0b 0FF 0F  1    1    0   1   0    1    1    C1
 0c 000 00  1    0    0   0   0    0    0    00
 0d 000 00  1    0    0   0   0    0    0    00
 0e 000 00  1    0    0   0   0    0    0    00
 0f 000 00  1    0    0   0   0    0    0    00
IRQ to pin mappings:
IRQ0 -> 2
IRQ1 -> 1
IRQ3 -> 3
IRQ4 -> 4
IRQ6 -> 6
IRQ8 -> 8
IRQ10 -> 10
IRQ12 -> 12
IRQ13 -> 13
IRQ14 -> 14
IRQ15 -> 15
IRQ18 -> 2
IRQ20 -> 4
IRQ21 -> 5
IRQ26 -> 10
IRQ27 -> 11
.................................... done.
checking TSC synchronization across CPUs: passed.
PCI: PCI BIOS revision 2.10 entry at 0xfda75
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: 00:00 [1166/0008]: Scanning peer host bridges
PCI: Scanning ServerWorks HE/LE Peer Bus Bridge 00/00
PCI: 00:01 [1166/0008]: Scanning peer host bridges
PCI: Scanning ServerWorks HE/LE Peer Bus Bridge 00/01
PCI->APIC IRQ transform: (B0,I3,P0) -> 21
PCI->APIC IRQ transform: (B0,I4,P0) -> 20
PCI->APIC IRQ transform: (B0,I12,P0) -> 18
PCI->APIC IRQ transform: (B0,I15,P0) -> 10
PCI->APIC IRQ transform: (B0,I15,P0) -> 10
PCI->APIC IRQ transform: (B1,I7,P0) -> 27
PCI->APIC IRQ transform: (B1,I7,P1) -> 26
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
TCP: Hash tables configured (ehash 262144 bhash 65536)
Starting kswapd v 1.5
vga16fb: initializing
vga16fb: mapped to 0x800a0000
Console: switching to colour frame buffer device 80x30
fb0: VGA16 VGA frame buffer device
Serial driver version 4.27 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
pty: 256 Unix98 ptys configured
Real Time Clock Driver v1.09
RAM disk driver initialized:  16 RAM disks of 4096K size
loop: registered device at major 7
PCI_IDE: unknown IDE controller on PCI bus 00 device 79, VID=1166, DID=0212
PCI_IDE: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x03a0-0x03a7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x03a8-0x03af, BIOS settings: hdc:pio, hdd:pio
hda: SAMSUNG CD-ROM SN-124, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: ATAPI 24X CD-ROM drive, 128kB Cache
Uniform CD-ROM driver Revision: 3.11
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
md driver 0.36.6 MAX_MD_DEV=4, MAX_REAL=8
(scsi0) <Adaptec AIC-7899 Ultra 160/m SCSI host adapter> found at PCI 1/7/0
(scsi0) Wide Channel A, SCSI ID=7, 32/255 SCBs
(scsi0) Downloading sequencer code... 396 instructions downloaded
(scsi1) <Adaptec AIC-7899 Ultra 160/m SCSI host adapter> found at PCI 1/7/1
(scsi1) Wide Channel B, SCSI ID=7, 32/255 SCBs
(scsi1) Downloading sequencer code... 396 instructions downloaded
sym53c416.c: Version 1.0.0
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.33/3.2.4
       <Adaptec AIC-7899 Ultra 160/m SCSI host adapter>
scsi1 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.33/3.2.4
       <Adaptec AIC-7899 Ultra 160/m SCSI host adapter>
scsi : 2 hosts.
  Vendor: SEAGATE   Model: ST336752LC        Rev: 0003
  Type:   Direct-Access                      ANSI SCSI revision: 03
Detected scsi disk sda at scsi1, channel 0, id 0, lun 0
(scsi1:0:0:1) Synchronous at 160.0 Mbyte/sec, offset 63.
  Vendor: SEAGATE   Model: ST336752LC        Rev: 0003
  Type:   Direct-Access                      ANSI SCSI revision: 03
Detected scsi disk sdb at scsi1, channel 0, id 1, lun 0
(scsi1:0:1:1) Synchronous at 160.0 Mbyte/sec, offset 63.
  Vendor: ESG-SHV   Model: SCA HSBP M18      Rev: 0.06
  Type:   Processor                          ANSI SCSI revision: 02
scsi : detected 2 SCSI disks total.
SCSI device sda: hdwr sector= 512 bytes. Sectors= 71687369 [35003 MB] [35.0 GB]
SCSI device sdb: hdwr sector= 512 bytes. Sectors= 71687369 [35003 MB] [35.0 GB]
3c59x.c 18Feb01 Donald Becker and others http://www.scyld.com/network/vortex.html
pcnet32.c: PCI bios is present, checking for devices...
eepro100.c:v1.09j-t 9/29/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/eepro100.html
eepro100.c: $Revision: 1.20.2.10 $ 2000/05/31 Modified by Andrey V. Savochkin <saw@saw.sw.com.sg> and others
eepro100.c: VA Linux custom, Dragan Stancevic <visitor@valinux.com> 2000/11/15
eth0: OEM i82557/i82558 10/100 Ethernet, 00:03:47:A5:0E:0C, IRQ 21.
  Board assembly fab600-000, Physical connectors present: RJ45
  Primary interface chip i82555 PHY #1.
  General self-test: passed.
  Serial sub-system self-test: passed.
  Internal registers self-test: passed.
  ROM checksum self-test: passed (0xb874c1d3).
eth1: OEM i82557/i82558 10/100 Ethernet, 00:03:47:A5:0E:0D, IRQ 20.
  Board assembly fab600-000, Physical connectors present: RJ45
  Primary interface chip i82555 PHY #1.
  General self-test: passed.
  Serial sub-system self-test: passed.
  Internal registers self-test: passed.
  ROM checksum self-test: passed (0xb874c1d3).
eepro100.c:v1.09j-t 9/29/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/eepro100.html
eepro100.c: $Revision: 1.20.2.10 $ 2000/05/31 Modified by Andrey V. Savochkin <saw@saw.sw.com.sg> and others
eepro100.c: VA Linux custom, Dragan Stancevic <visitor@valinux.com> 2000/11/15
via-rhine.c:v1.08b-LK1.0.0 12/14/2000  Written by Donald Becker
  http://www.scyld.com/network/via-rhine.html
Partition check:
 sda: sda1 sda2 < sda5 sda6 >
 sdb: sdb1 sdb2 < sdb5 >
RAMDISK: Compressed image found at block 0
EXT2-fs warning: checktime reached, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 156k freed
Adding Swap: 1052248k swap-space (priority -1)
cdrom: open failed.
VFS: Disk change detected on device ide0(3,0)
eth0: 0 multicast blocks dropped.
eth0: 0 multicast blocks dropped.
VFS: Can't find an ext2 filesystem on dev loop(7,0).



Reply to: