Re: [PATCH 1/2] libata: Support PIO polling-only hosts.

2007-11-07 Thread Mark Lord
Paul Mundt wrote: On Wed, Nov 07, 2007 at 01:09:40PM +, Alan Cox wrote: On Wed, 7 Nov 2007 17:10:52 +0900 Paul Mundt <[EMAIL PROTECTED]> wrote: By default ata_host_activate() expects a valid IRQ in order to successfully register the host. This patch enables a special case for registering

Re: r8169: NFG in 2.6.24-rc2

2007-11-07 Thread Mark Lord
Mark Lord wrote: My ASUS board has one of these: 01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01) Subsystem: ASUSTeK Computer Inc. Unknown device 81aa Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV

Re: SC1200 failure in 2.6.23 and 2.6.24-rc1-git10

2007-11-07 Thread Mark Lord
WRAP ~ #./hdparm -I /dev/hda /dev/hda: ATAPI Write-once device, with non-removable media Model Number: SanDisk SDP3B-16 Serial Number: 24313671615 Firmware Revision: vdd 1.00 Standards: Likely used: 3 Configuration: DRQ response: 50us.

Re: irq 21: nobody cared 2.6.24-rc1

2007-11-07 Thread Mark Lord
Bongani Hlope wrote: On Thursday 01 November 2007 22:32:38 Andrew Morton wrote: On Thu, 25 Oct 2007 10:45:36 +0200 Bongani Hlope [EMAIL PROTECTED] wrote: Booting with irqpoll works ls /proc/irq/21/ (with irqpoll) ehci_hcd:usb1/ smp_affinity uhci_hcd:usb2/ uhci_hcd:usb3/ uhci_hcd:usb4/

[PATCH] r8169 fix regression on ASUS motherboards

2007-11-07 Thread Mark Lord
Fix r8169 regression on ASUS motherboards. The r8169 ethernet driver worked fine in 2.6.23, but fails in 2.6.24-rc* for the onboard ethernet of ASUS P5B series motherboards. This patch fixes it again. Signed-off-by: Mark Lord [EMAIL PROTECTED] --- broken/drivers/net/r8169.c 2007-11-07 12:32

Re: [PATCH 1/2] libata: Support PIO polling-only hosts.

2007-11-07 Thread Mark Lord
Paul Mundt wrote: On Wed, Nov 07, 2007 at 01:09:40PM +, Alan Cox wrote: On Wed, 7 Nov 2007 17:10:52 +0900 Paul Mundt [EMAIL PROTECTED] wrote: By default ata_host_activate() expects a valid IRQ in order to successfully register the host. This patch enables a special case for registering

r8169: NFG in 2.6.24-rc2

2007-11-07 Thread Mark Lord
My ASUS board has one of these: 01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01) Subsystem: ASUSTeK Computer Inc. Unknown device 81aa Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-

Re: [PATCH] r8169 fix regression on ASUS motherboards

2007-11-07 Thread Mark Lord
Francois Romieu wrote: Mark Lord [EMAIL PROTECTED] : Fix r8169 regression on ASUS motherboards. The r8169 ethernet driver worked fine in 2.6.23, but fails in 2.6.24-rc* for the onboard ethernet of ASUS P5B series motherboards. This patch fixes it again. [...] --- broken/drivers/net/r8169.c

[PATCH] r8169 fix regression on ASUS motherboards (updated)

2007-11-07 Thread Mark Lord
Mark Lord wrote: Francois Romieu wrote: .. I am not convinced, the broken ones include some RTL_GIGA_MAC_VER_12 too, namely XID = 0x3800. .. Here is the updated patch for both VER_11 and VER_12. Let's get this in, as the driver has been broken for weeks now. * * * * Fix r8169 regression

Re: SC1200 failure in 2.6.23 and 2.6.24-rc1-git10

2007-11-07 Thread Mark Lord
Denys Fedoryshchenko wrote: On Wed, 07 Nov 2007 14:12:55 -0500, Mark Lord wrote WRAP ~ #./hdparm -I /dev/hda /dev/hda: ATAPI Write-once device, with non-removable media Model Number: SanDisk SDP3B-16 Serial Number: 24313671615 Firmware Revision: vdd 1.00

Re: [PATCH] r8169 fix regression on ASUS motherboards (updated)

2007-11-07 Thread Mark Lord
Mark Lord wrote: Mark Lord wrote: Francois Romieu wrote: .. I am not convinced, the broken ones include some RTL_GIGA_MAC_VER_12 too, namely XID = 0x3800. .. Here is the updated patch for both VER_11 and VER_12. Let's get this in, as the driver has been broken for weeks now

Re: [PATCH] r8169 fix regression on ASUS motherboards (updated)

2007-11-07 Thread Mark Lord
Francois Romieu wrote: Mark Lord [EMAIL PROTECTED] : Mark Lord wrote: Francois Romieu wrote: .. I am not convinced, the broken ones include some RTL_GIGA_MAC_VER_12 too, namely XID = 0x3800. .. Here is the updated patch for both VER_11 and VER_12. Let's get this in, as the driver has

Re: SC1200 failure in 2.6.23 and 2.6.24-rc1-git10

2007-11-07 Thread Mark Lord
Jeff Garzik wrote: On Wed, Nov 07, 2007 at 02:12:55PM -0500, Mark Lord wrote: That cannot be correct (??). Is this with hdparm-7.7 (latest sourceforge) ?? Can you show us the hdparm --Istdout output as well, please. If this is applicable... FWIW hdparm was only recently (in past 72 hours

Re: epoll design problems with common fork/exec patterns

2007-10-29 Thread Mark Lord
Willy Tarreau wrote: On Sat, 27 Oct 2007, Marc Lehmann wrote: Please provide some code to illustrate one exact problem you have. // assume there is an open epoll set that listens for events on fd 5 if (fork () = 0) { close (5); // fd 5 is now removed from the epoll

Re: epoll design problems with common fork/exec patterns

2007-10-29 Thread Mark Lord
Willy Tarreau wrote: On Sat, 27 Oct 2007, Marc Lehmann wrote: Please provide some code to illustrate one exact problem you have. // assume there is an open epoll set that listens for events on fd 5 if (fork () = 0) { close (5); // fd 5 is now removed from the epoll

Re: Regression: 2.6.23-rc9 okay, 2.6.23.1 resume problems

2007-10-22 Thread Mark Lord
Rafael, What happens to the jiffies variable on resume from RAM, and from DISK? Do we restore it to the value it had at suspend, or just leave it be with whatever? The answer has to be "restore the value it had at suspend time", but I figured I'd check here anyway. ?? - To unsubscribe from

Re: Regression: 2.6.23-rc9 okay, 2.6.23.1 resume problems

2007-10-22 Thread Mark Lord
Rafael, What happens to the jiffies variable on resume from RAM, and from DISK? Do we restore it to the value it had at suspend, or just leave it be with whatever? The answer has to be restore the value it had at suspend time, but I figured I'd check here anyway. ?? - To unsubscribe from this

Re: Regression: 2.6.23-rc9 okay, 2.6.23.1 resume problems

2007-10-20 Thread Mark Lord
Pavel Machek wrote: Hi! Since upgrading to 2.6.23.1 from 2.6.23-rc9, resume-from-RAM has been misbehaving here. It takes much (+5-7 seconds) longer to resume *sometimes*, but not all/most of the time. I suspend those long delays may have something to do with USB, as it takes longer for my

Re: Regression: 2.6.23-rc9 okay, 2.6.23.1 resume problems

2007-10-20 Thread Mark Lord
Pavel Machek wrote: Hi! Since upgrading to 2.6.23.1 from 2.6.23-rc9, resume-from-RAM has been misbehaving here. It takes much (+5-7 seconds) longer to resume *sometimes*, but not all/most of the time. I suspend those long delays may have something to do with USB, as it takes longer for my

Re: PROBLEM: 2.6.23.1 Freezes on GB data transfers

2007-10-19 Thread Mark Lord
Ray Lee wrote: On 10/19/07, Mark Lord <[EMAIL PROTECTED]> wrote: I believe this is now the forth report of blinking-leds lockup with 2.6.23.1. I wonder what's causing it? My system has this as well, totally random, once every day or so. New behaviour since 2.6.23-rc9 (I posted prev

Re: PROBLEM: 2.6.23.1 Freezes on GB data transfers

2007-10-19 Thread Mark Lord
Ray Lee wrote: On 10/17/07, Giangiacomo Mariotti <[EMAIL PROTECTED]> wrote: Linux Kernel 2.6.23.1 freezes on GB data transfers. Pc completely freezed while transferring 4Gb of data from dvd(/dev/hdc) to hd(nothing else was happening, cpu general usage at 5-6%).Except for this,it has been

Re: PROBLEM: 2.6.23.1 Freezes on GB data transfers

2007-10-19 Thread Mark Lord
Ray Lee wrote: On 10/17/07, Giangiacomo Mariotti [EMAIL PROTECTED] wrote: Linux Kernel 2.6.23.1 freezes on GB data transfers. Pc completely freezed while transferring 4Gb of data from dvd(/dev/hdc) to hd(nothing else was happening, cpu general usage at 5-6%).Except for this,it has been working

Re: PROBLEM: 2.6.23.1 Freezes on GB data transfers

2007-10-19 Thread Mark Lord
Ray Lee wrote: On 10/19/07, Mark Lord [EMAIL PROTECTED] wrote: I believe this is now the forth report of blinking-leds lockup with 2.6.23.1. I wonder what's causing it? My system has this as well, totally random, once every day or so. New behaviour since 2.6.23-rc9 (I posted previously about

Re: [Pcihpd-discuss] [PATCH 1/3] pciehp: hotplug: deal with pre-inserted ExpressCards

2007-10-18 Thread Mark Lord
Kenji Kaneshige wrote: - When the card is inserted *after* modprobing pciehp, the card is *not* automatically powered on/detected. So it is very natural that the card, which had been inserted before modprobing pciehp, is not automatically enabled at the pciehp modprobe time. Not

Re: [PATCH 0/3] Fix two PEIe hotplug issues

2007-10-18 Thread Mark Lord
Theodore Tso wrote: On Thu, Oct 18, 2007 at 10:06:14AM -0700, Kristen Carlson Accardi wrote: No, it actually does violate the spec. Feel free to read it yourself. We are not supposed to do Native PCIe without first successfully executing OSC. Period. If you do, you are violating the spec.

Re: [PATCH 0/3] Fix two PEIe hotplug issues

2007-10-18 Thread Mark Lord
Kristen Carlson Accardi wrote: On Thu, 18 Oct 2007 13:49:25 -0400 Theodore Tso <[EMAIL PROTECTED]> wrote: On Thu, Oct 18, 2007 at 10:06:14AM -0700, Kristen Carlson Accardi wrote: No, it actually does violate the spec. Feel free to read it yourself. We are not supposed to do Native PCIe

Re: [PATCH 0/3] Fix two PEIe hotplug issues

2007-10-18 Thread Mark Lord
Kristen Carlson Accardi wrote: On Wed, 17 Oct 2007 23:09:45 -0400 Mark Lord <[EMAIL PROTECTED]> wrote: Mark Lord wrote: Fix PCIe Hotplug so that it works with ExpressCard slots on Dell notebooks (and others?) in conjunction with the modparam of pciehp_force=1. To make things s

Re: [bug] ata subsystem related crash with latest -git

2007-10-18 Thread Mark Lord
Mark Lord wrote: On Thu, Oct 18 2007, Mark Lord wrote: > Jens wrote: >> OK, I think that covers every arch out there. I haven't been able to >> compile any of them, but it's mostly search'n replace operations. I hope >> nothing is missing linux/scatterlist.h include

Re: [bug] ata subsystem related crash with latest -git

2007-10-18 Thread Mark Lord
On Thu, Oct 18 2007, Mark Lord wrote: > Jens wrote: >> OK, I think that covers every arch out there. I haven't been able to >> compile any of them, but it's mostly search'n replace operations. I hope >> nothing is missing linux/scatterlist.h includes... > >

Re: [bug] ata subsystem related crash with latest -git

2007-10-18 Thread Mark Lord
Jens Axboe wrote: On Thu, Oct 18 2007, Mark Lord wrote: Jens wrote: OK, I think that covers every arch out there. I haven't been able to compile any of them, but it's mostly search'n replace operations. I hope nothing is missing linux/scatterlist.h includes... Patch fails on drivers/scsi

Re: [bug] ata subsystem related crash with latest -git

2007-10-18 Thread Mark Lord
Jens Axboe wrote: On Thu, Oct 18 2007, Mark Lord wrote: Jens Axboe wrote: On Thu, Oct 18 2007, Mark Lord wrote: Jens Axboe wrote: On Thu, Oct 18 2007, Jeff Garzik wrote: Mark Lord wrote: Okay, mine is dying with EIP at blk_rq_map_sg+0xcb/0x160. Screen photo is at http://rtr.ca/recent

Re: [bug] ata subsystem related crash with latest -git

2007-10-18 Thread Mark Lord
Jens wrote: OK, I think that covers every arch out there. I haven't been able to compile any of them, but it's mostly search'n replace operations. I hope nothing is missing linux/scatterlist.h includes... Patch fails on drivers/scsi/scsi_lib.c. I replaced that part of the patch with this

Re: [bug] ata subsystem related crash with latest -git

2007-10-18 Thread Mark Lord
Jens Axboe wrote: On Thu, Oct 18 2007, Mark Lord wrote: Jens Axboe wrote: On Thu, Oct 18 2007, Jeff Garzik wrote: Mark Lord wrote: Okay, mine is dying with EIP at blk_rq_map_sg+0xcb/0x160. Screen photo is at http://rtr.ca/recent/2.6.23-git12-crash.jpg, but the top was cut off (isn't

Re: [Pcihpd-discuss] [PATCH 1/3] pciehp: hotplug: deal with pre-inserted ExpressCards

2007-10-18 Thread Mark Lord
Kenji Kaneshige wrote: Hi Mark, I still don't understand what the problems is very much. If a PCIe ExpressCard34 is inserted into the slot *before* I modprobe pciehp (with pciehp_force=1), then the card is not detected nor enabled. The patch provided here fixes that. Could you give me

Re: [bug] ata subsystem related crash with latest -git

2007-10-18 Thread Mark Lord
Jens Axboe wrote: On Thu, Oct 18 2007, Jeff Garzik wrote: Mark Lord wrote: Okay, mine is dying with EIP at blk_rq_map_sg+0xcb/0x160. Screen photo is at http://rtr.ca/recent/2.6.23-git12-crash.jpg, but the top was cut off (isn't there a new config option or patch to do double-columns

Re: [bug] ata subsystem related crash with latest -git

2007-10-18 Thread Mark Lord
Jens Axboe wrote: On Thu, Oct 18 2007, Jeff Garzik wrote: Mark Lord wrote: Okay, mine is dying with EIP at blk_rq_map_sg+0xcb/0x160. Screen photo is at http://rtr.ca/recent/2.6.23-git12-crash.jpg, but the top was cut off (isn't there a new config option or patch to do double-columns

Re: [Pcihpd-discuss] [PATCH 1/3] pciehp: hotplug: deal with pre-inserted ExpressCards

2007-10-18 Thread Mark Lord
Kenji Kaneshige wrote: Hi Mark, I still don't understand what the problems is very much. If a PCIe ExpressCard34 is inserted into the slot *before* I modprobe pciehp (with pciehp_force=1), then the card is not detected nor enabled. The patch provided here fixes that. Could you give me

Re: [bug] ata subsystem related crash with latest -git

2007-10-18 Thread Mark Lord
Jens Axboe wrote: On Thu, Oct 18 2007, Mark Lord wrote: Jens Axboe wrote: On Thu, Oct 18 2007, Jeff Garzik wrote: Mark Lord wrote: Okay, mine is dying with EIP at blk_rq_map_sg+0xcb/0x160. Screen photo is at http://rtr.ca/recent/2.6.23-git12-crash.jpg, but the top was cut off (isn't

Re: [bug] ata subsystem related crash with latest -git

2007-10-18 Thread Mark Lord
Jens wrote: OK, I think that covers every arch out there. I haven't been able to compile any of them, but it's mostly search'n replace operations. I hope nothing is missing linux/scatterlist.h includes... Patch fails on drivers/scsi/scsi_lib.c. I replaced that part of the patch with this

Re: [bug] ata subsystem related crash with latest -git

2007-10-18 Thread Mark Lord
Jens Axboe wrote: On Thu, Oct 18 2007, Mark Lord wrote: Jens Axboe wrote: On Thu, Oct 18 2007, Mark Lord wrote: Jens Axboe wrote: On Thu, Oct 18 2007, Jeff Garzik wrote: Mark Lord wrote: Okay, mine is dying with EIP at blk_rq_map_sg+0xcb/0x160. Screen photo is at http://rtr.ca/recent

Re: [bug] ata subsystem related crash with latest -git

2007-10-18 Thread Mark Lord
Jens Axboe wrote: On Thu, Oct 18 2007, Mark Lord wrote: Jens wrote: OK, I think that covers every arch out there. I haven't been able to compile any of them, but it's mostly search'n replace operations. I hope nothing is missing linux/scatterlist.h includes... Patch fails on drivers/scsi

Re: [bug] ata subsystem related crash with latest -git

2007-10-18 Thread Mark Lord
On Thu, Oct 18 2007, Mark Lord wrote: Jens wrote: OK, I think that covers every arch out there. I haven't been able to compile any of them, but it's mostly search'n replace operations. I hope nothing is missing linux/scatterlist.h includes... Patch fails on drivers/scsi/scsi_lib.c. I

Re: [bug] ata subsystem related crash with latest -git

2007-10-18 Thread Mark Lord
Mark Lord wrote: On Thu, Oct 18 2007, Mark Lord wrote: Jens wrote: OK, I think that covers every arch out there. I haven't been able to compile any of them, but it's mostly search'n replace operations. I hope nothing is missing linux/scatterlist.h includes... Patch fails on drivers

Re: [PATCH 0/3] Fix two PEIe hotplug issues

2007-10-18 Thread Mark Lord
Kristen Carlson Accardi wrote: On Wed, 17 Oct 2007 23:09:45 -0400 Mark Lord [EMAIL PROTECTED] wrote: Mark Lord wrote: Fix PCIe Hotplug so that it works with ExpressCard slots on Dell notebooks (and others?) in conjunction with the modparam of pciehp_force=1. To make things simpler

Re: [PATCH 0/3] Fix two PEIe hotplug issues

2007-10-18 Thread Mark Lord
Kristen Carlson Accardi wrote: On Thu, 18 Oct 2007 13:49:25 -0400 Theodore Tso [EMAIL PROTECTED] wrote: On Thu, Oct 18, 2007 at 10:06:14AM -0700, Kristen Carlson Accardi wrote: No, it actually does violate the spec. Feel free to read it yourself. We are not supposed to do Native PCIe without

Re: [PATCH 0/3] Fix two PEIe hotplug issues

2007-10-18 Thread Mark Lord
Theodore Tso wrote: On Thu, Oct 18, 2007 at 10:06:14AM -0700, Kristen Carlson Accardi wrote: No, it actually does violate the spec. Feel free to read it yourself. We are not supposed to do Native PCIe without first successfully executing OSC. Period. If you do, you are violating the spec.

Re: [Pcihpd-discuss] [PATCH 1/3] pciehp: hotplug: deal with pre-inserted ExpressCards

2007-10-18 Thread Mark Lord
Kenji Kaneshige wrote: - When the card is inserted *after* modprobing pciehp, the card is *not* automatically powered on/detected. So it is very natural that the card, which had been inserted before modprobing pciehp, is not automatically enabled at the pciehp modprobe time. Not

2.6.23-git12: WARNING: at fs/sysfs/dir.c:424 sysfs_add_one()

2007-10-17 Thread Mark Lord
usb 5-1: new high speed USB device using ehci_hcd and address 2 usb 5-1: configuration #1 chosen from 1 choice hub 5-1:1.0: USB hub found hub 5-1:1.0: 4 ports detected sysfs: duplicate filename 'bInterfaceNumber' can not be created WARNING: at fs/sysfs/dir.c:424 sysfs_add_one()

Re: [BUG] 2.6.23-git12 - Kernel oops at blk_rq_map_sg+0x270/0x4e0

2007-10-17 Thread Mark Lord
Try this patch and report back again: http://lkml.org/lkml/2007/10/17/269 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: [bug] ata subsystem related crash with latest -git

2007-10-17 Thread Mark Lord
Mark Lord wrote: Linus Torvalds wrote: On Wed, 17 Oct 2007, Mark Lord wrote: It would be good to have something soon-ish. This "dead at boot time" issue is impacting the general ability to test patches against latest -git in time for the current merge window. In the meantime, does

Re: [bug] ata subsystem related crash with latest -git

2007-10-17 Thread Mark Lord
Linus Torvalds wrote: On Wed, 17 Oct 2007, Mark Lord wrote: It would be good to have something soon-ish. This "dead at boot time" issue is impacting the general ability to test patches against latest -git in time for the current merge window. In the meantime, does the patch I sen

Re: [bug] ata subsystem related crash with latest -git

2007-10-17 Thread Mark Lord
Mark Lord wrote: Mark Lord wrote: Mark Lord wrote: Linus Torvalds wrote: On Wed, 17 Oct 2007, Mark Lord wrote: It would be good to have something soon-ish. This "dead at boot time" issue is impacting the general ability to test patches against latest -git in time for the cur

Re: [bug] ata subsystem related crash with latest -git

2007-10-17 Thread Mark Lord
Mark Lord wrote: Mark Lord wrote: Linus Torvalds wrote: On Wed, 17 Oct 2007, Mark Lord wrote: It would be good to have something soon-ish. This "dead at boot time" issue is impacting the general ability to test patches against latest -git in time for the current me

Re: [bug] ata subsystem related crash with latest -git

2007-10-17 Thread Mark Lord
Jeff Garzik wrote: Mark Lord wrote: Okay, mine is dying with EIP at blk_rq_map_sg+0xcb/0x160. Screen photo is at http://rtr.ca/recent/2.6.23-git12-crash.jpg, but the top was cut off (isn't there a new config option or patch to do double-columns or scrollback or something

Re: [bug] ata subsystem related crash with latest -git

2007-10-17 Thread Mark Lord
Mark Lord wrote: Linus Torvalds wrote: On Wed, 17 Oct 2007, Mark Lord wrote: It would be good to have something soon-ish. This "dead at boot time" issue is impacting the general ability to test patches against latest -git in time for the current merge window. In the meantime, does

Re: [bug] ata subsystem related crash with latest -git

2007-10-17 Thread Mark Lord
Linus Torvalds wrote: On Wed, 17 Oct 2007, Mark Lord wrote: It would be good to have something soon-ish. This "dead at boot time" issue is impacting the general ability to test patches against latest -git in time for the current merge window. In the meantime, does the patch I sen

Re: [bug] ata subsystem related crash with latest -git

2007-10-17 Thread Mark Lord
Linus Torvalds wrote: On Wed, 17 Oct 2007, David Miller wrote: I believe that we have enough of a limited set of accessors to sg->page that we can more aggressively encode things in the lower bits. I'm thinking of encoding the low two bits of sg->page as follows: ... Yes, that sounds sane.

[PATCH 3/3] pciehp: hotplug: reinit hotplug h/w on resume from suspend

2007-10-17 Thread Mark Lord
(repost to conform with akpm's subject line conventions) Make use of the previously split out pcie_init_enable_events() function to reinitialize the hotplug hardware on resume from suspend, but only when pciehp_force==1. Otherwise behaviour is unmodified. Signed-off-by: Mark Lord <[EM

[PATCH 2/3] pciehp: hotplug: split out hardware init from pcie_init()

2007-10-17 Thread Mark Lord
() into pcie_init_enable_events(), without changing any functionality. Signed-off-by: Mark Lord <[EMAIL PROTECTED]> --- --- a/drivers/pci/hotplug/pciehp_hpc.c 2007-10-17 19:06:38.0 -0400 +++ b/drivers/pci/hotplug/pciehp_hpc.c 2007-10-17 19:29:42.0 -0400 @@ -1067,99 +1067,22 @@ } #endif

[PATCH 1/3] pciehp: hotplug: deal with pre-inserted ExpressCards

2007-10-17 Thread Mark Lord
to the driver being loaded. Signed-off-by: Mark Lord <[EMAIL PROTECTED]> --- --- a/drivers/pci/hotplug/pciehp_ctrl.c 2007-10-17 22:30:19.0 -0400 +++ b/drivers/pci/hotplug/pciehp_ctrl.c 2007-10-17 22:29:59.0 -0400 @@ -37,7 +37,6 @@ #include "pciehp.h&qu

[PATCH] Fix /proc/acpi/alarm BCD alarm encodings

2007-10-17 Thread Mark Lord
Linus Torvalds wrote: On Wed, 26 Sep 2007, Mark Lord wrote: The existing code in linux/drivers/acpi/sleep/proc.c has a nasty bug that prevents BCD mode from working: the code converts binary to BCD three times in a row, each time taking the previous result. This thoroughly mangles the alarm

Re: [PATCH 0/3] Fix two PEIe hotplug issues

2007-10-17 Thread Mark Lord
Mark Lord wrote: Fix PCIe Hotplug so that it works with ExpressCard slots on Dell notebooks (and others?) in conjunction with the modparam of pciehp_force=1. To make things simpler for distro people, I'm contemplating another patch in this series, to allow something like: pciehp_force=2

Re: [PATCH 0/3] Fix two PEIe hotplug issues

2007-10-17 Thread Mark Lord
Kristen, If you're happy with this set, please add your Acked-by (or whatever). Thanks, Mark - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

[PATCH 1/3] pciehp_handle_preinserted_card

2007-10-17 Thread Mark Lord
01_pciehp_handle_preinserted_card.patch: Fix pciehp_probe() to deal with ExpressCard cards that were inserted prior to the driver being loaded. Signed-off-by: Mark Lord <[EMAIL PROTECTED]> --- --- git12/drivers/pci/hotplug/pciehp_ctrl.c 2007-10-17 22:30:19.0 -0400 +++ linux/d

[PATCH 2/3] pciehp_split_pcie_init

2007-10-17 Thread Mark Lord
02_pciehp_split_pcie_init.patch: Split out the hotplug hardware initialization code from pcie_init() into pcie_init_enable_events(), without changing any functionality. Signed-off-by: Mark Lord <[EMAIL PROTECTED]> --- --- git12/drivers/pci/hotplug/pciehp_hpc.c 2007-10-17 19:06:38.000

[PATCH 3/3] pciehp_resume_reinit_hardware

2007-10-17 Thread Mark Lord
03_pciehp_resume_reinit_hardware.patch: Make use of the previously split out pcie_init_enable_events() function to reinitialize the hotplug hardware on resume from suspend, but only when pciehp_force==1. Otherwise behaviour is unmodified. Signed-off-by: Mark Lord <[EMAIL PROTEC

Re: [PATCH 2/3] pciehp_split_pcie_init

2007-10-17 Thread Mark Lord
02_pciehp_split_pcie_init.patch: Split out the hotplug hardware initialization code from pcie_init() into pcie_init_enable_events(), without changing any functionality. Signed-off-by: Mark Lord <[EMAIL PROTECTED]> --- --- git12/drivers/pci/hotplug/pciehp_hpc.c 2007-10-17 19:06:38.000

Re: [PATCH 1/3] pciehp_handle_preinserted_card

2007-10-17 Thread Mark Lord
01_pciehp_handle_preinserted_card.patch: Fix pciehp_probe() to deal with ExpressCard cards that were inserted prior to the driver being loaded. Signed-off-by: Mark Lord <[EMAIL PROTECTED]> --- --- git12/drivers/pci/hotplug/pciehp_ctrl.c 2007-10-17 22:30:19.0 -0400 +++ linux/d

[PATCH 0/3] Fix two PEIe hotplug issues

2007-10-17 Thread Mark Lord
+++ drivers/pci/hotplug/pciehp_ctrl.c |2 drivers/pci/hotplug/pciehp_hpc.c | 185 +++- 4 files changed, 130 insertions(+), 83 deletions(-) Cheers -- Mark Lord <[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe linux-kernel&q

Re: [PATCH 4/4] Fix PCIe hotplug for non-ACPI ExpressCard slots (version 2)

2007-10-17 Thread Mark Lord
Kristen Carlson Accardi wrote: On Tue, 16 Oct 2007 21:55:30 -0400 Mark Lord <[EMAIL PROTECTED]> wrote: Make use of the previously split out pcie_init_enable_events() function to reinitialize the hotplug hardware on resume from suspend, but only when pciehp_force==1. Otherwise beh

Re: [Pcihpd-discuss] [PATCH 2/4] Fix PCIe hotplug for non-ACPI ExpressCard slots (version 2)

2007-10-17 Thread Mark Lord
Kristen Carlson Accardi wrote: On Tue, 16 Oct 2007 21:54:42 -0400 Mark Lord <[EMAIL PROTECTED]> wrote: Fix pciehp_probe() to deal with pre-inserted ExpressCard cards, but only when pciehp_force==1. Otherwise behaviour is unmodified. I think it would be ok to try allowing th

Re: [PATCH 0/4] Fix PCIe hotplug for non-ACPI ExpressCard slots (version 2)

2007-10-17 Thread Mark Lord
Andrew Morton wrote: On Tue, 16 Oct 2007 21:53:24 -0400 Mark Lord <[EMAIL PROTECTED]> wrote: Fix PCIe Hotplug so that it works with ExpressCard slots on Dell notebooks in conjunction with the modparam of pciehp_force=1. The PCIe Hotplug driver has two shortcomings when used on Dell not

Anyone else out there have an ExpressCard to try?

2007-10-17 Thread Mark Lord
I have a Dell Inspiron 9400 with an external ExpressCard slot. I've also got a "Bytecc" 2-port eSATA ExpressCard-34 that identifies as: Silicon Image, Inc. SiI 3132 Serial ATA Raid II Controller (rev 01) To get it to work with Linux on my Dell notebook, the pcihp_force=1 parameter is necessary

Re: [Pcihpd-discuss] [PATCH 1/4] Fix PCIe hotplug for non-ACPI ExpressCard slots (version 2)

2007-10-17 Thread Mark Lord
Matthew Wilcox wrote: On Wed, Oct 17, 2007 at 09:09:24AM -0400, Mark Lord wrote: .. - temp_word = (temp_word & ~intr_enable) | intr_enable; + temp_word = (temp_word & ~intr_enable) | intr_enable; *boggle* Dig out your text editor, and notice the excess whitespace at the end of t

Re: [Pcihpd-discuss] [PATCH 1/4] Fix PCIe hotplug for non-ACPI ExpressCard slots (version 2)

2007-10-17 Thread Mark Lord
Matthew Wilcox wrote: On Tue, Oct 16, 2007 at 09:54:08PM -0400, Mark Lord wrote: - t_slot->hpc_ops->get_adapter_status(t_slot, ); /* Check if slot is occupied */ + /* Check if slot is occupied */ + t_slot->hpc_ops->get_adapter_status(t_slot, ); if ((POW

Re: [PATCH 0/4] Fix PCIe hotplug for non-ACPI ExpressCard slots (version 2)

2007-10-17 Thread Mark Lord
Andrew Morton wrote: On Tue, 16 Oct 2007 21:53:24 -0400 Mark Lord [EMAIL PROTECTED] wrote: Fix PCIe Hotplug so that it works with ExpressCard slots on Dell notebooks in conjunction with the modparam of pciehp_force=1. The PCIe Hotplug driver has two shortcomings when used on Dell notebooks

Re: [Pcihpd-discuss] [PATCH 2/4] Fix PCIe hotplug for non-ACPI ExpressCard slots (version 2)

2007-10-17 Thread Mark Lord
Kristen Carlson Accardi wrote: On Tue, 16 Oct 2007 21:54:42 -0400 Mark Lord [EMAIL PROTECTED] wrote: Fix pciehp_probe() to deal with pre-inserted ExpressCard cards, but only when pciehp_force==1. Otherwise behaviour is unmodified. I think it would be ok to try allowing the slot

Re: [PATCH 4/4] Fix PCIe hotplug for non-ACPI ExpressCard slots (version 2)

2007-10-17 Thread Mark Lord
Kristen Carlson Accardi wrote: On Tue, 16 Oct 2007 21:55:30 -0400 Mark Lord [EMAIL PROTECTED] wrote: Make use of the previously split out pcie_init_enable_events() function to reinitialize the hotplug hardware on resume from suspend, but only when pciehp_force==1. Otherwise behaviour

[PATCH 0/3] Fix two PEIe hotplug issues

2007-10-17 Thread Mark Lord
+++ drivers/pci/hotplug/pciehp_ctrl.c |2 drivers/pci/hotplug/pciehp_hpc.c | 185 +++- 4 files changed, 130 insertions(+), 83 deletions(-) Cheers -- Mark Lord [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: [PATCH 1/3] pciehp_handle_preinserted_card

2007-10-17 Thread Mark Lord
01_pciehp_handle_preinserted_card.patch: Fix pciehp_probe() to deal with ExpressCard cards that were inserted prior to the driver being loaded. Signed-off-by: Mark Lord [EMAIL PROTECTED] --- --- git12/drivers/pci/hotplug/pciehp_ctrl.c 2007-10-17 22:30:19.0 -0400 +++ linux/drivers

Re: [PATCH 2/3] pciehp_split_pcie_init

2007-10-17 Thread Mark Lord
02_pciehp_split_pcie_init.patch: Split out the hotplug hardware initialization code from pcie_init() into pcie_init_enable_events(), without changing any functionality. Signed-off-by: Mark Lord [EMAIL PROTECTED] --- --- git12/drivers/pci/hotplug/pciehp_hpc.c 2007-10-17 19:06:38.0

[PATCH 3/3] pciehp_resume_reinit_hardware

2007-10-17 Thread Mark Lord
03_pciehp_resume_reinit_hardware.patch: Make use of the previously split out pcie_init_enable_events() function to reinitialize the hotplug hardware on resume from suspend, but only when pciehp_force==1. Otherwise behaviour is unmodified. Signed-off-by: Mark Lord [EMAIL PROTECTED

[PATCH 1/3] pciehp_handle_preinserted_card

2007-10-17 Thread Mark Lord
01_pciehp_handle_preinserted_card.patch: Fix pciehp_probe() to deal with ExpressCard cards that were inserted prior to the driver being loaded. Signed-off-by: Mark Lord [EMAIL PROTECTED] --- --- git12/drivers/pci/hotplug/pciehp_ctrl.c 2007-10-17 22:30:19.0 -0400 +++ linux/drivers

[PATCH 2/3] pciehp_split_pcie_init

2007-10-17 Thread Mark Lord
02_pciehp_split_pcie_init.patch: Split out the hotplug hardware initialization code from pcie_init() into pcie_init_enable_events(), without changing any functionality. Signed-off-by: Mark Lord [EMAIL PROTECTED] --- --- git12/drivers/pci/hotplug/pciehp_hpc.c 2007-10-17 19:06:38.0

Re: [PATCH 0/3] Fix two PEIe hotplug issues

2007-10-17 Thread Mark Lord
Kristen, If you're happy with this set, please add your Acked-by (or whatever). Thanks, Mark - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the

Re: [PATCH 0/3] Fix two PEIe hotplug issues

2007-10-17 Thread Mark Lord
Mark Lord wrote: Fix PCIe Hotplug so that it works with ExpressCard slots on Dell notebooks (and others?) in conjunction with the modparam of pciehp_force=1. To make things simpler for distro people, I'm contemplating another patch in this series, to allow something like: pciehp_force=2

[PATCH] Fix /proc/acpi/alarm BCD alarm encodings

2007-10-17 Thread Mark Lord
Linus Torvalds wrote: On Wed, 26 Sep 2007, Mark Lord wrote: The existing code in linux/drivers/acpi/sleep/proc.c has a nasty bug that prevents BCD mode from working: the code converts binary to BCD three times in a row, each time taking the previous result. This thoroughly mangles the alarm

[PATCH 1/3] pciehp: hotplug: deal with pre-inserted ExpressCards

2007-10-17 Thread Mark Lord
to the driver being loaded. Signed-off-by: Mark Lord [EMAIL PROTECTED] --- --- a/drivers/pci/hotplug/pciehp_ctrl.c 2007-10-17 22:30:19.0 -0400 +++ b/drivers/pci/hotplug/pciehp_ctrl.c 2007-10-17 22:29:59.0 -0400 @@ -37,7 +37,6 @@ #include pciehp.h static void interrupt_event_handler

[PATCH 2/3] pciehp: hotplug: split out hardware init from pcie_init()

2007-10-17 Thread Mark Lord
() into pcie_init_enable_events(), without changing any functionality. Signed-off-by: Mark Lord [EMAIL PROTECTED] --- --- a/drivers/pci/hotplug/pciehp_hpc.c 2007-10-17 19:06:38.0 -0400 +++ b/drivers/pci/hotplug/pciehp_hpc.c 2007-10-17 19:29:42.0 -0400 @@ -1067,99 +1067,22 @@ } #endif -int

Re: [bug] ata subsystem related crash with latest -git

2007-10-17 Thread Mark Lord
Linus Torvalds wrote: On Wed, 17 Oct 2007, David Miller wrote: I believe that we have enough of a limited set of accessors to sg-page that we can more aggressively encode things in the lower bits. I'm thinking of encoding the low two bits of sg-page as follows: ... Yes, that sounds sane.

[PATCH 3/3] pciehp: hotplug: reinit hotplug h/w on resume from suspend

2007-10-17 Thread Mark Lord
(repost to conform with akpm's subject line conventions) Make use of the previously split out pcie_init_enable_events() function to reinitialize the hotplug hardware on resume from suspend, but only when pciehp_force==1. Otherwise behaviour is unmodified. Signed-off-by: Mark Lord [EMAIL

Re: [bug] ata subsystem related crash with latest -git

2007-10-17 Thread Mark Lord
Linus Torvalds wrote: On Wed, 17 Oct 2007, Mark Lord wrote: It would be good to have something soon-ish. This dead at boot time issue is impacting the general ability to test patches against latest -git in time for the current merge window. In the meantime, does the patch I sent out help

Re: [bug] ata subsystem related crash with latest -git

2007-10-17 Thread Mark Lord
Mark Lord wrote: Linus Torvalds wrote: On Wed, 17 Oct 2007, Mark Lord wrote: It would be good to have something soon-ish. This dead at boot time issue is impacting the general ability to test patches against latest -git in time for the current merge window. In the meantime, does the patch I

Re: [bug] ata subsystem related crash with latest -git

2007-10-17 Thread Mark Lord
Jeff Garzik wrote: Mark Lord wrote: Okay, mine is dying with EIP at blk_rq_map_sg+0xcb/0x160. Screen photo is at http://rtr.ca/recent/2.6.23-git12-crash.jpg, but the top was cut off (isn't there a new config option or patch to do double-columns or scrollback or something

Re: [bug] ata subsystem related crash with latest -git

2007-10-17 Thread Mark Lord
Mark Lord wrote: Mark Lord wrote: Linus Torvalds wrote: On Wed, 17 Oct 2007, Mark Lord wrote: It would be good to have something soon-ish. This dead at boot time issue is impacting the general ability to test patches against latest -git in time for the current merge window. In the meantime

Re: [bug] ata subsystem related crash with latest -git

2007-10-17 Thread Mark Lord
Mark Lord wrote: Mark Lord wrote: Mark Lord wrote: Linus Torvalds wrote: On Wed, 17 Oct 2007, Mark Lord wrote: It would be good to have something soon-ish. This dead at boot time issue is impacting the general ability to test patches against latest -git in time for the current merge

Re: [bug] ata subsystem related crash with latest -git

2007-10-17 Thread Mark Lord
Linus Torvalds wrote: On Wed, 17 Oct 2007, Mark Lord wrote: It would be good to have something soon-ish. This dead at boot time issue is impacting the general ability to test patches against latest -git in time for the current merge window. In the meantime, does the patch I sent out help

Re: [bug] ata subsystem related crash with latest -git

2007-10-17 Thread Mark Lord
Mark Lord wrote: Linus Torvalds wrote: On Wed, 17 Oct 2007, Mark Lord wrote: It would be good to have something soon-ish. This dead at boot time issue is impacting the general ability to test patches against latest -git in time for the current merge window. In the meantime, does the patch I

Re: [BUG] 2.6.23-git12 - Kernel oops at blk_rq_map_sg+0x270/0x4e0

2007-10-17 Thread Mark Lord
Try this patch and report back again: http://lkml.org/lkml/2007/10/17/269 - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

2.6.23-git12: WARNING: at fs/sysfs/dir.c:424 sysfs_add_one()

2007-10-17 Thread Mark Lord
usb 5-1: new high speed USB device using ehci_hcd and address 2 usb 5-1: configuration #1 chosen from 1 choice hub 5-1:1.0: USB hub found hub 5-1:1.0: 4 ports detected sysfs: duplicate filename 'bInterfaceNumber' can not be created WARNING: at fs/sysfs/dir.c:424 sysfs_add_one()

<    3   4   5   6   7   8   9   10   11   12   >