Hi, I tried to get the hurd running, but ran into problems. Sorry this is such a long message; I felt it best to give all the info I have.
The changes I made to cross-install to get it to work (and some minor
improvement) are as follows:
================================================================================
--- cross-install Mon Oct 18 20:44:17 1999
+++ /u3/linux/cross-install Wed Feb 23 12:01:11 2000
@@ -139,7 +139,7 @@
while [ "$#" -ne 0 ]
do
case "$1" in
-
"--hostname"|"--dpkghurd"|"--nativeinstall"|"--log"|"--download"|"--repository")
+
"--host"|"--hostname"|"--domain"|"--dpkghurd"|"--nativeinstall"|"--log"|"--download"|"--repository")
if [ "$#" -lt 2 ]
then
echo "$1 needs an argument"
@@ -315,14 +315,20 @@
done
set +e
-errors=`grep -v 'trying to overwrite\|but is unpacked but not
configured\|Preparing to replace\|Unpacking\|pre-dependency problem\|Selecting
previously deselected package\|pre-depends on\|overriding problem because
--force enabled\|(Reading database ...\| package architecture (hurd-i386) does
not match system\|is not installed.\|but has never been configured.\|dpkg-deb:
building package' ${log}`
+
+PURE_NOISE='trying to overwrite|but is unpacked but not
configured|pre-dependency problem|pre-depends on|overriding problem because
--force enabled|\(Reading database ...| package architecture \(hurd-i386\) does
not match system|is not installed.|but has never been configured.|dpkg-deb:
building package|Replacing files in old package '
+USEFUL_NOISE='Preparing to replace|Selecting previously deselected
package|Unpacking'
+
+errors=`grep -Ev "${PURE_NOISE}|${USEFUL_NOISE}" ${log}`
set -e
if [ ! "x${errors}" = x ] ; then
echo
- echo "ERROR: dpkg did return unusual messages, please investigate:"
+ echo "ERROR: dpkg returned unusual messages, please investigate."
+ echo "Otherwise-disregarded messages matching the following regexp are
included below:"
+ echo " ${USEFUL_NOISE}"
echo
- grep -v '^rm: /tmp/.*: Device or resource busy$\|dpkg - warning,
overriding problems\|trying to override\|Preparing to
replace\|Unpacking\|pre-dependency problem\|Selecting previously deselected
package\|pre-depends on\|overriding problem because --force enabled\|(Reading
database ...\| package architecture (hurd-i386) does not match system\|is not
installed.\|but has never been configured.\|dpkg-deb: building package' ${log}
+ grep -Ev "${NOISE_MSGS}" ${log}
exit 1
fi
================================================================================
I installed the hurd onto /u3/ a.k.a. /dev/hdb3. Packages I used were:
================================================================================
dpkg --admindir=/u3/var/lib/dpkg -l:
Desired=Unknown/Install/Remove/Purge
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-===============-==============-============================================
iU adduser 3.11.1 Add users and groups to the system.
iU ae 962-26 Anthony's Editor -- a tiny full-screen edito
iU base-files 2.1.18.0 Debian base system miscellaneous files
iU base-passwd 3.1.7 Debian Base System Password/Group Files
iU bash 2.02.1-1.4 The GNU Bourne Again SHell
iU bsdutils 4.4.1.1 Basic utilities from 4.4BSD-Lite.
iU debianutils 1.13.2 Miscellaneous utilities specific to Debian.
iU diff 2.7-20 File comparison utilities
iU dpkg 1.4.1.7 Package maintenance system for Debian
iU dpkg-ftp 1.6.7 Ftp method for dselect.
iU dpkg-mountable 0.8 Enhanced access method for dselect
iU dpkg-multicd 0.16.1 Installation methods for multiple binary CDs
iU e2fsprogs 1.15-1 The EXT2 file system utilities and libraries
iU ed 0.2-17 The classic unix line editor
iU fileutils 4.0-2.1 GNU file management utilities.
iU findutils 4.1-34 utilities for finding files--find, xargs, an
iU gconv-modules 2.1.2-0pre12 GNU C Library: Codeset conversion modules
iU gnumach 1.2-2 The GNU version of the Mach microkernel
iU grep 2.4-2 GNU grep, egrep and fgrep.
iU grub 0.5.93.1 GRand Unified Bootloader
iU gzip 1.2.4-33 The GNU compression utility.
iU hostname 2.07 A utility to set/show the host name or domai
iU hurd 19990907 The GNU Hurd
iU inetutils 1.3.2-9 GNU networking utilities
iU less 340-1 A file pager program, similar to more(1)
iU libc0.2 2.1.2-0pre12 GNU C Library: Shared libraries and timezone
ii libc6 2.0.110
iU libgdbmg1 1.7.3-26.2 GNU dbm database routines (runtime version).
iU libncurses4 4.2-3.1 Shared libraries for terminal handling
iU libnet-perl 1.0606-3 Implementation of Internet protocols for Per
iU libreadlineg2 2.1-15 GNU readline and history libraries, run-time
iU libstdc++2.9 2.91.66-1.2 The GNU stdc++ library (egcs version)
iU libwrap0 7.6-3 Wietse Venema's TCP wrappers library
iU locales 2.1.2-11.0.1 GNU C Library: National Language (locale) da
iU mawk 1.3.3-5 a pattern scanning and text processing langu
iU ncurses-base 5.0-5 Descriptions of common terminal types
iU ncurses-bin 4.2-3.1 Terminal-related programs and man pages
iU passwd 980403-0.3.3 Change and administer password and group dat
iU perl-5.005 5.005.03-1 Larry Wall's Practical Extracting and Report
iU perl-5.005-base 5.005.03-1 The Pathologically Eclectic Rubbish Lister
iU perl-base 5.004.05-1.1 Fake package assuring that one of the -base
iU sed 3.02-5 The GNU sed stream editor.
iU shellutils 2.0-1 The GNU shell programming utilities.
iU slang1 1.3.9-1 The S-Lang programming library - runtime ver
iU syslogd 1.3.2-9 System logging daemon
iU tar 1.13.6-1 GNU tar
iU tcpd 7.6-3 Wietse Venema's TCP wrapper utilities
iU textutils 2.0-2 The GNU text file processing utilities.
================================================================================
I also tried upgrading the following; it made no difference to the results.
================================================================================
iU bash 2.03-5.1 The GNU Bourne Again SHell
iU dpkg 1.4.1.13 Package maintenance system for Debian
iU hurd 20000130 The GNU Hurd
iU ncurses-bin 5.0-5 Terminal-related programs and man pages
iU passwd 19990827-16 Change and administer password and group dat
iU tar 1.13.15-1 GNU tar
================================================================================
My attempts to boot mach go like this:
================================================================================
AMIBIOS (C)1992 American Megatrends, Inc.
BIOS Version 1.00.06.CB0
0024576 KB
[...Keyboard, hard disks, floppy...]
*BEEP*
<shift>
1FA:
GRUB version 0.5.93.1 (639K lower / 23552K upper memory)
[...]
grub> root (hd1,2)
Filesystem type is ext2fs, partition type 0x83
grub> kernel /boot/gnumach.gz root=hd1s3 -s
[Multiboot-elf, [...]]
grub> module /boot/serverboot.gz
[Multiboot-module [...]]
grub> boot
GNUmach 1.2
AT386 boot: physical memory from 0x0 to 0x1800000
pcibios_init : BIOS32 Service Directory structure at 0x000fd450
pcibios_init : BIOS32 Service Directory entry at 0xfd460
pcibios_init : PCI BIOS revision 2.10 entry at 0xfd481
Probing PCI hardware.
ide: i82371 PIIX (Triton) on PCI bus 0 function 57
ide0: BM-DMA at 0xffa0-0xffa7
ide1: BM-DMA at 0xffa8-0xffaf
hd0: ST51080A, 1033MB w/128kB Cache, CHS=525/64/63
hd1: ST36531A, 6204MB w/128kB Cache, CHS=790/255/63, DMA
hs2: MATSHITA CR-581, ATAPI CDROM drive
hd3: LS-120 COSM 05 UHD Floppy, ATAPI cdrom or floppy?, assuming FLOPPY - not
supported by this kernel
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
Failed initialization of WD-7000 SCSI card!
EATA0: address 0x1f0 in use, skipping probe.
EATA0: address 0x170 in use, skipping probe.
ppa: Version 1.42
ppa: Probing port 03bc
ppa: Probing port 0378
ppa: SPP port present
ppa: EPP 1.7
ppa: Probing port 0278
scsi : 0 hosts.
scsi : detected total.
================================================================================
At this point, nothing else happened. After the time it took to type
the messages above into my laptop, the machine was still hung...
Details of my system follow. I think all the important stuff is claimed
to be supported by mach and hurd (the IDE floppy and parport CDRW not
being important at the moment...) AFAICS, the only thing odd about
my system is the output from "fdisk -l /dev/hdb" (see below). IIRC, I
created /dev/hdb's partition table using Linux fdisk, so the only reason I
can see for the messages fdisk gives is that the disk geometry translation
must have changed at some point. I don't know why, because I don't
really know what's responsible for EIDE disk geometry and translation.
As far as I know, GRUB uses LBA and I'd hope that Mach would do so too.
I'd appreciate any ideas on what could be wrong...
================================================================================
/proc/cmdline:
auto BOOT_IMAGE=Linux ro root=301 BOOT_FILE=/vmlinuz parport=0x378,7,3
================================================================================
/proc/cpuinfo:
processor : 0
vendor_id : GenuineIntel
cpu family : 5
model : 2
model name : Pentium 75 - 200
stepping : 5
cpu MHz : 99.717607
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : yes
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr mce cx8
bogomips : 39.73
================================================================================
/proc/devices:
Character devices:
1 mem
2 pty
3 ttyp
4 ttyS
5 cua
7 vcs
10 misc
14 sound
29 fb
97 pg
128 ptm
136 pts
Block devices:
2 fd
3 ide0
22 ide1
46 pcd
================================================================================
ifconfig:
eth0 Link encap:Ethernet HWaddr 00:C0:F0:0C:15:D1
inet addr:10.0.0.1 Bcast:10.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:82032 errors:0 dropped:0 overruns:0 frame:0
TX packets:136407 errors:0 dropped:0 overruns:0 carrier:0
collisions:53 txqueuelen:100
Interrupt:10 Base address:0x300
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:94561 errors:0 dropped:0 overruns:0 frame:0
TX packets:94561 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
================================================================================
/proc/dma:
1: SoundBlaster8
4: cascade
5: SoundBlaster16
================================================================================
/proc/ide/drivers:
ide-floppy version 0.9
ide-cdrom version 4.53
ide-disk version 1.08
================================================================================
/proc/ide/ide0/model: pci
/proc/ide/ide1/model: pci
================================================================================
/proc/ide/ide0/hda/media: disk
/proc/ide/ide0/hda/model: ST51080A
/proc/ide/ide0/hda/capacity: 2116800
/proc/ide/ide0/hda/geometry: physical 2100/16/63
logical 525/64/63
================================================================================
/proc/ide/ide0/hdb/media: disk
/proc/ide/ide0/hdb/model: ST36531A
/proc/ide/ide0/hdb/capacity: 12706470
/proc/ide/ide0/hdb/geometry: physical 13446/15/63
logical 790/255/63
================================================================================
/proc/ide/ide1/hdc/media: cdrom
/proc/ide/ide1/hdc/model: MATSHITA CR-581
/proc/ide/ide1/hdc/capacity: 2147483647
================================================================================
/proc/ide/ide1/hdd/media: floppy
/proc/ide/ide1/hdd/model: LS-120 COSM 05 UHD Floppy
/proc/ide/ide1/hdd/capacity: 0
/proc/ide/ide1/hdd/geometry: physical 0/0/0
logical 963/8/32
================================================================================
/proc/interrupts:
CPU0
0: 708133 XT-PIC timer
1: 11771 XT-PIC keyboard
2: 0 XT-PIC cascade
4: 22627 XT-PIC serial
5: 3 XT-PIC soundblaster
7: 1 XT-PIC parport0
8: 1 XT-PIC rtc
10: 1152 XT-PIC NE2000
13: 1 XT-PIC fpu
14: 275544 XT-PIC ide0
15: 16 XT-PIC ide1
NMI: 0
================================================================================
/proc/ioports:
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0220-022f : soundblaster
02f8-02ff : serial(auto)
0300-031f : NE2000
0330-0333 : MPU-401 UART
0376-0376 : ide1
0378-037a : parport0
0388-038b : OPL3/OPL2
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(auto)
ffa0-ffa7 : ide0
ffa8-ffaf : ide1
================================================================================
/proc/parport/0/autoprobe:
MODEL:Unknown device;
MANUFACTURER:Unknown vendor;
================================================================================
/proc/parport/0/devices:
pg0
pcd0
================================================================================
/proc/parport/0/hardware:
base: 0x378
irq: 7
dma: 3
modes: SPP
================================================================================
/proc/parport/0/irq:
7
================================================================================
/proc/partitions:
major minor #blocks name
3 0 1058400 hda
3 1 211648 hda1
3 2 34272 hda2
3 3 812448 hda3
3 64 6353235 hdb
3 65 2764566 hdb1
3 66 2764597 hdb2
3 67 824040 hdb3
22 0 1073741823 hdc
================================================================================
[EMAIL PROTECTED]:/var/tmp/hurd# fdisk -l /dev/hda
Disk /dev/hda: 64 heads, 63 sectors, 525 cylinders
Units = cylinders of 4032 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 105 211648+ 83 Linux
/dev/hda2 106 122 34272 82 Linux swap
/dev/hda3 123 525 812448 83 Linux
[EMAIL PROTECTED]:/var/tmp/hurd# fdisk -l /dev/hdb
Disk /dev/hdb: 255 heads, 63 sectors, 790 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 345 2764566 83 Linux
Partition 1 has different physical/logical endings:
phys=(1023, 14, 63) logical=(344, 44, 63)
Partition 1 does not end on cylinder boundary:
phys=(1023, 14, 63) should be (1023, 254, 63)
/dev/hdb2 345 689 2764597+ 83 Linux
Partition 2 has different physical/logical beginnings (non-Linux?):
phys=(1023, 14, 63) logical=(344, 45, 1)
Partition 2 has different physical/logical endings:
phys=(1023, 14, 63) logical=(688, 89, 63)
Partition 2 does not end on cylinder boundary:
phys=(1023, 14, 63) should be (1023, 254, 63)
/dev/hdb3 689 791 824040 83 Linux
Partition 3 has different physical/logical beginnings (non-Linux?):
phys=(1023, 14, 63) logical=(688, 90, 1)
Partition 3 has different physical/logical endings:
phys=(1023, 14, 63) logical=(790, 239, 63)
Partition 3 does not end on cylinder boundary:
phys=(1023, 14, 63) should be (1023, 254, 63)
================================================================================
lspci:
00:00.0 Host bridge: Intel Corporation 430FX - 82437FX TSC [Triton I] (rev 01)
00:07.0 ISA bridge: Intel Corporation 82371FB PIIX ISA [Triton I] (rev 02)
00:07.1 IDE interface: Intel Corporation 82371FB PIIX IDE [Triton I] (rev 02)
00:0f.0 VGA compatible controller: S3 Inc. 86c764/765 [Trio32/64/64V+]
================================================================================
/proc/sound:
OSS/Free:3.8s2++-971130
Load type: Driver compiled into kernel
Kernel: Linux merry 2.2.12 #1 Sat Dec 25 13:26:10 GMT 1999 i586
Config options: 0
Installed drivers:
Type 1: OPL-2/OPL-3 FM
Type 26: MPU-401 (UART)
Type 2: Sound Blaster
Type 29: Sound Blaster PnP
Type 7: SB MPU-401
Card config:
Sound Blaster at 0x220 irq 5 drq 1,5
SB MPU-401 at 0x330 irq 5 drq 0
OPL-2/OPL-3 FM at 0x388 drq 0
Audio devices:
0: Sound Blaster 16 (4.13) (DUPLEX)
Synth devices:
0: Yamaha OPL3
Midi devices:
0: Sound Blaster 16
Timers:
0: System clock
Mixers:
0: Sound Blaster
================================================================================
/proc/swaps:
Filename Type Size Used Priority
/dev/hda2 partition 34268 4520 -1
================================================================================
Thanks,
--
Charles Briscoe-Smith <URL:http://www.debian.org/%7Ecpbs/>
PGP2: 1024/B35EE811 74 68 AB 2E 1C 60 22 94 B8 21 2D 01 DE 66 13 E2
pgp1kMr7ou7eu.pgp
Description: PGP signature

