Hi all, I''m running the linux kernel 2.6.11.12 with Xen 2.0.6 with serial driver compiled as a module. Unfortunately I can''t modprobe the module 8250.ko: FATAL: Error inserting 8250 (/lib/.../8250.ko): Device or resource busy dmesg only says: Serial: 8250/16550 driver $Revision: 1.90 $ 48 ports, IRQ sharing enabled I have tried as well with 2.0-testing, with share_irqs=0 option to the module, passed xencons=off to dom0 kernel, tried to insmod it from initrd to prevent any other driver from taking the device, but had no luck at all. The serial driver is modularized because that''s the way SuSE ships it. However the problem exists in vanilla 2.6.11.12 with xen-2.0-testing as well so it isn''t a SuSE-specific issue. Is there a workaround for this problem? Or is it known problem and I''ll have to recompile the kernel with static serial driver? Thanks! Michal Ludvig _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> I''m running the linux kernel 2.6.11.12 with Xen 2.0.6 with > serial driver compiled as a module. Unfortunately I can''t > modprobe the module 8250.ko: > FATAL: Error inserting 8250 (/lib/.../8250.ko): Device or > resource busyTry booting with xencons=off on the kernel command line and make sure that Xen isn''t claiming the serial console. Ian> dmesg only says: > Serial: 8250/16550 driver $Revision: 1.90 $ 48 ports, IRQ > sharing enabled > > I have tried as well with 2.0-testing, with share_irqs=0 > option to the module, passed xencons=off to dom0 kernel, > tried to insmod it from initrd to prevent any other driver > from taking the device, but had no luck at all. > > The serial driver is modularized because that''s the way SuSE ships it. > However the problem exists in vanilla 2.6.11.12 with > xen-2.0-testing as well so it isn''t a SuSE-specific issue. > > Is there a workaround for this problem? Or is it known > problem and I''ll have to recompile the kernel with static > serial driver? > > Thanks! > > Michal Ludvig > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ian Pratt wrote:>>I''m running the linux kernel 2.6.11.12 with Xen 2.0.6 with >>serial driver compiled as a module. Unfortunately I can''t >>modprobe the module 8250.ko: >>FATAL: Error inserting 8250 (/lib/.../8250.ko): Device or >>resource busy > > Try booting with xencons=off on the kernel command line and make sure > that Xen isn''t claiming the serial console.I already tried and I''m sure it didn''t help. However now I tried it once again and it really works. Perhaps a typo in the kernel command line on the previous test. Sorry for the noise then ;-) Anyway I recompiled the kernel with statically linked serial driver and then it worked and found ttyS0. But without xencons=off it complained a while later: WARNING: Failed to register Xen virtual console driver as ''ttyS0'' Never mind, this is a cosmetic problem :-) Thanks! Michal Ludvig -- * Personal homepage: http://www.logix.cz/michal _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users