Re: [PARPORT] Mounting a Syjet.

From: Daniel (doverbay@efn.org)
Date: Mon Feb 25 2002 - 13:05:09 EST

  • Next message: Tom Perkins: "Re: [PARPORT] Mounting a Syjet."

    Joel Fernandez wrote:

    > Hello Daniel
    >
    > to load the modules and have your Syquest run it depends on your kernel
    > type, I think.
    >
    > With a kernel 2.2.x you have to take the script given in
    > /usr/src/linux/Documentation/paride.txt, put it in a file, make this
    > file executable and then execute it.
    > This will add devices in /dev.
    >
    > With a kernel 2.4.x you can do the same, I hope, or if you have devfs
    > installed you don't have to take the script.
    > Be careful with this sort of kernel. I had to put everything concerning
    > the Syquest not as modules and to answer "Yes" instead.
    >
    > Concerning the modules you can do like this :
    > With a Debian you have a program named modconf which will guide you and
    > will load modules for you.
    >
    > With others distributions you can do like that :
    > 1) insmod parport.o
    > 2) insmod paride.o
    > 3) insmod epat.o
    > 4) insmod pd.o
    >
    > Normally the machine will say your module is loaded after each part.
    >
    > the device is /dev/pda and you can mount it for example on /mnt
    > mount /dev/pda /mnt
    >
    > for more details see
    > man insmod
    > and /usr/src/linux/Docmentation/paride.txt
    >
    > I hope it will help you. If not mail again :-))

    ===========================================================

    Nope ...but I'm getting closer.

    I have tried putting all the modules IN the kernel and here is some
    feedback from the dmesg.

    =========================================================

    Linux version 2.4.7-10custom (root@neclinux.doverbay) (gcc version 2.96
    20000731 (Red Hat Linux 7.1 2.96-98)) #2 Mon Feb 25 09:03:59 PST 2002
    BIOS-provided physical RAM map:
      BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
      BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
      BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
      BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
      BIOS-e820: 000000001fff0000 - 000000001fff8000 (ACPI data)
      BIOS-e820: 000000001fff8000 - 0000000020000000 (ACPI NVS)
      BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
    On node 0 totalpages: 131056
    zone(0): 4096 pages.
    zone(1): 126960 pages.
    zone(2): 0 pages.
    Local APIC disabled by BIOS -- reenabling.
    Found and enabled local APIC!
    Kernel command line: ro root=/dev/hdb1
    Initializing CPU#0
    Detected 1002.287 MHz processor.
    Console: colour VGA+ 80x25
    Calibrating delay loop... 1998.84 BogoMIPS
    Memory: 510324k/524224k available (1915k kernel code, 11448k reserved,
    98k data, 248k init, 0k highmem)
    Dentry-cache hash table entries: 65536 (order: 7, 524288 bytes)
    Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
    Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
    Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
    Page-cache hash table entries: 131072 (order: 8, 1048576 bytes)
    CPU: Before vendor init, caps: 0383fbff 00000000 00000000, vendor = 0
    CPU: L1 I cache: 16K, L1 D cache: 16K
    CPU: L2 cache: 256K
    Intel machine check architecture supported.
    Intel machine check reporting enabled on CPU#0.
    CPU: After vendor init, caps: 0383fbff 00000000 00000000 00000000
    CPU: After generic, caps: 0383fbff 00000000 00000000 00000000
    CPU: Common caps: 0383fbff 00000000 00000000 00000000
    CPU: Intel Pentium III (Coppermine) stepping 06
    Enabling fast FPU save and restore... done.
    Enabling unmasked SIMD FPU exception support... done.
    Checking 'hlt' instruction... OK.
    POSIX conformance testing by UNIFIX
    enabled ExtINT on CPU#0
    ESR value before enabling vector: 00000040
    ESR value after enabling vector: 00000000
    Using local APIC timer interrupts.
    calibrating APIC timer ...
    ..... CPU clock speed is 1002.3424 MHz.
    ..... host bus clock speed is 100.2342 MHz.
    cpu: 0, clocks: 1002342, slice: 501171
    CPU0<T0:1002336,T1:501152,D:13,S:501171,C:1002342>
    mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
    mtrr: detected mtrr type: Intel
    PCI: PCI BIOS revision 2.10 entry at 0xfdb91, last bus=1
    PCI: Using configuration type 1
    PCI: Probing PCI hardware
    PCI: Using IRQ router PIIX [8086/7110] at 00:07.0
    Limiting direct PCI/PCI transfers.
    isapnp: Scanning for PnP cards...
    isapnp: No Plug & Play device found
    Linux NET4.0 for Linux 2.4
    Based upon Swansea University Computer Society NET3.039
    Initializing RT netlink socket
    apm: BIOS version 1.2 Flags 0x03 (Driver version 1.14)
    Starting kswapd v1.8
    VFS: Diskquotas version dquot_6.5.0 initialized
    Journalled Block Device driver loaded
    NTFS version 1.1.16
    0x378: FIFO is 16 bytes
    0x378: writeIntrThreshold is 9
    0x378: readIntrThreshold is 9
    0x378: PWord is 8 bits
    0x378: Interrupts are ISA-Pulses
    0x378: ECP port cfgA=0x10 cfgB=0x48
    0x378: ECP settings irq=7 dma=<none or set by other means>
    parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,COMPAT,EPP,ECP]
    parport0: irq 7 detected
    parport0: cpp_mux: aa55f00f52ad51(87)
    parport0: Found 4 daisy-chained devices
    aty128fb: Rage128 BIOS located at segment C00C0000
    aty128fb: Rage128 RF (AGP) [chip rev 0x2] 16M 128-bit SDR SGRAM (1:1)
    Console: switching to colour frame buffer device 80x30
    fb0: ATY Rage128 frame buffer device on PCI
    aty128fb: Rage128 MTRR set to ON
    pty: 2048 Unix98 ptys configured
    Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT
    SHARE_IRQ SERIAL_PCI ISAPNP enabled
    ttyS00 at 0x03f8 (irq = 4) is a 16550A
    ttyS01 at 0x02f8 (irq = 3) is a 16550A
    lp0: using parport0 (polling).
    lp0: console ready
    Real Time Clock Driver v1.10d
    Non-volatile memory driver v1.1
    block: queued sectors max/low 338813kB/207741kB, 1024 slots per queue
    Uniform Multi-Platform E-IDE driver Revision: 6.31
    ide: Assuming 33MHz PCI bus speed for PIO modes; override with idebus=xx
    PIIX4: IDE controller on PCI bus 00 dev 39
    PIIX4: chipset revision 1
    PIIX4: not 100% native mode: will probe irqs later
         ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:DMA
         ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
    hda: FUJITSU MPC3102AT E, ATA DISK drive
    hdb: Maxtor 84320D4, ATA DISK drive
    hdc: IDE DVD-ROM 16X, ATAPI CD/DVD-ROM drive
    hdd: LS-120 F200 08 UHD Floppy, ATAPI FLOPPY drive
    ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
    ide1 at 0x170-0x177,0x376 on irq 15
    hda: 20000536 sectors (10240 MB) w/256KiB Cache, CHS=1244/255/63, UDMA(33)
    hdb: 8439184 sectors (4321 MB) w/256KiB Cache, CHS=525/255/63, UDMA(33)
    Disallowing DMA for hdc
    hdc: ATAPI 16X DVD-ROM drive, 512kB Cache
    Uniform CD-ROM driver Revision: 3.12
    ide-floppy driver 0.97
    Disallowing DMA for hdd
    hdd: No disk in drive
    hdd: 123264kB, 963/8/32 CHS, 533 kBps, 512 sector size, 720 rpm
    ide-floppy: hdd: I/O error, pc = 5a, key = 5, asc = 24, ascq = 0
    Partition check:
      hda: hda1 hda2 < hda5 >
      hdb: hdb1 hdb2
    paride: epat registered as protocol 0
    pd: pd version 1.05, major 45, cluster 64, nice 0
    pda: Autoprobe failed
    pd: no valid drive found
    pf: pf version 1.04, major 47, cluster 64, nice 0
    pf0: Autoprobe failed
    pf: No ATAPI disk detected
    loop: loaded (max 8 devices)
    PPP generic driver version 2.4.1
    PPP Deflate Compression module registered
    PPP BSD Compression module registered
    Linux agpgart interface v0.99 (c) Jeff Hartmann
    agpgart: Maximum main memory to use for agp memory: 439M
    agpgart: Detected Intel 440BX chipset
    agpgart: AGP aperture is 64M @ 0xe8000000
    [drm] AGP 0.99 on Intel 440BX @ 0xe8000000 64MB
    [drm] Initialized r128 2.1.6 20010405 on minor 0
    ide-floppy driver 0.97
    es1371: version v0.30 time 09:06:09 Feb 25 2002
    PCI: Found IRQ 10 for device 00:14.0
    PCI: Sharing IRQ 10 with 00:07.2
    es1371: found chip, vendor id 0x1274 device id 0x1371 revision 0x06
    es1371: found es1371 rev 6 at io 0xd800 irq 10
    es1371: features: joystick 0x0
    ac97_codec: AC97 codec, id: 0x5452:0x4103 (TriTech TR28023)
    usb.c: registered new driver usbdevfs
    usb.c: registered new driver hub
    usb-uhci.c: $Revision: 1.259 $ time 09:06:19 Feb 25 2002
    usb-uhci.c: High bandwidth mode enabled
    PCI: Found IRQ 10 for device 00:07.2
    PCI: Sharing IRQ 10 with 00:14.0
    usb-uhci.c: USB UHCI at I/O 0xdc00, IRQ 10
    usb-uhci.c: Detected 2 ports
    usb.c: new USB bus registered, assigned bus number 1
    hub.c: USB hub found
    hub.c: 2 ports detected
    usb-uhci.c: v1.251:USB Universal Host Controller Interface driver
    md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
    md: Autodetecting RAID arrays.
    md: autorun ...
    md: ... autorun DONE.
    NET4: Linux TCP/IP 1.0 for NET4.0
    IP Protocols: ICMP, UDP, TCP, IGMP
    IP: routing cache hash table of 4096 buckets, 32Kbytes
    TCP: Hash tables configured (established 32768 bind 32768)
    Linux IP multicast router 0.06 plus PIM-SM
    NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
    kjournald starting. Commit interval 5 seconds
    EXT3-fs: mounted filesystem with ordered data mode.
    VFS: Mounted root (ext3 filesystem) readonly.
    Freeing unused kernel memory: 248k freed
    Adding Swap: 530104k swap-space (priority -1)
    EXT3 FS 2.4-0.9.8, 25 Aug 2001 on ide0(3,65), internal journal
    ======================================================

    Now this is with ECP set in the BIOS
    I have tried EPP
    and Bi-directional

    No matter the pd autoprobe always fails...with no
    valid drive found.

    When I use everything as modules and try to
    insmod everything ...I can load them
    all except pd

    with which I get an operation not permitted, error.

    even though I have tried the various parameter options
            i.e. insmod pd drive0-0x378,0

    etc. still get the error.

    Thanks for the help though I appreciate it....

    Daniel

    -- To unsubscribe, send mail to: linux-parport-request@torque.net --
    -- with the single word "unsubscribe" in the body of the message. --



    This archive was generated by hypermail 2b29 : Mon Feb 25 2002 - 13:21:28 EST