This might be a Familiar problem (hopefully), or it might be an Intimate
problem (ahem).
I have the Familiar 0.5pre installed, works just fine (blackbox, fonts,
networking, dillo),
so in that part of the world, I'm happy.
Now, installing Intimate (which has been, well, not that much alive) is
misbehaving
(I used to have success with Intimate back in, ummm, maybe July or early
August).
What I do and what happens:
(1) I have a script that
- first, just for paranoia, installs with ipkg the following:
reiserfs-module
reiserfs-modules-2.4.7-rmk3-np1-devfs
backpaq-modules-2.4.7-rmk3-np1-devfs
- launches Intimate using the standard wget ... sh
beta-installer
- does the following patching
tts/0 -> ttySA0 in /etc/inittab and
/etc/securetty
(to avoid the init respawning too rapidly and
failed root login problems)
mtdblock/3 -> mtdblock/2 in /etc/fstab
(that's what 0.5 does)
- with /sbin/ipaqbb patches the linuxargs paramater to point the
root to /dev/mtdblock/2, not /dev/mtdblock/3 (as the intimateboot
installed
by the beta-installer did)
(2) But when booting with the init=/linuxrc.intimate the microdrive does
not
get mounted, and we fall back to Familiar. The script tries to
mount
Intimate over the NFS, which is a bit surprising, but that is only
because
the -b /dev/hda1 test seems to be returning false at that point in
time.
The strange thing is that (at least by the time of login) the
/dev/hda1
most definitely is there. I can manually issue the commands from
/linuxrc.intimate to mount the microdrive and /dev, pivot the root,
cd /, and re-exec init 2 (the /linuxrc.intimate just execs init,
without an argument, which is wrong), and I get the Intimate
(Debian) login
prompt just fine.
So....has something changed during last months in...PCMCIA? (so that
the
microdrive isn't ready "early enough"? I'm just wildly guessing...
but
as you can see from the boot log, the microdrive doesn't come
"online"
until much later, when the PCMCIA is invoked (so it can't be ready
at the very beginning of the init script).
The log follows.
Uncompressing Linux............................................ done,
booting th
e kernel.
Linux version 2.4.7-rmk3-np1-devfs (jamey_at_rockhopper.crl.dec.com) (gcc
version 2
.95.2 19991024 (release)) #6 Fri Sep 21 17:06:13 EDT 2001
Processor: Intel StrongARM-1110 revision 6
Architecture: Compaq iPAQ
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: noinitrd root=/dev/mtdblock/2
init=/linuxrc.intimate consol
e=ttySA0
Console: colour dummy device 80x30
Calibrating delay loop... 137.21 BogoMIPS
Memory: 32MB = 32MB total
Memory: 30704KB available (1149K code, 262K data, 60K init)
Dentry-cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode-cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
CPU clock: 206.400 MHz (max 206.400 MHz)
Starting kswapd v1.8
devfs: v0.107 (20010709) Richard Gooch (rgooch_at_atnf.csiro.au)
devfs: boot_options: 0x2
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis
Communications AB.
dma period = 1398056 ps
dma period = 1398056 ps
Console: switching to colour frame buffer device 40x30
sa1100fb_setup_gpio 'mask' for GPIO is 3fc
pty: 256 Unix98 ptys configured
block: queued sectors max/low 20157kB/6719kB, 64 slots per queue
SA1100 flash: probing 32-bit flash bus
SA1100 flash: Found 2 x16 devices at 0x0 in 32-bit mode
parse_bootldr_partitions: magic=0x646c7470
parse_bootldr_partitions: numPartitions=0x3
parse_bootldr_partitions: npartitions=0x3
partition bootldr o=0 s=40000
partition params o=40000 s=40000
partition root o=80000 s=f80000
Using Compaq bootldr partition definition
Creating 3 MTD partitions on "SA1100 flash":
0x00000000-0x00040000 : "bootldr"
mtd: Giving out device 0 to bootldr
0x00040000-0x00080000 : "params"
mtd: Giving out device 1 to params
0x00080000-0x01000000 : "root"
mtd: Giving out device 2 to root
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 2048)
IPv4 over IPv4 tunneling driver
sa1100fb_setup_gpio 'mask' for GPIO is 3fc
GRE over IPv4 tunneling driver
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Fast Floating Point Emulator V0.0 (c) Peter Teichmann.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
mtdblock_open
ok
VFS: Mounted root (jffs2 filesystem).
Mounted devfs on /dev
Freeing init memory: 60K
Mounting /proc
Linux Kernel Card Services 3.1.22
options: [pm]
h3600_init_module:init_module registering char device
initSerialPort: initializing serial port
init_module successful init major= 254 irq=15
h3600_flite_control: pwr=1 brightness=25 ready=0
h3600_init_module registered pm callback=c2873838
init_module successful init major= 0 irq=48
SA-1100 PCMCIA (CS release 3.1.22)
sa1100_bitsy_common_pcmcia_get_irq_info
sa1100_bitsy_common_pcmcia_get_irq_info
sa1100: initialization complete
h3600_sleeve_insert: vendorid=0x1125 devid=0x1
h3600_sleeve_insert: unrecognized sleeve
backpaq_init_module:
cardmgr[26]: starting, version is 3.1.20
cardmgr[26]: watching 2 sockets
cardmgr[26]: Card Services release does not match
cardmgr[26]: exiting
Searching for intimate distribution over ethernet...
mount: can't find /mnt/nfs in /etc/fstab or /etc/mtab
Loading floating point emulator...
insmod: nwfpe: no module by that name found
Loading Unix socket support
insmod: unix: no module by that name found
Setting up RAMFS, please wait...
Setting Date/Time from previous settings
Mon Jan 1 00:00:00 UTC 2001
Executing /sbin/init...
INIT: version 2.78 booting
Mounting local filesystems...
mount: ramfs already mounted on /mnt/ramfs
devpts on /dev/pts type devpts (rw,mode=0622)
mount: proc already mounted
Calculating module dependencies... done.
Loading modules: apm apm: BIOS version 1.2 Flags 0x02 (Driver version
1.13)
h3600_ts sa1100-rtc SA1100 Real Time Clock driver v1.00
h3600-sleeve h3600_generic_sleeve h3600_generic_pcmcia_init_module:
registering
sleeve drivers
dual_pcmcia_probe_sleeve: Compaq Dual PC Card Sleeve
****sa1100_bitsy_pcmcia_change_sleeves changed
run_sbin_hotplug:75 * hotplug_path=/sbin/hotplug
h3600_sleeve_register_driver: registered a driver that matches the
current sleev
e Compaq Dual PC Card Sleeve
bitsy-uda1341 modprobe: Can't locate module bitsy-uda1341
h3600_backpaq
Setting the System Clock using the Hardware Clock as reference...
INIT: Entering runlevel: 2
Configuring network interfaces: done.
Starting PCMCIA services: modulesinsmod: a module named pcmcia_core
already exis
ts
insmod: a module named sa1100_cs already exists
h3600_dual_sleeve_pcmcia_configure_socket: socket=0 vcc=50 vpp=50
reset=0
h3600_dual_sleeve_pcmcia_configure_socket: socket=0 vcc=50 vpp=50
reset=1
h3600_dual_sleeve_pcmcia_configure_socket: socket=0 vcc=50 vpp=50
reset=0
h3600_dual_sleeve_pcmcia_configure_socket: socket=1 vcc=33 vpp=33
reset=0
h3600_dual_sleeve_pcmcia_configure_socket: socket=1 vcc=33 vpp=33
reset=1
h3600_dual_sleeve_pcmcia_configure_socket: socket=1 vcc=33 vpp=33
reset=0
cardmgr.
cardmgr[103]: starting, version is 3.1.20
cardmgr[103]: watching 2 sockets
cardmgr[103]: Card Services release does not match
cardmgr[103]: could not adjust resource: IO ports 0xc00-0xcff: Device or
resourc
e busy
cardmgr[103]: could not adjust resource: IO ports 0x800-0x8ff: Device or
resourc
e busy
cardmgr[103]: could not adjust resource: IO ports 0x100-0x4ff: Device or
resourc
e busy
cardmgr[103]: could not adjust resource: memory 0xc0000-0xfffff:
Input/output er
ror
cardmgr[103]: could not adjust resource: memory 0x60000000-0x60ffffff:
Input/out
put error
cardmgr[103]: could not adjust resource: memory 0xa0000000-0xa0ffffff:
Input/out
put error
cardmgr[103]: could not adjust resource: IO ports 0xa00-0xaff: Device or
resourc
e busy
cardmgr[103]: initializing socket 0
cardmgr[103]: socket 0: Compaq WL110 PC Card
cardmgr[103]: executing: 'modprobe wvlan_cs'
wvlan_cs: WaveLAN/IEEE PCMCIA driver v1.0.6
wvlan_cs: (c) Andreas Neuhaus <andy_at_fasta.fh-dortmund.de>
/etc/rc2.d/S50ssh: expr: command not found
Starting OpenBSD Secure Shell server:
sshdh3600_dual_sleeve_pcmcia_configure_soc
ket: socket=0 vcc=50 vpp=0 reset=0
h3600_dual_sleeve_pcmcia_configure_socket: socket=0 vcc=50 vpp=0 reset=0
wvlan_cs: index 0x01: Vcc 5.0, irq 42, io 0xf6000000-0xf600003f
wvlan_cs: Registered netdevice eth0
wvlan_cs: MAC address on eth0 is 00 02 2d 0d d5 4d
error: Could not load host key: /etc/ssh/ssh_host_key: No such file or
directory
Disabling protocol version 1
error: Could not load DSA host key: /etc/ssh/ssh_host_dsa_key
Disabling protocol version 2
sshd: no hostkeys available -- exiting.
sshd: no hostkeys available -- exiting.
.
Starting X...
cardmgr[103]: executing: './network start eth0'
dma period = 1398056 ps
dma period = 1398056 ps
Could not init font path element /usr/X11R6/lib/X11/fonts/100dpi/,
removing from
list!
wvlan_cs: MAC address on eth0 is 00 02 2d 0d d5 4d
BScreen::BScreen: managing screen 0 using visual 0x21, depth 16
cardmgr[103]: initializing socket 1
cardmgr[103]: socket 1: ATA/IDE Fixed Disk
cardmgr[103]: executing: 'modprobe ide-cs'
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 50MHz system bus speed for PIO modes; override with
idebus=xx
familiar login: h3600_dual_sleeve_pcmcia_configure_socket: socket=1
vcc=33 vpp=0
reset=0
h3600_dual_sleeve_pcmcia_configure_socket: socket=1 vcc=33 vpp=0 reset=0
Trying to free nonexistent resource <f7000000-f700000f>
hda: IBM-DSCM-10512, ATA DISK drive
ide0 at 0xf7000000-0xf7000007,0xf700000e on irq 32
ide_cs: hda: Vcc = 3.3, Vpp = 0.0
cardmgr[103]: executing: './ide start hda'
cardmgr[103]: + ./ide: /sbin/ide_info: No such file or directory
familiar login: root
Password:
PAM_unix[166]: (login) session opened for user root by LOGIN(uid=0)
login[166]: ROOT LOGIN on `ttySA0'
root_at_familiar:~ # mount /dev/hda1 /mnt/hda1
hda: 1052352 sectors (539 MB) w/60KiB Cache, CHS=1044/16/63
Partition check:
/dev/ide/host0/bus0/target0/lun0: p1 p2
/dev/ide/host0/bus0/target0/lun0: p1 p2
/dev/ide/host0/bus0/target0/lun0: p1 p2
/dev/ide/host0/bus0/target0/lun0: p1 p2
reiserfs: checking transaction log (device 03:01) ...
Using r5 hash to sort names
ReiserFS version 3.6.25
root_at_familiar:~ # df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/mtdblock/2 15872 14756 1116 93% /
/dev/hda1 493868 145120 348748 30% /mnt/hda1
root_at_familiar:~ # grep ttySA0 /mnt/hda1/etc/securetty
ttySA0
root_at_familiar:~ #
Received on Thu Oct 04 2001 - 10:40:55 EDT
This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:21:11 EDT