* [uml-devel] Problem with 2.4.22-um4
@ 2003-09-17 10:52 Patrick Kilian
0 siblings, 0 replies; 4+ messages in thread
From: Patrick Kilian @ 2003-09-17 10:52 UTC (permalink / raw)
To: user-mode-linux-devel
Hi,
I got a problem with 2.4.22-um4 that I can't track down. I'm using a
clean 2.4.22 kernel from kernel.org patched with the um4 patch from
user-mode-linux.sourceforge.net. I ran make xconfig ARCH=um and enabled
support for "Anonymous memory device". Than I ran make linux ARCH=um
but when I start the binary I get:
host$ ./linux-2.4.22 ubd0=cow_3,./root_fs/own2
eth0=tuntap,,,192.168.0.100 root=/dev/ubd0
Checking for the skas3 patch in the host...not found
Checking for /proc/mm...not found
tracing thread pid = 12078
Linux version 2.4.22-4um (root@mars) (gcc version 2.95.3 20010315
(SuSE)) #2 Mit Sep 17 12:41:29 CEST 2003
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: ubd0=cow_3,./root_fs/own2
eth0=tuntap,,,192.168.0.100 root=/dev/ubd0
Calibrating delay loop... 756.76 BogoMIPS
Memory: 28728k available
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Checking for host processor cmov support...Yes
Checking for host processor xmm support...No
Checking that ptrace can change system call numbers...OK
Checking that host ptys support output SIGIO...<0>Kernel panic:
check_sigio : read failed, err = -1
In idle task - not syncing
The host kernel is a 2.4.18 kernel patched by SuSE _without_ skas
support. gcc version is 2.95.3.
Is this a know bug? Is 2.4.22-um4 unusable without skas? Is this related
to the patch in arch/um/drivers/ubd_user.c? (Neither the patch from
Ross Combs nor the patch named ubd_start_io_thread.diff from Steve
Schmidtke fix this error)
mfg,
Patrick "Petschge" Kilian
--
cat /dev/audio > install.rpm and whistle in the micro.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [uml-devel] Problem with 2.4.22-um4
@ 2003-09-17 15:08 Steve Schmidtke
2003-09-17 22:20 ` Jeff Dike
0 siblings, 1 reply; 4+ messages in thread
From: Steve Schmidtke @ 2003-09-17 15:08 UTC (permalink / raw)
To: petschge; +Cc: User-mode-linux-devel
petschge@gmx.de wrote:
>Checking that host ptys support output SIGIO...<0>Kernel panic: check_sigio
>: read failed, err = -1
>
>In idle task - not syncing
>
>The host kernel is a 2.4.18 kernel patched by SuSE _without_ skas support.
>gcc version is 2.95.3.
>
>Is this a know bug?
Jeff didn't like a part of my patch, but didn't back out all of the related
bits. I've sent him a patch that should fix this issue, but havn't heard
back if he likes it any better.
In the mean time you can hand apply this diff to
arch/um/kernel/sigio_user.c:tty_output()
- else if(n == -EAGAIN) printk("No, enabling workaround\n");
- else panic("check_sigio : read failed, err = %d\n", n);
+ else if(errno == EAGAIN) printk("No, enabling workaround\n");
+ else panic("check_sigio : read failed, errno = %d\n", errno);
Steve Schmidtke
>Is 2.4.22-um4 unusable without skas? Is this related to the patch in
>arch/um/drivers/ubd_user.c? (Neither the patch from Ross Combs nor the
>patch named ubd_start_io_thread.diff from Steve Schmidtke fix this error)
>
>mfg,
>Patrick "Petschge" Kilian
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [uml-devel] Problem with 2.4.22-um4
2003-09-17 15:08 Steve Schmidtke
@ 2003-09-17 22:20 ` Jeff Dike
2003-09-18 12:14 ` Patrick "Petschge" Kilian
0 siblings, 1 reply; 4+ messages in thread
From: Jeff Dike @ 2003-09-17 22:20 UTC (permalink / raw)
To: Steve Schmidtke; +Cc: petschge, User-mode-linux-devel
steve_schmidtke@hotmail.com said:
> Jeff didn't like a part of my patch, but didn't back out all of the
> related bits.
Crap. I backed out the while -> do { ... } while part of that particular
change, but forgot to keep the read -> os_read_file part.
Jeff
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [uml-devel] Problem with 2.4.22-um4
2003-09-17 22:20 ` Jeff Dike
@ 2003-09-18 12:14 ` Patrick "Petschge" Kilian
0 siblings, 0 replies; 4+ messages in thread
From: Patrick "Petschge" Kilian @ 2003-09-18 12:14 UTC (permalink / raw)
To: User-mode-linux-devel
Hi,
Jeff Dike wrote:
>> Jeff didn't like a part of my patch, but didn't back out all of the
>> related bits.
> Crap. I backed out the while -> do { ... } while part of that particular
> change, but forgot to keep the read -> os_read_file part.
Doesn't real matter how it happend, as long as the patch on the website is
fixed.
mfg,
Patrick "Petschge" Kilian
--
Erst wenn das letzte Closed-Source-System gehackt ist, werdet ihr
merken, dass man Sicherheit nicht durch Verschleierung oder durch
Gesetze erreicht.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-09-18 16:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-17 10:52 [uml-devel] Problem with 2.4.22-um4 Patrick Kilian
-- strict thread matches above, loose matches on Subject: below --
2003-09-17 15:08 Steve Schmidtke
2003-09-17 22:20 ` Jeff Dike
2003-09-18 12:14 ` Patrick "Petschge" Kilian
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox