At 16:59 27/01/2008 -0600, Darrick Hartman (lists) wrote:
>If you're using unionfs without a key disk you'll need to copy some of the 
>files that normally are created by genkd into /mnt/kd (which actually will 
>reside on the unionfs partition).

Still no go :-/ I still can't get Zaptel to work, even though it did work 
last week before I dived into PHP, SQLite, etc.

Here's what I did to make files such as /etc/rc.conf sticky, so that eg. 
Zaptel is available:
==================
  1. Boot AstLinux
  2. If not already done, create a second partition on the Compact Flash on 
eg. /dev/hda2, and format it as
     ext2fs
  3. mkdir /tmp/asturw
  4. mount /dev/hda2 /tmp/asturw
  5. mkdir -p /tmp/asturw/mnt/kd
  6. Edit configuration files, eg. /etc/rc.conf
  7. copy needed files from /tmp/etc to /tmp/asturw:

     cp /tmp/etc/rc.conf /tmp/asturw/mnt/kd/
  8. mount -o,remount rw /oldroot/cdrom
  9. vi /oldroot/cdrom/os/astlinux-trunk-XXX.run.conf:

     KCMD="root=/dev/ram0 rw init=/linuxrc astlinux=geni586 
astimg=astlinux-trunk-1540.run astkd=/dev/sda1
     asturw=/dev/hda2 astlive ide=nodma"
10. Reboot

After rebooting:

pbx ~ # mount
rootfs on / type rootfs (rw)
/dev/root on /oldroot type ext2 (rw)
/dev/hda1 on /oldroot/cdrom type vfat 
(ro,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1)
/dev/hda2 on /oldroot/mnt/asturw type ext2 (rw,noatime)
none on /oldroot/mnt/asturo type tmpfs (ro)
none on / type unionfs (rw,dirs=/oldroot/mnt/asturw=rw:/oldroot/mnt/asturo=ro)
none on /proc type proc (rw)
none on /dev type tmpfs (rw)
none on /var type tmpfs (rw)
none on /tmp type tmpfs (rw)
none on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
none on /dev/pts type devpts (rw)

pbx ~ # cat /etc/rc.conf | grep ZAP
ZAPMODS="wctdm"

pbx ~ # lsmod
Module                  Size  Used by
binfmt_misc            10760  1
sk98lin               135648  0
tg3                    98564  0
r8169                  27528  0
ns83820                17544  0
e1000                 110528  0
acenic                243840  0
pcnet32                30980  0
via_rhine              22664  0
8139too                24832  0
8139cp                 21376  0
forcedeth              41096  0
natsemi                25568  0
eepro100               28944  0
tulip                  47776  0
typhoon                71684  0
3c59x                  40360  0
mii                     5376  6 pcnet32,via_rhine,8139too,8139cp,eepro100,3c59x

pbx ~ # cat /etc/zaptel.conf
fxsks=1
loadzone=fr
defaultzone=fr

pbx ~ # ztcfg -vv
Notice: Configuration file is /etc/zaptel.conf
line 0: Unable to open master device '/dev/zap/ctl'

1 error(s) detected

pbx ~ # service zaptel start
zaptel is not executable or is not a valid service name

pbx ~ # modprobe wctdm
FATAL: Module wctdm not found.
==================

Besides this, a couple of questions:
1. So when rebooting, AstLinux will check for /mnt/kd in /dev/hda2 and read 
those files instead of those in the
read-only /dev/hda1?
2. Why couldn't I load Zaptel manually when I only had AstLinux in 
read-only mode in /dev/hda1?

pbx ~ # modprobe wctdm
FATAL: Module wctdm not found.

Thanks.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to