Fedora 11 FTP
by Bernie VK2KAD
In response to Harold's question - there is a SFTP service running on the
Fedora11 image. At least in the Hercules image that is.
Using it I was able to FTP the Midnight Commander RPM to Fedora after
downloading it on my Windows host. I used psftp as the Windows Client (From
the makers of Putty). Unfortunately the RPM wasn't installable as there
were many unmet dependencies. I am now in the process of setting up
Hercules on Ubuntu - hopefully my Windows networking woes will go away and I
will be able to 'yum install' everything I need, then I can just ship the
image back to windows !! (Well that's my plan for now)
Bern
-----Original Message-----
From: fedora-s390x-bounces(a)lists.fedoraproject.org
[mailto:fedora-s390x-bounces@lists.fedoraproject.org] On Behalf Of
fedora-s390x-request(a)lists.fedoraproject.org
Sent: Wednesday, 22 July 2009 10:00 PM
To: fedora-s390x(a)lists.fedoraproject.org
Subject: fedora-s390x Digest, Vol 8, Issue 7
Send fedora-s390x mailing list submissions to
fedora-s390x(a)lists.fedoraproject.org
To subscribe or unsubscribe via the World Wide Web, visit
https://admin.fedoraproject.org/mailman/listinfo/fedora-s390x
or, via email, send a message with subject or body 'help' to
fedora-s390x-request(a)lists.fedoraproject.org
You can reach the person managing the list at
fedora-s390x-owner(a)lists.fedoraproject.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of fedora-s390x digest..."
Today's Topics:
1. Re: [Fwd: Re: Updated Fedora 11 hercules images available]
(Phil Knirsch)
2. Re: [Fwd: Re: Updated Fedora 11 hercules images available]
(Harold Grovesteen)
3. libatomic_ops (Dan Hor?k)
4. Re: libatomic_ops (Ivan Warren)
----------------------------------------------------------------------
Message: 1
Date: Tue, 21 Jul 2009 15:09:19 +0200
From: Phil Knirsch <pknirsch(a)redhat.com>
Subject: Re: [Fwd: Re: Updated Fedora 11 hercules images available]
To: fedora-s390x(a)lists.fedoraproject.org
Message-ID: <4A65BDFF.4040309(a)redhat.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
On 07/21/2009 12:09 PM, Harold Grovesteen wrote:
> Thought I would forward this request to this list. I am with this
> poster. It would be great to have something better than vi. I just
> completed installing the latest released disk and am about to add a new
> disk for /home.
>
> Is there an FTP server installed? Better yet, is there a place that has
> a list of the installed packages?
>
> Harold Grovesteen
>
Hi Harold.
As already posted on the marist list, i'll add that as it's really a
small and very useful tool that i remember now many people on IBM
mainframes use as it's similar to the x3270 consoles.
Regarding an ftp server, what are you referring here too? For the images
we only have the secondary arch spins hosting site at the moment which
doesn't have FTP access afaik. For the packages themselves we have our
normal fedora repositories along with mirrors, some of which will have
FTP access.
The idea of releasing a list of installed packages though is really
good, i'll do that for the next release and will post the current one to
the thread on Marist list.
Thanks & regards, Phil
--
Philipp Knirsch | Tel.: +49-711-96437-470
Team Lead Core Services | Fax.: +49-711-96437-111
Red Hat GmbH | Email: Phil Knirsch <pknirsch(a)redhat.com>
Hauptstaetterstr. 58 | Web: http://www.redhat.com/
D-70178 Stuttgart, Germany
Motd: You're only jealous cos the little penguins are talking to me.
------------------------------
Message: 2
Date: Wed, 22 Jul 2009 04:52:31 -0500
From: Harold Grovesteen <h.grovsteen(a)tx.rr.com>
Subject: Re: [Fwd: Re: Updated Fedora 11 hercules images available]
To: fedora-s390x(a)lists.fedoraproject.org
Message-ID: <4A66E15F.20500(a)tx.rr.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Phil Knirsch wrote:
>On 07/21/2009 12:09 PM, Harold Grovesteen wrote:
>
>
>>Thought I would forward this request to this list. I am with this
>>poster. It would be great to have something better than vi. I just
>>completed installing the latest released disk and am about to add a new
>>disk for /home.
>>
>>Is there an FTP server installed? Better yet, is there a place that has
>>a list of the installed packages?
>>
>>Harold Grovesteen
>>
>>
>>
>
>Hi Harold.
>
>As already posted on the marist list, i'll add that as it's really a
>small and very useful tool that i remember now many people on IBM
>mainframes use as it's similar to the x3270 consoles.
>
>Regarding an ftp server, what are you referring here too? For the images
>we only have the secondary arch spins hosting site at the moment which
>doesn't have FTP access afaik. For the packages themselves we have our
>normal fedora repositories along with mirrors, some of which will have
>FTP access.
>
>The idea of releasing a list of installed packages though is really
>good, i'll do that for the next release and will post the current one to
>the thread on Marist list.
>
This would have answered my question. What I was asking is if a FTP
server was already installed on the Fedora 11 image or not that would
allow Fedora 11 to be a FTP server as opposed to an FTP client. I am
assuming it has a client installed. Maybe not. Anyway, this list would
easily answer such questions. Thanks.
>
>Thanks & regards, Phil
>
>
>
------------------------------
Message: 3
Date: Wed, 22 Jul 2009 12:06:03 +0200
From: Dan Hor?k <dan(a)danny.cz>
Subject: libatomic_ops
To: fedora-s390x(a)lists.fedoraproject.org
Message-ID: <1248257163.25339.160.camel(a)eagle.danny.cz>
Content-Type: text/plain
Hi all,
please, could some low-level s390 guru take a look at the atomic
primitives in libatomic_ops [1]? Are they correct, any improvements
possible, ...? I am trying to recommend this library as a universal
source of atomic primitives for user space instead of developing a
limited set for each project individually (and usually only for major
archs like i386/x86_64).
Thanks
Dan
[1]
http://bdwgc.cvs.sourceforge.net/viewvc/bdwgc/bdwgc/libatomic_ops-1.2/
specifically the src/atomic_ops/sysdeps/gcc/s390.h file
------------------------------
Message: 4
Date: Wed, 22 Jul 2009 12:33:23 +0200
From: Ivan Warren <ivan(a)vmfacility.fr>
Subject: Re: libatomic_ops
To: fedora-s390x(a)lists.fedoraproject.org
Message-ID: <4A66EAF3.6060801(a)vmfacility.fr>
Content-Type: text/plain; charset="iso-8859-1"
Dan Hor?k wrote:
> Hi all,
>
> please, could some low-level s390 guru take a look at the atomic
> primitives in libatomic_ops [1]? Are they correct, any improvements
> possible, ...? I am trying to recommend this library as a universal
> source of atomic primitives for user space instead of developing a
> limited set for each project individually (and usually only for major
> archs like i386/x86_64).
>
>
> Thanks
> Dan
>
> [1]
> http://bdwgc.cvs.sourceforge.net/viewvc/bdwgc/bdwgc/libatomic_ops-1.2/
> specifically the src/atomic_ops/sysdeps/gcc/s390.h file
>
>
>
I'm not sure the s390x version is correct.
Apparently (but I could be wrong), AO_t is pretty much guaranteed to be
a host architecture 'int'.
On s390x, an int is a 32 bit entity.
On s390x, the s390.h code performs a "CSG" - which acts upon 64 bit
registers, and the target memory address will be seen as a container for
a 64 bit value (basically storing a 64 bit value in a 32 bit container -
thus overshooting by 4 bytes).
The Compare and Swap instructions are as follow :
s390/32 bit : CS
s390x/32 bit : CS
s390/64 bit : CDS
s390x/64 bit : CSG or CDS
s390/128 bit : N/A
s390/128 bit : CDSG
See z/Architecture Principles of Operation - SA22-7832-07 (aka
dz9zr007.pdf) Page 7-66
--Ivan
14 years, 8 months
libatomic_ops
by Dan Horák
Hi all,
please, could some low-level s390 guru take a look at the atomic
primitives in libatomic_ops [1]? Are they correct, any improvements
possible, ...? I am trying to recommend this library as a universal
source of atomic primitives for user space instead of developing a
limited set for each project individually (and usually only for major
archs like i386/x86_64).
Thanks
Dan
[1]
http://bdwgc.cvs.sourceforge.net/viewvc/bdwgc/bdwgc/libatomic_ops-1.2/
specifically the src/atomic_ops/sysdeps/gcc/s390.h file
14 years, 8 months
[Fwd: Re: Updated Fedora 11 hercules images available]
by Harold Grovesteen
Thought I would forward this request to this list. I am with this
poster. It would be great to have something better than vi. I just
completed installing the latest released disk and am about to add a new
disk for /home.
Is there an FTP server installed? Better yet, is there a place that has
a list of the installed packages?
Harold Grovesteen
-------- Original Message --------
Subject: Re: Updated Fedora 11 hercules images available
Date: Tue, 21 Jul 2009 10:12:47 +1000
From: Bernie Saward <bernie_saward(a)HOTMAIL.COM>
Reply-To: Linux on 390 Port <LINUX-390(a)VM.MARIST.EDU>
To: LINUX-390(a)VM.MARIST.EDU
References: <4A6077D1.6010401(a)redhat.com>
Hi Phil
Many thanks for the new image - can I offer a suggestion - to help out us
old mainframers who have trouble coming to grips with the likes of vi -
could you pls include the package Midnight Commander.
My first actions with a new image are to 'customise' it - then load Midnight
Commander so I can 'get around' and tweak for my local machine. This can be
a bit tricky if the networking in the image doesn't match the network I am
on.
Keep up the great work
Bern
-----Original Message-----
From: Linux on 390 Port [mailto:LINUX-390@VM.MARIST.EDU] On Behalf Of Phil
Knirsch
Sent: Friday, 17 July 2009 11:09 PM
To: LINUX-390(a)VM.MARIST.EDU
Subject: Updated Fedora 11 hercules images available
Hi folks.
Just a quick heads up, i've updated the hercules image for Fedora 11 the
last few days and uploaded it yesterday.
I've done the following changes:
- Update to latest and greatest packages (newest kernel etc)
- Dropped all the mkinitrd hacks, works without them now!
- Added development-libs and development-tools to the installation
- Minor fixes and changes to the hercules.cnf file
- Updated documentation
- Switched the image from a compressed dasd to an uncompressed one
The last point affects performance drastically as the limiting factor
was mainly the CPU, and compressing and uncompressing each and every
block every time it's read or written to a DASD really ate a lot of that
away. Bootup is now noticeably faster as is compiling or any other disk
related work. The side effect of this all though is that you will now
need around 9GB disk space available for the uncompressed DASD image.
Fortunately compressed it's only 640MB at the moment, so marginally
bigger than the old one.
As usual the docu, config files and images can be found here:
http://secondary.fedoraproject.org/pub/alt/spins/S390/
Have fun!
Thanks & regards, Phil
--
Philipp Knirsch | Tel.: +49-711-96437-470
Team Lead Core Services | Fax.: +49-711-96437-111
Red Hat GmbH | Email: Phil Knirsch <pknirsch(a)redhat.com>
Hauptstaetterstr. 58 | Web: http://www.redhat.com/
D-70178 Stuttgart, Germany
Motd: You're only jealous cos the little penguins are talking to me.
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to LISTSERV(a)VM.MARIST.EDU with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to LISTSERV(a)VM.MARIST.EDU with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
14 years, 8 months
Updated Fedora 11 hercules images available
by Phil Knirsch
Hi folks.
Just a quick heads up, i've updated the hercules image for Fedora 11 the
last few days and uploaded it yesterday.
I've done the following changes:
- Update to latest and greatest packages (newest kernel etc)
- Dropped all the mkinitrd hacks, works without them now!
- Added development-libs and development-tools to the installation
- Minor fixes and changes to the hercules.cnf file
- Updated documentation
- Switched the image from a compressed dasd to an uncompressed one
The last point affects performance drastically as the limiting factor
was mainly the CPU, and compressing and uncompressing each and every
block every time it's read or written to a DASD really ate a lot of that
away. Bootup is now noticeably faster as is compiling or any other disk
related work. The side effect of this all though is that you will now
need around 9GB disk space available for the uncompressed DASD image.
Fortunately compressed it's only 640MB at the moment, so marginally
bigger than the old one.
As usual the docu, config files and images can be found here:
http://secondary.fedoraproject.org/pub/alt/spins/S390/
Have fun!
Thanks & regards, Phil
--
Philipp Knirsch | Tel.: +49-711-96437-470
Team Lead Core Services | Fax.: +49-711-96437-111
Red Hat GmbH | Email: Phil Knirsch <pknirsch(a)redhat.com>
Hauptstaetterstr. 58 | Web: http://www.redhat.com/
D-70178 Stuttgart, Germany
Motd: You're only jealous cos the little penguins are talking to me.
14 years, 8 months
Booting the installation images
by Karsten Hopp
Hello,
It took me a while, but I've finally figured out the pungi problems
where almost no
libraries got copied into the installation initrd. I'll prepare a patch
and will send it to David
So far I run into several problems with those images:
- all parameters given in the parm file are ignored and I had to enter
the whole network
configuration again
- insmod doesn't load any modules, which means that the linuxrc can't
load required modules.
I currently have to drop to a shell and load them manually with modprobe
- dbus-daemon doesn't start automatically, but the loader relies on it
- the loader doesn't get started automatically and hangs at the first
screen when started manually.
- wpa_supplicant gets started ?!
Karsten
14 years, 8 months
RE: fedora-s390x Digest, Vol 7, Issue 3
by Bernie VK2KAD
Hi all
Can anyone tell me how to add more DASD to the Hercules version of
Fedora11??
I was wanting to use Fedora11 as a rescue system for one of my other
zLinux's - my plan was to add the DASD image to the Hercules config file -
after IPL I should be able to mount the broken disk and fix it...
After doing this the new devices wasn't detected ?? A quick Google said
that 'kuzdu' didn't recognise HDDs - not sure what that all means but my
suspicion is that the Fedora11 is pretty new and bare bones.
Thanks in advance for any suggestions.
Bern
14 years, 8 months
current state of the services network and NetworkManager
by Steffen Maier
Hi all,
while I was trying to get all different kinds of network device types of
s390x working (bug reports in bugzilla pending), I got it working nicely
with the traditional network service, which is what users would
typically use in a data center.
NetworkManager requires the activation (chkconfig) of the services
messagebus, haldaemon. Then NM works with static IP settings through
nm-system-settings, which is what we need in
linuxrc.s390/loader/anaconda, and seems to detect at least qeth and lcs
devices (it doesn't touch ctc and netiucv). Tested with
NetworkManager-0.7.1-4.git20090414.fc11.1.s390x.
Support for the s390 bus types ccw, ccwgroup, and iucv (which is
sufficient for all network types as well as dasd, zfcp, and tape) has
been in HAL since 2005
[http://lists.freedesktop.org/archives/hal/2005-June/002628.html,
http://cgit.freedesktop.org/hal/commit/?id=2ed3c042c13f741b8a2166e4551d9d...].
Only when NM changes to udev for device sensing there might need to be
new support for s390. See the attachment for an example output of lshal
of a z/VM 5.3 guest on a z10 with 12 different types of network devices
as well as dasd and zfcp.
If lo and eth0 (a real OSA NIC) are the only network devices defined by
means of ifcfg file in /etc/sysconfig/network-scripts/ and they have
been brought up by the network service on boot, I can startup NM and
eth0 keeps working. This is what I see in syslog-ng:
> Jun 21 19:12:44 h4245010 NetworkManager: <info> starting...
> Jun 21 19:12:44 h4245010 NetworkManager: <WARN> nm_generic_enable_loopback(): error -17 returned from rtnl_addr_add(): Sucess
> Jun 21 19:12:44 h4245010 NetworkManager: <info> (eth0): new Ethernet device (driver: 'qeth')
> Jun 21 19:12:44 h4245010 NetworkManager: <info> (eth0): exported as /org/freedesktop/Hal/devices/net_02_00_00_eb_a5_4b
> Jun 21 19:12:44 h4245010 NetworkManager: <info> Trying to start the supplicant...
> Jun 21 19:12:44 h4245010 NetworkManager: <info> Trying to start the system settings daemon...
> Jun 21 19:12:44 h4245010 NetworkManager: <info> (eth0): carrier now ON (device state 1)
> Jun 21 19:12:44 h4245010 nm-system-settings: Loaded plugin ifcfg-rh: (c) 2007 - 2008 Red Hat, Inc. To report bugs please use the NetworkManager mailing list.
> Jun 21 19:12:44 h4245010 nm-system-settings: ifcfg-rh: parsing /etc/sysconfig/network-scripts/ifcfg-eth0 ...
> Jun 21 19:12:44 h4245010 nm-system-settings: ifcfg-rh: read connection 'System eth0'
> Jun 21 19:12:44 h4245010 nm-system-settings: ifcfg-rh: parsing /etc/sysconfig/network-scripts/ifcfg-lo ...
> Jun 21 19:12:48 h4245010 NetworkManager: <info> (eth0): device state change: 1 -> 2
> Jun 21 19:12:48 h4245010 NetworkManager: <info> (eth0): preparing device.
> Jun 21 19:12:48 h4245010 NetworkManager: <info> (eth0): deactivating device (reason: 2).
> Jun 21 19:12:48 h4245010 NetworkManager: <WARN> check_one_route(): (eth0) error -34 returned from rtnl_route_del(): Sucess
> Jun 21 19:12:48 h4245010 NetworkManager: <info> (eth0): device state change: 2 -> 3
> Jun 21 19:12:48 h4245010 NetworkManager: <info> Activation (eth0) starting connection 'System eth0'
> Jun 21 19:12:48 h4245010 NetworkManager: <info> (eth0): device state change: 3 -> 4
> Jun 21 19:12:48 h4245010 NetworkManager: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled...
> Jun 21 19:12:48 h4245010 NetworkManager: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) started...
> Jun 21 19:12:48 h4245010 NetworkManager: <info> Activation (eth0) Stage 2 of 5 (Device Configure) scheduled...
> Jun 21 19:12:48 h4245010 NetworkManager: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) complete.
> Jun 21 19:12:48 h4245010 NetworkManager: <info> Activation (eth0) Stage 2 of 5 (Device Configure) starting...
> Jun 21 19:12:48 h4245010 NetworkManager: <info> (eth0): device state change: 4 -> 5
> Jun 21 19:12:48 h4245010 NetworkManager: <info> Activation (eth0) Stage 2 of 5 (Device Configure) successful.
> Jun 21 19:12:48 h4245010 NetworkManager: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled.
> Jun 21 19:12:48 h4245010 NetworkManager: <info> Activation (eth0) Stage 2 of 5 (Device Configure) complete.
> Jun 21 19:12:48 h4245010 NetworkManager: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) started...
> Jun 21 19:12:48 h4245010 NetworkManager: <info> (eth0): device state change: 5 -> 7
> Jun 21 19:12:48 h4245010 NetworkManager: <info> Activation (eth0) Stage 4 of 5 (IP Configure Get) scheduled...
> Jun 21 19:12:48 h4245010 NetworkManager: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
> Jun 21 19:12:48 h4245010 NetworkManager: <info> Activation (eth0) Stage 4 of 5 (IP Configure Get) started...
> Jun 21 19:12:48 h4245010 NetworkManager: <info> Activation (eth0) Stage 5 of 5 (IP Configure Commit) scheduled...
> Jun 21 19:12:48 h4245010 NetworkManager: <info> Activation (eth0) Stage 4 of 5 (IP Configure Get) complete.
> Jun 21 19:12:48 h4245010 NetworkManager: <info> Activation (eth0) Stage 5 of 5 (IP Configure Commit) started...
> Jun 21 19:12:49 h4245010 NetworkManager: <info> (eth0): device state change: 7 -> 8
> Jun 21 19:12:49 h4245010 NetworkManager: <info> Policy set 'System eth0' (eth0) as default for routing and DNS.
> Jun 21 19:12:49 h4245010 NetworkManager: <info> Activation (eth0) successful, device activated.
> Jun 21 19:12:49 h4245010 NetworkManager: <info> Activation (eth0) Stage 5 of 5 (IP Configure Commit) complete.
> # nm-tool
>
> NetworkManager Tool
>
> State: connected
>
>
> ** (process:2189): WARNING **: error: failed to read connections from org.freedesktop.NetworkManagerUserSettings:
> The name org.freedesktop.NetworkManagerUserSettings was not provided by any .service files
> - Device: eth0 [System eth0] --------------------------------------------------
> Type: Wired
> Driver: qeth
> State: connected
> Default: yes
> HW Address: 02:00:00:EB:A5:4B
>
> Capabilities:
> Carrier Detect: yes
> Speed: 1000 Mb/s
>
> Wired Properties
> Carrier: on
>
> IPv4 Settings:
> Address: X.Y.108.140
> Prefix: 22 (255.255.252.0)
> Gateway: X.Y.108.1
>
> DNS: X.Y.120.241
> DNS: X.Y.64.172
Also the output of nm-tool looks promising. If I start "anaconda -t -T",
I find the following in /tmp/anacdump.txt after it bails out on sensing
DASDs:
> id.network: Network instance, containing members:
> id.network.netdevices: {'eth0': DEVICE=eth0
> BOOTPROTO=none
> DNS1=X.Y.120.241
> DNS2=X.Y.64.172
> HWADDR=02:00:00:EB:A5:4B
> IPADDR=X.Y.108.140
> NETMASK=255.255.252.0
> NETTYPE=qeth
> ONBOOT=yes
> SUBCHANNELS=0.0.f5f0,0.0.f5f1,0.0.f5f2
> USERCTL=no
>
> }
> id.network.ksdevice: None
> id.network.overrideDHCPhostname: False
> id.network.hostname: XYZ.boeblingen.de.ibm.com
> id.network.domains: [boeblingen.de.ibm.com ibm.com]
This seems to be very good with regard to network so far.
Steffen
Linux on System z Development
IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Erich Baier
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294
14 years, 8 months