Re: plain 2.2.X: no ide CD-RW?

2001-06-23 Thread Carlos E Gorges

HI all,


> For a while now, I've been running a 2.4 kernel, but (for my research)
> I need to now run a 2.2 kernel.  I was hoping to just run a stock
> 2.2.19, but I've found that I can't use my CD-RW drive, either as a
> plain IDE cdrom, or as a scsi-emulated one.  (I have ide-scsi, ide-cd,
> and scsi all as modules.)
>
> When I try things as scsi-emulated CD-ROM, I get the following:
>
>   Jun 22 19:58:15 lydia kernel: ide-scsi: The scsi wants to send us
>  more data than expected - discarding data
>   Jun 22 19:58:16 lydia last message repeated 83 times

> Instead, if I try ide-cd, I get these messages:
>
>   Jun 22 20:11:38 lydia kernel: hdc: status error: status=0x58 {
>  DriveReady SeekComplete DataRequest }
>   Jun 22 20:11:38 lydia kernel: hdc: drive not ready for command
>   Jun 22 20:11:38 lydia kernel: hdc: status timeout: status=0xd0 { Busy }
>   Jun 22 20:11:38 lydia kernel: hdc: DMA disabled
>   Jun 22 20:11:38 lydia kernel: hdc: drive not ready for command
>   Jun 22 20:11:38 lydia kernel: hdc: ATAPI reset complete
>   Jun 22 20:11:48 lydia kernel: hdc: irq timeout: status=0x80 { Busy }
>   Jun 22 20:11:48 lydia kernel: hdc: ATAPI reset complete
>   Jun 22 20:11:59 lydia kernel: hdc: irq timeout: status=0x80 { Busy }
>   Jun 22 20:11:59 lydia kernel: end_request: I/O error, dev 16:00
>  (hdc), sector 64
>   Jun 22 20:11:59 lydia kernel: hdc: status timeout: status=0x80 { Busy }
>   Jun 22 20:11:59 lydia kernel: hdc: drive not ready for command
>
> I have these problems with 2.2.1[7-9] & 2.2.20pre5.  However, if I add
> one of the IDE patches, all is well.  2.4 kernels have never given me
> these sorts of problems.
>
> I have a 440LX motherboard (HP Pavilion 8260), hooked up to a Plextor
> PX-W8432T 4/8/32 CD-RW, attached as /dev/hdc.  I also have an OnStream
> DI-30 as /dev/hdd, and a Maxtor 91020D6 10G drive as /dev/hda.
>
> I can live with just running an ide-patched kernel, but it seems very
> odd that I can't even use the drive as an IDE CD-ROM drive with a
> stock 2.2 kernel.  Is this a bug, or a limitation?  I'd be happy to
> perform any tests to try and track this problem down.

Same here Anil,
w/ k2.4.4/2.4.5 in a dual p3 550 ( Intel 440BX ), CREATIVE CD-RW RW8432E (IDE).

< insmod ide-scsi / sr_mod >
ide-scsi: (IO,CoD) != (0,1) while issuing a packet command
hdb: DMA disabled
hdb: ATAPI reset complete
ide-scsi: The scsi wants to send us more data than expected - discarding data
ide-scsi: transferred 256 of 352 bytes
  Vendor: CREATIVE  Model: CD-RW RW8432E Rev: 1.05
  Type:   CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
ide-scsi: The scsi wants to send us more data than expected - discarding data
ide-scsi: transferred 64 of 82 bytes
ide-scsi: The scsi wants to send us more data than expected - discarding data
ide-scsi: transferred 132 of 158 bytes
sr0: scsi3-mmc drive: 264x/359x writer cd/rw xa/form2 cdda cartridge changer
ide-scsi: The scsi wants to send us more data than expected - discarding data
ide-scsi: transferred 64 of 82 bytes


sr0: CDROM (ioctl) reports ILLEGAL REQUEST.
MSDOS: Hardware sector size is 2048
fatfs: bogus cluster size
VFS: Can't find a valid MSDOS filesystem on dev 0b:00.
MSDOS: Hardware sector size is 2048
fatfs: bogus cluster size
VFS: Can't find a valid MSDOS filesystem on dev 0b:00.


cya;

>   --Anil
>
> - --
> Anil Somayaji ([EMAIL PROTECTED])
> http://www.cs.unm.edu/~soma
> +1 505 872 3150
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.0.6 (GNU/Linux)
>
> iEYEARECAAYFAjs0SFkACgkQXOpXEmNZ3SeAtgCeL8j+ZvfANCB0acV6kL6AQFtB
> GdUAnidlfYrkv1o+hSlO4kNoWUNXw43v
> =RqEF
> -END PGP SIGNATURE-
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [EMAIL PROTECTED]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

-- 
 _
 Carlos E Gorges  
 ([EMAIL PROTECTED])
 Tech informática LTDA
 Brazil   
 _

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



Re: [PATCH] 245-ac7 i2c Config.in fix ( please ignore the previous message )

2001-06-03 Thread Carlos E Gorges


Please ignore the previous message, 
this is a problem caused by sensors patch.

cya;

-- 
 _
 Carlos E Gorges  
 ([EMAIL PROTECTED])
 Tech informática LTDA
 Brazil   
 _

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



[PATCH] 245-ac4

2001-05-30 Thread Carlos E Gorges
->s_ncg; i++)
if (sb->u.ufs_sb.s_ucg[i]) brelse (sb->u.ufs_sb.s_ucg[i]);
kfree (sb->u.ufs_sb.s_ucg);
for (i = 0; i < UFS_MAX_GROUP_LOADED; i++)
-   if (sb->u.ufs_sb.s_ucpi[i]) kfree (sb->u.ufs_sb.s_ucpi[i]);
+   kfree (sb->u.ufs_sb.s_ucpi[i]);
}
UFSD(("EXIT (FAILED)\n"))
return 0;
@@ -823,7 +823,7 @@
 
 failed:
if (ubh) ubh_brelse_uspi (uspi);
-   if (uspi) kfree (uspi);
+   kfree (uspi);
UFSD(("EXIT (FAILED)\n"))
return(NULL);
 }
diff -ur --exclude=*~ --exclude=*.rej linux-245ac/include/linux/skbuff.h 
linux-245ac-carlos/include/linux/skbuff.h
--- linux-245ac/include/linux/skbuff.h  Fri May 25 21:01:43 2001
+++ linux-245ac-carlos/include/linux/skbuff.h   Wed May 30 13:40:19 2001
@@ -286,6 +286,7 @@
  
 static inline void kfree_skb(struct sk_buff *skb)
 {
+   if(!skb) return;
if (atomic_read(&skb->users) == 1 || atomic_dec_and_test(&skb->users))
__kfree_skb(skb);
 }
diff -ur --exclude=*~ --exclude=*.rej linux-245ac/net/ax25/af_ax25.c 
linux-245ac-carlos/net/ax25/af_ax25.c
--- linux-245ac/net/ax25/af_ax25.c  Thu Apr 12 15:11:39 2001
+++ linux-245ac-carlos/net/ax25/af_ax25.c   Wed May 30 13:55:31 2001
@@ -1207,7 +1207,7 @@
}
 
if (sk->type == SOCK_SEQPACKET && 
ax25_find_cb(&sk->protinfo.ax25->source_addr, &fsa->fsa_ax25.sax25_call, digi, 
sk->protinfo.ax25->ax25_dev->dev) != NULL) {
-   if (digi != NULL) kfree(digi);
+   kfree(digi);
return -EADDRINUSE; /* Already such a connection */
}
 
diff -ur --exclude=*~ --exclude=*.rej linux-245ac/net/core/skbuff.c 
linux-245ac-carlos/net/core/skbuff.c
--- linux-245ac/net/core/skbuff.c   Thu Apr 12 15:11:39 2001
+++ linux-245ac-carlos/net/core/skbuff.cWed May 30 13:34:21 2001
@@ -295,6 +295,7 @@
  */
 void kfree_skbmem(struct sk_buff *skb)
 {
+   if(!skb) return;
skb_release_data(skb);
skb_head_to_pool(skb);
 }
--

 _
 Carlos E Gorges  
 ([EMAIL PROTECTED])
 Tech informática LTDA
 Brazil   
 _

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



[PATCH] tiny cleanup ...

2001-05-28 Thread Carlos E Gorges

Hi all,

The following patch remove some unused vars ... ( valid for 2.4.4-ac18 && 
2.4.5-[vanilla,ac?] )

diff --exclude=*~ -ur linux-245ac/drivers/char/drm/r128_cce.c 
linux-245ac-carlos/drivers/char/drm/r128_cce.c
--- linux-245ac/drivers/char/drm/r128_cce.c Mon May 28 04:53:40 2001
+++ linux-245ac-carlos/drivers/char/drm/r128_cce.c  Mon May 28 04:40:21 2001
@@ -1016,11 +1016,8 @@
 {
 drm_file_t *priv = filp->private_data;
 drm_device_t *dev = priv->dev;
-   drm_r128_private_t *dev_priv = dev->dev_private;
drm_r128_packet_t packet;
-   u32 *buffer;
int c;
-   int size;
int ret = 0;
 
 #if 0
diff --exclude=*~ -ur linux-245ac/drivers/mtd/nftlmount.c 
linux-245ac-carlos/drivers/mtd/nftlmount.c
--- linux-245ac/drivers/mtd/nftlmount.c Mon May 28 04:53:35 2001
+++ linux-245ac-carlos/drivers/mtd/nftlmount.c  Mon May 28 04:41:11 2001
@@ -359,8 +359,7 @@
 {
struct nftl_uci1 h1;
unsigned int erase_mark;
-   int i, retlen;
-   unsigned char buf[SECTORSIZE];
+   int retlen;
 
/* check erase mark. */
if (MTD_READOOB(nftl->mtd, block * nftl->EraseSize + SECTORSIZE + 8, 8, 
diff --exclude=*~ -ur linux-245ac/drivers/net/irda/toshoboe.c 
linux-245ac-carlos/drivers/net/irda/toshoboe.c
--- linux-245ac/drivers/net/irda/toshoboe.c Mon May 28 04:56:22 2001
+++ linux-245ac-carlos/drivers/net/irda/toshoboe.c  Mon May 28 04:41:33 2001
@@ -695,7 +695,6 @@
 {
   struct toshoboe_cb *self;
   struct net_device *dev;
-  struct pm_dev *pmdev;
   int i = 0;
   int ok = 0;
   int err;
diff --exclude=*~ -ur linux-245ac/drivers/parport/parport_pc.c 
linux-245ac-carlos/drivers/parport/parport_pc.c
--- linux-245ac/drivers/parport/parport_pc.cMon May 28 04:56:22 2001
+++ linux-245ac-carlos/drivers/parport/parport_pc.c Mon May 28 04:41:53 2001
@@ -2798,7 +2798,6 @@
 static int __init parport_pc_find_ports (int autoirq, int autodma)
 {
int count = 0, r;
-   struct pci_dev *dev;
 
 #ifdef CONFIG_PARPORT_PC_SUPERIO
detect_and_report_winbond ();
diff --exclude=*~ -ur linux-245ac/drivers/scsi/scsi_debug.c 
linux-245ac-carlos/drivers/scsi/scsi_debug.c
--- linux-245ac/drivers/scsi/scsi_debug.c   Mon May 28 04:53:48 2001
+++ linux-245ac-carlos/drivers/scsi/scsi_debug.cMon May 28 04:42:14 2001
@@ -662,7 +662,6 @@
 
 int scsi_debug_biosparam(Disk * disk, kdev_t dev, int *info)
 {
-   int size = disk->capacity;
info[0] = N_HEAD;
info[1] = N_SECTOR;
info[2] = N_CYLINDER;
diff --exclude=*~ -ur linux-245ac/drivers/sound/via82cxxx_audio.c 
linux-245ac-carlos/drivers/sound/via82cxxx_audio.c
--- linux-245ac/drivers/sound/via82cxxx_audio.c Mon May 28 04:54:00 2001
+++ linux-245ac-carlos/drivers/sound/via82cxxx_audio.c  Mon May 28 04:42:33 2001
@@ -1371,7 +1371,6 @@
 static int __init via_ac97_reset (struct via_info *card)
 {
struct pci_dev *pdev = card->pdev;
-   u8 tmp8;
u16 tmp16;
 
DPRINTK ("ENTER\n");
diff --exclude=*~ -ur linux-245ac/net/irda/irnet/irnet_irda.c 
linux-245ac-carlos/net/irda/irnet/irnet_irda.c
--- linux-245ac/net/irda/irnet/irnet_irda.c Mon May 28 04:53:06 2001
+++ linux-245ac-carlos/net/irda/irnet/irnet_irda.c  Mon May 28 04:43:00 2001
@@ -1081,7 +1081,6 @@
LOCK_STATUS lock)
 {
   irnet_socket *   self = (irnet_socket *) instance;
-  LOCAL_FLOW   oldflow = self->tx_flow;
 
   DENTER(IRDA_TCB_TRACE, "(self=0x%X)\n", (unsigned int) self);
   DASSERT(self != NULL, , IRDA_CB_ERROR, "Self is NULL !!!\n");
--

 _
 Carlos E Gorges  
 ([EMAIL PROTECTED])
 Tech informática LTDA
 Brazil   
 _

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



[PATCH] spin[un]locks revision on new cmpci driver (5.64)

2001-05-25 Thread Carlos E Gorges
db->mapped = db->ready = 0;
 }
 
- -
 /* Ch1 is used for playback, Ch0 is used for recording */
 
 static int prog_dmabuf(struct cm_state *s, unsigned rec)
@@ -939,7 +951,6 @@
unsigned char fmt;
unsigned long flags;
 
- - spin_lock_irqsave(&s->lock, flags);
fmt = s->fmt;
if (rec) {
stop_adc(s);
@@ -948,7 +959,7 @@
stop_dac(s);
fmt >>= CM_CFMT_DACSHIFT;
}
- - spin_unlock_irqrestore(&s->lock, flags);
+
fmt &= CM_CFMT_MASK;
db->hwptr = db->swptr = db->total_bytes = db->count = db->error = 
db->endcleared = 0;
if (!db->rawbuf) {
@@ -1212,6 +1223,7 @@
[SOUND_MIXER_CD] = { DSP_MIX_CDVOLIDX_L, DSP_MIX_CDVOLIDX_R, 
MT_5MUTE, 0x04, 0x02 },
[SOUND_MIXER_LINE]   = { DSP_MIX_LINEVOLIDX_L,   DSP_MIX_LINEVOLIDX_R,   
MT_5MUTE, 0x10, 0x08 },
[SOUND_MIXER_MIC]= { DSP_MIX_MICVOLIDX,  DSP_MIX_MICVOLIDX,  
MT_5MUTEMONO, 0x01, 0x01 },
+
[SOUND_MIXER_SYNTH]  = { DSP_MIX_FMVOLIDX_L, DSP_MIX_FMVOLIDX_R, 
MT_5MUTE, 0x40, 0x00 },
[SOUND_MIXER_VOLUME] = { DSP_MIX_MASTERVOLIDX_L, DSP_MIX_MASTERVOLIDX_R, 
MT_5MUTE, 0x00, 0x00 },
[SOUND_MIXER_PCM]= { DSP_MIX_VOICEVOLIDX_L,  DSP_MIX_VOICEVOLIDX_R,  
MT_5MUTE, 0x00, 0x00 }
@@ -2546,7 +2558,11 @@
init_timer(&s->midi.timer);
s->midi.timer.expires = jiffies+1;
        s->midi.timer.data = (unsigned long)s;
+
+   spin_unlock_irqrestore(&s->lock, flags);
s->midi.timer.function = cm_midi_timer;
+   spin_lock_irqsave(&s->lock, flags);
+
add_timer(&s->midi.timer);
}
if (file->f_mode & FMODE_READ) {
- --
 _
 Carlos E Gorges
 ([EMAIL PROTECTED])
 Tech informática LTDA
 Brazil
 _




-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iQIXAwUBOw8AkhfQA3nqPEsZFAO5+wgAx8Dkg/n3OAFF0Hp5pBmwe8rIoOMXo+sH
HZfMdeNUHMXCGy+MZhdufzj6CpVs8pgYILZqXS/cWsn2a+nAJFvBTECL70IdPUFE
bQCyDWhsaOK8jLdQEq/xOChDy4rww72XcupCWLF8KC9o3hZSxZGgDyOdltbk+//l
3sqThWQusoAkjTZjWfhpf3t5k54p3GNH2wKG5RXxLaI+r9Ef8YlYk8UGDlEhrbCW
S5SWkTShrS3iighe6I05XAJsBN5x6BSOAIODH+/tPOSXsJcR7gVmyzvKoPbLXeeT
auvnExxfeFQ7jyT08smeCXh11OxJUe1aRlAkAqcIIIgiCzLgGvt+Gwf/QzYycCuo
nmU2t81OvP95N0u8mbJwDNWxVCtWen4glir2VUfLc2GH83n3+LCEMmtKpZOviIfs
A6oON9l2uO2CfACTH/tW6PaCzEz1sZ5yZ79d1Rdf3d5qbZfAVgQFLF+Oqfthvbbe
8xj1i94rkLM/TZw/vbmLTK+DCzXI3GrXE+RI2kDa8I4hYbt6WksorABamjVKGR9v
imyMkmGyScvVtO6PM1zKbfGiOaC6GFuUjTPNNP4/CaVg66z4/3WIGfVNJkj0Ppn2
r9qdq6V39hs4xsP+gQfFsZka46/RnpGg431ZjwxmOxWnOdgerenRRpd/Wpp+PQx+
1Esxgt7dNTeWJw==
=vypo
-END PGP SIGNATURE-
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



[PATCH] 2.4.0-test12 drivers/Makefile

2000-12-30 Thread Carlos E. Gorges




--- linux-2.4.0-t12.vanilla+reiser/drivers/Makefile Thu Dec 21 12:52:17 2000
+++ linux-2.4.0-t12/drivers/MakefileSun Dec 31 00:38:09 2000
@@ -42,6 +42,7 @@
 subdir-$(CONFIG_HAMRADIO)  += net/hamradio
 subdir-$(CONFIG_ACPI)  += acpi
 
+subdir-$(CONFIG_I2C)   += i2c
 
 # Subdirectories that should be entered when MAKING_MODULES=1, even if set to 'y'.
 both-m := $(filter $(mod-subdirs), $(subdir-y))
--EOF--

no coments :-).

cya;
-- 
 _
     Carlos E Gorges  
 ([EMAIL PROTECTED])
 Tech informática LTDA
 Brazil   
 _

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Possible patch for reiserfs-3.6.22 against 2.4.0-test12 w/ new_writepage

2000-12-19 Thread Carlos E. Gorges
295,7 +1295,7 @@
 #endif
 
 #ifdef __KERNEL__
-   run_task_queue(&tq_disk);
+   my_run_task_queue(&tq_disk);
current->policy |= SCHED_YIELD;
schedule();
 #endif
diff -Nur --exclude=Documentation linux-vanila/include/linux/fs.h 
linux-reiser/include/linux/fs.h
--- linux-vanila/include/linux/fs.h Tue Dec 19 17:58:45 2000
+++ linux-reiser/include/linux/fs.h Tue Dec 19 16:29:46 2000
@@ -991,6 +991,9 @@
 extern int try_to_free_buffers(struct page *, int);
 extern void refile_buffer(struct buffer_head * buf);
 
+/* reiserfs_writepage needs this */
+extern void set_buffer_async_io(struct buffer_head *bh) ;
+
 #define BUF_CLEAN  0
 #define BUF_LOCKED 1   /* Buffers scheduled for write */
 #define BUF_DIRTY  2   /* Dirty buffers, not yet scheduled for write */
diff -Nur --exclude=Documentation linux-vanila/include/linux/reiserfs_fs.h 
linux-reiser/include/linux/reiserfs_fs.h
--- linux-vanila/include/linux/reiserfs_fs.hTue Dec 19 17:58:45 2000
+++ linux-reiser/include/linux/reiserfs_fs.hTue Dec 19 17:23:49 2000
@@ -2076,4 +2076,30 @@
 
 #endif /* _LINUX_REISER_FS_H */
 
+extern inline void my_run_task_queue(task_queue *list)
+{
+   unsigned long flags;
+   struct list_head *next;
+
+   spin_lock_irqsave(&tqueue_lock, flags);
+   next = list->next;
+   if (next != list) {
+   void *arg;
+   void (*f) (void *);
+   struct tq_struct *p;
+
+   list_del(next);
+   p = list_entry(next, struct tq_struct, list);
+   arg = p->data;
+   f = p->routine;
+   p->sync = 0;
+   spin_unlock_irqrestore(&tqueue_lock, flags);
+
+   if (f)
+   f(arg);
+   return;
+   }
+   spin_unlock_irqrestore(&tqueue_lock, flags);
+}
+
 
diff -Nur --exclude=Documentation linux-vanila/kernel/ksyms.c 
linux-reiser/kernel/ksyms.c
--- linux-vanila/kernel/ksyms.c Tue Dec 19 17:58:47 2000
+++ linux-reiser/kernel/ksyms.c Tue Dec 19 16:29:14 2000
@@ -159,6 +159,7 @@
 EXPORT_SYMBOL(d_lookup);
 EXPORT_SYMBOL(__d_path);
 EXPORT_SYMBOL(mark_buffer_dirty);
+EXPORT_SYMBOL(set_buffer_async_io); /* for reiserfs_writepage */
 EXPORT_SYMBOL(__mark_buffer_dirty);
 EXPORT_SYMBOL(__mark_inode_dirty);
 EXPORT_SYMBOL(get_empty_filp);



-- 
 _
 Carlos E Gorges  
 ([EMAIL PROTECTED])
 Tech informática LTDA
 Brazil   
 _

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Possible patch for reiserfs-3.6.22 against 2.4.0-test12

2000-12-13 Thread Carlos E. Gorges

> Hiya.
> 
> The latest reiserfs patch on ftp.namesys.com causes compilation errors
> against test12 due to the task queue changes. Does this look correct?
> 

Please, somebody can test this patch

-- BOF --
diff -ur linux-bk/fs/reiserfs/journal.c linux/fs/reiserfs/journal.c
--- linux-bk/fs/reiserfs/journal.c  Tue Dec 12 14:38:22 2000
+++ linux/fs/reiserfs/journal.c Tue Dec 12 17:41:19 2000
@@ -77,7 +77,9 @@
 
 /* wait on this if you need to be sure you task queue entries have been run */
 static DECLARE_WAIT_QUEUE_HEAD(reiserfs_commit_thread_done) ;
-DECLARE_TASK_QUEUE(reiserfs_commit_thread_tq) ;
+
+/*DECLARE_TASK_QUEUE(reiserfs_commit_thread_tq) ; */
+task_queue *reiserfs_commit_thread_tq = NULL;
 
 #define JOURNAL_TRANS_HALF 1018   /* must be correct to keep the desc and commit 
structs at 4k */
 
@@ -1762,7 +1764,7 @@
   ct->p_s_sb = p_s_sb ;
   ct->jindex = jindex ;
   ct->task_done = NULL ;
-  ct->task.next = NULL ;
+  INIT_LIST_HEAD(&ct->task.list);
   ct->task.sync = 0 ;
   ct->task.routine = (void *)(void *)reiserfs_journal_commit_task_func ; 
   ct->self = ct ;
@@ -1777,7 +1779,7 @@
   ct = kmalloc(sizeof(struct reiserfs_journal_commit_task), GFP_BUFFER) ;
   if (ct) {
 setup_commit_task_arg(ct, p_s_sb, jindex) ;
-queue_task(&(ct->task), &reiserfs_commit_thread_tq);
+queue_task(&(ct->task), reiserfs_commit_thread_tq);
 wake_up(&reiserfs_commit_thread_wait) ;
   } else {
 #ifdef CONFIG_REISERFS_CHECK
@@ -1813,13 +1814,13 @@
   lock_kernel() ;
   while(1) {
 
-while(reiserfs_commit_thread_tq) {
-  run_task_queue(&reiserfs_commit_thread_tq) ;
+while(reiserfs_commit_thread_tq) { 
+   run_task_queue(reiserfs_commit_thread_tq) ;
 }
 
 /* if there aren't any more filesystems left, break */
 if (reiserfs_mounted_fs_count <= 0) {
-  run_task_queue(&reiserfs_commit_thread_tq) ;
+  run_task_queue(reiserfs_commit_thread_tq) ;
   break ;
 }
 wake_up(&reiserfs_commit_thread_done) ;
diff -ur linux-bk/include/linux/reiserfs_fs.h linux/include/linux/reiserfs_fs.h
--- linux-bk/include/linux/reiserfs_fs.hTue Dec 12 14:39:34 2000
+++ linux/include/linux/reiserfs_fs.h   Tue Dec 12 17:31:09 2000
@@ -1565,8 +1565,8 @@
   int do_not_lock ; 
 } ;
 
-extern task_queue reiserfs_commit_thread_tq ;
-extern task_queue reiserfs_end_io_tq ;
+extern task_queue *reiserfs_commit_thread_tq ;
+extern task_queue *reiserfs_end_io_tq ;
 extern wait_queue_head_t reiserfs_commit_thread_wait ;
 
 /* biggest tunable defines are right here */
-- EOF --

cya;

-- 
 _
 Carlos E Gorges  
 ([EMAIL PROTECTED])
 Tech informática LTDA
 Brazil   
 _

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



[BUG] 2.4.0-test11 + reiser 3.6.18

2000-11-21 Thread Carlos E. Gorges
 msgout: 1-2-3-1.
sym53c895-0-<8,0>: wide msgin: 1-2-3-1.
sym53c895-0-<8,0>: wide: wide=1 chg=0.
sym53c895-0-<8,0>: sync msgout: 1-3-1-c-1f.
sym53c895-0-<8,0>: sync msg in: 1-3-1-c-1f.
sym53c895-0-<8,0>: sync: per=12 scntl3=0xb0 scntl4=0x0 ofs=31 fak=0 chg=0.
sym53c895-0-<8,*>: FAST-20 WIDE SCSI 40.0 MB/s (50 ns, offset 31)
SCSI device sda: 17836668 512-byte hdwr sectors (9132 MB)
 sda: sda1
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
kmem_create: Forcing size word alignment - nfs_fh
reiserfs: checking transaction log (device 03:02) ...
Warning, log replay starting on readonly filesystem
reiserfs: replayed 5 transactions in 2 seconds
Using tea hash to sort names
reiserfs: using 3.5.x disk format
ReiserFS version 3.6.18
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 240k freed
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Adding Swap: 80288k swap-space (priority -1)
reiserfs: checking transaction log (device 08:01) ...
reiserfs: replayed 3 transactions in 3 seconds
Using tea hash to sort names
reiserfs: using 3.5.x disk format
ReiserFS version 3.6.18
cmpci: version v2.41-nomodem time 14:23:18 Nov 20 2000
cmpci: found CM8738 adapter at io 0xdc00 irq 19
3c59x.c:LK1.1.11 13 Nov 2000  Donald Becker and others. 
http://www.scyld.com/network/vortex.html $Revision: 1.102.2.46 $
See Documentation/networking/vortex.txt
eth0: 3Com PCI 3c905B Cyclone 100baseTx at 0xd800,  00:50:04:99:4a:bd, IRQ 18
  8K byte-wide RAM 5:3 Rx:Tx split, 10baseT interface.
  Enabling bus-master transmits and whole-frame receives.
eth0: using default media 10baseT

cya;
-- 
 _
 Carlos E Gorges  
 ([EMAIL PROTECTED])
 Tech informática LTDA
 Brazil   
 _

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



[PATCH] Unresolved Symbols in wavefront module ( k 2.2.17 )

2000-11-12 Thread Carlos E. Gorges


Hi all,

This fixes the unresolved symbol detect_wf_mpu to module
wavefront .

Patch attached.

cya;
-- 
 _
 Carlos E Gorges  
 ([EMAIL PROTECTED])
 Tech informática LTDA
 Brazil   
 _


 wavefront-unresolved_symbols.diff.gz


ipac usb abnt2 (others?) keyboard fix

2000-10-31 Thread Carlos E. Gorges

Hi all,

This fixes "/" key in abnt2 ( pt_BR ) keyboard of ipac ( compac computer ).
2.2.17 fix need a suse usb backport patch ( I use test2-pre2 ).

-- 
 _
     Carlos E Gorges  
 ([EMAIL PROTECTED])
 Tech informática LTDA
 Brazil   
 _


 ipac-usbabnt2-2.2.17.diff.gz
 ipac-usbabnt2-2.4.0-test10.diff.gz