Linux-Setup Digest #210, Volume #20              Tue, 12 Dec 00 15:13:08 EST

Contents:
  How to solve "Partition entry not found"? (Diviner Chan)
  Re: Two cards on IRQ 9 ??? (Carlos)
  Can't get second NIC up (Rand Simberg)
  Re: Backup - Tape - Dump (Ed Vigmond)
  Re: Hello Out There! (Jay&Shell)
  Re: Can't get second NIC up (Rand Simberg)
  Problems with usb mouse after kernel compilation (Tom)
  SCSI detect problem with xcdroast-0.98alpha8 ([EMAIL PROTECTED])
  Re: How to load linux if BIOS only boots HD? (Chris Boyle)
  Re: ports (Colin Watson)
  kernel questions ([EMAIL PROTECTED])
  Can someone send me a sample httpd.conf file? ("Dan Krones")

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

Date: Wed, 13 Dec 2000 00:29:40 +0800
From: Diviner Chan <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: How to solve "Partition entry not found"?

I have installed RedHat 7.0 and my NT partition can't boot
again. So I double check the lilo.conf. I found that my NT's
partition is /dev/hdb2 and that has an entry in lilo.conf pointed
to it already. But when I gave "lilo" to activate the config file,
I get an error:
   "Partition entry not found"
So how to solve it?

--
Best regards,
Chan Chu Man



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

From: [EMAIL PROTECTED] (Carlos)
Crossposted-To: 
comp.os.linux.networking,alt.linux.slakware,alt.os.linux.slackware,alt.os.linux.slackware
Subject: Re: Two cards on IRQ 9 ???
Date: 12 Dec 2000 10:16:08 -0600

>By itself:
>
>  [snip]
>  Bus  0, device  18, function  0:
>    SCSI storage controller: Adaptec AIC-7871 (rev 3).
>      Medium devsel.  Fast back-to-back capable.  IRQ 12.  
>  [snip]
>  Bus  0, device  19, function  0:
>    VGA compatible controller: Matrox Millennium II (rev 0).
>      Medium devsel.  Fast back-to-back capable.  IRQ 12.  
>  [snip]

Lucky you.  My PCI cards take all different IRQs.

>>I could never make two different PCI cards share a IRQ, they simply
>>pick one and end-up blocking IRQ's that I would like my ISA sound card to
>>use...  
>
>Ah, you can't share between PCI and ISA.  And you can't make a PCI card
>use a particular IRQ, at least I don't know of a way to make it always
>work on all motherboards (some MB's assign by slot, but this isn't
>guaranteed by the PCI spec).

I never said I wanted to share a IRQ between PCI and ISA.  I want the PCI
cards to share an IRQ to leave more free IRQs for the ISA cards.

>You need to turn the problem around.  Most PCI BIOS have a setting to
>reserve IRQ's for "Legacy/ISA" or similar.  This allows you to keep your
>ISA cards out of the way of your PCI cards by reserving all of the IRQ's
>you need for ISA and leaving the rest for PCI.  After that, things
>should work.

I see, so if I reserve most of the IRQs the PCI cards will be "forced" to
share...  Thank you for the information!

Carlos

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

From: [EMAIL PROTECTED] (Rand Simberg)
Subject: Can't get second NIC up
Date: Tue, 12 Dec 2000 16:56:25 GMT

I'm running a RH7.0 system with a rebuilt (by me) 2.2.16 kernel.

I've got Unicom NIC running as eth0.  I want to install a second
card--a Linksys Etherfast 10/100 LAN card, which supposedly uses the
tulip driver.  I compiled the pci-scan.o and tulip.o, using the
instructions at scyld.com (taking into account the special warnings
about RH7.0 to use kgcc and add -I/.. to the compiler directive).

When I insmod /usr/src/modules/tulip.o (which is where I compiled the
driver to test it), I still get the following error messages:

/usr/src/modules/tulip.o: unresolved symbol pci_drv_unregister
/usr/src/modules/tulip.o: unresolved symbol pci_drv_register

I can see the card in /proc/pci.  It's described as:

Ethernet controller: Unknown vendor Unknown device (Rev 17)
  Vendor id=1317. Device id=985
  Medium devsel.  Fast back-to-back capable.  IRQ 10.  Master Capable.
Latency=64.  Min Gnt==255.Max Lat=255.

But I still get the same error when I insmod it.  And if I copy the
tulip.o and pci-scan.o over to /lib/modules/2.2.16/net, and modprobe
it, it says it can't find tulip.o.

What is the problem with this card/driver?  Any clues?

************************************************************************
simberg.interglobal.org  * 310 372-7963 (CA) 307 739-1296 (Jackson Hole)  
interglobal space lines  * 307 733-1715 (Fax) http://www.interglobal.org 

"Extraordinary launch vehicles require extraordinary markets..."
Replace first . with @ and throw out the "@trash." to email me.  
Here's my email address for autospammers: [EMAIL PROTECTED]

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

From: Ed Vigmond <[EMAIL PROTECTED]>
Subject: Re: Backup - Tape - Dump
Date: Tue, 12 Dec 2000 11:11:23 -0600

James Bilitski wrote:
> I also can get incrementals to work to the script rewinds and erases the
> tape each time.
> 

Are you using the norewind device, i.e. /dev/nst0 an d not /dev/st0?

========================
Dr. Edward Vigmond
Department of Biomedical Engineering
Tulane University

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

From: Jay&Shell <[EMAIL PROTECTED]>
Subject: Re: Hello Out There!
Date: Tue, 12 Dec 2000 17:14:39 GMT

cappie wrote:

> maybe you should stop using that crappy HTML code of yours in text-based
> newsgroups....
>
> I know the answer, but I'm not gonna tell ya.. RTFM! (that way you'll
> actually LEARN something.. you lame windows user)
>
> - cappie

Answer this one: Have you ever sucked a Cock you DIDN'T like??



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

From: [EMAIL PROTECTED] (Rand Simberg)
Subject: Re: Can't get second NIC up
Date: Tue, 12 Dec 2000 17:14:57 GMT

On Tue, 12 Dec 2000 16:56:25 GMT, in a place far, far away,
[EMAIL PROTECTED] (Rand Simberg) made the phosphor on my
monitor glow in such a way as to indicate that:

>I'm running a RH7.0 system with a rebuilt (by me) 2.2.16 kernel.
>
>I've got Unicom NIC running as eth0.  I want to install a second
>card--a Linksys Etherfast 10/100 LAN card, which supposedly uses the
>tulip driver.  I compiled the pci-scan.o and tulip.o, using the
>instructions at scyld.com (taking into account the special warnings
>about RH7.0 to use kgcc and add -I/.. to the compiler directive).
>
>When I insmod /usr/src/modules/tulip.o (which is where I compiled the
>driver to test it), I still get the following error messages:
>
>/usr/src/modules/tulip.o: unresolved symbol pci_drv_unregister
>/usr/src/modules/tulip.o: unresolved symbol pci_drv_register
>
>I can see the card in /proc/pci.  It's described as:
>
>Ethernet controller: Unknown vendor Unknown device (Rev 17)
>  Vendor id=1317. Device id=985
>  Medium devsel.  Fast back-to-back capable.  IRQ 10.  Master Capable.
>Latency=64.  Min Gnt==255.Max Lat=255.
>
>But I still get the same error when I insmod it.  And if I copy the
>tulip.o and pci-scan.o over to /lib/modules/2.2.16/net, and modprobe
>it, it says it can't find tulip.o.
>
>What is the problem with this card/driver?  Any clues?

Never mind.  I got it.  Had to insmod pci-scan first.

************************************************************************
simberg.interglobal.org  * 310 372-7963 (CA) 307 739-1296 (Jackson Hole)  
interglobal space lines  * 307 733-1715 (Fax) http://www.interglobal.org 

"Extraordinary launch vehicles require extraordinary markets..."
Replace first . with @ and throw out the "@trash." to email me.  
Here's my email address for autospammers: [EMAIL PROTECTED]

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

From: Tom <[EMAIL PROTECTED]>
Subject: Problems with usb mouse after kernel compilation
Date: Tue, 12 Dec 2000 18:14:12 +0100
Reply-To: [EMAIL PROTECTED]

Hi,
I installed Suse 7.0 on my PC. Everything was fine. After I compiled the 
kernel ( 2.2.16) new the mouse does not work and I get the following 
messages during boot time:

.<6>Serial driver version 4.27 with no serial options enabled
<6>ttyS00 at 0x03f8 (irq = 4) is a 16550A
<6>ttyS01 at 0x02f8 (irq = 3) is a 16550A
<6>usb.c: registered new driver usbdevfs
<6>usb.c: registered new driver hub
<4>PCI: Increasing latency timer of device 00:10 to 64
<6>usb-ohci.c: USB OHCI at membase 0xc802b000, IRQ 9
<6>usb.c: new USB bus registered, assigned bus number 1
<6>usb.c: USB new device connect, assigned device number 1
<6>hub.c: USB hub found
<6>hub.c: 2 ports detected

afterwards I get the following message

Dec 11 17:08:12 ikarusz01 kernel: usb.c: This device is not recognized by 
any installed USB driver.
Dec 11 17:08:28 ikarusz01 modprobe: modprobe: Can't locate module 
char-major-13
Dec 11 17:08:29 ikarusz01 modprobe: modprobe: Can't locate module 
char-major-13

The original kernel shows the following messages during boot time

<6>usb.c: registered new driver usbdevfs
<6>usb.c: registered new driver hub
<4>PCI: Increasing latency timer of device 00:10 to 64
<6>usb-ohci.c: USB OHCI at membase 0xc8010000, IRQ 9
<6>usb.c: new USB bus registered, assigned bus number 1
<6>usb.c: USB new device connect, assigned device number 1
<6>hub.c: USB hub found
<6>hub.c: 2 ports detected
<6>usb.c: registered new driver hid
<6>mice: PS/2 mouse device common for all mice
<6>ncr53c8xx: at PCI bus 0, device 11, function 0
<6>ncr53c8xx: 53c810 detected
<6>ncr53c810-0: rev 0x2 on pci bus 0 device 11 function 0 irq 10
<6>ncr53c810-0: ID 7, Fast-10, Parity Checking
<4>scsi0 : ncr53c8xx-3.4.0-20000709
<4>scsi : 1 host.
<6>usb.c: USB new device connect, assigned device number 2
<6>mouse0: PS/2 mouse device for input0
<6>input0: USB HID v1.00 Mouse [Logitech N48] on usb1:2.0

I have compiled the kernel with the following kernel options (.config) :

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_SERIAL=m
# CONFIG_SERIAL_EXTENDED is not set
# CONFIG_SERIAL_NONSTANDARD is not set
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
CONFIG_PRINTER=m
CONFIG_PRINTER_READBACK=y
CONFIG_MOUSE=y

#
# Mice
#
# CONFIG_ATIXL_BUSMOUSE is not set
# CONFIG_BUSMOUSE is not set
# CONFIG_MS_BUSMOUSE is not set
# CONFIG_PSMOUSE is not set
# CONFIG_82C710_MOUSE is not set
# CONFIG_PC110_PAD is not set

#
# USB support
#
CONFIG_USB=m
# CONFIG_USB_DEBUG is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set

#
# USB Controllers
#
# CONFIG_USB_UHCI is not set
# CONFIG_USB_UHCI_ALT is not set
CONFIG_USB_OHCI=m

#
# USB Devices
#
# CONFIG_USB_PRINTER is not set
# CONFIG_USB_SCANNER is not set
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_ACM is not set
# CONFIG_USB_SERIAL is not set
# CONFIG_USB_IBMCAM is not set
# CONFIG_USB_OV511 is not set
# CONFIG_USB_DC2XX is not set
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_STORAGE is not set
# CONFIG_USB_DABUSB is not set
# CONFIG_USB_PLUSB is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_DSBR is not set
# CONFIG_USB_MICROTEK is not set

#
# USB HID
#
CONFIG_USB_HID=m
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_WMFORCE is not set
# CONFIG_INPUT_KEYBDEV is not set
CONFIG_INPUT_MOUSEDEV=m
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_EVDEV is not set

lsmod shows me that the followin modules have not been loaded input.o + 
mousedev.o but i am pretty shure that I have compiled them.

Tom




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

From: [EMAIL PROTECTED]
Subject: SCSI detect problem with xcdroast-0.98alpha8
Date: Tue, 12 Dec 2000 18:34:30 GMT

G'day,

I compiled and installed xcdroast-0.98alpha8.tar.gz
but when running  xcdrgtk I get a windowed error message:

###################################################################
# Failed to scan the SCSI-bus. Either no permission to access the #
# generic scsi devices or no SCSI support enabled in the kernel.  #
# For ATAPI devices you have to install the SCSI-emulation first. #
# Please see the CD-Writing-HOWTO how to do that.                 #
###################################################################

*However*, the scsi bus is fully functional:

[586][21:09:41][root@ns] ~
#  cdrecord -scanbus
Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 J�rg Schilling
Linux sg driver version: 2.1.38
Using libscg version 'schily-0.1'
scsibus0:
        0,0,0     0) *
        0,1,0     1) *
        0,2,0     2) 'iomega  ' 'jaz 2GB         ' 'E.16' Removable Disk
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) 'HP      ' 'CD-Writer+ 9200 ' '1.0c' Removable
CD-ROM
        0,7,0     7) *


 .... and I do use cdrecord extensively to burn cds ...


# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 02 Lun: 00
  Vendor: iomega   Model: jaz 2GB          Rev: E.16
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 06 Lun: 00
  Vendor: HP       Model: CD-Writer+ 9200  Rev: 1.0c
  Type:   CD-ROM                           ANSI SCSI revision: 04

# cat /proc/scsi/ncr53c8xx/0
General information:
  Chip NCR53C875, device id 0xf, revision id 0x3
  IO port address 0xe000, IRQ number 11
  Using memory mapped IO at virtual address 0xc8000000
  Synchronous period factor 12, max commands per lun 32


# uname -a
Linux ns 2.2.16 #97 Fri Jun 16 19:45:30 PDT 2000 i686 unknown

Distribution is sw-7.1

And I do have all available SCSI support enabled:
# SCSI support
#
CONFIG_SCSI=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
CONFIG_CHR_DEV_ST=y
CONFIG_BLK_DEV_SR=y
# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_CHR_DEV_SG=y

Any ideas greatly appreciated ...

TIA,

Rob -


Sent via Deja.com
http://www.deja.com/

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

From: Chris Boyle <[EMAIL PROTECTED]>
Subject: Re: How to load linux if BIOS only boots HD?
Date: Tue, 12 Dec 2000 18:47:07 GMT

In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (DualIP) wrote:

> DOS has a 2G limit on FAT partition size
> DOS/BIOS has a 8G addressing limit.
>
> Since the 7MB partition is within 8G limit , you must be able to get
> NT4 into multibooting DOS from it.

I found the information at...
http://www.bcpl.net/~dbryan/ntfs-dual-boot.html
...and near the top of the page it says:

> However, there are some restrictions that must be observed for the
procedure to work.  All of the following must be true:
> * DOS must be installed on a primary partition.  Logical partitions
will not work.
> * The DOS partition must be on Drive 0 at boot time.  Swapping drives
around at configuration time won't work.
> * The DOS partition (specifically, the root directory) must start
within 1024 cylinders of the start of the drive.
> * The DOS partition (specifically, the root directory) must start
within 2 GB (actually 2,113,928,704 bytes) of the start of the drive.

It's that last one that's the problem. I have tried it anyway, and on
selecting the DOS menu item, the system sits there with a blank screen
and a flashing cursor, and no disk activity.

Unless there's something you have to do to a partition for DOS to work
on it besides putting the files (command.com, drvspace.bin, io.sys,
msdos.sys) on it...?

The reason I don't have a floppy drive (as someone else asked) is
because the machine is second hand and I didn't get one. There is a
socket for an external drive on the port replicator, and options
including booting off one in the BIOS, so it _should_ work.

However, I tried a drive from someone else's machine and the machine
just paused and then said "Device not ready" whenever I tried to access
the drive. When I tried to boot off it it just paused and then launched
the NT boot loader anyway. This was with disks that worked and were
bootable on my desktop. The drive was completely silent and motionless
throughout.

This may have been because that drive is significantly newer than this
laptop (though it still fitted in the socket...?), or this laptop is
damaged in some way. Either way I don't know anywhere I could get
another Fujitsu external floppy drive to try.

Thanks very much to everyone who responded. I think I'm going to do a
hard disk transplant when I go back to school in January, as I know
someone there who has done something similar with his machine, and has
the appropriate adaptor to plug the HD into a desktop (certainly less
trouble than taking apart _another_ laptop).

...which brings me to my next question: can anyone point me to some
information on taking the thing apart? It's a Fujitsu LifeBook B142. I
made an exploratory attempt today and although I could see the hard
drive, the entire rear area wouldn't come apart, there's obviously some
screw I haven't found.

--
Chris Boyle
Winchester College


Sent via Deja.com
http://www.deja.com/

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

From: [EMAIL PROTECTED] (Colin Watson)
Subject: Re: ports
Date: 12 Dec 2000 19:32:55 GMT

cappie <[EMAIL PROTECTED]> wrote:
>In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] 
>says...
>> Hi all,
>> 
>> I have seen with netstat that I have some ports open:
>> 
>> tcp        0      0 0.0.0.0:1036            0.0.0.0:*              
>> LISTEN      742/gen_util_applet 

[snip]

>paranoia, cha cha cha..
>
>who cares about those ports? they are only used on your 'localhost' 
>network object.. not on the internet or your lan...

0.0.0.0 means that they're open on all available interfaces. Whether or
not remote connections are closed immediately isn't the point; if
they're only intended for local use, they should be listening on
127.0.0.1. There's a depressingly large amount of bad code out there.

>you don't have to close EVERYTHING, ya know... 

No, you don't, but a bit of care can pay off.

To the original poster: if you can't find an appropriate configuration
option in GNOME (you can often tell things to use Unix domain sockets
rather than TCP sockets, e.g. the X font server's 'no-listen = tcp'
option), have a look at ipchains.

-- 
Colin Watson                                     [[EMAIL PROTECTED]]
"When Irish eyes are smiling, watch your step."

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

From: [EMAIL PROTECTED]
Crossposted-To: 
alt.os.linux.mandrake,alt.os.linux.slackware,alt.uu.comp.os.linux.questions,comp.os.linux.development.system,comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.hardware,linux.dev.kernel
Subject: kernel questions
Date: Tue, 12 Dec 2000 20:05:10 GMT
Reply-To: [EMAIL PROTECTED]

I have a couple of questions.

What is a backport?

What patch goes with what kernel? i.e. Does patch-2.2.18 update kernel
2.2.17 or 2.2.18?

best regards,
charles

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

From: "Dan Krones" <[EMAIL PROTECTED]>
Subject: Can someone send me a sample httpd.conf file?
Date: Tue, 12 Dec 2000 20:07:41 GMT

Just installed RH 6.2 with Apache 1.3.12.  This version Apache configuration
file is different from my very old version.  I think the easiest way to know
that I have set it up correctly is to see a sample of one for this version
that is working.  All the How To's I check seem to have samples for the
older version of the configuration.

Can you send me a sample of this file that is working?

Also - with all the testing I have done so far, if I try to access my web
page, I just get the root directory display instead of the web page.  I am
thinking that this is just because the httpd.conf file is still not correct,
but I am not sure.

Also, I notice in the /var/log/httpd/error_log I get a message that says
"Invalid method in request"  Not sure what that means?

Thanks!!
--
[EMAIL PROTECTED]
www.pdsvs.com
949-367-1212



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


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list by posting to comp.os.linux.setup.

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Setup Digest
******************************

Reply via email to