2.6.23-rc4-mm1
Subsystems (46)
Re: [-mm patch] net/sctp/socket.c: make 3 variables static
In reply to Adrian BunkFrom: Adrian Bunk <[email protected]>
Date: Sun, 9 Sep 2007 22:25:54 +0200
Quoted 6 lines
This patch makes the following needlessly globalvariables static:
-sctp_memory_pressure
-sctp_memory_allocated
-sctp_sockets_allocatedSigned-off-by Adrian Bunk <[email protected]>
Applied, thanks.
PATCH 1/1 usb/serial/ch341.c: make 4 functions static
In reply to Andrew MortonQuoted 7 lines · Andrew Morton
...
Changes since 2.6.23-rc3-mm1:
...
+gregkh-usb-usb-driver-for-ch341-usb-serial-adaptor.patch
...
USB tree updates
...
This patch makes four needlessly global functions static.
---
drivers/usb/serial/ch341.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
c7046a47d2d1dd5dc6a8fcc298b8c5f7497b3aaa
drivers/usb/serial/ch341.c +6 -4
@@ -66,7 +66,8 @@ static int ch341_control_in(struct usb_device *dev,return r; } -int ch341_set_baudrate (struct usb_device *dev,struct ch341_private *priv) +static int ch341_set_baudrate (struct usb_device *dev, +struct ch341_private *priv) {short a, b;int r;
@@ -108,14 +109,15 @@ int ch341_set_baudrate(struct usb_device *dev, struct ch341_private *priv)return r; } -int ch341_set_handshake (struct usb_device *dev,struct ch341_private *priv) +static int ch341_set_handshake (struct usb_device *dev, +struct ch341_private *priv) {dbg ("ch341_set_handshake(%d,%d)" , priv->dtr, priv->rts);return ch341_control_out (dev,0xa4 , ~((priv->dtr?1 <<5 :0 )|(priv->rts?1 <<6 :0 )),0 ); } -int ch341_get_status (struct usb_device *dev) +static int ch341_get_status (struct usb_device *dev) {char *buffer;int r;
@@ -142,7 +144,7 @@ out: kfree(buffer);/* -------------------------------------------------------------------------- */ -int ch341_configure (struct usb_device *dev,struct ch341_private *priv) +static int ch341_configure (struct usb_device *dev,struct ch341_private *priv) {char *buffer;int r;
PATCH 1/1 make nfs_wb_page_priority() static
In reply to Andrew MortonQuoted 7 lines · Andrew Morton
...
Changes since 2.6.23-rc3-mm1:
...
git-nfs.patch
...
git trees
...
nfs_wb_page_priority() can now become static.
---
fs/nfs/write.c | 3 ++- include/linux/nfs_fs.h | 1 - 2 files changed, 2 insertions(+), 2 deletions(-)
30370f47093c3d812929d84a5a6be79ccb55a2b3
fs/nfs/write.c +2 -1
@@ -1424,7 +1424,8 @@ out:return ret; } -int nfs_wb_page_priority (struct inode *inode,struct page *page,int how) +static int nfs_wb_page_priority (struct inode *inode,struct page *page, +int how) {loff_t range_start =page_offset (page);loff_t range_end = range_start + (loff_t)(PAGE_CACHE_SIZE -1 );
include/linux/nfs_fs.h +0 -1
@@ -430,7 +430,6 @@ extern long nfs_sync_mapping_wait(struct address_space *, struct writeback_contrextern int nfs_wb_all (struct inode *inode);extern int nfs_wb_nocommit (struct inode *inode);extern int nfs_wb_page (struct inode *inode,struct page * page); -extern int nfs_wb_page_priority (struct inode *inode,struct page * page,int how);extern int nfs_wb_page_cancel (struct inode *inode,struct page * page);#if defined(CONFIG_NFS_V3 ) || defined(CONFIG_NFS_V4 )extern int nfs_commit_inode (struct inode *,int );
PATCH 1/1 mm/memcontrol.c: clenups
In reply to Andrew MortonQuoted 7 lines · Andrew Morton
...
Changes since 2.6.23-rc3-mm1:
...
+memory-controller-add-switch-to-control-what-type-of-pages-to-limit-v7.patch
...
memory containment
...
This patch makes the following needlessly global functions static:
- lock_page_container()
- unlock_page_container()
- __mem_container_move_lists()
Additionally, there was no reason for the "mem_control_type" object.
---
mm/memcontrol.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
b582cc510b6b0a182dc56025828e7a3c566b9724
mm/memcontrol.c +4 -4
@@ -91,7 +91,7 @@ enum {MEM_CONTAINER_TYPE_CACHED ,MEM_CONTAINER_TYPE_ALL , MEM_CONTAINER_TYPE_MAX, -} mem_control_type; +};static struct mem_container init_mem_container;
@@ -156,18 +156,18 @@ struct page_container *page_get_page_container(struct page *page) (page->page_container & ~PAGE_CONTAINER_LOCK ); } -void __always_inline lock_page_container(struct page *page) +static void __always_inline lock_page_container(struct page *page) {bit_spin_lock (PAGE_CONTAINER_LOCK_BIT , &page->page_container);VM_BUG_ON (!page_container_locked (page)); } -void __always_inline unlock_page_container(struct page *page) +static void __always_inline unlock_page_container(struct page *page) {bit_spin_unlock (PAGE_CONTAINER_LOCK_BIT , &page->page_container); } -void __mem_container_move_lists (struct page_container *pc,bool active) +static void __mem_container_move_lists (struct page_container *pc,bool active) {if (active)list_move (&pc->lru, &pc->mem_container->active_list);
Re: [-mm patch] mm/memcontrol.c: clenups
Quoted 29 lines · Adrian Bunk
Quoted 7 lines · Andrew Morton
...
Changes since 2.6.23-rc3-mm1:
...
+memory-controller-add-switch-to-control-what-type-of-pages-to-limit-v7.patch
...
memory containment
...This patch makes the following needlessly global functions static:
-lock_page_container()
-unlock_page_container()
-__mem_container_move_lists()Additionally, there was no reason for the "
mem_control_type" object.Signed-off-by Adrian Bunk <[email protected]>---
mm/memcontrol.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
b582cc510b6b0a182dc56025828e7a3c566b9724mm/memcontrol.c +0
-0
mm/memcontrol.c enum { · line 95
Quoted 6 lines
mm/memcontrol.c +1
-1@@ -91,7 +91,7 @@ enum {MEM_CONTAINER_TYPE_CACHED ,MEM_CONTAINER_TYPE_ALL , MEM_CONTAINER_TYPE_MAX, -} mem_control_type; +};
Not sure about this, is this the preferred style?
Quoted 9 lines
mm/memcontrol.c +1
-1static struct mem_container init_mem_container;@@ -156,18 +156,18 @@ struct page_container *page_get_page_container(struct page *page) (page->page_container & ~PAGE_CONTAINER_LOCK ); } -void __always_inline lock_page_container(struct page *page) +static void __always_inline lock_page_container(struct page *page) {
mm/memcontrol.c struct page_container *page_get_page_container(struct page *page) · line 169
Quoted 10 lines
mm/memcontrol.c +1
-1bit_spin_lock (PAGE_CONTAINER_LOCK_BIT , &page->page_container);VM_BUG_ON (!page_container_locked (page)); } -void __always_inline unlock_page_container(struct page *page) +static void __always_inline unlock_page_container(struct page *page) {bit_spin_unlock (PAGE_CONTAINER_LOCK_BIT , &page->page_container); }
These look good.
mm/memcontrol.c struct page_container *page_get_page_container(struct page *page) · line 173
Quoted 6 lines
mm/memcontrol.c +1
-1-void __mem_container_move_lists (struct page_container *pc,bool active) +static void __mem_container_move_lists (struct page_container *pc,bool active) {if (active)list_move (&pc->lru, &pc->mem_container->active_list);
This looks good as well
Signature · 4 lines
Warm Regards, Balbir Singh Linux Technology Center IBM, ISTL
Re: [-mm patch] mm/memcontrol.c: clenups
Quoted 11 lines · Balbir Singh
mm/memcontrol.c enum { · line 95
Quoted 9 lines
mm/memcontrol.c +1
-1@@ -91,7 +91,7 @@ enum {MEM_CONTAINER_TYPE_CACHED ,MEM_CONTAINER_TYPE_ALL , MEM_CONTAINER_TYPE_MAX, -} mem_control_type; +};Not sure about this, is this the preferred style?
Yes, typedefs are bad. And because it happens very so often, I also have the link: http://lkml.org/lkml/2006/11/21/34
Jan
Re: [-mm patch] mm/memcontrol.c: clenups
Quoted 11 lines · Jan Engelhardt
Quoted 10 lines · Balbir Singh
mm/memcontrol.c enum { · line 94
Quoted 8 lines
mm/memcontrol.c +1
-1@@ -91,7 +91,7 @@ enum {MEM_CONTAINER_TYPE_CACHED ,MEM_CONTAINER_TYPE_ALL , MEM_CONTAINER_TYPE_MAX, -} mem_control_type; +};Not sure about this, is this the preferred style?
Humm. Judging from the @@-line, it looks like:
enum {
MEM_CONTAINER_TYPE_WHATEVER
} mem_control_type;
making it actually a variable name. Confusing at best.
Jan
Re: [-mm patch] mm/memcontrol.c: clenups
In reply to Balbir SinghQuoted 24 lines · Balbir Singh
Quoted 23 lines · Adrian Bunk
Quoted 7 lines · Andrew Morton
...
Changes since 2.6.23-rc3-mm1:
...
+memory-controller-add-switch-to-control-what-type-of-pages-to-limit-v7.patch
...
memory containment
...This patch makes the following needlessly global functions static:
-lock_page_container()
-unlock_page_container()
-__mem_container_move_lists()Additionally, there was no reason for the "
mem_control_type" object.Signed-off-by Adrian Bunk <[email protected]>---
mm/memcontrol.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
Quoted 15 lines
mm/memcontrol.c enum { · line 95
Quoted 12 lines
b582cc510b6b0a182dc56025828e7a3c566b9724mm/memcontrol.c +1
-1@@ -91,7 +91,7 @@ enum {MEM_CONTAINER_TYPE_CACHED ,MEM_CONTAINER_TYPE_ALL , MEM_CONTAINER_TYPE_MAX, -} mem_control_type; +};Not sure about this, is this the preferred style?
...
It's not about style - your "mem_control_type" was not an identifier, it was an (unused) variable.
It seems the intended code was:
enum mem_control_type {
MEM_CONTAINER_TYPE_UNSPEC = 0,
MEM_CONTAINER_TYPE_MAPPED,
MEM_CONTAINER_TYPE_CACHED,
MEM_CONTAINER_TYPE_ALL,
MEM_CONTAINER_TYPE_MAX,
};
cu
Adrian
Signature · 4 lines
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon SeedRe: [-mm patch] mm/memcontrol.c: clenups
Quoted 46 lines · Adrian Bunk
Quoted 23 lines · Balbir Singh
Quoted 22 lines · Adrian Bunk
Quoted 7 lines · Andrew Morton
...
Changes since 2.6.23-rc3-mm1:
...
+memory-controller-add-switch-to-control-what-type-of-pages-to-limit-v7.patch
...
memory containment
...This patch makes the following needlessly global functions static:
-lock_page_container()
-unlock_page_container()
-__mem_container_move_lists()Additionally, there was no reason for the "
mem_control_type" object.Signed-off-by Adrian Bunk <[email protected]>---
mm/memcontrol.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)Quoted 14 lines
mm/memcontrol.c enum { · line 95
Quoted 12 lines
b582cc510b6b0a182dc56025828e7a3c566b9724mm/memcontrol.c +1
-1@@ -91,7 +91,7 @@ enum {MEM_CONTAINER_TYPE_CACHED ,MEM_CONTAINER_TYPE_ALL , MEM_CONTAINER_TYPE_MAX, -} mem_control_type; +};Not sure about this, is this the preferred style?
...It's not about style - your "
mem_control_type" was not an identifier, it was an (unused) variable.It seems the intended code was:
Quoted 9 lines
enum
mem_control_type{
MEM_CONTAINER_TYPE_UNSPEC= 0,
MEM_CONTAINER_TYPE_MAPPED,
MEM_CONTAINER_TYPE_CACHED,
MEM_CONTAINER_TYPE_ALL,
MEM_CONTAINER_TYPE_MAX,
};
Yes, thinking again, what you say makes sense.
Signature · 4 lines
Thanks, Balbir Singh Linux Technology Center IBM, ISTL
PATCH 1/1 make do_try_to_free_pages() static
In reply to Andrew MortonQuoted 7 lines · Andrew Morton
...
Changes since 2.6.23-rc3-mm1:
...
+memory-controller-add-per-container-lru-and-reclaim-v7.patch
...
memory containment
...
do_try_to_free_pages() can become static.
---23781fa6792c518c8581ceeaf08db251574e8430
mm/vmscan.c +2 -2
@@ -1248,8 +1248,8 @@ static unsigned long shrink_zones(int priority, struct zone **zones,* holds filesystem locks which prevent writeout this might not work, and the * allocation attempt will fail. */ -unsigned long do_try_to_free_pages (struct zone **zones,gfp_t gfp_mask, -struct scan_control *sc) +static unsigned long do_try_to_free_pages (struct zone **zones,gfp_t gfp_mask, +struct scan_control *sc) {int priority;int ret =0 ;
Re: [-mm patch] make do_try_to_free_pages() static
Quoted 21 lines · Adrian Bunk
Quoted 7 lines · Andrew Morton
...
Changes since 2.6.23-rc3-mm1:
...
+memory-controller-add-per-container-lru-and-reclaim-v7.patch
...
memory containment
...
do_try_to_free_pages()can become static.Signed-off-by Adrian Bunk <[email protected]>---
23781fa6792c518c8581ceeaf08db251574e8430mm/vmscan.c +0
-0
mm/vmscan.c static unsigned long shrink_zones(int priority, struct zone **zones, · line 1255
Quoted 10 lines
mm/vmscan.c +2
-2@@ -1248,8 +1248,8 @@ static unsigned long shrink_zones(int priority, struct zone **zones,* holds filesystem locks which prevent writeout this might not work, and the * allocation attempt will fail. */ -unsigned long do_try_to_free_pages (struct zone **zones,gfp_t gfp_mask, -struct scan_control *sc) +static unsigned long do_try_to_free_pages (struct zone **zones,gfp_t gfp_mask, +struct scan_control *sc) {int priority;int ret =0 ;
Thanks, looks good!
Signature · 4 lines
Warm Regards, Balbir Singh Linux Technology Center IBM, ISTL
Re: 2.6.23-rc4-mm1 -- powerpc per_cpu__cpu_sibling_map compile failure
In reply to Andrew MortonAm seeing the following compile error on all of my powerpc platforms:
CC kernel/sched.o
kernel/sched.c: In function `cpu_to_phys_group':
kernel/sched.c:5937: error: `per_cpu__cpu_sibling_map' undeclared (first use in this function) kernel/sched.c:5937: error: (Each undeclared identifier is reported only once kernel/sched.c:5937: error: for each function it appears in.) kernel/sched.c:5937: warning: type defaults to int' in declaration of type name' kernel/sched.c:5937: error: invalid type argument of `unary *'
kernel/sched.c: In function `build_sched_domains':
kernel/sched.c:6172: error: per_cpu__cpu_sibling_map' undeclared (first use in this function) kernel/sched.c:6172: warning: type defaults to int' in declaration of type name' kernel/sched.c:6172: error: invalid type argument of unary *' kernel/sched.c:6183: warning: type defaults to int' in declaration of type name' kernel/sched.c:6183: error: invalid type argument of `unary *'
make[1]: *** [kernel/sched.o] Error 1
make: *** [kernel] Error 2
-apw
I have a couple of old NUMA-Q systems which are unable to read their boot disks with 2.6.23-rc4-mm1. The disks appear to be recognised and even the partition tables read correctly, and then they go pop:
qla1280: QLA1040 found on PCI bus 0, dev 10
Clocksource tsc unstable (delta = 99922590 ns)
Time: jiffies clocksource has been installed.
scsi(0:0): Resetting SCSI BUS
scsi0 : QLogic QLA1040 PCI to SCSI Host Adapter
Firmware version: 7.65.06, Driver version 3.26
scsi 0:0:0:0: Direct-Access IBM DGHS18X 0360 PQ: 0 ANSI: 3
scsi(0:0:0:0): Sync: period 10, offset 12, Wide
scsi 0:0:1:0: Direct-Access IBM OEM DCHS09X 5454 PQ: 0 ANSI: 2
scsi(0:0:1:0): Sync: period 10, offset 12, Wide
scsi 0:0:2:0: Direct-Access IBM OEM DCHS09X 5454 PQ: 0 ANSI: 2
scsi(0:0:2:0): Sync: period 10, offset 12, Wide
scsi 0:0:3:0: Direct-Access IBM OEM DCHS09X 5454 PQ: 0 ANSI: 2
scsi(0:0:3:0): Sync: period 10, offset 12, Wide
scsi 0:0:4:0: Direct-Access IBM OEM DCHS09X 5454 PQ: 0 ANSI: 2
scsi(0:0:4:0): Sync: period 10, offset 12, Wide
st: Version 20070203, fixed bufsize 32768, s/g segs 256
sd 0:0:0:0: [sda] 35843670 512-byte hardware sectors (18352 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, supports DPO and FUA
sd 0:0:0:0: [sda] 35843670 512-byte hardware sectors (18352 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, supports DPO and FUA
sda: sda1
sd 0:0:0:0: [sda] Attached SCSI disk
sd 0:0:1:0: [sdb] 17796077 512-byte hardware sectors (9112 MB)
sd 0:0:1:0: [sdb] Write Protect is off
sd 0:0:1:0: [sdb] Write cache: disabled, read cache: enabled, supports DPO and FUA
sd 0:0:1:0: [sdb] 17796077 512-byte hardware sectors (9112 MB)
sd 0:0:1:0: [sdb] Write Protect is off
sd 0:0:1:0: [sdb] Write cache: disabled, read cache: enabled, supports DPO and FUA
sdb: unknown partition table
sd 0:0:1:0: [sdb] Attached SCSI disk
sd 0:0:2:0: [sdc] 17796077 512-byte hardware sectors (9112 MB)
sd 0:0:2:0: [sdc] Write Protect is off
sd 0:0:2:0: [sdc] Write cache: disabled, read cache: enabled, supports DPO and FUA
sd 0:0:2:0: [sdc] 17796077 512-byte hardware sectors (9112 MB)
sd 0:0:2:0: [sdc] Write Protect is off
sd 0:0:2:0: [sdc] Write cache: disabled, read cache: enabled, supports DPO and FUA
sdc: sdc1
sd 0:0:2:0: [sdc] Attached SCSI disk
sd 0:0:3:0: [sdd] 17796077 512-byte hardware sectors (9112 MB)
sd 0:0:3:0: [sdd] Write Protect is off
sd 0:0:3:0: [sdd] Write cache: disabled, read cache: enabled, supports DPO and FUA
sd 0:0:3:0: [sdd] 17796077 512-byte hardware sectors (9112 MB)
sd 0:0:3:0: [sdd] Write Protect is off
sd 0:0:3:0: [sdd] Write cache: disabled, read cache: enabled, supports DPO and FUA
sdd: sdd1
sd 0:0:3:0: [sdd] Attached SCSI disk
sd 0:0:4:0: [sde] 17796077 512-byte hardware sectors (9112 MB)
sd 0:0:4:0: [sde] Write Protect is off
sd 0:0:4:0: [sde] Write cache: disabled, read cache: enabled, supports DPO and FUA
sd 0:0:4:0: [sde] 17796077 512-byte hardware sectors (9112 MB)
sd 0:0:4:0: [sde] Write Protect is off
sd 0:0:4:0: [sde] Write cache: disabled, read cache: enabled, supports DPO and FUA
sde: unknown partition table
sd 0:0:4:0: [sde] Attached SCSI disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:1:0: Attached scsi generic sg1 type 0
sd 0:0:2:0: Attached scsi generic sg2 type 0
sd 0:0:3:0: Attached scsi generic sg3 type 0
sd 0:0:4:0: Attached scsi generic sg4 type 0
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard as /class/input/input0
oprofile: using NMI interrupt.
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
input: PS/2 Logitech Mouse as /class/input/input1
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 1244KiB [1 disk] into ram disk... |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/done.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 220k freed
initrd-tools: 0.1.81.1
mount: fs type devfs not supported by kernel
FATAL: Module sd_mod not found.
umount: devfs: not mounted
ext3: No journal on filesystem on sda1
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 63
Buffer I/O error on device sda1, logical block 0
Buffer I/O error on device sda1, logical block 1
Buffer I/O error on device sda1, logical block 2
Buffer I/O error on device sda1, logical block 3
mount: fs type devfs not supported by kernel
ext3: No journal on filesystem on sda1
umount: devfs: not mounted
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 28010831
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 31080815
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 31080855
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 31080919
Buffer I/O error on device sda1, logical block 3885107
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 28411047
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 31135687
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 31138007
sd 0:0:0:0: [sda] <6>sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
-apw
Andrew Morton
maintainerQuoted 5 lines · On Mon, 10 Sep 2007 18:49:26 +0100 Andy Whitcroft <[email protected]> wrote:
I have a couple of old NUMA-Q systems which are unable to read their boot disks with 2.6.23-rc4-mm1. The disks appear to be recognised and even the partition tables read correctly, and then they go pop:
qla1280: QLA1040 found on PCI bus 0, dev 10
cc's added.
Quoted 97 lines
Clocksource tsc unstable (delta = 99922590 ns)
Time: jiffies clocksource has been installed.
scsi(0:0): Resetting SCSI BUS
scsi0 : QLogic QLA1040 PCI to SCSI Host AdapterFirmware version: 7.65.06, Driver version 3.26scsi 0:0:0:0: Direct-Access IBM DGHS18X 0360 PQ: 0 ANSI: 3
scsi(0:0:0:0): Sync: period 10, offset 12, Wide
scsi 0:0:1:0: Direct-Access IBM OEM DCHS09X 5454 PQ: 0 ANSI: 2
scsi(0:0:1:0): Sync: period 10, offset 12, Wide
scsi 0:0:2:0: Direct-Access IBM OEM DCHS09X 5454 PQ: 0 ANSI: 2
scsi(0:0:2:0): Sync: period 10, offset 12, Wide
scsi 0:0:3:0: Direct-Access IBM OEM DCHS09X 5454 PQ: 0 ANSI: 2
scsi(0:0:3:0): Sync: period 10, offset 12, Wide
scsi 0:0:4:0: Direct-Access IBM OEM DCHS09X 5454 PQ: 0 ANSI: 2
scsi(0:0:4:0): Sync: period 10, offset 12, Wide
st: Version 20070203, fixed bufsize 32768, s/g segs 256
sd 0:0:0:0: [sda] 35843670 512-byte hardware sectors (18352 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, supports DPO and FUA
sd 0:0:0:0: [sda] 35843670 512-byte hardware sectors (18352 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, supports DPO and FUA
sda: sda1
sd 0:0:0:0: [sda] Attached SCSI disk
sd 0:0:1:0: [sdb] 17796077 512-byte hardware sectors (9112 MB)
sd 0:0:1:0: [sdb] Write Protect is off
sd 0:0:1:0: [sdb] Write cache: disabled, read cache: enabled, supports DPO and FUA
sd 0:0:1:0: [sdb] 17796077 512-byte hardware sectors (9112 MB)
sd 0:0:1:0: [sdb] Write Protect is off
sd 0:0:1:0: [sdb] Write cache: disabled, read cache: enabled, supports DPO and FUA
sdb: unknown partition table
sd 0:0:1:0: [sdb] Attached SCSI disk
sd 0:0:2:0: [sdc] 17796077 512-byte hardware sectors (9112 MB)
sd 0:0:2:0: [sdc] Write Protect is off
sd 0:0:2:0: [sdc] Write cache: disabled, read cache: enabled, supports DPO and FUA
sd 0:0:2:0: [sdc] 17796077 512-byte hardware sectors (9112 MB)
sd 0:0:2:0: [sdc] Write Protect is off
sd 0:0:2:0: [sdc] Write cache: disabled, read cache: enabled, supports DPO and FUA
sdc: sdc1
sd 0:0:2:0: [sdc] Attached SCSI disk
sd 0:0:3:0: [sdd] 17796077 512-byte hardware sectors (9112 MB)
sd 0:0:3:0: [sdd] Write Protect is off
sd 0:0:3:0: [sdd] Write cache: disabled, read cache: enabled, supports DPO and FUA
sd 0:0:3:0: [sdd] 17796077 512-byte hardware sectors (9112 MB)
sd 0:0:3:0: [sdd] Write Protect is off
sd 0:0:3:0: [sdd] Write cache: disabled, read cache: enabled, supports DPO and FUA
sdd: sdd1
sd 0:0:3:0: [sdd] Attached SCSI disk
sd 0:0:4:0: [sde] 17796077 512-byte hardware sectors (9112 MB)
sd 0:0:4:0: [sde] Write Protect is off
sd 0:0:4:0: [sde] Write cache: disabled, read cache: enabled, supports DPO and FUA
sd 0:0:4:0: [sde] 17796077 512-byte hardware sectors (9112 MB)
sd 0:0:4:0: [sde] Write Protect is off
sd 0:0:4:0: [sde] Write cache: disabled, read cache: enabled, supports DPO and FUA
sde: unknown partition table
sd 0:0:4:0: [sde] Attached SCSI disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:1:0: Attached scsi generic sg1 type 0
sd 0:0:2:0: Attached scsi generic sg2 type 0
sd 0:0:3:0: Attached scsi generic sg3 type 0
sd 0:0:4:0: Attached scsi generic sg4 type 0
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard as /class/input/input0
oprofile: using NMI interrupt.
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
input: PS/2 Logitech Mouse as /class/input/input1
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 1244KiB [1 disk] into ram disk... |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/done.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 220k freed
initrd-tools: 0.1.81.1
mount: fs type devfs not supported by kernel
FATAL: Modulesd_modnot found.
umount: devfs: not mounted
ext3: No journal on filesystem on sda1
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 63
Buffer I/O error on device sda1, logical block 0
Buffer I/O error on device sda1, logical block 1
Buffer I/O error on device sda1, logical block 2
Buffer I/O error on device sda1, logical block 3
mount: fs type devfs not supported by kernel
ext3: No journal on filesystem on sda1
umount: devfs: not mounted
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 28010831
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 31080815
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 31080855
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 31080919
Quoted 9 lines
Buffer I/O error on device sda1, logical block 3885107
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 28411047
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 31135687
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 31138007
sd 0:0:0:0: [sda] <6>sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
The only patch which touches qla1280 is git-block.patch. From a quick squizz the change looks OK, although it's tricky and something might have broken.
(the dprintk at line 2929 needs to print remseg, not seg_cnt).
Can you retest with that change reverted (below)? If it's not that then perhaps something in scsi core broke, dunno.
drivers/scsi/qla1280.c renamed from drivers/scsi/qla1280.c~revert-1 +29 -37
@@ -2775,7 +2775,7 @@ qla1280_64bit_start_scsi(struct scsi_qlastruct device_reg __iomem *reg = ha->iobase;struct scsi_cmnd *cmd = sp->cmd;cmd_a64_entry_t *pkt; -struct scatterlist *sg =NULL , *s; +struct scatterlist *sg =NULL ;__le32 *dword_ptr;dma_addr_t dma_handle;int status =0 ;
@@ -2889,16 +2889,13 @@ qla1280_64bit_start_scsi(struct scsi_qla* Load data segments. */ if (seg_cnt) {/* If data transfer. */ -int remseg = seg_cnt;/* Setup packet address segment pointer. */ dword_ptr = (u32 *)&pkt->dseg_0_address;if (cmd->use_sg) {/* If scatter gather */ /* Load command entry data segments. */ -for_each_sg (sg, s, seg_cnt, cnt) { -if (cnt ==2 ) -break ; - dma_handle =sg_dma_address (s); +for (cnt =0 ; cnt <2 && seg_cnt; cnt++, seg_cnt--) { + dma_handle =sg_dma_address (sg);#if defined(CONFIG_IA64_GENERIC ) || defined(CONFIG_IA64_SGI_SN2 )if (ha->flags.use_pci_vchannel) sn_pci_set_vchan(ha->pdev,
@@ -2909,12 +2906,12 @@ qla1280_64bit_start_scsi(struct scsi_qlacpu_to_le32 (pci_dma_lo32 (dma_handle)); *dword_ptr++ =cpu_to_le32 (pci_dma_hi32 (dma_handle)); - *dword_ptr++ =cpu_to_le32 (sg_dma_len (s)); + *dword_ptr++ =cpu_to_le32 (sg_dma_len (sg)); + sg++;dprintk (3 ,"S/G Segment phys_addr=%x %x, len=0x%x\n" ,cpu_to_le32 (pci_dma_hi32 (dma_handle)),cpu_to_le32 (pci_dma_lo32 (dma_handle)), -cpu_to_le32 (sg_dma_len (sg_next (s)))); - remseg--; +cpu_to_le32 (sg_dma_len (sg))); } dprintk(5, "qla1280_64bit_start_scsi: Scatter/gather " "command packet data - b %i, t %i, l %i \n",
@@ -2929,9 +2926,7 @@ qla1280_64bit_start_scsi(struct scsi_qladprintk (3 ,"S/G Building Continuation...seg_cnt=0x%x " "remains\n" , seg_cnt); -while (remseg >0 ) { -/* Update sg start */ - sg = s; +while (seg_cnt >0 ) {/* Adjust ring index. */ ha->req_ring_index++;if (ha->req_ring_index ==REQUEST_ENTRY_CNT ) {
@@ -2957,10 +2952,9 @@ qla1280_64bit_start_scsi(struct scsi_qla (u32 *)&((struct cont_a64_entry *) pkt)->dseg_0_address;/* Load continuation entry data segments. */ -for_each_sg (sg, s, remseg, cnt) { -if (cnt ==5 ) -break ; - dma_handle =sg_dma_address (s); +for (cnt =0 ; cnt <5 && seg_cnt; + cnt++, seg_cnt--) { + dma_handle =sg_dma_address (sg);#if defined(CONFIG_IA64_GENERIC ) || defined(CONFIG_IA64_SGI_SN2 )if (ha->flags.use_pci_vchannel) sn_pci_set_vchan(ha->pdev,
@@ -2972,12 +2966,12 @@ qla1280_64bit_start_scsi(struct scsi_qla *dword_ptr++ =cpu_to_le32 (pci_dma_hi32 (dma_handle)); *dword_ptr++ = -cpu_to_le32 (sg_dma_len (s)); +cpu_to_le32 (sg_dma_len (sg));dprintk (3 ,"S/G Segment Cont. phys_addr=%x %x, len=0x%x\n" ,cpu_to_le32 (pci_dma_hi32 (dma_handle)),cpu_to_le32 (pci_dma_lo32 (dma_handle)), -cpu_to_le32 (sg_dma_len (s))); - remseg--; +cpu_to_le32 (sg_dma_len (sg))); + sg++; }dprintk (5 ,"qla1280_64bit_start_scsi: " "continuation packet data - b %i, t "
@@ -3068,7 +3062,7 @@ qla1280_32bit_start_scsi(struct scsi_qlastruct device_reg __iomem *reg = ha->iobase;struct scsi_cmnd *cmd = sp->cmd;struct cmd_entry *pkt; -struct scatterlist *sg =NULL , *s; +struct scatterlist *sg =NULL ;__le32 *dword_ptr;int status =0 ;int cnt;
@@ -3194,7 +3188,6 @@ qla1280_32bit_start_scsi(struct scsi_qla* Load data segments. */ if (seg_cnt) { -int remseg = seg_cnt;/* Setup packet address segment pointer. */ dword_ptr = &pkt->dseg_0_address;
@@ -3203,25 +3196,22 @@ qla1280_32bit_start_scsi(struct scsi_qlaqla1280_dump_buffer (1 , (char *)sg,4 *16 );/* Load command entry data segments. */ -for_each_sg (sg, s, seg_cnt, cnt) { -if (cnt ==4 ) -break ; +for (cnt =0 ; cnt <4 && seg_cnt; cnt++, seg_cnt--) { *dword_ptr++ = -cpu_to_le32 (pci_dma_lo32 (sg_dma_address (s))); - *dword_ptr++ =cpu_to_le32 (sg_dma_len (s)); +cpu_to_le32 (pci_dma_lo32 (sg_dma_address (sg))); + *dword_ptr++ = +cpu_to_le32 (sg_dma_len (sg));dprintk (3 ,"S/G Segment phys_addr=0x%lx, len=0x%x\n" , - (pci_dma_lo32 (sg_dma_address (s))), - (sg_dma_len (s))); - remseg--; + (pci_dma_lo32 (sg_dma_address (sg))), + (sg_dma_len (sg))); + sg++; }/* * Build continuation packets. */ dprintk (3 ,"S/G Building Continuation" "...seg_cnt=0x%x remains\n" , seg_cnt); -while (remseg >0 ) { -/* Continue from end point */ - sg = s; +while (seg_cnt >0 ) {/* Adjust ring index. */ ha->req_ring_index++;if (ha->req_ring_index ==REQUEST_ENTRY_CNT ) {
@@ -3249,16 +3239,18 @@ qla1280_32bit_start_scsi(struct scsi_qla &((struct cont_entry *) pkt)->dseg_0_address;/* Load continuation entry data segments. */ -for_each_sg (sg, s, remseg, cnt) { +for (cnt =0 ; cnt <7 && seg_cnt; + cnt++, seg_cnt--) { *dword_ptr++ = -cpu_to_le32 (pci_dma_lo32 (sg_dma_address (s))); +cpu_to_le32 (pci_dma_lo32 (sg_dma_address (sg))); *dword_ptr++ = -cpu_to_le32 (sg_dma_len (s)); +cpu_to_le32 (sg_dma_len (sg));dprintk (1 ,"S/G Segment Cont. phys_addr=0x%x, " "len=0x%x\n" , -cpu_to_le32 (pci_dma_lo32 (sg_dma_address (s))), -cpu_to_le32 (sg_dma_len (s))); +cpu_to_le32 (pci_dma_lo32 (sg_dma_address (sg))), +cpu_to_le32 (sg_dma_len (sg))); + sg++; }dprintk (5 ,"qla1280_32bit_start_scsi: " "continuation packet data - "
_
Quoted 5 lines · Andrew Morton
Quoted 3 lines · On Mon, 10 Sep 2007 18:49:26 +0100 Andy Whitcroft <[email protected]> wrote:
I have a couple of old NUMA-Q systems which are unable to read their boot disks with 2.6.23-rc4-mm1. The disks appear to be recognised and even the partition tables read correctly, and then they go pop:
I reported a similar problem on Sep 1, but until now got no response. The system boots, reads the partition tables, starts the RAID and then kicks one drive out because of errors.
Quoted 24 lines
Quoted 24 lines
qla1280: QLA1040 found on PCI bus 0, dev 10
Clocksource tsc unstable (delta = 99922590 ns)
Time: jiffies clocksource has been installed.
scsi(0:0): Resetting SCSI BUS
scsi0 : QLogic QLA1040 PCI to SCSI Host AdapterFirmware version: 7.65.06, Driver version 3.26scsi 0:0:0:0: Direct-Access IBM DGHS18X 0360 PQ: 0 ANSI: 3
scsi(0:0:0:0): Sync: period 10, offset 12, Wide
scsi 0:0:1:0: Direct-Access IBM OEM DCHS09X 5454 PQ: 0 ANSI: 2
scsi(0:0:1:0): Sync: period 10, offset 12, Wide
scsi 0:0:2:0: Direct-Access IBM OEM DCHS09X 5454 PQ: 0 ANSI: 2
scsi(0:0:2:0): Sync: period 10, offset 12, Wide
scsi 0:0:3:0: Direct-Access IBM OEM DCHS09X 5454 PQ: 0 ANSI: 2
scsi(0:0:3:0): Sync: period 10, offset 12, Wide
scsi 0:0:4:0: Direct-Access IBM OEM DCHS09X 5454 PQ: 0 ANSI: 2
scsi(0:0:4:0): Sync: period 10, offset 12, Wide
st: Version 20070203, fixed bufsize 32768, s/g segs 256
sd 0:0:0:0: [sda] 35843670 512-byte hardware sectors (18352 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, supports DPO and FUA sd 0:0:0:0: [sda] 35843670 512-byte hardware sectors (18352 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, supports DPO and FUA
sda: sda1
[snip]
Quoted 14 lines
Quoted 5 lines
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 63 Buffer I/O error on device sda1, logical block 0 Buffer I/O error on device sda1, logical block 1 Buffer I/O error on device sda1, logical block 2Quoted 8 lines
Buffer I/O error on device sda1, logical block 3
mount: fs type devfs not supported by kernel
ext3: No journal on filesystem on sda1
umount: devfs: not mounted
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 28010831 sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 31080815
Quoted 1 line
From my log:
[ 3.890000] scsi0 : sata_sil24
[ 3.900000] scsi1 : sata_sil24
[ 3.900000] ata1: SATA max UDMA/100 host m128@0xefeffc00 port
0xefef8000 irq 16
[ 3.920000] ata2: SATA max UDMA/100 host m128@0xefeffc00 port
0xefefa000 irq 16
[ 4.300000] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 4.360000] ata1.00: ATA-7: MAXTOR STM3320820AS, 3.AAE, max UDMA/133
[ 4.370000] ata1.00: 625142448 sectors, multi 0: LBA48 NCQ (depth 31/32)
[ 4.430000] ata1.00: configured for UDMA/100
[ 4.500000] ieee1394: Node added: ID:BUS[0-00:1023] GUID[0010dc00005cc354]
[ 4.500000] ieee1394: Host added: ID:BUS[0-01:1023] GUID[0011d80000c4c261]
[ 4.790000] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 4.850000] ata2.00: ATA-7: MAXTOR STM3320820AS, 3.AAE, max UDMA/133
[ 4.860000] ata2.00: 625142448 sectors, multi 0: LBA48 NCQ (depth 31/32)
[ 4.920000] ata2.00: configured for UDMA/100
[ 4.930000] scsi 0:0:0:0: Direct-Access ATA MAXTOR
STM332082 3.AA PQ: 0 ANSI: 5
[ 4.960000] sd 0:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB)
[ 4.980000] sd 0:0:0:0: [sda] Write Protect is off
[ 4.990000] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 4.990000] sd 0:0:0:0: [sda] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[ 5.020000] sd 0:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB)
[ 5.040000] sd 0:0:0:0: [sda] Write Protect is off
[ 5.050000] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 5.050000] sd 0:0:0:0: [sda] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[ 5.080000] sda: sda1 sda2
[ 5.110000] sd 0:0:0:0: [sda] Attached SCSI disk
[ 5.120000] scsi 1:0:0:0: Direct-Access ATA MAXTOR
STM332082 3.AA PQ: 0 ANSI: 5
[ 5.140000] sd 1:0:0:0: [sdb] 625142448 512-byte hardware sectors (320073 MB)
[ 5.170000] sd 1:0:0:0: [sdb] Write Protect is off
[ 5.180000] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 5.180000] sd 1:0:0:0: [sdb] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[ 5.210000] sd 1:0:0:0: [sdb] 625142448 512-byte hardware sectors (320073 MB)
[ 5.230000] sd 1:0:0:0: [sdb] Write Protect is off
[ 5.240000] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 5.240000] sd 1:0:0:0: [sdb] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[ 5.270000] sdb: sdb1 sdb2
[ 5.300000] sd 1:0:0:0: [sdb] Attached SCSI disk
[more normal boot messaged, 3-disk RAID5 starts]
[ 63.420000] ata2.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x6 frozen
[ 63.420000] ata2.00: cmd 61/08:00:09:d6:42/00:00:25:00:00/40 tag 0
cdb 0x0 data 4096 out
[ 63.420000] res 40/00:00:00:00:00/00:00:00:00:00/00 Emask
0x4 (timeout)
[ 63.420000] ata2.00: status: {DRDY }
[ 63.420000] ata2: hard resetting link
[ 65.720000] ata2: softreset failed (port not ready)
[ 65.720000] ata2: reset failed (errno=-5), retrying in 8 secs
[ 73.420000] ata2: hard resetting link
[ 75.720000] ata2: softreset failed (port not ready)
[ 75.720000] ata2: reset failed (errno=-5), retrying in 8 secs
[ 83.420000] ata2: hard resetting link
[ 85.720000] ata2: softreset failed (port not ready)
[ 85.720000] ata2: reset failed (errno=-5), retrying in 33 secs
[snip, disk gets kicked]
[ 120.780000] sd 1:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET
driverbyte=DRIVER_OK,SUGGEST_OK
[ 120.780000] end_request: I/O error, dev sdb, sector 19550927
[ 120.780000] sd 1:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET
driverbyte=DRIVER_OK,SUGGEST_OK
[ 120.780000] end_request: I/O error, dev sdb, sector 19550935
[ 120.780000] sd 1:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET
driverbyte=DRIVER_OK,SUGGEST_OK
[ 120.780000] end_request: I/O error, dev sdb, sector 19550943
[ 120.780000] sd 1:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGETdriverbyte=DRIVER_OK,SUGGEST_OK
More similar error messages in the old my LKML-mail.
After sdb was removed from the array the system worked normal with only two drives.
But on the next boot it kicked the second sata_sil24 disk from the array killing it.
Torsten
Andrew Morton
maintainerQuoted 8 lines · On Mon, 10 Sep 2007 20:59:49 +0200 "Torsten Kaiser"…
Quoted 5 lines · Andrew Morton
Quoted 3 lines · On Mon, 10 Sep 2007 18:49:26 +0100 Andy Whitcroft <[email protected]> wrote:
I have a couple of old NUMA-Q systems which are unable to read their boot disks with 2.6.23-rc4-mm1. The disks appear to be recognised and even the partition tables read correctly, and then they go pop:
I reported a similar problem on Sep 1, but until now got no response.
You still haven't had a response ;) Let's add a cc.
Oh, you reported it against 2.6.23-rc4-mm1
(http://lkml.org/lkml/2007/9/1/92) and I did cc linux-ide in my response.
I'll continue to point out where this sort of thing occurs because last week I was told that a reson why so many bug reports are ignored is because "linux-kernel has too much traffic".
Quoted 2 lines
The system boots, reads the partition tables, starts the RAID and then kicks one drive out because of errors.
Andy is using qla1280. You're using sata. So it's probably a different bug, with the same symptoms.
Quoted 111 lines
Quoted 24 lines
Quoted 24 lines
qla1280: QLA1040 found on PCI bus 0, dev 10
Clocksource tsc unstable (delta = 99922590 ns)
Time: jiffies clocksource has been installed.
scsi(0:0): Resetting SCSI BUS
scsi0 : QLogic QLA1040 PCI to SCSI Host AdapterFirmware version: 7.65.06, Driver version 3.26scsi 0:0:0:0: Direct-Access IBM DGHS18X 0360 PQ: 0 ANSI: 3
scsi(0:0:0:0): Sync: period 10, offset 12, Wide
scsi 0:0:1:0: Direct-Access IBM OEM DCHS09X 5454 PQ: 0 ANSI: 2
scsi(0:0:1:0): Sync: period 10, offset 12, Wide
scsi 0:0:2:0: Direct-Access IBM OEM DCHS09X 5454 PQ: 0 ANSI: 2
scsi(0:0:2:0): Sync: period 10, offset 12, Wide
scsi 0:0:3:0: Direct-Access IBM OEM DCHS09X 5454 PQ: 0 ANSI: 2
scsi(0:0:3:0): Sync: period 10, offset 12, Wide
scsi 0:0:4:0: Direct-Access IBM OEM DCHS09X 5454 PQ: 0 ANSI: 2
scsi(0:0:4:0): Sync: period 10, offset 12, Wide
st: Version 20070203, fixed bufsize 32768, s/g segs 256
sd 0:0:0:0: [sda] 35843670 512-byte hardware sectors (18352 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, supports DPO and FUA sd 0:0:0:0: [sda] 35843670 512-byte hardware sectors (18352 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, supports DPO and FUA
sda: sda1[snip]
Quoted 14 lines
Quoted 5 lines
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 63 Buffer I/O error on device sda1, logical block 0 Buffer I/O error on device sda1, logical block 1 Buffer I/O error on device sda1, logical block 2Quoted 8 lines
Buffer I/O error on device sda1, logical block 3
mount: fs type devfs not supported by kernel
ext3: No journal on filesystem on sda1
umount: devfs: not mounted
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 28010831 sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 31080815Quoted 1 line
From my log:
[ 3.890000] scsi0 : sata_sil24 [ 3.900000] scsi1 : sata_sil24 [ 3.900000] ata1: SATA max UDMA/100 host m128@0xefeffc00 port 0xefef8000 irq 16 [ 3.920000] ata2: SATA max UDMA/100 host m128@0xefeffc00 port 0xefefa000 irq 16 [ 4.300000] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [ 4.360000] ata1.00: ATA-7: MAXTOR STM3320820AS, 3.AAE, max UDMA/133 [ 4.370000] ata1.00: 625142448 sectors, multi 0: LBA48 NCQ (depth 31/32) [ 4.430000] ata1.00: configured for UDMA/100 [ 4.500000] ieee1394: Node added: ID:BUS[0-00:1023] GUID[0010dc00005cc354] [ 4.500000] ieee1394: Host added: ID:BUS[0-01:1023] GUID[0011d80000c4c261] [ 4.790000] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [ 4.850000] ata2.00: ATA-7: MAXTOR STM3320820AS, 3.AAE, max UDMA/133 [ 4.860000] ata2.00: 625142448 sectors, multi 0: LBA48 NCQ (depth 31/32) [ 4.920000] ata2.00: configured for UDMA/100 [ 4.930000] scsi 0:0:0:0: Direct-Access ATA MAXTOR STM332082 3.AA PQ: 0 ANSI: 5 [ 4.960000] sd 0:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB) [ 4.980000] sd 0:0:0:0: [sda] Write Protect is off [ 4.990000] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 4.990000] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 5.020000] sd 0:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB) [ 5.040000] sd 0:0:0:0: [sda] Write Protect is off [ 5.050000] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 5.050000] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 5.080000] sda: sda1 sda2 [ 5.110000] sd 0:0:0:0: [sda] Attached SCSI disk [ 5.120000] scsi 1:0:0:0: Direct-Access ATA MAXTOR STM332082 3.AA PQ: 0 ANSI: 5 [ 5.140000] sd 1:0:0:0: [sdb] 625142448 512-byte hardware sectors (320073 MB) [ 5.170000] sd 1:0:0:0: [sdb] Write Protect is off [ 5.180000] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00 [ 5.180000] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 5.210000] sd 1:0:0:0: [sdb] 625142448 512-byte hardware sectors (320073 MB) [ 5.230000] sd 1:0:0:0: [sdb] Write Protect is off [ 5.240000] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00 [ 5.240000] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 5.270000] sdb: sdb1 sdb2 [ 5.300000] sd 1:0:0:0: [sdb] Attached SCSI disk [more normal boot messaged, 3-disk RAID5 starts] [ 63.420000] ata2.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x6 frozen [ 63.420000] ata2.00: cmd 61/08:00:09:d6:42/00:00:25:00:00/40 tag 0 cdb 0x0 data 4096 out [ 63.420000] res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) [ 63.420000] ata2.00: status: {DRDY } [ 63.420000] ata2: hard resetting link [ 65.720000] ata2: softreset failed (port not ready) [ 65.720000] ata2: reset failed (errno=-5), retrying in 8 secs [ 73.420000] ata2: hard resetting link [ 75.720000] ata2: softreset failed (port not ready) [ 75.720000] ata2: reset failed (errno=-5), retrying in 8 secs [ 83.420000] ata2: hard resetting link [ 85.720000] ata2: softreset failed (port not ready) [ 85.720000] ata2: reset failed (errno=-5), retrying in 33 secs [snip, disk gets kicked] [ 120.780000] sd 1:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK [ 120.780000] end_request: I/O error, dev sdb, sector 19550927 [ 120.780000] sd 1:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK [ 120.780000] end_request: I/O error, dev sdb, sector 19550935 [ 120.780000] sd 1:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK,SUGGEST_OK [ 120.780000] end_request: I/O error, dev sdb, sector 19550943 [ 120.780000] sd 1:0:0:0: [sdb] Result: hostbyte=DID_BAD_TARGET
Quoted 8 lines
driverbyte=DRIVER_OK,SUGGEST_OK
More similar error messages in the old my LKML-mail.
After sdb was removed from the array the system worked normal with only two drives.
But on the next boot it kicked the secondsata_sil24disk from the array killing it.
Can you please confirm that this bug is present in -mm and not present in mainline (yet)?
Thanks.
Quoted 7 lines · Andrew Morton
Quoted 3 lines · On Mon, 10 Sep 2007 20:59:49 +0200 "Torsten Kaiser"…
Quoted 1 line · Andrew Morton
On Mon, 10 Sep 2007 18:49:26 +0100 Andy Whitcroft <[email protected]> wrote:
I reported a similar problem on Sep 1, but until now got no response.
You still haven't had a response ;) Let's add a cc.
But the mail from Andy was a nice point to try to another cc, i.e. linux-scsi that you added. :)
Quoted 3 lines
Oh, you reported it against 2.6.23-rc4-mm1
(http://lkml.org/lkml/2007/9/1/92) and I did cc linux-ide in my response.
[snip]
Quoted 2 lines
Andy is using qla1280. You're using sata. So it's probably a different bug, with the same symptoms.
Yes, but you (Andrew) also said in response to Andy: "If it's not that then perhaps something in scsi core broke, dunno." So I wanted to add that my problem migth point this bug into the core direction.
Quoted 2 lines
Can you please confirm that this bug is present in -mm and not present in mainline (yet)?
Currently using 2.6.23-rc3-mm1, that works for me. Now downloading 2.6.23-rc5-git1...
Torsten
Quoted 11 lines · On Mon, 10 Sep 2007 12:20:38 -0700 Andrew Morton <[email protected]>…
Quoted 8 lines · On Mon, 10 Sep 2007 20:59:49 +0200 "Torsten Kaiser"…
Quoted 5 lines · Andrew Morton
Quoted 3 lines · On Mon, 10 Sep 2007 18:49:26 +0100 Andy Whitcroft <[email protected]> wrote:
I have a couple of old NUMA-Q systems which are unable to read their boot disks with 2.6.23-rc4-mm1. The disks appear to be recognised and even the partition tables read correctly, and then they go pop:
I reported a similar problem on Sep 1, but until now got no response.
Quoted 8 lines
You still haven't had a response ;) Let's add a cc.
Oh, you reported it against 2.6.23-rc4-mm1
(http://lkml.org/lkml/2007/9/1/92) and I did cc linux-ide in my response.I'll continue to point out where this sort of thing occurs because last week I was told that a reson why so many bug reports are ignored is because "linux-kernel has too much traffic".
many SCSI people don't subscribe to linux-kernel, I think.
Quoted 5 lines
Quoted 2 lines
The system boots, reads the partition tables, starts the RAID and then kicks one drive out because of errors.
Andy is using qla1280. You're using sata. So it's probably a different bug, with the same symptoms.
This might be a sg chaining bug too (probabaly sg chaining libata patch).
Can you try the following patch that I've just sent:
http://lkml.org/lkml/2007/9/10/251
The patch also disables chaining sg list for libata.
Quoted 10 lines · FUJITA Tomonori
Quoted 6 lines · On Mon, 10 Sep 2007 12:20:38 -0700 Andrew Morton <[email protected]>…
Quoted 2 lines · On Mon, 10 Sep 2007 20:59:49 +0200 "Torsten Kaiser"…
The system boots, reads the partition tables, starts the RAID and then kicks one drive out because of errors.
Andy is using qla1280. You're using sata. So it's probably a different bug, with the same symptoms.
Quoted 9 lines
This might be a sg chaining bug too (probabaly sg chaining libata patch).
Can you try the following patch that I've just sent:
http://lkml.org/lkml/2007/9/10/251
The patch also disables chaining sg list for libata.
With this patch 2.6.23-rc4-mm1 works for me.
Mainline 2.6.23-rc5-git1 works also without needing any patches.
Torsten
Quoted 14 lines · Torsten Kaiser
Quoted 13 lines · FUJITA Tomonori
Quoted 6 lines · On Mon, 10 Sep 2007 12:20:38 -0700 Andrew Morton <[email protected]>…
Quoted 2 lines · On Mon, 10 Sep 2007 20:59:49 +0200 "Torsten Kaiser"…
The system boots, reads the partition tables, starts the RAID and then kicks one drive out because of errors.
Andy is using qla1280. You're using sata. So it's probably a different bug, with the same symptoms.
This might be a sg chaining bug too (probabaly sg chaining libata patch).
Quoted 8 lines
Quoted 6 lines
Can you try the following patch that I've just sent:
http://lkml.org/lkml/2007/9/10/251
The patch also disables chaining sg list for libata.
With this patch 2.6.23-rc4-mm1 works for me.
Mainline 2.6.23-rc5-git1 works also without needing any patches.
OK, thanks for testing that. I'll merge Tomo's patch so that we can selectively enable drivers when we KNOW they work, instead of trying to do this (massive) operation whole sale.
Signature · 1 line
Jens Axboe
Quoted 117 lines · On Mon, 10 Sep 2007 11:19:26 -0700 Andrew Morton <[email protected]>…
Quoted 5 lines · On Mon, 10 Sep 2007 18:49:26 +0100 Andy Whitcroft <[email protected]> wrote:
I have a couple of old NUMA-Q systems which are unable to read their boot disks with 2.6.23-rc4-mm1. The disks appear to be recognised and even the partition tables read correctly, and then they go pop:
qla1280: QLA1040 found on PCI bus 0, dev 10
cc's added.
Quoted 97 lines
Clocksource tsc unstable (delta = 99922590 ns)
Time: jiffies clocksource has been installed.
scsi(0:0): Resetting SCSI BUS
scsi0 : QLogic QLA1040 PCI to SCSI Host AdapterFirmware version: 7.65.06, Driver version 3.26scsi 0:0:0:0: Direct-Access IBM DGHS18X 0360 PQ: 0 ANSI: 3
scsi(0:0:0:0): Sync: period 10, offset 12, Wide
scsi 0:0:1:0: Direct-Access IBM OEM DCHS09X 5454 PQ: 0 ANSI: 2
scsi(0:0:1:0): Sync: period 10, offset 12, Wide
scsi 0:0:2:0: Direct-Access IBM OEM DCHS09X 5454 PQ: 0 ANSI: 2
scsi(0:0:2:0): Sync: period 10, offset 12, Wide
scsi 0:0:3:0: Direct-Access IBM OEM DCHS09X 5454 PQ: 0 ANSI: 2
scsi(0:0:3:0): Sync: period 10, offset 12, Wide
scsi 0:0:4:0: Direct-Access IBM OEM DCHS09X 5454 PQ: 0 ANSI: 2
scsi(0:0:4:0): Sync: period 10, offset 12, Wide
st: Version 20070203, fixed bufsize 32768, s/g segs 256
sd 0:0:0:0: [sda] 35843670 512-byte hardware sectors (18352 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, supports DPO and FUA
sd 0:0:0:0: [sda] 35843670 512-byte hardware sectors (18352 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, supports DPO and FUA
sda: sda1
sd 0:0:0:0: [sda] Attached SCSI disk
sd 0:0:1:0: [sdb] 17796077 512-byte hardware sectors (9112 MB)
sd 0:0:1:0: [sdb] Write Protect is off
sd 0:0:1:0: [sdb] Write cache: disabled, read cache: enabled, supports DPO and FUA
sd 0:0:1:0: [sdb] 17796077 512-byte hardware sectors (9112 MB)
sd 0:0:1:0: [sdb] Write Protect is off
sd 0:0:1:0: [sdb] Write cache: disabled, read cache: enabled, supports DPO and FUA
sdb: unknown partition table
sd 0:0:1:0: [sdb] Attached SCSI disk
sd 0:0:2:0: [sdc] 17796077 512-byte hardware sectors (9112 MB)
sd 0:0:2:0: [sdc] Write Protect is off
sd 0:0:2:0: [sdc] Write cache: disabled, read cache: enabled, supports DPO and FUA
sd 0:0:2:0: [sdc] 17796077 512-byte hardware sectors (9112 MB)
sd 0:0:2:0: [sdc] Write Protect is off
sd 0:0:2:0: [sdc] Write cache: disabled, read cache: enabled, supports DPO and FUA
sdc: sdc1
sd 0:0:2:0: [sdc] Attached SCSI disk
sd 0:0:3:0: [sdd] 17796077 512-byte hardware sectors (9112 MB)
sd 0:0:3:0: [sdd] Write Protect is off
sd 0:0:3:0: [sdd] Write cache: disabled, read cache: enabled, supports DPO and FUA
sd 0:0:3:0: [sdd] 17796077 512-byte hardware sectors (9112 MB)
sd 0:0:3:0: [sdd] Write Protect is off
sd 0:0:3:0: [sdd] Write cache: disabled, read cache: enabled, supports DPO and FUA
sdd: sdd1
sd 0:0:3:0: [sdd] Attached SCSI disk
sd 0:0:4:0: [sde] 17796077 512-byte hardware sectors (9112 MB)
sd 0:0:4:0: [sde] Write Protect is off
sd 0:0:4:0: [sde] Write cache: disabled, read cache: enabled, supports DPO and FUA
sd 0:0:4:0: [sde] 17796077 512-byte hardware sectors (9112 MB)
sd 0:0:4:0: [sde] Write Protect is off
sd 0:0:4:0: [sde] Write cache: disabled, read cache: enabled, supports DPO and FUA
sde: unknown partition table
sd 0:0:4:0: [sde] Attached SCSI disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:1:0: Attached scsi generic sg1 type 0
sd 0:0:2:0: Attached scsi generic sg2 type 0
sd 0:0:3:0: Attached scsi generic sg3 type 0
sd 0:0:4:0: Attached scsi generic sg4 type 0
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard as /class/input/input0
oprofile: using NMI interrupt.
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
input: PS/2 Logitech Mouse as /class/input/input1
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 1244KiB [1 disk] into ram disk... |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/done.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 220k freed
initrd-tools: 0.1.81.1
mount: fs type devfs not supported by kernel
FATAL: Modulesd_modnot found.
umount: devfs: not mounted
ext3: No journal on filesystem on sda1
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 63
Buffer I/O error on device sda1, logical block 0
Buffer I/O error on device sda1, logical block 1
Buffer I/O error on device sda1, logical block 2
Buffer I/O error on device sda1, logical block 3
mount: fs type devfs not supported by kernel
ext3: No journal on filesystem on sda1
umount: devfs: not mounted
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 28010831
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 31080815
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 31080855
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 31080919Quoted 9 lines
Buffer I/O error on device sda1, logical block 3885107
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 28411047
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 31135687
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 31138007
sd 0:0:0:0: [sda] <6>sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
Quoted 3 lines
The only patch which touches qla1280 is git-block.patch. From a quick squizz the change looks OK, although it's tricky and something might have broken.
Can you try this patch (against 2.6.23-rc4-mm1)?
Quoted 1 line
From
592bd2049cb3e6e1f1dde7cf631879f26ddffeaaMon Sep 17 00:00:00 2001
From: FUJITA Tomonori <[email protected]>
Date: Mon, 10 Sep 2007 04:17:13 +0100
Subject: [PATCH] qla1280: sg chaining fixes
--- drivers/scsi/qla1280.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
drivers/scsi/qla1280.c +4 -1
@@ -2977,8 +2977,8 @@ qla1280_64bit_start_scsi(struct scsi_qla_host *ha, struct srb * sp)cpu_to_le32 (pci_dma_hi32 (dma_handle)),cpu_to_le32 (pci_dma_lo32 (dma_handle)), cpu_to_le32(sg_dma_len(s))); - remseg--; } + remseg -= cnt; dprintk(5, "qla1280_64bit_start_scsi: " "continuation packet data - b %i, t " "%i, l %i \n", SCSI_BUS_32(cmd),
@@ -3250,6 +3250,8 @@ qla1280_32bit_start_scsi(struct scsi_qla_host *ha, struct srb * sp)/* Load continuation entry data segments. */ for_each_sg (sg, s, remseg, cnt) { +if (cnt ==7 ) +break ; *dword_ptr++ =cpu_to_le32 (pci_dma_lo32 (sg_dma_address (s))); *dword_ptr++ =
@@ -3260,6 +3262,7 @@ qla1280_32bit_start_scsi(struct scsi_qla_host *ha, struct srb * sp)cpu_to_le32 (pci_dma_lo32 (sg_dma_address (s))), cpu_to_le32(sg_dma_len(s))); } + remseg -= cnt; dprintk(5, "qla1280_32bit_start_scsi: " "continuation packet data - " "scsi(%i:%i:%i)\n", SCSI_BUS_32(cmd),
Signature · 1 line
1.5.2.4
Quoted 5 lines · FUJITA Tomonori
Quoted 3 lines
The only patch which touches qla1280 is git-block.patch. From a quick squizz the change looks OK, although it's tricky and something might have broken.
Can you try this patch (against 2.6.23-rc4-mm1)?
Yep this patch seems to sort out booting on these boxes. The other one is also testing. Results later.
Quoted 45 lines
Quoted 1 line
From
592bd2049cb3e6e1f1dde7cf631879f26ddffeaaMon Sep 17 00:00:00 2001From: FUJITA Tomonori <[email protected]>
Date: Mon, 10 Sep 2007 04:17:13 +0100
Subject: [PATCH] qla1280: sg chaining fixesSigned-off-by FUJITA Tomonori <[email protected]>--- drivers/scsi/qla1280.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)drivers/scsi/qla1280.c +4
-1@@ -2977,8 +2977,8 @@ qla1280_64bit_start_scsi(struct scsi_qla_host *ha, struct srb * sp)cpu_to_le32 (pci_dma_hi32 (dma_handle)),cpu_to_le32 (pci_dma_lo32 (dma_handle)), cpu_to_le32(sg_dma_len(s))); - remseg--; } + remseg -= cnt; dprintk(5, "qla1280_64bit_start_scsi: " "continuation packet data - b %i, t " "%i, l %i \n", SCSI_BUS_32(cmd),@@ -3250,6 +3250,8 @@ qla1280_32bit_start_scsi(struct scsi_qla_host *ha, struct srb * sp)/* Load continuation entry data segments. */ for_each_sg (sg, s, remseg, cnt) { +if (cnt ==7 ) +break ; *dword_ptr++ =cpu_to_le32 (pci_dma_lo32 (sg_dma_address (s))); *dword_ptr++ =@@ -3260,6 +3262,7 @@ qla1280_32bit_start_scsi(struct scsi_qla_host *ha, struct srb * sp)cpu_to_le32 (pci_dma_lo32 (sg_dma_address (s))), cpu_to_le32(sg_dma_len(s))); } + remseg -= cnt; dprintk(5, "qla1280_32bit_start_scsi: " "continuation packet data - " "scsi(%i:%i:%i)\n", SCSI_BUS_32(cmd),Signature · 1 line
1.5.2.4
-apw
Quoted 11 lines · FUJITA Tomonori
Can you try this patch (against 2.6.23-rc4-mm1)?
Quoted 1 line
From
592bd2049cb3e6e1f1dde7cf631879f26ddffeaaMon Sep 17 00:00:00 2001From: FUJITA Tomonori <[email protected]>
Date: Mon, 10 Sep 2007 04:17:13 +0100
Subject: [PATCH] qla1280: sg chaining fixesSigned-off-by FUJITA Tomonori <[email protected]>--- drivers/scsi/qla1280.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
This patch works for me.
I was getting the scsi errors reported earlier in this thread, running 2.6.23-rc4-mm1 on one of our big SGI Altix systems.
Applying this patch fixed it, so far as I can tell, which is to say my system boots cleanly once again.
Thanks.
Signature · 3 lines
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <[email protected]> 1.925.600.0401Quoted 13 lines · On Fri, 14 Sep 2007 21:16:35 -0700 Paul Jackson <[email protected]> wrote:
Quoted 11 lines · FUJITA Tomonori
Can you try this patch (against 2.6.23-rc4-mm1)?
Quoted 1 line
From
592bd2049cb3e6e1f1dde7cf631879f26ddffeaaMon Sep 17 00:00:00 2001From: FUJITA Tomonori <[email protected]>
Date: Mon, 10 Sep 2007 04:17:13 +0100
Subject: [PATCH] qla1280: sg chaining fixesSigned-off-by FUJITA Tomonori <[email protected]>--- drivers/scsi/qla1280.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
Quoted 8 lines
This patch works for me.
I was getting the scsi errors reported earlier in this thread, running 2.6.23-rc4-mm1 on one of our big SGI Altix systems.
Applying this patch fixed it, so far as I can tell, which is to say my system boots cleanly once again.
Thanks for testing!
Jens, we could enable use_sg_chaining option for qla1280.
From: FUJITA Tomonori <[email protected]>
Subject: [PATCH] qla1280: enable use_sg_chaining option
--- drivers/scsi/qla1280.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/scsi/qla1280.c +1 -0
@@ -4259,6 +4259,7 @@ static struct scsi_host_template qla1280_driver_template = { .sg_tablesize = SG_ALL, .cmd_per_lun = 1, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, };
Signature · 1 line
1.5.2.4
Quoted 22 lines · FUJITA Tomonori
Quoted 19 lines · On Fri, 14 Sep 2007 21:16:35 -0700 Paul Jackson <[email protected]> wrote:
Quoted 11 lines · FUJITA Tomonori
Can you try this patch (against 2.6.23-rc4-mm1)?
Quoted 1 line
From
592bd2049cb3e6e1f1dde7cf631879f26ddffeaaMon Sep 17 00:00:00 2001From: FUJITA Tomonori <[email protected]>
Date: Mon, 10 Sep 2007 04:17:13 +0100
Subject: [PATCH] qla1280: sg chaining fixesSigned-off-by FUJITA Tomonori <[email protected]>--- drivers/scsi/qla1280.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)This patch works for me.
I was getting the scsi errors reported earlier in this thread, running 2.6.23-rc4-mm1 on one of our big SGI Altix systems.
Quoted 6 lines
Quoted 2 lines
Applying this patch fixed it, so far as I can tell, which is to say my system boots cleanly once again.
Thanks for testing!
Jens, we could enable
use_sg_chainingoption for qla1280.
Added, thanks!
Signature · 1 line
Jens Axboe
Quoted 23 lines · On Mon, 17 Sep 2007 15:28:19 +0200 Jens Axboe <[email protected]> wrote:
Quoted 22 lines · FUJITA Tomonori
Quoted 19 lines · On Fri, 14 Sep 2007 21:16:35 -0700 Paul Jackson <[email protected]> wrote:
Quoted 11 lines · FUJITA Tomonori
Can you try this patch (against 2.6.23-rc4-mm1)?
Quoted 1 line
From
592bd2049cb3e6e1f1dde7cf631879f26ddffeaaMon Sep 17 00:00:00 2001From: FUJITA Tomonori <[email protected]>
Date: Mon, 10 Sep 2007 04:17:13 +0100
Subject: [PATCH] qla1280: sg chaining fixesSigned-off-by FUJITA Tomonori <[email protected]>--- drivers/scsi/qla1280.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)This patch works for me.
I was getting the scsi errors reported earlier in this thread, running 2.6.23-rc4-mm1 on one of our big SGI Altix systems.
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
Applying this patch fixed it, so far as I can tell, which is to say my system boots cleanly once again.
Thanks for testing!
Jens, we could enable
use_sg_chainingoption for qla1280.Added, thanks!
Thanks.
BTW, please don't forget to integrate the following patches:
- revert sg segment size ifdefs
http://marc.info/?l=linux-scsi&m=118881264013097&w=2
- remove sglist_len
Quoted 40 lines · FUJITA Tomonori
Quoted 23 lines · On Mon, 17 Sep 2007 15:28:19 +0200 Jens Axboe <[email protected]> wrote:
Quoted 22 lines · FUJITA Tomonori
Quoted 19 lines · On Fri, 14 Sep 2007 21:16:35 -0700 Paul Jackson <[email protected]> wrote:
Quoted 11 lines · FUJITA Tomonori
Can you try this patch (against 2.6.23-rc4-mm1)?
Quoted 1 line
From
592bd2049cb3e6e1f1dde7cf631879f26ddffeaaMon Sep 17 00:00:00 2001From: FUJITA Tomonori <[email protected]>
Date: Mon, 10 Sep 2007 04:17:13 +0100
Subject: [PATCH] qla1280: sg chaining fixesSigned-off-by FUJITA Tomonori <[email protected]>--- drivers/scsi/qla1280.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)This patch works for me.
I was getting the scsi errors reported earlier in this thread, running 2.6.23-rc4-mm1 on one of our big SGI Altix systems.
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
Applying this patch fixed it, so far as I can tell, which is to say my system boots cleanly once again.
Thanks for testing!
Jens, we could enable
use_sg_chainingoption for qla1280.Added, thanks!
Thanks.
BTW, please don't forget to integrate the following patches:
Quoted 7 lines
- revert sg segment size ifdefs
http://marc.info/?l=linux-scsi&m=118881264013097&w=2
- remove
sglist_len
Added, and I rebased the sglist-* branches to current again. So everything should be fully uptodate once more.
Signature · 1 line
Jens Axboe
Quoted 43 lines · On Tue, 18 Sep 2007 12:18:40 +0200 Jens Axboe <[email protected]> wrote:
Quoted 42 lines · FUJITA Tomonori
Quoted 23 lines · On Mon, 17 Sep 2007 15:28:19 +0200 Jens Axboe <[email protected]> wrote:
Quoted 22 lines · FUJITA Tomonori
Quoted 19 lines · On Fri, 14 Sep 2007 21:16:35 -0700 Paul Jackson <[email protected]> wrote:
Quoted 11 lines · FUJITA Tomonori
Can you try this patch (against 2.6.23-rc4-mm1)?
Quoted 1 line
From
592bd2049cb3e6e1f1dde7cf631879f26ddffeaaMon Sep 17 00:00:00 2001From: FUJITA Tomonori <[email protected]>
Date: Mon, 10 Sep 2007 04:17:13 +0100
Subject: [PATCH] qla1280: sg chaining fixesSigned-off-by FUJITA Tomonori <[email protected]>--- drivers/scsi/qla1280.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)This patch works for me.
I was getting the scsi errors reported earlier in this thread, running 2.6.23-rc4-mm1 on one of our big SGI Altix systems.
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
Applying this patch fixed it, so far as I can tell, which is to say my system boots cleanly once again.
Thanks for testing!
Jens, we could enable
use_sg_chainingoption for qla1280.Added, thanks!
Thanks.
BTW, please don't forget to integrate the following patches:
- revert sg segment size ifdefs
Quoted 8 lines
Quoted 5 lines
http://marc.info/?l=linux-scsi&m=118881264013097&w=2
- remove
sglist_lenAdded, and I rebased the sglist-* branches to current again. So everything should be fully uptodate once more.
Thanks, here are a few more things.
- please drop the iscsi patch since Mike has major changes to iscsi I/O path.
- ipr sg chaining need to be disabled since libata is not ready.
- you can add Doug's ACK to scsi_debug patch:
Quoted 57 lines · FUJITA Tomonori
Quoted 43 lines · On Tue, 18 Sep 2007 12:18:40 +0200 Jens Axboe <[email protected]> wrote:
Quoted 42 lines · FUJITA Tomonori
Quoted 23 lines · On Mon, 17 Sep 2007 15:28:19 +0200 Jens Axboe <[email protected]> wrote:
Quoted 22 lines · FUJITA Tomonori
Quoted 19 lines · On Fri, 14 Sep 2007 21:16:35 -0700 Paul Jackson <[email protected]> wrote:
Quoted 11 lines · FUJITA Tomonori
Can you try this patch (against 2.6.23-rc4-mm1)?
Quoted 1 line
From
592bd2049cb3e6e1f1dde7cf631879f26ddffeaaMon Sep 17 00:00:00 2001From: FUJITA Tomonori <[email protected]>
Date: Mon, 10 Sep 2007 04:17:13 +0100
Subject: [PATCH] qla1280: sg chaining fixesSigned-off-by FUJITA Tomonori <[email protected]>--- drivers/scsi/qla1280.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)This patch works for me.
I was getting the scsi errors reported earlier in this thread, running 2.6.23-rc4-mm1 on one of our big SGI Altix systems.
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
Applying this patch fixed it, so far as I can tell, which is to say my system boots cleanly once again.
Thanks for testing!
Jens, we could enable
use_sg_chainingoption for qla1280.Added, thanks!
Thanks.
BTW, please don't forget to integrate the following patches:
- revert sg segment size ifdefs
Quoted 8 lines
Quoted 5 lines
http://marc.info/?l=linux-scsi&m=118881264013097&w=2
- remove
sglist_lenAdded, and I rebased the sglist-* branches to current again. So everything should be fully uptodate once more.
Thanks, here are a few more things.
Quoted 8 lines
- please drop the iscsi patch since Mike has major changes to iscsi I/O path.
- ipr sg chaining need to be disabled since libata is not ready.
- you can add Doug's ACK to
scsi_debugpatch:
All done.
Signature · 1 line
Jens Axboe
Quoted 117 lines · On Mon, 10 Sep 2007 11:19:26 -0700 Andrew Morton <[email protected]>…
Quoted 5 lines · On Mon, 10 Sep 2007 18:49:26 +0100 Andy Whitcroft <[email protected]> wrote:
I have a couple of old NUMA-Q systems which are unable to read their boot disks with 2.6.23-rc4-mm1. The disks appear to be recognised and even the partition tables read correctly, and then they go pop:
qla1280: QLA1040 found on PCI bus 0, dev 10
cc's added.
Quoted 97 lines
Clocksource tsc unstable (delta = 99922590 ns)
Time: jiffies clocksource has been installed.
scsi(0:0): Resetting SCSI BUS
scsi0 : QLogic QLA1040 PCI to SCSI Host AdapterFirmware version: 7.65.06, Driver version 3.26scsi 0:0:0:0: Direct-Access IBM DGHS18X 0360 PQ: 0 ANSI: 3
scsi(0:0:0:0): Sync: period 10, offset 12, Wide
scsi 0:0:1:0: Direct-Access IBM OEM DCHS09X 5454 PQ: 0 ANSI: 2
scsi(0:0:1:0): Sync: period 10, offset 12, Wide
scsi 0:0:2:0: Direct-Access IBM OEM DCHS09X 5454 PQ: 0 ANSI: 2
scsi(0:0:2:0): Sync: period 10, offset 12, Wide
scsi 0:0:3:0: Direct-Access IBM OEM DCHS09X 5454 PQ: 0 ANSI: 2
scsi(0:0:3:0): Sync: period 10, offset 12, Wide
scsi 0:0:4:0: Direct-Access IBM OEM DCHS09X 5454 PQ: 0 ANSI: 2
scsi(0:0:4:0): Sync: period 10, offset 12, Wide
st: Version 20070203, fixed bufsize 32768, s/g segs 256
sd 0:0:0:0: [sda] 35843670 512-byte hardware sectors (18352 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, supports DPO and FUA
sd 0:0:0:0: [sda] 35843670 512-byte hardware sectors (18352 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, supports DPO and FUA
sda: sda1
sd 0:0:0:0: [sda] Attached SCSI disk
sd 0:0:1:0: [sdb] 17796077 512-byte hardware sectors (9112 MB)
sd 0:0:1:0: [sdb] Write Protect is off
sd 0:0:1:0: [sdb] Write cache: disabled, read cache: enabled, supports DPO and FUA
sd 0:0:1:0: [sdb] 17796077 512-byte hardware sectors (9112 MB)
sd 0:0:1:0: [sdb] Write Protect is off
sd 0:0:1:0: [sdb] Write cache: disabled, read cache: enabled, supports DPO and FUA
sdb: unknown partition table
sd 0:0:1:0: [sdb] Attached SCSI disk
sd 0:0:2:0: [sdc] 17796077 512-byte hardware sectors (9112 MB)
sd 0:0:2:0: [sdc] Write Protect is off
sd 0:0:2:0: [sdc] Write cache: disabled, read cache: enabled, supports DPO and FUA
sd 0:0:2:0: [sdc] 17796077 512-byte hardware sectors (9112 MB)
sd 0:0:2:0: [sdc] Write Protect is off
sd 0:0:2:0: [sdc] Write cache: disabled, read cache: enabled, supports DPO and FUA
sdc: sdc1
sd 0:0:2:0: [sdc] Attached SCSI disk
sd 0:0:3:0: [sdd] 17796077 512-byte hardware sectors (9112 MB)
sd 0:0:3:0: [sdd] Write Protect is off
sd 0:0:3:0: [sdd] Write cache: disabled, read cache: enabled, supports DPO and FUA
sd 0:0:3:0: [sdd] 17796077 512-byte hardware sectors (9112 MB)
sd 0:0:3:0: [sdd] Write Protect is off
sd 0:0:3:0: [sdd] Write cache: disabled, read cache: enabled, supports DPO and FUA
sdd: sdd1
sd 0:0:3:0: [sdd] Attached SCSI disk
sd 0:0:4:0: [sde] 17796077 512-byte hardware sectors (9112 MB)
sd 0:0:4:0: [sde] Write Protect is off
sd 0:0:4:0: [sde] Write cache: disabled, read cache: enabled, supports DPO and FUA
sd 0:0:4:0: [sde] 17796077 512-byte hardware sectors (9112 MB)
sd 0:0:4:0: [sde] Write Protect is off
sd 0:0:4:0: [sde] Write cache: disabled, read cache: enabled, supports DPO and FUA
sde: unknown partition table
sd 0:0:4:0: [sde] Attached SCSI disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:1:0: Attached scsi generic sg1 type 0
sd 0:0:2:0: Attached scsi generic sg2 type 0
sd 0:0:3:0: Attached scsi generic sg3 type 0
sd 0:0:4:0: Attached scsi generic sg4 type 0
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard as /class/input/input0
oprofile: using NMI interrupt.
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI Shortcut mode
input: PS/2 Logitech Mouse as /class/input/input1
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 1244KiB [1 disk] into ram disk... |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/done.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 220k freed
initrd-tools: 0.1.81.1
mount: fs type devfs not supported by kernel
FATAL: Modulesd_modnot found.
umount: devfs: not mounted
ext3: No journal on filesystem on sda1
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 63
Buffer I/O error on device sda1, logical block 0
Buffer I/O error on device sda1, logical block 1
Buffer I/O error on device sda1, logical block 2
Buffer I/O error on device sda1, logical block 3
mount: fs type devfs not supported by kernel
ext3: No journal on filesystem on sda1
umount: devfs: not mounted
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 28010831
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 31080815
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 31080855
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 31080919Quoted 9 lines
Buffer I/O error on device sda1, logical block 3885107
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 28411047
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 31135687
sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
end_request: I/O error, dev sda, sector 31138007
sd 0:0:0:0: [sda] <6>sd 0:0:0:0: [sda] Result: hostbyte=0x07 driverbyte=0x00
Quoted 8 lines
The only patch which touches qla1280 is git-block.patch. From a quick squizz the change looks OK, although it's tricky and something might have broken.
(the dprintk at line 2929 needs to print remseg, not
seg_cnt).Can you retest with that change reverted (below)? If it's not that then perhaps something in scsi core broke, dunno.
Even if we revert the qla1280 patch, scsi-ml still sends chaining sg list. So it doesn't work.
The following patch disables chaining sg list for qla1280. If the fix that I've just sent doesn't work, please try this.
-
From: FUJITA Tomonori <[email protected]>
Subject: [PATCH] add use_sg_chaining option to scsi_host_template
This option is true if a low-level driver can support sg chaining. This will be removed eventually when all the drivers are converted to support sg chaining. q->max_phys_segments is set to SCSI_MAX_SG_SEGMENTS if false.
--- arch/ia64/hp/sim/simscsi.c | 1 + drivers/scsi/3w-9xxx.c | 1 + drivers/scsi/3w-xxxx.c | 1 + drivers/scsi/BusLogic.c | 1 + drivers/scsi/NCR53c406a.c | 3 ++- drivers/scsi/a100u2w.c | 1 + drivers/scsi/aacraid/linit.c | 1 + drivers/scsi/aha1740.c | 1 + drivers/scsi/aic7xxx/aic79xx_osm.c | 1 + drivers/scsi/aic7xxx/aic7xxx_osm.c | 1 + drivers/scsi/aic7xxx_old.c | 1 + drivers/scsi/arcmsr/arcmsr_hba.c | 1 + drivers/scsi/dc395x.c | 1 + drivers/scsi/dpt_i2o.c | 1 + drivers/scsi/eata.c | 3 ++- drivers/scsi/hosts.c | 1 + drivers/scsi/hptiop.c | 1 + drivers/scsi/ibmmca.c | 1 + drivers/scsi/ibmvscsi/ibmvscsi.c | 1 + drivers/scsi/initio.c | 1 + drivers/scsi/ipr.c | 1 + drivers/scsi/lpfc/lpfc_scsi.c | 2 ++ drivers/scsi/mac53c94.c | 1 + drivers/scsi/megaraid.c | 1 + drivers/scsi/megaraid/megaraid_mbox.c | 1 + drivers/scsi/megaraid/megaraid_sas.c | 1 + drivers/scsi/mesh.c | 1 + drivers/scsi/nsp32.c | 1 + drivers/scsi/pcmcia/sym53c500_cs.c | 1 + drivers/scsi/qla2xxx/qla_os.c | 2 ++ drivers/scsi/qla4xxx/ql4_os.c | 1 + drivers/scsi/qlogicfas.c | 1 + drivers/scsi/scsi_lib.c | 5 ++++- drivers/scsi/stex.c | 1 + drivers/scsi/sym53c416.c | 1 + drivers/scsi/sym53c8xx_2/sym_glue.c | 1 + drivers/scsi/u14-34f.c | 1 + drivers/scsi/ultrastor.c | 1 + drivers/scsi/wd7000.c | 1 + include/scsi/scsi_host.h | 13 +++++++++++++ 40 files changed, 59 insertions(+), 3 deletions(-)
arch/ia64/hp/sim/simscsi.c +1 -0
@@ -360,6 +360,7 @@ static struct scsi_host_template driver_template = { .max_sectors = 1024, .cmd_per_lun = SIMSCSI_REQ_QUEUE_LEN, .use_clustering = DISABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, }; static int __init
drivers/scsi/3w-9xxx.c +1 -0
@@ -1990,6 +1990,7 @@ static struct scsi_host_template driver_template = { .max_sectors = TW_MAX_SECTORS, .cmd_per_lun = TW_MAX_CMDS_PER_LUN, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .shost_attrs = twa_host_attrs, .emulated = 1 };
drivers/scsi/3w-xxxx.c +1 -0
@@ -2261,6 +2261,7 @@ static struct scsi_host_template driver_template = { .max_sectors = TW_MAX_SECTORS, .cmd_per_lun = TW_MAX_CMDS_PER_LUN, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .shost_attrs = tw_host_attrs, .emulated = 1 };
drivers/scsi/BusLogic.c +1 -0
@@ -3575,6 +3575,7 @@ static struct scsi_host_template Bus_Logic_template = { .unchecked_isa_dma = 1, .max_sectors = 128, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, };/*
drivers/scsi/NCR53c406a.c +2 -1
@@ -1066,7 +1066,8 @@ static struct scsi_host_template driver_template = .sg_tablesize = 32 /*SG_ALL*/ /*SG_NONE*/, .cmd_per_lun = 1 /* commands per lun */, .unchecked_isa_dma = 1 /* unchecked_isa_dma */, - .use_clustering = ENABLE_CLUSTERING + .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, };#include "scsi_module.c"
drivers/scsi/a100u2w.c +1 -0
@@ -1071,6 +1071,7 @@ static struct scsi_host_template inia100_template = { .sg_tablesize = SG_ALL, .cmd_per_lun = 1, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, }; static int __devinit inia100_probe_one(struct pci_dev *pdev,
drivers/scsi/aacraid/linit.c +1 -0
@@ -944,6 +944,7 @@ static struct scsi_host_template aac_driver_template = { .cmd_per_lun = AAC_NUM_IO_FIB, #endif .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .emulated = 1, };
drivers/scsi/aha1740.c +1 -0
@@ -563,6 +563,7 @@ static struct scsi_host_template aha1740_template = { .sg_tablesize = AHA1740_SCATTER, .cmd_per_lun = AHA1740_CMDLUN, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .eh_abort_handler = aha1740_eh_abort_handler, };
drivers/scsi/aic7xxx/aic79xx_osm.c +1 -0
@@ -766,6 +766,7 @@ struct scsi_host_template aic79xx_driver_template = { .max_sectors = 8192, .cmd_per_lun = 2, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .slave_alloc = ahd_linux_slave_alloc, .slave_configure = ahd_linux_slave_configure, .target_alloc = ahd_linux_target_alloc,
drivers/scsi/aic7xxx/aic7xxx_osm.c +1 -0
@@ -747,6 +747,7 @@ struct scsi_host_template aic7xxx_driver_template = { .max_sectors = 8192, .cmd_per_lun = 2, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .slave_alloc = ahc_linux_slave_alloc, .slave_configure = ahc_linux_slave_configure, .target_alloc = ahc_linux_target_alloc,
drivers/scsi/aic7xxx_old.c +1 -0
@@ -11142,6 +11142,7 @@ static struct scsi_host_template driver_template = { .max_sectors = 2048, .cmd_per_lun = 3, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, };#include "scsi_module.c"
drivers/scsi/arcmsr/arcmsr_hba.c +1 -0
@@ -121,6 +121,7 @@ static struct scsi_host_template arcmsr_scsi_host_template = { .max_sectors = ARCMSR_MAX_XFER_SECTORS, .cmd_per_lun = ARCMSR_MAX_CMD_PERLUN, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .shost_attrs = arcmsr_host_attrs, };static struct pci_error_handlers arcmsr_pci_error_handlers = {
drivers/scsi/dc395x.c +1 -0
@@ -4765,6 +4765,7 @@ static struct scsi_host_template dc395x_driver_template = { .eh_bus_reset_handler = dc395x_eh_bus_reset, .unchecked_isa_dma = 0, .use_clustering = DISABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, };
drivers/scsi/dpt_i2o.c +1 -0
@@ -3295,6 +3295,7 @@ static struct scsi_host_template adpt_template = { .this_id = 7, .cmd_per_lun = 1, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, };static s32 adpt_scsi_register (adpt_hba * pHba)
drivers/scsi/eata.c +2 -1
@@ -523,7 +523,8 @@ static struct scsi_host_template driver_template = { .slave_configure = eata2x_slave_configure, .this_id = 7, .unchecked_isa_dma = 1, - .use_clustering = ENABLE_CLUSTERING + .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, };#if !defined(__BIG_ENDIAN_BITFIELD) && !defined(__LITTLE_ENDIAN_BITFIELD)
drivers/scsi/hosts.c +1 -0
@@ -342,6 +342,7 @@ struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *sht, int privsize) shost->unchecked_isa_dma = sht->unchecked_isa_dma; shost->use_clustering = sht->use_clustering; shost->ordered_tag = sht->ordered_tag; + shost->use_sg_chaining = sht->use_sg_chaining;if (sht->max_host_blocked) shost->max_host_blocked = sht->max_host_blocked;
drivers/scsi/hptiop.c +1 -0
@@ -655,6 +655,7 @@ static struct scsi_host_template driver_template = { .unchecked_isa_dma = 0, .emulated = 0, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .proc_name = driver_name, .shost_attrs = hptiop_attrs, .this_id = -1,
drivers/scsi/ibmmca.c +1 -0
@@ -1501,6 +1501,7 @@ static struct scsi_host_template ibmmca_driver_template = { .sg_tablesize = 16, .cmd_per_lun = 1, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, };static int ibmmca_probe (struct device *dev)
drivers/scsi/ibmvscsi/ibmvscsi.c +1 -0
@@ -1545,6 +1545,7 @@ static struct scsi_host_template driver_template = { .this_id = -1, .sg_tablesize = SG_ALL, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .shost_attrs = ibmvscsi_attrs, };
drivers/scsi/initio.c +1 -0
@@ -2831,6 +2831,7 @@ static struct scsi_host_template initio_template = { .sg_tablesize = SG_ALL, .cmd_per_lun = 1, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, }; static int initio_probe_one(struct pci_dev *pdev,
drivers/scsi/ipr.c +1 -0
@@ -4949,6 +4949,7 @@ static struct scsi_host_template driver_template = { .max_sectors = IPR_IOA_MAX_SECTORS, .cmd_per_lun = IPR_MAX_CMD_PER_LUN, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .shost_attrs = ipr_ioa_attrs, .sdev_attrs = ipr_dev_attrs, .proc_name = IPR_NAME
drivers/scsi/lpfc/lpfc_scsi.c +2 -0
@@ -1438,6 +1438,7 @@ struct scsi_host_template lpfc_template = { .scan_finished = lpfc_scan_finished, .this_id = -1, .sg_tablesize = LPFC_SG_SEG_CNT, + .use_sg_chaining = ENABLE_SG_CHAINING, .cmd_per_lun = LPFC_CMD_PER_LUN, .use_clustering = ENABLE_CLUSTERING, .shost_attrs = lpfc_hba_attrs,
@@ -1460,6 +1461,7 @@ struct scsi_host_template lpfc_vport_template = { .sg_tablesize = LPFC_SG_SEG_CNT, .cmd_per_lun = LPFC_CMD_PER_LUN, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .shost_attrs = lpfc_vport_attrs, .max_sectors = 0xFFFF, };
drivers/scsi/mac53c94.c +1 -0
@@ -402,6 +402,7 @@ static struct scsi_host_template mac53c94_template = { .sg_tablesize = SG_ALL, .cmd_per_lun = 1, .use_clustering = DISABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, };static int mac53c94_probe (struct macio_dev *mdev,const struct of_device_id *match)
drivers/scsi/megaraid.c +1 -0
@@ -4484,6 +4484,7 @@ static struct scsi_host_template megaraid_template = { .sg_tablesize = MAX_SGLIST, .cmd_per_lun = DEF_CMD_PER_LUN, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .eh_abort_handler = megaraid_abort, .eh_device_reset_handler = megaraid_reset, .eh_bus_reset_handler = megaraid_reset,
drivers/scsi/megaraid/megaraid_mbox.c +1 -0
@@ -361,6 +361,7 @@ static struct scsi_host_template megaraid_template_g = { .eh_host_reset_handler = megaraid_reset_handler, .change_queue_depth = megaraid_change_queue_depth, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .sdev_attrs = megaraid_sdev_attrs, .shost_attrs = megaraid_shost_attrs, };
drivers/scsi/megaraid/megaraid_sas.c +1 -0
@@ -1110,6 +1110,7 @@ static struct scsi_host_template megasas_template = { .eh_timed_out = megasas_reset_timer, .bios_param = megasas_bios_param, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, };/**
drivers/scsi/mesh.c +1 -0
@@ -1843,6 +1843,7 @@ static struct scsi_host_template mesh_template = { .sg_tablesize = SG_ALL, .cmd_per_lun = 2, .use_clustering = DISABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, };static int mesh_probe (struct macio_dev *mdev,const struct of_device_id *match)
drivers/scsi/nsp32.c +1 -0
@@ -281,6 +281,7 @@ static struct scsi_host_template nsp32_template = { .cmd_per_lun = 1, .this_id = NSP32_HOST_SCSIID, .use_clustering = DISABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .eh_abort_handler = nsp32_eh_abort, .eh_bus_reset_handler = nsp32_eh_bus_reset, .eh_host_reset_handler = nsp32_eh_host_reset,
drivers/scsi/pcmcia/sym53c500_cs.c +1 -0
@@ -694,6 +694,7 @@ static struct scsi_host_template sym53c500_driver_template = { .sg_tablesize = 32, .cmd_per_lun = 1, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .shost_attrs = SYM53C500_shost_attrs };
drivers/scsi/qla2xxx/qla_os.c +2 -0
@@ -132,6 +132,7 @@ struct scsi_host_template qla2x00_driver_template = { .this_id = -1, .cmd_per_lun = 3, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .sg_tablesize = SG_ALL,/*
@@ -163,6 +164,7 @@ struct scsi_host_template qla24xx_driver_template = { .this_id = -1, .cmd_per_lun = 3, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .sg_tablesize = SG_ALL, .max_sectors = 0xFFFF,
drivers/scsi/qla4xxx/ql4_os.c +1 -0
@@ -94,6 +94,7 @@ static struct scsi_host_template qla4xxx_driver_template = { .this_id = -1, .cmd_per_lun = 3, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .sg_tablesize = SG_ALL, .max_sectors = 0xFFFF,
drivers/scsi/qlogicfas.c +1 -0
@@ -197,6 +197,7 @@ static struct scsi_host_template qlogicfas_driver_template = { .sg_tablesize = SG_ALL, .cmd_per_lun = 1, .use_clustering = DISABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, };static __init int qlogicfas_init (void )
drivers/scsi/scsi_lib.c +4 -1
@@ -1685,7 +1685,10 @@ struct request_queue *__scsi_alloc_queue(struct Scsi_Host *shost,* converted, so better keep it safe. */ #ifdef ARCH_HAS_SG_CHAIN -blk_queue_max_phys_segments (q,SCSI_MAX_SG_CHAIN_SEGMENTS ); +if (shost->use_sg_chaining) +blk_queue_max_phys_segments (q,SCSI_MAX_SG_CHAIN_SEGMENTS ); +else +blk_queue_max_phys_segments (q,SCSI_MAX_SG_SEGMENTS );#else blk_queue_max_phys_segments (q,SCSI_MAX_SG_SEGMENTS );#endif
drivers/scsi/stex.c +1 -0
@@ -1123,6 +1123,7 @@ static struct scsi_host_template driver_template = { .this_id = -1, .sg_tablesize = ST_MAX_SG, .cmd_per_lun = ST_CMD_PER_LUN, + .use_sg_chaining = ENABLE_SG_CHAINING, };static int stex_set_dma_mask (struct pci_dev * pdev)
drivers/scsi/sym53c416.c +1 -0
@@ -854,5 +854,6 @@ static struct scsi_host_template driver_template = { .cmd_per_lun = 1, .unchecked_isa_dma = 1, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, };#include "scsi_module.c"
drivers/scsi/sym53c8xx_2/sym_glue.c +1 -0
@@ -1827,6 +1827,7 @@ static struct scsi_host_template sym2_template = { .eh_host_reset_handler = sym53c8xx_eh_host_reset_handler, .this_id = 7, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .max_sectors =0xFFFF , #ifdef SYM_LINUX_PROC_INFO_SUPPORT .proc_info = sym53c8xx_proc_info,
drivers/scsi/u14-34f.c +1 -0
@@ -451,6 +451,7 @@ static struct scsi_host_template driver_template = { .this_id = 7, .unchecked_isa_dma = 1, .use_clustering = ENABLE_CLUSTERING + .use_sg_chaining = ENABLE_SG_CHAINING, };#if !defined(__BIG_ENDIAN_BITFIELD) && !defined(__LITTLE_ENDIAN_BITFIELD)
drivers/scsi/ultrastor.c +1 -0
@@ -1197,5 +1197,6 @@ static struct scsi_host_template driver_template = { .cmd_per_lun = ULTRASTOR_MAX_CMDS_PER_LUN, .unchecked_isa_dma = 1, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, };#include "scsi_module.c"
drivers/scsi/wd7000.c +1 -0
@@ -1671,6 +1671,7 @@ static struct scsi_host_template driver_template = { .cmd_per_lun = 1, .unchecked_isa_dma = 1, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, };#include "scsi_module.c"
include/scsi/scsi_host.h +13 -0
@@ -36,6 +36,9 @@ struct blk_queue_tags;#define DISABLE_CLUSTERING 0#define ENABLE_CLUSTERING 1 +#define DISABLE_SG_CHAINING 0 +#define ENABLE_SG_CHAINING 1 +enum scsi_eh_timer_return {EH_NOT_HANDLED ,EH_HANDLED ,
@@ -435,6 +438,15 @@ struct scsi_host_template { unsigned ordered_tag:1;/* +* true if the low-level driver can support sg chaining. this +* will be removed eventually when all the drivers are +* converted to support sg chaining. +* +* Status: OBSOLETE +*/ + unsigned use_sg_chaining:1; + +/* * Countdown for host blocking with no commands outstanding */ unsigned int max_host_blocked;
@@ -577,6 +589,7 @@ struct Scsi_Host { unsigned unchecked_isa_dma:1; unsigned use_clustering:1; unsigned use_blk_tcq:1; + unsigned use_sg_chaining:1;/* * Host has requested that no further requests come through for the
Signature · 1 line
1.5.2.4
On Tue, Sep 11, 2007 at 04:31:12AM +0900, FUJITA Tomonori wrote:
[...]
Quoted 6 lines
Quoted 6 lines
The only patch which touches qla1280 is git-block.patch. From a quick squizz the change looks OK, although it's tricky and something might have broken.
(the dprintk at line 2929 needs to print remseg, not
seg_cnt).
Quoted 8 lines
Quoted 2 lines
Can you retest with that change reverted (below)? If it's not that then perhaps something in scsi core broke, dunno.
Even if we revert the qla1280 patch, scsi-ml still sends chaining sg list. So it doesn't work.
The following patch disables chaining sg list for qla1280. If the fix that I've just sent doesn't work, please try this.
Ok, the other patch _did_ work, but this got tested anyhow and it did _not_ fix things.
Quoted 583 lines
-
From: FUJITA Tomonori <[email protected]>
Subject: [PATCH] adduse_sg_chainingoption toscsi_host_templateThis option is true if a low-level driver can support sg chaining. This will be removed eventually when all the drivers are converted to support sg chaining.
q->max_phys_segmentsis set toSCSI_MAX_SG_SEGMENTSif false.Signed-off-by FUJITA Tomonori <[email protected]>--- arch/ia64/hp/sim/simscsi.c | 1 + drivers/scsi/3w-9xxx.c | 1 + drivers/scsi/3w-xxxx.c | 1 + drivers/scsi/BusLogic.c | 1 + drivers/scsi/NCR53c406a.c | 3 ++- drivers/scsi/a100u2w.c | 1 + drivers/scsi/aacraid/linit.c | 1 + drivers/scsi/aha1740.c | 1 + drivers/scsi/aic7xxx/aic79xx_osm.c | 1 + drivers/scsi/aic7xxx/aic7xxx_osm.c | 1 + drivers/scsi/aic7xxx_old.c | 1 + drivers/scsi/arcmsr/arcmsr_hba.c | 1 + drivers/scsi/dc395x.c | 1 + drivers/scsi/dpt_i2o.c | 1 + drivers/scsi/eata.c | 3 ++- drivers/scsi/hosts.c | 1 + drivers/scsi/hptiop.c | 1 + drivers/scsi/ibmmca.c | 1 + drivers/scsi/ibmvscsi/ibmvscsi.c | 1 + drivers/scsi/initio.c | 1 + drivers/scsi/ipr.c | 1 + drivers/scsi/lpfc/lpfc_scsi.c | 2 ++ drivers/scsi/mac53c94.c | 1 + drivers/scsi/megaraid.c | 1 + drivers/scsi/megaraid/megaraid_mbox.c | 1 + drivers/scsi/megaraid/megaraid_sas.c | 1 + drivers/scsi/mesh.c | 1 + drivers/scsi/nsp32.c | 1 + drivers/scsi/pcmcia/sym53c500_cs.c | 1 + drivers/scsi/qla2xxx/qla_os.c | 2 ++ drivers/scsi/qla4xxx/ql4_os.c | 1 + drivers/scsi/qlogicfas.c | 1 + drivers/scsi/scsi_lib.c | 5 ++++- drivers/scsi/stex.c | 1 + drivers/scsi/sym53c416.c | 1 + drivers/scsi/sym53c8xx_2/sym_glue.c | 1 + drivers/scsi/u14-34f.c | 1 + drivers/scsi/ultrastor.c | 1 + drivers/scsi/wd7000.c | 1 + include/scsi/scsi_host.h | 13 +++++++++++++ 40 files changed, 59 insertions(+), 3 deletions(-)arch/ia64/hp/sim/simscsi.c +1
-0@@ -360,6 +360,7 @@ static struct scsi_host_template driver_template = { .max_sectors = 1024, .cmd_per_lun = SIMSCSI_REQ_QUEUE_LEN, .use_clustering = DISABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, }; static int __initdrivers/scsi/3w-9xxx.c +1
-0@@ -1990,6 +1990,7 @@ static struct scsi_host_template driver_template = { .max_sectors = TW_MAX_SECTORS, .cmd_per_lun = TW_MAX_CMDS_PER_LUN, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .shost_attrs = twa_host_attrs, .emulated = 1 };drivers/scsi/3w-xxxx.c +1
-0@@ -2261,6 +2261,7 @@ static struct scsi_host_template driver_template = { .max_sectors = TW_MAX_SECTORS, .cmd_per_lun = TW_MAX_CMDS_PER_LUN, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .shost_attrs = tw_host_attrs, .emulated = 1 };drivers/scsi/BusLogic.c +1
-0@@ -3575,6 +3575,7 @@ static struct scsi_host_template Bus_Logic_template = { .unchecked_isa_dma = 1, .max_sectors = 128, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, };/* drivers/scsi/NCR53c406a.c +2
-1@@ -1066,7 +1066,8 @@ static struct scsi_host_template driver_template = .sg_tablesize = 32 /*SG_ALL*/ /*SG_NONE*/, .cmd_per_lun = 1 /* commands per lun */, .unchecked_isa_dma = 1 /* unchecked_isa_dma */, - .use_clustering = ENABLE_CLUSTERING + .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, };#include "scsi_module.c" drivers/scsi/a100u2w.c +1
-0@@ -1071,6 +1071,7 @@ static struct scsi_host_template inia100_template = { .sg_tablesize = SG_ALL, .cmd_per_lun = 1, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, }; static int __devinit inia100_probe_one(struct pci_dev *pdev,drivers/scsi/aacraid/linit.c +1
-0@@ -944,6 +944,7 @@ static struct scsi_host_template aac_driver_template = { .cmd_per_lun = AAC_NUM_IO_FIB, #endif .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .emulated = 1, };drivers/scsi/aha1740.c +1
-0@@ -563,6 +563,7 @@ static struct scsi_host_template aha1740_template = { .sg_tablesize = AHA1740_SCATTER, .cmd_per_lun = AHA1740_CMDLUN, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .eh_abort_handler = aha1740_eh_abort_handler, };drivers/scsi/aic7xxx/aic79xx_osm.c +1
-0@@ -766,6 +766,7 @@ struct scsi_host_template aic79xx_driver_template = { .max_sectors = 8192, .cmd_per_lun = 2, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .slave_alloc = ahd_linux_slave_alloc, .slave_configure = ahd_linux_slave_configure, .target_alloc = ahd_linux_target_alloc,drivers/scsi/aic7xxx/aic7xxx_osm.c +1
-0@@ -747,6 +747,7 @@ struct scsi_host_template aic7xxx_driver_template = { .max_sectors = 8192, .cmd_per_lun = 2, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .slave_alloc = ahc_linux_slave_alloc, .slave_configure = ahc_linux_slave_configure, .target_alloc = ahc_linux_target_alloc,drivers/scsi/aic7xxx_old.c +1
-0@@ -11142,6 +11142,7 @@ static struct scsi_host_template driver_template = { .max_sectors = 2048, .cmd_per_lun = 3, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, };#include "scsi_module.c" drivers/scsi/arcmsr/arcmsr_hba.c +1
-0@@ -121,6 +121,7 @@ static struct scsi_host_template arcmsr_scsi_host_template = { .max_sectors = ARCMSR_MAX_XFER_SECTORS, .cmd_per_lun = ARCMSR_MAX_CMD_PERLUN, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .shost_attrs = arcmsr_host_attrs, };static struct pci_error_handlers arcmsr_pci_error_handlers = {drivers/scsi/dc395x.c +1
-0@@ -4765,6 +4765,7 @@ static struct scsi_host_template dc395x_driver_template = { .eh_bus_reset_handler = dc395x_eh_bus_reset, .unchecked_isa_dma = 0, .use_clustering = DISABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, };drivers/scsi/dpt_i2o.c +1
-0@@ -3295,6 +3295,7 @@ static struct scsi_host_template adpt_template = { .this_id = 7, .cmd_per_lun = 1, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, };static s32 adpt_scsi_register (adpt_hba * pHba)drivers/scsi/eata.c +2
-1@@ -523,7 +523,8 @@ static struct scsi_host_template driver_template = { .slave_configure = eata2x_slave_configure, .this_id = 7, .unchecked_isa_dma = 1, - .use_clustering = ENABLE_CLUSTERING + .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, };#if !defined(__BIG_ENDIAN_BITFIELD) && !defined(__LITTLE_ENDIAN_BITFIELD)drivers/scsi/hosts.c +1
-0@@ -342,6 +342,7 @@ struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *sht, int privsize) shost->unchecked_isa_dma = sht->unchecked_isa_dma; shost->use_clustering = sht->use_clustering; shost->ordered_tag = sht->ordered_tag; + shost->use_sg_chaining = sht->use_sg_chaining;if (sht->max_host_blocked) shost->max_host_blocked = sht->max_host_blocked;drivers/scsi/hptiop.c +1
-0@@ -655,6 +655,7 @@ static struct scsi_host_template driver_template = { .unchecked_isa_dma = 0, .emulated = 0, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .proc_name = driver_name, .shost_attrs = hptiop_attrs, .this_id = -1,drivers/scsi/ibmmca.c +1
-0@@ -1501,6 +1501,7 @@ static struct scsi_host_template ibmmca_driver_template = { .sg_tablesize = 16, .cmd_per_lun = 1, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, };static int ibmmca_probe (struct device *dev)drivers/scsi/ibmvscsi/ibmvscsi.c +1
-0@@ -1545,6 +1545,7 @@ static struct scsi_host_template driver_template = { .this_id = -1, .sg_tablesize = SG_ALL, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .shost_attrs = ibmvscsi_attrs, };drivers/scsi/initio.c +1
-0@@ -2831,6 +2831,7 @@ static struct scsi_host_template initio_template = { .sg_tablesize = SG_ALL, .cmd_per_lun = 1, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, }; static int initio_probe_one(struct pci_dev *pdev,drivers/scsi/ipr.c +1
-0@@ -4949,6 +4949,7 @@ static struct scsi_host_template driver_template = { .max_sectors = IPR_IOA_MAX_SECTORS, .cmd_per_lun = IPR_MAX_CMD_PER_LUN, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .shost_attrs = ipr_ioa_attrs, .sdev_attrs = ipr_dev_attrs, .proc_name = IPR_NAMEdrivers/scsi/lpfc/lpfc_scsi.c +2
-0@@ -1438,6 +1438,7 @@ struct scsi_host_template lpfc_template = { .scan_finished = lpfc_scan_finished, .this_id = -1, .sg_tablesize = LPFC_SG_SEG_CNT, + .use_sg_chaining = ENABLE_SG_CHAINING, .cmd_per_lun = LPFC_CMD_PER_LUN, .use_clustering = ENABLE_CLUSTERING, .shost_attrs = lpfc_hba_attrs,@@ -1460,6 +1461,7 @@ struct scsi_host_template lpfc_vport_template = { .sg_tablesize = LPFC_SG_SEG_CNT, .cmd_per_lun = LPFC_CMD_PER_LUN, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .shost_attrs = lpfc_vport_attrs, .max_sectors = 0xFFFF, };drivers/scsi/mac53c94.c +1
-0@@ -402,6 +402,7 @@ static struct scsi_host_template mac53c94_template = { .sg_tablesize = SG_ALL, .cmd_per_lun = 1, .use_clustering = DISABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, };static int mac53c94_probe (struct macio_dev *mdev,const struct of_device_id *match)drivers/scsi/megaraid.c +1
-0@@ -4484,6 +4484,7 @@ static struct scsi_host_template megaraid_template = { .sg_tablesize = MAX_SGLIST, .cmd_per_lun = DEF_CMD_PER_LUN, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .eh_abort_handler = megaraid_abort, .eh_device_reset_handler = megaraid_reset, .eh_bus_reset_handler = megaraid_reset,drivers/scsi/megaraid/megaraid_mbox.c +1
-0@@ -361,6 +361,7 @@ static struct scsi_host_template megaraid_template_g = { .eh_host_reset_handler = megaraid_reset_handler, .change_queue_depth = megaraid_change_queue_depth, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .sdev_attrs = megaraid_sdev_attrs, .shost_attrs = megaraid_shost_attrs, };drivers/scsi/megaraid/megaraid_sas.c +1
-0@@ -1110,6 +1110,7 @@ static struct scsi_host_template megasas_template = { .eh_timed_out = megasas_reset_timer, .bios_param = megasas_bios_param, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, };/** drivers/scsi/mesh.c +1
-0@@ -1843,6 +1843,7 @@ static struct scsi_host_template mesh_template = { .sg_tablesize = SG_ALL, .cmd_per_lun = 2, .use_clustering = DISABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, };static int mesh_probe (struct macio_dev *mdev,const struct of_device_id *match)drivers/scsi/nsp32.c +1
-0@@ -281,6 +281,7 @@ static struct scsi_host_template nsp32_template = { .cmd_per_lun = 1, .this_id = NSP32_HOST_SCSIID, .use_clustering = DISABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .eh_abort_handler = nsp32_eh_abort, .eh_bus_reset_handler = nsp32_eh_bus_reset, .eh_host_reset_handler = nsp32_eh_host_reset,drivers/scsi/pcmcia/sym53c500_cs.c +1
-0@@ -694,6 +694,7 @@ static struct scsi_host_template sym53c500_driver_template = { .sg_tablesize = 32, .cmd_per_lun = 1, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .shost_attrs = SYM53C500_shost_attrs };drivers/scsi/qla2xxx/qla_os.c +2
-0@@ -132,6 +132,7 @@ struct scsi_host_template qla2x00_driver_template = { .this_id = -1, .cmd_per_lun = 3, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .sg_tablesize = SG_ALL,/* @@ -163,6 +164,7 @@ struct scsi_host_template qla24xx_driver_template = { .this_id = -1, .cmd_per_lun = 3, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .sg_tablesize = SG_ALL, .max_sectors = 0xFFFF,drivers/scsi/qla4xxx/ql4_os.c +1
-0@@ -94,6 +94,7 @@ static struct scsi_host_template qla4xxx_driver_template = { .this_id = -1, .cmd_per_lun = 3, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .sg_tablesize = SG_ALL, .max_sectors = 0xFFFF,drivers/scsi/qlogicfas.c +1
-0@@ -197,6 +197,7 @@ static struct scsi_host_template qlogicfas_driver_template = { .sg_tablesize = SG_ALL, .cmd_per_lun = 1, .use_clustering = DISABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, };static __init int qlogicfas_init (void )drivers/scsi/scsi_lib.c +4
-1@@ -1685,7 +1685,10 @@ struct request_queue *__scsi_alloc_queue(struct Scsi_Host *shost,* converted, so better keep it safe. */ #ifdef ARCH_HAS_SG_CHAIN -blk_queue_max_phys_segments (q,SCSI_MAX_SG_CHAIN_SEGMENTS ); +if (shost->use_sg_chaining) +blk_queue_max_phys_segments (q,SCSI_MAX_SG_CHAIN_SEGMENTS ); +else +blk_queue_max_phys_segments (q,SCSI_MAX_SG_SEGMENTS );#else blk_queue_max_phys_segments (q,SCSI_MAX_SG_SEGMENTS );#endif drivers/scsi/stex.c +1
-0@@ -1123,6 +1123,7 @@ static struct scsi_host_template driver_template = { .this_id = -1, .sg_tablesize = ST_MAX_SG, .cmd_per_lun = ST_CMD_PER_LUN, + .use_sg_chaining = ENABLE_SG_CHAINING, };static int stex_set_dma_mask (struct pci_dev * pdev)drivers/scsi/sym53c416.c +1
-0@@ -854,5 +854,6 @@ static struct scsi_host_template driver_template = { .cmd_per_lun = 1, .unchecked_isa_dma = 1, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, };#include "scsi_module.c" drivers/scsi/sym53c8xx_2/sym_glue.c +1
-0@@ -1827,6 +1827,7 @@ static struct scsi_host_template sym2_template = { .eh_host_reset_handler = sym53c8xx_eh_host_reset_handler, .this_id = 7, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, .max_sectors =0xFFFF , #ifdef SYM_LINUX_PROC_INFO_SUPPORT .proc_info = sym53c8xx_proc_info,drivers/scsi/u14-34f.c +1
-0@@ -451,6 +451,7 @@ static struct scsi_host_template driver_template = { .this_id = 7, .unchecked_isa_dma = 1, .use_clustering = ENABLE_CLUSTERING + .use_sg_chaining = ENABLE_SG_CHAINING, };#if !defined(__BIG_ENDIAN_BITFIELD) && !defined(__LITTLE_ENDIAN_BITFIELD)drivers/scsi/ultrastor.c +1
-0@@ -1197,5 +1197,6 @@ static struct scsi_host_template driver_template = { .cmd_per_lun = ULTRASTOR_MAX_CMDS_PER_LUN, .unchecked_isa_dma = 1, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, };#include "scsi_module.c" drivers/scsi/wd7000.c +1
-0@@ -1671,6 +1671,7 @@ static struct scsi_host_template driver_template = { .cmd_per_lun = 1, .unchecked_isa_dma = 1, .use_clustering = ENABLE_CLUSTERING, + .use_sg_chaining = ENABLE_SG_CHAINING, };#include "scsi_module.c" include/scsi/scsi_host.h +13
-0@@ -36,6 +36,9 @@ struct blk_queue_tags;#define DISABLE_CLUSTERING 0#define ENABLE_CLUSTERING 1 +#define DISABLE_SG_CHAINING 0 +#define ENABLE_SG_CHAINING 1 +enum scsi_eh_timer_return {EH_NOT_HANDLED ,EH_HANDLED ,@@ -435,6 +438,15 @@ struct scsi_host_template { unsigned ordered_tag:1;/* +* true if the low-level driver can support sg chaining. this +* will be removed eventually when all the drivers are +* converted to support sg chaining. +* +* Status: OBSOLETE +*/ + unsigned use_sg_chaining:1; + +/* * Countdown for host blocking with no commands outstanding */ unsigned int max_host_blocked;@@ -577,6 +589,7 @@ struct Scsi_Host { unsigned unchecked_isa_dma:1; unsigned use_clustering:1; unsigned use_blk_tcq:1; + unsigned use_sg_chaining:1;/* * Host has requested that no further requests come through for the Signature · 1 line
1.5.2.4
-apw
Quoted 12 lines · Andy Whitcroft
On Tue, Sep 11, 2007 at 04:31:12AM +0900, FUJITA Tomonori wrote:
[...]Quoted 6 lines
Even if we revert the qla1280 patch, scsi-ml still sends chaining sg list. So it doesn't work.
The following patch disables chaining sg list for qla1280. If the fix that I've just sent doesn't work, please try this.
Ok, the other patch _did_ work, but this got tested anyhow and it did _not_ fix things.
Sorry to confirm this. My RAID5 got destroyed a second time. To summarize what worked / not worked / and seems to work for me:
First 2 tries with unpatched rc4-mm1: Both times one sata_sil24-drive got kicked Then I switched back to rc3-mm1, 18 boots with that kernel worked. Then I tried the patched rc4-mm1 and it worked too.
The next boot also worked, but the third time kicked a drive out again. But as nobody reads logs, I did not notice that and keep using the patched rc4-mm1.
The next 5 times the system worked normally with the two remaining drives. The sixth boot kicked the second sata_sil24 drive. That I did notice... After reassembling the RAID, I'm now back to the patch rc4-mm1 that did boot correctly this time.
So the patch just makes it unlikelier to hit the bug. Instead of failing 2 out of 2 times, it only failed 2 out of 8 times.
I compared the rc4-mm1 boot from a working case and the case where it kicked the first drive. Nothing seems to stand out...
< == good rc4-mm1 boot
Quoted 1 line
== bad rc4-mm1 boot that kicked the drive
145c145
< CPU 0: aperture @ 4000000 size 32 MB
---
Quoted 1 line
CPU 0: aperture @
b7f0000000size 32 MB
154c154
< Calibrating delay using timer specific routine.. 5203.23 BogoMIPS (lpj=26016160)
---
Quoted 1 line
Calibrating delay using timer specific routine.. 5203.22 BogoMIPS (lpj=26016138)
169c169
< APIC timer calibration result 12499998
---
Quoted 1 line
APIC timer calibration result 12499994
173c173
< Calibrating delay using timer specific routine.. 5222.40 BogoMIPS (lpj=26112010)
---
Quoted 1 line
Calibrating delay using timer specific routine.. 5200.01 BogoMIPS (lpj=26000052)
182c182
< Calibrating delay using timer specific routine.. 5222.73 BogoMIPS (lpj=26113694)
---
Quoted 1 line
Calibrating delay using timer specific routine.. 5200.01 BogoMIPS (lpj=26000081)
191c191
< Calibrating delay using timer specific routine.. 5223.07 BogoMIPS (lpj=26115369)
---
Quoted 1 line
Calibrating delay using timer specific routine.. 5200.03 BogoMIPS (lpj=26000164)
269d268
< Switched to high resolution mode on CPU 3
270a270
Quoted 1 line
Switched to high resolution mode on CPU 3
502,509c502,509
< raid6: int64x1 2634 MB/s < raid6: int64x2 3244 MB/s < raid6: int64x4 3405 MB/s < raid6: int64x8 2614 MB/s < raid6: sse2x1 3607 MB/s < raid6: sse2x2 4834 MB/s < raid6: sse2x4 4946 MB/s
< raid6: using algorithm sse2x4 (4946 MB/s)
---
Quoted 8 lines
raid6: int64x1 2680 MB/s
raid6: int64x2 3232 MB/s
raid6: int64x4 3411 MB/s
raid6: int64x8 2620 MB/s
raid6: sse2x1 3606 MB/s
raid6: sse2x2 4810 MB/s
raid6: sse2x4 4910 MB/s
raid6: using algorithm sse2x4 (4910 MB/s)
567c567
< md1: bitmap initialized from disk: read 10/10 pages, set 96 bits
---
Quoted 1 line
md1: bitmap initialized from disk: read 10/10 pages, set 104 bits
568a569,655
Quoted 78 lines
ata1.00: exception Emask
0x20SAct0x1SErr0x0action0x2ata1.00:irq_stat0x00020002, PCI master abort while fetching SGT ata1.00: cmd 61/08:00:09:d6:42/00:00:25:00:00/40 tag 0 cdb0x0data 4096 outres 50/00:00:af:ea:42/00:00:25:00:00/e0 Emask 0x20 (host bus error)ata1.00: status: {DRDY }
ata1: soft resetting link
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: configured for UDMA/100
ata1: EH complete
sd 0:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA ata1.00: exception Emask0x20SAct0x1SErr0x0action0x2
ata1.00:irq_stat0x00020002, PCI master abort while fetching SGT ata1.00: cmd 61/08:00:09:d6:42/00:00:25:00:00/40 tag 0 cdb0x0data 4096 outres 50/00:00:af:ea:42/00:00:25:00:00/e0 Emask 0x20 (host bus error)ata1.00: status: {DRDY }
ata1: soft resetting link
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: configured for UDMA/100
ata1: EH complete
sd 0:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA ata1.00: exception Emask0x20SAct0x1SErr0x0action0x2
ata1.00:irq_stat0x00020002, PCI master abort while fetching SGT ata1.00: cmd 61/08:00:09:d6:42/00:00:25:00:00/40 tag 0 cdb0x0data 4096 outres 50/00:00:af:ea:42/00:00:25:00:00/e0 Emask 0x20 (host bus error)ata1.00: status: {DRDY }
ata1: soft resetting link
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: configured for UDMA/100
ata1: EH complete
sd 0:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA ata1.00: exception Emask0x20SAct0x1SErr0x0action0x2
ata1.00:irq_stat0x00020002, PCI master abort while fetching SGT ata1.00: cmd 61/08:00:09:d6:42/00:00:25:00:00/40 tag 0 cdb0x0data 4096 outres 50/00:00:af:ea:42/00:00:25:00:00/e0 Emask 0x20 (host bus error)ata1.00: status: {DRDY }
ata1: soft resetting link
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: configured for UDMA/100
ata1: EH complete
sd 0:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA ata1.00: exception Emask0x20SAct0x1SErr0x0action0x2
ata1.00:irq_stat0x00020002, PCI master abort while fetching SGT ata1.00: cmd 61/08:00:09:d6:42/00:00:25:00:00/40 tag 0 cdb0x0data 4096 outres 50/00:00:af:ea:42/00:00:25:00:00/e0 Emask 0x20 (host bus error)ata1.00: status: {DRDY }
ata1: soft resetting link
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: configured for UDMA/100
ata1: EH complete
sd 0:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA ata1.00: exception Emask0x20SAct0x1SErr0x0action0x2
ata1.00:irq_stat0x00020002, PCI master abort while fetching SGT ata1.00: cmd 61/08:00:09:d6:42/00:00:25:00:00/40 tag 0 cdb0x0data 4096 outres 50/00:00:af:ea:42/00:00:25:00:00/e0 Emask 0x20 (host bus error)ata1.00: status: {DRDY }
ata1: soft resetting link
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: configured for UDMA/100
sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK sd 0:0:0:0: [sda] Sense Key : Aborted Command [current] [descriptor] Descriptor sense data with sense descriptors (in hex):72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00 00 00 00 af
Quoted 9 lines
sd 0:0:0:0: [sda] Add. Sense: No additional sense information
end_request: I/O error, dev sda, sector 625137161
ata1: EH complete
sd 0:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
md:super_writtengets error=-5, uptodate=0
raid5: Disk failure on sda2, disabling device. Operation continuing on 2 devices
571a659,663
Quoted 5 lines
RAID5 conf printout:
--- rd:3 wd:2
disk 0, o:0, dev:sda2
disk 1, o:1, dev:sdb2
disk 2, o:1, dev:sdc2
576a669,672
Quoted 4 lines
RAID5 conf printout:
--- rd:3 wd:2
disk 1, o:1, dev:sdb2
disk 2, o:1, dev:sdc2
Another good boot also showed the aperture at a similar high address:
CPU 0: aperture @ b7f2000000 size 32 MB
And that good boot also showed the "correct" BogoMIPS:
Calibrating delay using timer specific routine.. 5205.43 BogoMIPS (lpj=26027183) Calibrating delay using timer specific routine.. 5200.01 BogoMIPS (lpj=26000052) Calibrating delay using timer specific routine.. 5200.01 BogoMIPS (lpj=26000082) Calibrating delay using timer specific routine.. 5200.03 BogoMIPS (lpj=26000166)
Anything more I can provide to help debugging this?
Torsten
Andrew Morton
maintainerQuoted 85 lines · On Fri, 14 Sep 2007 15:01:03 +0200 "Torsten Kaiser"…
Quoted 12 lines · Andy Whitcroft
On Tue, Sep 11, 2007 at 04:31:12AM +0900, FUJITA Tomonori wrote:
[...]Quoted 6 lines
Even if we revert the qla1280 patch, scsi-ml still sends chaining sg list. So it doesn't work.
The following patch disables chaining sg list for qla1280. If the fix that I've just sent doesn't work, please try this.
Ok, the other patch _did_ work, but this got tested anyhow and it did _not_ fix things.
Sorry to confirm this. My RAID5 got destroyed a second time. To summarize what worked / not worked / and seems to work for me:
First 2 tries with unpatched rc4-mm1: Both times one sata_sil24-drive got kicked Then I switched back to rc3-mm1, 18 boots with that kernel worked. Then I tried the patched rc4-mm1 and it worked too.
The next boot also worked, but the third time kicked a drive out again. But as nobody reads logs, I did not notice that and keep using the patched rc4-mm1.
The next 5 times the system worked normally with the two remaining drives. The sixth boot kicked the secondsata_sil24drive. That I did notice... After reassembling the RAID, I'm now back to the patch rc4-mm1 that did boot correctly this time.
So the patch just makes it unlikelier to hit the bug. Instead of failing 2 out of 2 times, it only failed 2 out of 8 times.
I compared the rc4-mm1 boot from a working case and the case where it kicked the first drive. Nothing seems to stand out...< == good rc4-mm1 boot
Quoted 1 line
== bad rc4-mm1 boot that kicked the drive
145c145
< CPU 0: aperture @ 4000000 size 32 MB
---Quoted 1 line
CPU 0: aperture @
b7f0000000size 32 MB154c154
< Calibrating delay using timer specific routine.. 5203.23 BogoMIPS (lpj=26016160)
---Quoted 1 line
Calibrating delay using timer specific routine.. 5203.22 BogoMIPS (lpj=26016138)
169c169
< APIC timer calibration result 12499998
---Quoted 1 line
APIC timer calibration result 12499994
173c173
< Calibrating delay using timer specific routine.. 5222.40 BogoMIPS (lpj=26112010)
---Quoted 1 line
Calibrating delay using timer specific routine.. 5200.01 BogoMIPS (lpj=26000052)
182c182
< Calibrating delay using timer specific routine.. 5222.73 BogoMIPS (lpj=26113694)
---Quoted 1 line
Calibrating delay using timer specific routine.. 5200.01 BogoMIPS (lpj=26000081)
191c191
< Calibrating delay using timer specific routine.. 5223.07 BogoMIPS (lpj=26115369)
---Quoted 1 line
Calibrating delay using timer specific routine.. 5200.03 BogoMIPS (lpj=26000164)
269d268
< Switched to high resolution mode on CPU 3
270a270Quoted 1 line
Switched to high resolution mode on CPU 3
502,509c502,509
< raid6: int64x1 2634 MB/s < raid6: int64x2 3244 MB/s < raid6: int64x4 3405 MB/s < raid6: int64x8 2614 MB/s < raid6: sse2x1 3607 MB/s < raid6: sse2x2 4834 MB/s < raid6: sse2x4 4946 MB/s< raid6: using algorithm sse2x4 (4946 MB/s)
---Quoted 8 lines
raid6: int64x1 2680 MB/s
raid6: int64x2 3232 MB/s
raid6: int64x4 3411 MB/s
raid6: int64x8 2620 MB/s
raid6: sse2x1 3606 MB/s
raid6: sse2x2 4810 MB/s
raid6: sse2x4 4910 MB/s
raid6: using algorithm sse2x4 (4910 MB/s)
Quoted 85 lines
567c567
< md1: bitmap initialized from disk: read 10/10 pages, set 96 bits
---Quoted 1 line
md1: bitmap initialized from disk: read 10/10 pages, set 104 bits
568a569,655
Quoted 80 lines
ata1.00: exception Emask
0x20SAct0x1SErr0x0action0x2ata1.00:irq_stat0x00020002, PCI master abort while fetching SGT ata1.00: cmd 61/08:00:09:d6:42/00:00:25:00:00/40 tag 0 cdb0x0data 4096 outres 50/00:00:af:ea:42/00:00:25:00:00/e0 Emask 0x20 (host bus error)ata1.00: status: {DRDY }
ata1: soft resetting link
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: configured for UDMA/100
ata1: EH complete
sd 0:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA ata1.00: exception Emask0x20SAct0x1SErr0x0action0x2
ata1.00:irq_stat0x00020002, PCI master abort while fetching SGT ata1.00: cmd 61/08:00:09:d6:42/00:00:25:00:00/40 tag 0 cdb0x0data 4096 outres 50/00:00:af:ea:42/00:00:25:00:00/e0 Emask 0x20 (host bus error)ata1.00: status: {DRDY }
ata1: soft resetting link
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: configured for UDMA/100
ata1: EH complete
sd 0:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA ata1.00: exception Emask0x20SAct0x1SErr0x0action0x2
ata1.00:irq_stat0x00020002, PCI master abort while fetching SGT ata1.00: cmd 61/08:00:09:d6:42/00:00:25:00:00/40 tag 0 cdb0x0data 4096 outres 50/00:00:af:ea:42/00:00:25:00:00/e0 Emask 0x20 (host bus error)ata1.00: status: {DRDY }
ata1: soft resetting link
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: configured for UDMA/100
ata1: EH complete
sd 0:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA ata1.00: exception Emask0x20SAct0x1SErr0x0action0x2
ata1.00:irq_stat0x00020002, PCI master abort while fetching SGT ata1.00: cmd 61/08:00:09:d6:42/00:00:25:00:00/40 tag 0 cdb0x0data 4096 outres 50/00:00:af:ea:42/00:00:25:00:00/e0 Emask 0x20 (host bus error)ata1.00: status: {DRDY }
ata1: soft resetting link
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: configured for UDMA/100
ata1: EH complete
sd 0:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA ata1.00: exception Emask0x20SAct0x1SErr0x0action0x2
ata1.00:irq_stat0x00020002, PCI master abort while fetching SGT ata1.00: cmd 61/08:00:09:d6:42/00:00:25:00:00/40 tag 0 cdb0x0data 4096 outres 50/00:00:af:ea:42/00:00:25:00:00/e0 Emask 0x20 (host bus error)ata1.00: status: {DRDY }
ata1: soft resetting link
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: configured for UDMA/100
ata1: EH complete
sd 0:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA ata1.00: exception Emask0x20SAct0x1SErr0x0action0x2
ata1.00:irq_stat0x00020002, PCI master abort while fetching SGT ata1.00: cmd 61/08:00:09:d6:42/00:00:25:00:00/40 tag 0 cdb0x0data 4096 outres 50/00:00:af:ea:42/00:00:25:00:00/e0 Emask 0x20 (host bus error)ata1.00: status: {DRDY }
ata1: soft resetting link
ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
ata1.00: configured for UDMA/100
sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK sd 0:0:0:0: [sda] Sense Key : Aborted Command [current] [descriptor] Descriptor sense data with sense descriptors (in hex):72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00 00 00 00 afsd 0:0:0:0: [sda] Add. Sense: No additional sense information
end_request: I/O error, dev sda, sector 625137161
So do we think it's a sata regression?
Quoted 27 lines
Quoted 7 lines
ata1: EH complete
sd 0:0:0:0: [sda] 625142448 512-byte hardware sectors (320073 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
md:super_writtengets error=-5, uptodate=0
raid5: Disk failure on sda2, disabling device. Operation continuing on 2 devices571a659,663
Quoted 5 lines
RAID5 conf printout:
--- rd:3 wd:2
disk 0, o:0, dev:sda2
disk 1, o:1, dev:sdb2
disk 2, o:1, dev:sdc2576a669,672
Quoted 4 lines
RAID5 conf printout:
--- rd:3 wd:2
disk 1, o:1, dev:sdb2
disk 2, o:1, dev:sdc2Another good boot also showed the aperture at a similar high address:
CPU 0: aperture @b7f2000000size 32 MB
And that good boot also showed the "correct" BogoMIPS:
Calibrating delay using timer specific routine.. 5205.43 BogoMIPS (lpj=26027183) Calibrating delay using timer specific routine.. 5200.01 BogoMIPS (lpj=26000052) Calibrating delay using timer specific routine.. 5200.01 BogoMIPS (lpj=26000082) Calibrating delay using timer specific routine.. 5200.03 BogoMIPS (lpj=26000166)
Quoted 2 lines
Anything more I can provide to help debugging this?
Let's keep linux-ide cc'ed, please.
Re: 2.6.23-rc4-mm1: git-block.patch broke pktcdvd
In reply to Andrew MortonQuoted 1 line · Andrew Morton
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc4/2.6.23-rc4-mm1/
[...]
Jens,
git-block.patch broke pktcdvd, I've got an Oops while syncing:
Quoted 28 lines
[ 713.014888] pktcdvd: Fixed packets, 16 blocks, Mode-1 disc [ 713.021844] pktcdvd: write speed 2770kB/s [ 718.401761] pktcdvd: 4595774kB available on disc [ 721.175644] UDF-fs INFO UDF 0.9.8.1 (2004/29/09) Mounting volume 'LinuxUDF', timestamp 2006/10/08 21:17 (1078) [ 721.213784] mount used greatest stack depth: 460 bytes left [ 752.634402] BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000 [ 752.635711] printing eip: c017b69e *pde = 00000000 [ 752.636983] Oops: 0002 [#1] PREEMPT [ 752.638240] last sysfs file: /devices/pci0000:00/0000:00:0d.0/modalias [ 752.639477] Modules linked in: udf binfmt_misc pktcdvd radeon drm lp nls_iso8859_1 nls_cp850 vfat fat reiser4 lzo_decompress lzo_compress eeprom w83781d hwmon_vid snd_ens1371 gameport snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm sg firewire_ohci firewire_core sr_mod cdrom crc_itu_t snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd 8250_pnp i2c_viapro via_agp floppy ohci1394 soundcore 8250 serial_core ata_generic uhci_hcd agpgart ne2k_pci 8390 ieee1394 snd_page_alloc rtc pcspkr via686a usbcore parport_pc parport evdev reiserfs sd_mod pata_via libata scsi_mod dm_mirror dm_mod [ 752.645759] [ 752.646990] Pid: 3403, comm: pktcdvd0 Not tainted (2.6.23-rc4-mm1 #50) [ 752.648256] EIP: 0060:[__bio_add_page+212/355] EFLAGS: 00010246 CPU: 0 [ 752.649515] EIP is at __bio_add_page+0xd4/0x163 [ 752.650750] EAX: 00000000 EBX: 00000000 ECX: c26ca400 EDX: 00000000 [ 752.651984] ESI: cba3cf48 EDI: c1174be0 EBP: cb01cef4 ESP: cb01cee4 [ 752.653219] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 [ 752.654446] Process pktcdvd0 (pid: 3403, ti=cb01c000 task=c1b9cdb0 task.ti=cb01c000) [ 752.654526] Stack: c26ca400 cba3cf48 c1174be0 00000001 cb01cf10 c017b763 00000800 00000800 [ 752.655908] 00000040 cba3cf48 cb06e120 cb01cfd0 e1d94044 00000800 00000004 cb09b8a0 [ 752.657297] c1853ce0 00000000 00000800 00000001 00000000 00000000 00000000 00000000 [ 752.658695] Call Trace: [ 752.661126] [show_trace_log_lvl+26/47] show_trace_log_lvl+0x1a/0x2f [ 752.662383] [show_stack_log_lvl+155/163] show_stack_log_lvl+0x9b/0xa3 [ 752.663626] [show_registers+160/482] show_registers+0xa0/0x1e2 [ 752.664868] [die+261/567] die+0x105/0x237 [ 752.666072] [do_page_fault+1127/1349] do_page_fault+0x467/0x545 [ 752.667274] [error_code+106/112] error_code+0x6a/0x70
Quoted 8 lines
[ 752.668477] [bio_add_page+54/61] bio_add_page+0x36/0x3d [ 752.669669] [<e1d94044>] kcdrwd+0x5a5/0x9ba [pktcdvd] [ 752.670856] [kthread+57/97] kthread+0x39/0x61 [ 752.672024] [kernel_thread_helper+7/16] kernel_thread_helper+0x7/0x10 [ 752.673197] ======================= [ 752.674336] Code: ba 01 00 00 00 8b 4d f0 8b 46 18 66 3b 81 50 01 00 00 73 da 66 8b 46 1a 66 3b 81 52 01 00 00 73 cd 0f b7 46 14 6b d8 0c 03 5e 2c <89> 3b 8b 45 08 89 43 04 8b 4d 0c 89 4b 08 8b 45 f0 8b 78 68 85 [ 752.677879] EIP: [__bio_add_page+212/355] __bio_add_page+0xd4/0x163 SS:ESP 0068:cb01cee4
2.6.23-rc4 and 2.6.23-rc3-mm1 work fine.
Steps to reproduce:
$ pktsetup /dev/pktcdvd/0 /dev/sr0 # put an UDF-formatted DVD-RW in the drive $ mount -o noatime,nodiratime,rw /dev/pktcdvd/0 /media/pkt $ sync
/dev/sr0 drive is a LG-branded DVD burner:
Vendor: HL-DT-ST Model: DVDRAM GSA-4165B Rev: DL03
.config is attached.
~~
laurent
#
# Automatically generated make config: don't edit # Linux kernel version: 2.6.23-rc4-mm1
# Sat Sep 1 23:24:40 2007
#CONFIG_X86_32=yCONFIG_GENERIC_TIME=yCONFIG_GENERIC_CMOS_UPDATE=y CONFIG_CLOCKSOURCE_WATCHDOG=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y CONFIG_LOCKDEP_SUPPORT=y CONFIG_STACKTRACE_SUPPORT=y CONFIG_SEMAPHORE_SLEEPERS=yCONFIG_X86=yCONFIG_MMU=yCONFIG_ZONE_DMA=yCONFIG_QUICKLIST=yCONFIG_GENERIC_ISA_DMA=yCONFIG_GENERIC_IOMAP=yCONFIG_GENERIC_BUG=yCONFIG_GENERIC_HWEIGHT=y CONFIG_ARCH_MAY_HAVE_PC_FDC=yCONFIG_DMI=y CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
#
# General setup
#CONFIG_EXPERIMENTAL=yCONFIG_BROKEN_ON_SMP=yCONFIG_LOCK_KERNEL=yCONFIG_INIT_ENV_ARG_LIMIT=32CONFIG_LOCALVERSION=""CONFIG_LOCALVERSION_AUTO=yCONFIG_SWAP=yCONFIG_SYSVIPC=yCONFIG_SYSVIPC_SYSCTL=yCONFIG_POSIX_MQUEUE=y
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_TASKSTATS is not set
# CONFIG_USER_NS is not set
# CONFIG_AUDIT is not set
# CONFIG_IKCONFIG is not setCONFIG_LOG_BUF_SHIFT=15
# CONFIG_CONTAINERS is not setCONFIG_SYSFS_DEPRECATED=y
# CONFIG_RELAY is not setCONFIG_BLK_DEV_INITRD=yCONFIG_INITRAMFS_SOURCE=""CONFIG_CC_OPTIMIZE_FOR_SIZE=yCONFIG_SYSCTL=yCONFIG_EMBEDDED=yCONFIG_UID16=yCONFIG_SYSCTL_SYSCALL=yCONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_ALL is not set
# CONFIG_KALLSYMS_EXTRA_PASS is not setCONFIG_HOTPLUG=yCONFIG_PRINTK=yCONFIG_BUG=yCONFIG_ELF_CORE=yCONFIG_BASE_FULL=yCONFIG_FUTEX=yCONFIG_ANON_INODES=yCONFIG_EPOLL=yCONFIG_SIGNALFD=yCONFIG_TIMERFD=yCONFIG_EVENTFD=yCONFIG_SHMEM=yCONFIG_VM_EVENT_COUNTERS=yCONFIG_SLAB=y
# CONFIG_SLUB is not set
# CONFIG_SLOB is not setCONFIG_PROC_PAGE_MONITOR=yCONFIG_PROC_KPAGEMAP=yCONFIG_RT_MUTEXES=y
# CONFIG_TINY_SHMEM is not setCONFIG_BASE_SMALL=0CONFIG_MODULES=yCONFIG_MODULE_UNLOAD=yCONFIG_MODULE_FORCE_UNLOAD=y
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not setCONFIG_KMOD=yCONFIG_BLOCK=y
# CONFIG_LBD is not set
# CONFIG_BLK_DEV_IO_TRACE is not set
# CONFIG_LSF is not set
# CONFIG_BLK_DEV_BSG is not set
#
# IO Schedulers
#CONFIG_IOSCHED_NOOP=yCONFIG_IOSCHED_AS=yCONFIG_IOSCHED_DEADLINE=yCONFIG_IOSCHED_CFQ=y
# CONFIG_DEFAULT_AS is not set
# CONFIG_DEFAULT_DEADLINE is not setCONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_NOOP is not setCONFIG_DEFAULT_IOSCHED="cfq"
#
# Processor type and features
#CONFIG_TICK_ONESHOT=yCONFIG_NO_HZ=y
# CONFIG_HIGH_RES_TIMERS is not setCONFIG_GENERIC_CLOCKEVENTS_BUILD=y
# CONFIG_SMP is not setCONFIG_X86_PC=y
# CONFIG_X86_ELAN is not set
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_X86_ES7000 is not set
# CONFIG_PARAVIRT is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUMM is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MCORE2 is not set
# CONFIG_MK6 is not setCONFIG_MK7=y
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MGEODE_LX is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_MVIAC7 is not set
# CONFIG_X86_GENERIC is not setCONFIG_X86_CMPXCHG=yCONFIG_X86_L1_CACHE_SHIFT=6CONFIG_X86_XADD=yCONFIG_RWSEM_XCHGADD_ALGORITHM=y
# CONFIG_ARCH_HAS_ILOG2_U32 is not set
# CONFIG_ARCH_HAS_ILOG2_U64 is not setCONFIG_GENERIC_CALIBRATE_DELAY=yCONFIG_X86_WP_WORKS_OK=yCONFIG_X86_INVLPG=yCONFIG_X86_BSWAP=yCONFIG_X86_POPAD_OK=yCONFIG_X86_GOOD_APIC=yCONFIG_X86_INTEL_USERCOPY=yCONFIG_X86_USE_PPRO_CHECKSUM=yCONFIG_X86_USE_3DNOW=yCONFIG_X86_TSC=yCONFIG_X86_CMOV=yCONFIG_X86_MINIMUM_CPU_FAMILY=4CONFIG_HPET_TIMER=y
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not setCONFIG_PREEMPT=yCONFIG_PREEMPT_BKL=yCONFIG_X86_UP_APIC=yCONFIG_X86_UP_IOAPIC=yCONFIG_X86_LOCAL_APIC=yCONFIG_X86_IO_APIC=yCONFIG_X86_MCE=yCONFIG_X86_MCE_NONFATAL=mCONFIG_X86_MCE_P4THERMAL=yCONFIG_VM86=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not setCONFIG_X86_REBOOTFIXUPS=y
# CONFIG_MICROCODE is not setCONFIG_X86_MSR=m
# CONFIG_X86_CPUID is not set
#
# Firmware Drivers
#CONFIG_EDD=y
# CONFIG_DELL_RBU is not set
# CONFIG_DCDBAS is not setCONFIG_DMIID=yCONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not setCONFIG_VMSPLIT_3G=y
# CONFIG_VMSPLIT_3G_OPT is not set
# CONFIG_VMSPLIT_2G is not set
# CONFIG_VMSPLIT_2G_OPT is not set
# CONFIG_VMSPLIT_1G is not setCONFIG_PAGE_OFFSET=0xC0000000
# CONFIG_X86_PAE is not setCONFIG_ARCH_FLATMEM_ENABLE=yCONFIG_ARCH_SPARSEMEM_ENABLE=yCONFIG_ARCH_SELECT_MEMORY_MODEL=yCONFIG_ARCH_POPULATES_NODE_MAP=yCONFIG_SELECT_MEMORY_MODEL=yCONFIG_FLATMEM_MANUAL=y
# CONFIG_DISCONTIGMEM_MANUAL is not set
# CONFIG_SPARSEMEM_MANUAL is not setCONFIG_FLATMEM=yCONFIG_FLAT_NODE_MEM_MAP=yCONFIG_SPARSEMEM_STATIC=y
# CONFIG_SPARSEMEM_VMEMMAP_ENABLE is not setCONFIG_SPLIT_PTLOCK_CPUS=4
# CONFIG_RESOURCES_64BIT is not setCONFIG_ZONE_DMA_FLAG=1CONFIG_BOUNCE=yCONFIG_NR_QUICK=1CONFIG_VIRT_TO_BUS=y
# CONFIG_MATH_EMULATION is not setCONFIG_MTRR=y
# CONFIG_EFI is not setCONFIG_SECCOMP=y
# CONFIG_HZ_100 is not setCONFIG_HZ_250=y
# CONFIG_HZ_300 is not set
# CONFIG_HZ_1000 is not setCONFIG_HZ=250CONFIG_KEXEC=yCONFIG_PHYSICAL_START=0x100000
# CONFIG_RELOCATABLE is not setCONFIG_PHYSICAL_ALIGN=0x100000
# CONFIG_COMPAT_VDSO is not set
#
# Power management options (ACPI, APM)
#CONFIG_PM=y
# CONFIG_PM_LEGACY is not set
# CONFIG_PM_DEBUG is not setCONFIG_PM_SLEEP=yCONFIG_SUSPEND_UP_POSSIBLE=yCONFIG_SUSPEND=yCONFIG_HIBERNATION_UP_POSSIBLE=yCONFIG_HIBERNATION=yCONFIG_PM_STD_PARTITION="/dev/hdb6"CONFIG_ACPI=yCONFIG_ACPI_SLEEP=y
# CONFIG_ACPI_PROCFS is not setCONFIG_ACPI_PROC_EVENT=y
# CONFIG_ACPI_AC is not set
# CONFIG_ACPI_BATTERY is not setCONFIG_ACPI_BUTTON=yCONFIG_ACPI_FAN=y
# CONFIG_ACPI_DOCK is not setCONFIG_ACPI_PROCESSOR=yCONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not setCONFIG_ACPI_BLACKLIST_YEAR=0CONFIG_ACPI_DEBUG=y
# CONFIG_ACPI_DEBUG_FUNC_TRACE is not setCONFIG_ACPI_EC=yCONFIG_ACPI_POWER=yCONFIG_ACPI_SYSTEM=yCONFIG_X86_PM_TIMER=y
# CONFIG_ACPI_CONTAINER is not set
# CONFIG_ACPI_SBS is not set
# CONFIG_APM is not set
#
# CPU Frequency scaling
#
# CONFIG_CPU_FREQ is not set
#
# CPU idle PM support
#CONFIG_CPU_IDLE=y
#
# Governors
#CONFIG_CPU_IDLE_GOV_LADDER=mCONFIG_CPU_IDLE_GOV_MENU=m
#
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
#CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GOMMCONFIG is not set
# CONFIG_PCI_GODIRECT is not setCONFIG_PCI_GOANY=yCONFIG_PCI_BIOS=yCONFIG_PCI_DIRECT=yCONFIG_PCI_MMCONFIG=y
# CONFIG_PCIEPORTBUS is not setCONFIG_ARCH_SUPPORTS_MSI=y
# CONFIG_PCI_MSI is not set
# CONFIG_PCI_DEBUG is not setCONFIG_HT_IRQ=yCONFIG_ISA_DMA_API=yCONFIG_ISA=y
# CONFIG_EISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set
# CONFIG_PCCARD is not set
# CONFIG_HOTPLUG_PCI is not set
#
# Executable file formats
#CONFIG_BINFMT_ELF=yCONFIG_BINFMT_AOUT=mCONFIG_BINFMT_MISC=m
#
# Networking
#CONFIG_NET=y
#
# Networking options
#CONFIG_PACKET=m
# CONFIG_PACKET_MMAP is not setCONFIG_UNIX=yCONFIG_XFRM=yCONFIG_XFRM_USER=m
# CONFIG_XFRM_SUB_POLICY is not set
# CONFIG_XFRM_MIGRATE is not set
# CONFIG_NET_KEY is not setCONFIG_INET=yCONFIG_IP_MULTICAST=yCONFIG_IP_ADVANCED_ROUTER=yCONFIG_ASK_IP_FIB_HASH=y
# CONFIG_IP_FIB_TRIE is not setCONFIG_IP_FIB_HASH=y
# CONFIG_IP_MULTIPLE_TABLES is not set
# CONFIG_IP_ROUTE_MULTIPATH is not setCONFIG_IP_ROUTE_VERBOSE=y
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not setCONFIG_SYN_COOKIES=yCONFIG_INET_AH=mCONFIG_INET_ESP=mCONFIG_INET_IPCOMP=mCONFIG_INET_XFRM_TUNNEL=mCONFIG_INET_TUNNEL=m
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
# CONFIG_INET_XFRM_MODE_TUNNEL is not setCONFIG_INET_XFRM_MODE_BEET=y
# CONFIG_INET_LRO is not setCONFIG_INET_DIAG=mCONFIG_INET_TCP_DIAG=m
# CONFIG_TCP_CONG_ADVANCED is not setCONFIG_TCP_CONG_CUBIC=yCONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_MD5SIG is not set
# CONFIG_IP_VS is not set
# CONFIG_IPV6 is not set
# CONFIG_INET6_XFRM_TUNNEL is not set
# CONFIG_INET6_TUNNEL is not set
# CONFIG_NETWORK_SECMARK is not setCONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
#
# Core Netfilter Configuration
#CONFIG_NETFILTER_NETLINK=mCONFIG_NETFILTER_NETLINK_QUEUE=mCONFIG_NETFILTER_NETLINK_LOG=m
# CONFIG_NF_CONNTRACK_ENABLED is not set
# CONFIG_NF_CONNTRACK is not setCONFIG_NETFILTER_XTABLES=mCONFIG_NETFILTER_XT_TARGET_CLASSIFY=m
# CONFIG_NETFILTER_XT_TARGET_DSCP is not setCONFIG_NETFILTER_XT_TARGET_MARK=mCONFIG_NETFILTER_XT_TARGET_NFQUEUE=m
# CONFIG_NETFILTER_XT_TARGET_NFLOG is not set
# CONFIG_NETFILTER_XT_TARGET_TCPMSS is not setCONFIG_NETFILTER_XT_MATCH_COMMENT=m
# CONFIG_NETFILTER_XT_MATCH_DCCP is not set
# CONFIG_NETFILTER_XT_MATCH_DSCP is not set
# CONFIG_NETFILTER_XT_MATCH_ESP is not set
# CONFIG_NETFILTER_XT_MATCH_LENGTH is not setCONFIG_NETFILTER_XT_MATCH_LIMIT=mCONFIG_NETFILTER_XT_MATCH_MAC=mCONFIG_NETFILTER_XT_MATCH_MARK=mCONFIG_NETFILTER_XT_MATCH_POLICY=m
# CONFIG_NETFILTER_XT_MATCH_MULTIPORT is not set
# CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set
# CONFIG_NETFILTER_XT_MATCH_QUOTA is not set
# CONFIG_NETFILTER_XT_MATCH_REALM is not setCONFIG_NETFILTER_XT_MATCH_SCTP=m
# CONFIG_NETFILTER_XT_MATCH_STATISTIC is not setCONFIG_NETFILTER_XT_MATCH_STRING=mCONFIG_NETFILTER_XT_MATCH_TCPMSS=m
# CONFIG_NETFILTER_XT_MATCH_U32 is not set
# CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set
#
# IP: Netfilter Configuration
#CONFIG_IP_NF_QUEUE=mCONFIG_IP_NF_IPTABLES=mCONFIG_IP_NF_MATCH_IPRANGE=mCONFIG_IP_NF_MATCH_TOS=mCONFIG_IP_NF_MATCH_RECENT=m
# CONFIG_IP_NF_MATCH_ECN is not set
# CONFIG_IP_NF_MATCH_AH is not set
# CONFIG_IP_NF_MATCH_TTL is not setCONFIG_IP_NF_MATCH_OWNER=mCONFIG_IP_NF_MATCH_ADDRTYPE=mCONFIG_IP_NF_FILTER=mCONFIG_IP_NF_TARGET_REJECT=mCONFIG_IP_NF_TARGET_LOG=mCONFIG_IP_NF_TARGET_ULOG=mCONFIG_IP_NF_MANGLE=mCONFIG_IP_NF_TARGET_TOS=mCONFIG_IP_NF_TARGET_ECN=mCONFIG_IP_NF_TARGET_TTL=m
# CONFIG_IP_NF_RAW is not setCONFIG_IP_NF_ARPTABLES=mCONFIG_IP_NF_ARPFILTER=m
# CONFIG_IP_NF_ARP_MANGLE is not set
# CONFIG_IP_DCCP is not set
# CONFIG_IP_SCTP is not set
# CONFIG_TIPC is not setCONFIG_ATM=mCONFIG_ATM_CLIP=m
# CONFIG_ATM_CLIP_NO_ICMP is not set
# CONFIG_ATM_LANE is not setCONFIG_ATM_BR2684=m
# CONFIG_ATM_BR2684_IPFILTER is not set
# CONFIG_BRIDGE is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
#
# QoS and/or fair queueing
#CONFIG_NET_SCHED=yCONFIG_NET_SCH_FIFO=y
#
# Queueing/Scheduling
#CONFIG_NET_SCH_CBQ=mCONFIG_NET_SCH_HTB=mCONFIG_NET_SCH_HFSC=m
# CONFIG_NET_SCH_ATM is not setCONFIG_NET_SCH_PRIO=m
# CONFIG_NET_SCH_RR is not setCONFIG_NET_SCH_RED=mCONFIG_NET_SCH_SFQ=mCONFIG_NET_SCH_TEQL=mCONFIG_NET_SCH_TBF=mCONFIG_NET_SCH_GRED=mCONFIG_NET_SCH_DSMARK=m
# CONFIG_NET_SCH_NETEM is not setCONFIG_NET_SCH_INGRESS=m
#
# Classification
#CONFIG_NET_CLS=yCONFIG_NET_CLS_BASIC=mCONFIG_NET_CLS_TCINDEX=mCONFIG_NET_CLS_ROUTE4=mCONFIG_NET_CLS_ROUTE=yCONFIG_NET_CLS_FW=mCONFIG_NET_CLS_U32=mCONFIG_CLS_U32_PERF=yCONFIG_CLS_U32_MARK=yCONFIG_NET_CLS_RSVP=m
# CONFIG_NET_CLS_RSVP6 is not set
# CONFIG_NET_EMATCH is not setCONFIG_NET_CLS_ACT=yCONFIG_NET_ACT_POLICE=y
# CONFIG_NET_ACT_GACT is not set
# CONFIG_NET_ACT_MIRRED is not set
# CONFIG_NET_ACT_IPT is not set
# CONFIG_NET_ACT_PEDIT is not set
# CONFIG_NET_ACT_SIMP is not setCONFIG_NET_CLS_POLICE=y
# CONFIG_NET_CLS_IND is not set
#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_HAMRADIO is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
# CONFIG_AF_RXRPC is not set
#
# Wireless
#CONFIG_CFG80211=mCONFIG_NL80211=yCONFIG_WIRELESS_EXT=yCONFIG_MAC80211=m
# CONFIG_MAC80211_DEBUGFS is not set
# CONFIG_MAC80211_DEBUG is not setCONFIG_IEEE80211=m
# CONFIG_IEEE80211_DEBUG is not setCONFIG_IEEE80211_CRYPT_WEP=mCONFIG_IEEE80211_CRYPT_CCMP=mCONFIG_IEEE80211_CRYPT_TKIP=mCONFIG_IEEE80211_SOFTMAC=m
# CONFIG_IEEE80211_SOFTMAC_DEBUG is not set
# CONFIG_RFKILL is not set
#
# Device Drivers
#
#
# Generic Driver Options
#CONFIG_STANDALONE=yCONFIG_PREVENT_FIRMWARE_BUILD=yCONFIG_FW_LOADER=m
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_SYS_HYPERVISOR is not set
# CONFIG_CONNECTOR is not set
# CONFIG_MTD is not setCONFIG_PARPORT=mCONFIG_PARPORT_PC=m
# CONFIG_PARPORT_PC_FIFO is not set
# CONFIG_PARPORT_PC_SUPERIO is not set
# CONFIG_PARPORT_GSC is not set
# CONFIG_PARPORT_AX88796 is not setCONFIG_PARPORT_1284=yCONFIG_PNP=y
# CONFIG_PNP_DEBUG is not set
#
# Protocols
#
# CONFIG_ISAPNP is not set
# CONFIG_PNPBIOS is not setCONFIG_PNPACPI=yCONFIG_BLK_DEV=yCONFIG_BLK_DEV_FD=m
# CONFIG_BLK_DEV_XD is not set
# CONFIG_PARIDE is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
# CONFIG_BLK_DEV_COW_COMMON is not setCONFIG_BLK_DEV_LOOP=mCONFIG_BLK_DEV_CRYPTOLOOP=m
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_SX8 is not set
# CONFIG_BLK_DEV_UB is not setCONFIG_BLK_DEV_RAM=yCONFIG_BLK_DEV_RAM_COUNT=16CONFIG_BLK_DEV_RAM_SIZE=4096CONFIG_BLK_DEV_RAM_BLOCKSIZE=1024CONFIG_CDROM_PKTCDVD=mCONFIG_CDROM_PKTCDVD_BUFFERS=8
# CONFIG_CDROM_PKTCDVD_WCACHE is not set
# CONFIG_ATA_OVER_ETH is not set
# CONFIG_MISC_DEVICES is not set
# CONFIG_IDE is not set
#
# SCSI device support
#
# CONFIG_RAID_ATTRS is not setCONFIG_SCSI=mCONFIG_SCSI_DMA=y
# CONFIG_SCSI_TGT is not setCONFIG_SCSI_NETLINK=yCONFIG_SCSI_PROC_FS=y
#
# SCSI support type (disk, tape, CD-ROM)
#CONFIG_BLK_DEV_SD=mCONFIG_CHR_DEV_ST=m
# CONFIG_CHR_DEV_OSST is not setCONFIG_BLK_DEV_SR=mCONFIG_BLK_DEV_SR_VENDOR=yCONFIG_CHR_DEV_SG=m
# CONFIG_CHR_DEV_SCH is not set
#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs #CONFIG_SCSI_MULTI_LUN=yCONFIG_SCSI_CONSTANTS=y
# CONFIG_SCSI_LOGGING is not set
# CONFIG_SCSI_SCAN_ASYNC is not set CONFIG_SCSI_WAIT_SCAN=m
#
# SCSI Transports
#CONFIG_SCSI_SPI_ATTRS=mCONFIG_SCSI_FC_ATTRS=m
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_LIBSAS is not set
# CONFIG_SCSI_SRP_ATTRS is not set
# CONFIG_SCSI_LOWLEVEL is not setCONFIG_ATA=m
# CONFIG_ATA_NONSTANDARD is not setCONFIG_ATA_ACPI=y
# CONFIG_SATA_AHCI is not set
# CONFIG_SATA_SVW is not set
# CONFIG_ATA_PIIX is not set
# CONFIG_SATA_MV is not set
# CONFIG_SATA_NV is not set
# CONFIG_PDC_ADMA is not set
# CONFIG_SATA_QSTOR is not set
# CONFIG_SATA_PROMISE is not set
# CONFIG_SATA_SX4 is not set
# CONFIG_SATA_SIL is not set
# CONFIG_SATA_SIL24 is not set
# CONFIG_SATA_SIS is not set
# CONFIG_SATA_ULI is not set
# CONFIG_SATA_VIA is not set
# CONFIG_SATA_VITESSE is not set
# CONFIG_SATA_INIC162X is not set
# CONFIG_PATA_ALI is not set
# CONFIG_PATA_AMD is not set
# CONFIG_PATA_ARTOP is not set
# CONFIG_PATA_ATIIXP is not set
# CONFIG_PATA_CMD640_PCI is not set
# CONFIG_PATA_CMD64X is not set
# CONFIG_PATA_CS5520 is not set
# CONFIG_PATA_CS5530 is not set
# CONFIG_PATA_CS5535 is not set
# CONFIG_PATA_CYPRESS is not set
# CONFIG_PATA_EFAR is not setCONFIG_ATA_GENERIC=m
# CONFIG_PATA_HPT366 is not set
# CONFIG_PATA_HPT37X is not set
# CONFIG_PATA_HPT3X2N is not set
# CONFIG_PATA_HPT3X3 is not set
# CONFIG_PATA_IT821X is not set
# CONFIG_PATA_IT8213 is not set
# CONFIG_PATA_JMICRON is not set
# CONFIG_PATA_LEGACY is not set
# CONFIG_PATA_TRIFLEX is not set
# CONFIG_PATA_MARVELL is not set
# CONFIG_PATA_MPIIX is not set
# CONFIG_PATA_OLDPIIX is not set
# CONFIG_PATA_NETCELL is not set
# CONFIG_PATA_NS87410 is not set
# CONFIG_PATA_OPTI is not set
# CONFIG_PATA_OPTIDMA is not set
# CONFIG_PATA_PDC_OLD is not set
# CONFIG_PATA_QDI is not set
# CONFIG_PATA_RADISYS is not set
# CONFIG_PATA_RZ1000 is not set
# CONFIG_PATA_SC1200 is not set
# CONFIG_PATA_SERVERWORKS is not set
# CONFIG_PATA_PDC2027X is not set
# CONFIG_PATA_SIL680 is not set
# CONFIG_PATA_SIS is not setCONFIG_PATA_VIA=m
# CONFIG_PATA_WINBOND is not set
# CONFIG_PATA_WINBOND_VLB is not setCONFIG_PATA_PLATFORM=mCONFIG_MD=yCONFIG_BLK_DEV_MD=mCONFIG_MD_LINEAR=mCONFIG_MD_RAID0=mCONFIG_MD_RAID1=mCONFIG_MD_RAID10=mCONFIG_MD_RAID456=mCONFIG_MD_RAID5_RESHAPE=y
# CONFIG_MD_MULTIPATH is not set
# CONFIG_MD_FAULTY is not setCONFIG_BLK_DEV_DM=m
# CONFIG_DM_DEBUG is not setCONFIG_DM_CRYPT=mCONFIG_DM_SNAPSHOT=mCONFIG_DM_MIRROR=m
# CONFIG_DM_ZERO is not set
# CONFIG_DM_MULTIPATH is not set
# CONFIG_DM_DELAY is not set
# CONFIG_FUSION is not set
#
# IEEE 1394 (FireWire) support
#CONFIG_FIREWIRE=mCONFIG_FIREWIRE_OHCI=m
# CONFIG_FIREWIRE_SBP2 is not setCONFIG_IEEE1394=m
#
# Subsystem Options
#
# CONFIG_IEEE1394_VERBOSEDEBUG is not set
#
# Controllers
#
# CONFIG_IEEE1394_PCILYNX is not setCONFIG_IEEE1394_OHCI1394=m
#
# Protocols
#CONFIG_IEEE1394_VIDEO1394=m
# CONFIG_IEEE1394_SBP2 is not set
# CONFIG_IEEE1394_ETH1394_ROM_ENTRY is not set
# CONFIG_IEEE1394_ETH1394 is not setCONFIG_IEEE1394_DV1394=mCONFIG_IEEE1394_RAWIO=m
# CONFIG_I2O is not set
# CONFIG_MACINTOSH_DRIVERS is not setCONFIG_NETDEVICES=y
# CONFIG_NETDEVICES_MULTIQUEUE is not set
# CONFIG_IFB is not setCONFIG_DUMMY=mCONFIG_BONDING=m
# CONFIG_MACVLAN is not set
# CONFIG_EQUALIZER is not setCONFIG_TUN=m
# CONFIG_VETH is not set
# CONFIG_NET_SB1000 is not set
# CONFIG_ARCNET is not set
# CONFIG_PHYLIB is not setCONFIG_NET_ETHERNET=yCONFIG_MII=m
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
# CONFIG_CASSINI is not set
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set
# CONFIG_NET_TULIP is not set
# CONFIG_AT1700 is not set
# CONFIG_DEPCA is not set
# CONFIG_HP100 is not set
# CONFIG_NET_ISA is not setCONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_AMD8111_ETH is not set
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_AC3200 is not set
# CONFIG_APRICOT is not set
# CONFIG_B44 is not set
# CONFIG_FORCEDETH is not set
# CONFIG_CS89x0 is not set
# CONFIG_DGRS is not set
# CONFIG_EEPRO100 is not set
# CONFIG_E100 is not set
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not setCONFIG_NE2K_PCI=m
# CONFIG_8139CP is not set
# CONFIG_8139TOO is not set
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_TLAN is not set
# CONFIG_VIA_RHINE is not set
# CONFIG_SC92031 is not set
# CONFIG_NET_POCKET is not set
# CONFIG_NETDEV_1000 is not set
# CONFIG_NETDEV_10000 is not set
# CONFIG_TR is not set
#
# Wireless LAN
#
# CONFIG_WLAN_PRE80211 is not setCONFIG_WLAN_80211=y
# CONFIG_IPW2100 is not set
# CONFIG_IPW2200 is not set
# CONFIG_LIBERTAS is not set
# CONFIG_AIRO is not set
# CONFIG_HERMES is not set
# CONFIG_USB_ATMEL is not set
# CONFIG_ATMEL is not set
# CONFIG_PRISM54 is not set
# CONFIG_USB_ZD1201 is not set
# CONFIG_RTL8187 is not set
# CONFIG_ADM8211 is not set
# CONFIG_ATH5K is not set
# CONFIG_P54_COMMON is not set
# CONFIG_IWLWIFI is not set
# CONFIG_HOSTAP is not set
# CONFIG_BCM43XX is not set
# CONFIG_B43 is not set
# CONFIG_B43LEGACY is not setCONFIG_ZD1211RW=m
# CONFIG_ZD1211RW_DEBUG is not set
# CONFIG_RT2X00 is not set
# CONFIG_ZD1211RW_MAC80211 is not set
#
# USB Network Adapters
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET_MII is not set
# CONFIG_USB_USBNET is not set
# CONFIG_WAN is not set
# CONFIG_ATM_DRIVERS is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PLIP is not setCONFIG_PPP=m
# CONFIG_PPP_MULTILINK is not setCONFIG_PPP_FILTER=yCONFIG_PPP_ASYNC=mCONFIG_PPP_SYNC_TTY=mCONFIG_PPP_DEFLATE=mCONFIG_PPP_BSDCOMP=m
# CONFIG_PPP_MPPE is not setCONFIG_PPPOE=mCONFIG_PPPOATM=m
# CONFIG_PPPOL2TP is not set
# CONFIG_SLIP is not setCONFIG_SLHC=m
# CONFIG_NET_FC is not set
# CONFIG_SHAPER is not set
# CONFIG_NETCONSOLE is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set
# CONFIG_ISDN is not set
# CONFIG_PHONE is not set
#
# Input device support
#CONFIG_INPUT=y
# CONFIG_INPUT_FF_MEMLESS is not set
# CONFIG_INPUT_POLLDEV is not set
#
# Userland interfaces
#CONFIG_INPUT_MOUSEDEV=yCONFIG_INPUT_MOUSEDEV_PSAUX=yCONFIG_INPUT_MOUSEDEV_SCREEN_X=1024CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768CONFIG_INPUT_JOYDEV=m
# CONFIG_INPUT_TSDEV is not setCONFIG_INPUT_EVDEV=m
# CONFIG_INPUT_EVBUG is not set
#
# Input Device Drivers
#CONFIG_INPUT_KEYBOARD=yCONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_STOWAWAY is not setCONFIG_INPUT_MOUSE=yCONFIG_MOUSE_PS2=y
# CONFIG_MOUSE_PS2_ALPS is not set
# CONFIG_MOUSE_PS2_LOGIPS2PP is not set
# CONFIG_MOUSE_PS2_SYNAPTICS is not set
# CONFIG_MOUSE_PS2_LIFEBOOK is not set
# CONFIG_MOUSE_PS2_TRACKPOINT is not set
# CONFIG_MOUSE_PS2_TOUCHKIT is not set
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_APPLETOUCH is not set
# CONFIG_MOUSE_INPORT is not set
# CONFIG_MOUSE_LOGIBM is not set
# CONFIG_MOUSE_PC110PAD is not set
# CONFIG_MOUSE_VSXXXAA is not setCONFIG_INPUT_JOYSTICK=yCONFIG_JOYSTICK_ANALOG=m
# CONFIG_JOYSTICK_A3D is not set
# CONFIG_JOYSTICK_ADI is not set
# CONFIG_JOYSTICK_COBRA is not set
# CONFIG_JOYSTICK_GF2K is not set
# CONFIG_JOYSTICK_GRIP is not set
# CONFIG_JOYSTICK_GRIP_MP is not set
# CONFIG_JOYSTICK_GUILLEMOT is not set
# CONFIG_JOYSTICK_INTERACT is not set
# CONFIG_JOYSTICK_SIDEWINDER is not set
# CONFIG_JOYSTICK_TMDC is not set
# CONFIG_JOYSTICK_IFORCE is not set
# CONFIG_JOYSTICK_WARRIOR is not set
# CONFIG_JOYSTICK_MAGELLAN is not set
# CONFIG_JOYSTICK_SPACEORB is not set
# CONFIG_JOYSTICK_SPACEBALL is not set
# CONFIG_JOYSTICK_STINGER is not set
# CONFIG_JOYSTICK_TWIDJOY is not set
# CONFIG_JOYSTICK_DB9 is not set
# CONFIG_JOYSTICK_GAMECON is not set
# CONFIG_JOYSTICK_TURBOGRAFX is not set
# CONFIG_JOYSTICK_JOYDUMP is not set
# CONFIG_JOYSTICK_XPAD is not set
# CONFIG_INPUT_TABLET is not set
# CONFIG_INPUT_TOUCHSCREEN is not setCONFIG_INPUT_MISC=yCONFIG_INPUT_PCSPKR=m
# CONFIG_INPUT_WISTRON_BTNS is not set
# CONFIG_INPUT_ATLAS_BTNS is not set
# CONFIG_INPUT_ATI_REMOTE is not set
# CONFIG_INPUT_ATI_REMOTE2 is not set
# CONFIG_INPUT_KEYSPAN_REMOTE is not set
# CONFIG_INPUT_POWERMATE is not set
# CONFIG_INPUT_YEALINK is not setCONFIG_INPUT_UINPUT=m
#
# Hardware I/O ports
#CONFIG_SERIO=yCONFIG_SERIO_I8042=y
# CONFIG_SERIO_SERPORT is not set
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not set
# CONFIG_SERIO_PCIPS2 is not setCONFIG_SERIO_LIBPS2=y
# CONFIG_SERIO_RAW is not setCONFIG_GAMEPORT=m
# CONFIG_GAMEPORT_NS558 is not set
# CONFIG_GAMEPORT_L4 is not set
# CONFIG_GAMEPORT_EMU10K1 is not set
# CONFIG_GAMEPORT_FM801 is not set
#
# Character devices
#CONFIG_VT=yCONFIG_VT_CONSOLE=yCONFIG_HW_CONSOLE=yCONFIG_VT_HW_CONSOLE_BINDING=y
# CONFIG_SERIAL_NONSTANDARD is not set
# CONFIG_NOZOMI is not set
#
# Serial drivers
#CONFIG_SERIAL_8250=mCONFIG_FIX_EARLYCON_MEM=y
# CONFIG_SERIAL_8250_PCI is not setCONFIG_SERIAL_8250_PNP=mCONFIG_SERIAL_8250_NR_UARTS=4CONFIG_SERIAL_8250_RUNTIME_UARTS=4
# CONFIG_SERIAL_8250_EXTENDED is not set
#
# Non-8250 serial port support
#CONFIG_SERIAL_CORE=m
# CONFIG_SERIAL_JSM is not setCONFIG_UNIX98_PTYS=y
# CONFIG_LEGACY_PTYS is not setCONFIG_PRINTER=m
# CONFIG_LP_CONSOLE is not set
# CONFIG_PPDEV is not set
# CONFIG_TIPAR is not set
# CONFIG_IPMI_HANDLER is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_NVRAM is not setCONFIG_RTC=m
# CONFIG_GEN_RTC is not set
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_SONYPI is not setCONFIG_AGP=m
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_ATI is not set
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_AMD64 is not set
# CONFIG_AGP_INTEL is not set
# CONFIG_AGP_NVIDIA is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_SWORKS is not setCONFIG_AGP_VIA=m
# CONFIG_AGP_EFFICEON is not setCONFIG_DRM=m
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_R128 is not setCONFIG_DRM_RADEON=m
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set
# CONFIG_DRM_VIA is not set
# CONFIG_DRM_SAVAGE is not set
# CONFIG_MWAVE is not set
# CONFIG_PC8736x_GPIO is not set
# CONFIG_NSC_GPIO is not set
# CONFIG_CS5535_GPIO is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_HPET is not set
# CONFIG_HANGCHECK_TIMER is not set
# CONFIG_TCG_TPM is not set
# CONFIG_TELCLOCK is not setCONFIG_DEVPORT=yCONFIG_I2C=yCONFIG_I2C_BOARDINFO=yCONFIG_I2C_CHARDEV=m
#
# I2C Algorithms
#CONFIG_I2C_ALGOBIT=yCONFIG_I2C_ALGOPCF=mCONFIG_I2C_ALGOPCA=m
#
# I2C Hardware Bus support
#
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI1563 is not set
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
# CONFIG_I2C_ELEKTOR is not set
# CONFIG_I2C_I801 is not set
# CONFIG_I2C_I810 is not set
# CONFIG_I2C_PIIX4 is not set
# CONFIG_I2C_NFORCE2 is not set
# CONFIG_I2C_OCORES is not set
# CONFIG_I2C_PARPORT is not set
# CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_PROSAVAGE is not set
# CONFIG_I2C_SAVAGE4 is not set
# CONFIG_I2C_SIMTEC is not set
# CONFIG_SCx200_ACB is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
# CONFIG_I2C_TAOS_EVM is not set
# CONFIG_I2C_STUB is not set
# CONFIG_I2C_TINY_USB is not setCONFIG_I2C_VIA=mCONFIG_I2C_VIAPRO=m
# CONFIG_I2C_VOODOO3 is not set
# CONFIG_I2C_PCA_ISA is not set
#
# Miscellaneous I2C Chip support
#
# CONFIG_SENSORS_DS1337 is not set
# CONFIG_SENSORS_DS1374 is not set
# CONFIG_DS1682 is not setCONFIG_SENSORS_EEPROM=m
# CONFIG_SENSORS_PCF8574 is not set
# CONFIG_SENSORS_PCA9539 is not set
# CONFIG_SENSORS_PCF8591 is not set
# CONFIG_SENSORS_MAX6875 is not set
# CONFIG_SENSORS_TSL2550 is not set
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
# CONFIG_I2C_DEBUG_CHIP is not set
#
# SPI support
#
# CONFIG_SPI is not set
# CONFIG_SPI_MASTER is not set
# CONFIG_W1 is not set
# CONFIG_POWER_SUPPLY is not setCONFIG_HWMON=yCONFIG_HWMON_VID=m
# CONFIG_SENSORS_ABITUGURU is not set
# CONFIG_SENSORS_ABITUGURU3 is not set
# CONFIG_SENSORS_AD7418 is not set
# CONFIG_SENSORS_ADM1021 is not set
# CONFIG_SENSORS_ADM1025 is not set
# CONFIG_SENSORS_ADM1026 is not set
# CONFIG_SENSORS_ADM1029 is not set
# CONFIG_SENSORS_ADM1031 is not set
# CONFIG_SENSORS_ADM9240 is not set
# CONFIG_SENSORS_ADT7470 is not set
# CONFIG_SENSORS_K8TEMP is not set
# CONFIG_SENSORS_ASB100 is not set
# CONFIG_SENSORS_ATXP1 is not set
# CONFIG_SENSORS_DS1621 is not set
# CONFIG_SENSORS_F71805F is not set
# CONFIG_SENSORS_F71882FG is not set
# CONFIG_SENSORS_F75375S is not set
# CONFIG_SENSORS_FSCHER is not set
# CONFIG_SENSORS_FSCPOS is not set
# CONFIG_SENSORS_GL518SM is not set
# CONFIG_SENSORS_GL520SM is not set
# CONFIG_SENSORS_CORETEMP is not set
# CONFIG_SENSORS_IT87 is not set
# CONFIG_SENSORS_LM63 is not set
# CONFIG_SENSORS_LM75 is not set
# CONFIG_SENSORS_LM77 is not set
# CONFIG_SENSORS_LM78 is not setCONFIG_SENSORS_LM80=m
# CONFIG_SENSORS_LM83 is not set
# CONFIG_SENSORS_LM85 is not set
# CONFIG_SENSORS_LM87 is not set
# CONFIG_SENSORS_LM90 is not set
# CONFIG_SENSORS_LM92 is not set
# CONFIG_SENSORS_LM93 is not set
# CONFIG_SENSORS_MAX1619 is not set
# CONFIG_SENSORS_MAX6650 is not set
# CONFIG_SENSORS_PC87360 is not set
# CONFIG_SENSORS_PC87427 is not set
# CONFIG_SENSORS_SIS5595 is not set
# CONFIG_SENSORS_DME1737 is not set
# CONFIG_SENSORS_SMSC47M1 is not set
# CONFIG_SENSORS_SMSC47M192 is not set
# CONFIG_SENSORS_SMSC47B397 is not set
# CONFIG_SENSORS_THMC50 is not setCONFIG_SENSORS_VIA686A=m
# CONFIG_SENSORS_VT1211 is not set
# CONFIG_SENSORS_VT8231 is not setCONFIG_SENSORS_W83781D=m
# CONFIG_SENSORS_W83791D is not set
# CONFIG_SENSORS_W83792D is not set
# CONFIG_SENSORS_W83793 is not set
# CONFIG_SENSORS_W83L785TS is not set
# CONFIG_SENSORS_W83627HF is not set
# CONFIG_SENSORS_W83627EHF is not set
# CONFIG_SENSORS_HDAPS is not set
# CONFIG_SENSORS_APPLESMC is not set
# CONFIG_HWMON_DEBUG_CHIP is not set
# CONFIG_WATCHDOG is not set
#
# Sonics Silicon Backplane
#CONFIG_SSB_POSSIBLE=y
# CONFIG_SSB is not set
#
# Multifunction device drivers
#
# CONFIG_MFD_SM501 is not set
#
# Multimedia devices
#CONFIG_VIDEO_DEV=mCONFIG_VIDEO_V4L1=yCONFIG_VIDEO_V4L1_COMPAT=yCONFIG_VIDEO_V4L2=yCONFIG_VIDEO_CAPTURE_DRIVERS=y
# CONFIG_VIDEO_ADV_DEBUG is not setCONFIG_VIDEO_HELPER_CHIPS_AUTO=y
# CONFIG_VIDEO_VIVI is not set
# CONFIG_VIDEO_BT848 is not set
# CONFIG_VIDEO_PMS is not set
# CONFIG_VIDEO_BWQCAM is not set
# CONFIG_VIDEO_CQCAM is not set
# CONFIG_VIDEO_W9966 is not set
# CONFIG_VIDEO_CPIA is not set
# CONFIG_VIDEO_CPIA2 is not set
# CONFIG_VIDEO_SAA5246A is not set
# CONFIG_VIDEO_SAA5249 is not set
# CONFIG_TUNER_3036 is not set
# CONFIG_TUNER_TEA5761 is not set
# CONFIG_VIDEO_STRADIS is not set
# CONFIG_VIDEO_ZORAN is not set
# CONFIG_VIDEO_SAA7134 is not set
# CONFIG_VIDEO_MXB is not set
# CONFIG_VIDEO_DPC is not set
# CONFIG_VIDEO_HEXIUM_ORION is not set
# CONFIG_VIDEO_HEXIUM_GEMINI is not set
# CONFIG_VIDEO_CX88 is not set
# CONFIG_VIDEO_IVTV is not set
# CONFIG_VIDEO_CAFE_CCIC is not setCONFIG_V4L_USB_DRIVERS=y
# CONFIG_VIDEO_PVRUSB2 is not set
# CONFIG_VIDEO_EM28XX is not set
# CONFIG_VIDEO_USBVISION is not set
# CONFIG_USB_VICAM is not set
# CONFIG_USB_IBMCAM is not set
# CONFIG_USB_KONICAWC is not set
# CONFIG_USB_QUICKCAM_MESSENGER is not set
# CONFIG_USB_ET61X251 is not set
# CONFIG_VIDEO_OVCAMCHIP is not set
# CONFIG_USB_W9968CF is not set
# CONFIG_USB_OV511 is not set
# CONFIG_USB_SE401 is not set
# CONFIG_USB_SN9C102 is not set
# CONFIG_USB_STV680 is not set
# CONFIG_USB_ZC0301 is not set
# CONFIG_USB_PWC is not set
# CONFIG_USB_ZR364XX is not set
# CONFIG_USB_STK11XX is not set
# CONFIG_RADIO_ADAPTERS is not set
# CONFIG_DVB_CORE is not set
# CONFIG_DAB is not set
#
# Graphics support
#
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set
#
# Display device support
#
# CONFIG_DISPLAY_SUPPORT is not setCONFIG_VGASTATE=m
# CONFIG_VIDEO_OUTPUT_CONTROL is not setCONFIG_FB=yCONFIG_FIRMWARE_EDID=yCONFIG_FB_DDC=yCONFIG_FB_CFB_FILLRECT=yCONFIG_FB_CFB_COPYAREA=yCONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_SYS_FILLRECT is not set
# CONFIG_FB_SYS_COPYAREA is not set
# CONFIG_FB_SYS_IMAGEBLIT is not set
# CONFIG_FB_SYS_FOPS is not setCONFIG_FB_DEFERRED_IO=y
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not setCONFIG_FB_MODE_HELPERS=y
# CONFIG_FB_TILEBLITTING is not set
#
# Frame buffer hardware drivers
#
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not setCONFIG_FB_VESA=y
# CONFIG_FB_EFI is not set
# CONFIG_FB_HECUBA is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_S1D13XXX is not setCONFIG_FB_NVIDIA=mCONFIG_FB_NVIDIA_I2C=y
# CONFIG_FB_NVIDIA_DEBUG is not set
# CONFIG_FB_NVIDIA_BACKLIGHT is not setCONFIG_FB_RIVA=mCONFIG_FB_RIVA_I2C=y
# CONFIG_FB_RIVA_DEBUG is not set
# CONFIG_FB_RIVA_BACKLIGHT is not set
# CONFIG_FB_I810 is not set
# CONFIG_FB_LE80578 is not set
# CONFIG_FB_INTEL is not set
# CONFIG_FB_MATROX is not setCONFIG_FB_RADEON=yCONFIG_FB_RADEON_I2C=y
# CONFIG_FB_RADEON_BACKLIGHT is not set
# CONFIG_FB_RADEON_DEBUG is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_CYBLA is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_GEODE is not set
# CONFIG_FB_VIRTUAL is not set
#
# Console display driver support
#CONFIG_VGA_CONSOLE=y
# CONFIG_VGACON_SOFT_SCROLLBACK is not set CONFIG_VIDEO_SELECT=y
# CONFIG_MDA_CONSOLE is not set CONFIG_DUMMY_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE=y
# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set # CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set # CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=yCONFIG_LOGO=yCONFIG_LOGO_LINUX_MONO=y CONFIG_LOGO_LINUX_VGA16=y CONFIG_LOGO_LINUX_CLUT224=y
#
# Sound
#CONFIG_SOUND=m
#
# Advanced Linux Sound Architecture
#CONFIG_SND=mCONFIG_SND_TIMER=mCONFIG_SND_PCM=mCONFIG_SND_HWDEP=mCONFIG_SND_RAWMIDI=mCONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not setCONFIG_SND_OSSEMUL=yCONFIG_SND_MIXER_OSS=mCONFIG_SND_PCM_OSS=mCONFIG_SND_PCM_OSS_PLUGINS=yCONFIG_SND_SEQUENCER_OSS=yCONFIG_SND_RTCTIMER=mCONFIG_SND_SEQ_RTCTIMER_DEFAULT=yCONFIG_SND_DYNAMIC_MINORS=y
# CONFIG_SND_SUPPORT_OLD_API is not set
# CONFIG_SND_VERBOSE_PROCFS is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
#
# Generic devices
#CONFIG_SND_AC97_CODEC=m
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_MTS64 is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set
# CONFIG_SND_PORTMAN2X4 is not set
#
# ISA devices
#
# CONFIG_SND_ADLIB is not set
# CONFIG_SND_AD1816A is not set
# CONFIG_SND_AD1848 is not set
# CONFIG_SND_ALS100 is not set
# CONFIG_SND_AZT2320 is not set
# CONFIG_SND_CMI8330 is not set
# CONFIG_SND_CS4231 is not set
# CONFIG_SND_CS4232 is not set
# CONFIG_SND_CS4236 is not set
# CONFIG_SND_DT019X is not set
# CONFIG_SND_ES968 is not set
# CONFIG_SND_ES1688 is not set
# CONFIG_SND_ES18XX is not set
# CONFIG_SND_GUSCLASSIC is not set
# CONFIG_SND_GUSEXTREME is not set
# CONFIG_SND_GUSMAX is not set
# CONFIG_SND_INTERWAVE is not set
# CONFIG_SND_INTERWAVE_STB is not set
# CONFIG_SND_OPL3SA2 is not set
# CONFIG_SND_OPTI92X_AD1848 is not set
# CONFIG_SND_OPTI92X_CS4231 is not set
# CONFIG_SND_OPTI93X is not set
# CONFIG_SND_MIRO is not set
# CONFIG_SND_SB8 is not set
# CONFIG_SND_SB16 is not set
# CONFIG_SND_SBAWE is not set
# CONFIG_SND_SGALAXY is not set
# CONFIG_SND_SSCAPE is not set
# CONFIG_SND_WAVEFRONT is not set
#
# PCI devices
#
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS300 is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS5530 is not set
# CONFIG_SND_CS5535AUDIO is not set
# CONFIG_SND_DARLA20 is not set
# CONFIG_SND_GINA20 is not set
# CONFIG_SND_LAYLA20 is not set
# CONFIG_SND_DARLA24 is not set
# CONFIG_SND_GINA24 is not set
# CONFIG_SND_LAYLA24 is not set
# CONFIG_SND_MONA is not set
# CONFIG_SND_MIA is not set
# CONFIG_SND_ECHO3G is not set
# CONFIG_SND_INDIGO is not set
# CONFIG_SND_INDIGOIO is not set
# CONFIG_SND_INDIGODJ is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_ENS1370 is not setCONFIG_SND_ENS1371=m
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_HDA_INTEL is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_PCXHR is not set
# CONFIG_SND_RIPTIDE is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_YMFPCI is not setCONFIG_SND_AC97_POWER_SAVE=y
#
# USB devices
#CONFIG_SND_USB_AUDIO=m
# CONFIG_SND_USB_USX2Y is not set
# CONFIG_SND_USB_CAIAQ is not set
#
# System on Chip audio support
#
# CONFIG_SND_SOC is not set
#
# SoC Audio support for SuperH
#
#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not setCONFIG_AC97_BUS=mCONFIG_HID_SUPPORT=yCONFIG_HID=m
# CONFIG_HID_DEBUG is not set
# CONFIG_HIDRAW is not set
#
# USB Input Devices
#CONFIG_USB_HID=m
# CONFIG_USB_HIDINPUT_POWERBOOK is not set
# CONFIG_HID_FF is not set
# CONFIG_USB_HIDDEV is not set
#
# USB HID Boot Protocol drivers
#
# CONFIG_USB_KBD is not set
# CONFIG_USB_MOUSE is not setCONFIG_USB_SUPPORT=yCONFIG_USB_ARCH_HAS_HCD=yCONFIG_USB_ARCH_HAS_OHCI=yCONFIG_USB_ARCH_HAS_EHCI=yCONFIG_USB=m
# CONFIG_USB_DEBUG is not set
#
# Miscellaneous USB options
#CONFIG_USB_DEVICEFS=yCONFIG_USB_DEVICE_CLASS=yCONFIG_USB_DYNAMIC_MINORS=yCONFIG_USB_SUSPEND=y
# CONFIG_USB_PERSIST is not set
# CONFIG_USB_OTG is not set
#
# USB Host Controller Drivers
#CONFIG_USB_EHCI_HCD=m
# CONFIG_USB_EHCI_SPLIT_ISO is not setCONFIG_USB_EHCI_ROOT_HUB_TT=y
# CONFIG_USB_EHCI_TT_NEWSCHED is not set
# CONFIG_USB_ISP116X_HCD is not set
# CONFIG_USB_OHCI_HCD is not setCONFIG_USB_UHCI_HCD=m
# CONFIG_USB_SL811_HCD is not set
# CONFIG_USB_R8A66597_HCD is not set
#
# USB Device Class drivers
#
# CONFIG_USB_ACM is not setCONFIG_USB_PRINTER=m
#
# NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' #
#
# may also be needed; see USB_STORAGE Help for more information # CONFIG_USB_STORAGE=m # CONFIG_USB_STORAGE_DEBUG is not set # CONFIG_USB_STORAGE_DATAFAB is not set # CONFIG_USB_STORAGE_FREECOM is not set # CONFIG_USB_STORAGE_DPCM is not set # CONFIG_USB_STORAGE_USBAT is not set # CONFIG_USB_STORAGE_SDDR09 is not set # CONFIG_USB_STORAGE_SDDR55 is not set # CONFIG_USB_STORAGE_JUMPSHOT is not set # CONFIG_USB_STORAGE_ALAUDA is not set # CONFIG_USB_STORAGE_KARMA is not set # CONFIG_USB_LIBUSUAL is not set
#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_MON is not set
#
# USB port drivers
#
# CONFIG_USB_USS720 is not set
#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set
#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_ADUTUX is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_BERRY_CHARGE is not set
# CONFIG_USB_IPHONE is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYPRESS_CY7C63 is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_PHIDGET is not set
# CONFIG_USB_IDMOUSE is not set
# CONFIG_USB_FTDI_ELAN is not set
# CONFIG_USB_APPLEDISPLAY is not set
# CONFIG_USB_SISUSBVGA is not set
# CONFIG_USB_LD is not set
# CONFIG_USB_TRANCEVIBRATOR is not set
# CONFIG_USB_IOWARRIOR is not set
# CONFIG_USB_TEST is not set
# CONFIG_USB_GOTEMP is not set
#
# USB DSL modem support
#CONFIG_USB_ATM=m
# CONFIG_USB_SPEEDTOUCH is not set
# CONFIG_USB_CXACRU is not setCONFIG_USB_UEAGLEATM=m
# CONFIG_USB_XUSBATM is not set
#
# USB Gadget Support
#
# CONFIG_USB_GADGET is not set
# CONFIG_MMC is not set
# CONFIG_NEW_LEDS is not set
# CONFIG_INFINIBAND is not setCONFIG_EDAC=y
#
# Reporting subsystems
#
# CONFIG_EDAC_DEBUG is not setCONFIG_EDAC_MM_EDAC=mCONFIG_EDAC_AMD76X=m
# CONFIG_EDAC_E7XXX is not set
# CONFIG_EDAC_E752X is not set
# CONFIG_EDAC_I82875P is not set
# CONFIG_EDAC_I82975X is not set
# CONFIG_EDAC_I3000 is not set
# CONFIG_EDAC_I82860 is not set
# CONFIG_EDAC_R82600 is not set
# CONFIG_EDAC_I5000 is not set
# CONFIG_RTC_CLASS is not set
# CONFIG_DMADEVICES is not set
# CONFIG_AUXDISPLAY is not set
# CONFIG_VIRTUALIZATION is not set
#
# Userspace I/O
#
# CONFIG_UIO is not set
#
# File systems
#CONFIG_EXT2_FS=yCONFIG_EXT2_FS_XATTR=y
# CONFIG_EXT2_FS_POSIX_ACL is not set
# CONFIG_EXT2_FS_SECURITY is not setCONFIG_EXT2_FS_XIP=yCONFIG_FS_XIP=yCONFIG_EXT3_FS=yCONFIG_EXT3_FS_XATTR=yCONFIG_EXT3_FS_POSIX_ACL=y
# CONFIG_EXT3_FS_SECURITY is not set
# CONFIG_EXT4DEV_FS is not setCONFIG_JBD=y
# CONFIG_JBD_DEBUG is not setCONFIG_FS_MBCACHE=yCONFIG_REISER4_FS=m
# CONFIG_REISER4_DEBUG is not setCONFIG_REISERFS_FS=m
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not setCONFIG_REISERFS_FS_XATTR=y
# CONFIG_REISERFS_FS_POSIX_ACL is not set
# CONFIG_REISERFS_FS_SECURITY is not set
# CONFIG_JFS_FS is not setCONFIG_FS_POSIX_ACL=y
# CONFIG_XFS_FS is not set
# CONFIG_GFS2_FS is not set
# CONFIG_OCFS2_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not setCONFIG_INOTIFY=yCONFIG_INOTIFY_USER=y
# CONFIG_QUOTA is not setCONFIG_DNOTIFY=y
# CONFIG_AUTOFS_FS is not setCONFIG_AUTOFS4_FS=m
# CONFIG_FUSE_FS is not set
#
# CD-ROM/DVD Filesystems
#CONFIG_ISO9660_FS=mCONFIG_JOLIET=y
# CONFIG_ZISOFS is not setCONFIG_UDF_FS=mCONFIG_UDF_NLS=y
#
# DOS/FAT/NT Filesystems
#CONFIG_FAT_FS=mCONFIG_MSDOS_FS=mCONFIG_VFAT_FS=mCONFIG_FAT_DEFAULT_CODEPAGE=850CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"CONFIG_NTFS_FS=m
# CONFIG_NTFS_DEBUG is not set
# CONFIG_NTFS_RW is not set
#
# Pseudo filesystems
#CONFIG_PROC_FS=yCONFIG_PROC_KCORE=yCONFIG_PROC_SYSCTL=yCONFIG_SYSFS=yCONFIG_TMPFS=y
# CONFIG_TMPFS_POSIX_ACL is not set
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not setCONFIG_CONFIGFS_FS=m
#
# Layered filesystems
#CONFIG_ECRYPT_FS=m
# CONFIG_UNION_FS is not set
#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
#
# Network File Systems
#CONFIG_NFS_FS=mCONFIG_NFS_V3=y
# CONFIG_NFS_V3_ACL is not setCONFIG_NFS_V4=y
# CONFIG_NFS_DIRECTIO is not setCONFIG_NFSD=mCONFIG_NFSD_V3=y
# CONFIG_NFSD_V3_ACL is not setCONFIG_NFSD_V4=yCONFIG_NFSD_TCP=yCONFIG_LOCKD=mCONFIG_LOCKD_V4=yCONFIG_EXPORTFS=mCONFIG_NFS_COMMON=yCONFIG_SUNRPC=mCONFIG_SUNRPC_GSS=m
# CONFIG_SUNRPC_BIND34 is not setCONFIG_RPCSEC_GSS_KRB5=m
# CONFIG_RPCSEC_GSS_SPKM3 is not setCONFIG_SMB_FS=m
# CONFIG_SMB_NLS_DEFAULT is not setCONFIG_CIFS=mCONFIG_CIFS_STATS=y
# CONFIG_CIFS_STATS2 is not set
# CONFIG_CIFS_WEAK_PW_HASH is not setCONFIG_CIFS_XATTR=yCONFIG_CIFS_POSIX=y
# CONFIG_CIFS_DEBUG2 is not set
# CONFIG_CIFS_EXPERIMENTAL is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
#
# Partition Types
#CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
# CONFIG_MAC_PARTITION is not setCONFIG_MSDOS_PARTITION=y
# CONFIG_BSD_DISKLABEL is not set
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
# CONFIG_UNIXWARE_DISKLABEL is not set
# CONFIG_LDM_PARTITION is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
# CONFIG_KARMA_PARTITION is not set
# CONFIG_EFI_PARTITION is not set
# CONFIG_SYSV68_PARTITION is not set
#
# Native Language Support
#CONFIG_NLS=yCONFIG_NLS_DEFAULT="iso8859-1"CONFIG_NLS_CODEPAGE_437=m
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not setCONFIG_NLS_CODEPAGE_850=m
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not setCONFIG_NLS_ASCII=mCONFIG_NLS_ISO8859_1=m
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not setCONFIG_NLS_ISO8859_15=m
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not setCONFIG_NLS_UTF8=m
#
# Distributed Lock Manager
#
# CONFIG_DLM is not setCONFIG_INSTRUMENTATION=yCONFIG_PROFILING=yCONFIG_OPROFILE=m
# CONFIG_KPROBES is not set
#
# Kernel hacking
#CONFIG_TRACE_IRQFLAGS_SUPPORT=yCONFIG_PRINTK_TIME=yCONFIG_ENABLE_MUST_CHECK=yCONFIG_MAGIC_SYSRQ=y
# CONFIG_UNUSED_SYMBOLS is not set
# CONFIG_PAGE_OWNER is not setCONFIG_DEBUG_FS=y
# CONFIG_HEADERS_CHECK is not setCONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_SHIRQ is not set
# CONFIG_DETECT_SOFTLOCKUP is not set
# CONFIG_SCHED_DEBUG is not set
# CONFIG_SCHEDSTATS is not set
# CONFIG_TIMER_STATS is not setCONFIG_DEBUG_SLAB=yCONFIG_DEBUG_SLAB_LEAK=yCONFIG_DEBUG_PREEMPT=y
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_RT_MUTEX_TESTER is not setCONFIG_DEBUG_SPINLOCK=yCONFIG_DEBUG_MUTEXES=y
# CONFIG_DEBUG_LOCK_ALLOC is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_LOCK_STAT is not setCONFIG_DEBUG_SPINLOCK_SLEEP=yCONFIG_DEBUG_LOCKING_API_SELFTESTS=y
# CONFIG_DEBUG_KOBJECT is not setCONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_DEBUG_INFO is not set
# CONFIG_DEBUG_VM is not set
# CONFIG_DEBUG_LIST is not setCONFIG_FRAME_POINTER=y
# CONFIG_UNWIND_INFO is not set
# CONFIG_PROFILE_LIKELY is not set
# CONFIG_FORCED_INLINING is not set
# CONFIG_BOOT_PRINTK_DELAY is not set
# CONFIG_DEBUG_SYNCHRO_TEST is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_FAULT_INJECTION is not set
# CONFIG_WANT_EXTRA_DEBUG_INFORMATION is not set
# CONFIG_KGDB is not set
# CONFIG_KGDB_ATTACH_WAIT is not setCONFIG_EARLY_PRINTK=yCONFIG_DEBUG_STACKOVERFLOW=yCONFIG_DEBUG_STACK_USAGE=y
#
# Page alloc debug is incompatible with Software Suspend on i386 #CONFIG_DEBUG_RODATA=yCONFIG_4KSTACKS=yCONFIG_X86_FIND_SMP_CONFIG=yCONFIG_X86_MPPARSE=yCONFIG_DOUBLEFAULT=y
#
# Security options
#CONFIG_KEYS=y
# CONFIG_KEYS_DEBUG_PROC_KEYS is not set
# CONFIG_SECURITY is not set
# CONFIG_SECURITY_FILE_CAPABILITIES is not setCONFIG_XOR_BLOCKS=mCONFIG_ASYNC_CORE=mCONFIG_ASYNC_MEMCPY=mCONFIG_ASYNC_XOR=mCONFIG_CRYPTO=yCONFIG_CRYPTO_ALGAPI=yCONFIG_CRYPTO_BLKCIPHER=mCONFIG_CRYPTO_HASH=yCONFIG_CRYPTO_MANAGER=yCONFIG_CRYPTO_HMAC=y
# CONFIG_CRYPTO_XCBC is not set
# CONFIG_CRYPTO_NULL is not set
# CONFIG_CRYPTO_MD4 is not setCONFIG_CRYPTO_MD5=yCONFIG_CRYPTO_SHA1=mCONFIG_CRYPTO_SHA256=mCONFIG_CRYPTO_SHA512=m
# CONFIG_CRYPTO_WP512 is not set
# CONFIG_CRYPTO_TGR192 is not set
# CONFIG_CRYPTO_GF128MUL is not setCONFIG_CRYPTO_ECB=mCONFIG_CRYPTO_CBC=mCONFIG_CRYPTO_PCBC=m
# CONFIG_CRYPTO_LRW is not set
# CONFIG_CRYPTO_CRYPTD is not setCONFIG_CRYPTO_DES=m
# CONFIG_CRYPTO_FCRYPT is not setCONFIG_CRYPTO_BLOWFISH=m
# CONFIG_CRYPTO_TWOFISH is not set
# CONFIG_CRYPTO_TWOFISH_586 is not set
# CONFIG_CRYPTO_SERPENT is not setCONFIG_CRYPTO_AES=mCONFIG_CRYPTO_AES_586=m
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
# CONFIG_CRYPTO_TEA is not setCONFIG_CRYPTO_ARC4=m
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_ANUBIS is not set
# CONFIG_CRYPTO_SEED is not setCONFIG_CRYPTO_DEFLATE=mCONFIG_CRYPTO_MICHAEL_MIC=mCONFIG_CRYPTO_CRC32C=m
# CONFIG_CRYPTO_CAMELLIA is not set
# CONFIG_CRYPTO_TEST is not set
# CONFIG_CRYPTO_AUTHENC is not set
# CONFIG_CRYPTO_HW is not set
#
# Library routines
#CONFIG_BITREVERSE=yCONFIG_CRC_CCITT=m
# CONFIG_CRC16 is not setCONFIG_CRC_ITU_T=mCONFIG_CRC32=y
# CONFIG_CRC7 is not setCONFIG_LIBCRC32C=mCONFIG_ZLIB_INFLATE=mCONFIG_ZLIB_DEFLATE=mCONFIG_LZO_COMPRESS=mCONFIG_LZO_DECOMPRESS=mCONFIG_TEXTSEARCH=yCONFIG_TEXTSEARCH_KMP=mCONFIG_TEXTSEARCH_BM=mCONFIG_TEXTSEARCH_FSM=mCONFIG_PLIST=yCONFIG_HAS_IOMEM=yCONFIG_HAS_IOPORT=yCONFIG_HAS_DMA=yCONFIG_GENERIC_HARDIRQS=yCONFIG_GENERIC_IRQ_PROBE=yCONFIG_X86_BIOS_REBOOT=yCONFIG_KTIME_SCALAR=y
Re: 2.6.23-rc4-mm1: git-block.patch broke pktcdvd
Quoted 44 lines · Laurent Riffard
Quoted 1 line · Andrew Morton
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc4/2.6.23-rc4-mm1/
[...]
Jens,
git-block.patch broke pktcdvd, I've got an Oops while syncing:
Quoted 36 lines
[ 713.014888] pktcdvd: Fixed packets, 16 blocks, Mode-1 disc [ 713.021844] pktcdvd: write speed 2770kB/s [ 718.401761] pktcdvd: 4595774kB available on disc [ 721.175644] UDF-fs INFO UDF 0.9.8.1 (2004/29/09) Mounting volume 'LinuxUDF', timestamp 2006/10/08 21:17 (1078) [ 721.213784] mount used greatest stack depth: 460 bytes left [ 752.634402] BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000 [ 752.635711] printing eip: c017b69e *pde = 00000000 [ 752.636983] Oops: 0002 [#1] PREEMPT [ 752.638240] last sysfs file: /devices/pci0000:00/0000:00:0d.0/modalias [ 752.639477] Modules linked in: udf binfmt_misc pktcdvd radeon drm lp nls_iso8859_1 nls_cp850 vfat fat reiser4 lzo_decompress lzo_compress eeprom w83781d hwmon_vid snd_ens1371 gameport snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm sg firewire_ohci firewire_core sr_mod cdrom crc_itu_t snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd 8250_pnp i2c_viapro via_agp floppy ohci1394 soundcore 8250 serial_core ata_generic uhci_hcd agpgart ne2k_pci 8390 ieee1394 snd_page_alloc rtc pcspkr via686a usbcore parport_pc parport evdev reiserfs sd_mod pata_via libata scsi_mod dm_mirror dm_mod [ 752.645759] [ 752.646990] Pid: 3403, comm: pktcdvd0 Not tainted (2.6.23-rc4-mm1 #50) [ 752.648256] EIP: 0060:[__bio_add_page+212/355] EFLAGS: 00010246 CPU: 0 [ 752.649515] EIP is at __bio_add_page+0xd4/0x163 [ 752.650750] EAX: 00000000 EBX: 00000000 ECX: c26ca400 EDX: 00000000 [ 752.651984] ESI: cba3cf48 EDI: c1174be0 EBP: cb01cef4 ESP: cb01cee4 [ 752.653219] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 [ 752.654446] Process pktcdvd0 (pid: 3403, ti=cb01c000 task=c1b9cdb0 task.ti=cb01c000) [ 752.654526] Stack: c26ca400 cba3cf48 c1174be0 00000001 cb01cf10 c017b763 00000800 00000800 [ 752.655908] 00000040 cba3cf48 cb06e120 cb01cfd0 e1d94044 00000800 00000004 cb09b8a0 [ 752.657297] c1853ce0 00000000 00000800 00000001 00000000 00000000 00000000 00000000 [ 752.658695] Call Trace: [ 752.661126] [show_trace_log_lvl+26/47] show_trace_log_lvl+0x1a/0x2f [ 752.662383] [show_stack_log_lvl+155/163] show_stack_log_lvl+0x9b/0xa3 [ 752.663626] [show_registers+160/482] show_registers+0xa0/0x1e2 [ 752.664868] [die+261/567] die+0x105/0x237 [ 752.666072] [do_page_fault+1127/1349] do_page_fault+0x467/0x545 [ 752.667274] [error_code+106/112] error_code+0x6a/0x70 [ 752.668477] [bio_add_page+54/61] bio_add_page+0x36/0x3d [ 752.669669] [<e1d94044>] kcdrwd+0x5a5/0x9ba [pktcdvd] [ 752.670856] [kthread+57/97] kthread+0x39/0x61 [ 752.672024] [kernel_thread_helper+7/16] kernel_thread_helper+0x7/0x10 [ 752.673197] ======================= [ 752.674336] Code: ba 01 00 00 00 8b 4d f0 8b 46 18 66 3b 81 50 01 00 00 73 da 66 8b 46 1a 66 3b 81 52 01 00 00 73 cd 0f b7 46 14 6b d8 0c 03 5e 2c <89> 3b 8b 45 08 89 43 04 8b 4d 0c 89 4b 08 8b 45 f0 8b 78 68 85 [ 752.677879] EIP: [__bio_add_page+212/355] __bio_add_page+0xd4/0x163 SS:ESP 0068:cb01cee4
I dig through git-block.patch and the culprit seems to be commit c94f1c4ac87862675c8d70941973bc3a69aff5d8 "bio: use memset() in bio_init()".
Maybe the real bug is a bad bio initialization in pktcdvd driver, which is revealed by this commit ?
Quoted 11 lines
2.6.23-rc4 and 2.6.23-rc3-mm1 work fine.
Steps to reproduce:
$ pktsetup /dev/pktcdvd/0 /dev/sr0 # put an UDF-formatted DVD-RW in the drive $ mount -o noatime,nodiratime,rw /dev/pktcdvd/0 /media/pkt $ sync
/dev/sr0drive is a LG-branded DVD burner:
Vendor: HL-DT-ST Model: DVDRAM GSA-4165B Rev: DL03
Andrew Morton
maintainerRe: 2.6.23-rc4-mm1: git-block.patch broke pktcdvd
Quoted 3 lines · On Fri, 14 Sep 2007 00:50:25 +0200 Laurent Riffard <[email protected]>…
I dig through git-block.patch and the culprit seems to be commit
c94f1c4ac87862675c8d70941973bc3a69aff5d8"bio: usememset()inbio_init()".
I think I'll be dropping git-block. There were a number of problems in rc4-mm1 (for which I have a sprinkling of messy-looking patches somewhere ahead of my current cursor) and nothing seems to have happened in the git tree for a month or so.
Re: 2.6.23-rc4-mm1: git-block.patch broke pktcdvd
Quoted 11 lines · Andrew Morton
Quoted 3 lines · On Fri, 14 Sep 2007 00:50:25 +0200 Laurent Riffard <[email protected]>…
I dig through git-block.patch and the culprit seems to be commit
c94f1c4ac87862675c8d70941973bc3a69aff5d8"bio: usememset()inbio_init()".I think I'll be dropping git-block. There were a number of problems in rc4-mm1 (for which I have a sprinkling of messy-looking patches somewhere ahead of my current cursor) and nothing seems to have happened in the git tree for a month or so.
Huh? It's not even two weeks old. And here we go again, git-block is getting dropped and you'll be complaining about lack of testing next. I'll update the branches today as discussed with Tomo, that should work fine.
Signature · 1 line
Jens Axboe
Re: 2.6.23-rc4-mm1: git-block.patch broke pktcdvd
Quoted 13 lines · Jens Axboe
Quoted 11 lines · Andrew Morton
Quoted 3 lines · On Fri, 14 Sep 2007 00:50:25 +0200 Laurent Riffard <[email protected]>…
I dig through git-block.patch and the culprit seems to be commit
c94f1c4ac87862675c8d70941973bc3a69aff5d8"bio: usememset()inbio_init()".I think I'll be dropping git-block. There were a number of problems in rc4-mm1 (for which I have a sprinkling of messy-looking patches somewhere ahead of my current cursor) and nothing seems to have happened in the git tree for a month or so.
Quoted 4 lines
Huh? It's not even two weeks old. And here we go again, git-block is getting dropped and you'll be complaining about lack of testing next. I'll update the branches today as discussed with Tomo, that should work fine.
Branches updated with the scsi host template addition and the qla sg chaining fix.
Signature · 1 line
Jens Axboe
Re: 2.6.23-rc4-mm1: git-block.patch broke pktcdvd
In reply to Laurent RiffardQuoted 46 lines · Laurent Riffard
Quoted 44 lines · Laurent Riffard
Quoted 1 line · Andrew Morton
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc4/2.6.23-rc4-mm1/
[...]
Jens,
git-block.patch broke pktcdvd, I've got an Oops while syncing:
Quoted 36 lines
[ 713.014888] pktcdvd: Fixed packets, 16 blocks, Mode-1 disc [ 713.021844] pktcdvd: write speed 2770kB/s [ 718.401761] pktcdvd: 4595774kB available on disc [ 721.175644] UDF-fs INFO UDF 0.9.8.1 (2004/29/09) Mounting volume 'LinuxUDF', timestamp 2006/10/08 21:17 (1078) [ 721.213784] mount used greatest stack depth: 460 bytes left [ 752.634402] BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000 [ 752.635711] printing eip: c017b69e *pde = 00000000 [ 752.636983] Oops: 0002 [#1] PREEMPT [ 752.638240] last sysfs file: /devices/pci0000:00/0000:00:0d.0/modalias [ 752.639477] Modules linked in: udf binfmt_misc pktcdvd radeon drm lp nls_iso8859_1 nls_cp850 vfat fat reiser4 lzo_decompress lzo_compress eeprom w83781d hwmon_vid snd_ens1371 gameport snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm sg firewire_ohci firewire_core sr_mod cdrom crc_itu_t snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd 8250_pnp i2c_viapro via_agp floppy ohci1394 soundcore 8250 serial_core ata_generic uhci_hcd agpgart ne2k_pci 8390 ieee1394 snd_page_alloc rtc pcspkr via686a usbcore parport_pc parport evdev reiserfs sd_mod pata_via libata scsi_mod dm_mirror dm_mod [ 752.645759] [ 752.646990] Pid: 3403, comm: pktcdvd0 Not tainted (2.6.23-rc4-mm1 #50) [ 752.648256] EIP: 0060:[__bio_add_page+212/355] EFLAGS: 00010246 CPU: 0 [ 752.649515] EIP is at __bio_add_page+0xd4/0x163 [ 752.650750] EAX: 00000000 EBX: 00000000 ECX: c26ca400 EDX: 00000000 [ 752.651984] ESI: cba3cf48 EDI: c1174be0 EBP: cb01cef4 ESP: cb01cee4 [ 752.653219] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 [ 752.654446] Process pktcdvd0 (pid: 3403, ti=cb01c000 task=c1b9cdb0 task.ti=cb01c000) [ 752.654526] Stack: c26ca400 cba3cf48 c1174be0 00000001 cb01cf10 c017b763 00000800 00000800 [ 752.655908] 00000040 cba3cf48 cb06e120 cb01cfd0 e1d94044 00000800 00000004 cb09b8a0 [ 752.657297] c1853ce0 00000000 00000800 00000001 00000000 00000000 00000000 00000000 [ 752.658695] Call Trace: [ 752.661126] [show_trace_log_lvl+26/47] show_trace_log_lvl+0x1a/0x2f [ 752.662383] [show_stack_log_lvl+155/163] show_stack_log_lvl+0x9b/0xa3 [ 752.663626] [show_registers+160/482] show_registers+0xa0/0x1e2 [ 752.664868] [die+261/567] die+0x105/0x237 [ 752.666072] [do_page_fault+1127/1349] do_page_fault+0x467/0x545 [ 752.667274] [error_code+106/112] error_code+0x6a/0x70 [ 752.668477] [bio_add_page+54/61] bio_add_page+0x36/0x3d [ 752.669669] [<e1d94044>] kcdrwd+0x5a5/0x9ba [pktcdvd] [ 752.670856] [kthread+57/97] kthread+0x39/0x61 [ 752.672024] [kernel_thread_helper+7/16] kernel_thread_helper+0x7/0x10 [ 752.673197] ======================= [ 752.674336] Code: ba 01 00 00 00 8b 4d f0 8b 46 18 66 3b 81 50 01 00 00 73 da 66 8b 46 1a 66 3b 81 52 01 00 00 73 cd 0f b7 46 14 6b d8 0c 03 5e 2c <89> 3b 8b 45 08 89 43 04 8b 4d 0c 89 4b 08 8b 45 f0 8b 78 68 85 [ 752.677879] EIP: [__bio_add_page+212/355] __bio_add_page+0xd4/0x163 SS:ESP 0068:cb01cee4
Quoted 6 lines
I dig through git-block.patch and the culprit seems to be commit
c94f1c4ac87862675c8d70941973bc3a69aff5d8"bio: usememset()inbio_init()".Maybe the real bug is a bad bio initialization in pktcdvd driver, which is revealed by this commit ?
At least pktcdvd doesn't expect bio->bi_io_vec[] to be cleared, that's why it's oopsing now. I'll revert this bit for now, thanks for the report.
Signature · 1 line
Jens Axboe
Re: 2.6.23-rc4-mm1: git-block.patch broke pktcdvd
Quoted 51 lines · Jens Axboe
Quoted 50 lines · Laurent Riffard
Quoted 44 lines · Laurent Riffard
Quoted 1 line · Andrew Morton
ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc4/2.6.23-rc4-mm1/
[...]
Jens,
git-block.patch broke pktcdvd, I've got an Oops while syncing:
Quoted 36 lines
[ 713.014888] pktcdvd: Fixed packets, 16 blocks, Mode-1 disc [ 713.021844] pktcdvd: write speed 2770kB/s [ 718.401761] pktcdvd: 4595774kB available on disc [ 721.175644] UDF-fs INFO UDF 0.9.8.1 (2004/29/09) Mounting volume 'LinuxUDF', timestamp 2006/10/08 21:17 (1078) [ 721.213784] mount used greatest stack depth: 460 bytes left [ 752.634402] BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000 [ 752.635711] printing eip: c017b69e *pde = 00000000 [ 752.636983] Oops: 0002 [#1] PREEMPT [ 752.638240] last sysfs file: /devices/pci0000:00/0000:00:0d.0/modalias [ 752.639477] Modules linked in: udf binfmt_misc pktcdvd radeon drm lp nls_iso8859_1 nls_cp850 vfat fat reiser4 lzo_decompress lzo_compress eeprom w83781d hwmon_vid snd_ens1371 gameport snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm sg firewire_ohci firewire_core sr_mod cdrom crc_itu_t snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd 8250_pnp i2c_viapro via_agp floppy ohci1394 soundcore 8250 serial_core ata_generic uhci_hcd agpgart ne2k_pci 8390 ieee1394 snd_page_alloc rtc pcspkr via686a usbcore parport_pc parport evdev reiserfs sd_mod pata_via libata scsi_mod dm_mirror dm_mod [ 752.645759] [ 752.646990] Pid: 3403, comm: pktcdvd0 Not tainted (2.6.23-rc4-mm1 #50) [ 752.648256] EIP: 0060:[__bio_add_page+212/355] EFLAGS: 00010246 CPU: 0 [ 752.649515] EIP is at __bio_add_page+0xd4/0x163 [ 752.650750] EAX: 00000000 EBX: 00000000 ECX: c26ca400 EDX: 00000000 [ 752.651984] ESI: cba3cf48 EDI: c1174be0 EBP: cb01cef4 ESP: cb01cee4 [ 752.653219] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 [ 752.654446] Process pktcdvd0 (pid: 3403, ti=cb01c000 task=c1b9cdb0 task.ti=cb01c000) [ 752.654526] Stack: c26ca400 cba3cf48 c1174be0 00000001 cb01cf10 c017b763 00000800 00000800 [ 752.655908] 00000040 cba3cf48 cb06e120 cb01cfd0 e1d94044 00000800 00000004 cb09b8a0 [ 752.657297] c1853ce0 00000000 00000800 00000001 00000000 00000000 00000000 00000000 [ 752.658695] Call Trace: [ 752.661126] [show_trace_log_lvl+26/47] show_trace_log_lvl+0x1a/0x2f [ 752.662383] [show_stack_log_lvl+155/163] show_stack_log_lvl+0x9b/0xa3 [ 752.663626] [show_registers+160/482] show_registers+0xa0/0x1e2 [ 752.664868] [die+261/567] die+0x105/0x237 [ 752.666072] [do_page_fault+1127/1349] do_page_fault+0x467/0x545 [ 752.667274] [error_code+106/112] error_code+0x6a/0x70 [ 752.668477] [bio_add_page+54/61] bio_add_page+0x36/0x3d [ 752.669669] [<e1d94044>] kcdrwd+0x5a5/0x9ba [pktcdvd] [ 752.670856] [kthread+57/97] kthread+0x39/0x61 [ 752.672024] [kernel_thread_helper+7/16] kernel_thread_helper+0x7/0x10 [ 752.673197] ======================= [ 752.674336] Code: ba 01 00 00 00 8b 4d f0 8b 46 18 66 3b 81 50 01 00 00 73 da 66 8b 46 1a 66 3b 81 52 01 00 00 73 cd 0f b7 46 14 6b d8 0c 03 5e 2c <89> 3b 8b 45 08 89 43 04 8b 4d 0c 89 4b 08 8b 45 f0 8b 78 68 85 [ 752.677879] EIP: [__bio_add_page+212/355] __bio_add_page+0xd4/0x163 SS:ESP 0068:cb01cee4I dig through git-block.patch and the culprit seems to be commit
c94f1c4ac87862675c8d70941973bc3a69aff5d8"bio: usememset()inbio_init()".
Quoted 6 lines
Quoted 2 lines
Maybe the real bug is a bad bio initialization in pktcdvd driver, which is revealed by this commit ?
At least pktcdvd doesn't expect bio->bi_io_vec[] to be cleared, that's why it's oopsing now. I'll revert this bit for now, thanks for the report.
Rethinking this, I think bio_init() is doing the right thing, only pktcdvd seems to rely on it preserving some members. So I'd rather fixup pktcdvd instead.
Does this work for you?
drivers/block/pktcdvd.c +5 -0
@@ -1142,16 +1142,20 @@ static void pkt_gather_data(struct pktcdvd_device *pd, struct packet_data *pkt)* Schedule reads for missing parts of the packet. */ for (f =0 ; f < pkt->frames; f++) { +struct bio_vec *vec; +int p, offset;if (written[f])continue ; bio = pkt->r_bios[f]; + vec = bio->bi_io_vec;bio_init (bio); bio->bi_max_vecs =1 ; bio->bi_sector = pkt->sector + f * (CD_FRAMESIZE >>9 ); bio->bi_bdev = pd->bdev; bio->bi_end_io = pkt_end_io_read; bio->bi_private = pkt; + bio->bi_io_vec = vec; p = (f *CD_FRAMESIZE ) /PAGE_SIZE ; offset = (f *CD_FRAMESIZE ) %PAGE_SIZE ;
@@ -1448,6 +1452,7 @@ static void pkt_start_write(struct pktcdvd_device *pd, struct packet_data *pkt) pkt->w_bio->bi_bdev = pd->bdev; pkt->w_bio->bi_end_io = pkt_end_io_packet_write; pkt->w_bio->bi_private = pkt; + pkt->w_bio->bi_io_vec = bvec;for (f =0 ; f < pkt->frames; f++)if (!bio_add_page (pkt->w_bio, bvec[f].bv_page,CD_FRAMESIZE , bvec[f].bv_offset))BUG ();
Signature · 1 line
Jens Axboe
Re: 2.6.23-rc4-mm1: git-block.patch broke pktcdvd
Quoted 8 lines · Jens Axboe
Quoted 7 lines · Jens Axboe
Quoted 6 lines · Laurent Riffard
Quoted 5 lines · Laurent Riffard
Jens,
git-block.patch broke pktcdvd, I've got an Oops while syncing:
[snip]
Quoted 10 lines
Quoted 9 lines
Quoted 6 lines
I dig through git-block.patch and the culprit seems to be commit
c94f1c4ac87862675c8d70941973bc3a69aff5d8"bio: usememset()inbio_init()".Maybe the real bug is a bad bio initialization in pktcdvd driver, which is revealed by this commit ?
At least pktcdvd doesn't expect bio->bi_io_vec[] to be cleared, that's why it's oopsing now. I'll revert this bit for now, thanks for the report.
Quoted 5 lines
Rethinking this, I think
bio_init()is doing the right thing, only pktcdvd seems to rely on it preserving some members. So I'd rather fixup pktcdvd instead.Does this work for you?
Well, it's better: I was able to mount the DVD-RW, sync, and write data, but kernel oopsed when I unmounted the drive:
[ 529.295829] BUG: unable to handle kernel NULL pointer dereference at virtual address 00000000 [ 529.296490] printing eip: 00000000 *pde = 00000000 [ 529.297106] Oops: 0000 [#1] PREEMPT [ 529.297702] last sysfs file: /block/pktcdvd0/range [ 529.298284] Modules linked in: udf binfmt_misc pktcdvd radeon drm lp nls_iso8859_1 nls_cp850 vfat fat reiser4 lzo_decompress lzo_compress eeprom w83781d hwmon_vid snd_ens1371 gameport snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event firewire_ohci firewire_core snd_seq crc_itu_t sg snd_timer snd_seq_device 8250_pnp snd sr_mod cdrom rtc ohci1394 i2c_viapro 8250 serial_core uhci_hcd soundcore snd_page_alloc floppy pcspkr ne2k_pci 8390 parport_pc via686a ieee1394 usbcore parport ata_generic via_agp agpgart evdev reiserfs sd_mod pata_via libata scsi_mod dm_mirror dm_mod [ 529.302127] [ 529.302785] Pid: 3718, comm: umount Not tainted (2.6.23-rc4-mm1 #73) [ 529.303493] EIP: 0060:[<00000000>] EFLAGS: 00010202 CPU: 0 [ 529.304207] EIP is at _stext+0x3feff000/0x19 [ 529.304911] EAX: c30ded90 EBX: cb110da8 ECX: 00000000 EDX: c30ded90 [ 529.305640] ESI: 00000001 EDI: cb0c7748 EBP: cb1dfe98 ESP: cb1dfe90 [ 529.306389] DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068 [ 529.307136] Process umount (pid: 3718, ti=cb1df000 task=c27157b0 task.ti=cb1df000) [ 529.307213] Stack: c017b4bf 00000000 cb1dfeb0 e1c0e57a cb1115d8 cb0c7748 c1e4a828 c26663c8 [ 529.308122] cb1dfec4 e1c0e650 cb1dfec4 c017c15f 00000000 cb1dfee4 c017c8f3 c1e4a834 [ 529.309040] 00000000 c1e4a8bc c1e4a828 e1f12ea0 00000000 cb1dfeec c017c9ab cb1dfef8 [ 529.309972] Call Trace: [ 529.311464] [show_trace_log_lvl+26/47] show_trace_log_lvl+0x1a/0x2f [ 529.312264] [show_stack_log_lvl+155/163] show_stack_log_lvl+0x9b/0xa3 [ 529.313056] [show_registers+160/482] show_registers+0xa0/0x1e2 [ 529.313840] [die+261/567] die+0x105/0x237 [ 529.314611] [do_page_fault+1127/1349] do_page_fault+0x467/0x545 [ 529.315396] [error_code+106/112] error_code+0x6a/0x70 [ 529.316186] [<e1c0e57a>] pkt_shrink_pktlist+0x29/0x79 [pktcdvd] [ 529.317007] [<e1c0e650>] pkt_close+0x86/0x97 [pktcdvd] [ 529.317816] [__blkdev_put+95/269] __blkdev_put+0x5f/0x10d [ 529.318630] [blkdev_put+10/12] blkdev_put+0xa/0xc [ 529.319436] [close_bdev_excl+18/21] close_bdev_excl+0x12/0x15 [ 529.320260] [kill_block_super+29/32] kill_block_super+0x1d/0x20 [ 529.321095] [deactivate_super+63/81] deactivate_super+0x3f/0x51 [ 529.321933] [mntput_no_expire+73/102] mntput_no_expire+0x49/0x66 [ 529.322782] [path_release_on_umount+21/24] path_release_on_umount+0x15/0x18 [ 529.323641] [sys_umount+461/501] sys_umount+0x1cd/0x1f5 [ 529.324499] [sys_oldumount+25/27] sys_oldumount+0x19/0x1b [ 529.325361] [sysenter_past_esp+95/133] sysenter_past_esp+0x5f/0x85 [ 529.326248] ======================= [ 529.327094] Code: Bad EIP value. [ 529.327969] EIP: [<00000000>] _stext+0x3feff000/0x19 SS:ESP 0068:cb1dfe90
Quoted 34 lines
drivers/block/pktcdvd.c +5
-0@@ -1142,16 +1142,20 @@ static void pkt_gather_data(struct pktcdvd_device *pd, struct packet_data *pkt)* Schedule reads for missing parts of the packet. */ for (f =0 ; f < pkt->frames; f++) { +struct bio_vec *vec; +int p, offset;if (written[f])continue ; bio = pkt->r_bios[f]; + vec = bio->bi_io_vec;bio_init (bio); bio->bi_max_vecs =1 ; bio->bi_sector = pkt->sector + f * (CD_FRAMESIZE >>9 ); bio->bi_bdev = pd->bdev; bio->bi_end_io = pkt_end_io_read; bio->bi_private = pkt; + bio->bi_io_vec = vec; p = (f *CD_FRAMESIZE ) /PAGE_SIZE ; offset = (f *CD_FRAMESIZE ) %PAGE_SIZE ;@@ -1448,6 +1452,7 @@ static void pkt_start_write(struct pktcdvd_device *pd, struct packet_data *pkt) pkt->w_bio->bi_bdev = pd->bdev; pkt->w_bio->bi_end_io = pkt_end_io_packet_write; pkt->w_bio->bi_private = pkt; + pkt->w_bio->bi_io_vec = bvec;for (f =0 ; f < pkt->frames; f++)if (!bio_add_page (pkt->w_bio, bvec[f].bv_page,CD_FRAMESIZE , bvec[f].bv_offset))BUG ();
PATCH 1/1 pktcdvd: don't rely on bio_init() preserving bio->bi_destructor
Quoted 18 lines · Laurent Riffard
Quoted 7 lines · Jens Axboe
Quoted 6 lines · Jens Axboe
Quoted 5 lines · Laurent Riffard
Quoted 4 lines · Laurent Riffard
Jens,
git-block.patch broke pktcdvd, I've got an Oops while syncing:
[snip]
Quoted 9 lines
Quoted 9 lines
Quoted 6 lines
I dig through git-block.patch and the culprit seems to be commit
c94f1c4ac87862675c8d70941973bc3a69aff5d8"bio: usememset()inbio_init()".Maybe the real bug is a bad bio initialization in pktcdvd driver, which is revealed by this commit ?
At least pktcdvd doesn't expect bio->bi_io_vec[] to be cleared, that's why it's oopsing now. I'll revert this bit for now, thanks for the report.
Quoted 8 lines
Quoted 5 lines
Rethinking this, I think
bio_init()is doing the right thing, only pktcdvd seems to rely on it preserving some members. So I'd rather fixup pktcdvd instead.Does this work for you?
Well, it's better: I was able to mount the DVD-RW, sync, and write data, but kernel oopsed when I unmounted the drive:
Jens,
this patch, applied on top of your previous patch, solved it.
pktcdvd: don't rely on bio_init() preserving bio->bi_destructor
--- drivers/block/pktcdvd.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/block/pktcdvd.c +2 -0
@@ -1156,6 +1156,7 @@ static void pkt_gather_data(struct pktcd bio->bi_end_io = pkt_end_io_read; bio->bi_private = pkt; bio->bi_io_vec = vec; + bio->bi_destructor = pkt_bio_destructor; p = (f *CD_FRAMESIZE ) /PAGE_SIZE ; offset = (f *CD_FRAMESIZE ) %PAGE_SIZE ;
@@ -1453,6 +1454,7 @@ static void pkt_start_write(struct pktcd pkt->w_bio->bi_end_io = pkt_end_io_packet_write; pkt->w_bio->bi_private = pkt; pkt->w_bio->bi_io_vec = bvec; + pkt->w_bio->bi_destructor = pkt_bio_destructor;for (f =0 ; f < pkt->frames; f++)if (!bio_add_page (pkt->w_bio, bvec[f].bv_page,CD_FRAMESIZE , bvec[f].bv_offset))BUG ();
Re: [PATCH] pktcdvd: don't rely on bio_init() preserving bio->bi_destructor
Quoted 28 lines · Laurent Riffard
Quoted 18 lines · Laurent Riffard
Quoted 7 lines · Jens Axboe
Quoted 6 lines · Jens Axboe
Quoted 5 lines · Laurent Riffard
Quoted 4 lines · Laurent Riffard
Jens,
git-block.patch broke pktcdvd, I've got an Oops while syncing:
[snip]
Quoted 9 lines
Quoted 9 lines
Quoted 6 lines
I dig through git-block.patch and the culprit seems to be commit
c94f1c4ac87862675c8d70941973bc3a69aff5d8"bio: usememset()inbio_init()".Maybe the real bug is a bad bio initialization in pktcdvd driver, which is revealed by this commit ?
At least pktcdvd doesn't expect bio->bi_io_vec[] to be cleared, that's why it's oopsing now. I'll revert this bit for now, thanks for the report.
Quoted 8 lines
Quoted 5 lines
Rethinking this, I think
bio_init()is doing the right thing, only pktcdvd seems to rely on it preserving some members. So I'd rather fixup pktcdvd instead.Does this work for you?
Well, it's better: I was able to mount the DVD-RW, sync, and write data, but kernel oopsed when I unmounted the drive:
Quoted 7 lines
Jens,
this patch, applied on top of your previous patch, solved it.
pktcdvd: don't rely on
bio_init()preservingbio->bi_destructor
Ah great, thanks for following up on this! Applied.
Signature · 1 line
Jens Axboe