this is somehow off-topic, but hopefully someone here has been through
I just bought a shiny new Core 2 Duo machine (Intel DG33BU mobo), with
a nice 250G SATA disk. Fedora 7 installation went surprisingly well
(and fast), only problem was that onboard NIC was not recognized, but
upgrading the kernel offline fixed this. Everything is amazingly fast
BUT... I need this machine to dual-boot to Windows XP (still addicted
to some Windows-only games =( ). XP setup CD hangs just after showing
"examining hardware configuration" or something like that. It doesn't
really hangs, it just switches to a blank screen and sits there
forever (I already left it there for more than 15min to no avail).
Keyboard is responsive and HD led stays on. CTRL+ALT+DEL reboots as
I talked to IT guys at work and they told me they've been through this
already lots of times, it seems XP is unable to properly recognize the
disk when only Linux is installed on it (?!?), and only solution would
be to reformat the whole thing and install XP first.
Is that true?
My system is configured as:
~ fdisk -l /dev/sda
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 10467 83971755 8e Linux LVM
HD specs are:
~ hdparm -I /dev/sda
ATA device, with non-removable media
Model Number: SAMSUNG SP2504C
Serial Number: S09QJ1SP208120
Firmware Revision: VT100-50
GRUB is installed on MBR. All remaining space is sitting there,
waiting for XP to take over... =/
Anyone knows of a workaround? Should I try to create an additional
partition on the empty space and format it as VFAT hoping this would
make Windoze less stupid? Or am I doomed to remove all partitions and
start from scratch, starting with XP?
Im having a devil of a time getting vsftpd configured for auth. with
an ldap backend on Fedora Core 5. I keep getting a 530 530 Login
Unable to make a connection. Please try again.
The server has a username incorrect message.
Anonymous works fine. I have standard vsftpd.conf here is the snippet:
# Uncomment this to allow local users to log in.
# Uncomment this to enable any form of FTP write command.
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
# Activate logging of uploads/downloads.
# You may fully customise the login banner string:
#ftpd_banner=Welcome to blah FTP service.
# You may specify a file of disallowed anonymous e-mail addresses. Apparently
# useful for combatting certain DoS attacks.
# (default follows)
# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
# (default follows)
# You may activate the "-R" option to the builtin ls. This is disabled by
# default to avoid remote users being able to cause excessive I/O on large
# sites. However, some broken FTP clients such as "ncftp" and "mirror" assume
# the presence of the "-R" option, so there is a strong case for enabling it.
#enable for standalone mode
User authentication is against an ldap server. That seems to be
working fine. AFP users can connect ok. I read about an issue with
the pam module, but that doesnt seem to be the case. I keep beating
this thing around and around with no joy so far.
Harrisonburg City Public Schools
What does it mean to see an rpm with a kernel of 2.6.10-1.741_FC3, when
we go to a site like http://www.kernel.org and see the latest kernel is
at 2.6.10? If one wanted to compile their own kernel from this site,
would they be losing fixes/etc. from the "-1.741_FC3" portion?
Thanks, still learning here...
gpg --keyserver pgp.mit.edu --recv-keys D2E5A4E8
Key fingerprint: 1C86 8717 E485 FA4D B9EF 96E2 A1AC 4B00 D2E5 A4E8
> Before doing any more damage,
> make at least one disk image of what you have.
> If a disk image is a file of a larger drive,
> you can use loopback to examine it.
> If you want to make changes, don't use your only copy.
> Mike hennebry(a)web.cs.ndsu.NoDak.edu
> "Horse guts never lie." -- Cherek Bear-Shoulders
I'm not sure how to do that when I can't even mount the disk.
Any suggestions on what to do next?
I've noticed that lvm archives a volume group configuration when a change is
made to it (under /etc/lvm/archive.. In plain text too!) By looking at
these I can tell exactly what commands I ran in order to muck things up...
Fri Sep 21 17:56:48 2007: 'vgextend VolGroup00 /dev/sdb2'
Fri Sep 21 18:25:40 2007: 'vgreduce VolGroup00 /dev/sdb2'
Fri Sep 21 18:25:45 2007: 'vgcreate VolGroup01 /dev/sdb2'
Mon Sep 24 18:37:52 2007: 'vgremove VolGroup01'
Tue Sep 25 13:51:10 2007: 'vgcreate VolGroup01 /dev/sdb2'
I can also tell what pv's and lv's belonged to the corresponding VolGroup in
(btw, I've seen archived threads from what looks to be an old linux-lvm
specific mailing list. Anyone know if this still exists? I can't find it
I 'm just install a scsi card BusLogic BT-958 and HP DAT 40, on my
fedora core 6 system. I usually backup my system, using tar.
My problem is backup doesn't running well.
And this is my backup script:
#tar -b 1024 -cvf /dev/st0 /usr/local/src/my_home/yahoomail | bzip2 -9 >
Backup only run a while, and archive some files in directory and then stop.
[root@mis-s155 ~]# tar -b 1024 -cvf /dev/st0
/usr/local/src/my_home/yahoomail | bzip2 -9 > /var/tmp/Backup.log.bz2
tar: Removing leading `/' from member names
tar: /dev/st0: Cannot write: Device or resource busy
tar: Error is not recoverable: exiting now
But when I put out -b parameter on tar. It run a while and not backup
directory at all
The backup script I used was running well when I'm using redhat 9.0 system.
I attach some message from my system
scsi: ***** BusLogic SCSI Driver Version 2.1.16 of 18 July 2002 *****
scsi: Copyright 1995-1998 by Leonard N. Zubkoff <lnz(a)dandelion.com>
scsi5: Configuring BusLogic Model BT-958 PCI Wide Ultra SCSI Host Adapter
scsi5: Firmware Version: 5.06I, I/O Address: 0xDC00, IRQ Channel:
scsi5: PCI Bus: 2, Device: 3, Address: 0xFEAFF000, Host Adapter SCSI ID: 7
scsi5: Parity Checking: Enabled, Extended Translation: Enabled
scsi5: Synchronous Negotiation: Fast, Wide Negotiation: Enabled
scsi5: Disconnect/Reconnect: Enabled, Tagged Queuing: Enabled
scsi5: Scatter/Gather Limit: 128 of 8192 segments, Mailboxes: 211
scsi5: Driver Queue Depth: 211, Host Adapter Queue Depth: 192
scsi5: Tagged Queue Depth: Automatic, Untagged Queue Depth: 3
scsi5: SCSI Bus Termination: Both Enabled, SCAM: Disabled
scsi5: *** BusLogic BT-958 Initialized Successfully ***
scsi5 : BusLogic BT-958
Vendor: HP Model: C5683A Rev: YP61
Type: Sequential-Access ANSI SCSI revision: 03
scsi 5:0:3:0: Attached scsi generic sg1 type 1
st: Version 20050830, fixed bufsize 32768, s/g segs 256
st 5:0:3:0: Attached scsi tape st0
st0: try direct i/o: yes (alignment 512 B)
[root@mis-s155 ~]# mt -f /dev/st0 status
SCSI 2 tape drive:
File number=-1, block number=-1, partition=0.
Tape block size 0 bytes. Density code 0x26 (DDS-4 or QIC-4GB).
Soft error count since last status=0
General status bits on (1010000):
I very appeciate for any solution and comment.
Jari Marikainen wrote:
> I would like to forward incoming traffic from internet to
> "<195.198.111.x> port 80" to "<some other ip on the internet> port 80"
> in FC3 on the same interface.
I would try the DNAT/SNAT iptables targets, along the lines of:
iptables -t nat -A PREROUTING -p tcp --dport 80 -d 195.198.111.x \
-j DNAT --to-destination 126.96.36.199
iptables -t nat -A POSTROUTING -p tcp --dport 80 -d 188.8.131.52 \
-j SNAT --to-source <your external IP address on this machine>
The second line makes the real server send it's replies through the same
path (otherwise it will reply directly to the client)
You have to enable/allow forwarding for everything to work.
Do you have 'cups' installed?
Why not use 'http://localhost:631/', it works well.
If you printer doesn't have a driver there, try the
'gutenprint-' package. It is not a *rpm yet, but
the instructions are straight forward.
I've made some progress on troubleshooting this "ssh & port 22 problem".
Here was my original post:
When I try to connect from a remote machine to my one at home
using ssh I get the error message "ssh: connect to host 184.108.40.206 port
22: Connection refused" -- but using ssh in the outgoing direction (i.e.
from home to the remote location) works fine.
Here's what's happened since:
I have two machines (PuteA and PuteB) sharing an ActionTec DSL modem. The IP
I was using was that of my "Gateway" ISP (220.127.116.11) -- an error. But
when I used the correct, static IP address of the ActionTec
(18.104.22.168) I got this message:
ssh: connect to host 22.214.171.124 port22: Connection refused
I thought I had port forwarding (for port 22) set correctly on the modem. For
troubleshooting, my ISP advised me to run "tcpdump -n host 192.168.0.2" on
PuteA, where 192.168.0.2 is the "internal" IP of PuteA. Then I logged on
to the remote location from PuteB and tried to ssh from there to PuteA
using the static IP address. The ssh from the remote location timed out
with the same "port 22: connection refused" message. The tcpdump on Pute
A gave this message:
> tcpdump: listening on eth0
> 17:27:33.662753 arp who-has 192.168.0.2 tell 192.168.0.1
where 126.96.36.199 is the "internal" IP of the modem. (Sorry if I have
this terminology wrong.)
My ISP says the problem is the firewall on PuteA and that he doesn't do linux
Here are my replies to the people who responded to my first post:
(1) "Do you have the firewall configured to deny incoming packets to port
How do I check this?
(2) "You need to check that sshd is running on your system."
Yes. I comes up with each boot. Also "service sshd status" gives
"sshd (pid 787) is running".
(3) "sshd uses /etc/hosts.allow and /etc/hosts.deny. Check that they are
configured to allow your remote machine in."
Both files have only commented lines.
(4) "Also, if your /etc/ssh/sshd_config file has VerifyReverseMapping
turned on, you will get kicked out if your remote address does not work
with a reverse dns lookup."
There's a "VerifyReverseMapping no" line in the file but it's been commented
(5) "Just to be sure: when you are at home machine, try 'ssh localhost'.
If this works, you probably need to check your firewall."
It seems to work -- I ssh to the machine itself.
(6) "This is common on every system I have ever loaded with FC2. Your
iptables are blocking the connection. You can do one of the following:
iptables -A INPUT -m tcp -p tcp --dport 22 - j ACCEPT"
I tried this. The ssh to PuteA from the remote location still times out.
(7) "Oh yes I also took out the REDHAT firewall entrie as I dont have a
clue as to how to work with it."
I've fiddled endlessly with this "system tool" at each of the three levels
of security as well as using the "customize" option to set eth0 as a
trusted device and to allow incoming ssh. It doesn't show the settings
that actually exist.
(8) "If your fedora box is connected directly to a DSL modem, you should
be able to find your IP address by running ifconfig from the command
line and looking for 'inet addr:' (probably under 'eth0')."
eth0 Link encap:Ethernet HWaddr 00:40:05:81:60:8E
inet addr:192.168.0.4 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2184 errors:0 dropped:0 overruns:0 frame:0
TX packets:2005 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:1122075 (1.0 Mb) TX bytes:190214 (185.7 Kb)
Interrupt:5 Base address:0x3000
Could this be the problem -- the "inet addr" of 192.168.0.4? As far as I
can tell, the modem is 192.168.0.1, PuteA is 192.168.0.2, and PuteB is
192.168.0.3. I haven't set anything as 192.168.0.4.
(9) "nmap 188.8.131.52"
(The 1598 ports scanned but not shown below are in state: closed)
Port State Service
23/tcp open telnet
53/tcp open domain
80/tcp open http
Shouldn't ssh be here? And what's telnet doing open? The books have me
scared to death of this... hackers, crackers, script kiddies, etc.
Thanks for the help!
I upgraded FC-6 to F-7 on an Athlon64 machine,
and the process hung several (3 I think) times during installation.
Each time I re-started the machine,
the number of packages was greatly reduced: 950 ... 400 ... 50.
The system works fine,
but it is pretty clear all the packages were not properly installed.
Eg when I ran "yum update" after the installation
only 30 or so packages were downloaded,
while on other systems the number was 300-400.
Is there any way of checking that everything has been downloaded?
Or is there even a command like "yum --force install"
to force a re-installation of a particular package?
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland