Re: SCSI Tape Corruption - update 2

2001-04-14 Thread Chip Salzenberg
more likely to show up with Cerberus than with a simple memtest. -- Chip Salzenberg - a.k.a. - <[EMAIL PROTECTED]> "We have no fuel on board, plus or minus 8 kilograms." -- NEAR tech - To unsubscribe from this list: send the line "unsubscribe li

Re: Your message to linux-lvm awaits moderator approval

2001-04-19 Thread Chip Salzenberg
Rik van Riel writes: >[...] Andreas' patches got dropped over and over again and comments >on the LVM code got refused by the moderators at Sistina ... "The Net interprets censorship as damage and routes around it." -- John Gilmore -- Chip Salzenberg

Re: aic7xxx (and sym53c8xx) plans

2001-02-14 Thread Chip Salzenberg
lso like to put in a good word for the Sym-2 Symbios/NCR drivers from Gerard Roudier: ftp://ftp.tux.org/roudier/drivers/portable/sym-2.1.x/ Joe-Bob says: "Check it out." -- Chip Salzenberg- a.k.a. -<[EMAIL PROTECTED]> "Give me immortality, or

Re: aic7xxx (and sym53c8xx) plans

2001-02-15 Thread Chip Salzenberg
a lot of work ... -- Chip Salzenberg - a.k.a. - <[EMAIL PROTECTED]> "We have no fuel on board, plus or minus 8 kilograms." -- NEAR tech - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

[PATCH] 2.2.18pre21: DRM update

2000-11-17 Thread Chip Salzenberg
This is an update from the main DRM tree, but with cosmetic changes removed and only meat left. This patch is already in VA's shipping kernel, so you know we really trust it. :-, BTW, this patch is not fluff: It includes bug fixes. But it's pretty big, so if you want to wait until 2.2.19 I'll

[PATCH] 2.2.18: d_move() with self-root dentries

2000-11-21 Thread Chip Salzenberg
->d_parent != dentry) + list_add(&target->d_child, &target->d_parent->d_subdirs); + else { + INIT_LIST_HEAD(&target->d_child); + target->d_parent = target; + } } -- Chip Salzenberg- a.k.a. -

[PATCH] 2.2.18: d_move() with self-root dentries (Dentry Corruption!)

2000-11-21 Thread Chip Salzenberg
d(&target->d_child, &target->d_parent->d_subdirs); + else { + INIT_LIST_HEAD(&target->d_child); + target->d_parent = target; + } } -- Chip Salzenberg- a.k.a. -<[EMAIL PROTECTED]> "Give me immor

Re: NFSD dentry manipulation (was Re: d_move())

2000-11-23 Thread Chip Salzenberg
. */ + struct inode *inode = igrab(dotdot->d_inode); + dput(dotdot); /* not hashed, thus discarded */ + parent = nfsd_arrange_dentry(inode); } - dput(tdentry); /* it is not hashed, it will be discarded */ - return pdentry; +

Re: [PATCH] blindingly stupid 2.2 VM bug

2000-11-24 Thread Chip Salzenberg
y or we freed a page. */ + if (nr_free_pages > freepages.low) + return 1; + + return count < SWAP_CLUSTER_MAX; } -- Chip Salzenberg- a.k.a. -<[EMAIL PROTECTED]> "Give me immortality, or give me death!" // Firesign Theatre - To

[PATCH] 2.2 vs. CAP_CHOWN and CAP_FOWNER

2000-08-29 Thread Chip Salzenberg
nt->fsuid != inode->i_uid) && !capable(CAP_FOWNER)) + if (current->fsuid != inode->i_uid && !capable(CAP_FOWNER)) goto error; /* Also check the setgid bit! */ -- Chip Salzenberg - a.k.a. - <[EMAIL PROTE

[PATCH] 2.2: Rusty's fasync patch backported

2000-08-29 Thread Chip Salzenberg
else error = -ENOTTY; } + if (error != 0) + break; + if (on) filp->f_flags |= FASYNC; -- Chip Salzenberg - a.k.a. - <[EMAIL PRO

[PATCH] 2.2: Consistency in ext2 error setting

2000-08-29 Thread Chip Salzenberg
sb->s_blocksize); if (tmp == *p) return result; -- Chip Salzenberg - a.k.a. - <[EMAIL PROTECTED]> "I wanted to play hopscotch with the impenetrable mystery of existence, but he stepped in a wormhole and had to

[PATCH] 2.2: vfat filename creation rules

2000-08-29 Thread Chip Salzenberg
force_long = MSDOS_SB(dir->i_sb)->options.force_long; nls = MSDOS_SB(dir->i_sb)->nls_io; *slots = 1; - res = vfat_valid_longname(name, len, xlate); - if (res < 0) - return res; if (vfat_valid_shortname(name, len, utf8) >= 0)

[PATCH] 2.2: /proc/config.gz

2000-08-29 Thread Chip Salzenberg
printf("\\x%02x",ch); + if(total%16==0) break; + } + printf("\"\n"); + } while(ch!=EOF); + + if(argc>1) printf("\t;\n\nconst int %s_size = %d;\n",argv[1],total); + + return 0; +}

[PATCH] 2.2: Support O_NONBLOCK for SCSI disks

2000-08-29 Thread Chip Salzenberg
127,9 @@ static int check_scsidisk_media_change(k * struct and tested at open ! Daniel Roche ( [EMAIL PROTECTED] ) */ - rscsi_disks[target].ready = 1; /* FLOPTICAL */ retval = rscsi_disks[target].device->changed; -if(!flag) rscsi_disks[target].device->changed =

[PATCH] 2.2: Magic patch for older Symbios SCSI

2000-08-29 Thread Chip Salzenberg
/scsi/sym53c8xx.cSat Jun 17 17:49:46 2000 @@ -4792,5 +4792,5 @@ printk(KERN_INFO NAME53C "%s-%d: rev=0x% #define XXX0 #else -#define XXX3 +#define XXX2 #endif np->script0->dataphase[XXX] = cpu_to_scr(SCR_JUMP); -- Chip Salzenberg

[PATCH] 2.2: Refinements to CONFIG_IP_PNP

2000-08-29 Thread Chip Salzenberg
* - use all available devices * : - *dhcp|bootp|rarp - use given protocol - *both or empty- use both BOOTP and RARP (not DHCP) - *off or none - don't do autoconfig at all + *off|none - don't do autoconfig a

Re: [PATCH] 2.2: /proc/config.gz

2000-08-30 Thread Chip Salzenberg
According to Andi Kleen: > You probably don't have a .config.gz that is longer than a page > (4K), because in that case it'll badly corrupt your memory (or you > just haven't noticed the corruption yet ;) Hm... they're all <4K, but a few are pushing it. -- Chip

Re: [PATCH] 2.2: Magic patch for older Symbios SCSI

2000-08-30 Thread Chip Salzenberg
ed to use sym53c8xx with old chips but ncr53c8xx Some of our systems are mixed old and new. Making one driver work with both old and new is a significant life-simplification. -- Chip Salzenberg - a.k.a. - <[EMAIL PROTECTED]> "I wanted to play hopscotch with th

Re: [PATCH] 2.2: /proc/config.gz

2000-08-31 Thread Chip Salzenberg
According to Paul Gortmaker: > (things marked as not set or modular aren't relevant to the zImage) True, but reconstructing the (b)zImage isn't the only purpose of keeping a config file around. So I'd rather keep the modular settings. But maybe that's just

Re: Linux 2.2.18pre2

2000-09-01 Thread Chip Salzenberg
ays be someone with specific compatibility issues. -- Chip Salzenberg - a.k.a. - <[EMAIL PROTECTED]> "I wanted to play hopscotch with the impenetrable mystery of existence, but he stepped in a wormhole and had to go in early." // MST3K - To unsubscrib

Re: Linux 2.2.18pre1

2000-09-01 Thread Chip Salzenberg
words what items are > problematic? Yes, please ... without specifics we can't improve the situation. -- Chip Salzenberg - a.k.a. - <[EMAIL PROTECTED]> "I wanted to play hopscotch with the impenetrable mystery of existence, but he stepped in a wor

2.2.18pre2: slab.c missing return

2000-09-01 Thread Chip Salzenberg
k(cachep,0); + return __kmem_cache_shrink(cachep,0); } -- Chip Salzenberg - a.k.a. - <[EMAIL PROTECTED]> "I wanted to play hopscotch with the impenetrable mystery of existence, but he stepped in a wormhole and had to go in early." // MST3K - To unsubs

2.2.18pre2: gcc 2.7 doesn't like __attr__((unused))

2000-09-01 Thread Chip Salzenberg
d) +static void unused(void) { agp_enable(0); -- Chip Salzenberg - a.k.a. - <[EMAIL PROTECTED]> "I wanted to play hopscotch with the impenetrable mystery of existence, but he stepped in a wormhole and had to go in early." // MST3K - To unsub

[PATCH] 2.2.18pre2: AGP and the i810

2000-09-01 Thread Chip Salzenberg
if (dev->vendor == PCI_VENDOR_ID_INTEL) { struct pci_dev *i810_dev; @@ -2272,5 +2277,5 @@ static int __init agp_find_supported_dev } } - +#endif /* CONFIG_AGP_I810 */ /* find capndx */ -- Chip Salzenberg - a.k.a. -

[PATCH] 2.2.18pre2: fencepost error in __ioremap() [AGP]

2000-09-01 Thread Chip Salzenberg
temp_end = temp_addr + (size - 1); - for(i = MAP_NR(temp_addr); i < MAP_NR(temp_end); i++) { + for(i = MAP_NR(temp_addr); i <= MAP_NR(temp_end); i++) { if(!PageReserved(mem_map + i))

Re: 2.2.18pre2: gcc 2.7 doesn't like __attr__((unused))

2000-09-02 Thread Chip Salzenberg
According to Alan Cox: > > I'm not sure if __attribute__((unused)) has an equivalent in gcc 2.7, > > but as it appears in the AGP driver, it doesn't work with gcc 2.7. > > Try static void __attribute((unused)) unused(void) I'm afraid that didn&#

Re: Linux 2.2.18pre4

2000-09-13 Thread Chip Salzenberg
gmem. LVM. LFS. Rawio. Serial. Ext3. -- Chip Salzenberg - a.k.a. - <[EMAIL PROTECTED]> "I wanted to play hopscotch with the impenetrable mystery of existence, but he stepped in a wormhole and had to go in early." // MST3K - To unsubscribe from thi

Re: Distro kernel patches (was Re: Linux 2.2.18pre4)

2000-09-13 Thread Chip Salzenberg
cally clerical patch maintenance work. [1] I understand the RAID issue with disk format compatibility, which makes the current RAID patch unacceptable for official 2.2 usage. I just wish somebody would *solve* that issue.[2] [2] Having complained about a problem, have I j

Re: Distro kernel patches (was Re: Linux 2.2.18pre4)

2000-09-13 Thread Chip Salzenberg
According to Andre Hedrick: > On Wed, 13 Sep 2000, Chip Salzenberg wrote: > > that reducing it isn't worthwhile. The more de facto standard patches > > (*cough* NFS RAID[1] HedrickIDE *ahem*) can get into the 2.2 tree [...] > > Thanks Chip but the backporting to 2.

Re: ANNOUNCE: Linux Kernel ORB: kORBit

2000-12-13 Thread Chip Salzenberg
acters; that's not OK. -- Chip Salzenberg- a.k.a. -<[EMAIL PROTECTED]> "Give me immortality, or give me death!" // Firesign Theatre - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: ANNOUNCE: Linux Kernel ORB: kORBit

2000-12-13 Thread Chip Salzenberg
According to Alexander Viro: > On Wed, 13 Dec 2000, Chip Salzenberg wrote: > > According to Alexander Viro: > > > 9P is quite simple and unlike CORBA it had been designed for taking > > > kernel stuff to userland. Besides, authors definitely understand > > &g

Re: ANNOUNCE: Linux Kernel ORB: kORBit

2000-12-13 Thread Chip Salzenberg
According to Alexander Viro: > On Wed, 13 Dec 2000, Chip Salzenberg wrote: > > According to Alexander Viro: > > > On Wed, 13 Dec 2000, Chip Salzenberg wrote: > > > > According to Alexander Viro: > > > > > 9P is quite simple and unlike CORBA it had be

[PATCH] Re: FAIL: 2.2.18 + AA-VM-global-7 + serial 5.05

2001-01-01 Thread Chip Salzenberg
fdef CONFIG_COMPUTONE ip2_init(); -- Chip Salzenberg- a.k.a. -<[EMAIL PROTECTED]> "Give me immortality, or give me death!" // Firesign Theatre - 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: What is up with Redhat 7.0?

2000-10-01 Thread Chip Salzenberg
.3 to 5.4. BTW, VA's current kernel-in-testing has Trond's (now your! :-)) NFS, rock-solid NFSD from Neil Brown and Dave Higgen, and FXSAVE support back-ported from 2.4. I hope to get much of VA's kernel-in-testing patch set into mainline 2.2 ... keeping up with N/2 patches is

2.2.18pre13: Small patches

2000-10-02 Thread Chip Salzenberg
iguration */ -int ic_enable __initdata = 0; /* IP config enabled? */ +int ic_enable __initdata = /* IP config enabled? */ +#ifdef CONFIG_IP_PNP_AUTO + 1 +#else + 0 +#endif +; /* Protocol choice */ static int ic_proto_enabled __initdata = 0 -- Chip Salzenberg

[PATCH] 2.2.18pre13: USB tweak for VAIO

2000-10-02 Thread Chip Salzenberg
en, ((report->size - 1) >> 3) + 1); return; } +#endif for (n = 0; n < report->maxfield; n++) hid_input_field(device, report->field[n], data); -- Chip Salzenberg - a.k.a. - <[EMAIL PROTECTED]> &q

[PATCH] 2.2.18pre13: eepro100 debug tweaks

2000-10-02 Thread Chip Salzenberg
if(speedo_debug < 2) + printk(KERN_DEBUG "%s: The Tx ring is full -- don't add +anything!\n" + "sp->cur_tx[%d], sp->dirty_tx[%d], TX_RING_SIZE[%d], +TX_MULTICAST_SIZE[%d]\n", + dev->name, sp->cur_t

[PATCH] 2.2.18pre13: Small patches from Andrea

2000-10-02 Thread Chip Salzenberg
count also for failed buffer tries during shrink_mmap. * overcommit-1 Make sure to not understimate the available memory (the cache and buffers may be under the min percent). -- Chip Salzenberg - a.k.a. - <[EMAIL PROTECTED]> "I wanted to play ho

Re: [PATCH] 2.2.18pre13: eepro100 debug tweaks

2000-10-02 Thread Chip Salzenberg
turn 0; > > Surely that should check for root ? Now see, this is why peer review is a Good Thing. :-/ Yes, of course it should check for root. (I'm dunce-for-a-day for not seeing that immediately.) -- Chip Salzenberg - a.k.a. - <[EMAIL PROTECTED]&g

[PATCH] 2.2.18pre13: eepro100 debug, take 2

2000-10-02 Thread Chip Salzenberg
printk(KERN_DEBUG "%s: The Tx ring is full -- don't add +anything!\n" + "sp->cur_tx[%d], sp->dirty_tx[%d], TX_RING_SIZE[%d], +TX_MULTICAST_SIZE[%d]\n", + dev->name, sp->cur_tx, sp-&

Re: 2.2.18pre13: Small patches

2000-10-03 Thread Chip Salzenberg
can, and I'm quite glad he did. -- Chip Salzenberg - a.k.a. - <[EMAIL PROTECTED]> "I wanted to play hopscotch with the impenetrable mystery of existence, but he stepped in a wormhole and had to go in early." // MST3K - To unsubscribe from thi

Re: Linux 2.2.18pre2

2000-09-01 Thread Chip Salzenberg
According to David S. Miller: >o Acenic 0.45 fixes (Chip Salzenberg) > > This adds a huge comment claiming to fix some race condition, > but no actual code is changed. How can this be? :-) The bug fix was already in. The log message is misleadi

Re: [PATCH] 2.2.18 IDE tape problem, with ide-scsi

2001-03-06 Thread Chip Salzenberg
if (tape->debug_level >= 6) + printk(KERN_INFO "ide-tape: MOD_DEC_USE_COUNT" + " in idetape_chrdev_release\n"); #endif + } + MOD_DEC_USE_COUNT; } clear

Remote Management (was Re: Alert on LAN)

2001-03-14 Thread Chip Salzenberg
IBM says, as quoted by Terje Malmedal: > With the latest release, Alert on LAN 2 now extends IT > capabilities to remotely manage and control their > networked PCs: > > Remote system reboot upon report of a critical failure > Repair Operating System > Update BIOS image >

Re: IDE poweroff -> hangup

2001-03-14 Thread Chip Salzenberg
unknow solution. I await your fugly patch with bated breath and baited fishook. -- Chip Salzenberga.k.a.<[EMAIL PROTECTED]> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at htt

Re: Remote Management (was Re: Alert on LAN)

2001-03-15 Thread Chip Salzenberg
According to Terje Malmedal: > I am aware of some motherboards where you can configure the BIOS via > RS232. What I want is some way to actually reset a machine that is > hung. That's possible with VACM-style management. It's not just for BIOS. -- Chip Salzenberg

Re: [RFC] sane access to per-fs metadata (was Re: [PATCH] Documentation/ioctl-number.txt)

2001-04-01 Thread Chip Salzenberg
Alex Viro's idea is cleaner, but still requires a fair amount of coding even for simple interfaces. Why not have a kernel thread and use standard RPC techniques like sockets? Then you'd not have to invent anything unimportant like Yet Another IPC Technique. -- Chip Salzenber

Re: TCP Vegas implementation for Linux

2001-04-01 Thread Chip Salzenberg
Our (VA's) kernel includes a Vegas patch: ftp://ftp.valinux.com/pub/people/chip/linux-vegas-v2-patch-2.2 -- Chip Salzenberg - a.k.a. - <[EMAIL PROTECTED]> "We have no fuel on board, plus or minus 8 kilograms." -- NEAR tech - To unsubscribe fro

Re: [RFC] sane access to per-fs metadata (was Re: [PATCH] Documentation/ioctl-number.txt)

2001-04-02 Thread Chip Salzenberg
According to [EMAIL PROTECTED]: >[EMAIL PROTECTED] (Chip Salzenberg) wrote: >>Why not have a kernel thread and use standard RPC techniques like >>sockets? Then you'd not have to invent anything unimportant like >>Yet Another IPC Technique. > >kerneld (kmod's

[PATCH] inter_module_* backport to 2.2.18

2001-02-11 Thread Chip Salzenberg
ck); + if (mod->flags & MOD_DELETED) + res = 0; + else + __MOD_INC_USE_COUNT(mod); + spin_unlock(&unload_lock); + } + return res; +} + asmlinkage int sys_delete_module(const char *name_user) @@ -10

NEC IDE DVD writer breaks when writing with DMA; is this normal?

2005-03-07 Thread Chip Salzenberg
O ports at I/O ports at I/O ports at 1860 [size=16] Memory at 2800 (32-bit, non-prefetchable) [size=1K] -- Chip Salzenberg- a.k.a. -<[EMAIL PROTECTED]> Open Source is not an excuse to write fun code then leave th

Re: LANANA: To Pending Device Number Registrants

2001-05-15 Thread Chip Salzenberg
t they have to call access() or stat() and check a file for existence and readability before calling open(). But that's just stupid when you think about it, because if the file isn't there and the open() fails, that's OK! Failures are not fatal. Similarly, ioctl failures are not f

Re: LANANA: To Pending Device Number Registrants

2001-05-15 Thread Chip Salzenberg
> > Yes. And we also use write to send data to printer. So what? Nobody makes > you use the same file. You're talking about /dev/fb0 vs. /dev/fb0ctl, right? Would that driver authors routinely used such clean designs. PS: No, readers, AFAIK, there is no such thing as /de

Re: LANANA: To Pending Device Number Registrants

2001-05-15 Thread Chip Salzenberg
According to Linus Torvalds: > I don't see why we couldn't expose the "driver name" for any file > descriptor. Is it wise to assume that there is only one such name for *any* file descriptor? -- Chip Salzenberg - a.k.a. - <[EMAIL PROTECTED

Re: LANANA: To Pending Device Number Registrants

2001-05-15 Thread Chip Salzenberg
x27;s a natural way to feed pipelines. But no, it's a raft of ioctl() calls. *sigh* -- Chip Salzenberg - a.k.a. - <[EMAIL PROTECTED]> "We have no fuel on board, plus or minus 8 kilograms." -- NEAR tech - To unsubscribe from this list: send the line &

Re: LANANA: To Pending Device Number Registrants

2001-05-15 Thread Chip Salzenberg
if it's going to connect to a device that someone else is already connected to -- permissions becomes quite simple to manage. Come to think of it, the mechanism I'm describing could address all hotpluggable devices -- Chip Salzenberg - a.k.a. - <[EMAIL PROTEC

Re: LANANA: To Pending Device Number Registrants

2001-05-15 Thread Chip Salzenberg
e", there's no place for them. > For example a disk may belong, at the same time, to the "scsi", > "disk" and "scsi-disk" device classes [...] True, but in a sane system, "scsi" + "disk" implies "scsi-disk". -- Chip Salzen

Re: LANANA: To Pending Device Number Registrants

2001-05-15 Thread Chip Salzenberg
bigger wrench than the wrenching pain that we'll have to live through to make device identification reliable? Depends on how many ioctls overlap, and how easily we could make them stop overlapping. -- Chip Salzenberg - a.k.a. - <[EMAIL PROTECTED]> "We have no fu

[PATCH] restore skb_copy_datagram, removed from 2.6.11-rc2, breaking VMWare

2005-01-22 Thread Chip Salzenberg
Those of you who are using VMWare 4.5 will find that 2.6.11-rc2 removes the public function "skb_copy_datagram", breaking VMWare (and any other module using that interface *sigh*). The attached patch restores the (little harmless wrapper) function. -- Chip Salzenberg