FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Device-mapper Development

 
 
LinkBack Thread Tools
 
Old 12-05-2007, 05:57 PM
 
Default device-mapper ./WHATS_NEW lib/libdm-common.c

CVSROOT: /cvs/dm
Module name: device-mapper
Changes by: agk@sourceware.org 2007-12-05 18:57:34

Modified files:
. : WHATS_NEW
lib : libdm-common.c

Log message:
Fix minimum readahead debug message.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/WHATS_NEW.diff?cvsroot=dm&r1=1.214&r2=1.215
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/lib/libdm-common.c.diff?cvsroot=dm&r1=1.54&r2=1.55

--- device-mapper/WHATS_NEW 2007/12/05 17:14:30 1.214
+++ device-mapper/WHATS_NEW 2007/12/05 18:57:33 1.215
@@ -1,5 +1,6 @@
Version 1.02.24 -
===================================
+ Fix minimum readahead debug message.

Version 1.02.23 - 5th December 2007
===================================
--- device-mapper/lib/libdm-common.c 2007/12/05 14:11:26 1.54
+++ device-mapper/lib/libdm-common.c 2007/12/05 18:57:34 1.55
@@ -438,8 +438,8 @@
return_0;

if (current_read_ahead > read_ahead) {
- log_debug("%s: read ahead %" PRIu32
- " below minimum of %" PRIu32,
+ log_debug("%s: retaining kernel read ahead of %" PRIu32
+ " (requested %" PRIu32 ")",
dev_name, current_read_ahead, read_ahead);
return 1;
}

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 
Old 12-13-2007, 01:25 AM
 
Default device-mapper ./WHATS_NEW lib/libdm-common.c

CVSROOT: /cvs/dm
Module name: device-mapper
Changes by: agk@sourceware.org 2007-12-13 02:25:45

Modified files:
. : WHATS_NEW
lib : libdm-common.c

Log message:
Report error when empty device name passed to readahead functions.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/WHATS_NEW.diff?cvsroot=dm&r1=1.216&r2=1.217
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/lib/libdm-common.c.diff?cvsroot=dm&r1=1.55&r2=1.56

--- device-mapper/WHATS_NEW 2007/12/05 22:45:56 1.216
+++ device-mapper/WHATS_NEW 2007/12/13 02:25:45 1.217
@@ -1,5 +1,6 @@
Version 1.02.24 -
===================================
+ Report error when empty device name passed to readahead functions.
Fix minimum readahead debug message.

Version 1.02.23 - 5th December 2007
--- device-mapper/lib/libdm-common.c 2007/12/05 18:57:34 1.55
+++ device-mapper/lib/libdm-common.c 2007/12/13 02:25:45 1.56
@@ -382,6 +382,11 @@
int fd;
long read_ahead_long;

+ if (!*dev_name) {
+ log_error("Empty device name passed to BLKRAGET");
+ return 0;
+ }
+
if ((fd = _open_dev_node(dev_name)) < 0)
return_0;

@@ -406,6 +411,11 @@
int fd;
long read_ahead_long = (long) read_ahead;

+ if (!*dev_name) {
+ log_error("Empty device name passed to BLKRAGET");
+ return 0;
+ }
+
if ((fd = _open_dev_node(dev_name)) < 0)
return_0;


--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel

Wed Dec 12 20:30:02 2007
Return-path: <fedora-list-bounces@redhat.com>
Envelope-to: tom@linux-archive.org
Delivery-date: Wed, 12 Dec 2007 20:28:43 -0600
Received: from hormel.redhat.com ([209.132.177.30])
by server.java-tips.org with esmtp (Exim 4.68)
(envelope-from <fedora-list-bounces@redhat.com>)
id 1J2doZ-0001FS-8W
for tom@linux-archive.org; Wed, 12 Dec 2007 20:28:43 -0600
Received: from listman.util.phx.redhat.com (listman.util.phx.redhat.com [10.8.4.110])
by hormel.redhat.com (Postfix) with ESMTP
id 0BA2B72E83; Wed, 12 Dec 2007 21:28:38 -0500 (EST)
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com
[172.16.52.254])
by listman.util.phx.redhat.com (8.13.1/8.13.1) with ESMTP id
lBD2SZAw025857 for <fedora-list@listman.util.phx.redhat.com>;
Wed, 12 Dec 2007 21:28:36 -0500
Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32])
by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id lBD2SZEj006254
for <fedora-list@redhat.com>; Wed, 12 Dec 2007 21:28:35 -0500
Received: from zaphod.billlagr.id.au (220-253-59-105.VIC.netspace.net.au
[220.253.59.105])
by mx3.redhat.com (8.13.1/8.13.1) with ESMTP id lBD2SCBX030925
for <fedora-list@redhat.com>; Wed, 12 Dec 2007 21:28:13 -0500
Received: from localhost (localhost.localdomain [127.0.0.1])
by zaphod.billlagr.id.au (Postfix) with ESMTP id 029AD17B8090
for <fedora-list@redhat.com>; Thu, 13 Dec 2007 13:28:09 +1100 (EST)
X-Virus-Scanned: amavisd-new at billlagr.id.au
Received: from zaphod.billlagr.id.au ([127.0.0.1])
by localhost (ford.billlagr.id.au [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id WPAOrsfFf+Ri for <fedora-list@redhat.com>;
Thu, 13 Dec 2007 13:28:08 +1100 (EST)
Received: by zaphod.billlagr.id.au (Postfix, from userid 500)
id C5FF017B8092; Thu, 13 Dec 2007 13:28:08 +1100 (EST)
Date: Thu, 13 Dec 2007 13:28:08 +1100
From: Bill LaGrue <>
To: fedora-list@redhat.com
Message-ID: <20071213022808.GA15547@Zaphod>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.17 (2007-11-01)
X-RedHat-Blacklist-Warning: Relay 220.253.59.105 is blacklisted by a RBL system
X-RedHat-Spam-Score: -1.44
X-Scanned-By: MIMEDefang 2.58 on 172.16.48.32
X-loop: fedora-list@redhat.com
Subject: Upgrade from Fedora 7 to 8 and ppp trouble
X-BeenThere: fedora-list@redhat.com
X-Mailman-Version: 2.1.5
Precedence: junk
Reply-To: For users of Fedora <fedora-list@redhat.com>
List-Id: For users of Fedora <fedora-list.redhat.com>
List-Unsubscribe: <https://www.redhat.com/mailman/listinfo/fedora-list>,
<mailto:fedora-list-request@redhat.com?subject=unsubscribe>
List-Archive: <https://www.redhat.com/archives/fedora-list>
List-Post: <mailto:fedora-list@redhat.com>
List-Help: <mailto:fedora-list-request@redhat.com?subject=help>
List-Subscribe: <https://www.redhat.com/mailman/listinfo/fedora-list>,
<mailto:fedora-list-request@redhat.com?subject=subscribe>
Sender: fedora-list-bounces@redhat.com
Errors-To: fedora-list-bounces@redhat.com

Hi All I recently did a clean install of Fedora 8, from Fedora 7. Up until this time I had almost no trouble upgrading
between versions, however thats another story. Under Fedora 7 I had my mobile broadband connection running perfectly. After
upgrading to 8, ppp seems to no longer want to play nicely. I have 2 modems - a Huawei e220 USB and a Novatel Merlin U530
PCMCIA, both are supported natively, and I had broadband access using either modem under F7. I had some problems with the
Huawei, but got around that with some udev rules. When plugged in, both modems correctly create the relavent devices (Huawei
/dev/ttyUSB0 and /dev/ttyUSB1, Merlin /dev/ttyS0 and S1). If I start minicom, I can successfully send AT commands to the
modems, so I am sure that the problems are not caused there. When I attempt to dial in, I get the following output from
pppd -

using channel 1
Using interface ppp0 Connect: ppp0 <--> /dev/ttyUSB0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xb7851968> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0xcc48ab> <pcomp> <accomp>]
sent [LCP ConfAck id=0x0 <asyncmap 0x0> <auth chap MD5> <magic 0xcc48ab> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xb7851968> <pcomp> <accomp>]
rcvd [LCP DiscReq id=0x1 magic=0xcc48ab]
rcvd [CHAP Challenge id=0x1 <469669ba462d096a0c857b80ba185c2d>, name = "UMTS_CHAP_SRVR"]
sent [CHAP Response id=0x1 <47599f460bb1cf177ea5ffd3cdf2845b>, name = "a"]
rcvd [CHAP Success id=0x1 ""]
CHAP authentication succeeded
CHAP authentication succeeded
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15>]
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
rcvd [LCP ProtRej id=0x2 80 fd 01 01 00 0c 1a 04 78 00 18 04 78 00]
Protocol-Reject for 'Compression Control Protocol' (0x80fd) received
rcvd [IPCP ConfNak id=0x1 <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14> <ms-wins 10.11.12.13> <ms-wins 10.11.12.14>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 10.11.12.13> <ms-dns3 10.11.12.14>]
Terminating on signal 15
sent [LCP TermReq id=0x2 "User request"]
sent [LCP TermReq id=0x3 "User request"]
Connection terminated. Modem hangup

As far as I understand the above, it successfully dials in, authenticates using CHAP, tries to set up compression but that
is rejected, requests an IP address and DNS servers, successfully gets the DNS servers, but repeatedly requests an IP but is
never given one.
I can't understand what is different or has changed - I am using the same settings (as far as I know) as was under F7. Its
worth noting too, that I can connect using either modem under Windows.

The following pppd options in effect:
debug
updetach
idle 7200
dump
user a
password ??????
/dev/ttyUSB0
460800
lock
crtscts
modem
syncmap 0
novj
defaultroute
usepeerdns
noipx

I am using a stock F8 install (except the proprietary ATI graphics drivers), latest kernel (can't check exactly which
version at the moment) and all
latest updates.
All these above options are put in place by umtsmon, which i am using as my 'dialer'. I used (the same version) undef F7
with no
trouble. I have also tried comgt, GPRS-EasyConnect, gnome-dialler..all give the same result. I'm pretty sure that the issue
is with the ppp module itself, if it was any of the serial line modules I wouldn't be able to communicate with the modems
and I doubt they would actually get to/past authentication.
Anyone have any ideas? This is a major problem for me - I use it to conenct to work, and I have to drop back to Windows to
connect at the moment. I am seriously considering going back to F7, this release has just been a string of problems from the
outset.

Thanks
Bill

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 12-14-2007, 04:26 PM
 
Default device-mapper ./WHATS_NEW lib/libdm-common.c

CVSROOT: /cvs/dm
Module name: device-mapper
Changes by: agk@sourceware.org 2007-12-14 17:26:09

Modified files:
. : WHATS_NEW
lib : libdm-common.c

Log message:
Add node operation stack debug messages.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/WHATS_NEW.diff?cvsroot=dm&r1=1.217&r2=1.218
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/lib/libdm-common.c.diff?cvsroot=dm&r1=1.56&r2=1.57

--- device-mapper/WHATS_NEW 2007/12/13 02:25:45 1.217
+++ device-mapper/WHATS_NEW 2007/12/14 17:26:08 1.218
@@ -1,5 +1,6 @@
Version 1.02.24 -
===================================
+ Add node operation stack debug messages.
Report error when empty device name passed to readahead functions.
Fix minimum readahead debug message.

--- device-mapper/lib/libdm-common.c 2007/12/13 02:25:45 1.56
+++ device-mapper/lib/libdm-common.c 2007/12/14 17:26:09 1.57
@@ -575,18 +575,25 @@
int add_dev_node(const char *dev_name, uint32_t major, uint32_t minor,
uid_t uid, gid_t gid, mode_t mode)
{
+ log_debug("%s: Stacking NODE_ADD (%" PRIu32 ",%" PRIu32 ") %u:%u 0%o",
+ dev_name, major, minor, uid, gid, mode);
+
return _stack_node_op(NODE_ADD, dev_name, major, minor, uid, gid, mode,
"", 0, 0);
}

int rename_dev_node(const char *old_name, const char *new_name)
{
+ log_debug("%s: Stacking NODE_RENAME to %s", old_name, new_name);
+
return _stack_node_op(NODE_RENAME, new_name, 0, 0, 0, 0, 0, old_name,
0, 0);
}

int rm_dev_node(const char *dev_name)
{
+ log_debug("%s: Stacking NODE_DEL", dev_name);
+
return _stack_node_op(NODE_DEL, dev_name, 0, 0, 0, 0, 0, "", 0, 0);
}

@@ -596,6 +603,9 @@
if (read_ahead == DM_READ_AHEAD_AUTO)
return 1;

+ log_debug("%s: Stacking NODE_READ_AHEAD %" PRIu32 " (flags=%" PRIu32
+ ")", dev_name, read_ahead, read_ahead_flags);
+
return _stack_node_op(NODE_READ_AHEAD, dev_name, 0, 0, 0, 0, 0, "",
read_ahead, read_ahead_flags);
}

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
 

Thread Tools




All times are GMT. The time now is 06:39 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org